CN104168252A - Media resource management method and system - Google Patents

Media resource management method and system Download PDF

Info

Publication number
CN104168252A
CN104168252A CN 201310183686 CN201310183686A CN104168252A CN 104168252 A CN104168252 A CN 104168252A CN 201310183686 CN201310183686 CN 201310183686 CN 201310183686 A CN201310183686 A CN 201310183686A CN 104168252 A CN104168252 A CN 104168252A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
media resource
media
xml file
path
thumbnail
Prior art date
Application number
CN 201310183686
Other languages
Chinese (zh)
Inventor
郭春明
Original Assignee
深圳市同洲电子股份有限公司
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

Links

Abstract

The invention discloses a media resource management method and system, characterized by comprising: selecting a shared directory and traversing media resource in the shared directory; generating an xml file, and storing a path of the media resource in the xml file; generating a reduced graph of the media resource; and storing the reduced graph path of the media resource in the xml file. According to the way, when a MDC terminal requires to access the media resource of a DMS terminal, it is not necessary to browse each folder layer by layer in the shared directory, corresponding media resource path can be found only in the xml file, hence corresponding media resource can be found rapidly. In addition, because corresponding reduced graph path of the media resource is also stored in the xml file, when corresponding reduced graph is required to display at the DMC terminal, the xml file is accessed, so as to rapidly obtain corresponding reduced graph of the media resource.

Description

一种媒体资源管理方法及系统 A media resource management method and system

技术领域 FIELD

[0001] 本发明涉及通信领域,尤其涉及一种媒体资源管理方法及系统。 [0001] The present invention relates to the field of communications, particularly to a method and system for media asset management.

背景技术 Background technique

[0002] 随着科学技术的发展,DLNA作为一种全新的技术应运而生。 [0002] With the development of science and technology, DLNA as a new technology is introduced. DLNA的全称是DIGITAL LIVING NETWORK ALLIANCE,其宗旨是随时随地享受音乐、照片以及视频,DLNA由索尼、英特尔、微软等发起成立、旨在解决个人PC,消费电器,移动设备在内的无线网络和有线网络的互联互通,使得数字媒体和内容服务的无限制的共享和增长成为可能。 DLNA stands for DIGITAL LIVING NETWORK ALLIANCE, whose purpose is to enjoy music anytime, anywhere, photos and video, DLNA by Sony, Intel, Microsoft, initiated the establishment to address, including individual PC, consumer electronics, mobile devices, wireless and wired networks interconnection network, making digital media and content services unlimited sharing and growth possible.

[0003] DLNA能够简单快速的实现手机、PC、电视等多媒体终端的影音互联,将为人们的数字娱乐生活提供很大的便利。 [0003] DLNA be able to quickly and easily implement audio and video Internet phone, PC, TV and other multimedia terminals will provide great convenience to people's digital entertainment life.

[0004] 然而,现有技术中在实现在浏览媒体资源时,对于共享目录,需要后向逐级打开其子目录,才能发现和分享媒体资源。 [0004] However, in the prior art to achieve when browsing media resources for the shared directory, the need to progressively open its subdirectories to find and share media resources. 如果共享目录下的子目录较多或者子目录层次比较深,甚至有些子目录是空目录,那么就会造成整个操作过程过于繁琐复杂。 If a subdirectory under the shared directories or subdirectories more deeper level, and even some sub-directory is an empty directory, then it will cause the entire operation is too cumbersome and complex. 再者,在显示媒体资源时,不能快速预览相应的缩略图(如图片、视频等),不够直观明了。 Furthermore, when the display media resource, not a quick preview of the corresponding thumbnail (such as pictures, video, etc.), not intuitive.

发明内容 SUMMARY

[0005] 有鉴于此,本发明提供一种媒体资源管理方法,其特征在于,包括: [0005] Accordingly, the present invention provides a media resource management method, characterized by comprising:

选择共享目录并遍历共享目录下的媒体资源; Select a shared directory traversal and share media resource directory;

生成xml文件,并将媒体资源的路径保存于所述xml文件中; Xml file generated and stored in the xml file path of the media resource;

生成所述媒体资源的缩略图;以及 Generating a thumbnail image of the media resource; and

在所述xml文件中保存所述媒体资源的缩略图路径。 In the xml file saved in the path thumbnail media resources.

