Background
At present, in the process of planning a wireless network, a wireless network simulation system is generally used to simulate the overall performance of the network, and the wireless network is planned according to the simulation result. Since the propagation environments of wireless signals are various, it is necessary to perform simulation operations using various propagation models. In the prior art, a wireless network simulation system includes several propagation model modules and a database module. Each propagation model is stored with one propagation model, and the database module is stored with various parameter information required by simulation, including base station parameter information, geographic parameter information, antenna parameter information, wireless environment parameter information and the like in the network. The prior art has the defect that when the wireless network simulation system comprises a plurality of propagation models, no technical scheme is provided for solving the problem of the increase of the complexity of the wireless network simulation in the simulation process.
Disclosure of Invention
The invention provides a network simulation system, which is used for solving the problem of improving the simulation complexity of a wireless network in the simulation process.
A network simulation system, comprising:
a simulation input module: the system comprises a simulation server, a simulation server and a simulation server, wherein the simulation server is used for receiving simulation requirement information of a user and determining simulated equipment parameters and link parameters;
an equipment simulation module: the device simulation system is used for calling a device simulation sample from a preset device simulation database according to the device parameters;
the distributed simulation server: the device space building method comprises the steps that a device distributed network and a link distributed network are built, and a device space is built in network nodes of the device distributed network and the link distributed network;
a configuration module: the device simulation database is used for calling a device simulation sample from the device simulation database according to a calling instruction of a user and importing the device simulation sample into a device space of the device distributed network;
a link simulation module: the simulation link is constructed between the equipment spaces of the equipment distributed network through the link distributed network according to the link parameters and the equipment simulation samples;
a simulation output module: and after the simulation link is built, generating a dynamic simulation network according to the simulation link and the equipment simulation sample.
As an embodiment of the present invention, the simulation input module includes:
a receiving unit: the simulation system is used for receiving input information of a user and determining simulation requirement information of the user according to the input information;
a device information unit: the simulation system is used for converting the simulation demand information into text information and extracting equipment parameters in the text information according to the text information; wherein the content of the first and second substances,
the device parameters include: type parameters, rule parameters and transmission parameters;
a link information unit: the media tool is used for determining the media tool in the link parameters according to the type parameters and acquiring media parameters; and the communication protocol in the link parameters is determined according to the rule parameters and the transmission parameters.
As an embodiment of the present invention, the device simulation module includes:
an equipment simulation unit: the device simulation system comprises a network device, a simulation module and a simulation module, wherein the network device is captured in the internet through a big data technology, a geometric template of the network device is constructed, and a device simulation sample is generated through the geometric template;
device simulation database: the device simulation system comprises a distributed simulation server, a configuration module and a data storage module, wherein the device simulation sample is used for storing the device simulation sample, and a data implantation port of the distributed simulation server and an instruction receiving port for receiving a configuration instruction of the configuration module are set up;
a classification simulation unit: the device simulation system is used for classifying the device simulation samples in the device simulation database and carrying out priority sequencing on different types of device simulation samples according to the applicability of each type of device simulation sample in a link.
As an embodiment of the present invention, the distributed simulation server includes a device server and a link server; wherein the content of the first and second substances,
the number of the equipment servers is at least 2;
the number of the link servers is at least 1;
the device server is used for constructing a device distributed network of network devices, and presetting a device space for storing the device simulation sample in a network node of the device distributed network;
the link server is used for constructing a link distributed network of data links, and a link space for storing a media tool is preset in a network node of the link distributed network.
As an embodiment of the present invention, the configuration module includes:
an instruction receiving unit: the system comprises a simulation instruction receiving module, a network simulation module and a control module, wherein the simulation instruction is used for receiving a simulation instruction of a user and determining equipment information of network simulation according to the simulation instruction;
a retrieval unit: the device simulation database is used for determining the number of device simulation samples needing to be called according to the device information and selecting the device simulation samples corresponding to the device information from the device simulation database;
a network import unit: the device simulation system is used for dividing the device simulation sample into an output device sample, a transfer device sample and a receiving device sample, and respectively introducing the output device sample, the transfer device sample and the receiving device sample into different device distributed networks;
a node importing unit: and the device space which is in accordance with the link parameter is determined according to the link parameter after the device simulation sample enters the device distributed network.
As an embodiment of the present invention, the link simulation module includes:
a link parameter analysis unit: the system is used for determining the transparency, reliability and safety of a simulation link in the network simulation according to the link parameters;
a sample analysis unit: the real-time data transmission range in the network simulation is determined according to the equipment parameters;
a link building unit: the link distribution network is used for configuring a medium tool and a link protocol in the link distribution network according to the real-time data transmission range and the transparency, reliability and safety of the simulation link, and determining the simulation link according to the medium tool and the link protocol.
As an embodiment of the present invention, the determining, by the link parameter analysis unit, the transparency, reliability, and security of the simulated link includes:
step 1: determining the content characteristics of the simulation link according to the transmission parameters
Format characteristics
And coding features
And determining the transparency of the emulated link
:
Step 2: determining the information loss probability of the medium tool in the simulation link according to the medium parameters
And interference set
Determining the reliability of the simulated link
:
Wherein, the
Representing the number of interference categories; the above-mentioned
Is shown as
A seed disturbance;
and step 3: acquiring the communication protocol on the simulation link and determining the protocol characteristics
Determining the security of the emulated link in combination with the reliability, transparency and protocol characteristics
:
Wherein the content of the first and second substances,
represents the total number of features of the protocol,
(ii) a When said
Representing the simulation link security; when the said time is not safe, the said simulation link is not safe; the above-mentioned
Is shown as
Protocol characteristics of the security protocol.
As an embodiment of the present invention, the simulation output module includes:
a link judgment module: the device is used for detecting the connection/disconnection of the built link and issuing a simulation instruction when the detection result is connection;
a dynamic simulation module: and the dynamic simulation network is used for receiving the simulation instruction and perfecting the simulation link and the dynamic simulation network constructed by the equipment simulation sample according to the simulation instruction.
As an embodiment of the invention, the system further comprises
Parameter threshold value: the device simulation system is used for determining a data transceiving state threshold value of the device simulation sample and a fluctuation threshold value of a simulation link according to the device parameter and the link parameter;
a sample detection module: the simulation network is used for acquiring the data receiving and transmitting integrity of the equipment simulation sample after the simulation network is built, and determining the data receiving and transmitting state of the equipment simulation sample;
a link detection module: the simulation network is used for acquiring fluctuation data of the simulation link during data transmission after the simulation network is built, and determining the fluctuation state of the simulation link during data transmission;
a detection module: the data receiving and sending state is compared with the data receiving and sending state threshold value to obtain a first network judgment result, and the fluctuation state is compared with the fluctuation threshold value to obtain a second network judgment result;
a network judgment module: and the simulation network judging module is used for judging whether the simulation network meets the requirement standard of a user according to the first network judging result and the second network judging result.
As an embodiment of the present invention, the system further includes:
a network connectivity detection unit: setting a response script for detecting the connectivity of the simulation network on the equipment simulation sample; wherein the content of the first and second substances,
when the response script is transmitted to any equipment simulation sample, primary feedback information is generated;
the response script performs network circulation in the equipment simulation sample of the simulation network by setting a circulation mode; wherein the content of the first and second substances,
each time the network is circulated, the response script is contacted with each device simulation sample only once;
a feedback module: receiving script feedback information when the response script runs in the simulation network;
a feedback statistics module: and the script feedback information is used for judging whether simulation samples of different devices of the simulation network are communicated or not.
Has the advantages that: as a simulation network system, the invention firstly specifies the requirement of a network server according to the requirement of a user and determines the information needing simulation. And the equipment simulation module is used for calling an equipment simulation sample through the determination of the equipment parameters. And finally, network connection of equipment space is realized through configuration, link control of modules. Therefore, a propagation model proxy entity does not need to be established for each propagation model module, the complexity of the wireless network simulation system is reduced, and the efficiency of simulating the wireless network is improved.
The invention has the beneficial effects that: as a simulation network system, the invention firstly specifies the requirement of a network server according to the requirement of a user and determines the information needing simulation. And the equipment simulation module is used for calling an equipment simulation sample through the determination of the equipment parameters. And finally, network connection of equipment space is realized through configuration, link control of modules. Therefore, a propagation model proxy entity does not need to be established for each propagation model module, the complexity of the wireless network simulation system is reduced, and the efficiency of simulating the wireless network is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
As shown in fig. 1, the present invention discloses a network simulation system, which comprises:
a simulation input module: the system comprises a simulation server, a simulation server and a simulation server, wherein the simulation server is used for receiving simulation requirement information of a user and determining simulated equipment parameters and link parameters; receiving simulation requirement information of a user, for example, the user needs to simulate a section of network fault, wherein the simulation requirement information includes parameter information in the fault process, fault location, fault condition and the like.
An equipment simulation module: the device simulation system is used for calling a device simulation sample from a preset device simulation database according to the device parameters; the device simulation database has samples of network devices to be simulated, and the device parameters represent parameters of the network devices, such as computers, master control terminals, and high-count computers.
The distributed simulation server: the device space building method comprises the steps that a device distributed network and a link distributed network are built, and a device space is built in network nodes of the device distributed network and the link distributed network; the distributed network is arranged on two sides of the distributed link and is equivalent to two ends of the receiving device and the sending device. And the device space is built on the node, and the simulation sample can be placed in the device space.
A configuration module: the device simulation database is used for calling a device simulation sample from the device simulation database according to a calling instruction of a user and importing the device simulation sample into a device space of the device distributed network; namely, receiving user instructions, or converting user voice and text information. And realizing the issue of the control instruction.
A link simulation module: the simulation link is constructed between the equipment spaces of the equipment distributed network through the link distributed network according to the link parameters and the equipment simulation samples; the device space is connected through the simulation link to be used as a link of the system, and network communication between network devices is realized.
A simulation output module: and after the simulation link is built, generating a dynamic simulation network according to the simulation link and the equipment simulation sample. And the link is built, the space of the equipment is connected, and the simulation link is communicated to realize the realization of the simulation network.
The beneficial effects of the above technical scheme are that: as a simulation network system, the invention firstly specifies the requirement of a network server according to the requirement of a user and determines the information needing simulation. And the equipment simulation module is used for calling an equipment simulation sample through the determination of the equipment parameters. And finally, network connection of equipment space is realized through configuration, link control of modules. Therefore, a propagation model proxy entity does not need to be established for each propagation model module, the complexity of the wireless network simulation system is reduced, and the efficiency of simulating the wireless network is improved.
As an embodiment of the present invention, the simulation input module includes:
a receiving unit: the simulation system is used for receiving input information of a user and determining simulation requirement information of the user according to the input information;
a device information unit: the simulation system is used for converting the simulation demand information into text information and extracting equipment parameters in the text information according to the text information; wherein the content of the first and second substances,
the device parameters include: type parameters, rule parameters and transmission parameters;
a link information unit: the media tool is used for determining the media tool in the link parameters according to the type parameters and acquiring media parameters; and the communication protocol in the link parameters is determined according to the rule parameters and the transmission parameters.
The principle of the technical scheme is as follows: the invention processes the user information through the receiving unit, and extracts the user requirements. And through text conversion of information, the text is in the form of editable webpage text, parameters of equipment are determined, and finally, rule setting is realized based on link parameters, a media tool and a communication protocol.
The beneficial effects of the above technical scheme are that: the invention can more quickly acquire the simulation information by processing the user information, and can more clearly and definitely determine the parameters of the equipment by text conversion. And finally, determining the range of data transmission through a medium tool, indicating the bandwidth and the like during data transmission, and finally formulating a rule of data transmission through a communication protocol.
As an embodiment of the present invention, the device simulation module includes:
an equipment simulation unit: the device simulation system comprises a network device, a simulation module and a simulation module, wherein the network device is captured in the internet through a big data technology, a geometric template of the network device is constructed, and a device simulation sample is generated through the geometric template; the geometric template is a virtual template in the network space, with the same functionality and usage limitations of the network device.
Device simulation database: the device simulation system comprises a distributed simulation server, a configuration module and a data storage module, wherein the device simulation sample is used for storing the device simulation sample, and a data implantation port of the distributed simulation server and an instruction receiving port for receiving a configuration instruction of the configuration module are set up; the device simulation database stores device simulation samples, and the data input port is an I/O port for inputting and configuring instructions.
A classification simulation unit: the device simulation system is used for classifying the device simulation samples in the device simulation database and carrying out priority sequencing on different types of device simulation samples according to the applicability of each type of device simulation sample in a link. The classification of the device simulation samples is to definitely improve the applicability of the devices in the link, and further realize the finite state sequencing of the simulation devices.
The beneficial effects of the above technical scheme are that: according to the invention, the geometric template is captured in the network space, so that the network equipment sample is generated, the acquisition process of the equipment is simplified, the selectivity of the equipment is higher, the data capture limit of the database is realized through the database building port, and meanwhile, the applicability of the network simulation sample in the simulation network is improved through classification simulation.
As an embodiment of the present invention, the distributed simulation server includes a device server and a link server; wherein the content of the first and second substances,
the number of the equipment servers is at least 2; need to be respectively arranged at both sides of the link server.
The number of the link servers is at least 1; the equipment server is used for communicating the two sides.
The device server is used for constructing a device distributed network of network devices, and presetting a device space for storing the device simulation sample in a network node of the device distributed network; the device space is used for loading a simulation device sample, and the device simulation sample is a computer terminal, a mobile terminal such as a mobile phone and the like, or other terminal devices capable of data interaction or data transmission and conversion devices and is used for data transmission.
The link server is used for constructing a link distributed network of data links, and a link space for storing a media tool is preset in a network node of the link distributed network. The link space is used for configuring network devices and link tools such as switches, routing, WIFI and the like.
As an embodiment of the present invention, the configuration module includes:
an instruction receiving unit: the system comprises a simulation instruction receiving module, a network simulation module and a control module, wherein the simulation instruction is used for receiving a simulation instruction of a user and determining equipment information of network simulation according to the simulation instruction; the simulation instruction is used for receiving a simulation instruction of a user, and further simulation of the network equipment is achieved through the simulation instruction.
A retrieval unit: the device simulation database is used for determining the number of device simulation samples needing to be called according to the device information and selecting the device simulation samples corresponding to the device information from the device simulation database; the method is used for calling the equipment simulation samples in the database, preferably, when the database does not need equipment, data transmission is carried out through a communication network, and meanwhile, an instruction is set to carry out capture equipment simulation calling in the network.
A network import unit: the device simulation system is used for dividing the device simulation sample into an output device sample, a transfer device sample and a receiving device sample, and respectively introducing the output device sample, the transfer device sample and the receiving device sample into different device distributed networks; the network import is performed through the network import of the output device sample, the network import of the relay device sample and the network import of the receiving device sample.
A node importing unit: and the device space which is in accordance with the link parameter is determined according to the link parameter after the device simulation sample enters the device distributed network. The link parameters are brought into the equipment space by combining the network nodes of the distributed network with the link parameters.
As an embodiment of the present invention, the link simulation module includes:
a link parameter analysis unit: the system is used for determining the transparency, reliability and safety of a simulation link in the network simulation according to the link parameters;
a sample analysis unit: the real-time data transmission range in the network simulation is determined according to the equipment parameters; the method is used for analyzing the bandwidth or real-time data and the like of data transmission of sample equipment and sample data in a simulation network.
A link building unit: the link distribution network is used for configuring a medium tool and a link protocol in the link distribution network according to the real-time data transmission range and the transparency, reliability and safety of the simulation link, and determining the simulation link according to the medium tool and the link protocol. The method is used for realizing the final construction of the link through a media tool and a link protocol.
As an embodiment of the present invention, the determining, by the link parameter analysis unit, the transparency, reliability, and security of the simulated link includes:
step 1: determining the content characteristics of the simulation link according to the transmission parameters
Format characteristics
And coding features
And determining the transparency of the emulated link
:
Step 2: determining the information loss probability of the medium tool in the simulation link according to the medium parameters
And interference set
Determining the reliability of the simulated link
:
Wherein, the
Representing the number of interference categories; the above-mentioned
Is shown as
A seed disturbance;
and step 3: acquiring the communication protocol on the simulation link and determining the protocol characteristics
Determining the security of the emulated link in combination with the reliability, transparency and protocol characteristics
:
Wherein the content of the first and second substances,
represents the total number of features of the protocol,
(ii) a When said
Representing the simulation link security; when the said time is not safe, the said simulation link is not safe; the above-mentioned
Is shown as
Protocol characteristics of the security protocol.
The beneficial effects of the above technical scheme are that: the invention respectively calculates the transparency, the reliability and the safety of the simulation link, wherein the transparency and the reliability can not be seen and sensed by a network layer in the occurrence process or can not consider the processing process of the link layer at all, and the data can be used as long as the data is taken, which is simply understood that the network layer only takes the data to process regardless of the processing process (or principle) of the link layer, and similarly, the layer 1 is a physical layer, so the layer 2 is not required to process, the data of the layer 2 only needs to be transmitted on the layer, and the layer 1 is only taken by the layer 2, so the layer 1 is transparent to the layer 2. The reliability is to reduce external devices, further realize less external interference, and finally realize the overall control of the link through the determination of the link security.
As an embodiment of the present invention, the simulation output module includes:
a link judgment module: the device is used for detecting the connection/disconnection of the built link and issuing a simulation instruction when the detection result is connection; the data transmission and network simulation are impossible under the condition that the link is not communicated, and therefore, the judgment of the link is needed.
A dynamic simulation module: and the dynamic simulation network is used for receiving the simulation instruction and perfecting the simulation link and the dynamic simulation network constructed by the equipment simulation sample according to the simulation instruction. The dynamic simulation is to dynamically set and judge the simulation link and the device simulation sample.
As an embodiment of the present invention, the system further includes:
parameter threshold value: the device simulation system is used for determining a data transceiving state threshold value of the device simulation sample and a fluctuation threshold value of a simulation link according to the device parameter and the link parameter; after the simulation network is formed, the connection conditions of different equipment simulation samples and simulation links of the simulation network need to be judged, the connection conditions comprise the difference between the possible transceiving data state and fluctuation state of the simulation link and the actual transceiving data state and fluctuation state when the simulation link is used for the requirements, whether the simulation network has a simulation defect or not can be judged according to the difference, and then the simulation network can be adjusted in time.
A sample detection module: the simulation network is used for acquiring the data receiving and transmitting integrity of the equipment simulation sample after the simulation network is built, and determining the data receiving and transmitting state of the equipment simulation sample; the judging of the data receiving and transmitting state is carried out according to the completeness of data receiving and transmitting, the verification data packet is led into the simulation network and is mutually transmitted in the equipment simulation samples, further, whether the data receiving and transmitting are complete or not is judged according to the missing condition of the verification data packet during the transmission between the equipment simulation samples which do not pass through, and whether the transmitted data packet is complete or not can be judged based on the residual quantity of the verification data packet and the quantity of the verification data packet at the beginning.
A link detection module: the simulation network is used for acquiring fluctuation data of the simulation link during data transmission after the simulation network is built, and determining the fluctuation state of the simulation link during data transmission; the link detection is also through verifying the data packet, the invention is based on verifying the state such as delay, transmission rate, etc. when the data packet is transmitted in the link, judge whether the artificial link fluctuates.
A detection module: the data receiving and sending state is compared with the data receiving and sending state threshold value to obtain a first network judgment result, and the fluctuation state is compared with the fluctuation threshold value to obtain a second network judgment result; the data transceiving threshold value of the invention is a threshold value range, the first network judgment result is that the real-time data transceiving state is not in the data transceiving state threshold value range, and the second network judgment result is that the network fluctuation state is not in the fluctuation threshold value range.
A network judgment module: and the simulation network judging module is used for judging whether the simulation network meets the requirement standard of a user according to the first network judging result and the second network judging result. And only when the first network judgment result and the second network judgment result show that the real-time data transceiving state and the fluctuation state both meet the requirement standard of the user, the network judgment module outputs the requirement standard of the simulation network composite user, so that the detection of the simulation network is realized, and the defect of the simulation network is maintained.
As an embodiment of the present invention, the system further includes:
a network connectivity detection unit: setting a response script for detecting the connectivity of the simulation network on the equipment simulation sample; wherein the content of the first and second substances,
the response script is a script application program which is compounded with the invention and can add functions according to the response requirements of users
When the response script is transmitted to any equipment simulation sample, primary feedback information is generated; the response script prevents the sample from proceeding to the detection in each device and collects feedback information of the detection.
The response script performs network circulation in the equipment simulation sample of the simulation network by setting a circulation mode; wherein the content of the first and second substances,
each time the network is circulated, the response script is contacted with each device simulation sample only once; in each detection cycle, each simulation equipment sample only generates a feedback response once in response to the response script, and whether each line in the simulation network is communicated or not can be judged through the feedback response. Compared with the verification of the data packet, the method and the verification method for judging the network state through the verification data packet are more convenient and fast, but do not have the function of detecting network fluctuation. The data may also be double verified based on the verification packet.
A feedback module: receiving script feedback information when the response script runs in the simulation network; the feedback information includes parameters of each node and the state of its corresponding device simulation sample.
A feedback statistics module: and the script feedback information is used for judging whether simulation samples of different devices of the simulation network are communicated or not. Through script feedback information, whether two equipment simulation samples are communicated or not can be judged firstly, and then the communication condition of each node of the simulation network can be judged.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.