CN114172816A - Network simulation test platform - Google Patents

Network simulation test platform Download PDF

Info

Publication number
CN114172816A
CN114172816A CN202111505118.6A CN202111505118A CN114172816A CN 114172816 A CN114172816 A CN 114172816A CN 202111505118 A CN202111505118 A CN 202111505118A CN 114172816 A CN114172816 A CN 114172816A
Authority
CN
China
Prior art keywords
test
layer
objects
plan
tunnel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111505118.6A
Other languages
Chinese (zh)
Inventor
柯彦伟
程琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Contact Interactive Information Technology Co ltd
Original Assignee
Beijing Contact Interactive Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Contact Interactive Information Technology Co ltd filed Critical Beijing Contact Interactive Information Technology Co ltd
Priority to CN202111505118.6A priority Critical patent/CN114172816A/en
Publication of CN114172816A publication Critical patent/CN114172816A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The invention discloses a network simulation test platform, which comprises: the interaction layer is used for providing human-computer interaction support, generating a test plan through the communication with the access layer interface of the test case, and acquiring corresponding test state information and test result state information; the test object instances run simultaneously when the lower-layer components are emphasized so as to support a plurality of users to use one test device simultaneously; and the access layer is used for realizing a uniform interface for testing abstraction, packaging and testing internal logic and providing a uniform data service interface for the interaction layer. The technical system of the invention uses high-performance network packet processing and protocol stack software on general hardware to realize high-performance simulation of the flow of a single server above 200 Gbps. Because an old special hardware technology system of a foreign company is abandoned, the patent far exceeds the foreign similar products in the aspects of usability, cost and flexibility.

Description

