CN103763142B - Multimode isomery DTN simulation verification system and method - Google Patents

Multimode isomery DTN simulation verification system and method Download PDF

Info

Publication number
CN103763142B
CN103763142B CN201410030144.1A CN201410030144A CN103763142B CN 103763142 B CN103763142 B CN 103763142B CN 201410030144 A CN201410030144 A CN 201410030144A CN 103763142 B CN103763142 B CN 103763142B
Authority
CN
China
Prior art keywords
simulation
dtn
module
work station
dtn node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410030144.1A
Other languages
Chinese (zh)
Other versions
CN103763142A (en
Inventor
邝育军
林沐
姚显青
吴斌伟
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201410030144.1A priority Critical patent/CN103763142B/en
Publication of CN103763142A publication Critical patent/CN103763142A/en
Application granted granted Critical
Publication of CN103763142B publication Critical patent/CN103763142B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of multimode isomery DTN simulation verification system and method, use and control work station and the distributed structure/architecture of simulation work station, virtual DTN node attribute information and simulated events queue is generated according to the DTN scene preset by virtual DTN scene module, main control module selects the simulation DTN node module on simulation work station to simulate virtual DTN node, simulation DTN node module carries out the communication of intermodule according to simulated events, dry run data are generated according in dry run situation, virtual DTN scene module calculates network performance index value according to the dry run data of simulation DTN node modules all during whole dry run.Control work station during dry run to be completed by main control module and controlled module alternately with the information simulating work station.The present invention can the performance of the multimode isomery DTN network of reaction simulation the most truly, and the simplation verification of extensive multimode isomery DTN can be carried out.

Description

Multimode isomery DTN simulation verification system and method
Technical field
The invention belongs to computer network simulation technical field, more specifically, relate to a kind of multimode isomery DTN simulation verification system and method.
Background technology
Delay-tolerant network (delay torrent networks, DTN) is a kind of high mobility, communication connection interval Heterogeneous network, be made up of multiple DTN territories, the communication protocol that each self-operating in each territory is different.Pass through Bundle Agreement " store-carry-forward " mechanism, it is allowed to it is mutual that different networks carries out information.Evaluate routing algorithm Substantially two classes it are divided into the conventional test methodologies of the network performance in DTN such as communication protocol: software emulation, Actual Simulation is tested.
Emulation prototype system will be carried out simplifying modeling by software emulation, is beneficial to reduce computation complexity and soft Part realizes, and by causing the simulation result of network performance, with live network, to compare application condition big for this, but cost Ratio is relatively low, is the main method of testing evaluating network performance.DTN simulation software mainly have NS2, dtnsim2, ONE etc., these are all based on the centralized simulation software of discrete event engine, and the most only support DTN The Partial Feature of network emulates.NS2 can support the emulation of physical layer etc. better, but to DTN It is the best that the mobility model of network is supported.Dtnsim2 is to support DTN network environment specially, but it is main If support routing algorithm simulation.ONE is the most popular DTN Network Simulation Software, and it can be fine Support mobility model, the emulation of routing algorithm, but data stream performance within the physical layer cannot be embodied.
Actual Simulation experiment is that the DTN network environment building certain scale in real world is tested, with The performance in live network such as reflection routing algorithm.The cost of Actual Simulation experiment is higher, it is impossible to universal Use.DTN Actual Simulation is tested mainly by open source software DTN2 at present, and this software is integrated with The convergence-level agreements such as bundle agreement and LTP/TCP/UDP, can well support that data stream is at real physics Environment transmits, but does not support the network condition such as mobility model and the network bandwidth, packet loss, time delay and many Mould communication interface.Simultaneously because hardware-dependent, restricted to the number of nodes in actual measurement environment, therefore this is soft Part uses only as an assembly.
By analyzing above it can be seen that emulation and simulation softward about DTN network are due to software itself at present Or the restriction of hardware-dependent, function is the most single, it is impossible to well supports DTN network scenarios and accurately comments The performance in a network such as estimation algorithm and agreement, the most restricted in terms of network node quantity, it is impossible to adapt to The demand of extensive multimode isomery DTN network.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that a kind of multimode isomery DTN simulation Checking system and method, more truly the reflection performance in DTN network such as routing algorithm and communication protocol, And extensive DTN network can be supported.
For achieving the above object, the present invention includes controlling work station and simulation work station, controls work station bag Including main control module, virtual DTN scene module, simulation work station includes controlled module, simulation DTN node Module, wherein:
Main control module for receiving the log-on message that each simulation work station controlled module sends, according to log-on message and The virtual DTN node attribute information that virtual DTN scene module sends, for simulation work station distribution simulation DTN Node, the corresponding virtual DTN node of each simulation DTN node, generate simulation DTN according to distribution condition Node configuration information is also sent to the corresponding controlled module simulating work station, simulates DTN node configuration information bag Include the attribute information of the virtual DTN node distributing to simulation DTN number of nodes and the correspondence simulating work station; The network address fed back according to each controlled module generates " net with the map information of No. EID, communication interface pattern -EID number, network address and communication interface pattern " mapping table be sent to each controlled module;Save according to virtual DTN The distribution condition of point, the simulated events virtual DTN scene module sent simulates DTN node according to correspondence Simulation work station belonging to module is classified, and simulated events is distributed to the controlled module of correspondence;By controlled The dry run data summarization of the simulation DTN node module of module feedback is also transmitted to virtual DTN scene mould Block;
Virtual DTN scene module generates virtual DTN node for generating according to the DTN model of place preset Attribute information, simulated events queue and emulate End Event and be sent to main control module, virtual DTN node belongs to Property information include that No. EID, communication interface pattern and quantity, simulated events carry execution timestamp, emulation knot Bundle event carries simplation verification ending time stamp;
Controlled module is for being sent to main control module, log-on message bag by corresponding simulation workstation registration information Include the network address and the simulation DTN node module information of simulation work station;Receive the simulation from main control module DTN node configuration information, starts corresponding simulation DTN node module, and will simulation DTN node module Attribute information be set to the attribute information of corresponding virtual DTN node;Collect the simulation participating in simplation verification The network address of DTN node module and No. EID, the map information of communication interface pattern feed back to master control mould Block, "-EID number, the network address and the communication interface pattern " mapping table returned by main control module is transmitted to affiliated Simulation work station participates in all simulation DTN node modules of simplation verification;Main control module forward that comes imitate True event queue carries out classifying and be sent to simulate DTN node mould accordingly according to simulation DTN node module Block, and by main control module forward come emulation End Event be transmitted to belonging to simulation work in participate in simulation test All simulation DTN node modules of card;Simulation work station belonging to collecting participates in all simulations of simplation verification The dry run data of DTN node module, feed back to main control module;
Simulation DTN node module configures at least one communication interface pattern, after being activated, according to its attribute The network address of information self correspondence of generation and No. EID, the map information of communication interface pattern, and feed back to Controlled module;After receiving simulated events, according to perform timestamps ordering, successively according to simulated events with Other simulation DTN node modules are set up even according to "-EID number, the network address and communication interface pattern " mapping table Connect and communicate, according to the timestamp end simulation of emulation End Event, generate it in whole dry run During dry run Data Concurrent give controlled module.
Further, virtual DTN scene module also includes environment Visualization submodule, for DTN field Scape shows.
Further, control work station and simulation work station is respectively arranged with time synchronized module, respectively simulate work The time according to the time synchronized module controlling work station of standing synchronizes.
Further, the time synchronized module of described control work station is NTP time server module, described The time synchronized module of simulation work station is NTP Client time service monitoring module.
The present invention also provides for a kind of multimode isomery DTN simulation verification method, comprises the following steps:
S1: the controlled module of each simulation work station sends simulation work station to the main control module controlling work station Log-on message, including the network address and the simulation DTN node module information of this module work station;
S2: the virtual DTN scene module controlling work station generates virtual according to the DTN model of place preset DTN node attribute information, simulated events queue and emulation End Event, be sent to main control module, virtual DTN Node attribute information includes No. EID, communication interface pattern and quantity, and simulated events carries execution timestamp, Emulation End Event carries simplation verification ending time stamp;
S3: main control module is according to the log-on message received and virtual DTN node attribute information, for simulation work Work station distribution simulation DTN node, the corresponding virtual DTN node of each simulation DTN node, according to dividing Situation of joining generates simulation DTN node configuration information and is sent to the controlled module simulating work station of correspondence, mould Intend simulation DTN number of nodes and the void of correspondence that DTN node configuration information includes distributing to simulate work station Intend the attribute information of DTN node;
After S4: controlled module receives simulation DTN node configuration information, start corresponding simulation DTN joint Point module, and the attribute information of simulation DTN node module is set to the attribute of corresponding virtual DTN node Information;Simulation DTN node module according to its attribute information generate self correspondence the network address with No. EID, The map information of communication interface pattern, and feed back to controlled module;Controlled module is by affiliated simulation work station institute Belong to simulation work station in participate in simplation verification simulation DTN node module the network address with No. EID, communicate The map information of interface modes collects, and feeds back to main control module;Main control module generates the " network address -EID number and communication interface pattern " mapping table, and be transmitted to participate in all of simplation verification by controlled module Simulation DTN node module;
The simulated events queue received is simulated the simulation belonging to DTN node according to correspondence by S5: main control module Work station is classified, and forms multiple simulated events queue, is sent to corresponding controlled module, controlled module After receiving simulated events queue, carry out classifying and being sent to accordingly according to corresponding simulation DTN node module Simulation DTN node module;Emulation End Event is transmitted to participate in simulation by main control module by controlled module All simulation DTN node modules of checking;
S6: simulation DTN node module is after receiving simulated events, according to performing timestamps ordering, successively According to simulated events with other simulation DTN node modules according to "-EID number, the network address and communication interface mould Formula " mapping table set up connect and communicate, according to emulation End Event simplation verification ending time stamp knot Bundle simulation, is generated its dry run data during whole dry run and is transmitted to by controlled module Main control module;
The dry run data participating in all simulation DTN node modules of simplation verification are converged by S7: main control module Total and be transmitted to virtual DTN scene module, virtual DTN scene module calculates net according to dry run data Network performance index value also exports.
Further, each simulation work station with the time of control work station is during whole simplation verification Standard synchronizes.
Multimode isomery DTN simulation verification system of the present invention and method, use and control work station and simulation work Make the distributed structure/architecture stood, generate void by virtual DTN scene module according to the DTN scene module preset Intending DTN node attribute information and simulated events queue, main control module selects the simulation DTN on simulation work station Node module simulates virtual DTN node, and simulation DTN node module carries out intermodule according to simulated events Communication, according to dry run situation generate dry run data, virtual DTN scene module is according to whole mould Intend the dry run data of all simulation DTN node modules in running and calculate network performance index value.Mould Intend that running controls work station complete by main control module and controlled module alternately with the information of simulation work station Become.
The method have the advantages that
(1) compared with software emulation, the present invention each simulation DTN node module during dry run produces Having given birth to practical communication, the dry run data obtained are closer to truth, and by simulation work station Distribution setting can also make the network architecture closer to truth, thus reflection routing algorithm and communicating truly The performance in DTN network such as agreement;
(2) compared with Actual Simulation experiment, the present invention can be by adjusting the simulation DTN participating in simplation verification The quantity of node module adapts to the demand of heterogeneous networks scale, on the simplation verification of extensive DTN network There is obvious advantage;
(3) present invention is during dry run, in addition to the communication between simulation DTN node module, Control work station and simulation work station between information alternately by main control module and controlled module carry out collecting with Distribution, thus reduce number of network connections amount, reduce network pressure.
Accompanying drawing explanation
Fig. 1 is the structural representation of multimode isomery DTN simulation verification system of the present invention;
Fig. 2 is the hardware net exemplary plot one of multimode isomery DTN simulation verification system of the present invention;
Fig. 3 is the hardware net exemplary plot two of multimode isomery DTN simulation verification system of the present invention;
The flow chart startup stage that Fig. 4 being the DTN simulation verification system of multimode isomery shown in Fig. 1;
Fig. 5 is the DTN simulation verification system simplation verification phase flow figure of multimode isomery shown in Fig. 1.
Detailed description of the invention
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described, in order to those skilled in the art is more Understand the present invention well.Requiring particular attention is that, in the following description, when known function and setting Perhaps, when the detailed description of meter can desalinate the main contents of the present invention, these are described in and will be left in the basket here.
Embodiment
Fig. 1 is the structural representation of multimode isomery DTN simulation verification system of the present invention.As it is shown in figure 1, Multimode isomery DTN simulation verification system of the present invention uses distributed structure/architecture, including controlling whole DTN The control work station 1 of network analog checking system and at least one mould for analog physical DTN network node Intend work station 2, in the present embodiment, control work station 1 and include main control module 11, virtual DTN scene module 12, NTP time server module 13, simulation work station 2 includes controlled module 21, simulation DTN node Module 22, NTP Client time service monitoring module 23.Each simulation work station 2 carries at least one simulation DTN node module 22, a thing in the corresponding actual DTN network of each simulation DTN node module 22 Reason DTN node.
Control work station 1 and can share entity acts station with simulation work station 2, it is also possible to be used alone one Entity acts station.Simulation work station 2 can be undertaken by entity acts station, it is also possible to by entity acts station The virtual workstation that software virtual machine is formed undertakes.Entity acts station is required to ensure the control work that it undertakes Make station 1 can communicate with simulation work station 2, geographical position does not limit.Fig. 2 is multimode of the present invention The hardware net exemplary plot one of isomery DTN simulation verification system.As in figure 2 it is shown, entity acts station can With dispersed and distributed at the different geographical spaces of network, in internet environment LAN, with fully profit Use remote hardware resource.Fig. 3 is that the hardware net of multimode isomery DTN simulation verification system of the present invention is shown Illustration two.As it is shown on figure 3, entity acts station can be with integrated distribution at the same geographical space of network, strictly according to the facts Test in the same LAN of room environmental, to facilitate management.Entity acts station does not has strict wanting to the configuration of hardware Ask, if support simplation verification system correlation module run, can be server, notebook computer, Common desktop main frame, even mobile terminal.Visible, multimode isomery DTN simulation of the present invention checking is Network size is not limited by system, it is only necessary to increase and decrease participates in the simulation DTN node module 22 of simplation verification Quantity, it is possible to meet the network analog checking demand of different scales.
Modules the following detailed description of multimode isomery DTN simulation verification system of the present invention:
Main control module 11, for receiving the log-on message that each simulation work station 2 controlled module 21 sends, according to The virtual DTN node attribute information that log-on message and virtual DTN scene module 12 send, for simulation work DTN node is simulated in distribution of standing, and the corresponding virtual DTN node of each simulation DTN node, according to distribution Situation generates simulation DTN node configuration information and is sent to the controlled module 21 of corresponding simulation work station 2, mould Intend DTN node configuration information and include distributing to simulating the simulation DTN number of nodes of work station 2 and correspondence The attribute information of virtual DTN node;Affiliated simulation work station 2 according to each controlled module 21 feedback is joined The network address and No. EID, communication interface pattern with all simulation DTN node modules 22 of simplation verification Map information generate the " network address-EID of all simulation DTN node modules 22 participating in simplation verification Number with communication interface pattern " mapping table is sent to each controlled module 21, these map informations are tested by participating in simulation The simulation DTN node module of card produces;According to the distribution condition of virtual DTN node, by virtual DTN The simulated events that scene module 22 sends is according to the simulation work station belonging to correspondence simulation DTN node module 22 2 classify, and simulated events is distributed to the controlled module 21 of correspondence.At the end of simulation, main control module The 11 dry run data summarization needing the simulation DTN node module 22 controlled simulation 21 fed back also forward To virtual DTN scene module 22.
It can be seen that main control module 11 undertakes the management role controlling work station 1.Main control module 11 is in distribution During virtual DTN node, trend can be used according to actual needs to concentrate or tend to scattered allocation strategy, remove Outside quantity, also need to consider virtual DTN node and simulation DTN node module to be allocated when distribution Whether communication interface pattern and the quantity of the matching problem between 22, such as simulation DTN node module 22 accord with Close the requirement etc. of virtual DTN node.
Virtual DTN scene module 12, generates virtual DTN for generating according to the DTN model of place preset Node attribute information, simulated events queue and emulate End Event and be sent to main control module 11.Virtual DTN Scene module 12 uses the method for operation of software emulation, DTN model of place can select in existing simulation software Model, it is also possible to reset as required.Virtual DTN scene module 12 provides multimode of the present invention The simplation verification information of isomery DTN simulation verification system.In actual applications, can test according to simulation Card needs to arrange the relevant information in DTN model of place, such as routing algorithm, communication protocol, network rule Mould etc..Use the DTN model of place preset, can be with repetition simulating scenes, it is simple to be simulated checking Between contrast.
Virtual DTN node is for being simulated the physics DTN node in reality, at actual DTN network In, each physics DTN node is that these entities are independently not by entity central controlled, completely self-contained Reality network scenarios moves and exchanges message with other node-node transmission.Physics DTN node possesses following Function: mobility model, path, message producer, set up connection strategy, routing function, according to DTN assist View (mainly bundle agreement) sends and receives message, cache policy, the transmission situation etc. of recorded message. Correspondingly, in the present invention, virtual DTN node attribute information includes the type (fixed knot of DTN node Point, movement node etc.), No. EID, communication interface pattern and quantity, routing algorithm, message producer, slow Deposit space size, cache policy, foundation communication connection strategy and energy size etc..Owing to the present invention is pin To multimode DTN heterogeneous network, the most virtual DTN node has at least one communication interface pattern.Imitative Real event part is according to the cartographic model in DTN model of place and the path of virtual DTN node and mobility model Obtain, including status informations such as the state of activation of virtual DTN node, connectedness, bandwidth, energy hole. Visible, attribute information is virtual DTN node " static information ", and simulated events is virtual DTN joint " multidate information " of point.Simulated events carries execution timestamp, and emulation End Event carries simplation verification knot Bundle timestamp, simulated events is by No. EID virtual DTN node identifying correspondence.
For the ease of observing and analyzing, virtual DTN scene module 12 can configure an environment Visualization submodule Block, for showing virtual DTN scene, the DTN scene that will simulate shows on the display device.
Controlled module 21, similar with main control module 11, undertake the management role of simulation work station 2.In system During startup, the controlled module 21 on each simulation work station 2 is wanted actively the registration of affiliated simulation work station 2 to be believed Breath is sent to main control module 11, and log-on message includes the network address and the simulation DTN node simulating work station 2 Module information, simulation DTN node module information includes simulating the quantity of DTN node module 22, support Communication interface pattern and quantity etc., in order to main control module 11 carries out the distribution of virtual DTN node.
Controlled module 21, after receiving the simulation DTN node configuration information that main control module 11 returns, starts Corresponding simulation DTN node module 22, and the attribute information of simulation DTN node module 22 is set to right Answer the attribute information of virtual DTN node.Collect the net of the simulation DTN node module 22 participating in simplation verification Network address and No. EID, the map information of communication interface pattern feed back to main control module 11, by main control module "-EID number, the network address and communication interface pattern " mapping table that 11 return is simulated in work station belonging to being transmitted to Participate in all simulation DTN node modules 22 of simplation verification.The simulated events that main control module 11 is forwarded Queue carries out classifying and be sent to simulate DTN node module accordingly according to simulation DTN node module 22 22, the emulation End Event forwarded by main control module 11 is transmitted in affiliated simulation work participate in simplation verification All simulation DTN node modules 22.After simplation verification terminates, controlled module 21 collects affiliated simulation The dry run data of all simulation DTN node modules 22 run on work station 2, feed back to master control mould Block 11.
Simulation DTN node module 22 is the execution module of simplation verification, in order to coordinate virtual DTN node to need Want, configure at least one communication interface pattern.Simulation DTN node module 22 after being activated and arranging, The network address according to its attribute information self correspondence of generation and No. EID, the map information of communication interface pattern, And feed back to controlled module 21.After receiving simulated events, according to performing timestamps ordering, successively basis Simulated events and other simulation DTN node modules 22 are according to "-EID number, the network address and communication interface pattern " Mapping table is set up and is connected and communicate, and terminates mould according to the simplation verification ending time stamp of emulation End Event Intend, generate its dry run Data Concurrent during whole dry run and give controlled module 21.
Simulation DTN node module 22 is the attribute information according to virtual DTN and DTN communication protocol is entered Row simulation: judge with which simulation DTN node module to set up to be connected according to setting up communication connection strategy, Produce message according to message producer, E-Packet according to routing policy and delete expired according to cache policy Message, according to DTN communication protocol and the pattern of communication interface, bandwidth for transmission real data stream.With imitative True software is compared, and the communication simulated between DTN node module 22 in the present invention is actual communication, therefore The dry run data arrived are closer to real network.
About the communication interface mode issue of simulation DTN node module 22, according to virtual DTN nodal community Information, if simulation DTN node module 22 is the state being operated in fixing single mode, then has only to initially Corresponding communication interface pattern it is configured as during change;If simulation DTN node module 22 is work In the state of dynamic single mode, then have only in the network analog running of simulation DTN node module 22, Corresponding communication interface pattern is changed into according to simulated events information;If simulation DTN node module 22 It is the state being operated in fixing multimode, then needs the quantity according to communication interface, initialize the net of respective amount Network address, these communication interfaces are operated in the state of multithreading.Simulation DTN node module 22 is logical in initiation Before letter connects, i.e. can get the other side according to mapping table and simulate No. EID of DTN node module 22 and connect with communicating The network address that mouth die formula is corresponding.
Simulation DTN node module 22, in running, is the operating system according to affiliated simulation work station 2 Time-triggered protocol simulated events.But in actual applications, the operating system time of different simulation work stations can Can there is nonsynchronous phenomenon, impact is simulated DTN node module in simplation verification system operation by this Between communication, thus affect the accuracy of simplation verification result network performance index value.Therefore, one Plant it is preferable that be respectively provided with time synchronized module controlling work station 1 with simulation work station 2, respectively simulate Work station synchronized according to the time controlling workstation time synchronization module.The most conventional time synchronized skill Art is NTP(Network Time Protocol, NTP) Time synchronization technique.In the present embodiment, The time synchronized module controlling work station 1 is NTP time server module 13, described simulation work station 2 Time synchronized module is NTP Client time service monitoring module 23.NTP time server module 13 and NTP Client time service monitoring module 23 first passes through each self-corresponding main control module 11 and controlled module 21 is set up and connected, Then NTP Client time service monitoring module 23 can update the operating system time simulating work station by self-timing, Operating system time synchronized with NTP time server module 13.
Present invention also offers a kind of multimode isomery DTN based on multimode isomery DTN simulation verification system Network analog verification method.In the present embodiment, verify system with the multimode isomery DTN simulation shown in Fig. 1 Illustrate many as a example by system (including NTP time server module 13 and NTP Client time service monitoring module 23) The specific implementation process of mould isomery DTN simulation verification method.For ease of describing, herein by simplation verification Method is divided into two stages: system start-up phase and simplation verification stage, system start-up phase is substantially carried out mould Intending registration and the distribution of virtual DTN node of work station, the simplation verification stage is substantially carried out network analog and runs With dry run data acquisition.
The flow chart startup stage that Fig. 4 being the DTN simulation verification system of multimode isomery shown in Fig. 1.Such as Fig. 4 Shown in, system start-up phase comprises the following steps:
1) controlled module of each simulation work station sends simulation work station to the main control module controlling work station Log-on message, log-on message includes the network address and the simulation DTN node module information of this module work station, The present embodiment also includes time synchronized solicited message.
2), after main control module receives log-on message, enabled instruction is sent to virtual DTN scene module.
3), after main control module receives log-on message, enabled instruction is sent to NTP time server module.
4) virtual DTN scene module starts according to enabled instruction, according to default DTN model of place, just Beginningization simulating scenes, generates the attribute information of virtual DTN node and feeds back to main control module.Each virtual The corresponding actual physics DTN node of DTN node, the attribute information of virtual DTN node includes DTN Type (stationary nodes, movement node etc.), No. EID, communication interface pattern and the quantity of node, route are calculated Method, message producer, spatial cache size, cache policy, foundation communication connection strategy and energy size Deng.
5) NTP time server module starts according to enabled instruction, feeds back NTP Time Service to main control module Device information.
6) main control module receives according to step 1) log-on message and the virtual DTN that step 4) receives The attribute information of node, distributes virtual DTN node for simulation work station, and each virtual DTN node is corresponding One simulation DTN node module, generates simulation DTN node configuration information according to distribution condition, simulates DTN Node configuration information includes simulation DTN number of nodes and the virtual DTN of correspondence distributing to simulate work station The attribute information of node.
7) the simulation DTN node configuration information that step 6) is generated by main control module is distributed to corresponding simulation work The controlled module stood, and be sent to the ntp server information received in step 5) participate in simplation verification The controlled module of all simulation work stations.
8) send to NTP Client time service monitoring module after controlled module receives ntp server information and open Dynamic instruction, and ntp server information is transmitted to NTP Client time service monitoring module.
9) NTP Client time service monitoring module starts according to enabled instruction, according to NTP time server information Set up with NTP time server and be connected and bind.In simplation verification system operation later, NTP Client time service monitoring module can be according to the time of NTP time server, and timing updates the behaviour of simulation work station Make system time, order simulation work station and the time synchronized controlling work station, to make each simulation work station Time synchronized.
10), after controlled module receives simulation DTN node configuration information, corresponding simulation DTN node is started Module also initializes, and it is virtual that initialization refers to that the attribute information of simulation DTN node module is set to correspondence The attribute information of DTN node.
11) owing to the present invention is directed multimode isomery DTN network, each simulation DTN node module has And only one No. EID, but multiple communication interface pattern can be had, each communication interface pattern pair Answer a network address, and these communication interface patterns may be at duty simultaneously, thus support multimode The simplation verification of isomery DTN network.Therefore it is activated and initialized module DTN node module is according to it The network address of attribute information himself correspondence of generation and No. EID, the map information of communication interface pattern, and Feed back to controlled module.
12) the simulation DTN node participating in simplation verification that controlled module will be activated in affiliated simulation work station The map information of the network address of module and No. EID, communication interface pattern collects.
13) controlled module by step 12) obtains simulation work station the network address with No. EID, communicate The map information of interface modes is sent to control the main control module of work station.
14) main control module collected all participation simplation verifications simulation work station the network address with No. EID, After the map information of communication interface pattern, generate "-EID number, the network address and communication interface pattern " mapping table.
15) main control module sends the " network address to the controlled module of all simulation work stations participating in simplation verification -EID number and communication interface pattern " mapping table.
16), after controlled module receives "-EID number, the network address and communication interface pattern " mapping table, forward To all simulation DTN node modules participating in simplation verification on this simulation work station.
So far, whole simplation verification system has been turned on complete.Now simulation DTN node module is just in preparation Not-ready status, waits simulated events;Although and virtual DTN scene module starts complete, but not starting fortune Row network simulation flow process.Main control module and controlled module are in listening state, wait to be received and forward emulation thing Part queue.NTP time server module and NTP Client time service monitoring module are in binding running status.
Fig. 5 is the DTN simulation verification system simplation verification phase flow figure of multimode isomery shown in Fig. 1.? Fig. 5 eliminates NTP time server and the time synchronized of NTP Client time service monitoring module, and walks Rapid numbering continues the numbering of system start-up phase in Fig. 4.As it is shown in figure 5, the simplation verification stage includes following Step:
17) main control module sends Dynamic simulation instruction to virtual DTN scene module.
18) the virtual DTN scene module DTN model of place that basis is preset after receiving Dynamic simulation instruction Start emulation, the mainly cartographic model of simulation run virtual DTN scene, the path of virtual DTN node And mobility model, obtain the states such as the state of activation of virtual DTN node, connectedness, bandwidth, energy hole Information, these status informations form simulated events queue, and simulated events carries execution timestamp and correspondence is virtual No. EID of DTN node.
19) virtual DTN scene module sends simulated events queue to main control module.Due to virtual DTN scene The simulation run time of module is a lot of soon relative to whole simplation verification process, and virtual DTN scene module is permissible Treat that whole simulated events queue is disposably sent to main control module after generating, it is also possible to send in batches, The present embodiment uses and sends mode in batches.
20) simulated events is simulated the simulation work belonging to DTN node according to correspondence according to No. EID by main control module Classify as station, form multiple simulated events queue.
21) main control module sends corresponding simulated events to the controlled module of the simulation work station participating in simplation verification Queue.
22), after controlled module receives simulated events queue, carry out according to corresponding simulation DTN node module Classification.
23) controlled module participates in the simulation DTN node module transmission of simplation verification in affiliated simulation work station Corresponding simulated events.In the present invention, virtual DTN scene module is in DTN model of place simulation run The simulated events generated in journey, is not the simulation DTN node module being transmitted directly to correspondence, but by main Control module and the distribution of controlled module two-stage.This pattern contributes to reducing control work station and simulation work station exists Number of network connections amount during whole simplation verification, reduces the net of communication network when simplation verification system is run Network connects burden.
24) simulation DTN node module is after system start-up phase completes to initialize, and is put into simulation and waits rank Section.After receiving simulated events, according to performing timestamps ordering, successively according to simulated events and other moulds Intend DTN node module to communicate.Physics DTN node logical in simulating reality DTN network when communication Letter flow journey, independently according to setting up communication connection strategy judges with which simulation DTN node module to communicate, Set up according to "-EID number, the network address and communication interface pattern " mapping table and be connected, produce according to message producer Give birth to message, E-Packet according to routing policy and delete expired message according to cache policy, according to DTN Communication protocol and the pattern of communication interface, bandwidth for transmission real data stream.
25) virtual DTN scene module is after DTN model of place simulation run terminates, and generates emulation and terminates thing Part, carries simplation verification ending time stamp.The effect of emulation End Event is to notify all participation simplation verifications Simulation DTN node module when the simplation verification ending time stamp of dry run to this emulation End Event, Dry run should be stopped.
26) emulation End Event is sent to main control module by virtual DTN scene module.
27) main control module by emulation End Event be transmitted to all participation simplation verifications simulation work station controlled Module.
28) emulation End Event is transmitted to participate in all of simplation verification in affiliated simulation work station by controlled module Simulation DTN node module, the ending time stamp that simulation DTN node module carries according to emulation End Event End simulation.
29) all simulation DTN node modules of simplation verification are participated according to the operation during its dry run The generation of situation, such as message, send, receive, the communications status information such as abandon, generate it at whole mould Intend the dry run data in running.These data characterizations simulation DTN node module is at virtual DTN Communication interaction process in scenery control Imitating running, reflection physics DTN node exists to a certain extent Communication interaction process in reality network scenarios.Dry run data can be according to wanting the network performance that obtains Desired value is configured.
30) its dry run data are sent to being subject to of affiliated simulation work station by each simulation DTN node module Control module.
31) controlled module participates in all simulation DTN node moulds of simplation verification in collecting affiliated simulation work station The dry run data of block.Generally for reducing controlled module and the number of times of main control module network connection, controlled Module can wait until to participate in affiliated simulation work station the simulation fortune of all simulation DTN node modules of simplation verification After row data are all collected, property is sent to main control module again.
32) the dry run data that controlled module is collected are sent to main control module.
33) main control module collects the simulation fortune that the controlled module of all simulation work stations participating in simplation verification sends Row data.
34) all dry run data in simplation verification are given to virtual DTN scene module by main control module.
35) virtual DTN scene module is according to the dry run data received, statistical computation network performance index Value also exports, and rate, expense ratio, average number of hops, packet loss etc. are submitted in the success of such as message.
Although detailed description of the invention illustrative to the present invention is described above, in order to the art Artisans understand that the present invention, it should be apparent that the invention is not restricted to the scope of detailed description of the invention, to this From the point of view of the those of ordinary skill of technical field, as long as various change limits in appended claim and determines In the spirit and scope of the present invention, these changes are apparent from, and all utilize the invention of present inventive concept Create all at the row of protection.

