TCP channel management system and method suitable for high-concurrency scenes

A management system and management method technology, applied in the field of TCP channel management system in high concurrency scenarios, can solve problems such as limited listening port size, process blocking, and fd number limitation

Inactive Publication Date: 2018-08-28
中电福富信息科技有限公司
View PDF13 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When doing network programming, there are four common calling methods: synchronous (Sync)/asynchronous (Async), blocking (Block)/non-blocking (Unblock). The difference between synchronous IO and asynchronous IO lies in whether the process is blocked during data access; blocking The difference between IO and non-blocking IO is whether the call of the application program returns immediately; select and epoll are solutions for multiple I/O multiplexing provided by the Linux kernel, and select essentially stores the data of the fd flag by setting or checking Disadvantage 1

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
  • TCP channel management system and method suitable for high-concurrency scenes
  • TCP channel management system and method suitable for high-concurrency scenes
  • TCP channel management system and method suitable for high-concurrency scenes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] like figure 1 As shown in or 2, the present invention discloses a TCP channel management system suitable for high concurrency scenarios, which includes an access gateway, message middleware, data analysis service and TSP business service, multiple clients connect to the access gateway, and connect The ingress gateway is connected to the message middleware, and the message middleware is respectively connected to the data analysis service and the TSP business service, and the access gateway provides client access, link legality verification and timeout management services;

[0025] The access gateway includes a receiver, socket management table, task pool and link detector. The receiver is used to start the monitoring service, accept client connection requests, join the epoll communication model, and monitor the socket link operation through the epoll event; the socket management table It is used to store the socket link information established by the client and the acces...

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 TCP channel management method suitable for high-concurrency scenes. The method comprises an access gateway, message middleware, a data analysis service and a TSP business service, wherein the access gateway is connected with a plurality of clients; the access gateway s connected with the message middleware; the message middleware is connected with each of the data analysis service and the TSP business service; and the access gateway is used for providing services such as client access, link validity verification and overtime management. According to the method, an epoll asynchronous communication model is adopted, a task pool, link table management and a link detector are imported, and a task queue pool and a multi-thread technology are combined, and a communication link is decoupled. The method is suitable for high-concurrency application scene characteristics and network communication technology background, and sufficiently considers the advantages and disadvantages of various technologies so as to adopt the advantages and avoid the disadvantages.

Description

technical field [0001] The present invention relates to the field of telecommunications, in particular to a TCP channel management system and method applicable to high concurrency scenarios. Background technique [0002] When doing network programming, there are four common calling methods: synchronous (Sync) / asynchronous (Async), blocking (Block) / non-blocking (Unblock). The difference between synchronous IO and asynchronous IO lies in whether the process is blocked during data access; blocking The difference between IO and non-blocking IO is whether the call of the application program returns immediately; select and epoll are solutions for multiple I / O multiplexing provided by the Linux kernel, and select essentially stores the data of the fd flag by setting or checking Disadvantage 1 is that the number of fds that can be monitored by a single process is limited, that is, the size of the listening port is limited; Disadvantage 2 is that the socket scans linearly, that is, t...

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): G06F9/54
CPCG06F9/542G06F9/546G06F2209/5018G06F2209/5011
Inventor 马汉铸
Owner 中电福富信息科技有限公司
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