[0006] 较优地,启动创建xml线程以创建所述xml文件。 [0006] Jiaoyou to start the thread to create the xml create xml file.

[0007] 较优地,在所述共享目录下生成缩略图文件夹,以保存所述媒体资源缩略图。 [0007] Jiaoyou, the generation of the thumbnail file in the shared directory folder to save the media resource thumbnail.

[0008] 较优地,获取并解析所述xml文件,以获取所述媒体资源路径。 [0008] Jiaoyou, the obtaining and parsing the xml file, to acquire the media resource path.

[0009] 较优地,将所述媒体资源路径按目录归类,以文件形式显示所述媒体资源。 [0009] Jiaoyou, the path to the media resource directory classified according to the file format display property.

[0010] 较优地,从所述xml文件中获取所述缩略图路径,以显示所述缩略图。 [0010] Jiaoyou, the thumbnail obtaining the path from the xml file to display the thumbnail.

[0011] 本发明还提供一种媒体资源管理系统,其特征在于,包含媒体资源服务器以及媒体资源控制器, [0011] The present invention further provides a media asset management system comprising a media resource server and the media resource controller,

所述媒体资源服务器选择共享目录并遍历所述共享目录下的媒体资源; Select the media resource server and shared directory traversal resource under the shared media directory;

所述媒体资源服务器生成Xml文件,并将所述媒体资源的路径保存于所述xml文件中; The media resource server to generate Xml file, and the path the media resource is stored in the xml file;

所述媒体资源服务器生成所述媒体资源的缩略图;以及 The media resource server to generate a thumbnail of the media resource; and

所述媒体资源服务器在所述xml文件中保存所述媒体资源的缩略图路径。 The media resource server stores a thumbnail path of the media resources in the xml file.

[0012] 较优地,所述媒体资源控制器获取并解析所述xml文件,并获得所述媒体资源的路径。 [0012] Jiaoyou, the controller acquires media resource and parse the xml file, and obtaining the media resource path.

[0013] 较优地,所述媒体资源控制器将所述媒体资源路径按目录归类,并以文件形式显示所述媒体资源。 [0013] Jiaoyou, the media resource controller of the media resource by directory path categorized, and displayed in the property file.

[0014] 较优地,所述媒体资源控制器获取所述媒体资源缩略图路径,并显示所述媒体资源的缩略图。 [0014] Jiaoyou, the media resource of the media resource controller acquires thumbnail path, and displays thumbnails of the media resource.

[0015] 通过这样的方式,当DMC端需要存取DMS端的媒体资源时,就不再需要在共享目录下一层一层的浏览每个文件夹,而仅仅在xml文件中找到相应的媒体资源路径,便可迅速地找到相应的媒体资源。 [0015] In this manner, when the DMC DMS end terminal needs to access property, there is no need Browse layers of each folder in the shared directory, but only to find the corresponding property in the xml file path, you can find the corresponding media resources quickly. 此外,由于xml文件还保存了媒体资源相应的缩略图路径,当DMC端需要显示相应的缩略图时,便可以通过访问xml文件,以迅速地获取媒体资源相应的缩略图。 In addition, due to the xml file also stores the corresponding thumbnail path of media resources, when the DMC side needs to show the corresponding thumbnail, you can access through the xml file to quickly access the media resource corresponding thumbnail.

附图说明 BRIEF DESCRIPTION

[0016] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0016] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and can obtain other drawings based on these drawings.

[0017] 图1是本发明媒体资源管理方法的第一实施例的流程图。 [0017] FIG. 1 is a flowchart of a first embodiment of a media resource management method according to the present invention.

[0018] 图2是本发明媒体资源管理方法的第二实施例的流程图。 [0018] FIG 2 is a flowchart of a second embodiment of a media resource management method according to the present invention.

[0019] 图3是本发明媒体资源管理方法的第三实施例的流程图。 [0019] FIG. 3 is a flowchart of a third embodiment of a media resource management method of the present invention.

[0020]图4是本发明媒体资源管理系统的第四实施例的示意图。 [0020] FIG. 4 is a schematic view of a fourth embodiment of a media asset management system of the present invention.

具体实施方式 detailed description

[0021] 为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0021] In order to make the technical problem to be solved by the present invention, technical solutions and beneficial effects clearer, the accompanying drawings and the following embodiments, the present invention will be further described in detail.

