The present invention discloses a real-time
simulation test method for a large-scale scalable
networking protocol, which includes the following steps: S1: Write a
pipe program to connect a Docker container to the Ubuntu
system through a
raw socket, and then send and receive packets through a socket to connect the Ubuntu
system to the Exata
system, constructing a large-scale scalable network, simulating routing switching, and the situations of packet sending and receiving interruption, time
delay, and
packet loss during routing interruption and reconnection; S2: Use Docker containers to construct multiple
virtual network nodes, all of which have independent protocol stacks and can be added to the Exata
simulation environment as independently operating Exata nodes to achieve real-time
simulation testing of the large-scale
networking protocol; S3: Conduct real-time testing on the large-scale scalable network by observing the situations of packet sending and receiving interruption, time
delay, and
packet loss among Docker containers. The present invention can complete real-time
simulation testing of the large-scale scalable
networking protocol, effectively improving real-time performance, accuracy, and confidence level.