Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Network message matching method of custom protocol application layer based on K-nearest neighbor

A technology for customizing protocols and network packets, applied in the field of network packet matching, it can solve the problems of long time consumption and low performance, and achieve the effect of improving performance, reliability and efficiency.

Pending Publication Date: 2022-05-20
BEIJING JIAOTONG UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method of polling for matching local protocols needs to traverse the local protocols, which takes a long time and has low performance

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
  • Network message matching method of custom protocol application layer based on K-nearest neighbor
  • Network message matching method of custom protocol application layer based on K-nearest neighbor
  • Network message matching method of custom protocol application layer based on K-nearest neighbor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] After discovering the above problems, the inventors of the present application conducted detailed research on the existing network packet matching methods of the user-defined application layer. The study found that by predicting the protocol type of unknown types of network packets, and then analyzing the network packet matching method according to the prediction results, the number of matches can be reduced, and the application layer data transmission performance of the custom protocol can be greatly improved.

[0046] There are three types of existing network packet protocol prediction methods, including time series prediction methods, traditional machine learning methods and deep learning prediction methods. Among the classical time series forecasting methods, there are mainly historical average method (HA), vector autoregressive model (VAR), moving average autoregressive model (ARIMA) and its variant models. These methods mainly predict the laws of the time dimensio...

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 provides a network message matching method of a custom protocol application layer based on K-nearest neighbor, and belongs to the field of data transmission. The method comprises the following steps: constructing a protocol type storage structure according to historical network messages, carrying out sequential numbering according to timestamps, obtaining a structure feature value and a value array of each protocol type, obtaining prediction protocols of K neighbors based on a K neighbor model, inputting the prediction protocols and feature values into a linear regression equation, and carrying out linear regression on the prediction protocols of K neighbors according to the linear regression equation; obtaining similar weights of a to-be-matched protocol and K prediction protocols, sorting the similar weights, obtaining a source IP and a destination IP of a to-be-matched message, querying corresponding protocol types, and forming U with the prediction protocols; matching the network message to be matched with the protocol in the U one by one, and when the matching is successful, transmitting data and returning a protocol type; and when the matching fails, the local protocols except the U are polled and matched until the matching is correct. According to the invention, the data transmission efficiency is improved while the transmission reliability and security are ensured.

Description

technical field [0001] The invention belongs to the field of message matching, and in particular relates to a network message matching method based on a K-nearest neighbor self-defined application layer. Background technique [0002] The internet uses multiple layers of protocol stacks for data transmission. With the complexity of the network, especially in some special scenarios, in order to ensure the security and efficiency of communication, the application layer protocol is usually customized and used as the communication carrier to transmit data. Although the custom application layer protocol has the characteristics of flexibility, it also brings difficulties to the protocol matching of network packets. Due to the standardization and stability of the protocol, the traditional transport layer protocol can be identified simply by the protocol number. Since the custom protocol is not standardized and unstable, it is possible to delete the old protocol or add a new protoc...

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 Applications(China)
IPC IPC(8): H04L69/22H04L69/18H04L69/329G06K9/62
CPCH04L69/22H04L69/18H04L69/329G06F18/22G06F18/24147Y02D30/50
Inventor 韩升林友芳万怀宇王晶董兴业武志昊吕凯张硕曹端鑫
Owner BEIJING JIAOTONG UNIV
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
Eureka Blog
Learn More
PatSnap group products