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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
