[go: up one dir, main page]

CN103457966A - Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology - Google Patents

Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology Download PDF

Info

Publication number
CN103457966A
CN103457966A CN2012101717811A CN201210171781A CN103457966A CN 103457966 A CN103457966 A CN 103457966A CN 2012101717811 A CN2012101717811 A CN 2012101717811A CN 201210171781 A CN201210171781 A CN 201210171781A CN 103457966 A CN103457966 A CN 103457966A
Authority
CN
China
Prior art keywords
cloud storage
dms
dmr
file
control module
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2012101717811A
Other languages
Chinese (zh)
Other versions
CN103457966B (en
Inventor
陈秋林
谭巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210171781.1A priority Critical patent/CN103457966B/en
Publication of CN103457966A publication Critical patent/CN103457966A/en
Application granted granted Critical
Publication of CN103457966B publication Critical patent/CN103457966B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明实施例公开了一种基于DLNA技术访问云存储设备的方法、设备和系统,用于让基于DLNA技术的设备能够共享云存储设备的媒体资源。该方法包括:云存储控制模块收到扫描模块的请求后访问云存储设备内存储的文件信息,并将获取的文件信息发送给扫描模块;扫描模块向DMS推送新的文件元数据,DMC在DMS上浏览并选定媒体文件,通知DMR建立与DMS之间的连接,DMS收到DMR通过连接发送的播放请求,通过云存储控制模块从云存储设备获取媒体文件并传送给DMR,由DMR进行播放。

Figure 201210171781

The embodiment of the present invention discloses a method, device and system for accessing cloud storage devices based on DLNA technology, which are used to enable devices based on DLNA technology to share media resources of the cloud storage device. The method includes: the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request from the scanning module, and sends the obtained file information to the scanning module; the scanning module pushes new file metadata to the DMS, and the DMC performs Browse and select media files on the Internet, notify DMR to establish a connection with DMS, DMS receives the playback request sent by DMR through the connection, obtains media files from cloud storage devices through the cloud storage control module and transmits them to DMR, and DMR plays them .

Figure 201210171781

Description

基于DLNA技术访问云存储设备的方法、设备及系统Method, device and system for accessing cloud storage device based on DLNA technology

技术领域 technical field

本发明涉及通信技术领域,尤其涉及基于数字生活网络联盟DLNA技术访问云存储设备的方法、DMC和多媒体存储播放系统。The invention relates to the field of communication technology, in particular to a method for accessing a cloud storage device based on the Digital Living Network Alliance DLNA technology, a DMC and a multimedia storage and playback system.

背景技术 Background technique

DLNA(Digital Living Network Alliance,数字生活网络联盟)是数字家庭中实现媒体互访的一个行业规范,解决了PC(Personal Computer,个人计算机)、消费电器、移动设备之间的无线网络和有线网络的互联互通。DLNA (Digital Living Network Alliance, Digital Living Network Alliance) is an industry specification for media mutual access in digital homes, which solves the problem of wireless and wired networks between PCs (Personal Computers, personal computers), consumer appliances, and mobile devices. interconnection.

随着人们需求的不断增加,PC、消费电器、移动设备的存储容量逐渐增加,现在有些PC、消费电器、移动设备已经能够使用云存储设备作为存储工具。With the continuous increase of people's demand, the storage capacity of PCs, consumer appliances, and mobile devices is gradually increasing. Now some PCs, consumer appliances, and mobile devices can already use cloud storage devices as storage tools.

云存储是在云计算(cloud computing)的基础上延伸和发展出来的,能够为终端提供数据存储和业务访问功能。用户可以在终端上使用Web网页、网盘客户端、或移动APP(Accelerated Parallel Processing,AMD加速并行处理技术)等通过网络访问云存储设备,浏览云存储设备上的文件目录结构、文件列表,还可以向云存储设备上传文件、或者从云存储设备下载文件等。Cloud storage is extended and developed on the basis of cloud computing, which can provide data storage and business access functions for terminals. Users can use web pages, network disk clients, or mobile APP (Accelerated Parallel Processing, AMD accelerated parallel processing technology) on the terminal to access the cloud storage device through the network, browse the file directory structure and file list on the cloud storage device, and Files can be uploaded to or downloaded from the cloud storage device.

云存储设备为终端提供了很大的存储空间,但是,在目前的DLNA系统中,各个终端只能互访存储在本地的内容,无法直接共享存储在云存储设备上的文件。The cloud storage device provides a large storage space for the terminal. However, in the current DLNA system, each terminal can only access the content stored locally, and cannot directly share the files stored on the cloud storage device.

发明内容 Contents of the invention

本发明的实施例提供一种基于DLNA技术访问云存储设备的方法、DMC和多媒体存储播放系统,用于解决现有技术存在着的各DLNA终端只能访问本地内容,无法直接共享存储在云存储设备上的文件的问题。Embodiments of the present invention provide a method for accessing cloud storage devices based on DLNA technology, a DMC, and a multimedia storage and playback system, which are used to solve the problem in the prior art that each DLNA terminal can only access local content and cannot directly share and store in cloud storage. Problems with files on the device.

为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:

一方面,一种基于DLNA技术访问云存储设备的方法,应用于由数字媒体服务器DMS,数字媒体播放器DMR,数字媒体控制器DMC,扫描模块,云存储控制模块以及云存储设备组成的多媒体存储播放系统,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;On the one hand, a method for accessing cloud storage devices based on DLNA technology is applied to multimedia storage composed of digital media server DMS, digital media player DMR, digital media controller DMC, scanning module, cloud storage control module and cloud storage device Playing system, wherein, the DMS, the DMR and the DMC are implemented based on the DLNA protocol;

所述扫描模块用于向所述云存储控制模块定时发送扫描所述云存储设备存储内容的请求,使得所述云存储控制模块收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The scanning module is configured to periodically send a request for scanning the storage content of the cloud storage device to the cloud storage control module, so that the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request, and Sending the acquired file information to the scanning module, so that the scanning module caches the file information locally after receiving the file information;

所述方法包括:The methods include:

所述DMC浏览所述DMS上使用文件元数据表示的媒体文件,其中,所述DMS上的文件元数据由所述扫描模块发现云存储设备上的内容有更新时向所述DMS推送PUSH得到;The DMC browses the media files represented by file metadata on the DMS, wherein the file metadata on the DMS is obtained by pushing PUSH to the DMS when the scanning module finds that the content on the cloud storage device is updated;

所述DMC选定一个需要播放的第一媒体文件;The DMC selects a first media file that needs to be played;

所述DMC通知所述DMR建立与所述DMS之间的连接,以便于所述DMR通过所述连接向所述DMS发送播放所述第一媒体文件的请求,所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR,由所述DMR进行播放。The DMC notifies the DMR to establish a connection with the DMS, so that the DMR sends a request for playing the first media file to the DMS through the connection, and the DMS passes the The cloud storage control module acquires the first media file from the cloud storage device and transmits it to the DMR, and the DMR plays it.

另一方面,一种数字媒体控制器DMC,所述DMC和数字媒体服务器DMS,数字媒体播放器DMR,扫描模块,云存储控制模块以及云存储设备组成多媒体存储播放系统,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;On the other hand, a digital media controller DMC, the DMC, a digital media server DMS, a digital media player DMR, a scanning module, a cloud storage control module and a cloud storage device form a multimedia storage and playback system, wherein the DMS, The DMR and the DMC are implemented based on the DLNA protocol;

所述扫描模块用于向所述云存储控制模块定时发送扫描所述云存储设备存储内容的请求,所述云存储控制模块收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The scanning module is configured to periodically send a request for scanning the storage content of the cloud storage device to the cloud storage control module, and the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request, and sends The acquired file information is sent to the scanning module, so that the scanning module caches the file information locally after receiving the file information;

所述DMC包括:The DMC includes:

浏览单元,用于所述DMC浏览所述DMS上使用文件元数据表示的媒体文件,其中,所述DMS上的文件元数据由所述扫描模块发现云存储设备上的内容有更新时向所述DMS推送PUSH得到;The browsing unit is used for the DMC to browse the media files represented by file metadata on the DMS, wherein the file metadata on the DMS is sent to the DMS pushes PUSH to get;

选定单元,通过所述浏览单元浏览后,选定一个需要播放的第一媒体文件;The selected unit, after browsing through the browsing unit, selects a first media file that needs to be played;

通知单元,用于当所述选定单元选定所述第一媒体文件后,通知所述DMR建立与所述DMS之间的连接,以便于所述DMR通过所述连接向所述DMS发送播放所述第一媒体文件的请求,使得所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR,由所述DMR进行播放。A notification unit, configured to notify the DMR to establish a connection with the DMS after the selection unit selects the first media file, so that the DMR can send the playback to the DMS through the connection The request for the first media file enables the DMS to obtain the first media file from the cloud storage device through the cloud storage control module after receiving the request, and transmit the first media file to the DMR for playback by the DMR.

再一方面,一种多媒体存储播放系统,包括:数字媒体服务器DMS,数字媒体播放器DMR,数字媒体控制器DMC,扫描模块,云存储控制模块,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;In another aspect, a multimedia storage and playback system includes: a digital media server DMS, a digital media player DMR, a digital media controller DMC, a scanning module, and a cloud storage control module, wherein the DMS, the DMR and the DMC is implemented based on the DLNA protocol;

所述扫描模块,用于向所述云存储控制模块定时发送扫描云存储设备存储内容的请求,发现所述云存储设备上的内容有更新时向所述DMS推送PUSH文件元数据;The scanning module is configured to regularly send a request to scan the storage content of the cloud storage device to the cloud storage control module, and push PUSH file metadata to the DMS when the content on the cloud storage device is found to be updated;

所述云存储控制模块,用于收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The cloud storage control module is configured to access the file information stored in the cloud storage device after receiving the request, and send the acquired file information to the scanning module, so that the scanning module receives the file information Cache the file information locally;

所述DMC,用于浏览所述DMS上使用文件元数据表示的媒体文件,选定一个需要播放的第一媒体文件,并通知所述DMR建立与所述DMS之间的连接;The DMC is configured to browse media files represented by file metadata on the DMS, select a first media file to be played, and notify the DMR to establish a connection with the DMS;

所述DMR,用于通过所述连接向所述DMS发送播放所述第一媒体文件的请求,接收所述DMS发送的所述第一媒体文件,并进行播放。The DMR is configured to send a request to the DMS to play the first media file through the connection, receive the first media file sent by the DMS, and play it.

所述DMS,用于收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR。The DMS is configured to obtain the first media file from the cloud storage device through the cloud storage control module after receiving the request and transmit it to the DMR.

本发明实施例提供的基于DLNA技术访问云存储设备的方法、DMC和多媒体存储播放系统,DMC浏览DMS上使用文件元数据表示的媒体文件,其中,DMS上的文件元数据由扫描模块发现云存储设备上的内容有更新时向DMS推送PUSH得到;DMC选定一个需要播放的第一媒体文件;DMC通知DMR建立与DMS之间的连接,以便于DMR通过连接向DMS发送播放第一媒体文件的请求,DMS收到该请求后通过云存储控制模块从云存储设备获取第一媒体文件并传送给DMR,由DMR进行播放,上述基于DLNA协议实现的DMS,DMR以及DMC,能够从云存储设备中获取媒体资源,并由DMR进行播放,能够实现基于DLNA技术的设备共享云存储设备上的媒体资源。The embodiment of the present invention provides a method for accessing a cloud storage device based on DLNA technology, a DMC, and a multimedia storage and playback system. The DMC browses media files represented by file metadata on the DMS, wherein the file metadata on the DMS is found by the scanning module. When the content on the device is updated, push PUSH to DMS to get it; DMC selects a first media file that needs to be played; DMC notifies DMR to establish a connection with DMS, so that DMR sends to DMS the instruction to play the first media file through the connection Request, after receiving the request, the DMS obtains the first media file from the cloud storage device through the cloud storage control module and transmits it to the DMR, which is played by the DMR. Acquiring media resources and playing them by DMR can realize the sharing of media resources on cloud storage devices by devices based on DLNA technology.

附图说明 Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为本发明实施例提供的一种用于访问云存储设备的方法的流程图;FIG. 1 is a flow chart of a method for accessing a cloud storage device provided by an embodiment of the present invention;

图2为实现本发明实施例中用于访问云存储设备的方法的设备及其信息流转关系示意图;FIG. 2 is a schematic diagram of a device implementing a method for accessing a cloud storage device in an embodiment of the present invention and its information flow relationship;

图3为本发明实施例提供的另一种用于访问云存储设备的方法的流程图;FIG. 3 is a flow chart of another method for accessing a cloud storage device provided by an embodiment of the present invention;

图4为本发明实施例提供的一种DMC的结构图;FIG. 4 is a structural diagram of a DMC provided by an embodiment of the present invention;

图5为本发明实施例提供的一种多媒体存储播放系统的结构图。FIG. 5 is a structural diagram of a multimedia storage and playback system provided by an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例提供了一种基于DLNA技术访问云存储设备的方法,应用于由数字媒体服务器DMS,数字媒体播放器DMR,数字媒体控制器DMC,扫描模块,云存储控制模块以及云存储设备组成的多媒体存储播放系统,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;The embodiment of the present invention provides a method for accessing a cloud storage device based on DLNA technology, which is applied to a digital media server DMS, a digital media player DMR, a digital media controller DMC, a scanning module, a cloud storage control module and a cloud storage device. A multimedia storage and playback system, wherein the DMS, the DMR and the DMC are implemented based on the DLNA protocol;

所述扫描模块用于向所述云存储控制模块定时发送扫描所述云存储设备存储内容的请求,所述云存储控制模块收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The scanning module is configured to periodically send a request for scanning the storage content of the cloud storage device to the cloud storage control module, and the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request, and sends The acquired file information is sent to the scanning module, so that the scanning module caches the file information locally after receiving the file information;

如图1所示,该方法包括:As shown in Figure 1, the method includes:

101、DMC浏览DMS上使用文件元数据表示的媒体文件,其中,DMS上的文件元数据由扫描模块发现云存储设备上的内容有更新时向DMS推送PUSH得到;101. The DMC browses the media files represented by file metadata on the DMS, wherein the file metadata on the DMS is obtained by pushing PUSH to the DMS when the scanning module finds that the content on the cloud storage device is updated;

所述扫描模块定期或者不定期的发现云存储设备上的内容有更新时向所述DMS推送,所述DMS保存扫描模块推送的文件元数据,供DMC定期或者不定期的浏览。The scanning module regularly or irregularly finds that the content on the cloud storage device is updated and pushes it to the DMS, and the DMS saves the file metadata pushed by the scanning module for regular or irregular browsing by the DMC.

102、DMC选定一个需要播放的第一媒体文件;102. The DMC selects a first media file to be played;

浏览后,用户可以控制或者根据预设规则DMC选定一个需要播放的第一媒体文件。After browsing, the user can control or select a first media file to be played by the DMC according to preset rules.

103、DMC通知DMR建立与DMS之间的连接,以便于DMR通过连接向DMS发送请求播放第一媒体文件的请求,DMS收到该请求后通过云存储控制模块从云存储设备获取第一媒体文件并传送给DMR,由DMR进行播放。103. The DMC notifies the DMR to establish a connection with the DMS, so that the DMR sends a request for playing the first media file to the DMS through the connection. After receiving the request, the DMS obtains the first media file from the cloud storage device through the cloud storage control module And sent to DMR, played by DMR.

即DMC选定一个要播放的第一媒体文件后,最后可以由DMR进行播放。实际应用当中,DMC可以是基于DLNA的终端应用(如在手机、平板、PC上的一个应用程序),DMR可以是控制电视的一个设备(或电视内部集成)。基于上述具体实现,本实施例的一个典型应用场景为:用户可以在手机上选择播放一个自云存储设备上文件,然后该文件会在电视上进行播放。That is, after the DMC selects a first media file to be played, it can be finally played by the DMR. In practical applications, DMC can be a DLNA-based terminal application (such as an application program on a mobile phone, a tablet, or a PC), and DMR can be a device for controlling a TV (or integrated inside the TV). Based on the above specific implementation, a typical application scenario of this embodiment is: the user can choose to play a file on the mobile phone from the cloud storage device, and then the file will be played on the TV.

本实施例提供的基于DLNA技术访问云存储设备的方法,DMC浏览DMS上使用文件元数据表示的媒体文件,其中,DMS上的文件元数据由扫描模块发现云存储设备上的内容有更新时向DMS推送PUSH得到;DMC选定一个需要播放的第一媒体文件;DMC通知DMR建立与DMS之间的连接,以便于DMR通过连接向DMS发送播放第一媒体文件的请求,DMS收到该请求后通过云存储控制模块从云存储设备获取第一媒体文件并传送给DMR,由DMR进行播放,上述基于DLNA协议实现的DMS,DMR以及DMC,能够从云存储设备中获取媒体资源,并由DMR进行播放,能够实现基于DLNA技术的设备共享云存储设备上的媒体资源。The method for accessing a cloud storage device based on DLNA technology provided in this embodiment, the DMC browses the media file represented by the file metadata on the DMS, wherein the file metadata on the DMS is updated when the content on the cloud storage device is found by the scanning module DMS pushes PUSH to get it; DMC selects a first media file that needs to be played; DMC notifies DMR to establish a connection with DMS, so that DMR sends a request to play the first media file to DMS through the connection, and DMS receives the request. Obtain the first media file from the cloud storage device through the cloud storage control module and send it to the DMR, and the DMR will play it. The DMS, DMR and DMC implemented based on the DLNA protocol can obtain media resources from the cloud storage device and be played by the DMR. Play, which can realize the sharing of media resources on cloud storage devices by devices based on DLNA technology.

作为图1所示方法实施例的一种改进,本发明实施例提供另一种基于DLNA技术访问云存储设备的方法,应用于由数字媒体服务器DMS,数字媒体播放器DMR,数字媒体控制器DMC,扫描模块,云存储控制模块以及云存储设备组成的多媒体存储播放系统,该系统中的各个组成部分之间的数据、信号流转关系如图2所示,其中,DMS,DMR以及DMC基于DLNA协议实现;As an improvement of the method embodiment shown in Figure 1, the embodiment of the present invention provides another method for accessing a cloud storage device based on DLNA technology, which is applied to a digital media server DMS, a digital media player DMR, and a digital media controller DMC. , a scanning module, a cloud storage control module, and a multimedia storage and playback system composed of cloud storage devices. The data and signal flow relationship between the various components in the system is shown in Figure 2, where DMS, DMR, and DMC are based on the DLNA protocol accomplish;

参考图2,扫描模块用于向云存储控制模块定时发送扫描云存储设备存储内容的请求,云存储控制模块收到请求后访问云存储设备内存储的文件信息,并将获取的文件信息发送给扫描模块,使得扫描模块收到文件信息后将文件信息缓存到本地;Referring to Figure 2, the scanning module is used to periodically send a request for scanning the storage content of the cloud storage device to the cloud storage control module, and the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request, and sends the acquired file information to The scanning module makes the scanning module cache the file information locally after receiving the file information;

具体的,如图3所示,本实施例提供的方法包括以下步骤:Specifically, as shown in Figure 3, the method provided in this embodiment includes the following steps:

301、扫描模块向云存储控制模块定时发送扫描云存储设备存储内容的请求。301. The scanning module periodically sends a request for scanning content stored in the cloud storage device to the cloud storage control module.

云存储设备中存储来自至少两个不同终端的媒体内容,云存储控制模块相当于扫描模块与云存储设备之间的接口,文件信息可以包括:文件名称、文件大小、创建时间等。The cloud storage device stores media content from at least two different terminals. The cloud storage control module is equivalent to the interface between the scanning module and the cloud storage device. File information may include: file name, file size, creation time, etc.

302、云存储控制模块收到扫描模块的请求后访问云存储设备内存储的文件信息,并将获取的文件信息发送给扫描模块。302. After receiving the request from the scanning module, the cloud storage control module accesses the file information stored in the cloud storage device, and sends the obtained file information to the scanning module.

扫描模块收到文件信息后将文件信息解析并缓存到本地。After the scanning module receives the file information, it parses the file information and caches it locally.

303、扫描模块向DMS发送接收到的用于表示媒体文件的文件元数据。303. The scanning module sends the received file metadata used to represent the media file to the DMS.

扫描模块发现云存储设备上的内容有更新时向DMS推送新增用于表示媒体文件的文件元数据,DMS接收并保存扫描模块发送的文件元数据。When the scanning module finds that the content on the cloud storage device is updated, it pushes the newly added file metadata used to represent the media file to the DMS, and the DMS receives and saves the file metadata sent by the scanning module.

304、DMC浏览DMS上使用文件元数据表示的媒体文件,并选定一个需要播放的第一媒体文件。304. The DMC browses the media files represented by the file metadata on the DMS, and selects a first media file to be played.

用户通过DMC浏览DMS上的媒体文件信息,并从媒体文件信息中选择等待播放的媒体文件的文件元数据。The user browses the media file information on the DMS through the DMC, and selects the file metadata of the media file waiting to be played from the media file information.

305、DMC将系统中具备播放能力的设备确定为DMR后,向DMR发送连接通知,通知DMR与DMS建立连接。305. After determining the device capable of playing in the system as the DMR, the DMC sends a connection notification to the DMR, notifying the DMR to establish a connection with the DMS.

DMR可以只有一个,也可以有多个,当有多个DMR时,DMC会向每个DMR发送连接通知。There can be only one DMR or multiple DMRs. When there are multiple DMRs, the DMC will send a connection notification to each DMR.

306、DMS接收DMR通过DMR与DMS之间的连接发送的播放第一媒体文件的请求。306. The DMS receives the request for playing the first media file sent by the DMR through the connection between the DMR and the DMS.

DMR通过DMS获取云存储设备上的媒体资源,DMR可以是DMS的一部分,也可以是DMS以外的设备。The DMR obtains media resources on the cloud storage device through the DMS, and the DMR can be a part of the DMS or a device other than the DMS.

307、检测云存储控制模块中是否已经存在第一媒体文件。307. Detect whether the first media file already exists in the cloud storage control module.

云存储控制模块设置有用于存储媒体内容的存储区,DMS通过CSF-API(CSF-Application Programming Interface,CSF应用程序编程接口)检测云存储控制模块的存储区中是否已经存在第一媒体文件。The cloud storage control module is provided with a storage area for storing media content, and the DMS detects whether the first media file already exists in the storage area of the cloud storage control module by CSF-API (CSF-Application Programming Interface, CSF application programming interface).

优选的,为了保证DMS对云存储设备访问操作的透明,所述云存储控制模块的存储区中的文件操作封装成普通的文件操作。Preferably, in order to ensure the transparency of the access operation of the DMS to the cloud storage device, the file operations in the storage area of the cloud storage control module are encapsulated into common file operations.

本发明实施例提供的用于访问云存储设备的方法通过CSF-API远程读取云存储设备上的内容,然后传送给DMR在线播放。CSF-API面向云存储设备的接口必须适配上述系统,这类接口一般使用SOAP(Simple Object Access Protocol,简单对象访问协议)或REST(Representational State Transfer,表述性状态转移)方式,不同系统差异比较大,但CSF-API面向用于访问云存储设备的装置的接口最好是统一的,这就要求CSF-API对云存储设备的访问操作透明化。本发明实施例在CSF-API中将该透明化的接口统一封装成普通的文件操作接口,比如可以封装成fopen、fread、fseek、fwrite、fclose等函数,这样对CSF-API的使用者来说可以使用访问本地存储一样的方式来访问远端云存储设备。The method for accessing the cloud storage device provided by the embodiment of the present invention remotely reads the content on the cloud storage device through the CSF-API, and then transmits it to the DMR for online playback. The interface of CSF-API for cloud storage devices must be adapted to the above-mentioned systems. This type of interface generally uses SOAP (Simple Object Access Protocol, Simple Object Access Protocol) or REST (Representational State Transfer, representational state transfer), and the difference between different systems is compared However, it is better for the CSF-API to have a unified interface for the device used to access the cloud storage device, which requires the CSF-API to be transparent to the access operation of the cloud storage device. In the embodiment of the present invention, the transparent interface is uniformly packaged into a common file operation interface in the CSF-API, such as fopen, fread, fseek, fwrite, fclose and other functions, so that for CSF-API users Remote cloud storage devices can be accessed in the same way as local storage.

若云存储控制模块中不存在第一媒体文件,则执行步骤308,否则,执行步骤309。If the first media file does not exist in the cloud storage control module, execute step 308; otherwise, execute step 309.

308、云存储控制模块采用并行下载的方式从云存储设备下载第一媒体文件。308. The cloud storage control module downloads the first media file from the cloud storage device in a parallel download manner.

为了快速的为用户提供媒体内容,使媒体内容播放流畅,在收到DMR的媒体播放请求后,DMS可以通过CSF-API采用并行下载的方式从云存储设备下载媒体资源,并存储在云存储控制模块的存储区内。执行步骤310。In order to quickly provide users with media content and make the media content play smoothly, after receiving the media playback request from the DMR, the DMS can download the media resources from the cloud storage device in parallel download through the CSF-API, and store them in the cloud storage control in the memory area of the module. Execute step 310 .

309、DMS从云存储控制模块中直接下载第一媒体文件。309. The DMS directly downloads the first media file from the cloud storage control module.

如果云存储控制模块的存储区中已经有第一媒体文件,则DMS通过CSF-API从云存储控制模块的存储区中直接获取第一媒体文件,加快为用户提供媒体内容的速度,使媒体内容播放流畅。执行步骤310。If there is already the first media file in the storage area of the cloud storage control module, then the DMS directly obtains the first media file from the storage area of the cloud storage control module by CSF-API, so as to speed up the speed of providing media content for the user, and make the media content Plays smoothly. Execute step 310 .

从存储区中直接下载媒体标识信息对应的媒体内容,能够保证媒体播放器播放流畅以及play by Time操作时响应迅速的方法,具体的,所谓Play by time是我们播放视频时拖动进度条,跳到前面或者后面某个时间点开始播放。在拖动的过程中显示出中间画面,势必需要获得各个中间点的媒体数据。现有的云存储设备访问是基于整个文件下载,要获得每个中间点的有效媒体数据,都需要去下载对应一长段数据,这不仅会造成响应慢,而且拖动过程中很多前面下载的数据大部分被丢弃,造成资源浪费。这里设置的存储区则可弥补这个缺陷,需要跳转时,直接从存储区中找到播放点的数据即可,当然跳转范围必须在存储区内所存储数据的范围内才能保证立即响应,超出存储数据范围的则需要等待从云存储设备下载才能响应。Directly download the media content corresponding to the media identification information from the storage area, which can ensure the smooth playback of the media player and the quick response of the play by time operation. Specifically, the so-called Play by time is that we drag the progress bar and jump when we play the video. Start playing at a certain point in time before or after. To display an intermediate image during the dragging process, it is necessary to obtain the media data of each intermediate point. The existing cloud storage device access is based on the download of the entire file. To obtain the effective media data of each intermediate point, it is necessary to download the corresponding long segment of data, which will not only cause slow response, but also many previously downloaded Most of the data is discarded, resulting in waste of resources. The storage area set here can make up for this defect. When jumping is required, just find the data of the playback point directly from the storage area. Of course, the jump range must be within the range of the data stored in the storage area to ensure immediate response. If the data range is stored, it needs to wait for the download from the cloud storage device to respond.

310、在下载第一媒体文件的同时,将已经下载的部分媒体内容发送至DMR进行播放。310. While downloading the first media file, send the downloaded part of the media content to the DMR for playing.

为了减小用户等待播放的时间,用于访问云存储设备的装置采用边下载边发送的方式向DMR发送媒体内容,给用户以在线播放的感觉。In order to reduce the waiting time for the user to play, the device for accessing the cloud storage device sends the media content to the DMR in a manner of downloading and sending at the same time, giving the user the feeling of playing online.

本实施例中DMR可以是一个播放设备,如机顶盒,或者电视机本身,用于播放媒体文件(如让电视机播放用户在手机上选择的文件);DMS可以是一个单独的硬件设备,用于存储各种媒体资源,当然,这个硬件设备也可以集成到机顶盒,电视机当中;扫描模块以及云存储控制模块可以和DMS基于同一个硬件设备,在DMS与云存储之间完成相互通信;DMC可以是基于DLNA的终端设备上的一个应用软件,以实现对媒体播放的控制(如在手机、平板、PC端上浏览媒体文件并播放)。In this embodiment, DMR can be a playback device, such as a set-top box, or the TV set itself, which is used to play media files (such as allowing the TV set to play the files selected by the user on the mobile phone); DMS can be a separate hardware device used for Store various media resources, of course, this hardware device can also be integrated into set-top boxes and TVs; the scanning module and cloud storage control module can be based on the same hardware device as DMS, and complete mutual communication between DMS and cloud storage; DMC can It is an application software on a DLNA-based terminal device to control media playback (such as browsing and playing media files on mobile phones, tablets, and PCs).

通过本实施例,可以基于DLNA设备从云存储设备获取媒体资源进行播放,相对于现有技术中的DLNA系统能够为用户提供更广泛的媒体资源选择范围,增强用户体验。Through this embodiment, the media resource can be obtained from the cloud storage device based on the DLNA device for playing. Compared with the DLNA system in the prior art, the user can be provided with a wider selection range of media resources and user experience can be enhanced.

本实施例提供的基于DLNA技术访问云存储设备的方法,DMC浏览DMS上使用文件元数据表示的媒体文件,其中,DMS上的文件元数据由扫描模块发现云存储设备上的内容有更新时向DMS推送PUSH得到;DMC选定一个需要播放的第一媒体文件;DMC通知DMR建立与DMS之间的连接,以便于DMR通过连接向DMS发送播放第一媒体文件的请求,DMS收到该请求后通过云存储控制模块从云存储设备获取第一媒体文件并传送给DMR,由DMR进行播放,上述基于DLNA协议实现的DMS,DMR以及DMC,能够从云存储设备中获取媒体资源,并由DMR进行播放,能够实现基于DLNA技术的设备共享云存储设备上的媒体资源。The method for accessing a cloud storage device based on DLNA technology provided in this embodiment, the DMC browses the media file represented by the file metadata on the DMS, wherein the file metadata on the DMS is updated when the content on the cloud storage device is found by the scanning module DMS pushes PUSH to get it; DMC selects a first media file that needs to be played; DMC notifies DMR to establish a connection with DMS, so that DMR sends a request to play the first media file to DMS through the connection, and DMS receives the request. Obtain the first media file from the cloud storage device through the cloud storage control module and send it to the DMR, and the DMR will play it. The DMS, DMR and DMC implemented based on the DLNA protocol can obtain media resources from the cloud storage device and be played by the DMR. Play, which can realize the sharing of media resources on cloud storage devices by devices based on DLNA technology.

为了实现上述方法,本发明实施例相应提供了一种DMC,该DMC和DMS,DMR,扫描模块,云存储控制模块以及云存储设备组成图2所示多媒体存储播放系统,其中,DMS,DMR以及DMC基于DLNA协议实现;In order to realize the above-mentioned method, the embodiment of the present invention provides a kind of DMC correspondingly, this DMC and DMS, DMR, scanning module, cloud storage control module and cloud storage device constitute the multimedia storage playing system shown in Fig. 2, wherein, DMS, DMR and DMC is implemented based on DLNA protocol;

扫描模块用于向云存储控制模块定时发送扫描云存储设备存储内容的请求,云存储控制模块收到请求后访问云存储设备内存储的文件信息,并将获取的文件信息发送给扫描模块,使得扫描模块收到文件信息后将文件信息缓存到本地;The scanning module is used to periodically send a request for scanning the storage content of the cloud storage device to the cloud storage control module. After receiving the request, the cloud storage control module accesses the file information stored in the cloud storage device, and sends the acquired file information to the scanning module, so that After the scanning module receives the file information, it caches the file information locally;

如图4所示该DMC包括:浏览单元41、选定单元42、通知单元43。As shown in FIG. 4 , the DMC includes: a browsing unit 41 , a selection unit 42 , and a notification unit 43 .

浏览单元41,用于所述DMC浏览所述DMS上使用文件元数据表示的媒体文件,其中,所述DMS上的文件元数据由所述扫描模块发现云存储设备上的内容有更新时向所述DMS推送PUSH得到;The browsing unit 41 is used for the DMC to browse the media files represented by the file metadata on the DMS, wherein the file metadata on the DMS is sent to all when the scanning module finds that the content on the cloud storage device is updated. The above DMS pushes PUSH to obtain;

选定单元42,用于通过所述浏览单元浏览后,选定一个需要播放的第一媒体文件;The selection unit 42 is used to select a first media file to be played after browsing through the browsing unit;

通知单元43,用于当所述选定单元选定所述第一媒体文件后,通知所述DMR建立与所述DMS之间的连接,以便于所述DMR通过所述连接向所述DMS发送播放所述第一媒体文件的请求,使得所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR,由所述DMR进行播放。A notification unit 43, configured to notify the DMR to establish a connection with the DMS after the selection unit selects the first media file, so that the DMR can send the media file to the DMS through the connection. Play the request of the first media file, so that after the DMS receives the request, the cloud storage control module obtains the first media file from the cloud storage device and transmits it to the DMR, and the DMR plays it .

本实施例提供的DMC,DMC浏览DMS上使用文件元数据表示的媒体文件,其中,浏览单元浏览DMS上使用文件元数据表示的媒体文件;选定单元选定一个需要播放的第一媒体文件;通知单元通知DMR建立与DMS之间的连接,以便于DMR通过连接向DMS发送播放第一媒体文件的请求,DMS收到该请求后通过云存储控制模块从云存储设备获取第一媒体文件并传送给DMR,由DMR进行播放,在上述DMC的控制下,上述基于DLNA协议实现的DMS,DMR,能够从云存储设备中获取媒体资源,并由DMR进行播放,能够实现基于DLNA技术的设备共享云存储设备上的媒体资源。The DMC provided by the present embodiment, the DMC browses the media file represented by the file metadata on the DMS, wherein the browsing unit browses the media file represented by the file metadata on the DMS; the selected unit selects a first media file that needs to be played; The notification unit notifies the DMR to establish a connection with the DMS, so that the DMR sends a request for playing the first media file to the DMS through the connection, and after receiving the request, the DMS obtains the first media file from the cloud storage device through the cloud storage control module and transmits it To the DMR, played by the DMR, under the control of the above-mentioned DMC, the above-mentioned DMS and DMR based on the DLNA protocol can obtain media resources from the cloud storage device and be played by the DMR, which can realize the device sharing cloud based on DLNA technology Media resources on storage devices.

进一步可选的,图4所示DMC还包括:Further optionally, the DMC shown in Figure 4 also includes:

确定单元44,用于所述DMC将所述系统中具备播放能力的设备确定为所述DMR。The determining unit 44 is used for the DMC to determine a device capable of playing in the system as the DMR.

进一步可选的,所述扫描模块和所述云存储控制模块位于同一设备中,或所述扫描模块和所述云存储控制模块设置在所述DMS中。Further optionally, the scanning module and the cloud storage control module are located in the same device, or the scanning module and the cloud storage control module are set in the DMS.

进一步可选的,所述云存储控制模块中的文件操作封装成普通的文件操作。Further optionally, the file operations in the cloud storage control module are encapsulated into common file operations.

本发明实施例还提供了一种多媒体存储播放系统,如图5所示,包括:DMS51,DMR 52,DMC 53,扫描模块54,云存储控制模块55,其中,DMS 51,DMR 52以及DMC 53基于所述DLNA协议实现;The embodiment of the present invention also provides a kind of multimedia storage playing system, as shown in Figure 5, comprises: DMS51, DMR 52, DMC 53, scanning module 54, cloud storage control module 55, wherein, DMS 51, DMR 52 and DMC 53 Realized based on the DLNA protocol;

所述扫描模块54用于向所述云存储控制模块定时发送扫描云存储设备存储内容的请求,发现所述云存储设备上的内容有更新时向所述DMS推送PUSH文件元数据;The scanning module 54 is used to regularly send a request to scan the storage content of the cloud storage device to the cloud storage control module, and push the PUSH file metadata to the DMS when the content on the cloud storage device is found to be updated;

所述云存储控制模块55收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;After receiving the request, the cloud storage control module 55 accesses the file information stored in the cloud storage device, and sends the obtained file information to the scanning module, so that the scanning module will store the file information after receiving the file information. The above file information is cached locally;

所述DMC 51,用于浏览所述DMS上使用文件元数据表示的媒体文件,选定一个需要播放的第一媒体文件,并通知所述DMR建立与所述DMS之间的连接;The DMC 51 is used to browse the media files represented by file metadata on the DMS, select a first media file that needs to be played, and notify the DMR to establish a connection with the DMS;

所述DMR 52,用于通过所述连接向所述DMS发送播放所述第一媒体文件的请求,接收所述DMS发送的所述第一媒体文件,并进行播放。The DMR 52 is configured to send a request to the DMS to play the first media file through the connection, receive the first media file sent by the DMS, and play it.

所述DMS 53,用于收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR。The DMS 53 is configured to obtain the first media file from the cloud storage device through the cloud storage control module after receiving the request and transmit it to the DMR.

优选的,所述DMS 53收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件,并采用边获取边发送的方式将所述第一媒体文件传送给所述DMR。Preferably, after receiving the request, the DMS 53 obtains the first media file from the cloud storage device through the cloud storage control module, and transmits the first media file to the DMR.

本实施例提供的多媒体存储播放系统,DMC浏览DMS上使用文件元数据表示的媒体文件,其中,DMC浏览DMS上使用文件元数据表示的媒体文件;DMC选定一个需要播放的第一媒体文件;DMC通知DMR建立与DMS之间的连接,以便于DMR通过连接向DMS发送播放第一媒体文件的请求,DMS收到该请求后通过云存储控制模块从云存储设备获取第一媒体文件并传送给DMR,由DMR进行播放,在上述DMC的控制下,上述基于DLNA协议实现的DMS,DMR,能够从云存储设备中获取媒体资源,并由DMR进行播放,能够实现基于DLNA技术的设备共享云存储设备上的媒体资源。In the multimedia storage and playback system provided by the present embodiment, the DMC browses the media file represented by the file metadata on the DMS, wherein the DMC browses the media file represented by the file metadata on the DMS; the DMC selects a first media file that needs to be played; The DMC notifies the DMR to establish a connection with the DMS so that the DMR sends a request for playing the first media file to the DMS through the connection. After receiving the request, the DMS obtains the first media file from the cloud storage device through the cloud storage control module and transmits it to the DMS. DMR, played by DMR, under the control of the above-mentioned DMC, the above-mentioned DMS and DMR based on the DLNA protocol can obtain media resources from the cloud storage device and be played by the DMR, which can realize the sharing of cloud storage by devices based on DLNA technology Media resources on the device.

作为图5所示系统的改进,进一步可选的,所述云存储控制模块55包括:As an improvement of the system shown in Figure 5, further optionally, the cloud storage control module 55 includes:

直接发送子单元551,用于接收到所述DMS发送的获取所述第一媒体文件的请求后,在存在所述第一媒体文件时,将所述第一媒体文件直接发送给所述DMS;The direct sending subunit 551 is configured to send the first media file directly to the DMS when the first media file exists after receiving the request for acquiring the first media file sent by the DMS;

并行下载子单元552,用于接收到所述DMS发送的获取所述第一媒体文件的请求后,在不存在所述第一媒体文件时,采用并行下载的方式从所述云存储设备下载所述第一媒体文件,并将下载的所述第一媒体文件发送给所述DMS。The parallel download subunit 552 is configured to, after receiving the request for acquiring the first media file sent by the DMS, when the first media file does not exist, download all the media files from the cloud storage device in a parallel downloading manner. the first media file, and send the downloaded first media file to the DMS.

进一步可选的,所述DMC 51包括:Further optionally, the DMC 51 includes:

确定子单元511,用于所述DMC将所述DLNA中具备播放能力的设备确定为所述DMR。The determining subunit 511 is used for the DMC to determine the device capable of playing in the DLNA as the DMR.

进一步可选的,所述扫描模块54和所述云存储控制模块55位于同一设备中,或所述扫描模块和所述云存储控制模块设置在所述DMS中。Further optionally, the scanning module 54 and the cloud storage control module 55 are located in the same device, or the scanning module and the cloud storage control module are set in the DMS.

进一步可选的,所述云存储控制模块55中的文件操作封装成普通的文件操作。Further optionally, the file operations in the cloud storage control module 55 are encapsulated into common file operations.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus necessary general-purpose hardware, and of course also by hardware, but in many cases the former is a better embodiment . Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , a hard disk or an optical disk, etc., including several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (16)

1.一种基于DLNA技术访问云存储设备的方法,其特征在于,应用于由数字媒体服务器DMS,数字媒体播放器DMR,数字媒体控制器DMC,扫描模块,云存储控制模块以及云存储设备组成的多媒体存储播放系统,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;1. A method for accessing cloud storage devices based on DLNA technology, characterized in that the application is composed of digital media server DMS, digital media player DMR, digital media controller DMC, scanning module, cloud storage control module and cloud storage device A multimedia storage and playback system, wherein the DMS, the DMR and the DMC are implemented based on the DLNA protocol; 所述扫描模块用于向所述云存储控制模块定时发送扫描所述云存储设备存储内容的请求,所述云存储控制模块收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The scanning module is configured to regularly send a request for scanning the storage content of the cloud storage device to the cloud storage control module, and the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request, and sends The acquired file information is sent to the scanning module, so that the scanning module caches the file information locally after receiving the file information; 所述方法包括:The methods include: 所述DMC浏览所述DMS上使用文件元数据表示的媒体文件,其中,所述DMS上的文件元数据由所述扫描模块发现云存储设备上的内容有更新时向所述DMS推送PUSH得到;The DMC browses the media files represented by file metadata on the DMS, wherein the file metadata on the DMS is obtained by pushing PUSH to the DMS when the scanning module finds that the content on the cloud storage device is updated; 所述DMC选定一个需要播放的第一媒体文件;The DMC selects a first media file that needs to be played; 所述DMC通知所述DMR建立与所述DMS之间的连接,以便于所述DMR通过所述连接向所述DMS发送播放所述第一媒体文件的请求,使得所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR,由所述DMR进行播放。The DMC notifies the DMR to establish a connection with the DMS, so that the DMR sends a request for playing the first media file to the DMS through the connection, so that the DMS receives the request The first media file is obtained from the cloud storage device through the cloud storage control module and transmitted to the DMR, and played by the DMR. 2.根据权利要求1所述的方法,其特征在于,所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR包括:2. The method according to claim 1, wherein after the DMS receives the request, obtaining the first media file from the cloud storage device through the cloud storage control module and sending it to the DMR comprises: 所述DMS向所述云存储控制模块发送获取所述第一媒体文件的请求,以便于所述云存储控制模块在存在所述第一媒体文件时,将所述第一媒体文件发送给所述DMS,或者所述云存储控制模块在不存在所述第一媒体文件时,采用并行下载的方式从所述云存储设备下载所述第一媒体文件,并将下载的所述第一媒体文件发送给所述DMS。The DMS sends a request for obtaining the first media file to the cloud storage control module, so that the cloud storage control module sends the first media file to the DMS, or the cloud storage control module downloads the first media file from the cloud storage device in parallel download mode when the first media file does not exist, and sends the downloaded first media file to the DMS. 3.根据权利要求2所述的方法,其特征在于,所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR为:所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件,并采用边获取边发送的方式将所述第一媒体文件传送给所述DMR。3. The method according to claim 2, wherein, after the DMS receives the request, the cloud storage control module obtains the first media file from the cloud storage device and sends it to the DMR as follows: After receiving the request, the DMS obtains the first media file from the cloud storage device through the cloud storage control module, and transmits the first media file to the DMR in a manner of sending while obtaining. 4.根据权利要求1-3任一项所述的方法,其特征在于,在所述DMC通知所述DMR建立与所述DMS之间的连接之前,所述方法还包括4. The method according to any one of claims 1-3, wherein before the DMC notifies the DMR to establish a connection with the DMS, the method further comprises 所述DMC将所述系统中具备播放能力的设备确定为所述DMR。The DMC determines a device capable of playing in the system as the DMR. 5.根据权利要求1-3任一项所述的方法,其特征在于,所述扫描模块和所述云存储控制模块位于同一设备中,或所述扫描模块和所述云存储控制模块设置在所述DMS中。5. The method according to any one of claims 1-3, wherein the scanning module and the cloud storage control module are located in the same device, or the scanning module and the cloud storage control module are set in in the DMS. 6.根据权利要求1-3任一项所述的方法,其特征在于,所述云存储控制模块中的文件操作封装成普通的文件操作。6. The method according to any one of claims 1-3, wherein the file operations in the cloud storage control module are encapsulated into common file operations. 7.一种数字媒体控制器DMC,其特征在于,所述DMC和数字媒体服务器DMS,数字媒体播放器DMR,扫描模块,云存储控制模块以及云存储设备组成多媒体存储播放系统,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;7. A kind of digital media controller DMC, it is characterized in that, described DMC and digital media server DMS, digital media player DMR, scanning module, cloud storage control module and cloud storage device form multimedia storage and playback system, wherein, described DMS, the DMR and the DMC are implemented based on the DLNA protocol; 所述扫描模块用于向所述云存储控制模块定时发送扫描所述云存储设备存储内容的请求,所述云存储控制模块收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The scanning module is configured to periodically send a request for scanning the storage content of the cloud storage device to the cloud storage control module, and the cloud storage control module accesses the file information stored in the cloud storage device after receiving the request, and sends The acquired file information is sent to the scanning module, so that the scanning module caches the file information locally after receiving the file information; 所述DMC包括:The DMC includes: 浏览单元,用于浏览所述DMS上使用文件元数据表示的媒体文件,其中,所述DMS上的文件元数据由所述扫描模块发现云存储设备上的内容有更新时向所述DMS推送PUSH得到;A browsing unit, configured to browse media files represented by file metadata on the DMS, wherein the file metadata on the DMS is pushed to the DMS by PUSH when the scanning module finds that the content on the cloud storage device is updated get; 选定单元,用于通过所述浏览单元浏览后,选定一个需要播放的第一媒体文件;The selection unit is used to select a first media file to be played after browsing through the browsing unit; 通知单元,用于当所述选定单元选定所述第一媒体文件后,通知所述DMR建立与所述DMS之间的连接,以便于所述DMR通过所述连接向所述DMS发送播放所述第一媒体文件的请求,使得所述DMS收到该请求后通过所述云存储控制模块从所述云存储设备获取所述第一媒体文件并传送给所述DMR,由所述DMR进行播放。A notification unit, configured to notify the DMR to establish a connection with the DMS after the selection unit selects the first media file, so that the DMR can send the playback to the DMS through the connection The request for the first media file, so that the DMS obtains the first media file from the cloud storage device through the cloud storage control module after receiving the request and sends it to the DMR, and the DMR performs play. 8.根据权利要求7所述的DMC,其特征在于,还包括:8. DMC according to claim 7, is characterized in that, also comprises: 确定单元,用于所述DMC将所述系统中具备播放能力的设备确定为所述DMR。A determining unit, configured for the DMC to determine a device capable of playing in the system as the DMR. 9.根据权利要求7所述的DMC,其特征在于,所述扫描模块和所述云存储控制模块位于同一设备中,或所述扫描模块和所述云存储控制模块设置在所述DMS中。9. The DMC according to claim 7, wherein the scanning module and the cloud storage control module are located in the same device, or the scanning module and the cloud storage control module are set in the DMS. 10.根据权利要求9所述的DMC,其特征在于,所述云存储控制模块中的文件操作封装成普通的文件操作。10. The DMC according to claim 9, wherein the file operations in the cloud storage control module are encapsulated into common file operations. 11.一种多媒体存储播放系统,其特征在于,包括:数字媒体服务器DMS,数字媒体播放器DMR,数字媒体控制器DMC,扫描模块,云存储控制模块,其中,所述DMS,所述DMR以及所述DMC基于所述DLNA协议实现;11. A multimedia storage and playback system, characterized in that it includes: a digital media server DMS, a digital media player DMR, a digital media controller DMC, a scanning module, and a cloud storage control module, wherein the DMS, the DMR and The DMC is implemented based on the DLNA protocol; 所述扫描模块,用于向所述云存储控制模块定时发送扫描云存储设备存储内容的请求,发现所述云存储设备上的内容有更新时向所述DMS推送PUSH文件元数据;The scanning module is configured to regularly send a request to scan the storage content of the cloud storage device to the cloud storage control module, and push PUSH file metadata to the DMS when the content on the cloud storage device is found to be updated; 所述云存储控制模块,用于收到请求后访问所述云存储设备内存储的文件信息,并将获取的文件信息发送给所述扫描模块,使得所述扫描模块收到所述文件信息后将所述文件信息缓存到本地;The cloud storage control module is configured to access the file information stored in the cloud storage device after receiving the request, and send the acquired file information to the scanning module, so that the scanning module receives the file information Cache the file information locally; 所述DMC,用于浏览所述DMS上使用文件元数据表示的媒体文件,选定一个需要播放的第一媒体文件,并通知所述DMR建立与所述DMS之间的连接;The DMC is configured to browse media files represented by file metadata on the DMS, select a first media file to be played, and notify the DMR to establish a connection with the DMS; 所述DMR,用于通过所述连接向所述DMS发送播放所述第一媒体文件的请求,接收所述DMS发送的所述第一媒体文件,并进行播放。The DMR is configured to send a request to the DMS to play the first media file through the connection, receive the first media file sent by the DMS, and play it. 所述DMS,用于收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR。The DMS is configured to obtain the first media file from the cloud storage device through the cloud storage control module after receiving the request and transmit it to the DMR. 12.根据权利要求11所述的系统,其特征在于,所述云存储控制模块包括:12. The system according to claim 11, wherein the cloud storage control module comprises: 直接发送子单元,用于接收到所述DMS发送的获取所述第一媒体文件的请求后,在存在所述第一媒体文件时,将所述第一媒体文件直接发送给所述DMS;The direct sending subunit is configured to send the first media file directly to the DMS when the first media file exists after receiving the request sent by the DMS for acquiring the first media file; 并行下载子单元,用于接收到所述DMS发送的获取所述第一媒体文件的请求后,在不存在所述第一媒体文件时,采用并行下载的方式从所述云存储设备下载所述第一媒体文件,并将下载的所述第一媒体文件发送给所述DMS。The parallel downloading subunit is configured to, after receiving the request for acquiring the first media file sent by the DMS, download the first media file from the cloud storage device in a parallel downloading manner when the first media file does not exist. the first media file, and send the downloaded first media file to the DMS. 13.根据权利要求11所述的系统,其特征在于,所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件并传送给所述DMR为:所述DMS收到该请求后通过所述云存储控制模块从云存储设备获取所述第一媒体文件,并采用边获取边发送的方式将所述第一媒体文件传送给所述DMR。13. The system according to claim 11, wherein, after the DMS receives the request, the cloud storage control module obtains the first media file from the cloud storage device and transmits it to the DMR as follows: After receiving the request, the DMS obtains the first media file from the cloud storage device through the cloud storage control module, and transmits the first media file to the DMR in a manner of sending while obtaining. 14.根据权利要求11所述的系统,其特征在于,所述DMC包括:14. The system according to claim 11, wherein the DMC comprises: 确定子单元,用于所述DMC将所述DLNA中具备播放能力的设备确定为所述DMR。The determining subunit is used for the DMC to determine the device capable of playing in the DLNA as the DMR. 15.根据权利要求10-14任一项所述的系统,其特征在于,所述扫描模块和所述云存储控制模块位于同一设备中,或所述扫描模块和所述云存储控制模块设置在所述DMS中。15. The system according to any one of claims 10-14, wherein the scanning module and the cloud storage control module are located in the same device, or the scanning module and the cloud storage control module are set in in the DMS. 16.根据权利要求10-14任一项所述的系统,其特征在于,所述云存储控制模块中的文件操作封装成普通的文件操作。16. The system according to any one of claims 10-14, wherein the file operations in the cloud storage control module are encapsulated into common file operations.
CN201210171781.1A 2012-05-29 2012-05-29 Method, device and system for accessing cloud storage device based on DLNA technology Expired - Fee Related CN103457966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210171781.1A CN103457966B (en) 2012-05-29 2012-05-29 Method, device and system for accessing cloud storage device based on DLNA technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210171781.1A CN103457966B (en) 2012-05-29 2012-05-29 Method, device and system for accessing cloud storage device based on DLNA technology

Publications (2)

Publication Number Publication Date
CN103457966A true CN103457966A (en) 2013-12-18
CN103457966B CN103457966B (en) 2016-11-16

Family

ID=49739918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210171781.1A Expired - Fee Related CN103457966B (en) 2012-05-29 2012-05-29 Method, device and system for accessing cloud storage device based on DLNA technology

Country Status (1)

Country Link
CN (1) CN103457966B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763303A (en) * 2013-12-20 2014-04-30 百度在线网络技术(北京)有限公司 Method and device for drama series playing
CN103888515A (en) * 2014-02-26 2014-06-25 四川长虹电器股份有限公司 Media resource sharing method based on browser
CN104052823A (en) * 2014-06-30 2014-09-17 深圳市中兴移动通信有限公司 File sharing method and device based on DLNA
CN104270666A (en) * 2014-10-24 2015-01-07 广东欧珀移动通信有限公司 Multimedia file playback method, system and digital multimedia renderer
CN104268208A (en) * 2014-09-23 2015-01-07 广东欧珀移动通信有限公司 Centralized file display method and apparatus
CN104935620A (en) * 2014-03-21 2015-09-23 朱江 Portable electronic equipment-based wireless file transmission allocation method and equipment thereof
CN105392047A (en) * 2015-10-09 2016-03-09 广东欧珀移动通信有限公司 Method, device and system for acquiring media file and being applied to DLNA system
CN105491170A (en) * 2016-01-26 2016-04-13 珠海迈科智能科技股份有限公司 Share play method and device of cloud storage file
CN106487787A (en) * 2016-09-30 2017-03-08 四川九洲电器集团有限责任公司 A kind of free online multimedium method and server
CN107707971A (en) * 2017-09-26 2018-02-16 上海欧美拉光电股份有限公司 One kind is used for long-distance cloud storage multimedia control system
CN111367199A (en) * 2018-12-26 2020-07-03 中国科学院沈阳自动化研究所 A digital meter configuration method based on REST function encapsulation
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106637A (en) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 Method for playing media files in external storage device via STB
CN102316300A (en) * 2011-09-09 2012-01-11 中兴通讯股份有限公司 Video call screen swinging method, system and device
CN102377579A (en) * 2011-10-21 2012-03-14 中兴通讯股份有限公司 Network cloud application method and system based on UPnP (Universal Plug and Play)
US20120096497A1 (en) * 2010-10-14 2012-04-19 Sony Corporation Recording television content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106637A (en) * 2006-07-13 2008-01-16 中兴通讯股份有限公司 Method for playing media files in external storage device via STB
US20120096497A1 (en) * 2010-10-14 2012-04-19 Sony Corporation Recording television content
CN102316300A (en) * 2011-09-09 2012-01-11 中兴通讯股份有限公司 Video call screen swinging method, system and device
CN102377579A (en) * 2011-10-21 2012-03-14 中兴通讯股份有限公司 Network cloud application method and system based on UPnP (Universal Plug and Play)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763303A (en) * 2013-12-20 2014-04-30 百度在线网络技术(北京)有限公司 Method and device for drama series playing
CN103763303B (en) * 2013-12-20 2017-11-14 北京小度互娱科技有限公司 A kind of method and apparatus for playing collection of drama
CN103888515A (en) * 2014-02-26 2014-06-25 四川长虹电器股份有限公司 Media resource sharing method based on browser
CN103888515B (en) * 2014-02-26 2017-12-12 四川长虹电器股份有限公司 media resource sharing method based on browser
CN104935620A (en) * 2014-03-21 2015-09-23 朱江 Portable electronic equipment-based wireless file transmission allocation method and equipment thereof
CN104052823A (en) * 2014-06-30 2014-09-17 深圳市中兴移动通信有限公司 File sharing method and device based on DLNA
CN104268208A (en) * 2014-09-23 2015-01-07 广东欧珀移动通信有限公司 Centralized file display method and apparatus
CN104268208B (en) * 2014-09-23 2018-06-22 广东欧珀移动通信有限公司 A kind of method and device of centralized displaying file
CN104270666B (en) * 2014-10-24 2017-06-30 广东欧珀移动通信有限公司 The player method of multimedia file, system and digital multimedia renderer
CN104270666A (en) * 2014-10-24 2015-01-07 广东欧珀移动通信有限公司 Multimedia file playback method, system and digital multimedia renderer
CN105392047A (en) * 2015-10-09 2016-03-09 广东欧珀移动通信有限公司 Method, device and system for acquiring media file and being applied to DLNA system
CN105392047B (en) * 2015-10-09 2019-02-19 Oppo广东移动通信有限公司 Method, device and system for acquiring media files applied to DLNA system
CN105491170A (en) * 2016-01-26 2016-04-13 珠海迈科智能科技股份有限公司 Share play method and device of cloud storage file
CN106487787A (en) * 2016-09-30 2017-03-08 四川九洲电器集团有限责任公司 A kind of free online multimedium method and server
CN106487787B (en) * 2016-09-30 2020-01-07 四川九洲电器集团有限责任公司 Multimedia on demand method and server
CN107707971A (en) * 2017-09-26 2018-02-16 上海欧美拉光电股份有限公司 One kind is used for long-distance cloud storage multimedia control system
CN111367199A (en) * 2018-12-26 2020-07-03 中国科学院沈阳自动化研究所 A digital meter configuration method based on REST function encapsulation
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium
CN111427527B (en) * 2020-03-20 2023-10-31 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN103457966B (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN103457966B (en) Method, device and system for accessing cloud storage device based on DLNA technology
KR102151680B1 (en) System, method and computer-readable medium for presenting media content
TWI504202B (en) Multiple media devices through a gateway server or services to access cloud computing service storage
CN104217024B (en) Web data treating method and apparatus
CN102594915B (en) Browser-based media play system and method
US20130282793A1 (en) Media content sharing
JP5270608B2 (en) Content reproduction control system, content reproduction control method, content server, portable terminal, and program
CN103166941A (en) Data sharing method and device
US20160294895A1 (en) Mobile terminal and method for achieving cloud streaming medium file sharing based on dlna
WO2013177734A1 (en) Processing method, device and system for media resource playlist in local area network
EP3651421A1 (en) Multimedia display method, apparatus, and device
WO2015009417A1 (en) Content retrieval via remote control
WO2015180688A1 (en) Media processing method and device
CN103281294A (en) Data sharing method and electronic equipment
CN103179190A (en) A picture transmission method, device and system
US10073688B2 (en) Method and apparatus for executing application
CN103956175A (en) Playing method and equipment of multi-media files
CN105812839B (en) Video stream data acquisition, page data transmission method, system and network server
JP2014011702A (en) Content distribution system, content distribution method, and content distribution program
CN102469099B (en) Multimedia file playing method and system
CN104243403B (en) A kind of method and apparatus for supporting to play online
CN104519025A (en) Method, system and mobile terminal equipment for playing remote media files
CN103795760A (en) Method and system for processing document through network and system for processing data through network
CN103093791A (en) Network audio play system
JP5687255B2 (en) Terminal device, method, program, and wireless communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161116

Termination date: 20190529

CF01 Termination of patent right due to non-payment of annual fee