CN207150621U - A kind of instant communicating system based on long Connection Service independent - Google Patents
A kind of instant communicating system based on long Connection Service independent Download PDFInfo
- Publication number
- CN207150621U CN207150621U CN201721127176.9U CN201721127176U CN207150621U CN 207150621 U CN207150621 U CN 207150621U CN 201721127176 U CN201721127176 U CN 201721127176U CN 207150621 U CN207150621 U CN 207150621U
- Authority
- CN
- China
- Prior art keywords
- connection
- management server
- connection management
- instant
- instant communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The utility model discloses a kind of instant communicating system based on long Connection Service independent, including client, load balancing layer, connection management server and PC instant communication servers, the client passes through the connection corresponding with connection management server of load balancing layer;Connection management server is connected with PC instant communication servers;Load balancing layer is used for the connection request of dispatch user;PC instant communication servers include routing table, the connection pool of connection management server, and PC instant communication servers are used for completion message and receive and send service.The utility model alleviates the performance pressures of instant messaging service.
Description
Technical field
The utility model belongs to the long connection area of instant messaging, is related to a kind of for a large number of users while online to instant
The communication system of the performance pressures of Communications service, specifically a kind of instant communicating system based on long Connection Service independent.
Background technology
Current instant messaging service needs to keep long connection to realize instant messaging, and grow connection can consume bandwidth with
Hardware resource.With the popularization of mobile terminal, the mobile interchange user of power system is more and more, and a large amount of concurrent real-time communications are given
Instant messaging service brings great performance pressures.
The content of the invention
In order to alleviate performance pressures, meet the real-time Communication for Power requirement of millions user, the purpose of this utility model is to provide
A kind of instant communicating system based on long Connection Service independent, by needing to use XMPP length connections during instant messaging is serviced
Part processing growth Connection Service, be deployed on single server, to mitigate the performance pressures of instant messaging service;Simultaneously
, can also be by increasing the new server for deploying long Connection Service, to extend connection number in the case where connection number is inadequate.
The purpose of this utility model is achieved through the following technical solutions:
A kind of instant communicating system based on long Connection Service independent, it is characterised in that:The system includes client, born
Carry equalizing layer, connection management server and PC instant communication servers, the client and pass through load balancing layer and connection management
Server is corresponding to be connected;Connection management server is connected with PC instant communication servers;Load balancing layer is used for dispatch user
Connection request;PC instant communication servers include routing table, the connection pool of connection management server, PC instant communication servers
Service is received and sent for completion message.
Further, routing table record client forwards information to the road of instant messaging service end by connection management server
By;The connection pool of connection management server is used for preserving the connection of connection management server and instant communication server.
The beneficial effects of the utility model are as follows:
By needing to use the part processing growth Connection Service of XMPP length connections during instant messaging is serviced, list is deployed to
On only server, to mitigate the performance pressures of instant messaging service;Simultaneously in the case where connection number is inadequate, it can also pass through
The new server for deploying long Connection Service of increase, to extend connection number.The utility model alleviates millions user simultaneously
Online to the performance pressures of instant messaging service.
Brief description of the drawings
Fig. 1 is framework layering schematic diagram of the present utility model.
Embodiment
Below in conjunction with the accompanying drawing in the utility model, the technical scheme in the embodiment of the utility model is carried out it is clear,
Complete description.Obviously, described embodiment is only a part of the present utility model.Based on the implementation in the utility model
Example, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, is belonged to
The scope of the utility model protection.
A kind of instant communicating system based on long Connection Service independent, including client, load balancing layer, connection management
Server and PC instant communication servers, the client pass through the connection corresponding with connection management server of load balancing layer;Even
Management server is connect with PC instant communication servers to be connected;Load balancing layer is used for the connection request of dispatch user;PC is instant
Communication server includes routing table, the connection pool of connection management server, and PC instant communication servers receive for completion message
Serviced with sending.
Routing table record client forwards information to the route of instant messaging service end by connection management server;Connection
The connection pool of management server is used for preserving the connection of connection management server and instant communication server.
Instant communication method of the present utility model, content are as follows:
1)Long connection management server
Long connection management during original instant messaging is serviced is independent into special connection management server, the server
Dispose connection management service and preserve the connection of client and connection management server;
2)Load balancing layer
Load balancing layer is added between client and long connection management server, with the connection request of dispatch user, drop
The pressure of low a certain connection management server;
3)The connection pool of routing table and connection management server
Routing table is safeguarded at instant Communications service end, record client is forwarded information to immediately by connection management server
The route at Communications service end;The connection pool of connection management server is used for preserving connection management server and instant communication server
Connection;
4)Connection number is extended
Bottleneck is reached when connecting number, has extended connection number by adding a new connection management server, expand branch
Hold the quantity of client.
So that client sends single-point message as an example, specific implementation process of the present utility model is demonstrated.
The connection management server 1 1. client 1 is ined succession, client 3 are ined succession connection management server 3.Client 1, which is sent, to disappear
Hello is ceased to client 3.
2. connection management server 1, receive the transmission message request of client 1.
3. with the presence or absence of the company established in the connection management service viewing client-side connection pool in connection management server 1
Connect.If connection is existing, message is directly forwarded to connection management server 1 by the connection of acquisition.If connection is not present, establish
Message is sent after connection and preserves this and is connected to client connection pool.
4. instant communication server checks connection management connection pool, if connection management server 1 be present and arrives instant messaging
The connection of server.If in the presence of going to take the connection.It is not present, establishes connection, preservation is connected to connection management connection pool.
5. by the message Hello of client 1, by connection, instant communication server end is forwarded to.
6. the route of inquiring client terminal 3 in the routing table on instant communication server.
7. the connection of server and connection management server 3 is obtained in connection management connection pool.
8. message Hello is sent to connection management server 3.
9. connection management server 3 receives message Hello, inquiring client terminal connection pool, obtain connection management server 3 and arrive
The connection of client 3.
10. message Hello is sent to client 3.
Claims (2)
- A kind of 1. instant communicating system based on long Connection Service independent, it is characterised in that:The system includes client, load Equalizing layer, connection management server and PC instant communication servers, the client are taken by load balancing layer and connection management Being engaged in, device is corresponding to be connected;Connection management server is connected with PC instant communication servers;Load balancing layer is used for dispatch user Connection request;PC instant communication servers include routing table, the connection pool of connection management server, and PC instant communication servers are used Carry out completion message and receive and send service.
- 2. the instant communicating system according to claim 1 based on long Connection Service independent, it is characterised in that:Routing table Record client forwards information to the route of instant messaging service end by connection management server;The company of connection management server Connect the connection that pond is used for preserving connection management server and instant communication server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721127176.9U CN207150621U (en) | 2017-09-05 | 2017-09-05 | A kind of instant communicating system based on long Connection Service independent |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721127176.9U CN207150621U (en) | 2017-09-05 | 2017-09-05 | A kind of instant communicating system based on long Connection Service independent |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207150621U true CN207150621U (en) | 2018-03-27 |
Family
ID=61677226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721127176.9U Active CN207150621U (en) | 2017-09-05 | 2017-09-05 | A kind of instant communicating system based on long Connection Service independent |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207150621U (en) |
-
2017
- 2017-09-05 CN CN201721127176.9U patent/CN207150621U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016161857A1 (en) | Multi-tenant high-concurrency instant messaging cloud platform | |
CN105025023B (en) | A kind of meeting implementation method and conference system | |
CN101969463A (en) | Method for realizing whiteboard full-screen synchronization on web page | |
CN102355637A (en) | Mobile terminal instant communication processing method and device | |
CN105119926B (en) | A kind of multichannel duplex signaling method based on Socket connections | |
CN102307212A (en) | Method for realizing page-turning synchronization | |
CN104243281A (en) | Voice communication method based on mobile Internet | |
CN102404404A (en) | Distributed WEB application and remote equipment message communication method | |
CN105681260A (en) | Cloud storage file transmission method, fusion communication platform, sending end and system | |
CN101136870A (en) | Symbol based message transferring method and system | |
CN107579925A (en) | Message forwarding method and device | |
CN107483327A (en) | A kind of instant communication method based on long Connection Service independent | |
CN109151056A (en) | Information push method and system based on Canal | |
CN101945342A (en) | Customer premise equipment and method for implementing wireless multicast-to-unicast service thereof | |
CN207150621U (en) | A kind of instant communicating system based on long Connection Service independent | |
CN108924041A (en) | A kind of message efficient reliable diffusion method in instant messaging | |
CN106230915B (en) | A method of realizing function machine intelligence communication | |
CN103906011A (en) | Data sending and receiving device and method | |
CN102209048B (en) | Instant messaging system and method for realizing information sharing for users | |
CN101561919A (en) | Freight note express delivery system and express delivery method thereof | |
CN104283762A (en) | Method, system, client-side and server for transmitting instant messaging conversation content | |
CN206226468U (en) | Based on the instant communicating system that websocket is realized | |
CN105681382A (en) | Method, device and system for processing information through service platform under rich communication suit service | |
CN101764745B (en) | E-mail allopatry migration method of distributed e-mail box and system thereof | |
CN110737505B (en) | Virtual storage access method adopting virtual channel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |