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

Message communication method and system based on unstable mobile network

A message communication and message technology, applied in the field of network communication, can solve problems such as mobile phone failure to receive, network disconnection, etc.

Inactive Publication Date: 2016-09-28
LETV HLDG BEIJING CO LTD +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And when the user enters the wifi environment from the 4G network, the network will also be disconnected
In this case, if a message is sent to this mobile phone when the network is disconnected, the mobile phone cannot receive the message because the network connection is disconnected

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
  • Message communication method and system based on unstable mobile network
  • Message communication method and system based on unstable mobile network
  • Message communication method and system based on unstable mobile network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Such as figure 1 and figure 2 As shown, Embodiment 1 of the message communication method according to the present invention includes the following steps:

[0026] S1: Messages are sent and received between clients, and the sending client sends messages to the receiving client. The message sent by the client does not contain the message version number. The message version number is completely increased and managed by the server. When the server receives a message from the client, it will start the internal message version number management mechanism to update the message version number. The client only receives the message version sent by the server. No.

[0027] S3: After the receiving client receives the message protocol including the new message version number and the message, it compares the new message version number received from the server with the local message version number.

[0028] S31: If the version number of the new message is continuous with the vers...

Embodiment 2

[0032] Such as figure 1 and 2 As shown, on the basis of the above-mentioned embodiment 1, embodiment 2 of the message communication method according to the present invention further includes the following steps:

[0033] S0: If the client network is disconnected and reconnected, start the synchronization process.

[0034] S321: The client sends a synchronization request protocol (the local message version number of the client is loaded in the synchronization request protocol), and sends the local message version number to the server.

[0035] S322: The server returns a synchronous return protocol (the synchronous return protocol includes a message version number and a message corresponding to the message version number), and the server sends all messages after the received message version number and the message version number corresponding to the message to client. In the synchronization process, the client sends the local message version number to the server, and the serve...

Embodiment 3

[0036] Such as Figure 1 ~ Figure 2 As shown, Embodiment 3 of the message communication method according to the present invention includes the following steps:

[0037] S0: If the client network is disconnected and reconnected, start the synchronization process. In the synchronization process, the client sends the local message version number to the server, and the server sends all messages after the received message version number and the message version numbers corresponding to the messages to the client to determine whether the message is disconnected when the network is disconnected. During this period, whether there is any new message that has not been received, to ensure that the new message can be delivered in time.

[0038] S1: Messages are sent and received between clients, and the sending client sends messages to the receiving client. The message sent by the client does not contain the message version number. The message version number is completely increased and ...

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 embodiment of the present invention provides a message communication method and system, which belong to the field of network communication technology. The method includes: when sending and receiving messages between clients, receiving the new message version number received by the client from the server and the local message Compare the version numbers; if the new message version number is continuous with the local message version number of the receiving client, update the local message version number to the new message version number; if the new message version number is not continuous with the local message version number, start the synchronization process , the receiving client sends the local message version number to the server, and the server sends all messages after the local message version number and the message version numbers corresponding to the messages to the receiving client. The embodiment of the present invention establishes a message version number mechanism, which ensures that the messages sent and received by the communication parties are continuous, and the messages will not be lost or disordered due to the instability of the network environment, and the traffic increase caused by repeated receipts and retransmissions is avoided.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of network communication, in particular to a message communication method and system, and are especially suitable for unstable mobile networks. Background technique [0002] In wireless Internet communication, the location of mobile phone users is constantly changing, and the network status is also constantly switching. For example, when a user enters an elevator, the network connection is lost. And when the user enters the wifi environment from the 4G network, the network will also be disconnected. In this case, if a message is sent to the mobile phone when the network is disconnected, the mobile phone cannot receive the message because the network connection is disconnected. Contents of the invention [0003] At present, the industry mostly uses the communication mechanism of receipt and retransmission for network communication in such an unstable network environment. This me...

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): H04L12/58H04W4/12H04W56/00
CPCH04L51/06H04L51/066H04W4/12H04W56/001
Inventor 朱今李哲
Owner LETV HLDG BEIJING CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More