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

Instant messaging method, device and system

A server and hypertext transmission technology, applied in the Internet field, can solve problems such as waste of background server resources, affect user experience, and reduce web page loading speed, improve compatibility and user experience, improve real-time information interaction, and speed up loading speed. Effect

Active Publication Date: 2015-01-14
BEIJING FEINNO COMM TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, the client uses the js timer method to request the background server for data interaction, which makes the information interaction delay in the chat process relatively large and unresponsive, resulting in an increase in the repeated sending of information, thereby causing a waste of background server resources. At the same time, it will also reduce the loading speed of the webpage, and the compatibility with other browsers is poor, which affects the user experience

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
  • Instant messaging method, device and system
  • Instant messaging method, device and system
  • Instant messaging method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] A method, device, and system for instant messaging provided by embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0022] Such as figure 1 As shown, it is a method for instant messaging provided by the embodiment of the present invention; the method includes:

[0023] 101: The hypertext transfer protocol server receives the asynchronous request sent by the client; the client sends the asynchronous request using AJAX (Asynchronous JavaScript and XML, a webpage development technology for creating interactive webpage applications);

[0024] 102: According to the asynchronous request, the hypertext transfer protocol server establishes a persistent connection with the client; the persistent connection established between the hypertext transfer protocol server and the client is implemented by a servlet container.

[0025] 103: The HTTP server forwards the asynchronous request to a socket server, and the socket...

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 discloses an instant messaging method, a device and a system, which relate to the technical field of the internet. The instant messaging method provided by the embodiment of the invention comprises the following steps that: a hyper text transfer protocol server receives an asynchronous request transmitted by a client side; according to the asynchronous request, persistent link is built between the hyper text transfer protocol server and the client side; the hyper text transfer protocol server forwards the asynchronous request to a socket server; the socket server carries out data processing to the asynchronous request; and when the socket server finishes data processing, the hyper text transfer protocol server receives a response message returned from the socket server and forwards the response message to a client side corresponding to the hyper text transfer protocol server. According to the embodiment disclosed by the invention, information interaction instantaneity can be improved, background server resource waste is reduced, the webpage loading rate is quickened, and the compatibility and the user experience with other browsers are improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an instant messaging method, device and system. Background technique [0002] With the continuous development of Internet technology, chatting online has become one of the important ways for people to communicate. Correspondingly, various instant messaging tools are also applied. In particular, in order to break through the port restrictions of the LAN firewall, a web-based instant messaging tool appeared on the Internet. The instant messaging tool of the webpage version does not need to install a client, and can pass through the firewall through HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and directly realize online chatting on the browser. At present, the core system of the more common web version instant messaging tools in China is usually based on UDP (User Datagram Protocol, User Datagram Protocol) plus thread pool structure, using the Internet's ...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/58
Inventor 黄继德李天翼李攀户起龙蔡志国
Owner BEIJING FEINNO COMM TECH