The invention discloses a
target range resource reuse and security isolation method and
system in a high-
concurrency scene, and belongs to the technical field of
network simulation. The method comprises the following steps: receiving a
network topology and initial network parameters defined by a user, and storing the
network topology and initial network parameters as a topology description file; the
system supports concurrent receiving and
processing of a plurality of independent instantiation requests for the same topology; distributing a
unique identifier for the instance corresponding to each request; for each instance, quickly
cloning the
virtual device based on a copy-on-write mechanism; creating an independent network
namespace for each instance, distributing a unique VXLAN network identifier from the global VNI
pool, and injecting the unique VXLAN network identifier into the
namespace; automatically injecting the initial network parameters as fixed configuration into each device in an instance; and finally, accessing the equipment into the exclusive
namespace and starting the equipment. According to the invention, the problems of large
resource consumption and difficult
network isolation in a large-scale concurrent
simulation scene are solved, and the concurrent
processing capability and the operation efficiency of a
target range system are remarkably improved.