CN105763362A - Network environment simulation system - Google Patents

Network environment simulation system Download PDF

Info

Publication number
CN105763362A
CN105763362A CN201610035594.9A CN201610035594A CN105763362A CN 105763362 A CN105763362 A CN 105763362A CN 201610035594 A CN201610035594 A CN 201610035594A CN 105763362 A CN105763362 A CN 105763362A
Authority
CN
China
Prior art keywords
package
packet
unit
emulating server
server
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
CN201610035594.9A
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.)
Shanghai Xuedeng Information Technology Co Ltd
Original Assignee
Shanghai Xuedeng 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 Shanghai Xuedeng Information Technology Co Ltd filed Critical Shanghai Xuedeng Information Technology Co Ltd
Priority to CN201610035594.9A priority Critical patent/CN105763362A/en
Publication of CN105763362A publication Critical patent/CN105763362A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a network environment simulation system, which comprises a program server, a simulation server and a control unit, wherein the program server is connected with the simulation server for uploading data packets of a to-be-tested program or a to-be-tested network architecture to the simulation server for simulation operation and reading fed back data packets; the control port is connected with the simulation server for sending an instruction signal to the simulation server; the simulation server comprises a packet reorganization unit and a packet discarding unit; the packet reorganization unit intercepts the data packets uploaded by the program server, and the data packets are fed back to the program server after packet reorganization; the packet discarding unit is connected with the packet reorganization unit, and a plurality of preset proportion values are written in the packet discarding unit; and when the packet discarding unit is activated and started to work, the packet reorganization unit is controlled according to the instruction signal sent by the control port to discard data packets after packet reorganization according to the selected preset proportion. Various network environments can be simulated, and a good test environment is provided for improving the stability and the fault tolerance of the program and the network architecture.

Description