Claims (6)

1. a multimode isomery DTN simulation verification system, it is characterised in that include control work station and Simulation work station, controls work station and includes that main control module, virtual DTN scene module, simulation work station include Controlled module, simulation DTN node module, wherein:
Main control module for receiving the log-on message that each simulation work station controlled module sends, according to log-on message and The virtual DTN node attribute information that virtual DTN scene module sends, for simulation work station distribution simulation DTN Node, the corresponding virtual DTN node of each simulation DTN node, generate simulation DTN according to distribution condition Node configuration information is also sent to the corresponding controlled module simulating work station, simulates DTN node configuration information bag Include the attribute information of the virtual DTN node distributing to simulation DTN number of nodes and the correspondence simulating work station; According to all simulation DTN node moulds participating in simplation verification in the affiliated simulation work station that each controlled module is fed back The network address of block and No. EID, " network address of the map information generation simplation verification of communication interface pattern -EID number with communication interface pattern " mapping table is sent to each controlled module;Distribution according to virtual DTN node Situation, the simulated events virtual DTN scene module sent is according to belonging to correspondence simulation DTN node module Simulation work station classify, simulated events is distributed to correspondence controlled module;By controlled analog feedback The dry run data summarization of simulation DTN node module and be transmitted to virtual DTN scene module;
Virtual DTN scene module is for generating virtual DTN nodal community according to the DTN model of place preset Information, simulated events queue and emulate End Event and be sent to main control module, virtual DTN nodal community is believed Breath includes No. EID, communication interface pattern and quantity, and simulated events carries execution timestamp, and emulation terminates thing Part carries simplation verification ending time stamp;
Controlled module is for being sent to main control module, log-on message bag by corresponding simulation workstation registration information Include the network address and the simulation DTN node module information of simulation work station;Receive the simulation from main control module DTN node configuration information, starts corresponding simulation DTN node module, and will simulation DTN node module Attribute information be set to the attribute information of corresponding virtual DTN node;Simulation work station belonging to collecting participates in The network address of the simulation DTN node module of simplation verification and No. EID, the map information of communication interface pattern And feed back to main control module, "-EID number, the network address and the communication interface pattern " that main control module returns is reflected Firing table simulates, belonging to being transmitted to, all simulation DTN node modules participating in simplation verification in work station;By master control The simulated events queue that module forwards is come carries out classifying and be sent to corresponding mould according to simulation DTN node module Intend DTN node module, and main control module forwards the emulation End Event come be transmitted in affiliated simulation work Participate in all simulation DTN node modules of simplation verification;Simulation work station belonging to collecting participates in simplation verification The dry run data of all simulation DTN node modules, feed back to main control module;
Simulation DTN node module configures at least one communication interface pattern, after being activated, according to its attribute The network address of information self correspondence of generation and No. EID, the map information of communication interface pattern, and feed back to Controlled module;After receiving simulated events, according to perform timestamps ordering, successively according to simulated events with Other simulation DTN node modules are set up even according to "-EID number, the network address and communication interface pattern " mapping table Connect and communicate, according to emulation End Event simplation verification ending time stamp end simulation, generate its Dry run Data Concurrent during whole dry run gives controlled module.
Multimode isomery DTN simulation verification system the most according to claim 1, it is characterised in that Described virtual DTN scene module also includes environment Visualization submodule, for showing DTN scene.
Multimode isomery DTN simulation verification system the most according to claim 1, it is characterised in that Described control work station and simulation work station are respectively arranged with time synchronized module, and each simulation work station is according to control The time of the time synchronized module of work station processed synchronizes.
Multimode isomery DTN simulation verification system the most according to claim 3, it is characterised in that The time synchronized module of described control work station is NTP time server module, described simulation work station time Between synchronization module be NTP Client time service monitoring module.
5. multimode isomery DTN based on the multimode isomery DTN simulation verification system described in claim 1 Network analog verification method, it is characterised in that comprise the following steps:
S1: the controlled module of each simulation work station sends simulation work station to the main control module controlling work station Log-on message, including the network address and the simulation DTN node module information of this module work station;
S2: the virtual DTN scene module controlling work station generates virtual according to the DTN model of place preset DTN node attribute information, simulated events queue and emulation End Event, be sent to main control module, virtual DTN Node attribute information includes No. EID, communication interface pattern and quantity, and simulated events carries execution timestamp, Emulation End Event carries simplation verification ending time stamp;
S3: main control module is according to the log-on message received and virtual DTN node attribute information, for simulation work Work station distribution simulation DTN node, the corresponding virtual DTN node of each simulation DTN node, according to dividing Situation of joining generates simulation DTN node configuration information and is sent to the controlled module simulating work station of correspondence, mould Intend simulation DTN number of nodes and the void of correspondence that DTN node configuration information includes distributing to simulate work station Intend the attribute information of DTN node;
After S4: controlled module receives simulation DTN node configuration information, start corresponding simulation DTN joint Point module, and the attribute information of simulation DTN node module is set to the attribute of corresponding virtual DTN node Information;Simulation DTN node module according to its attribute information generate self correspondence the network address with No. EID, The map information of communication interface pattern, and feed back to controlled module;Controlled module is by affiliated simulation work station institute Belong to simulation work station in participate in simplation verification simulation DTN node module the network address with No. EID, communicate The map information of interface modes collects, and feeds back to main control module;Main control module generates the " network address -EID number and communication interface pattern " mapping table, and be transmitted to participate in all of simplation verification by controlled module Simulation DTN node module;
The simulated events queue received is simulated the simulation belonging to DTN node according to correspondence by S5: main control module Work station is classified, and forms multiple simulated events queue, is sent to corresponding controlled module, controlled module After receiving simulated events queue, carry out classifying and being sent to accordingly according to corresponding simulation DTN node module Simulation DTN node module;Emulation End Event is transmitted to participate in simulation by main control module by controlled module All simulation DTN node modules of checking;
S6: simulation DTN node module is after receiving simulated events, according to performing timestamps ordering, successively According to simulated events with other simulation DTN node modules according to "-EID number, the network address and communication interface mould Formula " mapping table set up connect and communicate, according to emulation End Event simplation verification ending time stamp knot Bundle simulation, is generated its dry run data during whole dry run and is transmitted to by controlled module Main control module;
The dry run data participating in all simulation DTN node modules of simplation verification are converged by S7: main control module Total and be transmitted to virtual DTN scene module, virtual DTN scene module calculates net according to dry run data Network performance index value also exports.
Multimode isomery DTN simulation verification method the most according to claim 1, it is characterised in that Described each simulation work station during whole simplation verification with control work station time for standard carry out with Step.
CN201410030144.1A 2014-01-23 2014-01-23 Multimode isomery DTN simulation verification system and method Expired - Fee Related CN103763142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410030144.1A CN103763142B (en) 2014-01-23 2014-01-23 Multimode isomery DTN simulation verification system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410030144.1A CN103763142B (en) 2014-01-23 2014-01-23 Multimode isomery DTN simulation verification system and method

