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

A load intelligent distribution system and method for realizing tcp long connection communication

A technology of intelligent allocation and long connection, applied in the field of network communication, which can solve the problems of inability to accurately calculate service instances or online connection lines of hardware servers, inability to accept TCP connection requests from connecting clients, and inability to take advantage of load balancing and horizontal expansion. , to ensure the security of access rights and information interaction, achieve horizontal expansion, and reduce the development workload.

Inactive Publication Date: 2017-05-03
FORYOU GENERAL ELECTRONICS
View PDF6 Cites 0 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
  • A load intelligent distribution system and method for realizing tcp long connection communication
  • A load intelligent distribution system and method for realizing tcp long connection communication
  • A load intelligent distribution system and method for realizing tcp long connection communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 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.

[0041] 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:

[0042] 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, the business logic of load calculation, and calculates the IP address of the TCP long-connection communication server that currently meets the load requirements, The TCP service port is assigned to the client for TCP connection; the basic information management module of the TCP communication server p...

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 Patents(China)
IPC IPC(8): H04L29/06H04L12/24
Inventor 刘志坚
Owner FORYOU GENERAL ELECTRONICS
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