Federal learning unmanned vehicle charging prediction method and system based on graph convolutional network, and storage medium

By building a graph structure between unmanned vehicles and charging stations and introducing a federated learning method with an attention mechanism, the problem of accuracy of unmanned vehicle charging prediction and data islanding is solved, achieving more efficient charging prediction and data security.

CN118569559APending Publication Date: 2024-08-30HARBIN UNIV OF SCI & TECH +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410622333.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing unmanned vehicle charging prediction methods cannot provide accurate charging scheduling, and there is the problem of data islands.

Method used

Using the federated learning method based on graph convolutional network, by constructing the graph structure between the unmanned vehicle and the charging station, and combining the attention mechanism for feature extraction and fusion, an unmanned vehicle charging prediction model is constructed, and carried out under the federated learning framework Training, using homomorphic encryption algorithms to ensure data security.

Benefits of technology

It improves the accuracy and relevance of charging prediction, breaks data silos, improves the generalization ability and adaptability of the model, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569559A
    Figure CN118569559A
Patent Text Reader

Abstract

The invention discloses a federated learning unmanned vehicle charging prediction method and system based on a graph convolutional network, and a storage medium, relates to the field of port automatic transportation, and aims to solve the problems that an existing method cannot provide accurate charging scheduling and has data islands. The system is based on a federated learning model and comprises a central server and N clients, and the N clients comprise unmanned vehicle nodes and charging station nodes; s1, the client receives data collected by the unmanned vehicle in real time; s2, processing interaction between unmanned vehicle nodes and charging station nodes by adopting a graph convolutional network, performing feature extraction and fusion on unmanned vehicle graph structure data and other feature data, and introducing an attention mechanism to enhance focusing on key information; s3, the client constructs an unmanned vehicle charging prediction model; s4, training the model by each client; s5, each client performs homomorphic encryption on the trained model parameters and sends the model parameters to the central server for aggregation; and S7, performing unmanned vehicle charging prediction by using the trained model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of port automated transportation technology, and in particular to a federated learning unmanned vehicle charging prediction method, system and storage medium based on a graph convolutional network. Background Art

[0002] With the rapid development of automation technology, unmanned engineering vehicles are increasingly used in the field of port logistics. The efficient operation of these unmanned vehicles is crucial to port cargo throughput and operational efficiency. However, the existing unmanned vehicle charging scheduling mainly relies on manual decision-making and lacks the ability to respond quickly to the real-time status of the vehicle. In emergencies such as demand fluctuations or vehicle failures, this traditional method often fails to provide accurate charging scheduling, resulting in low energy efficiency and operational delays. As the domestic emphasis on data security continues to increase, the traditional centralized data processing model is facing legal compliance challenges. According to relevant laws and regulations such as the "Data Security Law" and the "Personal Information Protection Law", strict regulatory requirements are put forward for the collection, processing, storage and cross-border transmission of data, and protection measures for data privacy and security are strengthened. These regulations restrict the free flow of data between ports, leading to data silos, and bring new challenges to the predictive analysis of unmanned vehicle charging behavior. Summary of the invention

[0003] The technical problems to be solved by the present invention are:

[0004] Existing unmanned vehicle charging prediction methods cannot provide accurate charging scheduling and there is a problem of data silos.

[0005] The present invention adopts the following technical solutions to solve the above technical problems:

[0006] The present invention provides a federated learning unmanned vehicle charging prediction method based on a graph convolutional network. The method is based on a federated learning model. The federated learning model includes a central server and N clients. The N clients include unmanned vehicle nodes and charging station nodes.

[0007] S1, the client receives the data collected by the unmanned vehicle in real time and pre-processes the data;

[0008] S2. Calculate the information gain value of each feature of the node for predicting the charging behavior, screen and obtain graph structure feature data and other feature data, and construct a graph structure G based on the graph structure feature data and the physical distance between the unmanned vehicle node and the charging station node. In the process, a graph convolutional network (GCN) is used to process the interaction between the unmanned vehicle node and the charging station node. The data of the unmanned vehicle graph structure G is extracted and fused with other feature data of the vehicle. In the feature fusion process, an attention mechanism is introduced to enhance the focus on key information to obtain a fused data set.

[0009] S3. The client constructs a self-driving car charging prediction model and initializes the model;

[0010] S4. Each client trains the unmanned vehicle charging prediction model based on the fused data set;

[0011] S5. Each client homomorphically encrypts the trained unmanned vehicle charging prediction model parameters and sends them to the central server, and the central server aggregates the collected N model parameters;

[0012] S6, the central server verifies the effect of the aggregated model. If the result does not meet the conditions, S4 to S5 are executed in sequence until the result meets the conditions and the training is terminated;

[0013] S7. Use the trained unmanned vehicle charging prediction model to perform unmanned vehicle charging prediction.

[0014] Furthermore, the data preprocessing described in S1 includes: firstly denoising and filling missing values ​​of the real-time data of the unmanned vehicle, then removing the characteristic values ​​irrelevant to the power consumption of the unmanned vehicle, and finally encoding the data.

[0015] Furthermore, the missing value filling methods in S1 include default value filling, mean value filling and mode filling.

[0016] Furthermore, the characteristics of the unmanned vehicle node after preprocessing include: three-dimensional spatial position, battery power, real-time speed, task execution status, task type and task execution location; the characteristics of the charging station node include: geographic coordinates and status.

[0017] Furthermore, in the construction of the graph structure G in S2, each edge is assigned a weight, that is, for the unmanned vehicle node v i With charging station node v j , through the physical distance d between nodes ij Calculate edge weight W ij for:

[0018]

[0019] Here, ∈ is a constant.

[0020] Furthermore, the implementation process of the attention mechanism described in S2 is as follows: for the unmanned vehicle node v i and charging station node v j , first calculate the attention coefficient α ij :

[0021]

[0022] Where W is the feature transformation matrix, a is the attention vector, and hi and h j Respectively represent the node v i and v j The characteristic vector of || represents the concatenation operation, Represents node v i The adjacent node set of ; then, use the Softmax function to ij Perform normalization processing;

[0023] Then, for the unmanned vehicle node v i The eigenvector of To update:

[0024]

[0025] Where σ represents a nonlinear activation function, is the charging station node v j The feature vector of .

[0026] Furthermore, the unmanned vehicle charging prediction model in S3 includes a graph convolutional network module and a convolutional long short-term memory network module. The graph convolution module is used to further extract the spatial features of the data, and the convolutional long short-term memory network module is used to learn the time dependency of the data to achieve accurate prediction of the charging behavior of the unmanned vehicle.

[0027] Furthermore, the cross entropy loss function is used in S4 to train the unmanned vehicle charging prediction model, and the stochastic gradient descent method is used to optimize the model parameters.

[0028] A federated learning unmanned vehicle charging prediction system based on a graph convolutional network, the system having a program module corresponding to the steps of any one of the above technical solutions, and executing the steps in the above-mentioned federated learning unmanned vehicle charging prediction method based on a graph convolutional network during operation.

[0029] A computer-readable storage medium storing a computer program, wherein the computer program is configured to implement the steps of the graph convolutional network-based federated learning unmanned vehicle charging prediction method described in any one of the above technical solutions when called by a processor.

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

[0031] The present invention is based on federated learning. By constructing a graph structure to capture the relationship between vehicles and charging stations and task points, the data of the unmanned vehicle graph structure G is extracted and fused with other feature data of the vehicle. In the feature fusion process, the attention mechanism is introduced to enhance the recognition and weight allocation of key information, so that the model can more accurately capture the subtle changes that affect charging demand, thereby improving the relevance and accuracy of the prediction. The unmanned vehicle charging prediction model in the present invention is trained under the federated learning framework based on feature fusion data, and the model parameters of each port are integrated to improve the generalization ability of the model and its adaptability to different charging scenarios. In addition, the homomorphic encryption algorithm introduced in the federated learning technology can ensure the security of user data even in the environment of cross-port collaborative learning, breaking the problem of data islands between ports.

