WO2015123934A1 - 移动终端及基于dlna实现云端流媒体文件分享的方法 - Google Patents

移动终端及基于dlna实现云端流媒体文件分享的方法 Download PDF

Info

Publication number
WO2015123934A1
WO2015123934A1 PCT/CN2014/078803 CN2014078803W WO2015123934A1 WO 2015123934 A1 WO2015123934 A1 WO 2015123934A1 CN 2014078803 W CN2014078803 W CN 2014078803W WO 2015123934 A1 WO2015123934 A1 WO 2015123934A1
Authority
WO
WIPO (PCT)
Prior art keywords
streaming media
media file
dlna
content segment
mobile terminal
Prior art date
Application number
PCT/CN2014/078803
Other languages
English (en)
French (fr)
Inventor
杨蕊
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Priority to EP14863078.3A priority Critical patent/EP3110098A4/en
Priority to US14/442,542 priority patent/US10334003B2/en
Publication of WO2015123934A1 publication Critical patent/WO2015123934A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for implementing cloud streaming media file sharing based on DLNA, and to a mobile terminal.
  • DLNA Digital Living Network Alliance, Digital Living Network Alliance
  • PC Personal Computer, personal computer
  • wireless network between mobile terminals and wired network interconnection At present, most of the DLNA devices and services are still limited to LANs, such as home networks and office networks.
  • Existing mobile terminals can only share locally saved files to DLNA devices through DLNA technology.
  • users often use mobile terminals to access the network and play media files such as pictures, music, and videos in the cloud on the network. Since the media files in the cloud are not saved in the mobile terminal, the media files in the cloud cannot be shared to the DLNA device through the mobile terminal. .
  • the main technical problem to be solved by the present invention is to provide a mobile terminal and a method for implementing cloud streaming media file sharing based on DLNA, which can share the streaming media file of the cloud to the DLNA device through the mobile terminal.
  • a technical solution adopted by the present invention is to provide a method for implementing cloud streaming media file sharing based on DLNA, including: the mobile terminal receives a DLNA sharing request from a user during playing a streaming media file in the cloud.
  • the mobile terminal acquires, by the cloud, the content segment of the streaming media file according to the DLNA sharing request, wherein the mobile terminal is disconnected from the cloud if the content segment of the streaming media file is acquired Connect, determine whether the user chooses to reserve the Uniform Resource Locator URL of the streaming media file, and if the user chooses to keep the URL, obtain and store the URL, so that the mobile terminal restores the connection with the cloud according to the
  • the URL continues to acquire the content segment of the streaming media file from the cloud; the content segment of the cached streaming media file is transcoded into a target format according to a preset transcoding parameter; and the mobile terminal is configured according to the DLNA protocol. Searching for the DLNA device in the local area network; sending the cached content segment of the streaming media file to the user Search result selected a DLNA device, and controls the DLNA device to play the media file content segment stream.
  • the DLNA device selected by the user has a plurality of players, and the step of controlling the DLNA device to play the content segment of the streaming media file includes: determining a player selected by the user from the plurality of players Whether to support playing the streaming media file; if the selected player supports playing the streaming media file, controlling the selected player to play the content segment of the streaming media file.
  • the user is prompted to reselect the player or reselect the DLNA device.
  • another technical solution adopted by the present invention is to provide a method for implementing cloud streaming media file sharing based on DLNA, including: the mobile terminal receives the DLNA sharing from the user during the process of playing the streaming media file in the cloud. And requesting, acquiring, according to the DLNA sharing request, a content segment of the streaming media file from the cloud; searching for a DLNA device in a local area network where the mobile terminal is located according to a DLNA protocol; and the cached streaming media file The content segment is sent to the DLNA device selected by the user from the search results, and controls the DLNA device to play the content segment of the streaming media file.
  • the method further comprises: transcoding the cached content segment of the streaming media file into a target format according to a preset transcoding parameter.
  • the step of acquiring and caching the content segment of the streaming media file from the cloud according to the DLNA sharing request further includes: if the mobile terminal and the device are in the process of acquiring the content segment of the streaming media file Determining whether the user chooses to keep the URL for accessing the streaming media file; if the user chooses to keep the URL, the URL is obtained and stored, so that the mobile terminal restores the connection with the cloud according to the The URL continues to retrieve a piece of content of the streaming media file from the cloud.
  • the DLNA device selected by the user has a plurality of players, and the step of controlling the DLNA device to play the content segment of the streaming media file includes: determining a player selected by the user from the plurality of players Whether to support playing the streaming media file; if the selected player supports playing the streaming media file, controlling the selected player to play the content segment of the streaming media file.
  • the user is prompted to reselect the player or reselect the DLNA device.
  • the present invention also provides a mobile terminal, including: a media acquisition module, configured to receive DLNA sharing from a user during a process of playing a streaming media file in the cloud by the mobile terminal. And acquiring, by the DLNA sharing request, the content segment of the streaming media file from the cloud according to the DLNA sharing request; the DLNA module is configured to search for a DLNA device in a local area network where the mobile terminal is located according to the DLNA protocol; and the media sharing module And for transmitting the cached content segment of the streaming media file to a DLNA device selected by the user from the search result, and controlling the DLNA device to play the content segment of the streaming media file.
  • a media acquisition module configured to receive DLNA sharing from a user during a process of playing a streaming media file in the cloud by the mobile terminal. And acquiring, by the DLNA sharing request, the content segment of the streaming media file from the cloud according to the DLNA sharing request; the DLNA module is configured to search for a DLNA device
  • the mobile terminal further includes a transcoding module, where the transcoding module is configured to: after the media acquisition module caches a content segment of the streaming media file, the media sharing module caches the streaming media file Before the content segment is sent to the DLNA device selected by the user from the search results, the cached content segment of the streaming media file is transcoded into the target format according to the preset transcoding parameter.
  • the media acquisition module includes a file obtaining unit, a first determining unit, and an address obtaining unit, where the first determining unit is configured to move the content of the streaming media file in the file acquiring unit.
  • the first determining unit is configured to move the content of the streaming media file in the file acquiring unit.
  • the DLNA device selected by the user has multiple players
  • the media sharing module includes a transmission unit, a second determining unit, and a processing unit, where the transmission unit is configured to cache the content segment of the streaming media file.
  • the processing unit is further configured to prompt the user to reselect the player or reselect the DLNA device when the selected player does not support playing the streaming media file.
  • the mobile terminal of the present invention when the mobile terminal plays the streaming media file in the cloud, the content segment of the media file is obtained and cached according to the DLNA sharing request of the user, so that the content of the streaming media file is
  • the clip can be saved in the mobile terminal, and the content segment of the streaming media file can be sent to the DLNA device in real time through the DLNA protocol, and the DLNA device can play the content segment of the streaming media file in real time, since the streaming media file does not need to be completely downloaded and saved on the mobile terminal.
  • the real-time playback of the streaming media file can be realized only by buffering the content segment of the streaming media file, so that the streaming media file of the cloud can be shared to the DLNA device through the mobile terminal, and the technical problems existing in the prior art can be solved, and the DLNA can be extended. Application range to enrich the user experience.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention
  • FIG. 4 is a schematic flowchart of an application scenario of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention
  • FIG. 5 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention.
  • FIG. 6 is a schematic structural diagram of another embodiment of a mobile terminal according to the present invention.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention.
  • the method for implementing cloud streaming file sharing based on DLNA includes the following steps:
  • the mobile terminal When receiving the DLNA sharing request from the user in the process of playing the streaming media file in the cloud, the mobile terminal acquires and caches the content segment of the streaming media file from the cloud according to the DLNA sharing request.
  • mobile terminals are very valuable and limited because of their mobility. Users use mobile terminals to save storage space as much as possible. Therefore, users mostly access streaming media files on the cloud, such as pictures, music, and video resources, without having to completely download streaming media files.
  • the mobile terminal can capture a content segment of the streaming media file of the cloud to the mobile terminal by using a preset algorithm.
  • the content segments of the captured streaming media files are cached to a fixed storage space.
  • the mobile terminal may be a device such as a mobile phone or a tablet computer.
  • S12 Search for the DLNA device in the local area network where the mobile terminal is located according to the DLNA protocol.
  • the DLNA device refers to a device that adopts the DLNA protocol, such as a computer, a television, or the like, or other mobile terminals. These DLNA devices are in the same local area network as the mobile terminal, and can establish communication with each other, for example, via WIFI (Wireless). Fidelity, Wireless Fidelity) or WLAN (Wireless Local Area Networks) networks establish communication.
  • WIFI Wireless Fidelity
  • WLAN Wireless Local Area Networks
  • S13 Send the content segment of the cached streaming media file to the DLNA device selected by the user from the search result, and control the DLNA device to play the content segment of the streaming media file.
  • the content segment of the cached streaming media file is sent to the DLNA device, and the DLNA device plays the content segment of the streaming media file to realize the sharing of the streaming media file in the cloud to the DLNA device.
  • the method may further include transcoding the cached content segment of the streaming media file into a target according to the preset transcoding parameter.
  • format Since the format of the streaming media file stored in the cloud is not necessarily the format required by the user, format transcoding is required.
  • the transcoding parameter may be preset by the user, or may be initialized by the mobile terminal according to its own hardware standard.
  • the method for implementing cloud streaming media file sharing based on DLNA in the embodiment of the present invention the mobile terminal broadcasts the content segment of the obtained streaming media file to the available DLNA device in real time, and the content segment of the streaming media file is played by the DLNA device, and the streaming media The content clip of the file is continuously acquired and played to realize the full play of the streaming media file, and the DLNA device can be shared to the mobile terminal without completely downloading the streaming media file, so that the streaming media file of the cloud can be shared to the DLNA through the mobile terminal.
  • the device solves the technical problems existing in the prior art, and can extend the application range of the DLNA and enrich the user experience.
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention.
  • the embodiment includes at least all the process steps of the first embodiment, except that the step of acquiring and buffering the content segment of the streaming media file from the cloud according to the DLNA sharing request further includes:
  • the mobile terminal acquires the content segment of the streaming media file, if the streaming media file is to be completely played, the content segment of the streaming media file needs to be continuously acquired. In this process, if the abnormality of the network causes the mobile terminal to disconnect from the cloud, the mobile terminal can no longer obtain the content segment of the streaming media file.
  • URL Uniform Resource Locator, which is the network address of the streaming media file, can be linked to the streaming media file by accessing the URL.
  • the mobile terminal restores the connection with the cloud, and can re-acquire the content segment of the streaming media file from the cloud according to the URL accessing the streaming media file, or obtain the content segment of the remaining streaming media file from the cloud, that is, resume the transmission by the breakpoint.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention.
  • This embodiment includes at least all the flow steps of the first embodiment, except that the DLNA device selected by the user has multiple players, and the step of controlling the DLNA device to play the content segment of the streaming media file includes:
  • step S141 Determine whether the player selected from the plurality of players supports playing the streaming media file. If the streaming media file is supported, step S142 is performed, and if the streaming media file is not played, step S143 is performed.
  • the player support format does not support playing streaming media files if the format of the streaming media file or the transcoded target format is not included. Or, the resolution of the streaming media file is higher than the resolution supported by the player, and the player does not hold the streaming media file.
  • S142 Control the selected player to play a content segment of the streaming media file.
  • the player continuously plays the content segment of the streaming media file, and the streaming media file can be completely played.
  • S143 prompt the user to reselect the player or reselect the DLNA device.
  • FIG. 4 is a schematic flowchart of an application scenario of a method for implementing cloud streaming media file sharing based on DLNA according to the present invention. include:
  • the streaming media file may be content on a webpage viewed by a user, or may be content on a social community application.
  • S212 Receive a DLNA sharing request input by the user.
  • the mobile terminal may set a button on the display interface of the streaming media file. If the user clicks the button, the user issues a DLNA sharing request.
  • the temporary database may be a fixed storage area in the storage space of the mobile terminal.
  • the transcoding database may be another fixed storage area in the storage space of the mobile terminal.
  • S217 Search for a DLNA device according to the DLNA protocol.
  • all DLNA devices and mobile terminals are located in the same local area network, and both support the DLNA transmission protocol. If the mobile terminal does not search for the DLNA device, the user will be prompted not to share.
  • S218 Determine a DLNA device selected by the user from the search results.
  • the user selects one or more DLNA devices from the searched at least one DLNA device.
  • the search results can list the searched DLNA devices in a list.
  • S219 Determine whether the DLNA device has at least one player available, if yes, proceed to S220, and if not, proceed to S227.
  • S220 Determine a player according to the user's selection.
  • S221 Send the content segment of the cached streaming media file to the DLNA device.
  • S222 Determine whether the player supports playing the streaming media file, if yes, proceed to S223, if no, proceed to S226.
  • the player if the player supports the target format, it is determined that the player supports playing the streaming media file. Also, if there are multiple players supporting the target format, then the user needs to select one.
  • S223 It is judged whether synchronous play has been set, if yes, proceed to S224, and if no, proceed to S225.
  • S224 The mobile terminal plays a content segment of the streaming media file, and controls the player to play synchronously.
  • the mobile terminal does not play the content segment of the streaming media file at this time, but still continuously obtains the content segment of the streaming media file, and sends the content segment to the DLNA device in real time.
  • S226 prompt the user to reselect the player or reselect the DLNA device.
  • the player does not support playing streaming media files and requires the user to reselect.
  • S227 prompt the user to reselect the DLNA device.
  • the player of the DLNA device is all unavailable, and the user needs to re-select.
  • S228 Query the connection status between the mobile terminal and the cloud.
  • the S228 and the S213 can be simultaneously performed, that is, the content segment of the streaming media file is obtained, and the connection state of the mobile terminal and the cloud is inquired.
  • S229 Determine whether the user chooses to reserve the URL, and if yes, proceed to S230.
  • a dialog box may be popped for the user to select whether to keep the URL. If the user chooses not to keep the URL, the process ends.
  • FIG. 5 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention.
  • the mobile terminal includes a media acquisition module 31, a DLNA module 32, and a media sharing module 33.
  • the mobile terminal of this embodiment may be a mobile phone, a tablet computer, a personal digital assistant, or the like.
  • the media obtaining module 31 is configured to acquire and cache the content segment of the streaming media file from the cloud according to the DLNA sharing request when receiving the DLNA sharing request from the user in the process of playing the streaming media file in the cloud.
  • mobile terminals are very valuable and limited because of their mobility. Users use mobile terminals to save storage space as much as possible. Therefore, users mostly access streaming media files on the cloud, such as pictures, music, and video resources, without having to completely download streaming media files.
  • the mobile terminal can capture a content segment of the streaming media file of the cloud to the mobile terminal by using a preset algorithm. The content segments of the captured streaming media files are cached to a fixed storage space.
  • the DLNA module 32 is configured to search for a DLNA device in a local area network in which the mobile terminal is located in accordance with the DLNA protocol.
  • the DLNA device refers to a device that adopts the DLNA protocol, such as a computer, a television, or the like, or other mobile terminals. These DLNA devices are in the same local area network as the mobile terminal, and can establish communication with each other, for example, through WIFI or WLAN networks.
  • the media sharing module 33 is configured to send the content segment of the cached streaming media file to the DLNA device selected by the user from the search results, and control the DLNA device to play the content segment of the streaming media file. After the user selects one or more DLNA devices that are searched, the content segment of the cached streaming media file is sent to the DLNA device, and the DLNA device plays the content segment of the streaming media file to realize the sharing of the streaming media file in the cloud to the DLNA device. .
  • the mobile terminal of the embodiment of the present invention sends the content segment of the obtained streaming media file to the available DLNA device in real time, and the content segment of the streaming media file is played by the DLNA device, and the content segment of the streaming media file is continuously acquired and played.
  • the full-play streaming media file can be shared to the DLNA device without completely downloading the streaming media file to the mobile terminal, so that the streaming media file of the cloud can be shared to the DLNA device through the mobile terminal, thereby solving the technical problems existing in the prior art. It can extend the application range of DLNA and enrich the user experience.
  • FIG. 6 is a schematic structural diagram of another embodiment of a mobile terminal according to the present invention.
  • the mobile terminal includes a media acquisition module 41, a transcoding module 42, a DLNA module 43, and a media sharing module 44.
  • the media acquisition module 41, the DLNA module 43, and the media sharing module 44 have at least the same technical features as the media acquisition module 31, the DLNA module 32, and the media sharing module 33 of the foregoing embodiments, except that:
  • the transcoding module 42 is configured to: after the media acquisition module caches the content segment of the streaming media file, the media sharing module 44 sends the content segment of the cached streaming media file to the DLNA device selected by the user from the search result, according to the preset setting.
  • the code parameter transcodes the content segment of the cached streaming media file into a target format.
  • the format of the streaming media file stored in the cloud is not necessarily the format required by the user, so format transcoding is required.
  • the transcoding parameter may be preset by the user, or may be initialized by the mobile terminal according to its own hardware standard.
  • the media acquisition module 41 includes a file acquisition unit 411, a first determination unit 412, and an address acquisition unit 413.
  • the file obtaining unit 411 is configured to acquire a content segment of the streaming media file.
  • the first determining unit 412 is configured to determine, when the mobile terminal disconnects from the cloud, that the user selects to retain the URL of the access streaming file when the file acquiring unit 411 acquires the content segment of the streaming media file. Wherein, since the file acquisition unit 411 acquires the content segment of the streaming media file, if it is desired to completely play the streaming media file, it is necessary to continuously acquire the content segment of the streaming media file. In this process, if the abnormality of the network causes the mobile terminal to disconnect from the cloud, the file obtaining unit 411 can no longer acquire the content segment of the streaming media file.
  • the URL acts as the network address of the streaming media file and can be linked to the streaming media file by accessing the URL.
  • the address obtaining unit 413 is configured to acquire and store the URL when the user selects the reserved URL, so that the file obtaining unit 411 continues to obtain the content segment of the streaming media file from the cloud according to the URL when the mobile terminal resumes the connection with the cloud.
  • the mobile terminal is connected to the cloud, and the file obtaining unit 411 can re-obtain the content segment of the streaming media file from the cloud according to the URL accessing the streaming media file, or obtain the remaining content segment of the streaming media file that has not been acquired from the cloud, that is, Continue to pass.
  • the DLNA device selected by the user has a plurality of players, and the media sharing module 44 includes a transmission unit 441, a second determination unit 442, and a processing unit 443.
  • the transmitting unit 441 is configured to send the content segment of the cached streaming media file to the DLNA device selected by the user from the search results.
  • the second determining unit 442 is configured to determine whether the player selected by the user from the plurality of players supports playing the streaming media file.
  • the player support format does not support playing streaming media files if the format of the streaming media file or the transcoded target format is not included. Or, the resolution of the streaming media file is higher than the resolution supported by the player, and the player does not hold the streaming media file.
  • the processing unit 443 is configured to control the selected player to play the content segment of the streaming media file when the selected player supports playing the streaming media file.
  • the processing unit 443 is further configured to prompt the user to reselect the player or reselect the DLNA device when the selected player does not support playing the streaming media file.
  • the player continuously plays the content segment of the streaming media file, and the streaming media file can be completely played.
  • the mobile terminal of the present invention and the method for implementing cloud streaming media file sharing based on DLNA overcome the limitation that the mobile terminal can only share the locally saved media file to the DLNA device, and can share the DLNA device in real time while playing the streaming media file in the cloud.
  • the mobile terminal plays and shares the synchronization, so that the streaming media file of the cloud can be shared to the DLNA device through the mobile terminal, which solves the technical problems existing in the prior art, can extend the application range of the DLNA, and enrich the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种移动终端及基于DLNA实现云端流媒体文件分享的方法。该方法包括:移动终端在播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据DLNA分享请求从云端获取并缓存流媒体文件的内容片段;按照DLNA协议在移动终端所处的局域网中搜索DLNA设备;将缓存的流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制DLNA设备播放流媒体文件的内容片段,并控制DLNA设备播放流媒体文件的内容片段。实施本发明能够通过移动终端将云端的流媒体文件分享到DLNA设备。

