CN105323115A - Data packet simulation method and data packet simulation device of network management test event - Google Patents
Data packet simulation method and data packet simulation device of network management test event Download PDFInfo
- Publication number
- CN105323115A CN105323115A CN201410375429.9A CN201410375429A CN105323115A CN 105323115 A CN105323115 A CN 105323115A CN 201410375429 A CN201410375429 A CN 201410375429A CN 105323115 A CN105323115 A CN 105323115A
- Authority
- CN
- China
- Prior art keywords
- packet
- test
- sequence
- snmppdu
- script
- 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.)
- Withdrawn
Links
Classifications
-
- 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
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 data packet simulation method of a network management test event. The method comprises the following steps of obtaining a test script of the network management test event, wherein the test script comprises a test message sequence; respectively packaging each test message of the test message sequence in the test script to transmittable network data packets, and generating a test data packet sequence; and transmitting the test data packet sequence according to the test script. The invention also discloses a data packet simulation device of a network management test event. With the method and the device, network management test can be controlled flexibly, the network management test event is simulated effectively, network management test cost is reduced, and implementation of a network management test work is supported effectively.
Description
Technical field
The present invention relates to technical field of network management, particularly relate to a kind of packet analogy method and device of network management test event.
Background technology
Generally, in order to carry out network management alarm test, need to use computer modeling technique to simulate the alarm event in network, to reach test purpose.In order to energy simulation alarm event, usually need to simulate the network element in network by equipment simulating software, and make the analogue network element in equipment simulating software reach alarm triggered condition, send warning information; Wherein, described equipment simulating software also can be described as simulator.
Due to the simulation completely that equipment simulating software is to network element operation logic, therefore analogue network element needs to take a large amount of computational resources; Further, in order to the alarm triggered condition of analogue network element can be reached, usually also need to design and Implement very complicated network element operation logic, therefore, substantially increase network management alarm testing cost.Even so, be also difficult to the kind of control warning information flexibly, quantity forwarded and frequency, be difficult to simulate the alarm event reaching test request, thus network management alarm test effect can be affected.
In a word, existing alarm event modeling scheme had both needed the manpower and materials of at substantial, was difficult to again reach due network management alarm test purpose.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention expects the packet analogy method and the device that provide a kind of network management test event, can control network management test flexibly, efficient simulation network management test event, reduce network management test cost, effectively support carrying out of network management test work.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of packet analogy method of network management test event, the method comprises:
Obtain the test script of network management test event, described test script comprises test packet sequence;
Each test packet of test packet sequence described in described test script is packaged in the network packet that can be transmitted respectively, generates test data packet sequence;
Described test data packet sequence is sent according to described test script.
In such scheme, also comprise in described test script: the sending destination location of described test packet, analogue network element address;
Described each test packet by test packet sequence described in described test script is packaged in the network packet that can be transmitted respectively, generates test data packet sequence and comprises:
The content package of each test packet in test packet sequence is generated Simple Network Management Protocol snmp protocol data cell PDU sequence;
According to described test packet sending destination location, analogue network element address, SNMPPDU described in each is packaged into respectively in the network packet that can be transmitted, generates test data packet sequence.
In such scheme, also comprise in described test script: send mode and transmission interval;
Describedly send described test data packet sequence according to described test script and comprise:
Described test data packet sequence is sent according to described send mode and described transmission interval.
In such scheme, described test packet comprises warning message; Described warning message comprises: alarm type, alarm object mark and alarm data;
Describedly the content package of each test packet in test packet sequence generated SNMPPDU sequence comprise:
To each warning message in described test packet sequence, creating type is one by one that the SNMPPDU of trap is corresponding with it, alarm type in described warning message, alarm object mark and alarm data are put into described SNMPPDU corresponding with it, generates SNMPtrap sequence of data packet.
In such scheme, describedly SNMPPDU described in each to be packaged into respectively in the network packet that can be transmitted according to described test packet sending destination location, analogue network element address, to generate test data packet sequence and comprise:
Follow ICP/IP protocol, obtain the UDP message bag, IP packet, the ethernet data frame that are packaged with described SNMPPDU successively, will the ethernet data frame of described SNMPPDU be packaged with as test packet;
Each SNMPPDU in described SNMPPDU sequence is encapsulated one by one according to above-mentioned packaged type, using the Ethernet data frame sequence of generation as test data packet sequence;
Describedly send described test data packet sequence according to described test script and comprise:
According to described test script, based on winpcap network access system, send described Ethernet data frame sequence.
The embodiment of the present invention also provides a kind of packet analogue means of network management test event, and this device comprises: test script acquisition module, packet generation module and Packet Generation module; Wherein
Described test script acquisition module, for obtaining the test script of network management test event, described test script comprises test packet sequence;
Described packet generation module, for being packaged in the network packet that can be transmitted respectively by each test packet of test packet sequence described in described test script, generates test data packet sequence;
Described Packet Generation module, for sending described test data packet sequence according to described test script.
In such scheme, described test script acquisition module comprises:
Destination address acquiring unit, for obtaining the sending destination location of described test packet;
Source address acquiring unit, for obtaining the address of the analogue network element of described test packet;
Described packet generation module comprises:
SNMPPDU sequence generating unit, for generating SNMPPDU sequence by the content package of each test packet in test packet sequence;
Test packet sequence generating unit, for according to described test packet sending destination location, analogue network element address, is packaged into SNMPPDU described in each in network packet that can be transmitted respectively, generates test data packet sequence.
In such scheme, described test script acquisition module also comprises: send mode acquiring unit, for obtaining send mode and sending interval;
Described Packet Generation module comprises: Packet Generation unit, for sending described test data packet sequence according to described send mode and described transmission interval.
In such scheme, described test packet comprises warning message; Described warning message comprises: alarm type, alarm object mark and alarm data;
Described SNMPPDU sequence generating unit comprises:
SNMPtrap packet generates subelement, for to each warning message in described test packet sequence, creating type is one by one that the SNMPPDU of trap is corresponding with it, alarm type in described warning message, alarm object mark and alarm data are put into described SNMPPDU corresponding with it, generates SNMPtrap sequence of data packet.
In such scheme, described test packet sequence generating unit comprises:
Encapsulation subelement, for following ICP/IP protocol, obtaining the UDP message bag, IP packet, the ethernet data frame that are packaged with described SNMPPDU successively, will be packaged with the ethernet data frame of described SNMPPDU as test packet;
Sequence generates subelement, for encapsulating one by one according to above-mentioned packaged type each SNMPPDU in described SNMPPDU sequence, using the Ethernet data frame sequence of generation as test data packet sequence;
Described Packet Generation module also comprises: dataframe unit, for according to described test script, based on winpcap network access system, sends described Ethernet data frame sequence.
The packet analogy method of the network management test event that the embodiment of the present invention provides and device, being packaged into by test packet can by the packet of Internet Transmission, simulation test event is carried out by directly sending packet, so, greatly can reduce the cost needed for simulation test event, control the kind of test packet, quantity forwarded and frequency easily and flexibly, more realistically simulation test event, thus reach and better test effect.
Accompanying drawing explanation
The realization flow schematic diagram of the packet analogy method of the network management test event that Fig. 1 provides for the embodiment of the present invention;
The form schematic diagram of test packet in test script in the packet analogy method of the network management test event that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of SNMPtrapPDU is created in the packet analogy method of the network management test event that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the frame head of ethernet data frame is created in the packet analogy method of the network management test event that Fig. 4 provides for the embodiment of the present invention;
The composition structural representation of the packet analogue means of the network management test event that Fig. 5 embodiment of the present invention provides.
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention and technical scheme, be described in detail technical scheme of the present invention below in conjunction with drawings and Examples, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiment.Basic inventive embodiment, those of ordinary skill in the art obtain under the prerequisite not paying creative work so other embodiments, all belong to the scope of protection of the invention.
In the embodiment of the present invention, in order to complete network management test, network management test event be pre-set, and adopt test script to describe; Such as, network management alarm test be carried out, alarm test event will be pre-set, to reach test purpose; Wherein, described test script is the instrument for describing network management test event, is the basis of simulation test event.
Fig. 1 is the realization flow schematic diagram of the packet analogy method of network management test event provided by the invention; As shown in Figure 1, the method comprises the following steps.
Step 101, obtains the test script of network management test event;
Wherein, described test script comprises test packet sequence;
Concrete, obtaining the mode of test script, can be, after receiving the entry information of user for the every content of script, generate test script; Also can be import the script file write in advance according to certain format; Can comprise the data message sequence for simulation test event in the test script of network management test event, according to the difference of test purpose, test packet also changes thereupon.Generally, more than one test packet composition test packet sequence.
Further, carry out network management alarm test, the test packet in test script is warning message; Warning message comprises: alarm type, alarm object mark and alarm data.
In one embodiment, as shown in Figure 2, the message format in test script is: message first behavior title mark, the second behavior OID mark, below be 0 to the message data body of multirow; The data volume of often going comprises data type, data value and back end OID.
Such as, the message of RFC1213 middle port alarm up is as follows:
Type: standard alarm [interface UP] 1356074137:593202protocol (17) priority (0) hop (252) offset (0) ident (21316) UDP161>162
TrapOid:.1.3.6.1.6.3.1.1.5.4
SMI_INTEGER,6,.1.3.6.1.2.1.2.2.1.1.6
SMI_INTEGER,1,.1.3.6.1.2.1.2.2.1.7.6
SMI_INTEGER,1,.1.3.6.1.2.1.2.2.1.8.6
Further, also can comprise in test script: the sending destination location of test packet, analogue network element address; Wherein, sending destination location refers to the address of the network element receiving test packet in network management test, typically refer to the address of Network Management Equipment, but when the network element and the Network Management Equipment that send message be not at the same network segment, also can be the gateway address of the network element place network segment of transmission message; Analogue network element address refers to that simulation sends the address of the network element of test packet in network management test.When simulation more than one network element sends the event of message, analogue network element address is the network element address inventory sending message.
Further, also can comprise in test script: send mode and transmission interval; Send mode and transmission interval mainly control the form sending message, obtain by interactive interface or configuration file.
Step 102, is packaged in the network packet that can be transmitted by each test packet of test packet sequence in test script respectively, generates test data packet sequence.
Concrete, being packaged into by each test packet of test packet sequence in the test script got can by the packet of Internet Transmission, and all packet compositions are used for the test data packet sequence of network test.
Further, content package in each test packet is become to generate Simple Network Management Protocol (SimpleNetworkManagementProtocol, SNMP) protocol Data Unit (ProtocolDataUnit, PDU), generates SNMPPDU sequence; Again according to test packet sending destination location, analogue network element address, each SNMPPDU is packaged in the network packet that can be transmitted, generates test data packet sequence.
Further, encapsulation SNMPPDU follows ICP/IP protocol, obtains the UDP message bag, IP packet, the ethernet data frame that are packaged with a SNMPPDU successively, will be packaged with the ethernet data frame of described SNMPPDU as a test packet; Each SNMPPDU in SNMPPDU sequence is encapsulated one by one, using the Ethernet data frame sequence of generation as test data packet sequence.
Step 103, sends described test data packet sequence according to described test script.
Concrete, according to the send mode in test script and transmission interval, send the test data packet sequence constructed in a step 102.Wherein, send mode can be: all test packets first reading loading, is then loaded into the IP address of analogue network element; First test packet is all sent once with the identity of all analogue network elements; Second test packet sends once with the identity of all analogue network elements; Terminate to send after sending the transmission sum that the sum of packet reaches default.
The packet analogy method of the network management test event that above embodiment provides, being packaged into by test packet can by the packet of Internet Transmission, simulation test event is carried out by directly sending packet, so, greatly can reduce the cost needed for simulation test event, control the kind of test packet, quantity forwarded and frequency easily and flexibly, more realistically simulation test event, thus reach and better test effect.
In one embodiment, carry out network management alarm test based on winpcap network access system, need to allow analogue network element send SNMPtrap packet to Network Management Equipment and carry out simulation alarm event; Specifically comprise:
First obtain the test script of alarm test event, test script comprises: sending destination location, analogue network element address list, test packet sequence, send mode and transmission interval; Wherein, sending destination location is by sending arp acquisition request Network Management Equipment or the MAC Address of gateway and IP address; Analogue network element address is then an IP address list.
For convenient test, the IP address of connection can be selected in the IP address of analogue network element; Test packet sequence and warning message sequence, as shown in Figure 2, the content of warning message writes in test script the form of warning message in advance; Send mode is set to first test packet all to send once with the identity of all analogue network elements, and second test packet sends once with the identity of all analogue network elements, and the sum sending packet terminates to send after reaching default transmission sum; Transmission is set to 1 second.
Warning message is sent, so the possessive construction of warning message can not adopt the Packet Generation of operating system oneself and generating mode to construct owing to adopting winpcap mode.Need to carry out binding and layout according to trap message format, udp protocol and Ethernet protocol in snmp protocol voluntarily.Test packet construction process is as follows.
First construct a SNMPtrapPDU, wherein, PDU is made up of PDU type and multiple SNMP bound values (SnmpVarBind); Each SNMP bound values (SnmpVarBind) comprises OID and SNMP numerical value (SnmpVar) composition.SNMP numerical value (SnmpVar) point numerous types of data, often kind of building method difference, comprises (Integer32, OctetString, IpAddress, OID, Counter32, Gauge32, UnsignedInteger32, TimeTicks) type of standard.
Concrete, the process creating SNMPtrapPDU as shown in Figure 3, comprises the following steps:
Step 301, creates the PDU of a SNMP.
Step 302, arranging PDU type is trap.
Step 303, adds the SNMP bound values of transmitting time in PDU.
Step 304, adds the SNMP bound values of trapOID in PDU.
Step 305, circulation adds the SNMP bound values of data volume.
Except creating SNMPtrapPDU, also need the frame head of an establishment ethernet data frame, send for data, as shown in Figure 4, comprise the following steps:
Step 401, creates an ethernet data frame.
Step 402, arranging Ethernet data frame type is IP packet.
Step 403, inserts default source MAC;
Here, the MAC Address of all network elements is all identical; Owing to belonging to the management of more than three layers when trap reception, Layer 2 data frame is not verified, so in order to simulate conveniently, all adopt same default MAC Address.
Step 404, inserts target MAC (Media Access Control) address, i.e. Network Management Equipment MAC Address or gateway MAC address.
Here, after getting out the data frame head of SNMPtrapPDU and Ethernet, just the frame head of SNMPtrapPDU and ethernet data frame can be linked, generate the alarm test packet that can be transmitted; Wherein, the construction process of alarm test packet follows the ICP/IP protocol generation of standard.
Finally, the alarm test packet of generation is sent to Network Management Equipment according to the send mode preset and transmission interval, receives process by Network Management Equipment.
The packet analogy method of the network management alarm test event that above embodiment provides, warning message is packaged into successively SNMPtrapPDU, UDP message bag, IP packet, finally being packaged into can by the ethernet data frame of Internet Transmission, simulation test event is carried out by directly sending ethernet data frame, so, greatly can reduce the cost needed for simulation test event, control the kind of test packet, quantity forwarded and frequency easily and flexibly, simulation test event more realistically, thus reach and better test effect.
The composition structural representation of the packet analogue means of the network management test event that Fig. 5 embodiment of the present invention provides, as shown in Figure 5, this device comprises: test script acquisition module 51, packet generation module 52 and Packet Generation module 53; Wherein
Test script acquisition module 51, for obtaining the test script of network management test event, described test script comprises test packet sequence;
Packet generation module 52, for being packaged in the network packet that can be transmitted respectively by each test packet of test packet sequence described in described test script, generates test data packet sequence;
Packet Generation module 53, for sending described test data packet sequence according to described test script.
Further, in above-mentioned packet analogue means, test script acquisition module 51 also comprises:
Destination address acquiring unit, for obtaining the sending destination location of described test packet;
Source address acquiring unit, for obtaining the address of the analogue network element of described test packet;
Packet generation module 52 comprises:
SNMPPDU sequence generating unit, for generating SNMPPDU sequence by the content package of each test packet in test packet sequence;
Test packet sequence generating unit, for according to described test packet sending destination location, analogue network element address, is packaged into SNMPPDU described in each in network packet that can be transmitted respectively, generates test data packet sequence.
Further, in above-mentioned packet analogue means, test script acquisition module 51 also comprises: send mode acquiring unit, for obtaining send mode and sending interval;
Packet Generation module 53 comprises Packet Generation unit, for according to described send mode and described transmission interval, sends described test data packet sequence.
In one embodiment, test packet comprises warning message, and warning message comprises: alarm type, alarm object mark and alarm data; In above-mentioned packet analogue means, above-mentioned SNMPPDU sequence generating unit comprises:
SNMPtrap packet generates subelement, for to each warning message in described test packet sequence, creating type is one by one that the SNMPPDU of trap is corresponding with it, alarm type in described warning message, alarm object mark and alarm data are put into described SNMPPDU corresponding with it, generates SNMPtrap sequence of data packet.
Further, in above-mentioned packet analogue means, test packet sequence generating unit comprises:
Encapsulation subelement, for following ICP/IP protocol in above-mentioned packet analogue means, obtain the UDP message bag, IP packet, the ethernet data frame that are packaged with described SNMPPDU successively, will the ethernet data frame of described SNMPPDU be packaged with as test packet;
Sequence generates subelement, for encapsulating one by one according to above-mentioned packaged type each SNMPPDU in described SNMPPDU sequence, using the Ethernet data frame sequence of generation as test data packet sequence;
In above-mentioned packet analogue means, Packet Generation module 53 also comprises:
Dataframe unit, for according to described test script, based on winpcap network access system, sends described Ethernet data frame sequence.
Above-mentioned modules and unit in actual applications, all can realize by being arranged in the central processing unit (CPU) of network management test equipment, microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA).
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.
Claims (10)
1. a packet analogy method for network management test event, is characterized in that, described method comprises:
Obtain the test script of network management test event, described test script comprises test packet sequence;
Each test packet of test packet sequence described in described test script is packaged in the network packet that can be transmitted respectively, generates test data packet sequence;
Described test data packet sequence is sent according to described test script.
2. packet analogy method according to claim 1, is characterized in that, also comprises in described test script: the sending destination location of described test packet, analogue network element address;
Described each test packet by test packet sequence described in described test script is packaged in the network packet that can be transmitted respectively, generates test data packet sequence and comprises:
The content package of each test packet in test packet sequence is generated Simple Network Management Protocol snmp protocol data cell PDU sequence;
According to described test packet sending destination location, analogue network element address, SNMPPDU described in each is packaged into respectively in the network packet that can be transmitted, generates test data packet sequence.
3. packet analogy method according to claim 1, is characterized in that, also comprises in described test script: send mode and transmission interval;
Describedly send described test data packet sequence according to described test script and comprise:
Described test data packet sequence is sent according to described send mode and described transmission interval.
4. packet analogy method according to claim 2, is characterized in that, described test packet comprises warning message; Described warning message comprises: alarm type, alarm object mark and alarm data;
Describedly the content package of each test packet in test packet sequence generated SNMPPDU sequence comprise:
To each warning message in described test packet sequence, creating type is one by one that the SNMPPDU of trap is corresponding with it, alarm type in described warning message, alarm object mark and alarm data are put into described SNMPPDU corresponding with it, generates SNMPtrap sequence of data packet.
5. packet analogy method according to claim 2, is characterized in that,
Describedly SNMPPDU described in each to be packaged into respectively in the network packet that can be transmitted according to described test packet sending destination location, analogue network element address, to generate test data packet sequence and comprise:
Follow ICP/IP protocol, obtain the UDP message bag, IP packet, the ethernet data frame that are packaged with described SNMPPDU successively, will the ethernet data frame of described SNMPPDU be packaged with as test packet;
Each SNMPPDU in described SNMPPDU sequence is encapsulated one by one according to above-mentioned packaged type, using the Ethernet data frame sequence of generation as test data packet sequence;
Describedly send described test data packet sequence according to described test script and comprise:
According to described test script, based on winpcap network access system, send described Ethernet data frame sequence.
6. a packet analogue means for network management test event, is characterized in that, described device comprises: test script acquisition module, packet generation module and Packet Generation module; Wherein
Described test script acquisition module, for obtaining the test script of network management test event, described test script comprises test packet sequence;
Described packet generation module, for being packaged in the network packet that can be transmitted respectively by each test packet of test packet sequence described in described test script, generates test data packet sequence;
Described Packet Generation module, for sending described test data packet sequence according to described test script.
7. packet analogue means according to claim 6, is characterized in that, described test script acquisition module comprises:
Destination address acquiring unit, for obtaining the sending destination location of described test packet;
Source address acquiring unit, for obtaining the address of the analogue network element of described test packet;
Described packet generation module comprises:
SNMPPDU sequence generating unit, for generating SNMPPDU sequence by the content package of each test packet in test packet sequence;
Test packet sequence generating unit, for according to described test packet sending destination location, analogue network element address, is packaged into SNMPPDU described in each in network packet that can be transmitted respectively, generates test data packet sequence.
8. packet analogue means according to claim 6, is characterized in that, described test script acquisition module also comprises: send mode acquiring unit, for obtaining send mode and sending interval;
Described Packet Generation module comprises: Packet Generation unit, for sending described test data packet sequence according to described send mode and described transmission interval.
9. packet analogue means according to claim 7, is characterized in that, described test packet comprises warning message; Described warning message comprises: alarm type, alarm object mark and alarm data;
Described SNMPPDU sequence generating unit comprises:
SNMPtrap packet generates subelement, for to each warning message in described test packet sequence, creating type is one by one that the SNMPPDU of trap is corresponding with it, alarm type in described warning message, alarm object mark and alarm data are put into described SNMPPDU corresponding with it, generates SNMPtrap sequence of data packet.
10. packet analogue means according to claim 7, is characterized in that, described test packet sequence generating unit comprises:
Encapsulation subelement, for following ICP/IP protocol, obtaining the UDP message bag, IP packet, the ethernet data frame that are packaged with described SNMPPDU successively, will be packaged with the ethernet data frame of described SNMPPDU as test packet;
Sequence generates subelement, for encapsulating one by one according to above-mentioned packaged type each SNMPPDU in described SNMPPDU sequence, using the Ethernet data frame sequence of generation as test data packet sequence;
Described Packet Generation module also comprises: dataframe unit, for according to described test script, based on winpcap network access system, sends described Ethernet data frame sequence.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410375429.9A CN105323115A (en) | 2014-07-31 | 2014-07-31 | Data packet simulation method and data packet simulation device of network management test event |
PCT/CN2015/079463 WO2016015511A1 (en) | 2014-07-31 | 2015-05-21 | Method, apparatus and computer storage medium for simulating data packet in network management test event |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410375429.9A CN105323115A (en) | 2014-07-31 | 2014-07-31 | Data packet simulation method and data packet simulation device of network management test event |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105323115A true CN105323115A (en) | 2016-02-10 |
Family
ID=55216736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410375429.9A Withdrawn CN105323115A (en) | 2014-07-31 | 2014-07-31 | Data packet simulation method and data packet simulation device of network management test event |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105323115A (en) |
WO (1) | WO2016015511A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117181A (en) * | 2018-07-24 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of generation method and device of mark |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111698121B (en) * | 2020-06-10 | 2022-10-14 | 浪潮商用机器有限公司 | SNMP trap alarm test method and related device |
CN113626320A (en) * | 2021-07-28 | 2021-11-09 | 南京苏宁软件技术有限公司 | Automatic test method and device for TCP (Transmission control protocol) interface and computer equipment |
CN113535581B (en) * | 2021-07-30 | 2023-12-12 | 东风商用车有限公司 | Test script generation method, device, equipment and computer readable storage medium |
CN114615176B (en) * | 2022-03-07 | 2024-05-24 | 中银金融科技有限公司 | Message testing method and device and electronic equipment |
CN117119460B (en) * | 2023-10-23 | 2024-02-02 | 西安航空学院 | Industrial Internet network security detection system and method based on cloud computing |
CN117176507B (en) * | 2023-11-02 | 2024-02-23 | 上海鉴智其迹科技有限公司 | Data analysis method, device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845514A (en) * | 2005-04-07 | 2006-10-11 | 华为技术有限公司 | Software module testing method |
CN1863102A (en) * | 2005-12-28 | 2006-11-15 | 华为技术有限公司 | System and method for testing apparatus based on managing information base |
CN101056228A (en) * | 2007-06-22 | 2007-10-17 | 中兴通讯股份有限公司 | Test method and system for data device alarming |
CN101621370A (en) * | 2009-07-29 | 2010-01-06 | 金蝶软件(中国)有限公司 | Method and system for testing performance of business process as well as electronic device |
-
2014
- 2014-07-31 CN CN201410375429.9A patent/CN105323115A/en not_active Withdrawn
-
2015
- 2015-05-21 WO PCT/CN2015/079463 patent/WO2016015511A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845514A (en) * | 2005-04-07 | 2006-10-11 | 华为技术有限公司 | Software module testing method |
CN1863102A (en) * | 2005-12-28 | 2006-11-15 | 华为技术有限公司 | System and method for testing apparatus based on managing information base |
CN101056228A (en) * | 2007-06-22 | 2007-10-17 | 中兴通讯股份有限公司 | Test method and system for data device alarming |
CN101621370A (en) * | 2009-07-29 | 2010-01-06 | 金蝶软件(中国)有限公司 | Method and system for testing performance of business process as well as electronic device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117181A (en) * | 2018-07-24 | 2019-01-01 | 郑州云海信息技术有限公司 | A kind of generation method and device of mark |
Also Published As
Publication number | Publication date |
---|---|
WO2016015511A1 (en) | 2016-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105323115A (en) | Data packet simulation method and data packet simulation device of network management test event | |
Nayyar et al. | A comprehensive review of simulation tools for wireless sensor networks (WSNs) | |
CN103200190B (en) | A kind of cut-in method in kind towards QualNet network hardware-in-the-loop simulation | |
US8874776B2 (en) | Virtual ad hoc network testbeds for network-aware applications | |
CN104053164B (en) | Things-internet gateway test system and method | |
US20140343915A1 (en) | Test environment configuration apparatus and method of operating network simulation apparatus using same | |
WO2020048453A1 (en) | Network element management method and apparatus, system and storage medium | |
CN104243103A (en) | Method, system, transmitting terminal and receiving terminal for disconnected WIFI (wireless fidelity) data transmission | |
CN105162674A (en) | Method and network card for physical machine to access to virtual network | |
CN111756714A (en) | Flow replay type test method and test engine for industrial control protocol | |
CN114422010B (en) | Protocol testing method of satellite communication simulation platform based on network virtualization | |
CN107147533A (en) | A kind of flow table configuration distributing method and system based on SDN frameworks | |
CN104734986B (en) | A kind of message forwarding method and device | |
CN110224897A (en) | Vulnerable network test method, device, mobile device and the storage medium of application program | |
CN104639390A (en) | Method and device for testing system | |
CN105391601A (en) | Network management equipment performance testing method and system | |
CN102315981B (en) | Equipment and method for testing evolved packet core network equipment | |
CN105472054B (en) | A kind of file transmitting method and access device | |
CN109379239A (en) | The method and device of access switch is configured in a kind of OpenStack environment | |
CN110876155A (en) | Simulation system and method for wireless mesh network | |
CN109753012A (en) | A kind of processing machine long-range control method, apparatus and system based on cloud platform | |
CN102868559A (en) | Method and system for generating weblog data | |
CN106817316A (en) | The methods, devices and systems of detective path MTU | |
CN104301150A (en) | Network device configuration method | |
US9652264B2 (en) | Methods, systems, and computer readable media for providing a unified framework to support diverse data generation engines |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160210 |
|
WW01 | Invention patent application withdrawn after publication |