Intelligent load distribution system and method for achieving TCP long connection and communication

A technology of intelligent allocation and long-term connection, applied in the field of network communication, can solve problems such as server crashes, increase in the number of connected clients, failure to take advantage of load balancing and horizontal expansion, etc., to ensure stability and reliability, and reduce development workload, to achieve horizontally scalable effects

Inactive Publication Date: 2014-03-05
FORYOU GENERAL ELECTRONICS
View PDF5 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the TCP long-connection mode, if the connection client directly hard-codes the IP address of the TCP communication server and the TCP communication port instead of being dynamically allocated by the interface of the communication platform, the server of the communication platform will not be able to take advantage of load balancing and horizontal expansion. , the increase in the number of connected clients at the same time may cause the server to crash directly or fail to accept new TCP connection requests from connected clients, and cannot accurately calculate the current active online connection of each service instance or hardware server, system resource consumption and current load

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
  • Intelligent load distribution system and method for achieving TCP long connection and communication
  • Intelligent load distribution system and method for achieving TCP long connection and communication
  • Intelligent load distribution system and method for achieving TCP long connection and communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. The accompanying drawings are only for reference and description, and do not constitute a limitation to the protection scope of the present invention.

[0042] Such as figure 1 As shown, in this embodiment, on the one hand, the present invention provides a load intelligent distribution system for realizing TCP long-connection communication, including:

[0043] The load distribution server is used to provide interface services based on the Http protocol. The interface calls the number of TCP connections of the TCP long-connection communication server and the business logic of load calculation, and calculates the IP of the TCP long-connection communication server that is currently most suitable for TCP connections. Addresses and TCP service ports are assigned to connected clients;

[0044] The basic information management module of the TCP communic...

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 provides an intelligent load distribution system and method for achieving TCP long connection and communication. The system comprises a load flow distribution server, a TCP communication server basic information management module, a TCP long connection and communication module and a data storage server, wherein the load flow distribution server is used for calculating the IP address of a TCP long connection and communication server which is best suitable for carrying out TCP long connection at present and distributing TCP server ports to clients; the TCP communication server basic information management module is used for setting basic information for a communication server, the TCP long connection and communication server and the number of allowable connections and the maximum offset information of the ports; the TCP long connection and communication module is used for dynamically calculating current loads and the number of allowable connections of the TCP long connection and communication server according to the set information of the number of connections of the TCP long connection and communication server; the data storage server is used for storing client information, service logic data, server basic information and user information. The intelligent load distribution system and method can achieve TCP long connection and communication through horizontal extension, TCP connection request dynamic allocation, server resource self-definition setting and real-time monitoring of the server loads.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to an intelligent load distribution system and method for realizing TCP long-connection communication. Background technique [0002] In the TCP long-connection mode, if the connection client directly hard-codes the IP address of the TCP communication server and the TCP communication port instead of being dynamically allocated by the interface of the communication platform, the server of the communication platform will not be able to take advantage of load balancing and horizontal expansion. , the increase in the number of connected clients at the same time may cause the server to crash directly or fail to accept new TCP connection requests from connected clients, and cannot accurately calculate the current active online connection of each service instance or hardware server, system resource consumption and current load. Contents of the invention [0003] The purpose...

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/06H04L12/24
Inventor 刘志坚
Owner FORYOU GENERAL ELECTRONICS
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