[0022] 首先,需要简要介绍一下相关名词。 [0022] First of all, we need a brief overview of the relevant term. DLNA标准定义了以下几种主要的产品类型: 数字媒体服务器(Digital Media Server,以下简称DMS)提供了媒体文件的获取、录制、存储以及作为源头的设备。 DLNA standard defines the following main product types: Digital Media Server (Digital Media Server, hereinafter referred to as DMS) provides obtaining media files, recording, storage, and as a source of equipment. 当然,有需要的话,多媒体档案的版权保护机制也可以被包含在内。 Of course, if necessary, copyright protection of multimedia files can also be included. DMS将会提供多媒体文件伺服的能力,提供诸如多种数字媒体播放装置的直接获取内容以及播放能力。 DMS will provide the ability to servo multimedia files, providing direct access to such a variety of digital media content playback device and playback capabilities. 这类型的装置包含了机顶盒、录放影机、具有多媒体服务器功能的个人电脑、内含硬盘的家庭剧院、广播接收器、影像撷取装置等。 This type of device comprises a set-top box, VCR, multimedia server function PC, the hard disk containing the home theater, radio receiver, video capture devices.

[0023] 数字媒体播放器(Digital Media Player,以下简称DMP)指可线上寻找并播放或输出任何由DMS所提供的媒体文件的能力。 [0023] Digital Media Player (Digital Media Player, hereinafter referred to as DMP) refers to the ability online to find and play any media file or output provided by the DMS of. 某些DMP装置包含电视、家庭剧院、打印机、PDA、多媒体手机、无线屏幕以及某些游戏终端等。 Some DMP devices include TVs, home theaters, printer, PDA, multimedia phones, wireless screens and some games terminals.

[0024] 数字媒体控制器(Digital Media Controller,以下简称DMC)作为遥控设备使用,可查找DMS上的多媒体文件,并指定可播放该多媒体文件的DMP进行播放或是控制多媒体文件上下传到DMS的设备。 [0024] The digital media controller (Digital Media Controller, hereinafter referred to as DMC) used as a remote control device, find a media file on DMS, DMP and specify play the multimedia file for playback of multimedia files or control the vertical spread of DMS equipment. 此类装置不仅只限定于遥控功能,具备基本操作接口的智能终端装置也可作为DMC使用。 Such devices are not only limited to the remote control function, the basic operation of the smart terminal device comprises an interface may also be used as a DMC.

[0025] 以下将详细描述本发明实施例。 [0025] The present invention will be described in detail in Example. 请参考图1,图1是本发明媒体资源管理方法的第一实施例的流程图。 Please refer to FIG. 1, FIG. 1 is a flowchart of a first embodiment of a media resource management method of the present invention.

[0026] 步骤S100,选择共享目录并遍历共享目录下的所有媒体资源。 [0026] step S100, the selected shared directory traversal and media resource share all directory. 在此步骤中,DMS端首先需要选择一个共享目录,然后创建一个目录遍历线程,来遍历共享目录下的所有媒体资源。 In this step, DMS end first need to select a shared directory, then create a directory traversal thread to loop through all the media resources in the shared directory. 在此实施例中,可采用创建目录遍历线程的方式来遍历共享目录下的所有媒体资源,但此并非用于限制本发明,其他任何可遍历共享目录下所有媒体资源的方式均属于本发明范畴。 In this embodiment, directory traversal may be employed to create a thread to traverse all the way under the shared directory properties, but this is not intended to limit the present invention, all the way in any other property of the shared directory may traverse all fall within the scope of the present invention .

[0027] 步骤S102,生成xml文件,并将媒体资源的路径保存于xml文件中。 [0027] step S102, the generated xml file, and stored in the xml file path property. 在此步骤中,DMS端生成xml文件,在xml文件中,根据遍历共享目录下所有媒体资源的结果,将每个媒体资源的路径保存于xml文件中。 In this step, the DMS-side generated xml file, the xml file, based on a result of the traversal of all properties shared directory, the path of each property is stored in the xml file.

[0028] 步骤S104,生成媒体资源的缩略图。 [0028] Step S104, the property of generating a thumbnail. 在此步骤中,在共享目录下生成一个缩略图的文件夹,在此实施例中,此文件夹是隐藏的。 In this step, a thumbnail generated in the shared directory folder, in this embodiment, this folder is hidden. 在其他实施例中,此文件夹也可以是可显示的。 In other embodiments, the folder may be displayed. 在此缩略图文件夹下,可以为每个媒体资源生成相应的缩略图,并保存在缩略图文件夹下。 In this thumbnail folder, you can generate the corresponding thumbnail for each property, and stored in a folder thumbnail.

