CN110138589A - A kind of underwater sensor network visual simulation system based on Linux - Google Patents

A kind of underwater sensor network visual simulation system based on Linux Download PDF

Info

Publication number
CN110138589A
CN110138589A CN201910274873.4A CN201910274873A CN110138589A CN 110138589 A CN110138589 A CN 110138589A CN 201910274873 A CN201910274873 A CN 201910274873A CN 110138589 A CN110138589 A CN 110138589A
Authority
CN
China
Prior art keywords
network
parameter
script
simulation
sensor network
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.)
Pending
Application number
CN201910274873.4A
Other languages
Chinese (zh)
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.)
Shenyang University of Chemical Technology
Original Assignee
Shenyang University of Chemical Technology
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 Shenyang University of Chemical Technology filed Critical Shenyang University of Chemical Technology
Priority to CN201910274873.4A priority Critical patent/CN110138589A/en
Priority to CN202111334449.8A priority patent/CN114021364A/en
Publication of CN110138589A publication Critical patent/CN110138589A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of underwater sensor network visual simulation system based on Linux, it is related to a kind of network visualization analogue system, the present invention includes network topology parameters input module: user inputs network topology parameters by graphic user interface, and system is made to obtain the more specific location information of underwater sensor network;Network simulation parameter input module: user inputs network simulation parameter by graphic user interface and selects communication protocol, and system is made to obtain the parameters such as transmission power, tranmitting frequency, data package size, channel width and sending cycle in artificial network;Bellhop simulated channel setup module.The present invention supports simulating, verifying and the analysis of underwater sensor network the relevant technologies, provides the assessment verifying of laboratory stage for the successes achieved in research of water sound sensor network by designing and developing water sound sensor network analogue system.It is big to solve water sound sensor network establishment hardware device demand, establishes period and a large amount of length, manpower financial capacity's resource cost is big, the problem of practical networking test difficulty.

Description

