SIP Message Encapsulation in MSRP for Metadata Preservation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing instant messaging systems using SIP and MSRP protocols fail to retain and deliver message headers, such as sender identity and timestamp, when messages are stored and retrieved, leading to loss of metadata and difficulty in distinguishing between SIP and MSRP messages.
Innovation Solution
Encapsulating SIP messages within MSRP messages, including relevant headers like date and time, and transmitting them as payload, allowing for the preservation and retrieval of message metadata, enabling users to identify senders and classify messages effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If SIP messages are stored in a store message application server, then messages can be delivered to offline users, but header information (sender identity, timestamp, session) is lost
Solution Approach 1:
The patent embeds the original SIP message (including all header information) within the body of an MSRP message. This nesting approach allows the stored message to contain both the message content and the complete header information (sender identity, timestamp, session identifiers) that would otherwise be lost, thereby resolving the contradiction between reliable offline delivery and information preservation
Solution Approach 2:
The patent introduces MSRP as an intermediary protocol that bridges SIP message storage and retrieval. The MSRP message acts as a container that carries both the original SIP message content and its headers, enabling the store message application server to preserve complete message metadata while maintaining delivery capability to offline users
2Ease of operation
If MSRP is used to retrieve stored messages, then session-based message flow can be followed, but sender identity and timestamp information is not retained
Solution Approach 1:
By nesting the original SIP message with its complete header information inside the MSRP message body, the patent ensures that when users retrieve messages via MSRP, they receive both the message content and the associated metadata (sender identity, timestamp, session information), enabling complete message flow tracking without information loss
3Quantity of substance
If only message content is stored, then storage space is minimized, but messages cannot be distinguished by session or sender
Solution Approach 1:
The patent stores the complete original SIP message including headers within the MSRP message body, preserving all classification information (session identifiers, sender identity, timestamps) without requiring separate storage structures. This approach maintains storage efficiency while enabling comprehensive message differentiation and classification
Solution Approach 2:
The patent merges the message content and header information into a single stored unit (the MSRP message body containing the embedded SIP message). This combination eliminates the need for separate storage of message content and metadata, achieving both storage efficiency and complete information retention for message classification
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method and apparatus for stored message delivery are taught. The method and apparatus can be configured to accomplish the steps of receiving a Session Initiation Protocol (SIP) message, as a received SIP message, encapsulating the received SIP message in a Message Session Relay Protocol (MSRP) message, as an encapsulated SIP message; and transmitting the encapsulated SIP message to an intended recipient.