[0029] 步骤S106,在xml文件中保存媒体资源的缩略图路径。 [0029] step S106, the path to save the thumbnail media resources in the xml file. 在此步骤中,DMS端将每个媒体资源所对应的缩略图路径保存于xml文件中。 In this step, DMS end of each property path corresponding to the thumbnail stored in the xml file.

[0030] 通过这样的方式,当DMC端需要存取DMS端的媒体资源时,就不再需要在共享目录下一层一层的浏览每个文件夹,而仅仅在xml文件中找到相应的媒体资源路径,便可迅速地找到相应的媒体资源。 [0030] In this manner, when the DMC DMS end terminal needs to access property, there is no need Browse layers of each folder in the shared directory, but only to find the corresponding property in the xml file path, you can find the corresponding media resources quickly. 此外,由于xml文件还保存了媒体资源相应的缩略图路径,当DMC端需要显示相应的缩略图时,便可以通过访问xml文件,以迅速地获取媒体资源相应的缩略图。 In addition, due to the xml file also stores the corresponding thumbnail path of media resources, when the DMC side needs to show the corresponding thumbnail, you can access through the xml file to quickly access the media resource corresponding thumbnail.

[0031] 请参考图2,图2为本发明媒体资源管理方法的第二实施例的流程图。 Flowchart of a second embodiment [0031] Please refer to FIG 2, a media resource management method of the present invention. FIG. 2.

[0032] 步骤S200,获取xml文件。 [0032] step S200, obtain xml file. 在此步骤中,DMC端从DMS端获取xml文件。 In this step, DMC xml file acquired from the DMS terminal end.

[0033] 步骤S202,解析xml文件,并获得媒体资源的路径。 [0033] Step S202, the parsed xml file, and access route media resource. 在此步骤中,DMC端对从DMS端所获取的xml文件进行解析,以获取媒体资源的路径。 In this step, the end of the DMC xml file acquired from the DMS end is parsed to acquire the media resource path.

[0034] 步骤S204,将媒体资源路径按目录归类。 [0034] step S204, media resource path categorized by directory. 在此步骤中,DMC端根据对xml文件解析所获得的媒体资源路径进行归类。 In this step, DMC end according to categorize media resource path xml file parsing obtained.

[0035] 步骤S206,以文件形式显示媒体资源。 [0035] In step S206, the display property as a file. 在此步骤中,DMC端根据媒体资源归类的结果,以文件的形式显示媒体资源。 In this step, the DMC end based on a result of property classification, a display property in a form of a file.

[0036] 步骤S208,获取媒体资源缩略图路径。 [0036] step S208, acquires media resource thumbnail path. 在此步骤中,DMC端对xml文件进行解析,以获得媒体资源缩略图路径。 In this step, the end of the DMC xml file is parsed to acquire the media resource thumbnail path.

[0037] 步骤S210,显示媒体资源的缩略图。 [0037] step S210, displays thumbnails of media resources.

[0038] 通过这样的方式,当DMC端需要存取DMS端的媒体资源时,就不再需要在共享目录下一层一层的浏览每个文件夹,而仅仅在xml文件中找到相应的媒体资源路径,便可迅速地找到相应的媒体资源。 [0038] In this manner, when the DMC DMS end terminal needs to access property, there is no need Browse layers of each folder in the shared directory, but only to find the corresponding property in the xml file path, you can find the corresponding media resources quickly. 此外,由于xml文件还保存了媒体资源相应的缩略图路径,当DMC端需要显示相应的缩略图时,便可以通过访问xml文件,以迅速地获取媒体资源相应的缩略图。 In addition, due to the xml file also stores the corresponding thumbnail path of media resources, when the DMC side needs to show the corresponding thumbnail, you can access through the xml file to quickly access the media resource corresponding thumbnail.

[0039] 请参考图3,图3是本发明媒体资源管理方法的第三实施例的流程图。 [0039] Please refer to FIG. 3, FIG. 3 is a flowchart of a third embodiment of the present invention method for managing media resources.

[0040] 步骤S300,选择共享目录并遍历共享目录下的所有媒体资源。 [0040] Step S300, select a shared directory traversal and share all the media resources directory. 在此步骤中,DMS端首先需要选择一个共享目录,然后创建一个目录遍历线程,来遍历共享目录下的所有媒体资源。 In this step, DMS end first need to select a shared directory, then create a directory traversal thread to loop through all the media resources in the shared directory. 在此实施例中,可采用创建目录遍历线程的方式来遍历共享目录下的所有媒体资源,但此并非用于限制本发明,其他任何可遍历共享目录下所有媒体资源的方式均属于本发明范畴。 In this embodiment, directory traversal may be employed to create a thread to traverse all the way under the shared directory properties, but this is not intended to limit the present invention, all the way in any other property of the shared directory may traverse all fall within the scope of the present invention .

[0041] 步骤S302,生成xml文件,并将媒体资源的路径保存于xml文件中。 [0041] step S302, the generated xml file, and stored in the xml file path property. 在此步骤中,DMS端生成xml文件,在xml文件中,根据遍历共享目录下所有媒体资源的结果,将每个媒体资源的路径保存于xml文件中。 In this step, the DMS-side generated xml file, the xml file, based on a result of the traversal of all properties shared directory, the path of each property is stored in the xml file.

[0042] 步骤S304,生成媒体资源的缩略图。 [0042] In step S304, the property of generating a thumbnail. 在此步骤中,在共享目录下生成一个缩略图的文件夹,在此实施例中,此文件夹是隐藏的。 In this step, a thumbnail generated in the shared directory folder, in this embodiment, this folder is hidden. 在其他实施例中,此文件夹也可以是可显示的。 In other embodiments, the folder may be displayed. 在此缩略图文件夹下,可以为每个媒体资源生成相应的缩略图,并保存在缩略图文件夹下。 In this thumbnail folder, you can generate the corresponding thumbnail for each property, and stored in a folder thumbnail.

[0043] 步骤S306,在xml文件中保存媒体资源的缩略图路径。 [0043] step S306, the path to save the thumbnails of media resources in the xml file. 在此步骤中,DMS端将每个媒体资源所对应的缩略图路径保存于xml文件中。 In this step, DMS end of each property path corresponding to the thumbnail stored in the xml file.

[0044] 步骤S308,获取并解析xml文件,以获得媒体资源的路径。 [0044] step S308, obtain and parse xml file, the path to get media resources. 在此步骤中,DMC端从DMS端获取xml文件,DMC端对从DMS端所获取的xml文件进行解析,以获取媒体资源的路径。 In this step, the DMC from the DMS terminal end obtain xml file, the end of the DMC xml file acquired from the DMS end is parsed to acquire the media resource path.

[0045] 步骤S310,将媒体资源路径按目录归类并文件形式显示媒体资源。 [0045] step S310, the media resources classified by directory path and file displayed in the form of media resources. 在此步骤中,DMC端根据对xml文件解析所获得的媒体资源路径进行归类,DMC端根据媒体资源归类的结果,以文件的形式显示媒体资源。 In this step, according to the DMC end categorize media resource path xml file parsing obtained, the DMC end property based on a result of collation, a display property in a form of a file.

[0046] 步骤S312,获取媒体资源缩略图路径以显示媒体资源的缩略图。 [0046] step S312, the acquired property to display the thumbnails of the thumbnail path property. 在此步骤中,DMC端对xml文件进行解析,以获得媒体资源缩略图路径,并根据媒体资源缩略图路径显示媒体资源缩略图。 In this step, the end of the DMC xml file is parsed to acquire the media resource path thumbnail and display thumbnail media resource according to the media resource thumbnail path.

[0047] 通过这样的方式,当DMC端需要存取DMS端的媒体资源时,就不再需要在共享目录下一层一层的浏览每个文件夹,而仅仅在xml文件中找到相应的媒体资源路径,便可迅速地找到相应的媒体资源。 [0047] In this manner, when the DMC DMS end terminal needs to access property, there is no need Browse layers of each folder in the shared directory, but only to find the corresponding property in the xml file path, you can find the corresponding media resources quickly. 此外,由于xml文件还保存了媒体资源相应的缩略图路径,当DMC端需要显示相应的缩略图时,便可以通过访问xml文件,以迅速地获取媒体资源相应的缩略图。 In addition, due to the xml file also stores the corresponding thumbnail path of media resources, when the DMC side needs to show the corresponding thumbnail, you can access through the xml file to quickly access the media resource corresponding thumbnail.

