Unlock instant, AI-driven research and patent intelligence for your innovation.

Socket-based short connection communication method and device

A communication method and short connection technology, applied in the field of communication, can solve the problems of high development complexity and large system resources, and achieve the effect of less system resources and good robustness

Active Publication Date: 2021-06-18
CHINA CITIC BANK
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current multi-process or multi-threaded high-concurrency synchronous short-connection communication methods all occupy more system resources and require continuous process or thread management, resulting in high development complexity.

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
  • Socket-based short connection communication method and device
  • Socket-based short connection communication method and device
  • Socket-based short connection communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and should not be construed as limiting the present invention.

[0047] Those skilled in the art can understand that unless otherwise stated, the singular forms "a", "an", "the" and "the" used herein may also include plural forms, wherein "first", "second" and so on The definition of object distinction is only for the purpose of introducing a clear solution, and does not limit the object itself. Of course, the objects defined by "first" and "second" may be the same terminal, device, user, etc., or the same type of terminal, devices and users. It should be further understood that the word "comprisin...

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 relates to the technical field of communication, in particular to a socket-based short connection communication method and device. The method comprises the following steps: initializing a system event mechanism; monitoring a target interface of the server and registering a target event based on the socket; and according to the detected target event type, executing a target process matched with the target event type. The scheme disclosed by the invention occupies few system resources, does not need to manage creation and recovery of processes or threads, and is better in robustness.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a socket-based short connection communication method and device. Background technique [0002] At present, high-concurrency socket synchronous short-connection communication mainly adopts multi-thread or multi-process mode. The multi-thread mode is to establish a thread pool, and select a thread in the thread pool for each communication request to achieve high concurrent communication; the multi-process mode is to create a process every time a connection is established, and complete the socket short connection in the child process communication. However, the current high-concurrency synchronous short-connection communication methods implemented in a multi-process or multi-thread mode all occupy more system resources, and require continuous process or thread management, resulting in high development complexity. Contents of the invention [0003] The purpose of this appli...

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/06G06F9/54
CPCH04L69/162G06F9/546
Inventor 孙瑞浩石立宪
Owner CHINA CITIC BANK