Integration Messages for Preserving Instant-Message Display Order
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The inconsistency between the sending and receiving sequences of messages in instant messaging applications due to varying processing times for different message types, such as text, images, and videos, leads to a degraded user experience.
Innovation Solution
A message order-preserving method where a sending device determines if a previous message is not fully sent and encapsulates its information with the current message, using a specified protocol, ensuring the receiving device displays messages in the correct sequence by either displaying a placeholder for the incomplete message or waiting until it is fully received.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of energy
If compression and encryption processing is performed on large data volume messages, then network traffic is saved and data transmission security is ensured, but message transmission time varies and message sequence is disrupted
Solution Approach 1:
The system performs preliminary action by sending a placeholder message before the actual large data message. This placeholder indicates that a large message is coming and will be displayed after processing completes, ensuring the user sees something immediately while the actual message processes in the background without disrupting the perceived message sequence.
Solution Approach 2:
The message transmission process is segmented into two parts: a placeholder message that is sent immediately with small data volume, and the actual large message that is sent subsequently. This segmentation allows the placeholder to maintain fast transmission while the actual message undergoes compression and encryption processing, resolving the contradiction between immediate transmission and processing requirements.
2Reliability
If compression and encryption processing is performed on large data volume messages, then data transmission security is ensured, but message transmission time varies and message sequence is disrupted
Solution Approach 1:
The system performs preliminary action by sending a placeholder message before the actual large message. This placeholder indicates that a large message is coming and will be displayed after processing completes, ensuring the user sees something immediately while the actual message processes in the background without disrupting the perceived message sequence.
Solution Approach 2:
The message transmission process is segmented into two parts: a placeholder message that is sent immediately with small data volume, and the actual large message that is sent subsequently. This segmentation allows the placeholder to maintain fast transmission while the actual message undergoes compression and encryption processing, resolving the contradiction between immediate transmission and processing requirements.
3Productivity
If messages of different types and sizes are transmitted concurrently, then network efficiency is improved, but receiving sequence becomes inconsistent with sending sequence
Solution Approach 1:
The system performs preliminary action by sending a placeholder message before the actual large message. This placeholder indicates that a large message is coming and will be displayed after processing completes, ensuring the user sees something immediately while the actual message processes in the background without disrupting the perceived message sequence.
Solution Approach 2:
The placeholder message acts as an intermediary element between the sender and receiver. It mediates the situation by providing immediate feedback to the user while the actual message is processed and transmitted in the background, ensuring sequence consistency without sacrificing network efficiency.
Data Source
AI summary
A message order-preserving method includes that an electronic device generates a first message and starts to send the first message to the second electronic device. The first electronic device generates a second message to be sent to the second electronic device, and before sending the second message to the second electronic device, determines that sending of the first message is not completed. The first electronic device sends an integration message including the second message to the second electronic device. After receiving the integration message, the second electronic device displays the first message and the second message based on the integration message.


