CN104506508A - File information synchronizing method and related equipment - Google Patents
File information synchronizing method and related equipment Download PDFInfo
- Publication number
- CN104506508A CN104506508A CN201410778636.9A CN201410778636A CN104506508A CN 104506508 A CN104506508 A CN 104506508A CN 201410778636 A CN201410778636 A CN 201410778636A CN 104506508 A CN104506508 A CN 104506508A
- Authority
- CN
- China
- Prior art keywords
- media
- file
- renderer
- storage path
- currently played
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
一种文件信息同步方法及相关设备。本发明实施例公开了一种文件信息同步方法,包括:从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,使得所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息。本发明实施例还公开了一种媒体控制器以及媒体渲染器。采用本发明实施例,可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。
A file information synchronization method and related equipment. The embodiment of the present invention discloses a method for synchronizing file information, comprising: obtaining the storage path of the media file currently played by the media renderer from the media server; and sending the storage path of the currently played media file to the media renderer , so that the media renderer sends the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers can The path acquires the resource information of the currently played media file from the media server. The embodiment of the invention also discloses a media controller and a media renderer. By adopting the embodiment of the present invention, resource information of media files in multiple media controllers can be synchronized, so that multiple media controllers can perform playback control operations on the same playlist.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种文件信息同步方法及相关设备。The invention relates to the field of electronic technology, in particular to a method for synchronizing file information and related equipment.
背景技术Background technique
目前DLNA(Digital Living Network Alliance,终端互联解决方案)技术得到了广泛的发展,越来越多的媒体设备,影音终端或播放平台都支持DLNA协议。该技术允许设备在网络连接状态下,能够发现拥有其他功能的设备,并查看和分享服务器中的媒体资源至某个播放器中进行播放。DLNA设备的类型主要有媒体播放器,媒体渲染器,媒体服务器以及媒体控制器。At present, DLNA (Digital Living Network Alliance, terminal interconnection solution) technology has been widely developed, and more and more media devices, audio-visual terminals or playback platforms support the DLNA protocol. This technology allows devices to discover devices with other functions when they are connected to the network, and view and share media resources in the server to a player for playback. The types of DLNA devices mainly include media players, media renderers, media servers and media controllers.
DLNA定义了一种push推送模式,该模式要求网络中至少有3种设备,媒体渲染器,媒体服务器以及媒体控制器。其中,媒体控制器作为控制点,可以发现其他的两个设备,并能够浏览媒体服务器中的媒体文件,并将该媒体文件推送至媒体渲染器进行播放。媒体服务器和媒体渲染器均支持多台媒体控制器的访问控制,但目前并不能很好的分享或同步多个媒体控制器的内容,如某个媒体控制器访问媒体服务器媒体文件,浏览该媒体文件的资源信息,并将该媒体文件推送至媒体渲染器播放,那么网段中其他媒体控制器就不能获取到正在播放的媒体文件的资源信息,无法实现媒体文件的资源信息同步。DLNA defines a push mode, which requires at least 3 devices in the network, media renderer, media server and media controller. Wherein, the media controller serves as a control point, can discover the other two devices, and can browse the media files in the media server, and push the media files to the media renderer for playback. Both the media server and the media renderer support the access control of multiple media controllers, but currently they cannot share or synchronize the contents of multiple media controllers very well. For example, a media controller accesses the media file of the media server and browses the media If the resource information of the media file is pushed to the media renderer for playback, other media controllers in the network segment cannot obtain the resource information of the media file being played, and the resource information of the media file cannot be synchronized.
发明内容Contents of the invention
本发明实施例提供一种文件信息同步方法及相关设备。可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。Embodiments of the present invention provide a file information synchronization method and related equipment. Resource information of media files in multiple media controllers can be synchronized, so that multiple media controllers can perform playback control operations on the same playlist.
本发明实施例提供了一种文件信息同步方法,包括:An embodiment of the present invention provides a method for synchronizing file information, including:
指定媒体控制器从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;Specify the media controller to obtain the storage path of the media file currently played by the media renderer from the media server;
所述指定媒体控制器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,使得所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。The specified media controller sends the storage path of the currently played media file to the media renderer, so that the media renderer sends the storage path of the currently played media file to the media renderer All associated media controllers, so that all media controllers obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file, and all the media controllers include The designated media controller and other media controllers.
其中,所述从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径之前,还包括:Wherein, before obtaining the storage path of the media file currently played by the media renderer from the media server, it also includes:
所述指定媒体控制器从所述媒体服务器中获取媒体文件的资源信息;The designated media controller acquires resource information of media files from the media server;
所述指定媒体控制器将所述媒体文件的资源信息发送至所述媒体渲染器,以使所述媒体渲染器根据所述媒体文件的资源信息从所述媒体服务器中获取所述媒体文件进行播放。The specified media controller sends the resource information of the media file to the media renderer, so that the media renderer obtains the media file from the media server according to the resource information of the media file to play .
其中,所述从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径之前,还包括:Wherein, before obtaining the storage path of the media file currently played by the media renderer from the media server, it also includes:
所述指定媒体控制器向所述媒体渲染器订阅项目控制服务,其中,所述其他媒体控制器同时向所述媒体渲染器订阅项目控制服务。The designated media controller subscribes to the item control service of the media renderer, wherein the other media controllers subscribe to the item control service of the media renderer at the same time.
本发明实施例提供了另一种文件信息同步方法,包括:The embodiment of the present invention provides another file information synchronization method, including:
媒体渲染器接收指定媒体控制器发送的从媒体服务器中获取到的所述媒体渲染器当前播放的媒体文件的存储路径;The media renderer receives the storage path of the media file currently played by the media renderer obtained from the media server and sent by the designated media controller;
所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。The media renderer sends the storage path of the currently played media file to all the media controllers associated with the media renderer, so that all the media controllers can select from the storage path of the currently played media file according to the storage path of the currently played media file The resource information of the currently played media file is obtained from the media server, and all the media controllers include the designated media controller and other media controllers.
其中,所述接收指定媒体控制器发送的从媒体服务器中获取到的所述媒体渲染器当前播放的媒体文件的存储路径之前,还包括:Wherein, before receiving the storage path of the media file currently played by the media renderer obtained from the media server and sent by the specified media controller, it also includes:
所述媒体渲染器接收所述指定媒体控制器发送的媒体文件的资源信息;The media renderer receives the resource information of the media file sent by the specified media controller;
所述媒体渲染器根据所述媒体文件的资源信息,从所述媒体服务器中获取所述媒体文件进行播放。The media renderer obtains the media file from the media server to play according to the resource information of the media file.
其中,所述将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器之前,还包括:Wherein, before sending the storage path of the currently played media file to all media controllers associated with the media renderer, it also includes:
所述媒体渲染器将所述当前播放的媒体文件的存储路径与当前记录的前一次播放的媒体文件的存储路径进行比较;The media renderer compares the storage path of the currently played media file with the currently recorded storage path of the previously played media file;
所述媒体渲染器若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径不相同,则执行所述将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器的步骤。If the storage path of the currently played media file is different from the storage path of the currently recorded media file played last time, the media renderer executes the sending of the storage path of the currently played media file Steps to all media controllers associated with the media renderer.
相应地,本发明实施例提供了一种媒体控制器,包括:Correspondingly, an embodiment of the present invention provides a media controller, including:
路径获取模块,用于从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;The path obtaining module is used to obtain the storage path of the media file currently played by the media renderer from the media server;
路径发送模块,用于将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,使得所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括指定媒体控制器以及其他媒体控制器。A path sending module, configured to send the storage path of the currently played media file to the media renderer, so that the media renderer sends the storage path of the currently played media file to the media renderer All associated media controllers, so that all media controllers obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file, and all the media controllers include Specifies the media controller as well as other media controllers.
其中,所述媒体控制器还包括:Wherein, the media controller also includes:
信息获取模块,用于从所述媒体服务器中获取媒体文件的资源信息;An information obtaining module, configured to obtain resource information of media files from the media server;
信息发送模块,用于将所述媒体文件的资源信息发送至所述媒体渲染器,以使所述媒体渲染器根据所述媒体文件的资源信息从所述媒体服务器中获取所述媒体文件进行播放。An information sending module, configured to send the resource information of the media file to the media renderer, so that the media renderer obtains the media file from the media server according to the resource information of the media file for playing .
其中,所述媒体控制器还包括:Wherein, the media controller also includes:
服务订阅模块,用于向所述媒体渲染器订阅项目控制服务,其中,所述其他媒体控制器同时向所述媒体渲染器订阅项目控制服务。A service subscription module, configured to subscribe the media renderer to the item control service, wherein the other media controllers subscribe to the media renderer to the item control service at the same time.
相应地,本发明实施例提供了一种媒体渲染器,包括:Correspondingly, an embodiment of the present invention provides a media renderer, including:
路径接收模块,用于接收指定媒体控制器发送的从媒体服务器中获取到的所述媒体渲染器当前播放的媒体文件的存储路径;The path receiving module is used to receive the storage path of the media file currently played by the media renderer obtained from the media server and sent by the designated media controller;
路径发送模块,用于将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。A path sending module, configured to send the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers The resource information of the currently played media file is acquired from the media server, and all the media controllers include the designated media controller and other media controllers.
其中,所述媒体渲染器还包括:Wherein, the media renderer also includes:
信息接收模块,用于接收所述指定媒体控制器发送的媒体文件的资源信息;An information receiving module, configured to receive the resource information of the media file sent by the specified media controller;
信息播放模块,用于根据所述媒体文件的资源信息,从所述媒体服务器中获取所述媒体文件进行播放。The information playing module is used to obtain the media file from the media server and play it according to the resource information of the media file.
其中,所述路径发送模块,还用于将所述当前播放的媒体文件的存储路径与当前记录的前一次播放的媒体文件的存储路径进行比较;以及若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径不相同,则执行所述将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器的步骤。Wherein, the path sending module is also used to compare the storage path of the currently played media file with the storage path of the currently recorded media file played last time; and if the storage path of the currently played media file If the storage path of the currently recorded media file played last time is different, the step of sending the storage path of the currently played media file to all media controllers associated with the media renderer is performed.
实施本发明实施例,指定媒体控制器首先从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;然后将当前播放的媒体文件的存储路径发送至媒体渲染器,以使媒体渲染器将当前播放的媒体文件的存储路径发送至媒体渲染器关联的所有媒体控制器,使得所有媒体控制器根据当前播放的媒体文件的存储路径从媒体服务器中获取当前播放的媒体文件的资源信息,可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。Implement the embodiment of the present invention, specify that the media controller first obtains the storage path of the media file currently played by the media renderer from the media server; then sends the storage path of the currently played media file to the media renderer, so that the media renderer will The storage path of the currently playing media file is sent to all media controllers associated with the media renderer, so that all media controllers can obtain the resource information of the currently playing media file from the media server according to the storage path of the currently playing media file, and can synchronize Resource information of media files in multiple media controllers, so that multiple media controllers can perform playback control operations on the same playlist.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本发明提出的一种文件信息同步方法的第一实施例流程图;Fig. 1 is the flow chart of the first embodiment of a kind of file information synchronization method proposed by the present invention;
图2是本发明提出的一种文件信息同步方法的另一实施例的流程图;Fig. 2 is a flowchart of another embodiment of a method for synchronizing file information proposed by the present invention;
图3是本发明实施例提出的一种媒体控制器的结构示意图;FIG. 3 is a schematic structural diagram of a media controller proposed by an embodiment of the present invention;
图4是本发明实施例提出的一种媒体渲染器的结构示意图;FIG. 4 is a schematic structural diagram of a media renderer proposed by an embodiment of the present invention;
图5是本发明实施例提出的一种文件信息同步系统的结构示意图。FIG. 5 is a schematic structural diagram of a file information synchronization system proposed by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 some of the embodiments of the present invention, but not all of them. 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.
在本发明中,媒体服务器可以包括机顶盒、PVR(Personal Video Recorder,个人视频录像)、PCS(Personal Cloud Storage,个人云存储)、带有硬盘的立体声和家庭影院、广播调谐器或者视频图像捕获设备(如相机、摄像机或者手机)等。媒体控制器可以为遥控器或者带有媒体控制器功能的手机。媒体渲染器可以包括电视机、音视频接收机、视频显示器或者无线音乐扬声器等。In the present invention, the media server can include set-top box, PVR (Personal Video Recorder, personal video recording), PCS (Personal Cloud Storage, personal cloud storage), stereo and home theater with hard disk, broadcast tuner or video image capture device (such as cameras, video cameras or mobile phones), etc. The media controller can be a remote controller or a mobile phone with a media controller function. Media renderers may include televisions, audio-video receivers, video displays, or wireless music speakers, among others.
请参考图1,图1是本发明提出的一种文件信息同步方法的第一实施例流程图。如图所示,本发明实施例中的方法包括:Please refer to FIG. 1 , which is a flowchart of a first embodiment of a method for synchronizing file information proposed by the present invention. As shown in the figure, the method in the embodiment of the present invention includes:
S101,指定媒体控制器从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径。S101, designate the media controller to acquire the storage path of the media file currently played by the media renderer from the media server.
具体实现中,指定媒体控制器首先向所述媒体渲染器订阅项目控制服务,其中,其他媒体控制器同时向所述媒体渲染器订阅项目控制服务。然后指定媒体控制器浏览媒体服务器中的某个媒体文件的资源信息,并获取该媒体文件的资源信息,将所述媒体文件的资源信息发送至所述媒体渲染器,以使所述媒体渲染器对所述媒体文件进行播放。此时,指定媒体控制器可以从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径。其中,媒体文件的存储路径可以包括媒体服务器的标识UUID(Universally Unique Identifier,通用唯一标识码)以及媒体文件的标识ObjectID。In a specific implementation, the designated media controller first subscribes to the media renderer for the item control service, wherein other media controllers subscribe to the media renderer for the item control service at the same time. Then the designated media controller browses the resource information of a certain media file in the media server, and obtains the resource information of the media file, and sends the resource information of the media file to the media renderer, so that the media renderer Play the media file. At this time, the specified media controller can obtain the storage path of the media file currently played by the media renderer from the media server. Wherein, the storage path of the media file may include an identifier UUID (Universally Unique Identifier, universally unique identifier code) of the media server and an identifier ObjectID of the media file.
S102,所述指定媒体控制器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,使得所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。S102. The specified media controller sends the storage path of the currently played media file to the media renderer, so that the media renderer sends the storage path of the currently played media file to the media All media controllers associated with the renderer, so that all media controllers obtain resource information of the currently played media file from the media server according to the storage path of the currently played media file, and all media controllers Controllers include the designated media controller and other media controllers.
具体实现中,指定媒体控制器可以调用预先订阅的项目控制服务,如:X_SetNowplayingDmsContainerId功能函数,将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器。In a specific implementation, the specified media controller may call a pre-subscribed item control service, such as the X_SetNowplayingDmsContainerId function, to send the storage path of the currently played media file to the media renderer.
此外,在媒体渲染器接收到所述当前播放的媒体文件的存储路径之后,将所述当前播放的媒体文件的存储路径与当前记录的前一次播放的媒体文件的存储路径进行比较;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径不相同,则将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径相同,则则说明媒体渲染器前一次播放的媒体文件与当前播放的媒体文件相同,因此所有媒体控制器已经保存有当前播放的媒体文件的存储路径,无需再将当前播放的媒体文件的存储路径发送至所有媒体控制器。其中,媒体渲染器可以通过预定义的状态变量如:X_NowplayingDmsContainerId对所述前一次播放的媒体文件的存储路径进行记录。In addition, after the media renderer receives the storage path of the currently played media file, it compares the storage path of the currently played media file with the currently recorded storage path of the previously played media file; if the The storage path of the currently played media file is different from the storage path of the currently recorded media file played last time, then the storage path of the currently played media file is sent to all media controllers associated with the media renderer device, so that all media controllers obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file; if the storage path of the currently played media file If the storage path of the previously played media file currently recorded is the same, it means that the media file played by the media renderer last time is the same as the currently played media file, so all media controllers have saved the currently played media file The storage path of the currently played media file does not need to be sent to all media controllers. Wherein, the media renderer may record the storage path of the previously played media file through a predefined state variable such as: X_NowplayingDmsContainerId.
在所述所有媒体控制器接收到所述当前播放的媒体文件的存储路径之后,所述所有媒体控制器分别将接收到的所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径进行比较,若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径不相同,则根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,从而实现所述所有媒体控制器中的媒体文件的资源信息同步。若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径相同,则媒体控制器已保存有当前播放的媒体文件的资源信息,不需从所述媒体服务器中重新获取所述当前播放的媒体文件的资源信息。After all the media controllers receive the storage paths of the currently played media files, all the media controllers respectively compare the received storage paths of the currently played media files with the currently accessed media files in the media The storage path in the server is compared, if the storage path of the currently played media file is different from the storage path of the currently accessed media file in the media server, then according to the storage path of the currently played media file from the The media server acquires the resource information of the currently played media file, so as to realize the synchronization of the resource information of the media files in all the media controllers. If the storage path of the currently played media file is the same as the storage path of the currently accessed media file in the media server, the media controller has saved the resource information of the currently played media file, and does not need to be retrieved from the media server. The resource information of the currently played media file is reacquired.
在本发明实施例中,指定媒体控制器首先从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;然后将当前播放的媒体文件的存储路径发送至媒体渲染器,以使媒体渲染器将当前播放的媒体文件的存储路径发送至媒体渲染器关联的所有媒体控制器,使得所有媒体控制器根据当前播放的媒体文件的存储路径从媒体服务器中获取当前播放的媒体文件的资源信息,可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。In the embodiment of the present invention, the specified media controller first obtains the storage path of the media file currently played by the media renderer from the media server; then sends the storage path of the currently played media file to the media renderer, so that the media renderer Send the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers can obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file. The resource information of the media files in multiple media controllers is synchronized, so that multiple media controllers can perform playback control operations on the same playlist.
请参考图2,图2是本发明提出的一种文件信息同步方法的第二实施例流程图。如图所示,本发明实施例中的方法包括:Please refer to FIG. 2 , which is a flowchart of a second embodiment of a method for synchronizing file information proposed by the present invention. As shown in the figure, the method in the embodiment of the present invention includes:
S201,指定媒体控制器从所述媒体服务器中获取媒体文件的资源信息。S201. A designated media controller obtains resource information of a media file from the media server.
具体实现中,指定媒体控制器首先向所述媒体渲染器订阅项目控制服务,其中,其他媒体控制器同时向所述媒体渲染器订阅项目控制服务。然后指定媒体控制器浏览媒体服务器中的某个媒体文件的资源信息,并获取该媒体文件的资源信息In a specific implementation, the designated media controller first subscribes to the media renderer for the item control service, wherein other media controllers subscribe to the media renderer for the item control service at the same time. Then specify the media controller to browse the resource information of a media file in the media server and obtain the resource information of the media file
S202,指定媒体控制器将所述媒体文件的资源信息发送至所述媒体渲染器,以使所述媒体渲染器根据所述媒体文件的资源信息从所述媒体服务器中获取所述媒体文件进行播放。S202, designate the media controller to send the resource information of the media file to the media renderer, so that the media renderer obtains the media file from the media server according to the resource information of the media file to play .
S203,媒体渲染器根据所述媒体文件的资源信息,从所述媒体服务器中获取所述媒体文件进行播放。S203. The media renderer acquires the media file from the media server according to the resource information of the media file and plays it.
S204,指定媒体控制器从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径。其中,媒体文件的存储路径可以包括媒体服务器的标识UUID(Universally Unique Identifier,通用唯一标识码)以及媒体文件的标识ObjectID。S204, specifying the media controller to obtain the storage path of the media file currently played by the media renderer from the media server. Wherein, the storage path of the media file may include an identifier UUID (Universally Unique Identifier, universally unique identifier code) of the media server and an identifier ObjectID of the media file.
S205,指定媒体控制器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器。S205, designate the media controller to send the storage path of the currently played media file to the media renderer, so that the media renderer sends the storage path of the currently played media file to the media renderer All associated media controllers.
具体实现中,指定媒体控制器可以调用预先订阅的项目控制服务,如:X_SetNowplayingDmsContainerId功能函数,将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器。In a specific implementation, the specified media controller may call a pre-subscribed item control service, such as the X_SetNowplayingDmsContainerId function, to send the storage path of the currently played media file to the media renderer.
S206,媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息。S206. The media renderer sends the storage path of the currently played media file to all media controllers associated with the media renderer, so that all the media controllers can obtain the storage path of the currently played media file according to the storage path of the currently played media file. The resource information of the currently played media file is obtained from the media server.
具体实现中,在媒体渲染器接收到所述当前播放的媒体文件的存储路径之后,将所述当前播放的媒体文件的存储路径与当前记录的前一次播放的媒体文件的存储路径进行比较;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径不相同,则将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径相同,则说明媒体渲染器前一次播放的媒体文件与当前播放的媒体文件相同,因此所有媒体控制器已经保存有当前播放的媒体文件的存储路径,无需再将当前播放的媒体文件的存储路径发送至所有媒体控制器。其中,媒体渲染器可以通过预定义的状态变量如:X_NowplayingDmsContainerId对所述前一次播放的媒体文件的存储路径进行记录。In a specific implementation, after the media renderer receives the storage path of the currently played media file, it compares the storage path of the currently played media file with the storage path of the currently recorded media file played last time; if The storage path of the currently played media file is different from the storage path of the currently recorded media file played last time, then the storage path of the currently played media file is sent to all associated media renderers. Media controllers, so that all media controllers obtain the resource information of the currently played media files from the media server according to the storage path of the currently played media files; If the storage path is the same as the storage path of the previously played media file currently recorded, it means that the media file played by the media renderer last time is the same as the currently played media file, so all media controllers have saved the currently played media The storage path of the file does not need to send the storage path of the currently playing media file to all media controllers. Wherein, the media renderer may record the storage path of the previously played media file through a predefined state variable such as: X_NowplayingDmsContainerId.
此外,在所述所有媒体控制器接收到所述当前播放的媒体文件的存储路径之后,所述所有媒体控制器分别将接收到的所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径进行比较,若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径不相同,则根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,从而实现所述所有媒体控制器中的媒体文件的资源信息同步。若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径相同,则媒体控制器已保存有当前播放的媒体文件的资源信息,不需从所述媒体服务器中重新获取所述当前播放的媒体文件的资源信息。In addition, after all the media controllers receive the storage paths of the currently played media files, all the media controllers respectively combine the received storage paths of the currently played media files with the currently accessed media files Comparing the storage path in the media server, if the storage path of the currently played media file is different from the storage path of the currently accessed media file in the media server, then according to the storage path of the currently played media file from The media server acquires the resource information of the currently played media file, so as to realize the synchronization of the resource information of the media files in all the media controllers. If the storage path of the currently played media file is the same as the storage path of the currently accessed media file in the media server, the media controller has saved the resource information of the currently played media file, and does not need to be retrieved from the media server. The resource information of the currently played media file is reacquired.
在本发明实施例中,指定媒体控制器首先从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;然后将当前播放的媒体文件的存储路径发送至媒体渲染器,以使媒体渲染器将当前播放的媒体文件的存储路径发送至媒体渲染器关联的所有媒体控制器,使得所有媒体控制器根据当前播放的媒体文件的存储路径从媒体服务器中获取当前播放的媒体文件的资源信息,可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。In the embodiment of the present invention, the specified media controller first obtains the storage path of the media file currently played by the media renderer from the media server; then sends the storage path of the currently played media file to the media renderer, so that the media renderer Send the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers can obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file. The resource information of the media files in multiple media controllers is synchronized, so that multiple media controllers can perform playback control operations on the same playlist.
请参考图3,图3是本发明实施例提出的一种媒体控制器的结构示意图。如图所示,本发明实施例中的媒体控制器包括:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a media controller proposed by an embodiment of the present invention. As shown in the figure, the media controller in the embodiment of the present invention includes:
服务订阅模块301,用于向所述媒体渲染器订阅项目控制服务,其中,所述其他媒体控制器同时向所述媒体渲染器订阅项目控制服务。The service subscription module 301 is configured to subscribe the media renderer to the item control service, wherein the other media controllers subscribe to the media renderer to the item control service at the same time.
信息获取模块302,用于从所述媒体服务器中获取媒体文件的资源信息。An information obtaining module 302, configured to obtain resource information of media files from the media server.
信息发送模块303,用于将所述媒体文件的资源信息发送至所述媒体渲染器,以使所述媒体渲染器根据所述媒体文件的资源信息从所述媒体服务器中获取所述媒体文件进行播放。An information sending module 303, configured to send the resource information of the media file to the media renderer, so that the media renderer obtains the media file from the media server according to the resource information of the media file to perform play.
路径获取模块304,用于从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径。其中,媒体文件的存储路径可以包括媒体服务器的标识UUID(Universally Unique Identifier,通用唯一标识码)以及媒体文件的标识ObjectID。The path acquisition module 304 is configured to acquire the storage path of the media file currently played by the media renderer from the media server. Wherein, the storage path of the media file may include an identifier UUID (Universally Unique Identifier, universally unique identifier code) of the media server and an identifier ObjectID of the media file.
路径发送模块305,用于将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,使得所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。Path sending module 305, configured to send the storage path of the currently played media file to the media renderer, so that the media renderer sends the storage path of the currently played media file to the media renderer All media controllers associated with the server, so that all media controllers obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file, and all the media controllers Including the designated media controller and other media controllers.
具体实现中,指定媒体控制器可以调用预先订阅的项目控制服务,如:X_SetNowplayingDmsContainerId功能函数,将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器。In a specific implementation, the specified media controller may call a pre-subscribed item control service, such as the X_SetNowplayingDmsContainerId function, to send the storage path of the currently played media file to the media renderer.
此外,在媒体渲染器接收到所述当前播放的媒体文件的存储路径之后,将所述当前播放的媒体文件的存储路径与当前记录的前一次播放的媒体文件的存储路径进行比较;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径不相同,则将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径相同,则说明媒体渲染器前一次播放的媒体文件与当前播放的媒体文件相同,因此所有媒体控制器已经保存有当前播放的媒体文件的存储路径,无需再将当前播放的媒体文件的存储路径发送至所有媒体控制器。其中,媒体渲染器可以通过预定义的状态变量如:X_NowplayingDmsContainerId对所述前一次播放的媒体文件的存储路径进行记录。In addition, after the media renderer receives the storage path of the currently played media file, it compares the storage path of the currently played media file with the currently recorded storage path of the previously played media file; if the The storage path of the currently played media file is different from the storage path of the currently recorded media file played last time, then the storage path of the currently played media file is sent to all media controllers associated with the media renderer device, so that all media controllers obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file; if the storage path of the currently played media file The same as the storage path of the previously played media file currently recorded, it means that the media file played by the media renderer last time is the same as the currently played media file, so all media controllers have saved the currently played media file Storage path, no need to send the storage path of the currently playing media file to all media controllers. Wherein, the media renderer may record the storage path of the previously played media file through a predefined state variable such as: X_NowplayingDmsContainerId.
在所述所有媒体控制器接收到所述当前播放的媒体文件的存储路径之后,所述所有媒体控制器分别将接收到的所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径进行比较,若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径不相同,则根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,从而实现所述所有媒体控制器中的媒体文件的资源信息同步。若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径相同,则媒体控制器已保存有当前播放的媒体文件的资源信息,不需从所述媒体服务器中重新获取所述当前播放的媒体文件的资源信息。After all the media controllers receive the storage paths of the currently played media files, all the media controllers respectively compare the received storage paths of the currently played media files with the currently accessed media files in the media The storage path in the server is compared, if the storage path of the currently played media file is different from the storage path of the currently accessed media file in the media server, then according to the storage path of the currently played media file from the The media server acquires the resource information of the currently played media file, so as to realize the synchronization of the resource information of the media files in all the media controllers. If the storage path of the currently played media file is the same as the storage path of the currently accessed media file in the media server, the media controller has saved the resource information of the currently played media file, and does not need to be retrieved from the media server. The resource information of the currently played media file is reacquired.
在本发明实施例中,指定媒体控制器首先从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;然后将当前播放的媒体文件的存储路径发送至媒体渲染器,以使媒体渲染器将当前播放的媒体文件的存储路径发送至媒体渲染器关联的所有媒体控制器,使得所有媒体控制器根据当前播放的媒体文件的存储路径从媒体服务器中获取当前播放的媒体文件的资源信息,可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。In the embodiment of the present invention, the specified media controller first obtains the storage path of the media file currently played by the media renderer from the media server; then sends the storage path of the currently played media file to the media renderer, so that the media renderer Send the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers can obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file. The resource information of the media files in multiple media controllers is synchronized, so that multiple media controllers can perform playback control operations on the same playlist.
请参考图4,图4是本发明实施例提出的一种媒体渲染器的结构示意图。如图所示,本发明实施例中的媒体渲染器包括:Please refer to FIG. 4 , which is a schematic structural diagram of a media renderer proposed by an embodiment of the present invention. As shown in the figure, the media renderer in the embodiment of the present invention includes:
信息接收模块401,用于接收所述指定媒体控制器发送的媒体文件的资源信息。The information receiving module 401 is configured to receive the resource information of the media file sent by the specified media controller.
具体实现中,指定媒体控制器首先向所述媒体渲染器订阅项目控制服务,其中,其他媒体控制器同时向所述媒体渲染器订阅项目控制服务。然后指定媒体控制器浏览媒体服务器中的某个媒体文件的资源信息,并获取该媒体文件的资源信息,将所述媒体文件的资源信息发送至所述媒体渲染器。In a specific implementation, the designated media controller first subscribes to the media renderer for the item control service, wherein other media controllers subscribe to the media renderer for the item control service at the same time. Then the designated media controller browses the resource information of a certain media file in the media server, obtains the resource information of the media file, and sends the resource information of the media file to the media renderer.
信息播放模块402,用于根据所述媒体文件的资源信息,从所述媒体服务器中获取所述媒体文件进行播放。The information playing module 402 is configured to acquire the media file from the media server and play it according to the resource information of the media file.
路径接收模块403,用于接收指定媒体控制器发送的从媒体服务器中获取到的所述媒体渲染器当前播放的媒体文件的存储路径。The path receiving module 403 is configured to receive the storage path of the media file currently played by the media renderer obtained from the media server and sent by the designated media controller.
具体实现中,当所述媒体渲染器对所述媒体文件进行播放时,指定媒体控制器可以从媒体服务器获取媒体渲染器当前播放的媒体文件的存储路径。其中,媒体文件的存储路径可以包括媒体服务器的标识UUID(Universally Unique Identifier,通用唯一标识码)以及媒体文件的标识ObjectID,并将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器。In a specific implementation, when the media renderer plays the media file, the designated media controller may acquire the storage path of the media file currently played by the media renderer from the media server. Wherein, the storage path of the media file can include the identifier UUID (Universally Unique Identifier, Universally Unique Identifier) of the media server and the identifier ObjectID of the media file, and the storage path of the currently played media file is sent to the media renderer .
路径发送模块404,用于将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。Path sending module 404, configured to send the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers can The path obtains the resource information of the currently playing media file from the media server, and the all media controllers include the specified media controller and other media controllers.
具体实现中,在媒体渲染器接收到所述当前播放的媒体文件的存储路径之后,将所述当前播放的媒体文件的存储路径与当前记录的前一次播放的媒体文件的存储路径进行比较;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径不相同,则将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息;若所述当前播放的媒体文件的存储路径与所述当前记录的前一次播放的媒体文件的存储路径相同,则说明媒体渲染器前一次播放的媒体文件与当前播放的媒体文件相同,因此所有媒体控制器已经保存有当前播放的媒体文件的存储路径,无需再将当前播放的媒体文件的存储路径发送至所有媒体控制器。其中,媒体渲染器可以通过预定义的状态变量如:X_NowplayingDmsContainerId对所述前一次播放的媒体文件的存储路径进行记录。In a specific implementation, after the media renderer receives the storage path of the currently played media file, it compares the storage path of the currently played media file with the storage path of the currently recorded media file played last time; if The storage path of the currently played media file is different from the storage path of the currently recorded media file played last time, then the storage path of the currently played media file is sent to all associated media renderers. Media controllers, so that all media controllers obtain the resource information of the currently played media files from the media server according to the storage path of the currently played media files; If the storage path is the same as the storage path of the previously played media file currently recorded, it means that the media file played by the media renderer last time is the same as the currently played media file, so all media controllers have saved the currently played media The storage path of the file does not need to send the storage path of the currently playing media file to all media controllers. Wherein, the media renderer may record the storage path of the previously played media file through a predefined state variable such as: X_NowplayingDmsContainerId.
此外,在所述所有媒体控制器接收到所述当前播放的媒体文件的存储路径之后,所述所有媒体控制器分别将接收到的所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径进行比较,若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径不相同,则根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,从而实现所述所有媒体控制器中的媒体文件的资源信息同步。若所述当前播放的媒体文件的存储路径与当前访问的媒体文件在媒体服务器中的存储路径相同,则媒体控制器已保存有当前播放的媒体文件的资源信息,不需从所述媒体服务器中重新获取所述当前播放的媒体文件的资源信息。In addition, after all the media controllers receive the storage paths of the currently played media files, all the media controllers respectively combine the received storage paths of the currently played media files with the currently accessed media files Comparing the storage path in the media server, if the storage path of the currently played media file is different from the storage path of the currently accessed media file in the media server, then according to the storage path of the currently played media file from The media server acquires the resource information of the currently played media file, so as to realize the synchronization of the resource information of the media files in all the media controllers. If the storage path of the currently played media file is the same as the storage path of the currently accessed media file in the media server, the media controller has saved the resource information of the currently played media file, and does not need to be retrieved from the media server. The resource information of the currently played media file is reacquired.
在本发明实施例中,指定媒体控制器首先从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;然后将当前播放的媒体文件的存储路径发送至媒体渲染器,以使媒体渲染器将当前播放的媒体文件的存储路径发送至媒体渲染器关联的所有媒体控制器,使得所有媒体控制器根据当前播放的媒体文件的存储路径从媒体服务器中获取当前播放的媒体文件的资源信息,可以同步多个媒体控制器中的媒体文件的资源信息,从而实现多个媒体控制器对同一播放列表进行播放控制操作。In the embodiment of the present invention, the specified media controller first obtains the storage path of the media file currently played by the media renderer from the media server; then sends the storage path of the currently played media file to the media renderer, so that the media renderer Send the storage path of the currently played media file to all media controllers associated with the media renderer, so that all media controllers can obtain the resource information of the currently played media file from the media server according to the storage path of the currently played media file. The resource information of the media files in multiple media controllers is synchronized, so that multiple media controllers can perform playback control operations on the same playlist.
请参考图5,图5是本发明实施例提出的一种文件信息同步系统的结构示意图。如图所示,本发明实施例中的文件信息同步系统包括:Please refer to FIG. 5 , which is a schematic structural diagram of a file information synchronization system proposed by an embodiment of the present invention. As shown in the figure, the file information synchronization system in the embodiment of the present invention includes:
媒体控制器300,用于从媒体服务器中获取媒体渲染器当前播放的媒体文件的存储路径;以及将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器,以使所述媒体渲染器将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,使得所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。The media controller 300 is configured to acquire the storage path of the media file currently played by the media renderer from the media server; and send the storage path of the currently played media file to the media renderer, so that the media renderer The server sends the storage path of the currently played media file to all media controllers associated with the media renderer, so that all the media controllers retrieve the information from the media server according to the storage path of the currently played media file The resource information of the currently played media file is acquired, and all the media controllers include the specified media controller and other media controllers.
媒体渲染器400,用于接收指定媒体控制器发送的从媒体服务器中获取到的所述媒体渲染器当前播放的媒体文件的存储路径;以及将所述当前播放的媒体文件的存储路径发送至所述媒体渲染器关联的所有媒体控制器,以使所述所有媒体控制器根据所述当前播放的媒体文件的存储路径从所述媒体服务器中获取所述当前播放的媒体文件的资源信息,所述所有媒体控制器包括所述指定媒体控制器以及其他媒体控制器。The media renderer 400 is configured to receive the storage path of the media file currently played by the media renderer obtained from the media server sent by the designated media controller; and send the storage path of the currently played media file to the All media controllers associated with the media renderer, so that all media controllers acquire resource information of the currently played media file from the media server according to the storage path of the currently played media file, the All media controllers include the designated media controller and other media controllers.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, all the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present invention, certain steps can be carried out in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Flash disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disc, etc.
以上对本发明实施例所提供的内容下载方法及相关设备、系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The content downloading method provided by the embodiment of the present invention and related equipment and systems have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used to help understand the present invention. The method of the invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410778636.9A CN104506508B (en) | 2014-12-12 | 2014-12-12 | A file information synchronization method and related equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410778636.9A CN104506508B (en) | 2014-12-12 | 2014-12-12 | A file information synchronization method and related equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104506508A true CN104506508A (en) | 2015-04-08 |
| CN104506508B CN104506508B (en) | 2019-02-05 |
Family
ID=52948223
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410778636.9A Expired - Fee Related CN104506508B (en) | 2014-12-12 | 2014-12-12 | A file information synchronization method and related equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104506508B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110119351A1 (en) * | 2008-07-24 | 2011-05-19 | Panasonic Corporation | Content providing device and portable terminal device and content submission method and content management method |
| CN102209022A (en) * | 2010-03-31 | 2011-10-05 | 华为终端有限公司 | Device control method, network device and network system |
| CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | A media playback control method and device thereof |
| US20130347022A1 (en) * | 2012-06-26 | 2013-12-26 | Sonos, Inc. | Systems, Methods, Apparatus, and Articles of Manufacture to Provide Guest Access |
-
2014
- 2014-12-12 CN CN201410778636.9A patent/CN104506508B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110119351A1 (en) * | 2008-07-24 | 2011-05-19 | Panasonic Corporation | Content providing device and portable terminal device and content submission method and content management method |
| CN102209022A (en) * | 2010-03-31 | 2011-10-05 | 华为终端有限公司 | Device control method, network device and network system |
| US20130347022A1 (en) * | 2012-06-26 | 2013-12-26 | Sonos, Inc. | Systems, Methods, Apparatus, and Articles of Manufacture to Provide Guest Access |
| CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | A media playback control method and device thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104506508B (en) | 2019-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11728907B2 (en) | Playback device media item replacement | |
| CN105284076A (en) | Private queue for media playback system | |
| CN105308902A (en) | Playback queue transfer in a media playback system | |
| TWI543594B (en) | Digital media playing system | |
| CN105308901A (en) | Playlist update in a media playback system | |
| KR20150119936A (en) | Multi-screen interaction method, apparatus, and terminal device | |
| US11237842B2 (en) | Systems and methods for transmitting data from multiple sources to multiple destinations | |
| WO2015035742A1 (en) | Method, terminal and system for audio and video sharing of digital television | |
| CN103391277A (en) | Media playing method, device and system | |
| CN103986965A (en) | A multimedia data processing device, system and method | |
| DK2647168T3 (en) | REGISTERING IN A LOCAL NETWORK | |
| CN103648056A (en) | Point-to-point transmission method and apparatus for smart television | |
| CN106210872B (en) | A kind of live streaming sharing method and system based on set-top box | |
| US10708330B2 (en) | Multimedia resource management method, cloud server and electronic apparatus | |
| CN102656893B (en) | Time shifting of live media streams | |
| CN104079589B (en) | A kind of display methods of plug-in captions, system and digital multimedia renderer | |
| WO2017071642A1 (en) | Media playback method, device and computer storage medium | |
| CN105763906A (en) | Method and system for playing audio files | |
| CN104683854A (en) | A multimedia playback control method and device | |
| US9374613B2 (en) | Media content flicking systems and methods | |
| CN104270666B (en) | The player method of multimedia file, system and digital multimedia renderer | |
| CN104506508A (en) | File information synchronizing method and related equipment | |
| CN104244077B (en) | A kind of media playing method and media playing apparatus based on DLNA | |
| JP2013009273A (en) | Electronic equipment, method of controlling the electronic equipment, and program of controlling the electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190205 |