A kind of underwater sensor network visual simulation system based on Linux
Technical field
The present invention relates to a kind of network visualization analogue systems, more particularly to a kind of underwater sensor based on Linux Network visualization analogue system.
Background technique
It is more demanding to experiment condition since underwater sensor network is huge, and constructing true underwater network need to Want very high cost, thus be by the performance that various agreements are assessed in Physical Experiment completely it is unpractical, emulation experiment is low with its Cost behavior becomes the important means of the assessment new protocol capabilities of underwater sensor network.But current simulator is mostly based on Mathematical modeling has carried out a large amount of simplification to true environment, and the confidence level of theory analysis is not high, in order to fill up analogue simulation and true The concept of the gap of application, Instruction Network Test System Platform is come into being.The network platform assesses protocol capabilities in actual application process, Fairly comprehensive consideration influences the various practical factors of network state, eliminates theoretical error significantly.Network model is constructed to make For the basic link of design and simulation platform, there is highly important impetus for the development of underwater sensor network.
Summary of the invention
The purpose of the present invention is to provide a kind of underwater sensor network visual simulation system based on Linux, this hair It is bright by designing and developing water sound sensor network analogue system, support the simulating, verifying of underwater sensor network the relevant technologies with point Analysis provides the assessment verifying of laboratory stage for the successes achieved in research of water sound sensor network.Solve water sound sensor network It is big to set up hardware device demand, establishes period and a large amount of length, manpower financial capacity's resource cost is big, and practical networking test is difficult to ask Topic.
The purpose of the present invention is what is be achieved through the following technical solutions:
A kind of underwater sensor network visual simulation system based on Linux, the system comprises following preparations:
Network topology parameters input module: user inputs network topology parameters by graphic user interface, obtains system underwater The more specific location information of sensor network;
Network simulation parameter input module: user by graphic user interface input network simulation parameter and to communication protocol into Row selection makes system obtain transmission power, tranmitting frequency, data package size, channel width and sending cycle etc. in artificial network Parameter;
Bellhop simulated channel setup module: for being configured to artificial network channel parameter, system obtains channel in network Parameter;
Otcl script automatically-generating module: network parameter is inputted for obtaining user in graphic user interface, automatically generates Otcl Script file;
Nam emulates playback module: analyzing Trace file, by data transmission scenarios and movement between simulation process interior joint Joint movements track is played back with the case where animation, convenient for intuitively observing network communication and network topology knot in simulation process The situation of change of structure.
Network performance visualization model: for handling the data in Trace file, to handling capacity in network, give out a contract for a project The performance parameters such as number, packet receiving number, Packet Error Ratio and transmission delay are analyzed, and are graphically intuitively shown;
File storage module: for storing network simulation procedure interior joint mobile data, data packet transmission data and network performance Supplemental characteristic;
The parameter that network topology parameters input module is inputted is divided into: the longitude of network node, latitude and in underwater depth Data;
The parameter that network simulation parameter input module is inputted is divided into: nodes number, data package size, starting the time, Dwell time sends power, receives power, maximum transmitted interval, sends frequency, communication bandwidth, bit rate, period, seed Several and trace file store path;
The parameter of Bellhop simulated channel setup module input is divided into: channel frequency, ssp interpolation, sound source number, vertical direction Receiver quantity, horizontal direction receiver quantity, transducing angle of release and sound number of lines.
A kind of underwater sensor network visual simulation system based on Linux, the Otcl script store road Frame is arranged in diameter, and user can be with user-defined file store path, before user carries out the input of network simulation parameter, it is necessary to first to storage Path is configured.
A kind of underwater sensor network visual simulation system based on Linux, the Otcl script display box, Otcl script display box can show Otcl sentence immediately after user inputs simulation parameter, after user's confirmation input is errorless, carry out foot This storage.
A kind of underwater sensor network visual simulation system based on Linux, the Otcl script save at Function prompting frame plays suggesting effect to user's operation, prevents user from carrying out repetitive operation.
A kind of underwater sensor network visual simulation system based on Linux, the Otcl script run mould Block, there are two types of its implementation, method one, utilizes ButtonClick slot calling system terminal processes Run Script file;Method Two, utilize QProcess launching process Run Script file.
The advantages and effects of the present invention are:
The present invention analyzes the performance parameters such as handling capacity in network, number of giving out a contract for a project, packet receiving number, Packet Error Ratio and transmission delay, and Graphically intuitively show;Store network simulation procedure interior joint mobile data, data packet flow-data and net Network performance parameter data.In the present system network simulation parameter can be arranged, system is with figure according to real network model in user Change form shows simulation result.User can adjust network model and agreement etc. according to simulation result, actually arrange net The verifying of laboratory stage is provided for the related ends of researcher before test, to improve underwater sensor network the relevant technologies Efficiency, reduce the number of practical underwater network test, and then save the research cost of underwater network.
Detailed description of the invention
Fig. 1 is system principle diagram of the invention;
Fig. 2 is system flow chart of the invention.
Specific embodiment
The present invention is described in detail for illustrated embodiment with reference to the accompanying drawing.
A kind of underwater sensor network visual simulation system based on Linux, comprising:
Network topology parameters input module: user inputs network topology parameters by graphic user interface, obtains system underwater The more specific location information of sensor network;
Network simulation parameter input module: user by graphic user interface input network simulation parameter and to communication protocol into Row selection makes system obtain transmission power, tranmitting frequency, data package size, channel width and sending cycle etc. in artificial network Parameter;
Bellhop channel setup module: for being configured to artificial network channel parameter, system is made to obtain channel ginseng in network Number;
Otcl script automatically-generating module: network parameter is inputted for obtaining user in graphic user interface, automatically generates Otcl Script file;
Nam emulation playback mould: Trace file is analyzed, by data transmission scenarios and movable joint between simulation process interior joint Point motion profile is played back in the form of animation, convenient for intuitively observing network communication and network topology structure in simulation process Situation of change.
Network performance visualization model: for handling the data in Trace file, to handling capacity in network, give out a contract for a project The performance parameters such as number, packet receiving number, Packet Error Ratio and transmission delay are analyzed, and are graphically intuitively shown;
File storage module: for storing network simulation procedure interior joint mobile data, data packet transmission data and network performance Supplemental characteristic.
This analogue system utilizes visual development technology by NS-2, NS-Miracle, WOSS, the Integrated Simulations such as Gawk, Nam On a platform, and interface simple to operation is provided and helps user that scene selection, initial parameter setting is rapidly completed, imitated Very, data are extracted, are handled, as a result the sequence of operations such as presentation.
Working principle:
Setting network topology parameters, network simulation parameter and Bellhop channel parameter, user can be according to the actual situation to networks In the communication protocol of each layer be set dynamically, and nodes quantity, mobile form, tranceive type, communication bandwidth, receipts The parameters such as hair power are set dynamically, and set simulated effect more preferably close to actual network condition, by network simulation parameter It sets interface and network parameter is passed into system, system automatically generated Otcl script.And NS-2 combination Bellhop is called by script Channel simulator carries out the emulation of underwater sensor network, and simultaneity factor generates Trace and Nam file, and stores to it. In addition, system is called Gawk processing trace file and analyzed it, the network performance parameter that user is needed passes through figure The formal intuition of table is presented to the user, and by calling Nam to realize the playback to network data transmission process.
Further, further includes:
System provides script display interface, in setting network topology parameters, network simulation parameter and Bellhop channel parameter circle Face, when user inputs parameter, clicks ACK button, script display module can show script generation corresponding with parameter immediately Code, user can according to their own needs modify to it, but for guarantee the accuracy of scripted code it is not recommended that modification, with Family, which determines, can carry out script preservation after code is accurate.
Further, script preservation is stored in script under the store path being previously set.Meanwhile Yong Huke To modify store path as needed.System, which provides, saves successful message notifying frame, this can prompt user's operation success, Avoid multi-pass operation that code is caused to repeat.
Further, the network topology parameters, network simulation parameter and Bellhop channel parameter setup module due to With compared with multi input parameter, and the length at interface is limited, it is divided into multiple pages by function.And it chooses in Qt QGridLayout and QStacked Widget carries out the partial layout management at interface, so that network parameter is inputted multiple pages and is referring to Positioning, which is set, to be shown.After the completion of the input of all-network parameter, the operation operation of script file is carried out.
Further, present system provides two methods for the script file operation operation, and method one: system interface provides Terminal (terminal) routine interface is called, inputs script operation order, Run Script file acquisition network performance in the terminal Supplemental characteristic;Method two: system provides the module with terminal function, opens new process using QProcess and carries out script text The operation of part, and Run Script is shown in QTextEdit.
Embodiment
In conjunction with described in attached drawing 1-2, a kind of underwater sensor network visual simulation system based on Linux, comprising:
Network topology parameters input module: user inputs network topology parameters by graphic user interface, obtains system underwater The more specific location information of sensor network;
Network simulation parameter input module: user by graphic user interface input network simulation parameter and to communication protocol into Row selection makes system obtain transmission power, tranmitting frequency, data package size, channel width and sending cycle etc. in artificial network Parameter;
Bellhop channel setup module: for being configured to artificial network channel parameter, system is made to obtain channel ginseng in network Number;
Otcl script automatically-generating module: network parameter is inputted for obtaining user in graphic user interface, automatically generates Otcl Script file;
Nam emulates playback module: analyzing Trace file, by data transmission scenarios and movement between simulation process interior joint Joint movements track is played back in the form of animation, convenient for intuitively observing network communication and network topology knot in simulation process The situation of change of structure.
Network performance visualization model: for handling the data in Trace file, to handling capacity in network, give out a contract for a project The performance parameters such as number, packet receiving number, Packet Error Ratio and transmission delay are analyzed, and are graphically intuitively shown;
File storage module: for storing network simulation procedure interior joint mobile data, data packet transmission data and network performance Supplemental characteristic.
This analogue system utilizes visual development technology by NS-2, NS-Miracle, WOSS, the Integrated Simulations such as Gawk, Nam On a platform, and interface simple to operation is provided and helps user that scene selection, initial parameter setting is rapidly completed, imitated Very, data are extracted, are handled, as a result the sequence of operations such as presentation.
Working principle:
Setting network topology parameters, network simulation parameter and Bellhop channel parameter, user can be according to the actual situation to networks In the communication protocol of each layer be set dynamically, and nodes quantity, mobile form, tranceive type, communication bandwidth, receipts The parameters such as hair power are set dynamically, and set simulated effect more preferably close to actual network condition, by network simulation parameter It sets interface and network parameter is passed into system, system automatically generated Otcl script.And NS-2 combination Bellhop is called by script Channel simulator carries out the emulation of underwater sensor network, and simultaneity factor generates Trace and Nam file, and stores to it. In addition, system is called Gawk processing trace file and analyzed it, the network performance parameter that user is needed passes through figure The formal intuition of table is presented to the user, and by calling Nam to realize the playback to network data transmission process.
Further, further includes:
System provides script display interface, in setting network topology parameters, network simulation parameter and Bellhop channel parameter circle Face, when user inputs parameter, clicks ACK button, script display module can show script generation corresponding with parameter immediately Code, user can according to their own needs modify to it, but for guarantee the accuracy of scripted code it is not recommended that modification, with Family, which determines, can carry out script preservation after code is accurate.
Further, script preservation is stored in script under the store path being previously set.Meanwhile Yong Huke To modify store path as needed.System, which provides, saves successful message notifying frame, this can prompt user's operation success, Avoid multi-pass operation that code is caused to repeat.
Further, the network topology parameters, network simulation parameter and Bellhop channel parameter setup module due to With compared with multi input parameter, and the length at interface is limited, it is divided into multiple pages by function.And it chooses in Qt QGridLayout and QStacked Widget carries out the partial layout management at interface, so that network parameter is inputted multiple pages and is referring to Positioning, which is set, to be shown.After the completion of the input of all-network parameter, the operation operation of script file is carried out.
Further, present system provides two methods for the script file operation operation, and method one: system interface provides Terminal (terminal) routine interface is called, inputs script operation order, Run Script file acquisition network performance in the terminal Supplemental characteristic;Method two: system provides the module with terminal function, opens new process using QProcess and carries out script text The operation of part, and Run Script is shown in QTextEdit.
Embodiment described above is described for presently preferred embodiments of the present invention, is not done to the present invention any Formal limitation carries out any type of modification, simple change to above embodiment according to the technical essence of the invention Change, it is same to change, it falls within the scope of protection of the present invention.

Claims (5)

1. a kind of underwater sensor network visual simulation system based on Linux, which is characterized in that the system comprises following It prepares:
Network topology parameters input module: user inputs network topology parameters by graphic user interface, obtains system underwater The more specific location information of sensor network;
Network simulation parameter input module: user by graphic user interface input network simulation parameter and to communication protocol into Row selection makes system obtain transmission power, tranmitting frequency, data package size, channel width and sending cycle etc. in artificial network Parameter;
Bellhop simulated channel setup module: it for being configured to artificial network channel parameter, obtains system and believes in network Road parameter;
Otcl script automatically-generating module: network parameter is inputted for obtaining user in graphic user interface, automatically generates Otcl Script file;
Nam emulates playback module: analyzing Trace file, by data transmission scenarios and movement between simulation process interior joint Joint movements track is played back with the case where animation, convenient for intuitively observing network communication and network topology knot in simulation process The situation of change of structure
Network performance visualization model: for handling the data in Trace file, thus to handling capacity, number of giving out a contract for a project, receipts in network The performance parameters such as packet number, Packet Error Ratio and transmission delay are analyzed, and are graphically intuitively shown;
File storage module: for storing network simulation procedure interior joint mobile data, data packet transmission data and network performance Supplemental characteristic;
The parameter that network topology parameters input module is inputted is divided into: the longitude of network node, latitude and in underwater depth Data;
The parameter that network simulation parameter input module is inputted is divided into: nodes number, data package size, starting the time, Dwell time sends power, receives power, maximum transmitted interval, sends frequency, communication bandwidth, bit rate, period, seed Several and trace file store path;
The parameter of Bellhop simulated channel setup module input is divided into: channel frequency, ssp interpolation, sound source number, vertical direction Receiver quantity, horizontal direction receiver quantity, transducing angle of release and sound number of lines.
2. a kind of underwater sensor network visual simulation system based on Linux according to claim 1, feature exist In frame is arranged in the Otcl script store path, and user can carry out network simulation ginseng in user with user-defined file store path Before number input, it is necessary to be first configured to store path.
3. a kind of underwater sensor network visual simulation system based on Linux according to claim 1, feature exist In the Otcl script display box, Otcl script display box can show Otcl sentence, user immediately after user inputs simulation parameter After confirmation input is errorless, the storage of script is carried out.
4. a kind of underwater sensor network visual simulation system based on Linux according to claim 1, feature exist In the Otcl script saves successfully prompting frame, plays suggesting effect to user's operation, prevents user from carrying out repetitive operation.
5. a kind of underwater sensor network visual simulation system based on Linux according to claim 1, feature exist In the Otcl script running module, there are two types of its implementation, method one, utilizes ButtonClick slot calling system terminal Process Run Script file;Method two utilizes QProcess launching process Run Script file.
CN201910274873.4A 2019-04-08 2019-04-08 A kind of underwater sensor network visual simulation system based on Linux Pending CN110138589A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910274873.4A CN110138589A (en) 2019-04-08 2019-04-08 A kind of underwater sensor network visual simulation system based on Linux
CN202111334449.8A CN114021364A (en) 2019-04-08 2019-04-08 Linux-based underwater sensor network visual simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910274873.4A CN110138589A (en) 2019-04-08 2019-04-08 A kind of underwater sensor network visual simulation system based on Linux

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111334449.8A Division CN114021364A (en) 2019-04-08 2019-04-08 Linux-based underwater sensor network visual simulation system

