Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed deployment method for browser instant messaging service

A distributed, browser-based technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as large to-do information, users cannot normally receive to-do notifications, and message processing modules cannot bear it, so as to improve processing effect of ability

Inactive Publication Date: 2017-11-21
CHINA SOUTHERN POWER GRID COMPANY +1
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the workbench went online, as the number of users increased, the number of to-dos began to increase sharply. The message processing module could not bear such a huge amount of to-do information, resulting in users being unable to receive to-do notifications normally.

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
  • Distributed deployment method for browser instant messaging service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] See figure 1 , a browser instant messaging service distributed deployment method,

[0014] Deploy nginx proxy redis publish and subscribe through websocket cluster, use nginx as a unified proxy, load balance to each server node, and use redis publish and subscribe to communicate with each websocket node to achieve high availability and the ability to quickly process pending information;

[0015] The user's websocket connection is load-balanced to different servers. When there are enough server nodes, it can accept more users' websocket request connection, so that more users can be online at the same time, and it will not go down during the busy period; because the websocket server The challenge that comes after distributed deployment is that instant messaging is affected. When user A is connected to the SA server node and needs to send a message to user B at the SB server node, it cannot be sent; using redis publish and subscribe is a good solution This issue enables t...

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 provides a distributed deployment method for browser instant messaging service. Through websocket clustering deployment, nginx agency and redis release and subscription, by adopting nginx as the unified agency, load is distributed to different server nodes in a balanced manner; through redis communication release and subscription, different websocket nodes achieve high availability and a capability of handling backlog information quickly. The invention has beneficial effects that a target of load balance is achieved; the handling capability of a backlog information server is improved dynamically and transversely and backlog information handling capability can be improved through increasing server nodes quickly; problems of low backlog information handling speed and crash due to sudden increase of backlog information of a prior server can be solved. The scheme can be adopted as a solution for demands of browser instant messaging for high availability and large concurrency. Technical difficulties in achieving high availability and large concurrency of instant messaging are reduced.

Description

technical field [0001] The invention belongs to a browser instant messaging service distributed deployment method technology. Background technique [0002] The unified to-do work of the workbench is one of the key functions of the workbench. By integrating with other 6+1 business systems, the workbench will centrally display the to-do work from the 6+1 business system, providing users with cross-platform work management Features. After the user logs in to the workbench, in the unified to-do function of the workbench, not only can he see the to-do tasks related to himself and from various business systems, but he can also directly process the work. In this way, it saves the trouble of completing all pending tasks only by logging into each business system in the past, and improves the overall work efficiency. [0003] It can be seen that the number of to-dos in the workbench is the sum of the to-dos in 6+1 other business systems. The number is huge, and the to-dos are real-t...

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/58H04L29/08
CPCH04L51/04H04L67/1001H04L67/56H04L67/568
Inventor 衡星辰李绪光林成虎李玉辉杜旭张鑫
Owner CHINA SOUTHERN POWER GRID COMPANY