Description

移动终端及基于DLNA实现云端流媒体文件分享的方法
【技术领域】
本发明涉及通信技术领域,特别是涉及一种基于DLNA实现云端流媒体文件分享的方法,还涉及一种移动终端。
【背景技术】
DLNA(Digital Living Network Alliance,数字生活网络联盟)是数字家庭中实现媒体互访的一个行业规范,解决了PC(Personal Computer,个人计算机)、消费电器、移动终端之间的无线网络和有线网络的互联互通。目前,DLNA设备与服务的使用范围大部分仍然局限于局域网内,如家庭网络、办公网络,现有的移动终端通过DLNA技术只能将本地保存的文件分享到DLNA设备。然而,用户经常会使用移动终端访问网络,播放网络中云端的图片、音乐、视频等媒体文件,由于云端的媒体文件并不在移动终端保存,所以无法通过移动终端将云端的媒体文件分享到DLNA设备。
【发明内容】
本发明的主要解决的技术问题是提供一种移动终端及基于DLNA实现云端流媒体文件分享的方法,能够通过移动终端将云端的流媒体文件分享到DLNA设备。
为解决上述技术问题,本发明采用的一个技术方案是:提供一种基于DLNA实现云端流媒体文件分享的方法,包括:移动终端在播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段,其中,如果在获取所述流媒体文件的内容片段的过程中所述移动终端与所述云端断开连接,判断用户是否选择保留访问所述流媒体文件的统一资源定位符URL,如果用户选择保留所述URL,获取并存储所述URL,以使得所述移动终端与所述云端恢复连接时根据所述URL继续从所述云端获取所述流媒体文件的内容片段;根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式;按照DLNA协议在所述移动终端所处的局域网中搜索DLNA设备;将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制所述DLNA设备播放所述流媒体文件的内容片段。
其中,用户所选择的所述DLNA设备具有多个播放器,所述控制所述DLNA设备播放所述流媒体文件的内容片段的步骤包括:判断用户从所述多个播放器中选择的播放器是否支持播放所述流媒体文件;如果所选择的所述播放器支持播放所述流媒体文件,控制所选择的所述播放器播放所述流媒体文件的内容片段。
其中,如果所选择的所述播放器不支持播放所述流媒体文件,提示用户重新选择播放器或者重新选择DLNA设备。
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于DLNA实现云端流媒体文件分享的方法,包括:移动终端在播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段;按照DLNA协议在所述移动终端所处的局域网中搜索DLNA设备;将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制所述DLNA设备播放所述流媒体文件的内容片段。
其中,所述根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段的步骤之后,所述将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备之前,所述方法还包括:根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式。
其中,所述根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段的步骤还包括:如果在获取所述流媒体文件的内容片段的过程中所述移动终端与所述云端断开连接,判断用户是否选择保留访问所述流媒体文件的URL;如果用户选择保留所述URL,获取并存储所述URL,以使得所述移动终端与所述云端恢复连接时根据所述URL继续从所述云端获取所述流媒体文件的内容片段。
其中,用户所选择的所述DLNA设备具有多个播放器,所述控制所述DLNA设备播放所述流媒体文件的内容片段的步骤包括:判断用户从所述多个播放器中选择的播放器是否支持播放所述流媒体文件;如果所选择的所述播放器支持播放所述流媒体文件,控制所选择的所述播放器播放所述流媒体文件的内容片段。
其中,如果所选择的所述播放器不支持播放所述流媒体文件,提示用户重新选择播放器或者重新选择DLNA设备。
为解决上述技术问题,本发明还采用的一个技术方案是:提供一种移动终端,包括:媒体获取模块,用于在所述移动终端播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段;DLNA模块,用于按照DLNA协议在所述移动终端所处的局域网中搜索DLNA设备;媒体分享模块,用于将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制所述DLNA设备播放所述流媒体文件的内容片段。
其中,所述移动终端还包括转码模块,所述转码模块用于在所述媒体获取模块缓存所述流媒体文件的内容片段之后,所述媒体分享模块将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备之前,根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式。
其中,所述媒体获取模块包括文件获取单元、第一判断单元以及地址获取单元,所述第一判断单元用于在所述文件获取单元获取所述流媒体文件的内容片段的过程中所述移动终端与所述云端断开连接时,判断用户是否选择保留访问所述流媒体文件的URL;所述地址获取单元用于在用户选择保留所述URL时,获取并存储所述URL,以使得所述文件获取单元在所述移动终端与所述云端恢复连接时根据所述URL继续从所述云端获取所述流媒体文件的内容片段。
其中,用户所选择的所述DLNA设备具有多个播放器,所述媒体分享模块包括传输单元、第二判断单元和处理单元,所述传输单元用于将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备;所述第二判断单元用于判断用户从所述多个播放器中选择的播放器是否支持播放所述流媒体文件;所述处理单元用于在所选择的所述播放器支持播放所述流媒体文件时,控制所选择的所述播放器播放所述流媒体文件的内容片段。
其中,所述处理单元还用于在所选择的所述播放器不支持播放所述流媒体文件时,提示用户重新选择播放器或者重新选择DLNA设备。
本发明的移动终端及基于DLNA实现云端流媒体文件分享的方法中,在移动终端播放云端的流媒体文件时,根据用户的DLNA分享请求获取并缓存媒体文件的内容片断,从而流媒体文件的内容片断得以在移动终端保存,通过DLNA协议可以将流媒体文件的内容片断实时发送到DLNA设备,DLNA设备可以实时播放流媒体文件的内容片断,由于流媒体文件不需要完全下载并保存在移动终端上,只需要缓存流媒体文件的内容片断就可实现流媒体文件的实时播放,从而能够通过移动终端将云端的流媒体文件分享到DLNA设备,解决了现有技术存在的技术问题,可以扩展DLNA的应用范围,丰富用户体验。
【附图说明】
图1是本发明基于DLNA实现云端流媒体文件分享的方法第一实施例的流程示意图;
图2是本发明基于DLNA实现云端流媒体文件分享的方法第二实施例的流程示意图;
图3是本发明基于DLNA实现云端流媒体文件分享的方法第三实施例的流程示意图;
图4是本发明基于DLNA实现云端流媒体文件分享的方法一种应用场景的流程示意图;
图5是本发明移动终端一实施例的结构示意图;
图6是本发明移动终端另一实施例的结构示意图。
【具体实施方式】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
请参见图1,图1是本发明基于DLNA实现云端流媒体文件分享的方法第一实施例的流程示意图。基于DLNA实现云端流媒体文件分享的方法包括以下步骤:
S11:移动终端在播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据DLNA分享请求从云端获取并缓存流媒体文件的内容片段。
其中,移动终端由于其移动性,所以其存储空间十分宝贵和有限。用户使用移动终端会尽可能节省存储空间,因此用户大多通过接入网络来浏览云端上的流媒体文件,例如图片、音乐以及视频等资源,而无需完全下载流媒体文件。
移动终端可以采用预设的算法抓取云端至移动终端的流媒体文件的内容片断。抓取到的流媒体文件的内容片段缓存至固定的存储空间。
在本实施例中,移动终端可以是手机、平板电脑等设备。
S12:按照DLNA协议在移动终端所处的局域网中搜索DLNA设备。
其中,DLNA设备是指采用DLNA协议的设备,例如是电脑、电视等设备,也可以是其它移动终端。这些DLNA设备与移动终端同在一个局域网中,能够相互建立通信,例如通过WIFI(Wireless Fidelity,无线保真)或者WLAN(Wireless Local Area Networks;无线局域网络)网络建立通信。
S13:将缓存的流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制DLNA设备播放流媒体文件的内容片段。
其中,用户选择搜索到的一个或多个DLNA设备后,将缓存的流媒体文件的内容片段发送到DLNA设备,DLNA设备播放流媒体文件的内容片段就实现了云端的流媒体文件分享到DLNA设备。
可选地,在根据DLNA分享请求从云端获取并缓存流媒体文件的内容片段之后,该方法还可包括:根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式。由于云端存储的流媒体文件的格式不一定是用户需要的格式,所以需要进行格式转码。转码参数可以是用户预先设置的,也可以是移动终端根据自身的硬件标准初始化设置的。
本发明实施例的基于DLNA实现云端流媒体文件分享的方法,移动终端通过将获取到的流媒体文件的内容片断实时发送到可用的DLNA设备,由DLNA设备播放流媒体文件的内容片断,流媒体文件的内容片断被连续获取和播放即可实现完整播放流媒体文件,由于不需要完全下载流媒体文件到移动终端也能分享到DLNA设备,从而能够通过移动终端将云端的流媒体文件分享到DLNA设备,解决了现有技术存在的技术问题,可以扩展DLNA的应用范围,丰富用户体验。
请参见图2,图2是本发明基于DLNA实现云端流媒体文件分享的方法第二实施例的流程示意图。本实施例至少包括第一实施例的所有流程步骤,不同之处在于,根据DLNA分享请求从云端获取并缓存流媒体文件的内容片段的步骤还包括:
S111:如果在获取流媒体文件的内容片段的过程中移动终端与云端断开连接,判断用户是否选择保留访问流媒体文件的URL。
其中,由于移动终端获取的是流媒体文件的内容片段,如果想要完整播放流媒体文件,则需要连续地获取流媒体文件的内容片段。在此过程中,如果网络出现异常导致移动终端与云端断开连接,那么移动终端不能再获取到流媒体文件的内容片段。URL(Uniform Resource Locator,统一资源定位符)作为流媒体文件的网络地址,通过访问URL即可链接到流媒体文件。
S112:如果用户选择保留URL,获取并存储URL,以使得移动终端与云端恢复连接时根据URL继续从云端获取流媒体文件的内容片段。
其中,移动终端与云端恢复连接,可以根据URL访问流媒体文件从云端重新获取流媒体文件的内容片段,也可以从云端获取剩余的流媒体文件的内容片段,即断点续传。
请参见图3,图3是本发明基于DLNA实现云端流媒体文件分享的方法第三实施例的流程示意图。本实施例至少包括第一实施例的所有流程步骤,不同之处在于,用户所选择的DLNA设备具有多个播放器,控制DLNA设备播放流媒体文件的内容片段的步骤包括:
S141:判断用户从多个播放器中选择的播放器是否支持播放流媒体文件,如果支持播放流媒体文件,进行步骤S142,如果不持播放流媒体文件,进行步骤S143。
其中,播放器支持格式如果不包含流媒体文件的格式或者经过转码的目标格式,那么播放器不支持播放流媒体文件。或者,流媒体文件的分辨率高于播放器支持的分辨率,播放器也不持播放流媒体文件。
S142:控制所选择的播放器播放流媒体文件的内容片段。
其中,播放器连续播放流媒体文件的内容片段,就可完整播放流媒体文件。
S143:提示用户重新选择播放器或者重新选择DLNA设备。
请参见图4,图4是本发明基于DLNA实现云端流媒体文件分享的方法一种应用场景的流程示意图。包括:
S211:播放云端上用户选择的流媒体文件。
其中,流媒体文件可以是用户浏览的网页上的内容,也可以是社交社区应用上的内容。
S212:接收用户输入的DLNA分享请求。
其中,移动终端可以在播放流媒体文件的显示界面上设置一个按钮,如果用户点击该按钮,说明用户发出DLNA分享请求,
S213:从云端获取流媒体文件的内容片段。
S214:将获取到的流媒体文件的内容片段缓存至临时数据库。
其中,临时数据库可以是移动终端存储空间中的固定存储区域。
S215:读取转码数据库中预先设置的转码参数。
其中,转码数据库可以是移动终端存储空间中的另一固定存储区域
S216:根据转码参数将缓存的流媒体文件的内容片段转码为目标格式。
其中,所有从云端缓存的流媒体文件经过转码后都为目标格式。
S217:按照DLNA协议搜索DLNA设备。
其中,所有的DLNA设备和移动终端都位于同一局域网中,并且均支持DLNA传输协议。如果移动终端没有搜索到DLNA设备,将提示用户无法分享。
S218:确定用户从搜索结果中选择的DLNA设备。
其中,用户从搜索到的至少一个DLNA设备中选择一个或多个DLNA设备。搜索结果可以采用列表的方式罗列出搜索到的DLNA设备。
S219:判断DLNA设备是否有至少一个播放器可用,如果是,进行S220,如果否,进行S227。
S220:根据用户的选择确定一个播放器。
S221:将缓存的流媒体文件的内容片段发送到DLNA设备。
S222:判断播放器是否支持播放流媒体文件,如果是,进行S223,如果否,进行S226。
其中,如果播放器支持目标格式,则判断为播放器支持播放流媒体文件。并且,如果支持目标格式的播放器为多个,那么用户需要选择一个。
S223:判断是否已设置同步播放,如果是,进行S224,如果否,进行S225。
S224:移动终端播放流媒体文件的内容片段,并控制播放器同步播放。
S225:仅控制播放器播放流媒体文件的内容片断。
其中,移动终端此时不播放流媒体文件的内容片断,但是仍然会连续获取流媒体文件的内容片断,并实时发送到DLNA设备。
S226:提示用户重新选择播放器或者重新选择DLNA设备。
其中,播放器不支持播放流媒体文件,需要用户重新选择。
S227:提示用户重新选择DLNA设备。
其中,DLNA设备的播放器全部不可用,需要用户重新选择
S228:查询移动终端与云端的连接状态。
其中,S228与S213可同时进行,即获取流媒体文件的内容片断的同时查询移动终端与云端的连接状态。
S229:判断用户是否选择保留URL,如果是,进行S230。
其中,如果移动终端与云端断开连接,可以弹出供用户选择是否保留URL的对话框。如果用户选择不保留URL,则结束流程。
S230:获取并存储URL。
请参见图5,图5是本发明移动终端一实施例的结构示意图。移动终端包括媒体获取模块31、DLNA模块32和媒体分享模块33。本实施例的移动终端可以是手机、平板电脑、个人数字助理等。
媒体获取模块31用于在移动终端播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据DLNA分享请求从云端获取并缓存流媒体文件的内容片段。其中,移动终端由于其移动性,所以其存储空间十分宝贵和有限。用户使用移动终端会尽可能节省存储空间,因此用户大多通过接入网络来浏览云端上的流媒体文件,例如图片、音乐以及视频等资源,而无需完全下载流媒体文件。移动终端可以采用预设的算法抓取云端至移动终端的流媒体文件的内容片断。抓取到的流媒体文件的内容片段缓存至固定的存储空间。
DLNA模块32用于按照DLNA协议在移动终端所处的局域网中搜索DLNA设备。其中,DLNA设备是指采用DLNA协议的设备,例如是电脑、电视等设备,也可以是其它移动终端。这些DLNA设备与移动终端同在一个局域网中,能够相互建立通信,例如通过WIFI或者WLAN网络建立通信。
媒体分享模块33用于将缓存的流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制DLNA设备播放流媒体文件的内容片段。其中,用户选择搜索到的一个或多个DLNA设备后,将缓存的流媒体文件的内容片段发送到DLNA设备,DLNA设备播放流媒体文件的内容片段就实现了云端的流媒体文件分享到DLNA设备。
本发明实施例的动终端通过将获取到的流媒体文件的内容片断实时发送到可用的DLNA设备,由DLNA设备播放流媒体文件的内容片断,流媒体文件的内容片断被连续获取和播放即可实现完整播放流媒体文件,由于不需要完全下载流媒体文件到移动终端也能分享到DLNA设备,从而能够通过移动终端将云端的流媒体文件分享到DLNA设备,解决了现有技术存在的技术问题,可以扩展DLNA的应用范围,丰富用户体验。
请参见图6,图6是本发明移动终端另一实施例的结构示意图。移动终端包括媒体获取模块41、转码模块42、DLNA模块43和媒体分享模块44。媒体获取模块41、DLNA模块43和媒体分享模块44至少具有与前述实施例的媒体获取模块31、DLNA模块32和媒体分享模块33相同的技术特征,不同之处在于:
转码模块42用于在媒体获取模块缓存流媒体文件的内容片段之后,媒体分享模块44将缓存的流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备之前,根据预先设置的转码参数将缓存的流媒体文件的内容片段转码为目标格式。其中,由于云端存储的流媒体文件的格式不一定是用户需要的格式,所以需要进行格式转码。转码参数可以是用户预先设置的,也可以是移动终端根据自身的硬件标准初始化设置的。
媒体获取模块41包括文件获取单元411、第一判断单元412以及地址获取单元413。
文件获取单元411用于获取流媒体文件的内容片段。
第一判断单元412用于在文件获取单元411获取流媒体文件的内容片段的过程中移动终端与云端断开连接时,判断用户是否选择保留访问流媒体文件的URL。其中,由于文件获取单元411获取的是流媒体文件的内容片段,如果想要完整播放流媒体文件,则需要连续地获取流媒体文件的内容片段。在此过程中,如果网络出现异常导致移动终端与云端断开连接,那么文件获取单元411不能再获取到流媒体文件的内容片段。URL作为流媒体文件的网络地址,通过访问URL即可链接到流媒体文件。
地址获取单元413用于在用户选择保留URL时,获取并存储URL,以使得文件获取单元411在移动终端与云端恢复连接时根据URL继续从云端获取流媒体文件的内容片段。其中,移动终端与云端恢复连接,文件获取单元411可以根据URL访问流媒体文件从云端重新获取流媒体文件的内容片段,也可以从云端获取剩余的尚未被获取的流媒体文件的内容片段,即断点续传。
用户所选择的DLNA设备具有多个播放器,媒体分享模块44包括传输单元441、第二判断单元442和处理单元443。
传输单元441用于将缓存的流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备。
第二判断单元442用于判断用户从多个播放器中选择的播放器是否支持播放流媒体文件。其中,播放器支持格式如果不包含流媒体文件的格式或者经过转码的目标格式,那么播放器不支持播放流媒体文件。或者,流媒体文件的分辨率高于播放器支持的分辨率,播放器也不持播放流媒体文件。
处理单元443用于在所选择的播放器支持播放流媒体文件时,控制所选择的播放器播放流媒体文件的内容片段。可选地,处理单元443还用于在所选择的播放器不支持播放流媒体文件时,提示用户重新选择播放器或者重新选择DLNA设备。其中,播放器连续播放流媒体文件的内容片段,就可完整播放流媒体文件。
本发明的移动终端及基于DLNA实现云端流媒体文件分享的方法克服了移动终端只能分享本地保存的媒体文件到DLNA设备的限制,能够在播放云端的流媒体文件的同时实时分享到DLNA设备,实现移动终端播放与分享同步进行,从而能够通过移动终端将云端的流媒体文件分享到DLNA设备,解决了现有技术存在的技术问题,可以扩展DLNA的应用范围,丰富用户体验。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (13)

  1. 一种基于数字生活网络联盟DLNA实现云端流媒体文件分享的方法,其特征在于,包括:
    移动终端在播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段,其中,如果在获取所述流媒体文件的内容片段的过程中所述移动终端与所述云端断开连接,判断用户是否选择保留访问所述流媒体文件的统一资源定位符URL,如果用户选择保留所述URL,获取并存储所述URL,以使得所述移动终端与所述云端恢复连接时根据所述URL继续从所述云端获取所述流媒体文件的内容片段;
    根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式;
    按照DLNA协议在所述移动终端所处的局域网中搜索DLNA设备;
    将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制所述DLNA设备播放所述流媒体文件的内容片段。
  2. 根据权利要求1所述的方法,其特征在于,用户所选择的所述DLNA设备具有多个播放器,所述控制所述DLNA设备播放所述流媒体文件的内容片段的步骤包括:
    判断用户从所述多个播放器中选择的播放器是否支持播放所述流媒体文件;
    如果所选择的所述播放器支持播放所述流媒体文件,控制所选择的所述播放器播放所述流媒体文件的内容片段。
  3. 根据权利要求2所述的方法,其特征在于,如果所选择的所述播放器不支持播放所述流媒体文件,提示用户重新选择播放器或者重新选择DLNA设备。
  4. 一种基于数字生活网络联盟DLNA实现云端流媒体文件分享的方法,其特征在于,包括:
    移动终端在播放云端的流媒体文件过程中接收到来自用户的DLNA分享请求时,根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段;
    按照DLNA协议在所述移动终端所处的局域网中搜索DLNA设备;
    将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制所述DLNA设备播放所述流媒体文件的内容片段。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段的步骤之后,所述将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备之前,所述方法还包括:
    根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式。
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段的步骤还包括:
    如果在获取所述流媒体文件的内容片段的过程中所述移动终端与所述云端断开连接,判断用户是否选择保留访问所述流媒体文件的统一资源定位符URL;
    如果用户选择保留所述URL,获取并存储所述URL,以使得所述移动终端与所述云端恢复连接时根据所述URL继续从所述云端获取所述流媒体文件的内容片段。
  7. 根据权利要求6所述的方法,其特征在于,用户所选择的所述DLNA设备具有多个播放器,所述控制所述DLNA设备播放所述流媒体文件的内容片段的步骤包括:
    判断用户从所述多个播放器中选择的播放器是否支持播放所述流媒体文件;
    如果所选择的所述播放器支持播放所述流媒体文件,控制所选择的所述播放器播放所述流媒体文件的内容片段。
  8. 根据权利要求7所述的方法,其特征在于,如果所选择的所述播放器不支持播放所述流媒体文件,提示用户重新选择播放器或者重新选择DLNA设备。
  9. 一种移动终端,其特征在于,包括:
    媒体获取模块,用于在所述移动终端播放云端的流媒体文件过程中接收到来自用户的数字生活网络联盟DLNA分享请求时,根据所述DLNA分享请求从所述云端获取并缓存所述流媒体文件的内容片段;
    DLNA模块,用于按照DLNA协议在所述移动终端所处的局域网中搜索DLNA设备;
    媒体分享模块,用于将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备,并控制所述DLNA设备播放所述流媒体文件的内容片段。
  10. 根据权利要求9所述的移动终端,其特征在于,所述移动终端还包括转码模块,所述转码模块用于在所述媒体获取模块缓存所述流媒体文件的内容片段之后,所述媒体分享模块将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备之前,根据预先设置的转码参数将缓存的所述流媒体文件的内容片段转码为目标格式。
  11. 根据权利要求9所述的移动终端,其特征在于,所述媒体获取模块包括文件获取单元、第一判断单元以及地址获取单元,
    所述第一判断单元用于在所述文件获取单元获取所述流媒体文件的内容片段的过程中所述移动终端与所述云端断开连接时,判断用户是否选择保留访问所述流媒体文件的统一资源定位符URL;
    所述地址获取单元用于在用户选择保留所述URL时,获取并存储所述URL,以使得所述文件获取单元在所述移动终端与所述云端恢复连接时根据所述URL继续从所述云端获取所述流媒体文件的内容片段。
  12. 根据权利要求11所述的移动终端,其特征在于,用户所选择的所述DLNA设备具有多个播放器,所述媒体分享模块包括传输单元、第二判断单元和处理单元,
    所述传输单元用于将缓存的所述流媒体文件的内容片段发送到用户从搜索结果中选择的DLNA设备;
    所述第二判断单元用于判断用户从所述多个播放器中选择的播放器是否支持播放所述流媒体文件;
    所述处理单元用于在所选择的所述播放器支持播放所述流媒体文件时,控制所选择的所述播放器播放所述流媒体文件的内容片段。
  13. 根据权利要求12所述的移动终端,其特征在于,所述处理单元还用于在所选择的所述播放器不支持播放所述流媒体文件时,提示用户重新选择播放器或者重新选择DLNA设备。
