CN102724064A - Method for building network application simulation system - Google Patents
Method for building network application simulation system Download PDFInfo
- Publication number
- CN102724064A CN102724064A CN2012101553402A CN201210155340A CN102724064A CN 102724064 A CN102724064 A CN 102724064A CN 2012101553402 A CN2012101553402 A CN 2012101553402A CN 201210155340 A CN201210155340 A CN 201210155340A CN 102724064 A CN102724064 A CN 102724064A
- Authority
- CN
- China
- Prior art keywords
- network
- node
- network application
- popularity
- application system
- 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.)
- Granted
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 title abstract description 26
- 230000005540 biological transmission Effects 0.000 claims description 54
- 238000010276 construction Methods 0.000 claims description 26
- 230000004927 fusion Effects 0.000 claims description 13
- 238000012800 visualization Methods 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 4
- 230000006855 networking Effects 0.000 claims description 3
- 239000007787 solid Substances 0.000 abstract description 2
- 238000012544 monitoring process Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 9
- 230000008901 benefit Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000005315 distribution function Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000007630 basic procedure Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000002910 structure generation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method for building a network application simulation system. The method comprises the following steps of: determining a bottom-layer configuration parameter and an application-layer configuration parameter of a network simulation system according to the requirement of the network simulation system; generating a bottom-layer physical network of the network simulation system according to the bottom-layer configuration parameter; building a network application system of the network simulation system according to the application-layer configuration parameter; and counting and visibly displaying the performance states of the network application system and the bottom-layer physical network when the simulation operates. According to the method disclosed by the embodiment of the invention, the method for building the network application simulation system is suitable for the building and the state monitoring of simulation platforms having various types of network application, and a solid argument basic platform is provided for proposing novel network application when the existing network application is guided to optimize at the same time.
Description
Technical field
The present invention relates to computer and internet arena, particularly a kind of network application analogue system construction method.
Background technology
Along with the fast development of internet, continue to bring out out many new application models and network configuration.Meanwhile; For solving the various challenges that occur in the network application process; Not only need improve satisfying new demand existing procotol and algorithm, how doing some improvement and change in the face of present the Internet from the system layer of network application has also become one of content of research institution and numerous scholar's research.In order to realize this two targets, it is particularly crucial that the performance evaluation of network application system and emulation seem.
All there are certain defective in existing network simulation software such as NS2, SSFNet, OPNET etc., mainly show as:
(1) lacks the support that the hierarchical network topology is generated.Present network simulation software is paid attention to the support to different network protocol, has ignored the generation of bottom topology.No matter be that NS2 or Matlab all need generate network topology through third party software or user voluntarily, comprise bunch distribution character of the annexation of node, internodal transmission bandwidth and transmission delay and node etc.
(2) lack primary support to the application layer user behavior.Present network simulation software depends on underlying protocol to a great extent, lacks the support to the application layer user behavior.Especially in the social networks analytic process, need user's behavior pattern be incorporated in the middle of the process of network simulation.Therefore, built-in user behavior model seems very necessary.
(3) network simulation process and result have visualization display more, and in the large scale network simulation process, the more hardware resource of visual consumption and influence simulation efficiency.
Summary of the invention
The present invention is intended to one of solve the problems of the technologies described above at least.For this reason, it is good that one object of the present invention is to propose a kind of universality, the network application analogue system construction method that simulation efficiency is high.
Network application analogue system construction method according to the embodiment of the invention comprises the steps: that S1. confirms the bottom configuration parameter and the application layer configuration parameter of network (WSN) emulation system according to the demand of network (WSN) emulation system; S2. generate the bottom physical network of network (WSN) emulation system according to the bottom configuration parameter; S3. according to the network application system of application layer configuration parameter building network analogue system; And during the S4. simulation run, the performance state of statistics network application system and bottom physical network, and visualization display.
In one embodiment of the invention, the bottom configuration parameter comprises transmission bandwidth and transmission delay model between bottom-layer network node topology model, physical node position, physical network nodes.
In one embodiment of the invention, the application layer configuration parameter comprises: network application system type, application layer network node topological model, Internet resources popularity distribute, Internet resources are at internodal storage mode, and the mode of access resources between node.
In one embodiment of the invention, configuration parameter selects parameter to be configured through graphic user interface; Perhaps, the parameter configuration files through predetermined format is configured.
In one embodiment of the invention, bottom-layer network node topology model is: random network topology, worldlet network topology, perhaps there is not the scale network topology.
In one embodiment of the invention, the physical node position is: random distribution or heavy-tailed distribution.
In one embodiment of the invention, transmission bandwidth and transmission delay model are between physical network nodes: constant distribution, even distribution, exponential distribution, perhaps heavy-tailed distribution.
In one embodiment of the invention, the network application system type is: based on the network application system of C/S structure, based on the network application system of P2P structure, perhaps, based on the small station formula network application system of information fusion, parsing and issue structure.
In one embodiment of the invention, application layer network node topological model is: random network topology, worldlet network topology, perhaps there is not the scale network topology.
In one embodiment of the invention, the Internet resources popularity is distributed as: equal popularity distributes or power-law distribution.
In one embodiment of the invention; Internet resources at internodal storage mode are: when the network application system type for based on the network application system of C/S structure the time; The node of choosing X position before the ordering of node degree value in the network is as server, the M kind resource in the average storage networking of each server, wherein; M representes to have in the network M kind different resources, and X is a positive integer; When the network application system type was the network application system based on the P2P structure, all nodes were as server, and M kind resource is stored in M the server at random; When the network application system type is the small station formula network application system based on information fusion, parsing and issue structure; Choose the maximum node of node degree value in the network as head-end node, head-end node store M kind resource selects in the network before the ordering of node degree value the node of Y position as little tiny node; The certain percentage subclass of small station node store M kind resource; Wherein, M representes to have in the network M kind different resources, and Y is a positive integer.
In one embodiment of the invention; The mode of access resources is between node: when the network application system type is the network application system based on the C/S structure; And the Internet resources popularity is distributed as equal popularity when distributing; Then node is visited the resource of server stores nearby with equal probabilities, and between server and node transmits data packets; When the network application system type is the network application system based on the C/S structure, and the Internet resources popularity is when being distributed as power-law distribution, and then node is stored in resource and transmits data packets on the different server according to the popularity probability access; When the network application system type is the network application system based on the P2P structure, and the Internet resources popularity is when being distributed as equal popularity, and then node is with other node stored resource of equal probabilities visit, and between node transmits data packets; When the network application system type is the network application system based on the P2P structure, and the Internet resources popularity is when being distributed as power-law distribution, and then node is stored in resource and transmits data packets on the different nodes according to the popularity probability access; When the network application system type is the small station formula network application system based on information fusion, parsing and issue structure; And the Internet resources popularity is distributed as equal popularity when distributing; Then node is with the equal probabilities visit small station node stored resource under it, and at the transmitting data between nodes bag; Perhaps working as the network application system type is the small station formula network application system based on information fusion, parsing and issue structure; And when the Internet resources popularity was distributed as power-law distribution, then node was stored in resource and transmits data packets on the different little tiny nodes according to the popularity probability access.
In one embodiment of the invention, the Routing Protocol between physical network nodes is the shortest path Routing Protocol.
In one embodiment of the invention, the content of visualization display comprises average transfer delay and the load of node average treatment between link average transmission load, node.
Network application analogue system construction method according to the embodiment of the invention has following advantage:
(1) universality is strong, and analogue system construction method proposed by the invention is conceived to user, two application elements of resource and the portrayal of the relation between the two, has considered the application system framework of present internet main flow, therefore has very strong universality;
(2) level is strong, and method of the present invention has been separated physical network and application layer network in logic, at first makes up rational physical network, comprises node topology, transmission bandwidth, transmission delay etc.; The selected part node and then makes up the application layer network as user node from physical network then, according in the application layer network between the user in logic mutual visit instruct the data packet transmission in the bottom physical network, more meet the truth that the internet is used;
(3) favorable expandability, method of the present invention can expand to the application scenarios of " user-resource " in any internet, can parameter be set according to concrete application scenarios, like user's visit preference, the distribution of resource popularity etc., has extremely strong extensibility.
To sum up; The present invention has made up the whole framework and the basic procedure of network application analogue system; Emulation platform building and Stateful Inspection that can pervasive diverse network application type can be when instructing the existing network optimizing application and propose new network and use the solid basic platform of proving is provided.
Aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or recognize through practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously with easily understanding becoming the description of embodiment below in conjunction with accompanying drawing, and wherein, Fig. 1 is the flow chart according to the network application analogue system construction method of the embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of said embodiment is shown in the drawings, and wherein identical from start to finish or similar label is represented identical or similar elements or the element with identical or similar functions.Be exemplary through the embodiment that is described with reference to the drawings below, only be used to explain the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise and fall into appended spirit that adds the right claim and all changes, modification and the equivalent in the intension scope.
Network application analogue system construction method according to the embodiment of the invention is described with reference to the drawings below.
Fig. 1 is the flow chart according to the network application analogue system construction method of the embodiment of the invention.
As shown in Figure 1, the network application analogue system construction method of the embodiment of the invention comprises the steps:
S101: bottom configuration parameter and the application layer configuration parameter of confirming network (WSN) emulation system according to the demand of network (WSN) emulation system.Configuration parameter is the basis of formation of network application analogue system, and the reasonability that parameter is selected greatly affects the anti-shake feasibility of network application system.The collocation method of configuration parameter can be through graphic user interface (GUI) selects parameter to be configured, and perhaps the parameter configuration files through predetermined format is configured.
The content of configuration parameter is divided into two types of bottom configuration parameter and application layer configuration parameters.Wherein, the bottom configuration parameter comprises: transmission bandwidth and transmission delay model etc. between bottom-layer network node topology model, physical node position, physical network nodes; The application layer configuration parameter comprises: network application system type, application layer network node topological model, Internet resources popularity distribute, Internet resources are at internodal storage mode, and the mode of access resources between node.Each parameter is carried out concrete lexical or textual analysis at present.
Parameter a. bottom-layer network node topology model;
Parameter b. the physical node position;
Parameter c. transmission bandwidth and transmission delay model between physical network nodes;
Parameter d. the network application system type;
Parameter e. application layer network node topological model;
Parameter f. the Internet resources popularity distributes;
Parameter g. Internet resources are at internodal storage mode; And
The mode of parameter h. node visit resource.
Wherein, parameter a bottom-layer network node topology model can perhaps not have the scale network topology for random network topology, worldlet network topology.
Particularly, the building method of random network topology is: connect with Probability p between any two nodes in the network.The building method of worldlet network topology is: at first connect in the network all nodes and form the nearest coupled network, every in network limit is broken off with Probability p, again this edge is connected to other node again; In the process of fillet again, do not allow reconnecting and connecting certainly of limit; The nearest coupled network refers to the network that surrounds ring-type by N node, and each K/2 node that wherein each node is all adjacent with its left and right sides links to each other, and wherein K is an even number; The building method of no scale network topology is: at first generation includes m
0(m
0<n) individual node full-mesh network, node of then each increase grows m bar limit (m≤m from this node that increases newly simultaneously
0); These limits are with Probability p
iBe connected in the network on original node, wherein
k
iDegree value for original node i.
The position distribution of parameter b physical network nodes can be random distribution or heavy-tailed distribution.
Particularly, random distribution is meant in network topology plane, the position random distribution of node; Heavy-tailed distribution is meant at first network topology plane is divided into some rectangular areas, and each rectangular area comprises the plurality of nodes that meets heavy-tailed distribution number, and in each rectangular area, the position random distribution of node.
Transmission bandwidth and transmission delay model can be constant distribution, evenly distribution, exponential distribution or heavy-tailed distribution between the parameter c physical network nodes.
Particularly, the constant distribution is that the network of setting up between physical node connects its transmission bandwidth and certain constant that postpones to be setting; Evenly distribute is that network its transmission bandwidth of connection and the deferred gratification of setting up between physical node evenly distributes; The network of promptly setting up between all physical nodes connects its transmission bandwidth and satisfies the even distribution between bandwidth minimum (bwMin) and maximum value bandwidth (bwMax), and transmission delay satisfies the even distribution in transmission delay minimum value (delayMin) and transmission delay maximum (delayMax); Exponential distribution is that network its transmission bandwidth of connection and the deferred gratification parameter set up between physical node are the exponential distribution of λ; Heavy-tailed distribution is that its transmission bandwidth of network connection of setting up between physical node is F (x)=1-(1+x) with postponing to obey cumulative distribution function
-αProbability Distribution Model, be heavy-tailed distribution.
Parameter d network application system type can comprise: based on C/S (Client/Server; User/server) network application system of structure, based on P2P (Peer-to-Peer; Point-to-point interconnection) network application system of structure, or based on the small station formula network application system of information fusion, parsing and issue structure.
Particularly, based on the network application system of C/S system configuration, carry out between its user and server that information resources are shared and transmission, server provides information resources, and the user is connected with server and please files a request obtaining information resources, like the Http application etc.Network application system based on the P2P system configuration; Carry out bidirectional information resource-sharing and transmission between its network user; All users that participate in network application are the supplier of Internet resources; Also be the taker that obtains of information resources, the user connects initiation resource searching message, knows the resource position, establishes a communications link and transfer resource typical application such as P2P shared file system, the application of P2P Streaming Media etc. with resource provider through logic each other.Small station formula network application system based on information fusion, parsing and issue structure adopts the head end aggregation information, resolves and be published to local small station; The user is connected with the small station and transmission information, and for example, head end is climbed the important information resource of getting main stream website; Carry out webpage and resolve the removal redundant information; And being positioned at the small station releasing resources of heterogeneous networks position through proprietary chain road direction, storage and maintenance is carried out after receiving resource in the small station, and the network user in subrange issues updating message; The network user and small station connect and carry out resource transmission, typical application such as 4ANet system etc.
Parameter e application layer network node topological model can perhaps not have the scale network topology for random network topology, worldlet network topology.
Particularly, the building method of random network topology is: connect with Probability p between any two nodes in the network.The building method of worldlet network topology is: at first connect in the network all nodes and form the nearest coupled network, every in network limit is broken off with Probability p, again this edge is connected to other node again; In the process of fillet again, do not allow reconnecting and connecting certainly of limit; The nearest coupled network refers to the network that surrounds ring-type by N node, and each K/2 node that wherein each node is all adjacent with its left and right sides links to each other, and wherein K is an even number; The building method of no scale network topology is: at first generation includes m
0(m
0<n) individual node full-mesh network, node of then each increase grows m bar limit (m≤m from this node that increases newly simultaneously
0); These limits are with Probability p
iBe connected in the network on original node, wherein
k
iDegree value for original node i.
Parameter f Internet resources popularity distributes and can distribute or the distribution of power rate for equal popularity.
Particularly, suppose to have in the network M kind different resources, its popularity distribution mode can meet equal popularity and distribute, and promptly the popularity of every kind of resource is all identical, and promptly the probability that is accessed to of every kind of resource equates; Also can be power-law distribution, wherein the popularity of resource is r
i(i=1 ..., M), its distribution probability (or claim visited probability) satisfies power law relation p (r)=cr
-α
Parameter g Internet resources are associated with simulating scenes pattern (scene) at internodal storage mode, that is, and and according to network application system type difference and the Internet resources storage mode is different.
Particularly, when the network application system type is the network application system based on the C/S structure, choose in the network before the ordering of node degree value the node of X position as server; M kind resource in the average storage networking of each server; Wherein, M representes to have in the network M kind different resources, and X is a positive integer; When the network application system type was the network application system based on the P2P structure, all nodes were as server, and M kind resource is stored in M the server at random; When the network application system type is the small station formula network application system based on information fusion, parsing and issue structure; Choose the maximum node of node degree value in the network as head-end node, head-end node store M kind resource selects in the network former nodes of node degree value ordering as little tiny node (for example; The node of Y position is as little tiny node before the ordering; Y is a positive integer) the certain percentage subclass of small station node store M kind resource, wherein, M representes to have in the network M kind different resources.
The mode of parameter h. node visit resource is according to network application system type and popularity distribution pattern and different.
Particularly; Can roughly be divided into six kinds of situation: g1. when the network application system type for based on the network application system of C/S structure; And the Internet resources popularity is distributed as equal popularity when distributing; Then node is visited the resource of server stores nearby with equal probabilities, and between server and node transmits data packets; G2. when the network application system type be network application system based on the C/S structure, and the Internet resources popularity is when being distributed as power-law distribution, then node is stored in resource and transmits data packets on the different server according to the popularity probability access; G3. when the network application system type be network application system based on the P2P structure, and the Internet resources popularity is when being distributed as equal popularity, then node is visited other node stored resource with equal probabilities, and between node transmits data packets; G4. when the network application system type be network application system based on the P2P structure, and the Internet resources popularity is when being distributed as power-law distribution, then node is stored in resource and transmits data packets on the different nodes according to the popularity probability access; G5. working as the network application system type is the small station formula network application system based on information fusion, parsing and issue structure; And the Internet resources popularity is distributed as equal popularity when distributing; Then node is with the equal probabilities visit small station node stored resource under it, and at the transmitting data between nodes bag; Perhaps g6. when the network application system type be small station formula network application system based on information fusion, parsing and issue structure; And when the Internet resources popularity was distributed as power-law distribution, then node was stored in resource and transmits data packets on the different little tiny nodes according to the popularity probability access.
S102:, generate the bottom physical network of network (WSN) emulation system according to the bottom configuration parameter.Particularly, according to basic network parameter and topological structure generation bottom physical networks such as the node location distribution in the parameter configuration, connected mode, transmission bandwidth, transmission delays.
The bottom physical network is by node location, internodal connected mode or be called several important elements such as topological structure, internodal transmission bandwidth and transmission delay and form.The whether accurate authenticity that affects the network performance that is reflected of physical network modeling.
In one embodiment of the invention, in normalized scope, place the physical network nodes of some according to even distribution and heavy-tailed distribution.
The node topology structure generates according to the network node topological model parameter (nodeTopology) in the parameter configuration.Particularly, if select random network, then connect with Probability p between any two nodes in the network.If select the worldlet network, then at first connect in the network all nodes and form the nearest coupled network, every in network limit is broken off with Probability p, again this edge is connected to other node again.In the process of fillet again, do not allow reconnecting and connecting certainly of limit.The nearest coupled network refers to the network that surrounds ring-type by N node, and each K/2 node that wherein each node is all adjacent with its left and right sides links to each other, and wherein K is an even number.If select no scale network, then at first generation includes m
0(m
0<n) individual node full-mesh network, node of then each increase grows m bar limit (m≤m from this node that increases newly simultaneously
0).These limits are with Probability p
iBe connected in the network on original node.Wherein
k
iDegree value for original node i.
Internodal transmission bandwidth and transmission delay are according to the physical network bandwidth distribution model (bwModel) in the parameter configuration and transmission delay distributed model (delayModel) and relevant parameter generation.Particularly, if selectivity constant distributes, the network of then setting up between all physical nodes connects its transmission bandwidth and all equates with postponing.Evenly distribute if select; The network of then setting up between all physical nodes connects its transmission bandwidth and satisfies the even distribution between bandwidth minimum (bwMin) and maximum value bandwidth (bwMax), and transmission delay satisfies the even distribution in transmission delay minimum value (delayMin) and transmission delay maximum (delayMax).If selection index distributes, the network of then setting up between all physical nodes connects its transmission bandwidth and the deferred gratification parameter is the exponential distribution of λ.If select heavy-tailed distribution, it is F (x)=1-(1+x) with postponing to obey cumulative distribution function that the network of then setting up between all physical nodes connects its transmission bandwidth
-αProbability Distribution Model, promptly heavy-tailed distribution.
S103: according to the application layer configuration parameter, the network application system of building network analogue system distributes and the stored information resource between node, generates internodal logical access relation according to the network application type.Particularly, after having set up suitable bottom physical network, from existing physical node, select part of nodes as server node in the application layer network and user node.The application layer network is the virtual logical network that is erected on the bottom physical network; Its node that comprises is a necessary being in the physical network, and the logical access of using because of heterogeneous networks between the node that produces concerns the transmission of instructing True Data bag in the physical network.
At first the popularity according to the parameter configuration Internet resources distributes.Suppose in the network total M kind different resources, its popularity distribution mode is: if select equal popularity to distribute, then each resource popularity is identical, and the probability that every kind of resource is accessed to equates.If select power-law distribution, then each resource popularity distribution probability density satisfies power law relation p (r)=cr
-α
Distribute and storage resources between the node of network application system according to the various network application system then.
If select Http, the node of then choosing former of node degree value orderings in the network application system is as server, the average store M kind of each server resource.If select P2P, then all nodes are the server node of stored information resource, and M kind resource is stored in M the node at random.If select 4ANet; Then choose the maximum node of network application system moderate value as head-end node; Store M kind resource; The node that selectance value ordering is former is as little tiny node, and its storage resources is the certain percentage subclass (for example 30%) of head-end node resource, and possibly exist common factor between each small station institute canned data resource this moment.
Generate internodal logical access relation according to the network application type at last: if select Http: if each resource popularity is identical, then node is visited the resource of server stores nearby with equal probabilities, and between server and node transmits data packets; If each resource popularity is a power-law distribution, then be stored in resource and transmits data packets on the different server according to the popularity probability access.If select P2P: if each resource popularity is identical, then node is visited other node stored resource with equal probabilities, and at the transmitting data between nodes bag; If each resource popularity is a power-law distribution, then be stored in resource and transmits data packets on the different nodes according to the popularity probability access.If select 4ANet: if each resource popularity is identical, then node (user) is with the small station node stored resource of equal probabilities visit under it, and at the transmitting data between nodes bag; If each resource popularity is a power-law distribution, then be stored in resource and transmits data packets on the different small stations according to the popularity probability access.
When the bottom physical network carried out the transmission of True Data bag, its routing policy can adopt Dijkstra (shortest path route) to wait some common Routing Protocols.
S104: add up the performance state of said network application system and said bottom physical network, and visualization display.
Concrete, according to the transfer of data situation of each link of bottom physical network, can write down and show (on average) traffic load when the transmission data of each bar link; Statistics wraps in the residence time in the multilink, can write down and show internodal (on average) transmission delay; The node (server node) of adding up each storage resources can be write down and show its (on average) processing load by the data packet number that sends in other node visit processes.
Pervasive network application analogue system construction method according to the embodiment of the invention has following beneficial effect at least:
(1) universality is strong, and analogue system construction method proposed by the invention is conceived to user, two application elements of resource and the portrayal of the relation between the two, has considered the application system framework of present internet main flow, therefore has very strong universality;
(2) level is strong, and method of the present invention has been separated physical network and application layer network in logic, at first makes up rational physical network, comprises node topology, transmission bandwidth, transmission delay etc.; The selected part node and then makes up the application layer network as user node from physical network then, according in the application layer network between the user in logic mutual visit instruct the data packet transmission in the bottom physical network, more meet the truth that the internet is used;
(3) favorable expandability, method of the present invention can expand to the application scenarios of " user-resource " in any internet, can parameter be set according to concrete application scenarios, like user's visit preference, the distribution of resource popularity etc., has extremely strong extensibility.
Should be understood that method of the present invention is not only applicable to mentioned typical application Http, P2P and 4ANet, also can be used for other internet application systems.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means the concrete characteristic, structure, material or the characteristics that combine this embodiment or example to describe and is contained at least one embodiment of the present invention or the example.In this manual, the schematic statement to above-mentioned term not necessarily refers to identical embodiment or example.And concrete characteristic, structure, material or the characteristics of description can combine with suitable manner in any one or more embodiment or example.
Although illustrated and described embodiments of the invention; For those of ordinary skill in the art; Be appreciated that under the situation that does not break away from principle of the present invention and spirit and can carry out multiple variation, modification, replacement and modification that scope of the present invention is accompanying claims and be equal to and limit to these embodiment.
Claims (14)
1. the construction method of a network application analogue system is characterized in that, comprises the steps:
S1. confirm the bottom configuration parameter and the application layer configuration parameter of said network (WSN) emulation system according to the demand of said network (WSN) emulation system;
S2. generate the bottom physical network of said network (WSN) emulation system according to said bottom configuration parameter;
S3. make up the network application system of said network (WSN) emulation system according to said application layer configuration parameter; And
S4. during simulation run, the performance state of adding up said network application system and said bottom physical network, and visualization display.
2. the construction method of network application analogue system according to claim 1 is characterized in that, said bottom configuration parameter comprises: transmission bandwidth and transmission delay model between bottom-layer network node topology model, physical node position, physical network nodes.
3. the construction method of network application analogue system according to claim 2; It is characterized in that; Said application layer configuration parameter comprises: network application system type, application layer network node topological model, Internet resources popularity distribute, Internet resources are at internodal storage mode, and the mode of access resources between node.
4. the construction method of network application analogue system according to claim 3 is characterized in that, said configuration parameter selects parameter to be configured through graphic user interface; Perhaps, the parameter configuration files through predetermined format is configured.
5. the construction method of network application analogue system according to claim 4 is characterized in that, said bottom-layer network node topology model is: random network topology, worldlet network topology, perhaps there is not the scale network topology.
6. the construction method of network application analogue system according to claim 5 is characterized in that, said physical node position is: random distribution or heavy-tailed distribution.
7. the construction method of network application analogue system according to claim 6 is characterized in that, transmission bandwidth and transmission delay model are between said physical network nodes: constant distribution, even distribution, exponential distribution, perhaps heavy-tailed distribution.
8. the construction method of network application analogue system according to claim 7; It is characterized in that; Said network application system type is: based on the network application system of C/S structure, based on the network application system of P2P structure; Perhaps, based on the small station formula network application system of information fusion, parsing and issue structure.
9. the construction method of network application analogue system according to claim 8 is characterized in that, said application layer network node topological model is: random network topology, worldlet network topology, perhaps there is not the scale network topology.
10. the construction method of network application analogue system according to claim 9 is characterized in that, said Internet resources popularity is distributed as: equal popularity distributes or power-law distribution.
11. the construction method of network application analogue system according to claim 10 is characterized in that, said Internet resources at internodal storage mode are:
When said network application system type is said network application system based on the C/S structure; The node of choosing the preceding X position of node degree value ordering in the network is as server; M kind resource in the average storage networking of each said server; Wherein, M representes to have in the network M kind different resources, and X is a positive integer;
When said network application system type was said network application system based on the P2P structure, all nodes were as said server, and said M kind resource is stored in M the said server at random;
When said network application system type is said small station formula network application system based on information fusion, parsing and issue structure; The node of choosing node degree value maximum in the network is as head-end node, and said head-end node is stored said M kind resource, and the node of selecting the preceding Y position of node degree value ordering in the network is as little tiny node; Said small station node is stored the certain percentage subclass of said M kind resource; Wherein, M representes to have in the network M kind different resources, and Y is a positive integer.
12. the construction method of network application analogue system according to claim 11 is characterized in that, the mode of access resources is between said node:
When said network application system type is said network application system based on the C/S structure; And said Internet resources popularity is distributed as said equal popularity when distributing; Then said node is with the equal probabilities visit resource of said server stores nearby, and between said server and said node transmits data packets;
When said network application system type is said network application system based on the C/S structure; And when said Internet resources popularity was distributed as said power-law distribution, then said node was stored in resource and transmits data packets on the different said servers according to the popularity probability access;
When said network application system type is said network application system based on the P2P structure; And when said Internet resources popularity is distributed as said equal popularity; Then said node is with other said node stored resource of equal probabilities visit, and between said node transmits data packets;
When said network application system type is said network application system based on the P2P structure; And when said Internet resources popularity was distributed as said power-law distribution, then said node was stored in resource and transmits data packets on the different said nodes according to the popularity probability access;
When said network application system type is said small station formula network application system based on information fusion, parsing and issue structure; And said Internet resources popularity is distributed as said equal popularity when distributing; Then said node is with the equal probabilities visit said small station node stored resource under it, and at said transmitting data between nodes bag; Perhaps
When said network application system type is said small station formula network application system based on information fusion, parsing and issue structure; And when said Internet resources popularity was distributed as said power-law distribution, then said node was stored in resource and transmits data packets on the different said little tiny nodes according to the popularity probability access.
13. the construction method of network application analogue system according to claim 12 is characterized in that, the Routing Protocol between physical network nodes is the shortest path Routing Protocol.
14. the construction method of network application analogue system according to claim 13 is characterized in that, the content of said visualization display comprises average transfer delay and the load of node average treatment between link average transmission load, node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210155340.2A CN102724064B (en) | 2012-05-17 | 2012-05-17 | Method for building network application simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210155340.2A CN102724064B (en) | 2012-05-17 | 2012-05-17 | Method for building network application simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102724064A true CN102724064A (en) | 2012-10-10 |
CN102724064B CN102724064B (en) | 2014-12-24 |
Family
ID=46949733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210155340.2A Expired - Fee Related CN102724064B (en) | 2012-05-17 | 2012-05-17 | Method for building network application simulation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102724064B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020197A (en) * | 2012-12-04 | 2013-04-03 | 无锡职业技术学院 | Grid simulation platform and grid simulation method |
CN104660463A (en) * | 2015-01-22 | 2015-05-27 | 贵州电网公司信息通信分公司 | Network analog simulation system for large-scale integrated data network based on NS-3 |
CN104883224A (en) * | 2014-02-27 | 2015-09-02 | 北京邮电大学 | Method of constructing data center switching network and node apparatus |
CN104954166A (en) * | 2015-04-27 | 2015-09-30 | 北京交通大学 | Hardware based network simulation system and method |
CN108337112A (en) * | 2018-01-08 | 2018-07-27 | 北京航空航天大学 | A kind of network dynamic business modeling method based on information flow model |
CN114006958A (en) * | 2020-11-30 | 2022-02-01 | 北京八分量信息科技有限公司 | Method for layering application based on small world network |
CN115473828A (en) * | 2022-08-18 | 2022-12-13 | 阿里巴巴(中国)有限公司 | Fault detection method and system based on simulation network |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841839A (en) * | 2010-01-22 | 2010-09-22 | 华中科技大学 | Wireless sensor network (WSN) emulation system |
US20110188378A1 (en) * | 2007-03-12 | 2011-08-04 | Sandra Collins | Arrangement and Method Relating to Network Management |
CN102185916A (en) * | 2011-04-27 | 2011-09-14 | 西安电子科技大学 | Method for establishing sensor network with small world and scale-free properties |
CN102457425A (en) * | 2010-10-25 | 2012-05-16 | 北京系统工程研究所 | Large-scale virtual network topology generation method |
-
2012
- 2012-05-17 CN CN201210155340.2A patent/CN102724064B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110188378A1 (en) * | 2007-03-12 | 2011-08-04 | Sandra Collins | Arrangement and Method Relating to Network Management |
CN101841839A (en) * | 2010-01-22 | 2010-09-22 | 华中科技大学 | Wireless sensor network (WSN) emulation system |
CN102457425A (en) * | 2010-10-25 | 2012-05-16 | 北京系统工程研究所 | Large-scale virtual network topology generation method |
CN102185916A (en) * | 2011-04-27 | 2011-09-14 | 西安电子科技大学 | Method for establishing sensor network with small world and scale-free properties |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020197B (en) * | 2012-12-04 | 2015-07-08 | 无锡职业技术学院 | Grid simulation platform and grid simulation method |
CN103020197A (en) * | 2012-12-04 | 2013-04-03 | 无锡职业技术学院 | Grid simulation platform and grid simulation method |
CN104883224B (en) * | 2014-02-27 | 2017-05-10 | 北京邮电大学 | Method of constructing data center switching network and node apparatus |
CN104883224A (en) * | 2014-02-27 | 2015-09-02 | 北京邮电大学 | Method of constructing data center switching network and node apparatus |
CN104660463B (en) * | 2015-01-22 | 2016-04-13 | 贵州电网公司信息通信分公司 | A kind of large-scale synthesis data network network analog analogue system based on NS-3 |
CN104660463A (en) * | 2015-01-22 | 2015-05-27 | 贵州电网公司信息通信分公司 | Network analog simulation system for large-scale integrated data network based on NS-3 |
CN104954166A (en) * | 2015-04-27 | 2015-09-30 | 北京交通大学 | Hardware based network simulation system and method |
CN104954166B (en) * | 2015-04-27 | 2019-03-12 | 北京交通大学 | A kind of hardware based network (WSN) emulation system and emulation mode |
CN108337112A (en) * | 2018-01-08 | 2018-07-27 | 北京航空航天大学 | A kind of network dynamic business modeling method based on information flow model |
CN108337112B (en) * | 2018-01-08 | 2020-07-07 | 北京航空航天大学 | Network dynamic service modeling method based on information flow model |
CN114006958A (en) * | 2020-11-30 | 2022-02-01 | 北京八分量信息科技有限公司 | Method for layering application based on small world network |
CN114006958B (en) * | 2020-11-30 | 2024-01-30 | 北京八分量信息科技有限公司 | Layered application method based on small world network |
CN115473828A (en) * | 2022-08-18 | 2022-12-13 | 阿里巴巴(中国)有限公司 | Fault detection method and system based on simulation network |
CN115473828B (en) * | 2022-08-18 | 2024-01-05 | 阿里巴巴(中国)有限公司 | Fault detection method and system based on simulation network |
Also Published As
Publication number | Publication date |
---|---|
CN102724064B (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102724064B (en) | Method for building network application simulation system | |
CN106375214B (en) | A kind of Tiered routing determining method of path and device based on SDN | |
Baumgart et al. | OverSim: A flexible overlay network simulation framework | |
Qureshi et al. | A distributed software defined networking model to improve the scalability and quality of services for flexible green energy internet for smart grid systems | |
US10374956B1 (en) | Managing a hierarchical network | |
US9647949B2 (en) | Systems and methods for network transmission of big data | |
Curtis et al. | Rewire: An optimization-based framework for unstructured data center network design | |
CN104333511B (en) | Determine the method, apparatus and system of service transmission path | |
CN104969518B (en) | Method for routing data and device | |
CN111654438B (en) | Method, controller and system for establishing forwarding path in network | |
TW201145040A (en) | System and method for providing quality of service in wide area messaging fabric | |
CN101895482A (en) | Method and device for abstracting logic topology information of peer-to-peer technological network | |
CN101572674A (en) | Routing computation method and device thereof | |
CN102571856A (en) | Method, device and system for selecting transition node | |
CN103001892B (en) | Based on network resource allocation method and the system of cloud computing | |
CN103220228A (en) | Method and equipment for sending border gateway protocol (BGP) routes | |
CN106572016B (en) | Path calculation method and device | |
Meirom et al. | Formation games of reliable networks | |
Aktas et al. | Scheduling and flexible control of bandwidth and in-transit services for end-to-end application workflows | |
Sayit et al. | DASH-QoS: A scalable network layer service differentiation architecture for DASH over SDN | |
Lin et al. | Scheduling algorithms for time-constrained big-file transfers in the Internet of Vehicles | |
CN106789179A (en) | A kind of resource allocation methods based on SDN frameworks | |
JP2014230114A (en) | Communication system | |
CN116455817A (en) | Software-defined cloud network fusion architecture and route implementation method | |
Zhong et al. | Topological model and analysis of the P2P BitTorrent protocol |
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: 20141224 |
|
CF01 | Termination of patent right due to non-payment of annual fee |