Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Long connection message sending method, server and storage medium

A technology of message sending and long-term connection, which is applied in the field of communication, can solve problems such as message loss, and achieve the effect of avoiding message loss

Inactive Publication Date: 2020-04-28
XIAMEN WANGSU CO LTD
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a persistent connection message sending method, server and storage medium, which can solve the problem of possible message loss when the server in the distributed cluster sends the message

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
  • Long connection message sending method, server and storage medium
  • Long connection message sending method, server and storage medium
  • Long connection message sending method, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art can understand that in each embodiment of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0022] The first embodiment of the present invention relates to a metho...

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 embodiment of the invention relates to the technical field of communication, in particular to a long connection message sending method, a server and a storage medium. The long connection message sending method is applied to a server in a distributed cluster and comprises: receiving a target message pointing to a target terminal, and the target message comprising identity information of the target terminal; determining whether long connection with the target terminal is established or not according to the identity information; if so, sending the target message to the target terminal; and ifnot, broadcasting the target message to the distributed cluster, so that another server establishing long connection with the target terminal in the distributed cluster receives the target message and sends the target message to the target terminal. By adopting the embodiment of the invention, the problem of message loss possibly caused when the server in the distributed cluster issues the message can be solved.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for sending persistent connection messages, a server, and a storage medium. Background technique [0002] There are multiple servers with balanced load in the distributed cluster to maintain the stability of the system. The terminal on the client side can establish a long connection with any of the servers, and communicate and interact through the long connection; users can connect to the distributed cluster The server has established a long-connected terminal to send messages to realize operations such as controlling and arranging the terminal. However, the inventors found the following problems in related technologies: when a server receives a message pointing to a certain terminal, but the server has not established a long connection with the pointed terminal, the server will send messages randomly, which will cause the loss of 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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/141H04L67/145H04L67/143H04L67/1095H04L67/54
Inventor 周晓伟
Owner XIAMEN WANGSU CO LTD
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
Eureka Blog
Learn More
PatSnap group products