Publications (2)

Publication Number Publication Date
CN103763142A CN103763142A (en) 2014-04-30
CN103763142B true CN103763142B (en) 2016-10-26

Family

ID=50530305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410030144.1A Expired - Fee Related CN103763142B (en) 2014-01-23 2014-01-23 Multimode isomery DTN simulation verification system and method

Country Status (1)

Country Link
CN (1) CN103763142B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101922359B1 (en) * 2014-11-11 2018-11-26 닛본 덴끼 가부시끼가이샤 Wireless terminal, application program, and method
CN106157129B (en) 2015-04-17 2020-02-07 阿里巴巴集团控股有限公司 Method and device for realizing cross-time domain consistency of distributed system
CN107181606B (en) * 2016-03-10 2020-07-31 伊姆西Ip控股有限责任公司 Method and apparatus for controlling network nodes
CN113691342A (en) * 2021-09-13 2021-11-23 上海云轴信息科技有限公司 Method and system for time synchronization of virtualization platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752799A (en) * 2012-06-29 2012-10-24 中国联合网络通信集团有限公司 Routing method, device and system for delay tolerant network
CN102752173A (en) * 2012-07-19 2012-10-24 西安电子科技大学 Distributed simulation system and method supporting large-scale complicated delay tolerant network (DTN)
CN102833160A (en) * 2012-08-17 2012-12-19 北京航空航天大学 Contact predication based large-scale mobile delay tolerant network cluster-based routing method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752799A (en) * 2012-06-29 2012-10-24 中国联合网络通信集团有限公司 Routing method, device and system for delay tolerant network
CN102752173A (en) * 2012-07-19 2012-10-24 西安电子科技大学 Distributed simulation system and method supporting large-scale complicated delay tolerant network (DTN)
CN102833160A (en) * 2012-08-17 2012-12-19 北京航空航天大学 Contact predication based large-scale mobile delay tolerant network cluster-based routing method and system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
可扩展的容迟网络仿真工具设计与实现;李莅;《中国优秀硕士学位论文全文数据库信息科技辑》;20130815(第8期);全文 *