Network environment analog systems
Technical field
The invention belongs to network communication technology field, relate in particular to a kind of network environment analog systems, for detecting the fault-tolerant ability of application program and the network architecture.
Background technology
Along with computer network day by day popularizing in people live, network management has become the sixty-four dollar question in the information age.Whether one exploitation program or the network architecture can stable operation be very important technical specifications in various complicated network environments.Develop a kind of can the system of stability in various networks of test program or the network architecture and fault-tolerant ability, be the work that urgently complete of those skilled in the art.
Summary of the invention
For solving the problems referred to above, the invention provides a kind of network environment analog systems.
The concrete technical scheme of the present invention is as follows:
A kind of network environment analog systems, including procedure service end, emulating server and control unit.Described procedure service end connects emulating server, and packet to the emulating server for uploading program to be tested or the network architecture is simulated operation and reads the packet of feedback;Described control port connects emulating server, is used for sending a command signal to emulating server;Described emulating server includes package recomposition unit and package discarding unit;Described package recomposition unit, for intercepting the packet that procedure service end is uploaded, feeds back to procedure service end after package restructuring;Described package discarding unit connects package recomposition unit, is written with some preset ratio values in described package discarding unit;When package discarding unit activates and starts work, control package recomposition unit according to the command signal controlling port transmission and abandon the packet after package restructuring by selected preset ratio.
By adopting this technical scheme: utilize package discarding unit to control package recomposition unit and often recombinate and abandon current packet after some packets, thus realizing the simulation of the network environment to packet loss.Realize software to be monitored or the network architecture stability under the network environment of packet loss and fault-tolerant ability.
Preferably, in above-mentioned network environment analog systems: described emulating server also includes the out of order unit of package, the out of order unit of described package is written with some preset ratio values;When the out of order unit activating startup work of package, control package recomposition unit according to the command signal controlling port transmission and preferentially send the packet after the restructuring of current package by selected preset ratio.
By adopting this technical scheme: utilize the out of order unit of package to control package recomposition unit and often recombinate the preferential packet sending current gained of recombinating after some packets, thus realizing the simulation of the network environment that package is out of order.Realize software to be monitored or the network architecture stability under the out of order network environment of package and fault-tolerant ability.
It is further preferred that in above-mentioned network environment analog systems: described emulating server also includes package repetitive, is written with some preset ratio values in described package repetitive;When package repetitive activates and starts work, control package recomposition unit according to the command signal controlling port transmission and repeat the packet after sending the restructuring of current package by selected preset ratio.
By adopting this technical scheme: utilize package repetitive to control package recomposition unit and often recombinate and repeat to send the packet of current gained of recombinating after some packets, thus realizing the simulation to the network environment that package repeats.Realize software to be monitored or the network architecture stability under the out of order network environment of package and fault-tolerant ability.
It may further be preferable that in above-mentioned network environment analog systems: described emulating server also includes package delay cell, is written with some default delay times in described package delay cell;When package delay cell activates and starts work, control package recomposition unit according to the command signal controlling port transmission and preset delay time by selected, the packet after time delay transmission current package restructuring.
By adopting this technical scheme: utilize package delay cell to control the packet after package recomposition unit time delay sends the restructuring of current package.Thus realizing the simulation to the network environment that package postpones.Realize software to be monitored or the network architecture stability under the out of order network environment of package and fault-tolerant ability.
It is even furthermore preferable that in above-mentioned network environment analog systems: described emulating server also includes bandwidth flow-restriction, and described bandwidth flow-restriction is used for current limliting network traffics.
By adopting this technical scheme: realize the operating side effective filtration to the communication data packets that emulating server sends.
Compared with prior art, the present invention can simulate the various network environments such as package postpones, package is out of order, and the stability and fault-tolerance for improving program and the network architecture provides good test environment.
Accompanying drawing explanation
Fig. 1 is the structural schematic block diagram of the present invention;
Fig. 2 is the structural representation of emulating server in Fig. 1.
Detailed description of the invention
In order to be illustrated more clearly that technical scheme, below in conjunction with accompanying drawing, the invention will be further described.
As shown in Figure 1-2:
A kind of network environment analog systems, including procedure service end, emulating server and control unit.
Wherein, procedure service end connects emulating server, and packet to the emulating server for uploading program to be tested or the network architecture is simulated operation and reads the packet of feedback;Control port and connect emulating server, be used for sending a command signal to emulating server, control package discarding unit, the out of order unit of package, package repetitive, the work of package delay cell.
Described emulating server includes package recomposition unit, package discarding unit, the out of order unit of package, package repetitive, package delay cell and bandwidth flow-restriction.
Package recomposition unit intercepts the packet that procedure service end is uploaded, and feeds back to procedure service end after package restructuring;Package discarding unit connects package recomposition unit, is written with some preset ratio values in described package discarding unit;When package discarding unit activates and starts work, control package recomposition unit according to the command signal controlling port transmission and abandon the packet of current package restructuring by selected preset ratio.The out of order unit of package is written with some preset ratio values;When the out of order unit activating startup work of package, control package recomposition unit according to the command signal controlling port transmission and preferentially send the packet after the restructuring of current package by selected preset ratio.Package repetitive is written with some preset ratio values;When package repetitive activates and starts work, control package recomposition unit according to the command signal controlling port transmission and repeat the packet after sending the restructuring of current package by selected preset ratio.Package delay cell is written with some default delay times;When package delay cell activates and starts work, control package recomposition unit according to the command signal controlling port transmission and preset delay time by selected, the packet after time delay transmission current package restructuring.Described emulating server also includes, and described bandwidth flow-restriction is used for current limliting network traffics.
The above; being only specific embodiments of the invention, but protection scope of the present invention is not limited thereto, any those skilled in the art is in technical scope disclosed by the invention; the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention.Protection scope of the present invention is as the criterion with the protection domain of claims.

Claims (5)

