Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Terminal, server side and instant messaging method and system

A communication method and server-side technology, which is applied in the field of terminal, server and instant messaging methods and systems, can solve the problems of cumbersome program structure, large amount of programming, relatively high requirements for server memory and data processing, and achieve strong mobility and economical development cost, easy to achieve

Pending Publication Date: 2017-12-29
天津转知汇技术成果转化有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that the program structure is cumbersome and the amount of programming is large; at the same time, because each login client server needs to allocate threads and storage space, the memory and data processing requirements of the server are relatively high.

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
  • Terminal, server side and instant messaging method and system
  • Terminal, server side and instant messaging method and system
  • Terminal, server side and instant messaging method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048]The application 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 related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0049] 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. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0050] Please refer to figure 1 As shown in the flow chart of the first embodiment of this application, the instant messaging method provided by this application includes:

[0051] S1. Receive a user's web page access request;

[0052] S2, load the JS script and execute the corresponding JS scrip...

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 application provides a terminal, a server side and an instant messaging method and system. The method comprises the following steps: S1, receiving a webpage access request of a user; S2, loading a JS (JavaScript) script and executing the JS script; S3, constructing current information of the user into an original data packet through the JS script; S4, establishing a connection in an ajax way through the JS script, and transmitting the original data packet to the server side; S5, receiving a returned data packet transmitted by the server side through the JS script; S6, calling a callback function through the JS script in order to process and display the returned data packet; S7, judging whether the user inputs message information and requests transmission of the message information or not through the JS script, if not, executing the steps S3 to S7 repeatedly at an interval of 1 second, and if so, executing a step S8 and then executing the steps S4 to S7; and S8, constructing the current information of the user and the message information through the JS script to obtain the original data packet. The terminal, the server side and the instant messaging method and system are higher in mobility, do not occupy excessive server side resources, and can contribute to lowering of development cost.

Description

technical field [0001] The present application generally relates to the field of network technology, specifically relates to the field of webpage-based instant messaging technology, and in particular relates to a terminal, a server, and an instant messaging method and system. Background technique [0002] Instant Messaging (IM for short) is a real-time communication system that allows two or more people to use the network to transmit text messages, files, voice and video exchanges in real time. [0003] Real-time communication is also called instant messaging. For example, the popular Tencent QQ, WeChat, and Michat are all instant messaging tools. Initially, instant messaging tools are C / S architecture. Users need to download and install the application program of the communication tool on the terminal. Using it brings a lot of inconvenience to people, and the C / S structure is bloated, and the programming is cumbersome; therefore, a web version of the instant messaging tool ...

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/06H04L29/08
CPCH04L51/04H04L67/565H04L67/01
Inventor 邢继亮王春山王金磊史贵波顾申
Owner 天津转知汇技术成果转化有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products