Also Published As

Publication number Publication date
CN103763142A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN106301911B (en) The centralized simulation platform in kind of Information Network based on SDN half and its implementation
CN108768685B (en) Large-scale information communication network real-time simulation system
CN106571956B (en) Satellite networking routing protocol simulation system and method
CN103763142B (en) Multimode isomery DTN simulation verification system and method
CN112115589B (en) VR-Force and OPNET based joint simulation system and method
CN110457747A (en) A kind of network control system synergy emulation method based on NS3 and MATLAB
CN105763570A (en) Virtualization-technology-based distributed real-time network simulation system
CN103023967B (en) Cloud computing simulation system and method based on simics system simulator
Xu et al. piFogBed: a fog computing testbed based on raspberry pi
CN105959347A (en) All-digital collaborative simulation system communication method based on P2P network
CN109905280A (en) A kind of emulation mode and system towards mobile satellite network
Suárez et al. Computer networks performance modeling and simulation
CN116233133A (en) Method for balancing network load of digital twin auxiliary data center
Miyachi et al. Extensions for wireless technology emulation to wire-based network testbed
Lu et al. A scalable network emulation architecture for space internetworking
Flynn et al. A real-time emulation system for ad hoc networks
Bosk et al. Simulation and Practice: A Hybrid Experimentation Platform for TSN
Alstad et al. Minecraft computer game performance analysis and network traffic emulation by a custom bot
Nakata et al. Starbed2: Large-scale, realistic and real-time testbed for ubiquitous networks
Boockmeyer et al. Hatebefi: Hybrid applications testbed for fault injection
CN104809593A (en) Distributed type parallel computation management method of power system
Xu et al. A management and control infrastructure for integrated real-time simulation environment
Zhao et al. Research on a hardware-in-the-loop simulation method for wireless network based on OPNET
Hung et al. An NFV-based edge platform for low-latency V2X services supporting vehicle mobility-driven auto scaling
CN105487407B (en) The method of control Exata node motions track in real time

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161026

Termination date: 20190123

CF01 Termination of patent right due to non-payment of annual fee