Instant messaging method and system
A message and receiver technology, applied in the field of data processing, can solve problems such as complex structure, high development cost, and inability to use across platforms
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0029] figure 1 It is a schematic flowchart of a method for establishing a data feature database according to an embodiment of the present invention. refer to figure 1 , specific examples are as follows:
[0030] Between the sending end and the receiving end, the message is sent from the sending end to the receiving end in real time through the message queue middleware through the web protocol and the simple text-oriented message protocol.
[0031] The realization method of the present invention is accomplished through the combined technical means of "websocket+stomp+mq". As a new communication protocol in HTML5, WebSocket is composed of a communication protocol and a programming API. It can establish a two-way connection between the browser and the server, and endows the browser with native real-time communication capabilities in an event-based manner to expand Our web applications increase user experience and improve application performance. In this solution, the mobile ...
Embodiment 2
[0035] In another embodiment of the present invention, in addition to the above-mentioned processing method, the sending of the message from the sending end to the receiving end through the message queue middleware includes: the message middleware through A message gateway, for receiving the message sent by the sending end and forwarding the message to the receiving end, wherein the receiving end may be one user or multiple users.
[0036] Websocket is just a low-level protocol, lacks framework support, and is more complicated to use. Therefore, in this solution, the MQ message is introduced as the forwarding of instant messaging messages to ensure that messages will not be lost when the mobile phone is not connected to the Internet. At the same time, the MQ cluster feature provides level Scalability for higher performance and high availability. Data transfer between the Websocket client and MQ is carried out through the stomp protocol. STOMP is Simple (or Streaming) Text Orien...
Embodiment 3
[0040] In another embodiment of the present invention, in addition to the above-mentioned processing method, the message gateway integrates with an external system by using a Web interface or an Http rest interface.
[0041] Specifically, in addition to realizing the instant messaging function, the instant messaging within the enterprise often needs to be integrated with other business systems. There are two purposes of introducing the message gateway in this solution. One is to realize the permanent storage of messages. Although the message middleware (MQ) provides the cache function of messages, this is the characteristic of MQ itself. Its main purpose is to prevent message middleware from After an exception occurs, such as a downtime, the message will not be lost, and the flexibility of the message storage method and storage content often cannot meet the needs of enterprise applications. Therefore, this solution uses the message gateway to format and store messages at the ap...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com