The invention discloses a
big data analysis-based charging
pile peak queuing time prediction method. The method comprises the following steps of S1, obtaining historical use data of a charging
pile; s2, preprocessing the historical use data; s3, encoding the
time sequence data by using a position encoding mechanism, and converting a
timestamp into a high-dimensional vector representation; s4, inputting the data after position coding into a Transform
encoder, calculating the correlation between each position in the sequence and other positions through a self-attention mechanism, and capturing the features of different subspaces by using a multi-head attention mechanism; s5, constructing a comparative learning module, and performing self-
supervised learning on the encoded data by generating a
positive sample and a
negative sample; s6, defining a multi-objective
loss function, and training and optimizing the model; and S7, applying the trained model to real-
time data, and providing a
visual user interface. According to the method, position coding, Transform and self-supervised comparative learning are combined, and the queuing time of the charging
pile is accurately predicted.