A message construction method based on xml network protocol representation

A network protocol and construction method technology, applied in the field of computer networks, can solve the problems of high cost, limited type of protocol data packet, inability to satisfy multi-protocol, multiple message types and diverse message content, etc.

Active Publication Date: 2019-12-10
NAT UNIV OF DEFENSE TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first is to use a packet capture tool to capture data from the network. This method is simple and easy, but it is difficult to obtain the network data packets we need
The second is to use packet sending software to generate network packets, such as sendip, nessus, ippacket, sniffer, etc., but the types of protocol packets supported by these software are limited, and the payload part of the protocol needs to be filled in manually, such as sendip software, the protocol it supports The data packet types are only: IPv4, TCP, UDP, RIP, and cannot support the commonly used protocol data packet types when testing routers and switches, such as: IPv6, ICMP, NTP, BGP, OSPF and other data packet formats
The third is to use dedicated hardware devices to generate high-speed traffic to meet the requirements of high-speed environment, but the equipment is complicated, the cost is expensive, the supported protocol data packet type is single, and the content of the data packet is basically fixed.
[0004] The above existing network data packet construction methods cannot meet the problems of network data packet construction with multiple protocols, multiple message types and message content diversity

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A message construction method based on xml network protocol representation
  • A message construction method based on xml network protocol representation
  • A message construction method based on xml network protocol representation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] In order to enable those skilled in the art to better understand the present invention, the technical solutions provided by the present invention will be specifically described below in conjunction with specific examples.

[0080] In this embodiment, the Transmission Control Protocol (Transmission Control Protocol, TCP) is a host-to-host layer transmission control protocol, which provides reliable connection services, and uses a three-way handshake to confirm the establishment of a connection. The packet format of the TCP protocol is as follows: Figure 9 shown. This embodiment does not consider the option part for now. The description of each flag in the control field of the TCP message is shown in Table 1:

[0081] Table 1 Flags and descriptions of the control field of the TCP message

[0082]

[0083]

[0084] combine Figure 10 with Figure 11 , the three-way handshake process of the TCP protocol is as follows:

[0085] The first handshake: When establis...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a message creation method for XML-based network protocol description. The method specifically comprises the following steps of 1, describing a MuPDM (Machine-understandable Protocol Description Method) document of a network protocol by adopting an XML-based network protocol description method; 2, establishing a network protocol message creation system through the XML-based protocol description method; and 3, creating network test messages required by different test cases based on the network protocol message creation system. Compared with the prior art, the method is capable of conveniently realizing modification and extension of protocol contents, has good universality and extensibility, is suitable for most protocols proposed at present, and can be used for network device message analysis, message detection of security detection devices, automatic message creation of network security test devices, and the like; and the method can be used for creating network data messages with various protocols, various message types and message contents diversity, and creating the network test messages required by the different test cases, thereby meeting the requirement of message contents diversity.

Description

technical field [0001] The invention belongs to the technical field of computer networks, in particular to a message construction method for constructing various types of network data packets for network equipment testing and network security testing. Background technique [0002] With the development of computer network technology, people have higher and higher requirements for the quality and stability of the network, and the stability of the computer network largely depends on the stability of the equipment network (such as routers, switches, etc.), so the network Equipment manufacturers and the stability of their network equipment put forward higher requirements. Therefore, the test of network equipment is a very important link for network equipment manufacturers, especially the final system test. Usually, when performing automated testing (system testing or regression testing) on ​​network products (mainly referring to routers, switches and gateways), especially networ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
CPCH04L69/03H04L69/06
Inventor 王飞陈曙晖唐勇罗艳李振兴张博锋刘宇靖
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products