PCT/CN2014/078803 2014-02-19 2014-05-29 移动终端及基于dlna实现云端流媒体文件分享的方法 WO2015123934A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14863078.3A EP3110098A4 (en) 2014-02-19 2014-05-29 Mobile terminal and method for achieving sharing of streaming media file of cloud based on dlna
US14/442,542 US10334003B2 (en) 2014-02-19 2014-05-29 Mobile terminal and method for achieving cloud streaming medium file sharing based on DLNA

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410056785.4A CN103825890A (zh) 2014-02-19 2014-02-19 移动终端及基于dlna实现云端流媒体文件分享的方法
CN201410056785.4 2014-02-19

Publications (1)

Publication Number Publication Date
WO2015123934A1 true WO2015123934A1 (zh) 2015-08-27

Family

ID=50760718

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/078803 WO2015123934A1 (zh) 2014-02-19 2014-05-29 移动终端及基于dlna实现云端流媒体文件分享的方法

Country Status (4)

Country Link
US (1) US10334003B2 (zh)
EP (1) EP3110098A4 (zh)
CN (1) CN103825890A (zh)
WO (1) WO2015123934A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835192A (zh) * 2017-11-29 2018-03-23 上海网达软件股份有限公司 一种检测实时转码系统中hls直播流是否正常的方法及系统
CN114697880A (zh) * 2020-12-31 2022-07-01 华为技术有限公司 跨网段发现的方法、路由设备及系统

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825890A (zh) 2014-02-19 2014-05-28 惠州Tcl移动通信有限公司 移动终端及基于dlna实现云端流媒体文件分享的方法
CN105786367A (zh) * 2014-12-18 2016-07-20 中兴通讯股份有限公司 一种虚拟桌面的显示方法和终端
CN104618500B (zh) * 2015-02-15 2018-03-23 冠捷显示科技(厦门)有限公司 一种基于dlna的局域网应用程序数据分享的方法
US20210279297A1 (en) * 2016-05-13 2021-09-09 Equals 3 LLC Linking to a search result
CN106201734B (zh) * 2016-06-22 2023-09-01 北京小米移动软件有限公司 文件分享方法及装置
CN106803974B (zh) * 2017-03-01 2019-07-30 北京牡丹电子集团有限责任公司数字电视技术中心 直播视频流实时转发方法
CN108737355B (zh) * 2017-04-25 2021-11-30 中信国安广视网络有限公司 基于用户带宽的流媒体播放
CN107509089B (zh) * 2017-09-12 2019-07-05 中广热点云科技有限公司 一种移动终端分享视频片段的方法
CN110557672B (zh) * 2018-06-01 2021-11-23 深圳Tcl新技术有限公司 一种电视节目共享方法、电视机及存储介质
CN111654726A (zh) * 2020-05-25 2020-09-11 深圳创维-Rgb电子有限公司 电视节目播放方法、电视及计算机可读存储介质
CN112040264B (zh) * 2020-09-06 2023-04-21 北京字节跳动网络技术有限公司 互动系统、方法、装置、计算机设备及存储介质
CN115802097B (zh) * 2023-01-18 2023-05-02 中传互动(湖北)信息技术有限公司 一种低延时直播流媒体方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739779A (zh) * 2012-06-04 2012-10-17 Tcl集团股份有限公司 一种基于dlna的数字家庭交互方法、系统及相应设备
US20130145048A1 (en) * 2011-12-05 2013-06-06 Konkuk University Industrial Cooperation Corp System and Method Automatically of Personalized Media Device Selection and Data Management in Smart Media Cloud Environment
CN103561279A (zh) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 一种多媒体文件播放的方法、系统及云转码服务设备
CN103825890A (zh) * 2014-02-19 2014-05-28 惠州Tcl移动通信有限公司 移动终端及基于dlna实现云端流媒体文件分享的方法

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7089579B1 (en) * 1998-12-20 2006-08-08 Tvworks, Llc System for transporting MPEG video as streaming video in an HTML web page
US7797718B2 (en) * 2001-05-03 2010-09-14 Mitsubishi Digital Electronics America, Inc. Control system and user interface for network of input devices
US7516136B2 (en) * 2005-05-17 2009-04-07 Palm, Inc. Transcoding media files in a host computing device for use in a portable computing device
KR20070016277A (ko) * 2005-08-02 2007-02-08 주식회사 팬택앤큐리텔 이동 통신 단말기 및 그를 이용한 주문형 비디오 서비스방법
JP4935345B2 (ja) * 2006-12-25 2012-05-23 ソニー株式会社 コンテンツ再生システム、再生装置、再生制御方法及びプログラム
US8078688B2 (en) * 2006-12-29 2011-12-13 Prodea Systems, Inc. File sharing through multi-services gateway device at user premises
JP5245553B2 (ja) * 2008-06-10 2013-07-24 船井電機株式会社 再生装置
US9286045B2 (en) * 2008-08-18 2016-03-15 Infosys Limited Method and system for providing applications to various devices
US20100138900A1 (en) * 2008-12-02 2010-06-03 General Instrument Corporation Remote access of protected internet protocol (ip)-based content over an ip multimedia subsystem (ims)-based network
US20130057774A1 (en) * 2010-05-19 2013-03-07 Sharp Kabushiki Kaisha Reproduction device, display device, television receiver, system, recognition method, program, and recording medium
CN102638443B (zh) * 2011-02-15 2017-07-21 中兴通讯股份有限公司 流媒体资源共享的方法、系统及具有dlna功能的设备
FR2973629A1 (fr) * 2011-03-31 2012-10-05 France Telecom Substitution d'un ou plusieurs serveurs de contenus par un serveur de substitution
KR101796975B1 (ko) * 2011-09-30 2017-11-14 삼성전자주식회사 디엘엔에이 네트워크를 공유하는 시스템
US9116893B2 (en) * 2011-10-21 2015-08-25 Qualcomm Incorporated Network connected media gateway for communication networks
US9948690B2 (en) * 2013-08-15 2018-04-17 Comcast Cable Communications, Llc Caching media in a media fling system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130145048A1 (en) * 2011-12-05 2013-06-06 Konkuk University Industrial Cooperation Corp System and Method Automatically of Personalized Media Device Selection and Data Management in Smart Media Cloud Environment
CN102739779A (zh) * 2012-06-04 2012-10-17 Tcl集团股份有限公司 一种基于dlna的数字家庭交互方法、系统及相应设备
CN103561279A (zh) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 一种多媒体文件播放的方法、系统及云转码服务设备
CN103825890A (zh) * 2014-02-19 2014-05-28 惠州Tcl移动通信有限公司 移动终端及基于dlna实现云端流媒体文件分享的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3110098A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835192A (zh) * 2017-11-29 2018-03-23 上海网达软件股份有限公司 一种检测实时转码系统中hls直播流是否正常的方法及系统
CN107835192B (zh) * 2017-11-29 2020-12-15 上海网达软件股份有限公司 一种检测实时转码系统中hls直播流是否正常的方法及系统
CN114697880A (zh) * 2020-12-31 2022-07-01 华为技术有限公司 跨网段发现的方法、路由设备及系统
CN114697880B (zh) * 2020-12-31 2023-05-12 华为技术有限公司 跨网段发现的方法、路由设备及系统