Network simulation test platform
Technical Field
The invention relates to the technical field of charging, in particular to a network simulation test platform.
Background
The existing foreign technologies such as Avalanche of Ciberan and IXIA BPS PSONE of Keysight all depend on special hardware, and monopoly behaviors are high in price, difficult to expand and difficult to improve performance.
The prior art mainly adopts special hardware, which is high in price and difficult to expand, and after a period of time, the special hardware may be out of date, and the performance of the special hardware cannot meet new test requirements, and the like.
The prior art is old in architecture and difficult to expand, and if the prior art does not support a mobile scene (such as vehicle driving) test, general hardware deployment, virtualization deployment or extremely low virtualization deployment performance, and stacked deployment to improve performance.
The prior art is mostly English interface and English document.
Disclosure of Invention
The present invention is directed to a network simulation test platform to solve the problems set forth in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a network simulation test platform, comprising:
the interaction layer is used for providing human-computer interaction support, generating a test plan through the communication with the access layer interface of the test case, and acquiring corresponding test state information and test result state information;
the test object instances run simultaneously when the lower-layer components are emphasized so as to support a plurality of users to use one test device simultaneously;
the access layer is used for realizing a uniform interface for testing abstraction, packaging and testing internal logic and providing a uniform data service interface for the interaction layer;
the planning layer is used for providing test plan support, associating objects such as scripts, users and channels, generating a test plan according to the time plan, and pushing the plan to the task layer after the test plan is completed;
shared object set to store sharable objects and resources in the system;
the task layer is used for executing the test plan, generating tasks according to the test plan and distributing the tasks to the executors of the test basic service for execution;
the test tool service layer divides a conventional test into two parts, namely a basic service layer and a tunnel layer, wherein the basic service layer provides differentiated test tool services, and the tunnel layer provides uniform tunnel encapsulation services;
the tunnel layer provides tunnel support, manages and executes a corresponding tunnel according to the upper layer information;
the device layer comprises various network devices and virtualization devices.
As a further aspect of the invention, the access layer allows for attendant differentiation and supports extensions.
As a further technical scheme of the invention, the objects and resources are divided into 4 types: 1) localized open objects, 2) shared runtime objects, 3) persistent objects, 4) state collection controllers.
As a further technical solution of the present invention, the localized open object, such object has been localized to each thread to improve performance, but can be collected by the state collection controller to feed back state information to the outside.
As a further technical solution of the present invention, the tunnel may be multi-layered, may be unidirectional, and may be verified according to a preset value.
As a further technical scheme of the invention, each device in the device layer can only belong to one test case at the same time.
As a further technical scheme of the invention, the interactive layer objects are system internal components or system external components.
Compared with the prior art, the invention has the beneficial effects that:
the technical system of the invention uses high-performance network packet processing and protocol stack software on general hardware to realize high-performance simulation of the flow of a single server above 200 Gbps. Because an old special hardware technology system of a foreign company is abandoned, the patent far exceeds the foreign similar products in the aspects of usability, cost and flexibility.
Drawings
FIG. 1 is a client-side initiation flow diagram of an example HTTP emulation configuration.
FIG. 2 is a server-side startup flowchart of an example HTTP emulation configuration for a platform.
Fig. 3 is a frame diagram of the platform.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, a network simulation test platform includes:
and the interaction layer provides human-computer interaction support, generates a test plan through communication with an access layer interface of the test case, acquires corresponding test state information, test result state information and the like, and an object in the layer can be an internal component of the system or an external component of the system.
Testing object instances, wherein the object instances emphasize that the underlying components can run multiple simultaneously, so as to support multiple users to use one testing device simultaneously;
and testing the abstract layer, wherein the purpose of testing the abstract layer is to use an abstract uniform visual angle to see the difference of various testing tools and various testing implementation methods.
The access layer is mainly used for realizing a uniform interface for testing abstraction, packaging and testing internal logic, providing a uniform data service interface for the interaction layer, allowing attached difference and supporting extension;
and the planning layer is used for providing support for the test plan, associating objects such as scripts, users, channels and the like, generating the test plan according to the time plan, and pushing the plan to the task layer after the test plan is completed.
The shared object set is used for storing various objects, resources and the like which can be shared in the system and is divided into 4 types: 1) the disclosure objects are localized, such objects having been localized to each thread to improve performance, but may be collected by a state collection controller to feed back state information externally. 2) A shared runtime object. 3) Persisting the object. 4) A state collection controller;
the task layer is used for executing the test plan, generating tasks according to the test plan and distributing the tasks to the executors of the test basic service for execution;
and the test tool service layer divides the conventional test into two parts, namely a basic service layer and a tunnel layer. The basic service layer provides differentiated test tool services, and the tunnel layer provides uniform tunnel packaging services;
the tunnel layer provides tunnel support, manages corresponding tunnels according to upper layer information and executes the tunnels, can be multi-layer, can be unidirectional, and can check the tunnels according to preset values.
The device layer, various network devices, virtualization devices and the like, wherein each device can only belong to one test case at the same time.
FIG. 1 is a client-initiated flow diagram of an example HTTP emulation configuration, the method comprising:
s10: carrying out engineering configuration through a UI;
the detailed information of the engineering configuration comprises an engineering name, a mode, a type, a description and a user;
the method comprises the following specific steps: a project is newly built through a project page of the platform, or project information is acquired through uploading of a project file stored locally by a user, and after the user stores the project, the project is uploaded to a server side through a client side to be stored.
S11: and (3) carrying out network port setting: the detailed information set by the network port comprises a network port name, an IP, a prefix length and a gateway;
the method comprises the following specific steps: and setting a page through the internet access of the platform, submitting the internet access name, IP information, prefix length and gateway information, and uploading the internet access information to a server through a client for storage after a user submits the information.
S12: configuring a client: the detailed information configured by the client comprises a client subnet, a client network, a client load and a client action;
the method comprises the following specific steps: clicking an adding button to add a client subnet and configuring a source IP address range and a destination address range of the client subnet on a client-subnet configuration page; configuring client network parameters on a client-network page, clicking an adding button to add a client network, setting the range of a client starting port to be 10000-60000 ports and the range of a target port to be 80 ports, and checking and starting TCP _ RST; clicking a button on a client-load page to add a load, then modifying a parameter to create 1000000, and setting the concurrency 4000000 and the specification in the configuration service model as the number of concurrent connections and the mode: the performance mode is that the new session is 1000000, the concurrent session is 4000000, the rise time and the fall time are 10s, and the stable time is 60 s; selecting the emulation protocol as HTTP, configuring method as get, host name as www.test.com, URI as/index. And clicking a completion button to complete the action configuration of the client.
S13: configuring a server side: the detailed information configured by the server comprises a server subnet, a server network and a server configuration file;
the method comprises the following specific steps: clicking an adding button on a ' server ' -subnet ' page to add a server subnet, filling a name, selecting a server network card as a port1, configuring an ip destination address segment of 10.2.1.1-10.2.1.10, and clicking a finishing button to finish the configuration of the server subnet; clicking an adding button on a ' server ' -network ' page to add a server network, filling in a name, setting a starting range of a port number range to be 80-80 by default in an http protocol, and setting other parameters to be default values. Clicking a completion button to complete the network configuration of the server; and clicking an adding button on a ' server ' -Profile ' page to add the server Profile, selecting the http as the protocol type, configuring the response code of the server as 200, configuring the response content of the server as 100 bytes, and clicking a finishing button to finish the configuration of the server Profile.
S14: and (3) performing association: the detailed associated information comprises client association, server association and test order creation;
the specific steps are that on an association page, a client association column clicks an add button to add client association, a subnet type selects IPv4, a subnet selects a previously configured http-client, a protocol type selects a standard protocol, an action selects a previously configured http, a network selects a previously configured http-client, a load selects a previously configured http, a weight parameter has no influence in only one associated order, and a value can be configured at will.
S15: operation and state monitoring: detailed information of operation and state monitoring comprises detailed states, current steps, real-time speed and a load trend graph;
the specific steps are that after the data are stored in the server, the server returns the executed data to the client through the middleware, and the client receives and displays the data. The specific steps of the server are shown in fig. 2.
FIG. 2 is a server-side startup flow of an example HTTP emulation configuration of a platform;
s20 when the user order is running, the order and various configuration information are transmitted to the server,
s21 order to the server, start the script through the middleware,
s22, the server side translates and executes the script, generates an executable command line after the execution is finished,
when the S23 server starts the script, it receives the configuration file sent from the client and imports the judgment and configuration (S10, S11, S12, S13).
S24, when generating an executable command line, the server starts a guard function, and the guard function monitors the configuration condition, the main program running condition, data output and error check in real time.
The S24-1 daemon monitors whether the configuration is abnormal or wrong;
the S24-2 daemon program monitors the program running conditions, such as starting, stopping, order execution state and state output condition;
the S24-3 daemon monitors the order execution condition and outputs the order state and the program state in real time;
the S24-4 daemon program outputs the report form of the order result;
the S24-5 daemon checks for error conditions.
The invention is beneficial to improving the operation efficiency and the safety of the network, and the performance of the network needs to be specified with proper standards to improve the performance of the network.
The invention is a software platform based on general hardware deployment, has the testing capability facing different types of application layer gateway equipment, supports various common application layer simulation protocol types such as HTTP, HTTPS, FTP, common industrial protocols and the like, and can develop and add more support protocols;
the invention simultaneously supports the mixed playback function of the streaming media with the state, the P2P, the WeChat and the QQ application flow through 7-layer service playback, realizes the real recovery of the current network flow and supports the network simulation performance of ten million-level user scale.
The main flow technology abroad takes special hardware as a basis to carry out monopoly, and the patent takes a software platform based on a general hardware platform and deployment, so that the monopoly behavior of the special hardware can be broken, and meanwhile, the device has a complete testing function, can meet customization and expansion requirements, and can improve the performance without limit in a stacked deployment mode.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (7)

1. A network simulation test platform, comprising:
the interaction layer is used for providing human-computer interaction support, generating a test plan through the communication with the access layer interface of the test case, and acquiring corresponding test state information and test result state information;
the test object instances run simultaneously when the lower-layer components are emphasized so as to support a plurality of users to use one test device simultaneously;
the access layer is used for realizing a uniform interface for testing abstraction, packaging and testing internal logic and providing a uniform data service interface for the interaction layer;
the planning layer is used for providing test plan support, associating objects such as scripts, users and channels, generating a test plan according to the time plan, and pushing the plan to the task layer after the test plan is completed;
shared object set to store sharable objects and resources in the system;
the task layer is used for executing the test plan, generating tasks according to the test plan and distributing the tasks to the executors of the test basic service for execution;
the test tool service layer divides a conventional test into two parts, namely a basic service layer and a tunnel layer, wherein the basic service layer provides differentiated test tool services, and the tunnel layer provides uniform tunnel encapsulation services;
the tunnel layer provides tunnel support, manages and executes a corresponding tunnel according to the upper layer information;
the device layer comprises various network devices and virtualization devices.
2. The network simulation test platform of claim 1, wherein the access layer allows for attendant differences and supports extensions.
3. The network simulation test platform of claim 1, wherein the objects and resources are classified into 4 types: 1) localized open objects, 2) shared runtime objects, 3) persistent objects, 4) state collection controllers.
4. The network simulation test platform of claim 1, wherein the localization of public objects, such objects having been localized to each thread to improve performance, but being collectable by the state collection controller to feed back state information externally.
5. The network simulation test platform of claim 1, wherein the tunnel may be multi-layered, may be unidirectional, and may be verified according to a preset value.
6. The network simulation test platform of claim 1, wherein each device in the device layer can belong to only one test case at a time.
7. The network simulation test platform of claim 4, wherein the inter-layer object is an intra-system component or an extra-system component.
CN202111505118.6A 2021-12-10 2021-12-10 Network simulation test platform Pending CN114172816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111505118.6A CN114172816A (en) 2021-12-10 2021-12-10 Network simulation test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111505118.6A CN114172816A (en) 2021-12-10 2021-12-10 Network simulation test platform

Publications (1)

Publication Number Publication Date
CN114172816A true CN114172816A (en) 2022-03-11

Family

ID=80485279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111505118.6A Pending CN114172816A (en) 2021-12-10 2021-12-10 Network simulation test platform

Country Status (1)

Country Link
CN (1) CN114172816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117009236A (en) * 2023-08-07 2023-11-07 苏州福斯特万电子科技有限公司 Method, device, equipment and storage medium for configuring hardware of dispenser

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1476191A (en) * 2002-08-15 2004-02-18 深圳市中兴通讯股份有限公司 Simulationi realizing method based on grouping data business process and system
CN103684893A (en) * 2012-09-04 2014-03-26 清华大学 Equipment and method for analyzing network simulation
CN107809752A (en) * 2017-10-16 2018-03-16 南京网元通信技术有限公司 A kind of mobile network flow fraud verification method based on software emulation
CN108009097A (en) * 2017-12-29 2018-05-08 卡斯柯信号有限公司 Towards the cloud computing emulation test method and device of rail traffic signal system
CN110048908A (en) * 2019-04-15 2019-07-23 网易(杭州)网络有限公司 Instruction Network Test System Platform, network test method and device
CN110764987A (en) * 2019-10-21 2020-02-07 西安电子科技大学 Hardware equipment access method in network simulation test system based on virtualization technology
CN111092771A (en) * 2019-12-24 2020-05-01 浙江航天恒嘉数据科技有限公司 Internet of things simulation test platform

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1476191A (en) * 2002-08-15 2004-02-18 深圳市中兴通讯股份有限公司 Simulationi realizing method based on grouping data business process and system
CN103684893A (en) * 2012-09-04 2014-03-26 清华大学 Equipment and method for analyzing network simulation
CN107809752A (en) * 2017-10-16 2018-03-16 南京网元通信技术有限公司 A kind of mobile network flow fraud verification method based on software emulation
CN108009097A (en) * 2017-12-29 2018-05-08 卡斯柯信号有限公司 Towards the cloud computing emulation test method and device of rail traffic signal system
CN110048908A (en) * 2019-04-15 2019-07-23 网易(杭州)网络有限公司 Instruction Network Test System Platform, network test method and device
CN110764987A (en) * 2019-10-21 2020-02-07 西安电子科技大学 Hardware equipment access method in network simulation test system based on virtualization technology
CN111092771A (en) * 2019-12-24 2020-05-01 浙江航天恒嘉数据科技有限公司 Internet of things simulation test platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117009236A (en) * 2023-08-07 2023-11-07 苏州福斯特万电子科技有限公司 Method, device, equipment and storage medium for configuring hardware of dispenser
CN117009236B (en) * 2023-08-07 2024-02-06 苏州福斯特万电子科技有限公司 Method, device, equipment and storage medium for configuring hardware of dispenser

Similar Documents

Publication Publication Date Title
US9092271B2 (en) Load balancing for single-address tenants
CN103248535B (en) A kind of cloud system method of testing and device
US9674275B1 (en) Providing a file system interface to network-accessible computing resources
CN108270818B (en) Micro-service architecture system and access method thereof
CN105912389B (en) The virtual machine (vm) migration system under mixing cloud environment is realized based on data virtualization
CN102882908A (en) Cloud computing management system and cloud computing management method
CN103034527A (en) Hybrid virtualization cloud computing resource optimal control method and system
CN106533713A (en) Application deployment method and device
CN104935639A (en) Intelligent terminal, and applied distributed exploitation system and method
CN106406980B (en) A kind of dispositions method and device of virtual machine
CN110008019B (en) Method, device and system for sharing server resources
CN103067501A (en) Large data processing method of PaaS platform
EP3060987A1 (en) Emulating test distributed application on server
CN114172816A (en) Network simulation test platform
CN103501295A (en) Virtual machine migration-based remote access method and equipment
CN115333787A (en) Automatic safety testing method, system and storage medium for 5G industrial control network system
CN104753992A (en) Method, device and system for data storage and method and device for virtual platform failure recovery
CN105242948B (en) Heat deployment implementation method based on Java web projects
CN104734875A (en) Service application disaster tolerance deployment method and device
CN105516256A (en) Batch command operation method and device of Linux host
CN109218371B (en) Method and equipment for calling data
US9537931B2 (en) Dynamic object oriented remote instantiation
CN104363203A (en) SDN-based secure cloud access method
CN112272190B (en) Data access method and device
Ren et al. Research on communication method of OPC UA client based on ARM

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