Method and equipment for rapidly resolving protocol based on carriage returns and line feeds

A protocol analysis and protocol technology, which is applied in the field of computer networks, can solve the problems of speeding up keyword search and slow search speed, and achieve the effect of improving the speed of protocol analysis
CN101827095BActive Publication Date: 2012-10-24BEIJINGNETENTSEC

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJINGNETENTSEC
Publication Date
2012-10-24

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a method and equipment for rapidly resolving a protocol based on carriage returns and line feeds. The method comprises the following steps of: searching a keyword of a protocol character stream by using a state machine; once a character is not matched with a state in the state machine, searching a carriage return-linefeed character starting from the mismatched character; continuously searching the keyword of the protocol character stream starting from the next character of the carriage return-linefeed character by using the state machine; and during the process of searching the keyword of the protocol character stream by using the state machine, if one or more characters of the protocol character stream are fully matched with one branch in the state machine, judging the one or more characters to be the keyword so as to finish resolving the protocol. Compared with the conventional method for resolving the protocol by using the state machine, the method for resolving the protocol provided by the invention has the advantage of greatly improving the protocol resolution speed, so the method for resolving the protocol can be widely applied to quick network protocol resolution.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to computer networks, in particular to network protocol analysis. Background technique

[0002] In a computer network, two entities that communicate with each other are located in different geographical locations, and the two processes on them communicate with each other. They need to coordinate their actions by exchanging information to achieve synchronization, and the information exchange must be in accordance with a pre-agreed agreement. Different computers must use the same network protocol to communicate. This kind of rules, standards or conventions established for data exchange in the network are called network protocols.

[0003] A network protocol refers to a collection of communication rules between all devices on the network, such as network servers, computers and switches, routers, firewalls, etc. It specifies the format that information must use during communication and the meaning of these formats.

[0004] The chara...

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