[0032] The present invention can predict the charging needs of unmanned vehicles, and can be used to assist operators in optimizing the layout of charging facilities, improving operational efficiency, and adapting to new charging technologies and vehicle types that may emerge in the future. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a structural diagram of federated learning in an embodiment of the present invention;

[0034] Figure 2 This is a flowchart of the analysis and processing of the real-time data set of the unmanned vehicle in an embodiment of the present invention;

[0035] Figure 3 This is a flow chart of a method for predicting charging behavior of multi-port unmanned vehicles using federated learning in an embodiment of the present invention;

[0036] Figure 4 This is a diagram of the architecture of the unmanned vehicle charging behavior prediction model in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the scheme of the present invention, exemplary implementations or embodiments of the present invention will be described below in conjunction with the accompanying drawings. Obviously, the described implementations or embodiments are only implementations or embodiments of a part of the present invention, not all of them. Based on the implementations or embodiments of the present invention, all other implementations or embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present invention.

[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0039] Combination Figure 1 and 3As shown, the present invention provides a federated learning unmanned vehicle charging prediction method based on a graph convolutional network, the method is based on a federated learning model, the federated learning model includes a central server and N clients, the N clients include unmanned vehicle nodes and charging station nodes;

[0040] S1, the client receives the data collected by the unmanned vehicle in real time and pre-processes the data;

[0041] S2. Calculate the information gain value of each feature of the node for predicting the charging behavior, screen and obtain graph structure feature data and other feature data, and construct a graph structure G based on the graph structure feature data and the physical distance between the unmanned vehicle node and the charging station node. In the process, a graph convolutional network (GCN) is used to process the interaction between the unmanned vehicle node and the charging station node. The data of the unmanned vehicle graph structure G is extracted and fused with other feature data of the vehicle. In the feature fusion process, an attention mechanism is introduced to enhance the focus on key information to obtain a fused data set.

[0042] S3. The client constructs a self-driving car charging prediction model and initializes the model;

[0043] S4. Each client trains the unmanned vehicle charging prediction model based on the fused data set;

[0044] S5. Each client homomorphically encrypts the trained unmanned vehicle charging prediction model parameters and sends them to the central server, and the central server aggregates the collected N model parameters;

[0045] S6, the central server verifies the effect of the aggregated model. If the result does not meet the conditions, S4 to S5 are executed in sequence until the result meets the conditions and the training is terminated;

[0046] S7. Use the trained unmanned vehicle charging prediction model to perform unmanned vehicle charging prediction.

[0047] like Figure 2 As shown, the data preprocessing described in S1 includes: denoising the real-time data of the unmanned vehicle, that is, for a small number of erroneous data in the real-time data of the unmanned vehicle, such as abnormal values ​​of vehicle speed and current operation point position, and extremely individual erroneous values ​​of power, reasonable data value specifications will be set, and the operating status data that does not meet the specifications will be eliminated to form a data set F1.

[0048] The missing values ​​in the data set F1 are processed, including filling in the data such as vehicle number (vehicle_id) and charging status (charge_status) with default values.

[0049] For numerical data, such as the position coordinates (position_x, position_y, position_z), heading angle (heading) and speed (speed) of the unmanned vehicle, after confirming that these features are relatively stable in the short term, the mean value filling method is used to handle missing values. For each selected data column, the mean value of all non-missing values ​​is calculated. Taking position_x as an example, the formula for calculating its mean value is:

[0050]

[0051] Among them, position x [i] is the i-th non-missing position_x value, and n is the total number of non-missing values. x ) is filled into the missing position position_x of the corresponding data column.

[0052] For categorical data, such as the login state (login_state), chassis mode (chassis_mode), and emergency stop state (estop) of the driverless car, the mode filling method is used to handle missing values. Specifically, for each categorical data column, the category with the highest frequency of occurrence is calculated. For example, for login_state, the formula for calculating its mode is:

[0053] mode(login_state)=argmax(count(login_state[i])) (2)

[0054] Among them, count(login_state[i]) is the frequency of category login_state[i], and the argmax operation is used to find the category with the highest frequency. The calculated mode is filled into the missing position of the corresponding data column. After the above missing value processing, the filled data set obtained is F2.