1. a network environment analog systems, it is characterised in that: include procedure service end, emulating server and control unit;
Described procedure service end connects emulating server, and packet to the emulating server for uploading program to be tested or the network architecture is simulated operation and reads the packet of feedback;Described control port connects emulating server, is used for sending a command signal to emulating server;
Described emulating server includes package recomposition unit and package discarding unit;Described package recomposition unit, for intercepting the packet that procedure service end is uploaded, feeds back to procedure service end after package restructuring;
Described package discarding unit connects package recomposition unit, is written with some preset ratio values in described package discarding unit;When package discarding unit activates and starts work, control package recomposition unit according to the command signal controlling port transmission and abandon the packet of current package restructuring by selected preset ratio.
2. a kind of network environment analog systems as claimed in claim 1, it is characterised in that: described emulating server also includes the out of order unit of package, is written with some preset ratio values in the out of order unit of described package;When the out of order unit activating startup work of package, control package recomposition unit according to the command signal controlling port transmission and preferentially send the packet after the restructuring of current package by selected preset ratio.
3. a kind of network environment analog systems as claimed in claim 1, it is characterised in that: described emulating server also includes package repetitive, is written with some preset ratio values in described package repetitive;When package repetitive activates and starts work, control package recomposition unit according to the command signal controlling port transmission and repeat the packet after sending the restructuring of current package by selected preset ratio.
4. a kind of network environment analog systems as claimed in claim 1, it is characterised in that: described emulating server also includes package delay cell, is written with some default delay times in described package delay cell;When package delay cell activates and starts work, control package recomposition unit according to the command signal controlling port transmission and preset delay time by selected, the packet after time delay transmission current package restructuring.
5. a kind of network environment analog systems as described in any one of claim 1-4, it is characterised in that: described emulating server also includes bandwidth flow-restriction, and described bandwidth flow-restriction is used for current limliting network traffics.
CN201610035594.9A 2016-01-20 2016-01-20 Network environment simulation system Pending CN105763362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610035594.9A CN105763362A (en) 2016-01-20 2016-01-20 Network environment simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610035594.9A CN105763362A (en) 2016-01-20 2016-01-20 Network environment simulation system

Publications (1)

Publication Number Publication Date
CN105763362A true CN105763362A (en) 2016-07-13

Family

ID=56342509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610035594.9A Pending CN105763362A (en) 2016-01-20 2016-01-20 Network environment simulation system

Country Status (1)

Country Link
CN (1) CN105763362A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475359A (en) * 2020-04-13 2020-07-31 腾讯音乐娱乐科技(深圳)有限公司 System testing method, device and storage medium under multi-message interaction scene

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618645A (en) * 2013-11-28 2014-03-05 武汉虹旭信息技术有限责任公司 Complex network environment test system and method with intelligent simulation function
US20140310390A1 (en) * 2013-04-16 2014-10-16 Amazon Technologies, Inc. Asymmetric packet flow in a distributed load balancer
CN104767655A (en) * 2015-03-17 2015-07-08 微梦创科网络科技(中国)有限公司 Analog result detection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310390A1 (en) * 2013-04-16 2014-10-16 Amazon Technologies, Inc. Asymmetric packet flow in a distributed load balancer
CN103618645A (en) * 2013-11-28 2014-03-05 武汉虹旭信息技术有限责任公司 Complex network environment test system and method with intelligent simulation function
CN104767655A (en) * 2015-03-17 2015-07-08 微梦创科网络科技(中国)有限公司 Analog result detection method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475359A (en) * 2020-04-13 2020-07-31 腾讯音乐娱乐科技(深圳)有限公司 System testing method, device and storage medium under multi-message interaction scene

Similar Documents

Publication Publication Date Title
EP2951957B1 (en) Network switch simulation
DE69715831T2 (en) EXAMINATION OF OSI LAYERS ON UNIX
US7529819B2 (en) Computer-based switch for testing network servers
DE102015119643A1 (en) Methods and apparatus for providing redundancy in a process control system
CN102064964A (en) Method for rapidly switching gigabit network cards in gigabit switching environment
CN103500475B (en) A kind of adjustment method, system of office buildings gate control system
CN103248545B (en) The ethernet communication method and system of system are broadcast for dynamic cinema special efficacy
CN101179456A (en) Network appliance testing approach and device
JP2004201121A (en) Protocol testing system and protocol testing method
CN102821161A (en) Method, device and system for network security auditing
CN102480420A (en) Message sending method as well as message receiving method, device and system
CN106302027A (en) A kind of SDN controller performance tester and method of testing
CN103310669A (en) Data transmission method and data transmission system both used for interactive teaching
DE102007048860A1 (en) Device and method for manipulating communication messages
CN104767655A (en) Analog result detection method and device
CN102426548B (en) Debugging method, debugger and debugging system for embedded system
JP2005175915A (en) Emulation device and emulation program
JP4964666B2 (en) Computer, program and method for switching redundant communication paths
CN105391601A (en) Network management equipment performance testing method and system
CN105763362A (en) Network environment simulation system
JP2005064722A5 (en)
CN104426715A (en) Distributed testing tool control method
CN105407150A (en) Remote control method of application program
US7433814B2 (en) Network emulator architecture
CN107704354B (en) Test method for port virtualization of multi-control storage system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160713

RJ01 Rejection of invention patent application after publication