Web instant communication method based on browser
A communication method and browser technology, applied in the direction of digital transmission systems, electrical components, transmission systems, etc., can solve the problems of heavy server burden and information cannot be provided in real time, and achieve the effect of reducing burden, reducing pressure, and improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] In order to make the purpose of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0022] Such as figure 1 As shown, the browser-based web instant messaging method flowchart of the present invention comprises the following steps:
[0023] S1. The user logs in to the browser client;
[0024] S2. The browser client initiates an http request to the server;
[0025] S3, the server obtains the http connection initiated by the thread processing browser client from the thread pool, and the server judges whether there is new information in its buffer, if so, then execute step S7; if not, then execute step S4;
[0026] S4, the server uses NIO technology to suspend the connection, and releases the thread to the thread p...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 