Communication processing method and device

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

Active Publication Date: 2017-06-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 12 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 communication processing method comprises the steps of respectively establishing network socket based connection between a network server side and each client, and keeping the established connection between the network server side and each client; receiving requests sent by the corresponding clients through the connection, wherein each request carries a uniform resource locator and a request body of a common gateway interface program; constructing a request object based on a request header constructed according to the uniform resource locator and information extracted from the connection; transferring the request object and a constructed response object to the common gateway interface program, and acquiring a processing result of the common gateway interface program from the response object; constructing a response for the request based on a response body constructed by using the processing result, and returning the response back to the corresponding client through the connection. By implementing the communication processing method, the request initiating efficiency of the clients towards the network server can be improved, and the communication bandwidth between the network server and the clients is saved.

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 Applications(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products