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

Method for realizing Socket session cluster communication based on star network and memory routing table

A star network, cluster communication technology, applied in star/tree network, data exchange network, data exchange through path configuration, etc., to achieve the effect of reducing complexity, improving stability, and enhancing controllability

Pending Publication Date: 2021-11-19
CHINA YOUKE COMM TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to solve the intercommunication problem of Sockets between clusters more cleverly without introducing third-party dependent components, and to provide a method for realizing Socket session cluster communication based on a star network and a memory routing table. The deployment method of the shape network, using one of the nodes as the central node to forward messages from different service nodes, realizes the mutual communication of different Sockets in the cluster

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
  • Method for realizing Socket session cluster communication based on star network and memory routing table
  • Method for realizing Socket session cluster communication based on star network and memory routing table
  • Method for realizing Socket session cluster communication based on star network and memory routing table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solution of the present invention will be specifically described below in conjunction with the accompanying drawings.

[0025] Such as figure 1 As shown, the present invention is a method for realizing Socket session cluster communication based on a star network and a memory routing table. Based on the deployment mode of a star network, one of the nodes is used as a central node to forward messages from different service nodes to realize a cluster Inter-communication between different Sockets in the network, that is, when sending a message, first try to obtain the bound sessionChannel according to the user ID. The message packet composed of the destination host and the received user information is sent to a central node for processing. The central node forwards the message to the destination host service node according to the destination host. After receiving the message, the destination host service node obtains the sessionChnnel sending information accor...

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 a method for realizing Socket session cluster communication based on a star network and a memory routing table. A star network deployment mode is innovatively introduced, a high-speed memory routing table is combined, and one node is deployed into a central node to forward messages, so the problem that Sockets cannot communicate with each other when the Socket sessions of the users are connected to different servers is solved, and mutual communication of the Socket sessions of the users among the different servers is realized. According to the method disclosed by the invention, the problem of mutual communication of Sockets among clusters is ingeniously solved under the condition that a third-party dependent component is not introduced by combining an application deployment mode of the star network with a high-speed memory routing table.

Description

technical field [0001] The invention relates to a method for realizing Socket session cluster communication based on a star network and a memory routing table. Background technique [0002] Existing methods and problems for implementing Socket inter-cluster communication; [0003] 1. Introduce the message queue component for message broadcasting [0004] At present, the implementation scheme of most companies in the market is based on the introduction of message queue components to realize inter-cluster Socket communication through broadcasting, that is, all server nodes subscribe to Topic-A. When client A wants to send a message to client B, the client End A is the Topic-A that sends the message to the message queue, and then each service node in the cluster will receive a copy of the broadcast data, and then try to send it, because the Socket connection is only on a certain service node, so only There is a service node that can send successfully. There are problems such...

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/803H04L12/741H04L12/44H04L45/74
CPCH04L69/162H04L12/44H04L45/54H04L47/125
Inventor 卢镇荣
Owner CHINA YOUKE COMM TECH
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