Distributed instant communication method and system

A communication method and technology for a communication system, applied in the field of distributed instant communication methods and systems, can solve problems such as system crash, message processing time-out, business processing failure, etc., and achieve the effects of instant communication, improved throughput, and improved communication efficiency.

Inactive Publication Date: 2012-07-18
SUZHOU CODYY NETWORK SCI & TECH
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the instant messaging system interacts frequently, it will reduce the communication efficiency between the client and the server, resulting in time delay
In severe cases, there may even be an error of processing message timeout, which will lead to business processing failure and even system crash

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 instant communication method and system
  • Distributed instant communication method and system
  • Distributed instant communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0011] figure 1 Shown is a flowchart of a distributed instant messaging method provided according to a preferred embodiment of the present invention. Such as figure 1 As shown, the distributed instant messaging method provided by the preferred embodiment of the present invention includes steps 101-105.

[0012] In step 101, the client establishes a connection pool, and initializes the minimum and maximum values ​​of connections in the connection pool. Specifically, a cache area is established on the client side to store connections to access the server. Herein, the cache for storing connections is called a connection pool. In addition, the connection pool initializes the minimum and maximum numb...

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 instant communication method and a system. The communication method comprises the following steps that: client terminals establish a connection pool, and a minimum value and a maximum value of connection in the connection pool are initialized; when the client terminals have operation requests, the connection is obtained from the connection pool, so that the operation requests are executed; a control device timely calculates the number of the operation request of each client terminal in unit time; a server periodically resets the minimum value and the maximum value of the connection in the connection pool of the client terminals according to the number of the operation requests of all the client terminals in the latest unit time which is calculated by the control device; and the server adjusts the actual value of the connection in the connection pool according to the minimum value and the maximum value of the connection in the connection pool of the client terminals which are reset.

Description

technical field [0001] The invention belongs to the field of network communication, in particular to a distributed instant messaging method and system. Background technique [0002] At present, in the distributed instant messaging system, the client needs to communicate with the server frequently, for example, the user performs information query and notifies online friends through the client. When the instant messaging system interacts frequently, it will reduce the communication efficiency between the client and the server, resulting in time delay. In severe cases, there may even be an error of processing message timeout, which will lead to business processing failure and even system crash. Contents of the invention [0003] The present invention provides a distributed instant messaging method and system to solve the above problems. [0004] The invention provides a distributed instant messaging method. The above method includes the following steps: the client establis...

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
Inventor 胡加明
Owner SUZHOU CODYY NETWORK SCI & TECH
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