Message processing method and system

A message processing and message technology, applied in the field of communication, can solve the problem that a single message server can only serve a limited number of users, and achieve the effects of increasing message distribution capabilities, high availability, and high flexibility

Inactive Publication Date: 2016-07-06
SHENZHEN CHENRUI TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and system for message processing, aiming to solve the problem that a single message server in the message distribution system in the prior art can only serve a limited number of users

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
  • Message processing method and system
  • Message processing method and system
  • Message processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is a flow chart of the message processing method provided in Embodiment 1 of the present invention, specifically including steps S101 to S103, which are described in detail as follows:

[0023] S101. The management module monitors in real time whether the user access volume exceeds the threshold, and when it is detected that the user access volume exceeds the threshold, add and start the newly added connection service module in the connection service module group.

[0024] Specifically, the management module can be an independent management process, or a management server. The connection service module group includes several connection service modules. As a service node, the connection service module can be an independent service process or a server, and multiple service processes can be started at the same time or multiple servers can provide services.

[0025] A single connection service module can support a limited amount of user access, and the manageme...

Embodiment 2

[0037] figure 2 It is a flow chart of the message processing method provided in Embodiment 2 of the present invention, specifically including steps S201 to S204, which are described in detail as follows:

[0038] S201. The management module monitors in real time whether the user access volume exceeds the threshold, and when it is detected that the user access volume exceeds the threshold, add and start the newly added connection service module in the connection service module group.

[0039] In this embodiment, step S201 and the attached figure 1 The example step S101 is the same, and the related terms, concepts or technical features involved are completely the same as the related terms, concepts or technical features involved in the step S101, and will not be repeated here.

[0040]S202. The connection service module group establishes and maintains a real-time connection with the client.

[0041] Specifically, the client can connect to the connection service module in the ...

Embodiment 3

[0057] Figure 4 It is a schematic structural diagram of the message processing system provided by Embodiment 3 and Embodiment 4 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. Figure 4 The exemplary system for message processing may be the subject of execution of the message processing method provided in the first embodiment. Figure 4 The example system for message processing mainly includes: client 41, management module 42, connection service module group 43, communication module 44 and message processing module 45, each functional module is described in detail as follows:

[0058] The management module 42 is used to monitor in real time whether the user access amount exceeds the threshold, and when it is detected that the user access amount exceeds the threshold, add and start the newly added connection service module 431 in the connection service module group 43;

[0059] The conn...

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 technical field of communication, provides a message processing method and system, and aims to solve the problem that a single message server in a message distribution system in the prior art can only serve for a limited number of users. The method comprises the following steps that: a management module monitors whether a user access number exceeds a threshold value or not in real time, and newly adds a connection service module into a connection service module group and starts the newly-added connection service module when the user access number exceeds the threshold value; the connection service module group receives a message sent by a client, and forwards the message to a message processing module through a communication module; and the message processing module processes the message. Through the technical scheme provided by the invention, horizontal expansion can be realized on a same channel to support unlimited user connections, and high availability is achieved. Meanwhile, the connection service modules are separated from the message processing module, so that complete separation of client connections from logical processing is realized, and high flexibility is achieved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a message processing method and system. Background technique [0002] The existing commonly used HTML5 protocol can form a fast channel between the client and the server for direct data transmission, greatly improving the efficiency of instant messaging between the client and the server. [0003] In some applications that require high real-time message processing and forwarding, such as instant chat tools that support web pages, real-time synchronous whiteboards, and web games, a message server is usually required to be responsible for message processing and forwarding. However, a single message server can only serve a limited number of users. When a large number of users are online at the same time, and each message needs to be processed and forwarded to all users, as the number of users increases, the message server often fails because it is difficult to support ...

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): H04L12/58H04L12/801H04L29/08
CPCH04L51/04H04L47/12H04L67/1012H04L67/1046
Inventor 张嘉宸
Owner SHENZHEN CHENRUI TECH 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
Try Eureka
PatSnap group products