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

Request message processing, sending method and device

A technology for requesting messages and processing methods, which is applied in the field of communication and can solve the problems that data cannot break through the restrictions of firewalls, the total number of concurrent requests is difficult to break through, and no solutions have been proposed.

Active Publication Date: 2019-05-24
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, the data cannot break through the restrictions of the firewall.
And even if there is no firewall restriction, if the client specifies to receive data from a certain port of the server, it will cause the client to fail to receive data
[0015] (2) For each request sent by the client, the server needs to allocate a new port. Since the port resources are limited (up to 65535), even if the server performance is good and the processing program is efficient, the server only has In the case of one IP address, the total number of concurrent requests will hardly exceed the limit of 65535
[0016] For the above problems, no effective solution has been proposed

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
  • Request message processing, sending method and device
  • Request message processing, sending method and device
  • Request message processing, sending method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0042] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 request message processing and sending method and device. Wherein, the method includes: creating a global UDP socket on a preset port of the server; using the global UDP socket to monitor the request message sent by the client; creating a temporary UDP socket for the monitored request message, and passing the UDP Ephemeral sockets to communicate with clients. The invention solves the technical problem that there is a lack of an efficient concurrent solution in the related art, which can not only meet the data distribution requirements, but also break through the limitations of network ports and firewalls.

Description

technical field [0001] The present invention relates to the field of communications, in particular to a method and device for processing and sending request messages. Background technique [0002] User Datagram Protocol (UDP for short) is a simple datagram-oriented unreliable protocol in the transport layer. Compared with Transmission Control Protocol (Transmission Control Protocol, referred to as TCP), UDP data transmission is more efficient and faster. Especially for transmission scenarios such as online games, audio, and video, more emphasis is placed on transmission performance rather than transmission integrity, so UDP is a better choice. However, most UDP server programs run iteratively. The server first needs to wait for a client request, then read the client request, then process the client request, and finally return the client response corresponding to the client request, and then wait for the next one to arrive. of customer requests. If the processing of one cl...

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/06H04L29/08
CPCH04L67/1078H04L69/162H04L67/568
Inventor 刘光亮杨俊伟
Owner NETEASE (HANGZHOU) NETWORK 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