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

Interactive connection method and device based on active-active cluster, computer equipment and medium

A connection method and computer program technology, applied in transmission systems, electrical components, etc., can solve problems such as low data forwarding efficiency and low resource utilization

Pending Publication Date: 2022-07-29
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide an interactive connection method, device, computer equipment, and storage medium based on active-active clusters, aiming to solve the problems of low data forwarding efficiency and low resource utilization in multi-client connections

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
  • Interactive connection method and device based on active-active cluster, computer equipment and medium
  • Interactive connection method and device based on active-active cluster, computer equipment and medium
  • Interactive connection method and device based on active-active cluster, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0054] refer to figure 1 , an embodiment of the present application provides an interactive connection method based on an active-active cluster, the interactive connection method based on an active-active cluster includes steps S101-S106, and a detailed description of each step of the active-active cluster-based interactive connection method as follows.

[0055]S101. Receive a connection request from a client to connect to a server by using an interactive communication session protocol.

[0056] This embodiment is applied to the scenario where multiple clients establ...

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 field of communication data processing, in particular to an interactive connection method and device based on an active-active cluster, computer equipment and a storage medium, and the method comprises the steps: receiving a connection request of a client for connecting a server by using an intercommunication session protocol; analyzing a URL (Uniform Resource Locator) of the connection request, and obtaining a first connection parameter and a second connection parameter contained in the URL; determining an agent cluster in an active-active cluster according to the first connection parameter; sending the second connection parameter to the proxy cluster, and obtaining a target server instance corresponding to the second connection parameter; distributing the connection request to the target server instance through the proxy cluster; and obtaining feedback information of the target server instance, and establishing a long connection between the client and the target server instance based on the feedback information. According to the invention, efficient data forwarding can be realized, and the resource utilization rate of data interaction is improved.

Description

technical field [0001] The present application relates to the field of communication data processing, and in particular, to an interactive connection method, device, computer equipment and storage medium based on an active-active cluster. Background technique [0002] In today's computer applications, the application of WebSocket is very extensive. For example, multiple clients establish long connections with the server to realize the function of multi-person chat. At present, for similar message forwarding functions, most of them use a single server to support all connections. , resulting in the server not being able to achieve sufficient disaster tolerance and the server's lack of pressure capacity; or with the help of middleware, the speed of message forwarding depends on third-party middleware, and if the message content is too large, it is easy to be overwhelmed. If the middleware is broken, it is necessary to expand the server cluster and the middleware cluster at the ...

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): H04L67/141H04L67/146H04L67/148H04L51/043
CPCH04L67/141H04L67/146H04L67/148H04L51/043Y02D30/70
Inventor 刘杰
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
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