[0055] In order to improve the accuracy of the prediction model, based on data set F2, feature values ​​that are not related to the prediction of charging behavior, such as waiting completion time, waiting start time, fuel volume and other information feature values, are deleted to form data set F3.

[0056] Encode the string type variables in data set F3. Specifically, define an encoding function Each element c in the categorical variable set C i Mapped to an integer e i , C represents the set of categorical variables, Represents a set of integers. The ordered categorical variables are encoded using a linear sorting encoding method, starting from 0 and sorting the categories linearly in an increasing integer manner. Data encoding not only ensures the consistency of the model input, but also retains the order relationship of the original category data, which helps to reduce the memory usage during model training and speeds up the calculation process. After encoding optimization, the unmanned vehicle real-time data set F4 is obtained.

[0057] After preprocessing, the characteristics of the unmanned vehicle node include: three-dimensional spatial position, battery power, real-time speed, task execution status, task type and task execution location; the characteristics of the charging station node include: geographic coordinates and status. This ensures the representativeness and integrity of the data.

[0058] S2 includes the following process: First, feature screening is performed by applying the information gain (IG) criterion to quantify the contribution of each feature to the classification result of the prediction task. Specifically, for each feature of the node, its information gain value for the prediction of charging behavior is calculated, and the feature set with the highest gain value is selected to optimize the structure and performance of the graph convolutional network, and the graph structure feature data and other feature data are obtained, which ensures the relevance and importance of the selected features in the model training process, thereby improving the accuracy and efficiency of unmanned vehicle charging prediction. The graph structure G is constructed based on the graph structure feature data and the physical distance between the unmanned vehicle node and the charging station node. The graph convolutional network (GCN) model is used to process the interaction between the unmanned vehicle node set and the charging station node set. The model contains two GCN layers, each with 128 nodes.

[0059] Unmanned vehicle node set V u Each node v in i ∈V u , whose eigenvector It is expressed as: Among them, (x i ,y i , z i ) represents the three-dimensional spatial position of the unmanned vehicle, is the battery capacity, v i is the real-time speed, S i is the task execution status, T i is the task type, L i The location where the task is performed.

[0060] Charging station node set V c Each node v in j ∈V c , whose eigenvector It is expressed as: Among them, (x j ,y j) represents the geographical coordinates of the charging station, status j The status of the charging station.

[0061] Based on the physical distance between nodes, the edges of the graph structure G are constructed, and a weight is assigned to each edge to represent the convenience of the unmanned vehicle reaching the charging station.

[0062] In the construction of the graph structure G, each edge is given a weight, that is, for the unmanned vehicle node v i With charging station node v j , through the physical distance d between nodes ij Calculate edge weight W ij for:

[0063]

[0064] Here, ∈ is a small constant used to prevent the denominator from being zero.

[0065] like Figure 4 As shown, the data of the unmanned vehicle graph structure G and other feature data of the vehicle are subjected to feature extraction and fusion, specifically including: for the unmanned vehicle node v in the graph structure G i The eigenvector of Use graph convolutional networks (GCN) to combine the feature vectors of the unmanned vehicle node and the charging station node Perform feature extraction:

[0066]

[0067] in, Represents the set of adjacent nodes of node vi.

[0068] In the feature fusion stage, in order to further enhance the model's recognition and response to important interactions between nodes, an attention mechanism is introduced to target the node v of the unmanned vehicle. i and charging station node v j , first calculate the attention coefficient α ij :

[0069]

[0070] Where W is the feature transformation matrix, a is the attention vector, and h i and h j Respectively represent the node v i and v j The characteristic vector of || represents the concatenation operation, Represents node v i The adjacent node set of ; then, use the Softmax function to ij Perform normalization processing;

[0071] Then, for the unmanned vehicle node v i Updated feature vector Update and comprehensively consider the weighted influence of the unmanned vehicle's own characteristics and its neighboring node characteristics:

[0072]

[0073] Where σ represents a nonlinear activation function, such as ReLU, is the charging station node v j The feature vector of .

