Streaming Media Protocol Conversion for Mobile Terminals
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing multimedia players in mobile terminals do not support the MMS Protocol, preventing users from downloading or viewing multimedia files using this protocol.
Innovation Solution
A streaming media file processing method and apparatus that obtain a URL of a target streaming media file, determine if it is an MMS Protocol file by analyzing the URL's pattern information, and use a corresponding network communication protocol to download the file from a server, enabling support for MMS Protocol files in mobile terminals.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If existing multimedia players are used in mobile terminals, then the players support common protocols like HLS and RTSP/RTP, but they cannot play MMS Protocol files
Solution Approach 1:
The patent introduces a protocol conversion mechanism that acts as an intermediary between the MMS Protocol and the player's supported protocols (HLS, RTSP/RTP). The system detects MMS protocol files through URL pattern recognition and automatically converts them to compatible formats, enabling playback without requiring direct MMS support in the player
Solution Approach 2:
The system changes the protocol parameter by detecting the URL pattern (e.g., 'mms://') and dynamically switching the communication protocol accordingly. When an MMS protocol URL is detected, the system transforms the protocol type to match what the player can handle, thus resolving the compatibility issue
2Adaptability or versatility
If the mobile terminal supports multiple streaming media protocols, then more file types can be played, but the device complexity increases
Solution Approach 1:
The patent implements a universal protocol detection and conversion mechanism that handles multiple streaming protocols (MMS, HLS, RTSP/RTP) through a single integrated system. Instead of requiring separate players for each protocol, the system uses URL pattern recognition to automatically select the appropriate protocol, simplifying the overall architecture
Solution Approach 2:
The system performs self-service by automatically detecting the protocol type through URL pattern analysis and initiating the appropriate playback mode without user intervention. The media player autonomously identifies MMS protocol files and converts them to compatible formats, eliminating the need for manual protocol selection or complex configuration
Data Source
AI summary
A media file processing method, comprising: receiving a request for downloading a target streaming media file; obtaining, in response to the request, a uniform resource locator (URL) of the target streaming media file; determining, according to first pattern information of a header of the URL, whether the target streaming media file is a streaming media file of a Microsoft Media Server (MMS) Protocol; in accordance with a determination that the target streaming media file is a streaming media file of the MMS Protocol, determining, according to a preset correspondence between URL pattern information and a plurality of network communication protocols, a first network communication protocol of the plurality of network communication protocols, that corresponds to the first pattern information of the header of the URL as a target network communication protocol; and obtaining the target streaming media file from a target server by using the target network communication protocol.