Publications (1)

Publication Number Publication Date
CN110138589A true CN110138589A (en) 2019-08-16

Family

ID=67569498

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111334449.8A Pending CN114021364A (en) 2019-04-08 2019-04-08 Linux-based underwater sensor network visual simulation system
CN201910274873.4A Pending CN110138589A (en) 2019-04-08 2019-04-08 A kind of underwater sensor network visual simulation system based on Linux

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202111334449.8A Pending CN114021364A (en) 2019-04-08 2019-04-08 Linux-based underwater sensor network visual simulation system

Country Status (1)

Country Link
CN (2) CN114021364A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765663A (en) * 2019-11-25 2020-02-07 中冶赛迪重庆信息技术有限公司 Concurrent processing method and system based on parametric simulation
CN110794169A (en) * 2019-10-10 2020-02-14 沈阳化工大学 Intelligent monitoring system for water flow condition in seabed-imitated ocean current experiment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064957A (en) * 2010-11-11 2011-05-18 北京航空航天大学 Method for calculating and simulating performance parameters of wireless network based on trace file
CN108270499A (en) * 2018-04-08 2018-07-10 西北工业大学 A kind of underwater sound communication performance test apparatus and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064957A (en) * 2010-11-11 2011-05-18 北京航空航天大学 Method for calculating and simulating performance parameters of wireless network based on trace file
CN108270499A (en) * 2018-04-08 2018-07-10 西北工业大学 A kind of underwater sound communication performance test apparatus and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李莉等: "基于Aqua-Sim的水声传感器网络MAC层协议分析", 《传感器与微系统》 *
费宛莹: "水下传感器网络仿真软件设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *
赵静等: "基于NS2的水声传感器网络MAC层协议分析", 《沈阳化工大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110794169A (en) * 2019-10-10 2020-02-14 沈阳化工大学 Intelligent monitoring system for water flow condition in seabed-imitated ocean current experiment
CN110794169B (en) * 2019-10-10 2021-09-10 沈阳化工大学 Intelligent monitoring system for water flow condition in seabed-imitated ocean current experiment
CN110765663A (en) * 2019-11-25 2020-02-07 中冶赛迪重庆信息技术有限公司 Concurrent processing method and system based on parametric simulation

