A method, device and system for instant messaging

A technology of short message and short message verification code, which is applied in the field of instant messaging, can solve the problems of high resource occupation and unusable small memory environment, and achieve the effect of improving flexibility and versatility

Active Publication Date: 2019-01-15
SHGENZHEN ZHAOHUA ELECTRONICS TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the deficiencies in the prior art, provide a method, device and system for instant communication, and solve the problem in the prior art that cannot be used in a small memory environment due to high resource occupation

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
  • A method, device and system for instant messaging
  • A method, device and system for instant messaging
  • A method, device and system for instant messaging

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 It is a flow chart of the method of Embodiment 1 of the present invention, such as figure 1 As shown, the method includes:

[0027] S101. The client sends a registration request to the server, and the registration request includes the client's International Mobile Subscriber Identity IMSI and Mobile Subscriber International Number MSISDN, so that the server sends a short message request to the short message service platform;

[0028] S102. The client receives the SMS verification code of the SMS service platform, sends the SMS verification code to the server, and completes the registration service;

[0029] S103, the client splits and encodes the file to be sent based on Base64 (one of the encoding methods used to transmit 8Bit byte codes), and splits the file into one or more sub-packages of the same size , and add different file headers to different sub-file packages, and transmit the one or more sub-file packages to the server in time sharing through the e...

Embodiment 2

[0051] The embodiment of the present invention provides a method for client instant communication. In the instant communication method, the execution subject is a client, and the client may be a mobile terminal. The client sends messages based on the XMPP protocol and has good scalability. , without converting its format, it can realize message communication with software such as facebook. For this client, it has the following major functions:

[0052] GUI: 20 kinds of GUI components are implemented through the GDI drawing API provided by MediaTek’s MTK software platform. Each component uses a structure to define the object structure, and each object contains the same basic properties, which are DrawHandler, KeyEventHandler and control position information Coordinator , and a private data pointer. When the key event arrives, it traverses the controls belonging to the current page according to the current page, and executes the KeyEventHandler of the control. If it is determin...

Embodiment 3

[0120] Figure 7 It is a composition diagram of the client (which may be a mobile terminal) in Embodiment 3 of the present invention, as Figure 7 As shown, the client includes:

[0121] The sending module 701 is used to send a registration request to the server, the registration request includes the client's international mobile subscriber identity code IMSI and the mobile subscriber international number MSISDN, so that the server sends a short message request to the short message service platform;

[0122] The receiving module 702 is used to receive the short message verification code of the short message service platform, send the short message verification code to the server, and complete the registration service;

[0123] The coding module 703 is used to split and encode the files to be sent based on the Base64 method, split the files into one or more sub-packages of the same size, and add different file headers to different sub-packages , using the extensible communica...

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 an instant messaging method. The instant messaging method comprises the following steps: communicating by a client and a server; finishing registration; performing file package splitting and coding on a file to be sent based on a Base64 mode; splitting the file package into one or multiple sub file packages of the same size, and adding different file headers to different sub file packages; and transmitting one or multiple sub file packages to a server through an XMPP (Extensible Messaging and Presence Protocol) in a time sharing way, so that the server can package the received one or multiple sub file packages into a file package, forward the file package to other clients, and finish end-to-end instant messaging. The instant messaging method provided by the invention can be used smoothly under a small memory environment and improve the flexibility of a terminal.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to an instant messaging method, device and system. Background technique [0002] As a commonly used software, instant messaging IM software has been widely used in our lives. Through this software, people can chat anytime and anywhere, and communication becomes very convenient. At present, there are ICQ-based QQ, WeChat, and software such as Whatsapp and Plamchat that are often used abroad. [0003] In the prior art, smart phone platforms such as the android operating system adopt a dynamic loading method to install and use IM. For example, QQ, which is more commonly used, uses a self-defined binary packaging protocol for communication, and its advantage is to send The required traffic is small and the confidentiality is good, but because its protocol encapsulation output is binary, it is not compatible with other IM software formats, which is not conducive to mutual c...

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): H04L12/58H04W4/12H04W4/14
CPCH04L51/04H04W4/12H04W4/14
Inventor 张阳
Owner SHGENZHEN ZHAOHUA ELECTRONICS TECH CO LTD
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