The invention relates to a city charging prediction method and device based on a multi-semantic
topological graph and a medium, and the method comprises the steps: dividing a target
city region into a plurality of space nodes, obtaining the space information and
semantic information of each space node, and constructing a geographic
adjacency matrix and a plurality of single
semantic similarity matrixes; constructing a long-range connection candidate set based on the single
semantic similarity matrix; obtaining a scene demand, and performing sparsification on the long-range connection candidate set based on the scene demand to obtain a long-range shortcut matrix; constructing a multi-semantic
topological graph of the target area based on the geographic
adjacency matrix and the long-range shortcut matrix; historical city charging data is acquired, and the future city charging demand is predicted by using the space-time diagram neural network based on the multi-semantic
topological graph and the historical city charging data. Compared with the prior art, the method has the advantages that a traditional topological graph is optimized by fusing multiple spatial
semantics such as geographical adjacency,
functional similarity, travel
modes and behavior
modes, and therefore more accurate charging prediction is achieved.