The invention discloses a highway edge calculation flow regulation and control method based on OpenHarmony, and belongs to the technical field of intelligent traffic control systems. The method comprises the following steps:
traffic flow detection adopts a lightweight improved YOLOv8 model, a
backbone network is replaced by an OfficientViT, a neck network is optimized by phantom
convolution, a
feature fusion module is enhanced by SCConv, and a dynamic non-monotonic focusing
loss function is introduced; according to
traffic flow prediction, a spatio-temporal
feature fusion Transform model is constructed, a multi-head
convolution low-rank
decomposition attention mechanism is adopted to capture time dependence, spatial topological features are extracted in combination with attention graph
convolution, spatio-
temporal information is fused through a gating unit, and a prediction error is controlled within 1.5-3.0 times of historical standard deviation; a triple lightweight LSTM-
AutoEncoder is adopted for abnormal early warning, so that the
false alarm rate is reduced; the OpenHarmony distributed task scheduling is cooperated with the above modules, the variable information sign and the dynamic
speed limit sign are driven to execute regulation and control, the
response delay is reduced, the problem of real-time accurate regulation and control under the condition that the computing power of the
edge device is limited is solved, and the
traffic efficiency is improved.