Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for determining port protocol

A technology of port protocol and determination method, which is applied in the computer field, and can solve problems affecting the reliability of proxy servers, increasing the packet loss rate, and reducing the efficiency of proxy servers in processing data packet forwarding, etc.

Active Publication Date: 2021-08-31
北京天空卫士网络安全技术有限公司
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: if the application layer protocol that the port should support cannot be identified when the proxy server port receives the application layer request or before receiving the application layer request, And based on the application layer protocol to process the request accordingly, it may reduce the efficiency of the proxy server in processing data packet forwarding, and even affect the reliability of the proxy server—for example, increasing the packet loss rate

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
  • Method and device for determining port protocol
  • Method and device for determining port protocol
  • Method and device for determining port protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0084] figure 1 It is a schematic diagram of the main flow of a method for determining a port protocol according to an embodiment of the present invention, and the flow is implemented by a proxy server. Such as figure 1 As shown, the method for determining the port protocol may specifically include the following steps:

[0085] Step S101, establishing a first connection...

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 method and a device for determining a port protocol, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: establishing a first connection between a client and a proxy server and a second connection between the proxy server and a server; monitoring data in the first connection and the second connection so as to determine a protocol type corresponding to a port of the proxy server according to the connection of which the data is firstly monitored; analyzing data monitored from the connection according to the protocol type so as to determine a protocol supported by the port of the proxy server; and processing the request received by the port of the proxy server according to the determined protocol. According to the embodiment, the application layer protocol pointed by the port can be identified before the request is processed, so the efficiency and the reliability of processing the data packet by the proxy server are improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for determining a port protocol. Background technique [0002] Generally speaking, when using a proxy server to forward requests or messages between the client and the server, it is necessary to enable the proxy server to start the port service, that is, it is necessary to clearly target the connection between the client and the server, and the proxy server port should support The application layer protocol, such as HTTP protocol, SMTP protocol, POP3 protocol, IMAP protocol, etc. Since there are many types of application layer protocols that a port can support, and the processing operations for requests of different application layer protocols are also different, it is necessary to identify the protocol that the port should support as early as possible, so as to respond to the received client request according to the protocol that the port should support. O...

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): H04L12/24H04L12/26H04L29/06
CPCH04L41/04H04L43/10H04L69/18
Inventor 杨建柴社荣徐超
Owner 北京天空卫士网络安全技术有限公司