The invention discloses a digital twin data bidirectional synchronization security test and optimization method based on a cloud
test platform, and relates to the technical field of security
risk assessment. Comprising the following steps: acquiring a
physical entity model and computing equipment information to generate a twin
database, generating a digital twin topology model, and generating an
attack database based on a preset automatic
attack tool; simulating a
network attack scene, and predicting an
attack range and a
hazard degree by using a digital twin topology model; the attack
database attacks the
physical entity model to obtain an actual attack range and a
hazard degree, and compares the actual attack range and the
hazard degree with prediction data to obtain an optimized digital twinborn model; and inputting an attack to be predicted into the optimized digital twin model to obtain a model deduction result, further judging a security attack risk, and generating and executing a targeted protection strategy according to the security attack risk. According to the invention, accurate assessment of the security risk of the digital twin
system can be realized, and the security and reliability of the digital twin
system are improved.