Message processing method and device, computing equipment and readable storage medium

A computing device and message processing technology, applied in the field of computer communication, can solve the problems of TCP protocol data transmission WebSocket can not be unified, can not meet the server well, does not support WebSocket protocol, etc., to reduce writing, avoid R & D transformation work Effect

Active Publication Date: 2021-04-06
BEIJING CHESHANGHUI SOFTWARE
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Later, a netty-based WebSocket technology solution appeared. The Netty framework developed the WebSocket protocol stack based on the HTTP protocol stack. The first handshake request message is carried by the HTTP protocol. If the Upgrade field is not included in the message header or the value is not WebSocket, it means no. Supports the WebSocket protocol, which can be identified as the HTTP protocol, and realizes the unification of HTTP and WebSocket ports through the Netty framework, but if you want to support TCP messages at the same time, you need to complete it through a separate application
[0005] Although the above two technologies realize the unified interface of HTTP connection and WebSocket connection, they still cannot better meet the needs of the server to establish multiple connections and communicate at the same time. During the development process, TCP protocol data transmission cannot be unified with HTTP and WebSocket. There is still a lot of redundant code writing

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
  • Message processing method and device, computing equipment and readable storage medium
  • Message processing method and device, computing equipment and readable storage medium
  • Message processing method and device, computing equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0034] figure 1 A schematic diagram of a message processing system 100 according to an embodiment of the present invention is shown. Such as figure 1 As shown, the message processing system 100 includes a computing device 200, a client 110 (including a client 110-1, a client 110-2, and a client 110-3), wherein the client 110 is connected to the computing device 200 in communication, and the client It may be a smartphone, a tablet...

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 processing method, which is executed in computing equipment, the computing equipment is provided with at least one application server, each application server is bound with a port, the computing equipment establishes communication connection with a plurality of application clients through the port, and the communication connection has different connection types. A plurality of types of request messages are received through the port. The method comprises the following steps: monitoring the port to receive the request message sent by an application client; identifying a protocol type of the request message, wherein the protocol type of the message corresponds to a connection type of the communication connection; decoding the request message; converting the decoded message into a message in a predetermined format, so that an application running in the computing device processes the message in the predetermined format and generates a first response message; and converting the first response message into a second response message and sending the second response message to the corresponding application client. The invention further discloses a corresponding device, computing equipment and a readable storage medium.

Description

technical field [0001] The present invention relates to the field of computer communication, in particular to a message processing method, device, computing equipment and readable storage medium. Background technique [0002] In a business application system, if two application programs in the network want to complete communication, it is inevitable to establish a communication connection between the two application programs. Different types of connections are established depending on the type of data transfer between the two applications. The socket can provide end-to-end communication. The client binds a socket to establish a connection with the server according to the IP address and port provided by the server. The server creates another socket to bind the local port for monitoring. The client sends a connection to the server. Request to establish an end-to-end TCP connection with the server. Once the connection is established, there is no distinction between the client ...

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): H04L29/06H04L29/08
CPCH04L69/03H04L69/08H04L69/06H04L69/162H04L67/141H04L67/55
Inventor 窦国宁
Owner BEIJING CHESHANGHUI SOFTWARE
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