Also Published As

Publication number Publication date
CN114021364A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
Siraj et al. Network simulation tools survey
CN105915304A (en) System-level simulation demonstration verification method facing satellite mobile communication
CN103634154A (en) Simulation system and simulation method for network state
CN106452850A (en) SDN controller performance testing method and system
Raj et al. Simulation of VANET using ns-3 and SUMO
CN114422010B (en) Protocol testing method of satellite communication simulation platform based on network virtualization
CN111522727B (en) Simulation object test method, device and system
CN110138589A (en) A kind of underwater sensor network visual simulation system based on Linux
CN103716826A (en) Wireless data service simulated scene-based user experience quality testing method
CN111316227B (en) Method and equipment for debugging application program
CN111835554B (en) Internet of vehicles routing simulation platform based on event-driven kernel
Zhou et al. Comparison on network simulation techniques
CN107704687A (en) Video monitoring system Computer Aided Design and appraisal procedure
Bautista et al. Large-scale simulations manager tool for OmNet++: Expediting simulations and post-processing analysis
CN109542754A (en) The cut-in method of mobile device, the adjustment method of application program, device and system
CN111935767B (en) Network simulation system
CN107395405B (en) Test environment analogy method and device based on spatial network topology
Fakhar Investigate Network Simulation Tools in designing and managing intelligent systems
CN109101424A (en) A kind of method and device for realizing data stimuli
Gamess et al. A Comparative Analysis of Network Simulation Tools.
CN103745049A (en) Novel multi-factor tactical internet connection reliability simulation method
Mohorko et al. Advanced modelling and simulation methods for communication networks
Aldahir Evaluation of the performance of WebGPU in a cluster of WEB-browsers for scientific computing
Navaridas et al. Realistic evaluation of interconnection networks using synthetic traffic
Bhatt et al. Comparision and Analysis of Simulators for Ad hoc Wireless Networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190816