The invention relates to a virtual
local area network configuration method and device based on an
Ethernet gateway controller, equipment and a medium. The method comprises the following steps: acquiring vehicle multi-dimensional state data and calculating a network reconstruction demand degree through an
Ethernet gateway controller, and generating a reconstruction trigger
signal when the demand degree exceeds a threshold value; responding to the
signal, dynamically selecting an optimal VLAN configuration template from a preset
library by adopting a
reinforcement learning strategy, and generating a configuration scheme with space-time constraint in combination with
network topology; the
risk level is analyzed and evaluated based on the scheme and the entropy value of the
network topology, a configuration
instruction sequence for risk optimization is generated, and the configuration
instruction sequence is reliably issued to target equipment through a security protocol; a sensing-decision-execution-
verification closed-
loop control system is formed by verifying the configuration effect through the nodes and triggering a
rollback mechanism when the configuration is abnormal, accurate triggering,
intelligent decision, safe execution and reliable
recovery of configuration of the vehicle-mounted network in a complex dynamic environment are achieved, and the network
resource utilization rate, the safe response speed and the
system reliability are remarkably improved.