[0048] 请参考图4,图4为本发明媒体资源管理系统的第四实施例的示意图。 [0048] Please refer to FIG 4, which illustrates a fourth embodiment of the media asset management system of the present invention. FIG. 媒体资源管理系统400包含媒体资源服务器402以及媒体资源控制器404。 Media asset management system 400 comprises a media resource server 402 and the media resource controller 404.

[0049] 媒体资源服务器402选择共享目录并遍历共享目录下的所有媒体资源。 [0049] 402 select media resource server shared directory traversal and share all the media resources directory. 在此步骤中,媒体资源服务器首先需要选择一个共享目录,然后创建一个目录遍历线程,来遍历共享目录下的所有媒体资源。 In this step, a media resource server first need to select a shared directory, then create a directory traversal thread to loop through all the media resources in the shared directory. 在此实施例中,可采用创建目录遍历线程的方式来遍历共享目录下的所有媒体资源,但此并非用于限制本发明,其他任何可遍历共享目录下所有媒体资源的方式均属于本发明范畴。 In this embodiment, directory traversal may be employed to create a thread to traverse all the way under the shared directory properties, but this is not intended to limit the present invention, all the way in any other property of the shared directory may traverse all fall within the scope of the present invention .

[0050] 然后,媒体资源服务器402生成xml文件,并将媒体资源的路径保存于xml文件中。 [0050] Then, the media resource server 402 generates a xml file, and is stored in the media resource path xml file. 在此步骤中,媒体资源服务器生成xml文件,在xml文件中,根据遍历共享目录下所有媒体资源的结果,将每个媒体资源的路径保存于xml文件中。 In this step, the media resource server generates xml file, the xml file, based on a result of the traversal of all properties shared directory, the path of each property is stored in the xml file.

[0051 ] 接着,媒体资源服务器402生成媒体资源的缩略图。 [0051] Next, media resource server 402 generates a thumbnail of the property. 在此步骤中,在共享目录下生成一个缩略图的文件夹,在此实施例中,此文件夹是隐藏的。 In this step, a thumbnail generated in the shared directory folder, in this embodiment, this folder is hidden. 在其他实施例中,此文件夹也可以是可显示的。 In other embodiments, the folder may be displayed. 在此缩略图文件夹下,可以为每个媒体资源生成相应的缩略图,并保存在缩略图文件夹下。 In this thumbnail folder, you can generate the corresponding thumbnail for each property, and stored in a folder thumbnail.

[0052] 最后,媒体资源服务器402在xml文件中保存媒体资源的缩略图路径。 [0052] Finally, a media resource server 402 stores a thumbnail path of media resources in the xml file. 在此步骤中,媒体资源服务器将每个媒体资源所对应的缩略图路径保存于xml文件中。 In this step, the media resource server property of each path corresponding to the thumbnail stored in the xml file.

[0053] 跟着,媒体资源控制器404获取xml文件。 [0053] followed, media resource controller 404 to obtain xml file. 在此步骤中,媒体资源控制器从媒体资源服务器获取xml文件。 In this step, the media resource controller get xml file from the media resource server.

[0054] 然后,媒体资源控制器404解析xml文件,并获得媒体资源的路径。 [0054] Then, the media resource controller 404 parses the xml file, and access route media resource. 在此步骤中,媒体资源控制器对从媒体资源服务器所获取的xml文件进行解析,以获取媒体资源的路径。 In this step, the media resource controller xml file acquired from the media resource server is parsed to acquire the media resource path.

[0055] 接着,媒体资源控制器404将媒体资源路径按目录归类。 [0055] Next, the media resource controller 404 categorized by media resource directory paths. 在此步骤中,媒体资源控制器根据对xml文件解析所获得的媒体资源路径进行归类。 In this step, the media resource controller according to categorize media resource path xml file parsing obtained.

[0056] 然后,媒体资源控制器404以文件形式显示媒体资源。 [0056] Then, the controller 404 displays the media resource in the media resource file. 在此步骤中,媒体资源控制器根据媒体资源归类的结果,以文件的形式显示媒体资源。 In this step, the media resource control resources based on a result of collation, a display property in a form of a file.

[0057] 然后,媒体资源控制器404获取媒体资源缩略图路径。 [0057] Then, the controller 404 acquires media resource property thumbnail path. 在此步骤中,媒体资源控制器对xml文件进行解析,以获得媒体资源缩略图路径。 In this step, the media resource controller xml file is parsed to obtain media resources thumbnails path.