[0074] The feature fusion method based on the attention mechanism enables the model to focus on the interactions that are most relevant to the AV charging prediction, thereby improving the accuracy of the prediction.

[0075] Through the above process, a real-time dataset F5 for unmanned vehicle charging prediction is constructed. This dataset integrates spatial features and task-related information and is more suitable for prediction tasks in complex interactive environments.

[0076] The unmanned vehicle charging prediction model described in S3 includes a graph convolutional network module and a convolutional long short-term memory network module. The graph convolutional module is used to further extract the spatial features of the data, and the long short-term memory network module is used to learn the temporal dependency of the data to achieve accurate prediction of the charging behavior of the unmanned vehicle. The convolutional long short-term memory network module contains three ConvLSTM layers, each of which is configured with 64 hidden units to process the time series data passed from the GCN layer.

[0077] Each client uses the local dataset F5 to train the model. Then, the client uses the homomorphic encryption algorithm to encrypt the updated model parameters. The homomorphic encryption algorithm is as follows:

[0078]

[0079] In the supervised learning framework, the cross entropy loss function is defined to train the model. For the binary classification problem, the cross entropy loss function is:

[0080]

[0081] Where N is the total number of samples in the training set, y i is the true label of the i-th sample, is the probability predicted by the model and θ is the model parameter.

[0082] The stochastic gradient descent (SGD) algorithm is used to optimize the model parameters in the federated learning framework. Each client k is trained based on its local dataset D k Independently calculate the gradient of the loss function and update the local model parameters θ k , the update steps are:

[0083]

[0084] After each iteration, the client uses the homomorphic encryption algorithm ε to encrypt the updated model parameters and sends the encrypted parameters to Send it to the central server for aggregation, and the aggregated global model parameters Distribute it back to each client for the next round of local training. The iterative process ensures that the model gradually converges to an optimized state while protecting the privacy of each client's data.

[0085] The update process of the convolutional long short-term memory network module (ConvLSTM) is:

[0086] (h t , c t )=ConvLSTM(h t-1 , c t-1 , x t ) (10)

[0087] Among them, h t is the hidden state at time t, c t is the cell state at time t, x t are the input features at time t.

[0088] When processing spatiotemporal data, ConvLSTM effectively extracts spatial features while retaining temporal information by combining convolution operations and LSTM’s gating mechanism. The basic operation unit of ConvLSTM is defined as:

[0089]

[0090] Among them, * represents the convolution operation, represents the Hadamard product, σ represents the sigmoid activation function, i t 、f t and t They are input gate, forget gate and output gate respectively. is the new candidate value of the cell state, c t is the updated cell state, h t is the final hidden state output, W and b are the convolution kernel parameters and bias terms, and the subscripts xi, xf, xc, xo, hi, hf, hc, ho, ci, cf, and co correspond to different gating signals. These parameters are learned through the training process, enabling the model to better predict spatiotemporal sequence data.

[0091] The clients of the present invention collaborate with the central server to build a multi-port unmanned vehicle charging behavior prediction model, and each client performs charging behavior prediction locally through the prediction model; each port can realize collaborative training and optimization of the model without sharing the original data, thereby ensuring the privacy and security of the data and meeting the charging prediction needs of the unmanned vehicle.

[0092] The present invention proposes a federated learning unmanned vehicle charging prediction method (algorithm) based on graph convolutional network, which is the underlying technical core of the present invention. Various products can be derived based on the algorithm.

[0093] Based on the method proposed in the present invention, a federated learning unmanned vehicle charging prediction system based on a graph convolutional network is developed using a programming language. The system has a program module corresponding to the steps of the above-mentioned technical solution, and executes the steps in the above-mentioned federated learning unmanned vehicle charging prediction method based on a graph convolutional network during operation.

[0094] The computer program of the developed system (software) is stored on a computer-readable storage medium, and the computer program is configured to implement the steps of the above-mentioned federated learning unmanned vehicle charging prediction method based on graph convolutional network when called by a processor. That is, the present invention is materialized on a carrier to become a computer program product.