Also Published As

Publication number Publication date
CN103825890A (zh) 2014-05-28
US10334003B2 (en) 2019-06-25
EP3110098A4 (en) 2017-10-25
EP3110098A1 (en) 2016-12-28
US20160294895A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
WO2015123934A1 (zh) 移动终端及基于dlna实现云端流媒体文件分享的方法
WO2012138183A2 (en) Apparatus and method for providing content using a network condition-based adaptive data streaming service
KR101056617B1 (ko) 정보 처리 장치, 및 콘텐츠 정보 처리 방법
US7089319B2 (en) Method and system for instantaneous on-demand delivery of multimedia content over a communication network with aid of content capturing component, delivery-on-demand client and dynamically mapped resource locator server
WO2012093877A2 (en) Apparatus and method for generating bookmark in streaming service system
WO2013113190A1 (zh) 一种实现多屏同步显示的方法及系统
WO2012124904A2 (ko) 이동 통신 시스템에서 콘텐츠 수신 방법 및 장치
WO2010128827A2 (en) System and method for providing phone related services to devices using upnp on a home network
WO2015076537A1 (ko) 동영상 제공 방법 및 동영상 제공 시스템
WO2013008994A1 (ko) 디바이스 디스커버리 방법 및 콘텐트 다운로드 방법
US8250238B2 (en) Network device, address change notification method, and address change notification program
WO2016013718A1 (ko) 와이파이 망을 이용한 웹기반 광고 제공 시스템 및 방법
WO2013024966A1 (ko) 콘텐트 수신 방법 및 장치
WO2013012278A2 (ko) 통신 시스템에서 ip 어드레스를 이용한 디바이스 컨텍스트 관리 방법 및 장치
WO2015199271A1 (en) Method and system for sharing files over p2p
WO2017142336A1 (ko) 복수의 전자 기기들이 하나의 전자 기기와 연동된 서비스를 이용하는 방법 및 장치
WO2010087669A2 (en) Method and apparatus for sharing content in an internet broadcasting system
EP2594065A2 (en) Apparatus and method for configuring high-definition video telephony between computer devices
WO2012099402A2 (en) Method and apparatus for phone communication using home network
WO2010123268A2 (en) Method and apparatus for using contents of wireless terminal in home network system
WO2010055998A2 (ko) 관련 컨텐츠 제공 시스템, 제공 방법, 서비스 서버, 종단 단말기 및 저장 매체
WO2019052463A1 (zh) 基于WiFi Display的多媒体文件共享方法、设备以及系统
WO2017128594A1 (zh) 一种呈现数字电视多样化频道列表的处理方法、装置及终端
EP2586262A2 (en) Method and apparatus for random access to multimedia content in wireless communication system
WO2015192472A1 (zh) 一种多媒体资源管理方法、云服务器及电子设备

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 14442542

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2014863078

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014863078

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14863078

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE