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

Instant messaging communication method based on Websocket protocol

A communication method and protocol technology, applied in the direction of digital transmission systems, electrical components, transmission systems, etc., can solve the problems of increasing databases, increasing system failures, and not being able to handle group messages well, reducing system failures and improving load balance. effect of ability

Inactive Publication Date: 2013-06-05
南京信通科技有限责任公司
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large number of active users on the website, the frequent access to the database will increase the pressure on the database and lead to an increase in system failures, and this method cannot handle group messages well

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
  • Instant messaging communication method based on Websocket protocol
  • Instant messaging communication method based on Websocket protocol
  • Instant messaging communication method based on Websocket protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Such as figure 1 and figure 2 As shown, the present invention provides a kind of instant messaging method based on Websocket agreement with respect to prior art, adds Websocket agreement and message queue service HornetQ between network communication layer and business logic layer and carries out message transmission; The webbit framework of the processing framework netty provides basic services of the websocket protocol. After the websocket handshake protocol succeeds, the client establishes a network link with the service and sends authentication login information. After the authentication is passed, the server starts the message queue service HornetQ, and logs the client into the user Join the waiting session queue to wait for the activation of the message, and return the message to the client through the websocket protocol after receiving the activation message.

[0019] The invention transmits instant message data through the firewall through the websocket protoc...

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 an instant messaging communication method based on a Websocket protocol. The instant messaging communication method based on the Websocket protocol comprises the following steps: adding the Websocket protocol and a message queue service HornetQ between a network communication layer and a business logic layer to start message transmission, using network based on an open source to process a webbit frame of a netty frame and to provide a basic service of the websocket protocol, after the success of a websocket handshaking protocol, a client side is linked with a service establishing network, sending authentication logging information, after successfully authenticating, a service end starts the message queue service HornetQ, and adding logging users of the client side to a waiting for conversation queue to wait for activation of the messages. After receiving the activated messages, the messages are returned to the client side through the websocket protocol.

Description

technical field [0001] The invention relates to a computer network processing technology, in particular to an instant messaging method based on the Websocket protocol in the education information industry. Background technique [0002] With the promotion of educational informatization and the rapid development of the mobile Internet in recent years, the communication bridge between parents and teachers established by the SMS, MMS and other channels of the school newsletter has become increasingly unable to meet the needs of parents. What parents need is to be able to communicate online Real-time communication with the teacher, a communication tool that can transmit pictures and voice. While protecting the privacy of users and teachers, they hope to be able to communicate with friends in real time on websites or mobile phones. At present, the website has several million registered users, and about 10,000 daily active users. The traditional servlet-based blocking technology u...

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): H04L12/58H04L29/06
Inventor 刘本中司震郑国松胡明慧刘斌宋炜伟
Owner 南京信通科技有限责任公司
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