[0058] 最后,媒体资源控制器404显示媒体资源的缩略图。 [0058] Finally, the media resource controller 404 displays thumbnails of media resources.

[0059] 通过这样的方式,当媒体资源控制器端需要存取媒体资源服务器的媒体资源时,就不再需要在共享目录下一层一层的浏览每个文件夹,而仅仅在xml文件中找到相应的媒体资源路径,便可迅速地找到相应的媒体资源。 [0059] In this manner, when the media resource controller side needs access to media resource server property, no longer need to browse layers of each folder in the shared directory, but only in the xml file locate the appropriate media resource path, you can find the corresponding media resources quickly. 此外,由于xml文件还保存了媒体资源相应的缩略图路径,当媒体资源控制器需要显示相应的缩略图时,便可以通过访问xml文件,以迅速地获取媒体资源相应的缩略图。 In addition, due to the xml file also stores the corresponding thumbnail path of media resources, when the media resource controller needs to display the corresponding thumbnail, you can access through the xml file to quickly access the media resource corresponding thumbnail.

[0060] 需要说明的是,通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的硬件平台的方式来实现,当然也可以全部通过硬件来实施。 [0060] Incidentally, the above description of embodiments, those skilled in the art may clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and definitely may also be implemented by hardware. 基于这样的理解,本发明的技术方案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如R0M/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。 Based on such understanding, the technical solutions of the present invention contributes to the prior art all or part may be embodied in a software product, which computer software product may be stored in a storage medium, such as a R0M / RAM, magnetic disk, optical disk, etc. , including several instructions for instructing a computer device (may be a personal computer, a server, or network device) to perform various method embodiments or some parts of the embodiment of the present invention.

[0061] 以上所揭露的仅为本发明实施例中的较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 [0061] equivalent variations only preferred embodiments of the present invention, in one embodiment only, but not intended to limit the scope of the present invention, according to the claims made by the claimed invention disclosed above, the present invention still encompassed range.

Claims (10)

  1. 1.一种媒体资源管理方法,其特征在于,包括: 选择共享目录并遍历共享目录下的媒体资源; 生成xml文件,并将媒体资源的路径保存于所述xml文件中; 生成所述媒体资源的缩略图;以及在所述xml文件中保存所述媒体资源的缩略图路径。 1. A media resource management method, characterized by comprising: selecting a shared directory traversal and media resource shared directory; xml file generated and stored in the xml file path of the media resource; generating said property thumbnail; xml file and stored in the thumbnail path in the media resource.
  2. 2.如权利要求1所述的媒体资源管理方法,其特征在于,启动创建xml线程以创建所述xml文件。 2. The media resource management method according to claim 1, characterized in that the threads start to create the created xml xml file.
  3. 3.如权利要求1所述的媒体资源管理方法,其特征在于,在所述共享目录下生成缩略图文件夹,以保存所述媒体资源缩略图。 Media resource management method according to claim 1, wherein the thumbnail image generating said shared folder in the directory, to store the property thumbnail.
  4. 4.如权利要求1所述的媒体资源管理方法,其特征在于,获取并解析所述xml文件,以获取所述媒体资源路径。 4. The media resource management method according to claim 1, wherein the obtaining and parsing the xml file, to acquire the media resource path.
  5. 5.如权利要求4所述的媒体资源管理方法,其特征在于,将所述媒体资源路径按目录归类,以文件形式显示所述媒体资源。 5. The media resource management method according to claim 4, wherein the media resource by directory path collation is displayed in the media resource file.
  6. 6.如权利要求4所述的媒体资源管理方法,其特征在于,从所述xml文件中获取所述缩略图路径,以显不所述缩略图。 6. The media resource management method according to claim 4, wherein the thumbnail image acquired from the xml file path to substantially not the thumbnail.
  7. 7.一种媒体资源管理系统,其特征在于,包含媒体资源服务器以及媒体资源控制器, 所述媒体资源服务器选择共享目录并遍历所述共享目录下的媒体资源; 所述媒体资源服务器生成xml文件,并将所述媒体资源的路径保存于所述xml文件中; 所述媒体资源服务器生成所述媒体资源的缩略图;以及所述媒体资源服务器在所述xml文件中保存所述媒体资源的缩略图路径。 7. A media asset management system comprising a media server and a media resource controller resources, select the media resource server and shared directory traversal resource under the shared directory media; the media resource server to generate xml file and the path the media resource is stored in the xml file; the media resource server to generate a thumbnail of the media resource; the media resource server and stored in the xml file, the media resource condensing sketch path.
  8. 8.如权利要求7所述的媒体资源管理系统,其特征在于,所述媒体资源控制器获取并解析所述xml文件,并获得所述媒体资源的路径。 8. A media asset management system according to claim 7, wherein said controller acquires media resource and parse the xml file, and obtaining the media resource path.
  9. 9.如权利要求8所述的媒体资源管理系统,其特征在于,所述媒体资源控制器将所述媒体资源路径按目录归类,并以文件形式显示所述媒体资源。 9. A media asset management system according to claim 8, wherein the media resource control the media resource by directory path categorized as files and display the media resource.
  10. 10.如权利要求9所述的媒体资源管理系统,其特征在于,所述媒体资源控制器获取所述媒体资源缩略图路径,并显示所述媒体资源的缩略图。 10. A media asset management system according to claim 9, wherein the media resource of the media resource controller acquires thumbnail path, and displays thumbnails of the media resource.
