CN107172651A - A kind of test platform and method of testing for Mobile Internet Protocol - Google Patents
A kind of test platform and method of testing for Mobile Internet Protocol Download PDFInfo
- Publication number
- CN107172651A CN107172651A CN201710370293.6A CN201710370293A CN107172651A CN 107172651 A CN107172651 A CN 107172651A CN 201710370293 A CN201710370293 A CN 201710370293A CN 107172651 A CN107172651 A CN 107172651A
- Authority
- CN
- China
- Prior art keywords
- node
- layer
- internet protocol
- mobile internet
- network topology
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of test platform and method of testing for Mobile Internet Protocol, and test platform includes network topology layer, bridge layer, dummy node layer and real node layer.The present invention constructs a virtual network test platform, by in real node the operating system source code of normal operation copy in virtual system node, the running situation of the operating system under the Mobile Internet Protocol of setting is tested in virtual network node, when normal operation, show that the Mobile Internet Protocol is normal, may be directly applied in actual smart machine.True environment is combined with virtual environment, without being tested directly in real network environment, it is easy to the theoretical personnel's design of procotol, tests real Mobile Internet Protocol, efficiently and conveniently new procotol can be applied in actual mobile Internet.
Description
Technical field
The present invention relates to mobile internet technical field, more particularly, to a kind of survey for Mobile Internet Protocol
Try platform and method of testing.
Background technology
With the fast development of semiconductor technology, computer technology and the communication technology, corresponding network environment is also in hair
Great change is given birth to, by conventional internet to mobile Internet, then the Internet of Things interconnected by mobile Internet to all things on earth.Network terminal section
Point is by PC to smart mobile phone, then to various intelligent movable equipment, and that thus triggers is substantial amounts of of all kinds with innovative net
Network application strong influence the life style of people.
New technology, new demand are still constantly being emerged in large numbers, and also faced for this procotol for providing infrastructure service
Various challenges, existing procotol needs to improve or new procotol has to be introduced.(1) smart mobile phone has a variety of networking sides
Formula, such as WiFi, 3G, 4G, 5G or bluetooth etc., and current procotol can not utilize smart mobile phone or intelligent movable well
Multiple network interface in equipment.(2) in some special environment, such as, and in the environment such as violent earthquake, war or outlying district,
In the case of no movable signal, smart mobile phone, intelligent movable equipment need composition mobile ad-hoc network MANET to carry out intercommunication
Information, this is accomplished by smart mobile phone, intelligent movable equipment and possesses the procotol for supporting MANET.
For improved existing procotol, or design new procotol applied in actual environment before, all need
Carry out network protocol testing.At present, conventional network simulator/emulator have NS2, NS3, REAL, J-Sim, Glomosim,
SSFNet, CORE, IMUNES, OPNET, QualNet, NetSim, OMNeT++ etc., the referred herein to environment are virtual network environment.
The network environment constituted using physical device carries out various tests, and the referred herein to environment is real network environment.
At present, during testing Mobile Internet Protocol, substantially directly in real network environment
Middle test, and real network environment can be limited by physical condition, when proper operation is abnormal, modification source code can be very
Trouble.
The content of the invention
The present invention provide it is a kind of overcome above mentioned problem or solve the above problems at least in part be used for mobile Internet
The test platform and method of testing of agreement.
Opened up according to an aspect of the present invention there is provided a kind of test platform for Mobile Internet Protocol, including network
Flutter layer, bridge layer, dummy node layer and real node layer;
The network topology layer, has for generating in the network topology structure needed for testing, the network topology structure
Multiple topological nodes;
The bridge layer, for the system node in the topological node in network topology layer and dummy node layer to be bridged
Come;
The real node layer, including at least one real node, for running operating system source code, work as normal operation
Afterwards, operating system source code is copied in the system node of dummy node layer;
The dummy node layer, with multiple system nodes, for installing virtual machine in each system node, passes through
Virtual machine runs operating system source code under the Mobile Internet Protocol of setting, to realize the test of Mobile Internet Protocol.
Beneficial effects of the present invention are:By building virtual network test platform, by the normal operation in real node
Operating system source code is copied in virtual system node, and the Mobile Internet Protocol in setting is tested in virtual network node
The running situation of the lower operating system, when normal operation, shows that the Mobile Internet Protocol is normal, may be directly applied to reality
Smart machine in.True environment is combined with virtual environment, without being tested directly in real network environment, is easy to
Procotol theory personnel design, test real Mobile Internet Protocol, efficiently and conveniently can answer new procotol
For in actual mobile Internet, with good popularizing application prospect.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the network topology layer specifically for:
According to the Mobile Internet Protocol of setting, the test Mobile Internet Protocol is generated originally by writing artificial foot
Network topology structure, for the network traffics in carrying dummy node layer between system node.
Further, the bridge layer specifically for:
Using Linux bridging technologys by the topological node in network topology layer and dummy node layer in system node one by one
Correspondence bridge joint so that system node is connected in virtual test network.
Further, the virtual machine includes VirtualBox virtual machines and Docker virtual machines, the VirtualBox
Virtual machine runs Android operation system, Docker virtual machines operation (SuSE) Linux OS.
Further, dummy node layer specifically for:
The need for according to specific network topology, dummy node layer in distribution install VirtualBox virtual machines quantity and
The quantity of Docker virtual machines, wherein, the partial function realized in VirtualBox virtual machines is transplanted to Docker virtual machines
It is middle to realize.
Further, the Mobile Internet Protocol includes multi-path transmission control protocol MPTCP and mobile ad hoc network
Network agreement.
According to another aspect of the present invention, a kind of method of testing for Mobile Internet Protocol is additionally provided, including:
Have in S1, the network topology structure needed for network topology layer building is tested, the network topology structure multiple
Topological node;
S2, constructs multiple system nodes in dummy node layer, and uses bridging technology by network topology in bridge layer
Topological node in layer is bridged with the system node in dummy node layer;
S3, virtual machine is installed in dummy node layer in each system node;
S4, runs operating system source code, after normal operation, by operating system source in the real node of real node layer
Code is copied in the system node of dummy node layer, is transported by the virtual machine of system node under the Mobile Internet Protocol of setting
Row operating system source code, to realize the test of Mobile Internet Protocol.
Further, in the step S2 in bridge layer using bridging technology by the topological node in network topology layer with
System node in dummy node layer, which is bridged, to be specifically included:
Using Linux bridging technologys by the topological node in network topology layer and dummy node layer in system node one by one
Correspondence bridge joint so that system node is connected in virtual test network.
Further, the virtual machine includes VirtualBox virtual machines and Docker virtual machines, the VirtualBox
Virtual machine runs Android operation system, Docker virtual machines operation (SuSE) Linux OS.
Further, virtual machine is installed in each system node in dummy node layer in the step S3 specifically to wrap
Include:
The need for according to specific network topology, dummy node layer in distribution install VirtualBox virtual machines quantity and
The quantity of Docker virtual machines, wherein, the partial function realized in VirtualBox virtual machines is transplanted to Docker virtual machines
It is middle to realize.
Brief description of the drawings
Fig. 1 is the test platform frame diagram for Mobile Internet Protocol of one embodiment of the invention;
Fig. 2 is the method for testing flow chart for Mobile Internet Protocol of another embodiment of the present invention;
Fig. 3 is the whole method of testing flow chart for Mobile Internet Protocol of another embodiment of the invention.
Embodiment
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
The test platform for Mobile Internet Protocol of one embodiment of the invention is provided referring to Fig. 1, Fig. 1, mainly
Including network topology layer, bridge layer, dummy node layer and real node layer;
The network topology layer, has for generating in the network topology structure needed for testing, the network topology structure
Multiple topological nodes.The bridge layer, for by the topological node in network topology layer and dummy node layer in system node
It is bridged.The real node layer, including at least one real node, for running operating system source code, work as normal operation
Afterwards, operating system source code is copied in the system node of dummy node layer.The dummy node layer, with multiple system sections
Point, for installing virtual machine in each system node, behaviour is run by virtual machine under the Mobile Internet Protocol of setting
Make system source code, to realize the test of Mobile Internet Protocol.
The present embodiment builds virtual network environment first, and the major advantage of virtual network environment is that it is used substantially not by thing
The limitation of manage bar part, general PC can run such network environment, be taken as needed in virtual network environment
Various complicated network topology structures are built, the theoretical research in terms of procotol can be easily carried out.
Referring to Fig. 1, L1 therein represents network topology layer, the network topology of test required for being generated in network topology layer
Structure, wherein, the network topology structure of generation has multiple topological nodes.In the present embodiment, opening up in network topology structure
It is analog simulation NS3 nodes to flutter node.L3 in Fig. 1 refers in the dummy node layer built, dummy node layer with multiple
System node.System node in topological node in network topology layer and dummy node layer is bridged by bridge layer
So that the system node in dummy node layer is connected in virtual test network.
Real node layer therein has at least one real node, and real node typically refers to smart machine, such as, warp
Smart mobile phone described in often., it is necessary to ensure operation before moving the test of Internet protocol in virtual network environment
Operating system source code is normal.Therefore, in real node, operating system source code is run, after normal operation, is by operation
System source code is copied in the system node of dummy node layer.Virtual machine is installed in each system node of dummy node layer,
The operating system source code of normal operation can be run on a virtual machine, by the virtual machine of system node setting shifting
Operating system source code is run under dynamic Internet protocol, test of the Mobile Internet Protocol under virtual network environment is realized.Work as shifting
After dynamic Internet protocol is used normally under virtual network environment, the Mobile Internet Protocol also can on actual smart machine
Normal operation, can be by Mobile Internet Protocol Code copying into real node.
The present embodiment is by building virtual network test platform, by the operating system source code of the normal operation in real node
Copy in virtual system node, the operating system under the Mobile Internet Protocol of setting is tested in virtual network node
Running situation, when normal operation, show that the Mobile Internet Protocol is normal, may be directly applied to actual smart machine
In.True environment is combined with virtual environment, without being tested directly in real network environment, is easy to procotol to manage
Designed by personnel, test real Mobile Internet Protocol, new procotol efficiently and conveniently can be applied to reality
In mobile Internet, with good popularizing application prospect.
In one embodiment of the invention, the network topology layer specifically for:Assisted according to the mobile Internet of setting
View, is generated by writing artificial foot and tests the network topology structure of the Mobile Internet Protocol, for carrying virtual section originally
Network traffics in point layer between system node.
Specifically, the Mobile Internet Protocol that the present embodiment can be tested as needed, builds phase in network topology layer
Corresponding network topology structure.When specifically building network topology structure, C Plus Plus can be used to write generation mobile network
The NS3 scripts of topological structure so that network topology layer can carry the network traffics between each system node in dummy node layer.
In another embodiment of the present invention, the bridge layer specifically for:Network is opened up using Linux bridging technologys
Flutter the topological node in layer and correspond bridge joint with the system node in dummy node layer.
Constructing respectively in the above-described embodiments in network topology layer and dummy node layer, network topology layer has multiple topologys
There are multiple system nodes in node, dummy node layer, wherein, the number of topological node is equal with the number of system node.Topology
Node is bridged with system node by bridge layer.Specifically, bridge layer uses Linux bridging technologys by network topology
Topological node is corresponded with the system node in dummy node layer and is bridged in layer, is realized the system in dummy node layer
Node is connected in virtual test network.
In one embodiment of the invention, the virtual machine includes VirtualBox virtual machines and Docker virtual machines,
The VirtualBox virtual machines run Android operation system, Docker virtual machines operation (SuSE) Linux OS.
Specifically, each system node in dummy node layer is based on X86 platforms, in each system node
Virtual machine is installed.In the present embodiment, the main Types of virtual machine have two kinds:VirtualBox virtual machines and Docker are virtual
Machine.Wherein, Andriod operating systems are run on VirtualBox virtual machines, Linux systems are run on Docker virtual machines
System.In real process, at present, what is generally run on real smart machine is Andriod operating systems, and Andriod is grasped
Increased income as system.It is that the Andriod on smart machine is operated into system in the test process of Internet protocol is moved
The source code of system is transplanted in VirtualBox virtual machines.Therefore, it is virtual in VirtualBox in actual test process
Testing results in the (SuSE) Linux OS of machine.
But it is due to that system resource shared by VirtualBox virtual machines is more, the test platform operated on a server
The quantity for the VirtualBox virtual machines that can be opened simultaneously be it is limited, therefore, according to specific network topology the need for, be
A number of VirtualBox virtual machines and a number of Docker virtual machines are installed in distribution in node layer of uniting, can be by
The partial function realized in VirtualBox virtual machines is transplanted in Docker virtual machines and realized.Transported using in Docker virtual machines
Capable linux system realizes the partial test function of VirtualBox virtual machines, is assisted using Docker virtual machines
VirtualBox virtual machines realize the network test task of complexity jointly, mitigate the test pressure of server.Mobile Internet is assisted
The design of view, test and realize work be dummy node layer carry out.
Wherein, the above-mentioned described Mobile Internet Protocol includes multi-path transmission control protocol MPTCP and movement certainly
Adhoc network protocol.
Referring to Fig. 2, Fig. 2 provides the method for testing for Mobile Internet Protocol of another embodiment of the present invention, bag
Include:
Have in S1, the network topology structure needed for network topology layer building is tested, the network topology structure multiple
Topological node;
S2, constructs multiple system nodes in dummy node layer, and uses bridging technology by network topology in bridge layer
Topological node in layer is bridged with the system node in dummy node layer;
S3, virtual machine is installed in dummy node layer in each system node;
S4, runs operating system source code, after normal operation, by operating system source in the real node of real node layer
Code is copied in the system node of dummy node layer, is transported by the virtual machine of system node under the Mobile Internet Protocol of setting
Row operating system source code, to realize the test of Mobile Internet Protocol.
Wherein, the virtual machine includes VirtualBox virtual machines and Docker virtual machines, and the VirtualBox is virtual
Machine runs Android operation system, Docker virtual machines operation (SuSE) Linux OS.
Virtual machine is installed in each system node in dummy node layer in the step S3 to specifically include:According to specific
The need for network topology, distribution installs a number of VirtualBox virtual machines and a number of in system node layer
Docker virtual machines, wherein, the partial function realized in VirtualBox virtual machines can be transplanted in Docker virtual machines real
It is existing.
The test platform for Mobile Internet Protocol that is built in above-mentioned steps S1, S2 and S3 is reference can be made to foregoing implementation
The test platform of structure is taught in example, foregoing embodiment in detail.The present embodiment, which is mainly told about, uses structure in step S4
The test platform built moves the test process of Internet protocol.
The test process that Internet protocol is moved using the test platform built is illustrated below, main mistake
Journey can be found in Fig. 3, in true environment, Android-arm source codes is compiled, brush machine enters smart machine, such as, intelligence
Mobile phone, runs the Android-arm source codes on smart mobile phone, if operation failure, solves operation problem, compile again
Translate, until Android-arm source codes are run successfully on smart mobile phone.When Android-arm source codes are on smart mobile phone
After running successfully, successful Android-arm source codes will be run and copied on the system node of test platform, and in system section
Compile and change in point, form Android-x86.iso files.VirtualBox virtual machines are installed in system node, in net
Andriod systems are run under network protocol environment, if normal operation, then it represents that procotol is normal, now by network protocol code
Copy in the Android-arm source codes used in smart machine.It is mobile mutual in the virtual network environment that test platform is built
After networking protocol is run successfully, then the mobile Internet can also run success on smart machine.The present invention is by true environment
It is combined with virtual environment, the common test for completing Mobile Internet Protocol so that network engineeringtechnique personnel can efficiently, just
New procotol is applied in actual mobile Internet by prompt ground.
Testing process is illustrated by taking multi-path transmission control protocol MPTCP as an example below, is mainly included the following steps that:
The selection of step 1, operation system of smart phone, selects Huawei honor 5x, operating system selection herein
lineage-14.1-kiwi;
Step 2, the Android to X86 platform transplantation ARM platforms;
The realization of step 3, Internet protocol in linux kernel;
The test of step 4, procotol;
Step 5, new procotol are applied to smart mobile phone.
When to realize a kind of new Mobile Internet Protocol, first by the Android-arm sources run on smart mobile phone
Code migrating is into the Android-x86 of test platform.Then in Android-x86 change or add code, to modification or
Code after person's addition carries out functional test in the virtual network environment of test platform.After all going well, by all modifications mistake
Source file copy in Android-arm source code trees, compile Android-arm, finally ROM is brushed into smart mobile phone.
Wherein, also include in step 1:The operating system of selected smart mobile phone is compiled, brush machine, test, verify this
Cover the availability of Android source codes.Specific steps 1 comprise the following steps:
Step 101, a whole set of source code for downloading selected operation system of smart phone (lineage-14.1-kiwi);
Step 102, compile source code on server (IBM Server), generate ROM;
Step 103, the method brushed using line brush or card are brushed the ROM of upper step into smart mobile phone (Huawei honor 5x);
Whether step 104, test smart mobile phone can normally use, if can not normally use, solve Android source generations
Logical problem in code, then 102~step 104 of repeat step, until smart mobile phone can be normally untill use;
Whether step 105, test smart mobile phone can normally use, if all gone well, flow terminates.
Wherein, to Android of the X86 platform transplantations based on ARM platforms the step of, specifically includes:
It is step 201, the correct a whole set of Android source codes (root is Android-arm) obtained in step 1 is multiple
System is a, and the top-level director of this part of source code is named as Android-x86, and following step is in directory A ndroid-x86
Carry out;
Step 202, the driving layer in android system framework, add-on system, which starts, to be supported, i.e.,:UEFI/Legacy
BIOS is supported;
Step 203, the driving layer in android system framework, the part driving of modification linux kernel, such as MESA
The related storehouse of OpenGL shape libraries, keyboard/mouse;
Step 204, modification build systems, it is therefore an objective to generation ISO can be compiled image file is installed;
Step 205, compile on the server in source code, compilation process if grammar issue, repeat step 202~step
Rapid 205, if without grammar issue, ISO files can be generated, perform step 206;
If problematic in step 206, the installation ISO files in VirtualBox, installation process, repeat step 202~
Step 206, if had no problem, success can be installed, step 207 is performed;
If problematic in the Android-x86 installed in being walked in step 207, startup, start-up course, repeat step 202
~step 207, if had no problem, can be successfully entered Android GUI, perform step 208;
Step 208, so far, has successfully been transplanted to X86 platforms by the Android of ARM platforms, and can be
Normally used in VirtualBox.
Realized in the linux kernel of system node of the Internet protocol (MPTCP) in dummy node layer, specifically, institute
Step 3 is stated to comprise the following steps:
Step 301, new network protocol code (MPTCP) copied into linux kernel;
Step 302, compile on the server in source code, compilation process if grammar issue, repeat step 301, such as
Fruit can generate ISO files without grammar issue, perform step 303;
Step 303, the installation ISO files in VirtualBox;
Step 304, in emulation platform test whether new protocol function is normal, if abnormal, modification may cause
Abnormal kernel code, then 302~step 304 of repeat step;
Step 305, in high-fidelity experiment porch test (seeing below step 4) it is new procotol function it is whether normal,
If normal, new network protocol code is successfully realized in kernel.
Test process of the procotol on test platform, i.e. above-mentioned step 4 comprises the following steps:
Step 401, according to specific network topology demand, x are installed in dummy node layer based on VirtualBox's
Android-x86 systems, by script auto-initiation, start Android-x86 systems;Step 402, according to specific network
Topological demand, installs the y linux systems based on Docker in dummy node layer, by script auto-initiation, starts
(SuSE) Linux OS;
Step 403, the corresponding NS3 scripts core code of network topology is write using C++;
Step 404, the whole test platform for Mobile Internet Protocol of startup, work(is carried out to the procotol newly added
Can test.
Further, new procotol is directly applied into smart mobile phone, specifically, the step 5 is including following
Step:
Step 501, all source files related to new procotol changed in Android-x86 catalogues are copied to
Corresponding position in Android-arm catalogues;
Step 502, on the server compiling source code (Android-arm catalogues), generate ROM;
Step 503, the method brushed using line brush or card are brushed the ROM that step 502 is generated into smart mobile phone;
If step 504, new procotol function can not be used normally, the logical problem in Android source codes is solved,
Then 502~step 504 of repeat step, until smart mobile phone can be normally untill use.
Whether step 505, the new procotol function of test are normal, if normally, flow terminates.
A kind of test platform and method of testing for Mobile Internet Protocol that the present invention is provided, by building to movement
The platform of Internet protocol test, can by the experimental code of Internet protocol almost can be without modification be applied to it is actual
In mobile Internet, largely improve new procotol or improved existing procotol is applied to actual move
Speed in dynamic internet, comprehensive, the present invention has following advantage:
(1) method by running actual operation system of smart phone in virtual network node, realizes that procotol is managed
By achievement in research with implement the consistent of height, or overcoming conventional network experimental platform lays particular stress on theoretical experiment, or partially
Stress practicability test, it is impossible to shortcoming of both taking into account theory and practice, largely improves new procotol or process
Improved existing procotol is applied to the speed in real network environment, shortens new procotol applied to real network
Cycle in environment.
(2) test platform that builds of the present invention by using Linux bridging technologys by the topological node in network topology layer
System node (VirtualBox, Docker) in (NS3 nodes) and dummy node layer dock, overcome simulated in the past/
Simple, the single shortcoming of network node functions in artificial network experiment porch.
(3) test platform takes the linux system run in Docker virtual machines to realize VirtualBox virtual machines
Partial test function, assists VirtualBox virtual machines to realize mobile network's test assignment of complexity jointly using Docker,
The design and realization of Mobile Internet Protocol are operated in VirtualBox, Docker and carried out, due to VirtualBox, Docker
Middle operation is all actual operating system, therefore, and what the experimental code of Internet protocol almost can be without modification is applied to
In actual network environment, the hi-fi of experimental code is realized.
(4) test platform by provide by C++ write be used for generate mobile network's topological structure NS3 scripts and
The system node that VirtualBox and Docker are realized jointly, overcomes mobile network in conventional simulation/artificial network experiment porch
Network topology is only capable of the shortcoming for the purpose of functional simulation, it is possible to achieve the authenticity of complicated movement network topology.
Finally, the present processes are only preferably embodiment, are not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. a kind of test platform for Mobile Internet Protocol, it is characterised in that including network topology layer, bridge layer, virtual
Node layer and real node layer;
The network topology layer, for generating in the network topology structure needed for testing, the network topology structure with multiple
Topological node;
The bridge layer, for the topological node in network topology layer to be bridged with the system node in dummy node layer;
The real node layer, including at least one real node,, will after normal operation for running operating system source code
Operating system source code is copied in the system node of dummy node layer;
The dummy node layer, with multiple system nodes, for installing virtual machine in each system node, by virtual
Machine runs operating system source code under the Mobile Internet Protocol of setting, to realize the test of Mobile Internet Protocol.
2. it is used for the test platform of Mobile Internet Protocol as claimed in claim 1, it is characterised in that the network topology layer
Specifically for:
According to the Mobile Internet Protocol of setting, generated originally by writing artificial foot and test the net of the Mobile Internet Protocol
Network topological structure, for the network traffics between system node in carrying dummy node layer.
3. it is used for the test platform of Mobile Internet Protocol as claimed in claim 2, it is characterised in that the bridge layer is specific
For:
The system node in the topological node in network topology layer and dummy node layer is corresponded using Linux bridging technologys
Bridge joint so that system node is connected in virtual test network.
4. it is used for the test platform of Mobile Internet Protocol as claimed in claim 3, it is characterised in that the virtual machine includes
VirtualBox virtual machines and Docker virtual machines, the VirtualBox virtual machines run Android operation system, Docker
Virtual machine runs (SuSE) Linux OS.
5. it is used for the test platform of Mobile Internet Protocol as claimed in claim 4, it is characterised in that the dummy node layer
Specifically for:
The need for according to specific network topology, dummy node layer in distribution install VirtualBox virtual machines quantity and
The quantity of Docker virtual machines, wherein, the partial function realized in VirtualBox virtual machines is transplanted to Docker virtual machines
It is middle to realize.
6. it is used for the method for testing of Mobile Internet Protocol as claimed in claim 1 or 2, it is characterised in that the movement is mutual
Networking protocol includes multi-path transmission control protocol MPTCP and mobile ad-hoc network agreement.
7. a kind of method of testing for Mobile Internet Protocol, it is characterised in that including:
There are multiple topologys in S1, the network topology structure needed for network topology layer building is tested, the network topology structure
Node;
S2, constructs multiple system nodes in dummy node layer, and uses bridging technology by network topology layer in bridge layer
Topological node and dummy node layer in system node be bridged;
S3, virtual machine is installed in dummy node layer in each system node;
S4, operating system source code is run in the real node of real node layer, after normal operation, operating system source code is answered
In the system node for making dummy node layer, behaviour is run under the Mobile Internet Protocol of setting by the virtual machine of system node
Make system source code, to realize the test of Mobile Internet Protocol.
8. as claimed in claim 6 be used for Mobile Internet Protocol method of testing, it is characterised in that in the step S2
The topological node in network topology layer is bridged with the system node in dummy node layer using bridging technology in bridge layer
Specifically include:
The system node in the topological node in network topology layer and dummy node layer is corresponded using Linux bridging technologys
Bridge joint so that system node is connected in virtual test network.
9. it is used for the method for testing of Mobile Internet Protocol as claimed in claim 8, it is characterised in that the virtual machine includes
VirtualBox virtual machines and Docker virtual machines, the VirtualBox virtual machines run Android operation system, Docker
Virtual machine runs (SuSE) Linux OS.
10. it is used for the method for testing of Mobile Internet Protocol as claimed in claim 9, it is characterised in that in the step S3
Virtual machine is installed in each system node in dummy node layer to specifically include:
The need for according to specific network topology, dummy node layer in distribution install VirtualBox virtual machines quantity and
The quantity of Docker virtual machines, wherein, the partial function realized in VirtualBox virtual machines is transplanted to Docker virtual machines
It is middle to realize.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710370293.6A CN107172651B (en) | 2017-05-23 | 2017-05-23 | A kind of test platform and test method for Mobile Internet Protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710370293.6A CN107172651B (en) | 2017-05-23 | 2017-05-23 | A kind of test platform and test method for Mobile Internet Protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107172651A true CN107172651A (en) | 2017-09-15 |
CN107172651B CN107172651B (en) | 2019-10-01 |
Family
ID=59820714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710370293.6A Active CN107172651B (en) | 2017-05-23 | 2017-05-23 | A kind of test platform and test method for Mobile Internet Protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172651B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995032A (en) * | 2017-11-29 | 2018-05-04 | 北京邮电大学 | A kind of method and device that network experimental platform is built based on cloud data center |
CN108809747A (en) * | 2018-03-22 | 2018-11-13 | 苏州德姆斯信息技术有限公司 | A kind of the analogue data test system and its test method of system platform |
CN109523858A (en) * | 2018-12-11 | 2019-03-26 | 衡阳师范学院 | A kind of Network Protocol Emulation System Teaching implementation method and process based on docker |
CN109828893A (en) * | 2018-12-25 | 2019-05-31 | 杭州茂财网络技术有限公司 | Multitask android performance test methods based on docker engine and the system for executing this method |
CN110838954A (en) * | 2019-11-07 | 2020-02-25 | 中国人民解放军国防科技大学 | Lightweight large-scale autonomous network protocol function test method |
CN113726590A (en) * | 2021-07-20 | 2021-11-30 | 深圳市风云实业有限公司 | Customized protocol testing method |
CN115412458A (en) * | 2022-08-29 | 2022-11-29 | 山石网科通信技术股份有限公司 | Network equipment testing method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103885814A (en) * | 2014-03-20 | 2014-06-25 | 百度在线网络技术(北京)有限公司 | Simulator device and method for operating ARM APKs on x86 framework |
CN105022620A (en) * | 2014-04-28 | 2015-11-04 | 上海未达数码科技有限公司 | Application software development method based on mobile platform |
US20160087933A1 (en) * | 2006-09-25 | 2016-03-24 | Weaved, Inc. | Techniques for the deployment and management of network connected devices |
CN106301911A (en) * | 2016-08-12 | 2017-01-04 | 南京大学 | Information Network based on SDN half centralized simulation platform in kind and its implementation |
-
2017
- 2017-05-23 CN CN201710370293.6A patent/CN107172651B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160087933A1 (en) * | 2006-09-25 | 2016-03-24 | Weaved, Inc. | Techniques for the deployment and management of network connected devices |
CN103885814A (en) * | 2014-03-20 | 2014-06-25 | 百度在线网络技术(北京)有限公司 | Simulator device and method for operating ARM APKs on x86 framework |
CN105022620A (en) * | 2014-04-28 | 2015-11-04 | 上海未达数码科技有限公司 | Application software development method based on mobile platform |
CN106301911A (en) * | 2016-08-12 | 2017-01-04 | 南京大学 | Information Network based on SDN half centralized simulation platform in kind and its implementation |
Non-Patent Citations (1)
Title |
---|
ROLAND_SUN: "《如何在VirtualBox虚拟机中安装Android x86》", 5 November 2015 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995032A (en) * | 2017-11-29 | 2018-05-04 | 北京邮电大学 | A kind of method and device that network experimental platform is built based on cloud data center |
CN107995032B (en) * | 2017-11-29 | 2020-05-01 | 北京邮电大学 | Method and device for building network experiment platform based on cloud data center |
CN108809747A (en) * | 2018-03-22 | 2018-11-13 | 苏州德姆斯信息技术有限公司 | A kind of the analogue data test system and its test method of system platform |
CN109523858A (en) * | 2018-12-11 | 2019-03-26 | 衡阳师范学院 | A kind of Network Protocol Emulation System Teaching implementation method and process based on docker |
CN109828893A (en) * | 2018-12-25 | 2019-05-31 | 杭州茂财网络技术有限公司 | Multitask android performance test methods based on docker engine and the system for executing this method |
CN110838954A (en) * | 2019-11-07 | 2020-02-25 | 中国人民解放军国防科技大学 | Lightweight large-scale autonomous network protocol function test method |
CN113726590A (en) * | 2021-07-20 | 2021-11-30 | 深圳市风云实业有限公司 | Customized protocol testing method |
CN115412458A (en) * | 2022-08-29 | 2022-11-29 | 山石网科通信技术股份有限公司 | Network equipment testing method and device and electronic equipment |
CN115412458B (en) * | 2022-08-29 | 2023-11-03 | 山石网科通信技术股份有限公司 | Network equipment testing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107172651B (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172651B (en) | A kind of test platform and test method for Mobile Internet Protocol | |
CN104834595A (en) | Visual automatic test method and system | |
CN110622137B (en) | High fidelity network emulation | |
CN101212362B (en) | Automatic testing device and method incorporating a variety of testing tools | |
CN109389506B (en) | Detection method for transaction data source in multi-chain scene of super account book | |
CN107729230A (en) | A kind of WEB automatic test devices and method of testing based under control scheme | |
CN109981375A (en) | Method and apparatus for the building of satellite communication artificial network | |
CN112181432B (en) | System for realizing modular packing processing of bundle in REACTNATIVE framework | |
Krishna et al. | Rigorous design and deployment of IoT applications | |
CN107231349A (en) | A kind of method and device that MPTCP agreements are realized in intelligent terminal | |
CN106557414A (en) | Application testing system and method | |
CN103455337A (en) | Method for using dynamic library under Android development environment | |
CN111683005B (en) | Internet of things intelligent gateway equipment and construction method thereof | |
CN112732677A (en) | Block link point deployment method, device, equipment and storage medium | |
CN108121558A (en) | Oftware updating method, device, storage medium and equipment | |
CN102043628A (en) | Method and system for developing on screen display (OSD) application software and multimedia terminal | |
Porter et al. | Towards model-based integration of tools and techniques for embedded control system design, verification, and implementation | |
Meftah et al. | ANDROFLEET: Testing WiFi peer-to-peer mobile apps in the large | |
Dhviya et al. | Analysis of simulation tools for underwater wireless sensor networks | |
CN115291840A (en) | Model-driven block chain development life cycle development method | |
CN106897120A (en) | Double-deck dynamic Distributed Simulation Platform | |
Al Saad et al. | ScatterClipse: A model-driven tool-chain for developing, testing, and prototyping wireless sensor networks | |
CN107015787A (en) | A kind of method and device of interactive application Frame Design | |
CN108241488A (en) | A kind of system and method for generating APP interfaces | |
CN105872708A (en) | Display desktop generation method, display desktop generation system and smart television |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |