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

Method for realizing mobile instant messaging by socket direct connection of mobile phone

A mobile phone and data communication technology, applied in message/mail/announcement, digital transmission systems, electrical components, etc., can solve the problems of power consumption of mobile phones, difficult to grasp heartbeat time, slow communication speed, etc., to eliminate untimely updates and save money. The effect of mobile phone power and avoiding time delay

Inactive Publication Date: 2007-11-14
蒋晓海
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. Using HTTP short connection, the server cannot actively send messages to the client, but can only passively wait for the client to fetch messages. Instant messaging has actually become a pseudo-real-time communication, that is, there will be a certain delay between sending and receiving messages
[0007] 2. Moreover, due to the characteristics of the mobile data network, when there is no data communication between the client and the server for a period of time, the connection is automatically in a "sleeping" state. At this time, the automatic update of the user's status cannot be guaranteed, and the user's status cannot be satisfied. Know the needs of user status at all times during communication, such as online, offline, away, busy and other status needs
The length of this "heartbeat time" is difficult to grasp
If the "heartbeat time" is too long, the time from when one client sends information to when other clients receive information will be prolonged, resulting in delays in receiving instant messaging messages
If the "heartbeat time" is too short, the frequent connection between the mobile client and the server will increase the traffic of the mobile network by sending data information, which will bring huge pressure to the network and cause slow communication speed.
Moreover, the mobile phone client will consume the power of the mobile phone every time it establishes a connection with the server through the mobile data network or initiates a request. When the mobile phone makes frequent requests, the power consumption will be fast.

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
  • Method for realizing mobile instant messaging by socket direct connection of mobile phone

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0035] The present invention adopts the Socket direct connection mode to carry out the mobile phone communication, and is a solution to realize the instant sending and receiving of information through the cooperation of the client and the server. After the mobile phone logs into the client, the client establishes a connection with the server. When the user needs to communicate, use the client to send information such as text, pictures, voice, video or attachments to the server. The server judges whether the receiving client is in a normal state. If it is in a normal state, the server pushes the information to the receiving client. In this push process, the server does not store information, and directly transmits it to the receiving end in the form of information flow. If the user does not need to communicate for a long time, in order to ensure that the conn...

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 method for implementing mobile instance communication (MIC) by using handset in Socket direct connection mode in order to overcome shortcomings existed in MIC by using handset in HTTP short connection mode recently. Characters are that using Socket mode, the handset builds connection with server; when data communication is carried out, sending party sends information to server, the server pushes information to the receiving party to realize instance communication, and receive and transmit in realtime; when no data are communicated, each server and client end sends data packet in interval in order to keep interconnection, and update user's state in time.

Description

technical field [0001] The invention relates to the field of mobile instant communication, in particular to a method for realizing mobile instant communication by means of direct connection of a mobile phone through a Socket. A solution for instant messaging in various forms such as voice, text, picture, video, and attachment. [0002] Socket direct connection: Applied in the field of mobile instant messaging, it mainly refers to the establishment of a point-to-point connection between the client and the server, and the information is transmitted from the server to the client via the mobile data network in a push manner. Socket can be translated into Chinese: using standard Unix file descriptors (filedescriptor) to communicate with other programs. Usually socket is also called "socket", which is used to describe IP address and port, and is a handle of a communication chain. Applications usually send requests to the network or respond to network requests through "sockets". ...

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
IPC IPC(8): H04Q7/22H04L12/56H04W4/12H04L29/06
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