Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network protocol internal proxy forwarding method and device, medium and terminal equipment

A technology of network protocol and forwarding method, which is applied in the field of proxy forwarding method, media and terminal equipment, and devices within the network protocol, which can solve the problems of inconvenient use for users and complicated port connection methods, and achieve the effect of improving the convenience of use

Inactive Publication Date: 2020-01-10
广州江南科友科技股份有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a network protocol internal agent forwarding method, device, medium and terminal equipment. Multiple protocols are supported in one port, and the protocols used are distinguished by judging the message format and forwarded to different functional modules. Process to solve the technical problem that the traditional one-to-one port connection method between the application and the server is complicated and inconvenient for users to use, so as to realize the support of multiple message protocols on the same port, thereby improving the convenience of users sex

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 protocol internal proxy forwarding method and device, medium and terminal equipment
  • Network protocol internal proxy forwarding method and device, medium and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Embodiment 1, the client application program sends to the server the message containing the TLS domain and adopting the HTTPS protocol;

[0051] will go through the following steps:

[0052] 1. The client application sends a request https message;

[0053] 2. After receiving the message, the server application program parses the message;

[0054] 3. The server application program forwards according to the message format and distinguishes the protocol;

[0055] Specifically: the message contains a TLS protocol message for TLS unpacking, and after unpacking, it is distinguished that the data field in the message is a message using the http protocol; the data field in the message uses the http protocol, then forwarded to the http module for processing;

[0056] 4. The server application program performs business processing.

Embodiment 2

[0057] Embodiment 2, the client application program sends a TCP message to the server, and does not contain a message in the TLS domain;

[0058] will go through the following steps:

[0059] 1. The client application sends a request TCP message;

[0060] 2. After receiving the message, the server application program parses the message;

[0061] 3. The server application program forwards according to the message format and distinguishes the protocol;

[0062] Specifically: the message does not have a TLS protocol message, and it is distinguished that the data field in the message is a non-http protocol message; the data field in the message is not a http protocol message, then it is forwarded to the TCP module for processing;

[0063] 4. The server application program performs business processing.

Embodiment 3

[0064] Embodiment 3, the client application program sends an http message to the server, which does not contain a TLS domain message;

[0065] will go through the following steps:

[0066] 1. The client application sends a request http message;

[0067] 2. After receiving the message, the server application program parses the message;

[0068] 3. The server application program forwards according to the message format and distinguishes the protocol;

[0069] Specifically, the message has no TLS protocol message, and it is distinguished that the data field in the message is an http protocol message; the data field in the message uses the http protocol, which is then forwarded to the http module for processing;

[0070] 4. The server application program performs business processing.

[0071] The technology of the present invention realizes the support of multiple protocols in one port. The application program can send information of different protocols to this port only if it ...

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 network protocol internal proxy forwarding method. The method comprises the following steps: receiving and obtaining a request message sent from a client application program;analyzing the request message to obtain a message format; distinguishing a message protocol to carry out forwarding processing according to the message format; performing service processing accordingto the content of the distinguishing protocol. According to the invention, a plurality of protocols are supported to be completed in one port; through judging message format, the used protocols are distinguished and forwarded to different functional modules to be processed, so that the technical problems that a traditional one-to-one port connection method adopted for connection between an application and a server is complex and a user inconveniently uses the protocols are solved, the support of multiple message protocols on the same port is realized, and the use convenience of the user is further improved.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a network protocol internal agent forwarding method, device, medium and terminal equipment. Background technique [0002] The traditional server-side network software provides an access port for each different network protocol, and each port can parse the message format of the corresponding protocol, such as the http port can only provide http service requests, and the tcp port can only support the tcp network ask. Every time the server software adds support for a network protocol, the corresponding port must be opened as the service provider port. Each protocol is implemented on a different port, which wastes resources on the server side; at the same time, it brings configuration complexity for client applications that need to access multiple protocol services at the same time. Such an implementation method increases the workload and brings inconvenience to the d...

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
IPC IPC(8): H04L29/06H04L29/08
CPCH04L69/18H04L69/22H04L67/562
Inventor 陈文东朱国华杨武李文俊李志晖
Owner 广州江南科友科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products