Lightweight network simulation method using node agent
The invention discloses a lightweight network simulation method using a node agent. The method comprises the following steps: reading a json configuration file by a network simulation configuration center, and converting the content of the configuration file into corresponding network configuration...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a lightweight network simulation method using a node agent. The method comprises the following steps: reading a json configuration file by a network simulation configuration center, and converting the content of the configuration file into corresponding network configuration parameters; creating an agent node for each node in the process; completing the connection between the nodes by the RPC framework, wherein each node in the process establishes connection with all proxy nodes; initializing node number and node socket mapping and providing the node number and node socket mapping to an agent node for searching; storing mapping of node numbers and sockets in a network simulation configuration center; transferring inter-node communication by the proxy node; implementing network simulation by the proxy node according to network simulation configuration center parameters; counting the network data by the proxy node; writing network data into the network simulation configuration center, wh |
---|