[0095] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0096] The computer programs (also referred to as programs, software, software applications, or codes) of the present invention include machine instructions for programmable processors, and these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or device (e.g., disk, optical disk, memory, programmable logic device PLD) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0097] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A federated learning unmanned vehicle charging prediction method based on graph convolutional network, characterized in that: The method is based on a federated learning model, which includes a central server and N clients, wherein the N clients include unmanned vehicle nodes and charging station nodes; S1, the client receives the data collected by the unmanned vehicle in real time and pre-processes the data; S2. Calculate the information gain value of each feature of the node for predicting the charging behavior, screen and obtain graph structure feature data and other feature data, and construct a graph structure G based on the graph structure feature data and the physical distance between the unmanned vehicle node and the charging station node. In the process, a graph convolutional network (GCN) is used to process the interaction between the unmanned vehicle node and the charging station node. The data of the unmanned vehicle graph structure G is extracted and fused with other feature data of the vehicle. In the feature fusion process, an attention mechanism is introduced to enhance the focus on key information to obtain a fused data set. S3. The client constructs a self-driving car charging prediction model and initializes the model; S4. Each client trains the unmanned vehicle charging prediction model based on the fused data set; S5. Each client homomorphically encrypts the trained unmanned vehicle charging prediction model parameters and sends them to the central server, and the central server aggregates the collected N model parameters; S6, the central server verifies the effect of the aggregated model. If the result does not meet the conditions, S4 to S5 are executed in sequence until the result meets the conditions and the training is terminated; S7. Use the trained unmanned vehicle charging prediction model to perform unmanned vehicle charging prediction.

2. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 1 is characterized in that: The data preprocessing described in S1 includes: firstly, denoising and filling missing values ​​of the real-time data of the unmanned vehicle, then removing the characteristic values ​​irrelevant to the power consumption of the unmanned vehicle, and finally encoding the data.

3. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 2 is characterized in that: The missing value filling methods in S1 include default value filling, mean filling and mode filling.

4. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 1 is characterized in that: The characteristics of the unmanned vehicle node after preprocessing include: three-dimensional spatial position, battery power, real-time speed, task execution status, task type and task execution location; the characteristics of the charging station node include: geographic coordinates and status.

5. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 1 is characterized in that: In the construction of the graph structure G in S2, each edge is assigned a weight, that is, for the unmanned vehicle node v i With charging station node v j , through the physical distance d between nodes ij Calculate edge weight W ij for: Here, ∈ is a constant.

6. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 1 is characterized in that: The implementation process of the attention mechanism described in S2 is as follows: for the unmanned vehicle node v i and charging station node v j , first calculate the attention coefficient α ij : Where W is the feature transformation matrix, a is the attention vector, and h i and h j Respectively represent the node v i and v j The characteristic vector of , ∥ represents the concatenation operation, Represents node v i The adjacent node set of ; then, use the Softmax function to ij Perform normalization processing; Then, for the unmanned vehicle node v i The eigenvector of To update: where represents the nonlinear activation function, is the charging station node v j The feature vector of .

7. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 1 is characterized in that: The unmanned vehicle charging prediction model described in S3 includes a graph convolutional network module and a convolutional long short-term memory network module. The graph convolution module is used to further extract the spatial features of the data, and the convolutional long short-term memory network module is used to learn the time dependency of the data to achieve accurate prediction of the charging behavior of the unmanned vehicle.

8. The method for predicting charging of unmanned vehicles using federated learning based on graph convolutional networks according to claim 1 is characterized in that: In S4, the cross entropy loss function is used to train the unmanned vehicle charging prediction model, and the stochastic gradient descent method is used to optimize the model parameters.

9. A federated learning unmanned vehicle charging prediction system based on graph convolutional network, characterized in that: The system has a program module corresponding to the steps of any one of claims 1 to 8 above, and executes the steps in the above-mentioned graph convolutional network-based federated learning unmanned vehicle charging prediction method when running.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is configured to implement the steps of the graph convolutional network-based federated learning unmanned vehicle charging prediction method according to any one of claims 1 to 8 when called by a processor.

Citation Information

Cited By

  • Distributed charging station scheduling method and device based on multi-agent reinforcement learning

    CN119315529A