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

Communication processing method and device

A technology for communication processing and processing results, applied in the field of network communication, can solve the problems of network server resource occupation, low processing efficiency, no effective technical solution, etc., to achieve the effect of improving efficiency and saving bandwidth

Active Publication Date: 2021-08-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1) In order to support the business of a large number of clients, the network server needs to frequently establish short connections with the clients for the clients to call the public gateway interface program and release useless short connections. The processing efficiency is low, resulting in a large occupation of network server resources ;
[0007] 2) Frequently transmitted requests from the client to the network server will occupy a large amount of communication bandwidth between the client and the network server
[0008] To sum up, there is no effective solution in related technologies for improving the efficiency of the client initiating requests to the web server and saving the communication bandwidth between the web server and the client.

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
  • Communication processing method and device
  • Communication processing method and device
  • Communication processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] Before the present invention is further described in detail, the nouns and terms involved in the embodiments of the present invention are described, and the nouns and terms involved in the embodiments of the present invention are applicable to the following explanations.

[0040] 1) A network socket is an endpoint that supports a network socket client (such as a browser client, a lottery quiz client) to communicate with a network server. The network socket requires at least 3 parameters to specify: Destination address of communication; port; network protocol.

[0041] For example, as far as the network socket between the network server and the client is concerned, it is a combination o...

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 communication processing method and device; the method includes: respectively establishing connections based on network sockets between the network server side and each client, and maintaining the connection established with each client; Receive the request sent by the corresponding client, each request carries the uniform resource locator of the public gateway interface program, and the request body; based on the uniform resource locator and the request header constructed from the information extracted from the connection, construct the request Object; pass the request object and the constructed response object to the public gateway interface program, and obtain the processing result of the public gateway interface program from the response object; construct a response to the request based on the response body constructed by using the processing result, and send the response to the corresponding The client returns a response. The implementation of the present invention can improve the efficiency of the client to initiate a request to the network server, and save the communication bandwidth between the network server and the client.

Description

technical field [0001] The invention relates to network communication technology, in particular to a communication processing method and device. Background technique [0002] The web server parses the client's request according to the hypertext transfer protocol, and responds to the request through the common gateway interface program, a static page or picture, and performs page jump (redirect), or delegates the generation of dynamic response (dynamic response) to Some other program, or some other server-side technology to generate a response (response) so that the browser can browse. [0003] In the above process, the client establishes a short connection with the process of the network server, sends a request to the process of the network server through the short connection, and receives a response carrying a processing result returned by the network server. [0004] The client and the process of the network server send a request to call the public gateway interface progr...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/145H04L67/146H04L69/162
Inventor 颜喆明黄若欣
Owner TENCENT TECH (SHENZHEN) CO LTD
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