CN 201310183686 2013-05-17 2013-05-17 Media resource management method and system CN104168252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310183686 CN104168252A (en) 2013-05-17 2013-05-17 Media resource management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310183686 CN104168252A (en) 2013-05-17 2013-05-17 Media resource management method and system

Publications (1)

Publication Number Publication Date
CN104168252A true true CN104168252A (en) 2014-11-26

Family

ID=51911879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310183686 CN104168252A (en) 2013-05-17 2013-05-17 Media resource management method and system

Country Status (1)

Country Link
CN (1) CN104168252A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006115517A2 (en) * 2005-04-22 2006-11-02 Microsoft Corporation Local thumbnail cache
CN1881216A (en) * 2005-06-13 2006-12-20 佳能株式会社 File management apparatus, control method therefor
CN101193074A (en) * 2007-05-22 2008-06-04 腾讯科技(深圳)有限公司 A method and system for display image on instant communication demonstration frame

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006115517A2 (en) * 2005-04-22 2006-11-02 Microsoft Corporation Local thumbnail cache
CN1881216A (en) * 2005-06-13 2006-12-20 佳能株式会社 File management apparatus, control method therefor
CN101193074A (en) * 2007-05-22 2008-06-04 腾讯科技(深圳)有限公司 A method and system for display image on instant communication demonstration frame

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
万初旭: "DLNA协议研究及其在Android系统上的实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
夏德安: "《Flash组件、游戏、SWF加解密》", 30 June 2007 *

Similar Documents

Publication Publication Date Title
US20070299976A1 (en) Personal video channels
US20120114313A1 (en) System and method for remote resume of video and dvr content
US20100325547A1 (en) Systems and Methods for Sharing Multimedia Editing Projects
EP1158795A2 (en) Audiovisual information management system
US20060294212A1 (en) Information processing apparatus, information processing method, and computer program
US20060248557A1 (en) Interface for controlling device groups
US20060253782A1 (en) Interface for manipulating multimedia playlists
US20070136778A1 (en) Controller and control method for media retrieval, routing and playback
US20110060998A1 (en) System and method for managing internet media content
US20060168126A1 (en) Aggregated content listing for ad-hoc peer to peer networks
US20060253874A1 (en) Mobile interface for manipulating multimedia content
US20100293598A1 (en) Method and system for use in coordinating multimedia devices
US20110276881A1 (en) Systems and Methods for Sharing Multimedia Editing Projects
US20120060100A1 (en) System and method for transferring media content
US20050086355A1 (en) Systems and methods for identifying original streams of media content
US20100332565A1 (en) System and method for managing and/or rendering internet multimedia content in a network
US20060174026A1 (en) System and method for a remote user interface
US20120324504A1 (en) Systems and methods for providing parental controls in a cloud-based media guidance application
US20100131613A1 (en) Media sharing network
JP2007228205A (en) Network server
US20100235869A1 (en) Device management for media network
US20100306815A1 (en) System and method for sharing user content through a set-top box
US20080034029A1 (en) Composition of local media playback with remotely generated user interface
US20130027289A1 (en) Electronic device
US20070266410A1 (en) Access of data resources using pause points

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01