Chat data transceiving method

A data sending and receiving and data technology, applied in the field of communication, can solve problems such as being unable to connect a large number of users, and achieve the effects of improving security, strengthening auditing, and ensuring real-time performance

Active Publication Date: 2021-04-16
杭州金线连科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If a user maliciously sends a large amount of spam data, it will bring great pressure to the server
In addition, the number of connections is limited by the free ports of the server, and a large number of users cannot be connected

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
  • Chat data transceiving method
  • Chat data transceiving method
  • Chat data transceiving method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following are specific embodiments of the present invention and in conjunction with the accompanying drawings, the technical solutions of the present invention are further described, but the present invention is not limited to these embodiments.

[0033] figure 1 A system architecture diagram of a dual-channel chat system is shown. The system includes an authentication server, a Web server cluster, a zookeeper server, a communication server cluster, a message queue server cluster, a registration center, and a gateway. A Web server cluster consists of multiple Web servers. The communication server cluster is a distributed communication server cluster composed of multiple communication servers. N web server clusters and N communication servers form an N:N mapping relationship, that is, any web server can send to any communication server, and any communication server can receive connections from any web server. A message queue server cluster consists of multiple mes...

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 discloses a chat data transceiving method, and relates to the field of communication. The method is applied to a dual-channel chat system which an authentication server, a Web server cluster, a zookeeper server, a communication server cluster, a message queue server cluster and a registration center. The method comprises a chat data sending process: when the Web server receives chat data sent by a sending end through a Restful interface, packaging and sending the chat data to an idle communication server through a zookeeper server, enabling the communication server to unpack the chat data, sending the chat data to a receiver channel, requesting a registration center to search for other communication servers connected with a receiver, forwarding the chat data packet to other communication servers through a message queue server, and enabling the other communication servers to unpack and send chat data to a receiver channel; a chat receiving process: after the receiving end and the information of the communication server logged in by the receiving end are registered in the registration center, enabling the receiving end to wait for chat data sent by the communication server logged in. The method is safe in transceiving mode and good in real-time performance.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for sending and receiving chat data. Background technique [0002] In the existing chat system, the chat push service is deployed on a separate server, which provides external port and connection support through the TCP service, and all clients that need the chat service are also connected to the chat server through the TCP protocol, that is, the TCP dual Industrial communication realizes the sending and receiving of information. Due to the design of the TCP connection, once the connection is established, subsequent communications do not need to carry status information and can be sent directly. If a user maliciously sends a large amount of junk data, it will bring great pressure to the server. In addition, the number of connections is limited by the free ports of the server, and a large number of users cannot be connected. Contents of the invention [0003] A...

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/08H04L29/06
Inventor 徐新明
Owner 杭州金线连科技有限公司
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