[go: up one dir, main page]

CN105049903A - Method, system and media playback device for cross-device synchronization of media files - Google Patents

Method, system and media playback device for cross-device synchronization of media files Download PDF

Info

Publication number
CN105049903A
CN105049903A CN201510382607.5A CN201510382607A CN105049903A CN 105049903 A CN105049903 A CN 105049903A CN 201510382607 A CN201510382607 A CN 201510382607A CN 105049903 A CN105049903 A CN 105049903A
Authority
CN
China
Prior art keywords
media
media file
playback
server
play
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.)
Pending
Application number
CN201510382607.5A
Other languages
Chinese (zh)
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.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201510382607.5A priority Critical patent/CN105049903A/en
Publication of CN105049903A publication Critical patent/CN105049903A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Landscapes

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

Abstract

本发明提供媒体文件跨设备同步的方法、系统及媒体播放设备,该方法包括:获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息,将所述第一媒体文件的标识及对应的播放进度信息上传至服务器;向服务器发送播放请求信息,接收所述服务器根据所述播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息,根据所述第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。该媒体播放设备包括:播放单元、获取单元、上传单元、发送单元及接受单元。该系统包括:服务器及至少两个媒体播放设备。本方案能够提高浏览媒体文件的灵活性。

The present invention provides a method, a system, and a media player device for synchronizing media files across devices. The method includes: acquiring the identifier of the first media file currently played by the media player device and the corresponding playback progress information, and converting the identifier of the first media file to And the corresponding play progress information is uploaded to the server; Send the play request information to the server, and receive the play reply information issued by the server according to the play request information, and the play reply information includes the identification of the first media file and the corresponding The playing progress information continues to play the first media file according to the identifier of the first media file and the corresponding playing progress information. The media playing device includes: a playing unit, an acquiring unit, an uploading unit, a sending unit and a receiving unit. The system includes: a server and at least two media playing devices. The solution can improve the flexibility of browsing media files.

Description

媒体文件跨设备同步的方法、系统及媒体播放设备Method, system and media playback device for cross-device synchronization of media files

技术领域 technical field

本发明涉及信息技术领域,特别涉及媒体文件跨设备同步的方法、系统及媒体播放设备。 The invention relates to the field of information technology, in particular to a method, a system and a media playing device for synchronizing media files across devices.

背景技术 Background technique

随着科技的发展与进步,科技给人们带来的乐趣也越来越多。手机、平板电脑、机顶盒等电子产品成为人们日常娱乐的主要媒介,这些电子产品的功能也越来越强大,兼具看视频、听音乐、浏览文档等多重功能,且每一种电子产品都具有自己独特的优势,例如手机和平板电脑携带方便,电视机画质和音效优异。 With the development and progress of science and technology, technology brings more and more fun to people. Electronic products such as mobile phones, tablet computers, and set-top boxes have become the main media for people's daily entertainment. The functions of these electronic products are becoming more and more powerful, with multiple functions such as watching videos, listening to music, and browsing documents, and each electronic product has Its own unique advantages, such as mobile phones and tablet PCs are easy to carry, and TVs have excellent picture quality and sound effects.

由于每种电子产品都有自身的优势,所以用户会在不同的场合使用不同的电子产品,当用户在一台电子产品上浏览某一媒体文件时,由于某种原因需要到另一台电子产品上继续浏览同一个媒体文件,目前,针对这种情况,就需要用户重新搜索该媒体文件,并手动调节浏览的进度。 Since each electronic product has its own advantages, users will use different electronic products on different occasions. When users browse a certain media file on one electronic product, they need to go to another electronic product for some reason. Continue to browse the same media file, at present, for this situation, the user needs to search the media file again, and manually adjust the progress of browsing.

针对这种情况,由用户重新搜索媒体文件并调节浏览进度,给用户带来很多不便,浏览媒体文件的灵活性较低。 In view of this situation, the user searches for the media file again and adjusts the browsing progress, which brings a lot of inconvenience to the user, and the flexibility of browsing the media file is low.

发明内容 Contents of the invention

本发明提供媒体文件跨设备同步的方法、系统及媒体播放设备,能够提高浏览媒体文件的灵活性。 The invention provides a method, a system and a media playing device for synchronizing media files across devices, which can improve the flexibility of browsing media files.

本发明实施例提供了一种媒体文件跨设备同步的方法,包括: The embodiment of the present invention provides a method for synchronizing media files across devices, including:

获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息; Obtain the identifier of the first media file currently played by the media player device and the corresponding playback progress information;

将所述第一媒体文件的标识及对应的播放进度信息上传至服务器。 Upload the identifier of the first media file and the corresponding playing progress information to the server.

优选地,进一步包括: Preferably, further comprising:

注册登录账号; Register login account;

通过该登录账号进行登录,将上传至服务器的所述第一媒体文件的标识及对应的播放进度信息存储在所述服务器上的所述登录账号对应的存储空间内。 Log in through the login account, and store the identifier of the first media file uploaded to the server and the corresponding playback progress information in the storage space corresponding to the login account on the server.

优选地,每隔第一设定时间,执行所述的获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息及将所述第一媒体文件的标识及对应的播放进度信息上传至服务器。 Preferably, every first set time, the described acquisition of the identifier of the first media file currently played by the media player device and the corresponding playback progress information and the identification of the first media file and the corresponding playback progress information are carried out. Upload to server.

本发明实施例提供了一种媒体文件跨设备同步的方法,包括: The embodiment of the present invention provides a method for synchronizing media files across devices, including:

向服务器发送播放请求信息; Send playback request information to the server;

接收所述服务器根据所述播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息; Receiving the play reply information issued by the server according to the play request information, the play reply information including the identifier of the first media file and the corresponding play progress information;

根据所述第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 Continue to play the first media file according to the identifier of the first media file and the corresponding playing progress information.

优选地,每隔第二设定时间执行所述的向所述服务器发送播放请求信息及接收所述服务器根据所述播放请求信息下发的播放回复信息,所述播放回复信息中包括媒体文件的标识及对应的播放进度信息; Preferably, the sending of the play request information to the server and the reception of the play reply information sent by the server according to the play request information are performed every second set time, and the play reply information includes the information of the media file. Logo and corresponding playback progress information;

在受到播放触发后,执行所述的根据所述包括第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 After receiving the playing trigger, continue to play the first media file according to the identification of the first media file and the corresponding playing progress information.

本发明实施例提供了一种媒体播放设备,包括: An embodiment of the present invention provides a media playback device, including:

播放单元,用于播放第一媒体文件; a playback unit, configured to play the first media file;

获取单元,用于获取所述播放单元播放的第一媒体文件的标识及对应的播放进度信息; An acquisition unit, configured to acquire the identifier of the first media file played by the playback unit and the corresponding playback progress information;

上传单元,用于将所述获取单元获取的第一媒体文件的标识及对应的播放进度信息上传至服务器。 The uploading unit is configured to upload the identification of the first media file and the corresponding playing progress information obtained by the obtaining unit to the server.

优选地,该媒体播放设备进一步包括:注册单元及存储单元; Preferably, the media playback device further includes: a registration unit and a storage unit;

所述注册单元,用于注册登录账号; The registration unit is used to register a login account;

所述存储单元,用于通过所述注册单元注册的登录账号进行登录后,将所述上传单元上传至服务器的所述第一媒体文件的标识及对应的播放进度信息存储在所述服务器上的所述登录账号对应的存储空间内。 The storage unit is configured to store the identification of the first media file uploaded to the server by the uploading unit and the corresponding playback progress information on the server after logging in through the login account registered by the registration unit In the storage space corresponding to the login account.

优选地,所述获取单元,用于每隔第一设定时间,获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息; Preferably, the acquisition unit is configured to acquire the identifier of the first media file currently played by the media player device and the corresponding playback progress information every first set time;

所述上传单元,用于每隔第一设定时间,将所述获取单元获取的第一媒体文件的标识及对应的播放进度信息上传至服务器。 The uploading unit is configured to upload the identification of the first media file acquired by the acquiring unit and the corresponding playing progress information to the server every first set time.

本发明实施例提供了一种媒体播放设备,包括: An embodiment of the present invention provides a media playback device, including:

发送单元,用于向所述服务器发送播放请求信息; a sending unit, configured to send play request information to the server;

接收单元,用于接收所述服务器根据所述发送单元发送的播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息; The receiving unit is configured to receive the play reply information issued by the server according to the play request information sent by the sending unit, the play reply information including the identifier of the first media file and corresponding play progress information;

播放单元,用于在受到播放触发后,根据所述接收单元接收到的第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 The playing unit is configured to continue playing the first media file according to the identification of the first media file received by the receiving unit and the corresponding playing progress information after receiving the playing trigger.

优选地,所述发送单元,用于每隔第二设定时间,向所述服务器发送播放请求信息; Preferably, the sending unit is configured to send play request information to the server every second set time;

所述接收单元,用于每隔第二设定时间,接收所述服务器根据所述发送单元发送的播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息; The receiving unit is configured to receive play reply information issued by the server according to the play request information sent by the sending unit every second set time, and the play reply information includes the identifier of the first media file and Corresponding playback progress information;

所述播放单元,用于在受到播放触发后,根据所述接收单元接收到的第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 The playing unit is configured to continue playing the first media file according to the identification of the first media file received by the receiving unit and the corresponding playing progress information after receiving the playing trigger.

本发明实施例还提供了一种媒体文件跨设备同步的系统,包括:服务器及至少两个媒体播放设备; The embodiment of the present invention also provides a system for synchronizing media files across devices, including: a server and at least two media playback devices;

所述至少两个媒体播放设备中的第一媒体播放设备为如权利要求6或7所述的媒体播放设备; The first media playback device in the at least two media playback devices is the media playback device according to claim 6 or 7;

所述至少两个媒体播放设备中的第二媒体播放设备为如权利要求8或9所述的媒体播放设备; The second media playback device in the at least two media playback devices is the media playback device according to claim 8 or 9;

所述服务器,用于接收所述第一媒体播放设备上传的第一媒体文件的标识及对应的播放进度信息,并在接收到所述第二媒体播放设备发送的播放请求信息后,向所述第二媒体播放设备下发播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息。 The server is configured to receive the identification of the first media file uploaded by the first media player device and the corresponding playback progress information, and after receiving the playback request information sent by the second media player device, send the The second media playback device sends playback reply information, where the playback reply information includes the identifier of the first media file and corresponding playback progress information.

本发明一个实施例提供了媒体文件跨设备同步的方法、系统及媒体播放设备,获取当前媒体播放设备上播放的媒体文件的标识及对应的播放进度,将获取到的媒体文件的标识及对应的播放进度信息上传至服务器,另一个媒体播放设备向所述服务器发送播放请求信息,服务器接收到播放请求信息后,向该媒体播放设备下媒体文件的标识及对应的播放进度信息,该媒体播放设备根据接收到的媒体文件的标识及对应的播放进度信息,继续播放该媒体文件,通过这种方法,可以实现同一媒体文件在不同媒体播放设备上的进度同步,当用户需要切换不同媒体播放设备浏览同一媒体文件时,不需要重新搜索该媒体文件并调节浏览进度,从而提高了浏览媒体文件的灵活性。 An embodiment of the present invention provides a method, a system, and a media player device for synchronizing media files across devices. The identifier and the corresponding playback progress of the media file being played on the current media player device are acquired, and the acquired identifier of the media file and the corresponding The playback progress information is uploaded to the server, and another media playback device sends playback request information to the server. After receiving the playback request information, the server sends the media file identification and the corresponding playback progress information to the media playback device, and the media playback device According to the identifier of the received media file and the corresponding playback progress information, continue to play the media file. Through this method, the progress synchronization of the same media file on different media playback devices can be realized. When the user needs to switch between different media playback devices to browse When using the same media file, there is no need to re-search the media file and adjust the browsing progress, thereby improving the flexibility of browsing the media file.

附图说明 Description of drawings

图1是本发明一个实施例提供的一种媒体文件跨设备同步的方法流程图; Fig. 1 is a flow chart of a method for synchronizing media files across devices according to an embodiment of the present invention;

图2是本发明另一个实施例提供的一种媒体文件跨设备同步的方法流程图; FIG. 2 is a flowchart of a method for synchronizing media files across devices according to another embodiment of the present invention;

图3是本发明又一个实施例提供的一种媒体文件跨设备同步的方法流程图; FIG. 3 is a flowchart of a method for synchronizing media files across devices according to another embodiment of the present invention;

图4是本发明一个实施例提供的一种媒体播放设备结构示意图; Fig. 4 is a schematic structural diagram of a media playback device provided by an embodiment of the present invention;

图5是本发明另一个实施例提供的一种媒体播放设备结构示意图; Fig. 5 is a schematic structural diagram of a media playback device provided by another embodiment of the present invention;

图6是本发明一个实施例提供的一种媒体文件跨设备同步的系统示意图。 Fig. 6 is a schematic diagram of a system for synchronizing media files across devices according to 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 drawings in the embodiments of the present invention. Apparently, the described embodiments are only 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 making creative efforts belong to the protection scope of the present invention.

如图1所示,本发明实施例提供了一种媒体文件跨设备同步的方法,适用于当前播放媒体文件的媒体播放设备,包括: As shown in Figure 1, the embodiment of the present invention provides a method for synchronizing media files across devices, which is suitable for media playback devices currently playing media files, including:

步骤101:获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息; Step 101: Obtain the identifier of the first media file currently played by the media player device and the corresponding playback progress information;

步骤102:将所述第一媒体文件的标识及对应的播放进度信息上传至服务器。 Step 102: Upload the identifier of the first media file and the corresponding playing progress information to the server.

如图2所示,本发明另一个实施例提供了一种媒体文件跨设备同步的方法,适用于待继续播放其他媒体播放设备已播放媒体文件的媒体播放设备,包括: As shown in Figure 2, another embodiment of the present invention provides a method for synchronizing media files across devices, which is suitable for media playback devices that have played media files that have been played by other media playback devices, including:

步骤201:向所述服务器发送播放请求信息; Step 201: sending play request information to the server;

步骤202:接收所述服务器根据所述播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息; Step 202: Receive the play reply information issued by the server according to the play request information, the play reply information includes the identifier of the first media file and the corresponding play progress information;

步骤203:根据所述第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 Step 203: Continue playing the first media file according to the identifier of the first media file and the corresponding playing progress information.

结合图1与图2实施例所示,提供了一个完整的媒体文件跨设备同步的方法,获取当前媒体播放设备上播放的媒体文件的标识及对应的播放进度,将获取到的媒体文件的标识及对应的播放进度信息上传至服务器,另一个媒体播放设备向所述服务器发送播放请求信息,服务器接收到播放请求信息后,向该媒体播放设备下媒体文件的标识及对应的播放进度信息,该媒体播放设备根据接收到的媒体文件的标识及对应的播放进度信息,继续播放该媒体文件,通过这种方法,可以实现同一媒体文件在不同媒体播放设备上的进度同步,当用户需要切换不同媒体播放设备浏览同一媒体文件时,不需要重新搜索该媒体文件并调节浏览进度,从而提高了浏览媒体文件的灵活性。 As shown in the embodiment of Fig. 1 and Fig. 2, a complete method for cross-device synchronization of media files is provided, the identification of the media files played on the current media playback device and the corresponding playback progress are obtained, and the identification of the obtained media files is obtained And the corresponding playback progress information is uploaded to the server, another media playback device sends playback request information to the server, and after receiving the playback request information, the server sends the media file identification and the corresponding playback progress information to the media playback device, the The media player device continues to play the media file according to the received media file identifier and the corresponding playback progress information. Through this method, the progress synchronization of the same media file on different media player devices can be realized. When the user needs to switch between different media When the playback device browses the same media file, it does not need to re-search the media file and adjust the browsing progress, thereby improving the flexibility of browsing the media file.

在本发明一个实施例中,用户可以通过媒体播放设备注册登录账号,相应的会在服务器中会针对该登录账号设置一个存储空间,通过该登录账号登录的媒体播放设备上传的媒体文件的标识及对应的播进度信息都存储在该登录账号对应的存储空间中,这样,将为每一个登录账号设置一个对应的存储空间,用于存储采用同一登录账号登录的各个媒体播放设备的播放记录及进度信息,为各个媒体播放设备同步的实现提供了基础保障。 In one embodiment of the present invention, the user can register a login account through the media player device, and a storage space will be set for the login account in the server accordingly, and the identifier and the ID of the media file uploaded by the media player device logged in through the login account. The corresponding broadcast progress information is stored in the storage space corresponding to the login account. In this way, a corresponding storage space will be set for each login account to store the playback records and progress of each media playback device logged in with the same login account. Information provides a basic guarantee for the realization of synchronization of various media playback devices.

在本发明一个实施例中,可以设定第一设定时间和第二设定时间,没隔一个第一设定时间,媒体播放设备就获取自身播放的媒体文件的标识及对应的播放进度信息,并将获取的媒体文件的标识及对应的播放进度信息上传至服务器,同时,每隔一个第二设定时间,媒体播放设备向服务器发送播放请求信息,服务器收到播放请求信息后,向媒体播放设备下发媒体文件的标识及对应的播放进度信息,当媒体播放设备收到触发后,根据媒体文件的标识及对应的播放进度信息,继续播放相应的媒体文件,通过这种方法,各个媒体播放设备实时上传自身播放的媒体文件的标识及对应的播放进度信息,同时实时获取其他媒体播放设备播放的媒体文件的标识及对应的播放进度信息,从而实现了各个媒体播放设备之间媒体文件播放的同步,提高了浏览媒体文件的灵活性。 In one embodiment of the present invention, the first set time and the second set time can be set, and the media player device will obtain the identification of the media file played by itself and the corresponding playback progress information every time the first set time is passed. , and upload the acquired media file identification and corresponding playback progress information to the server, and at the same time, every second set time, the media playback device sends playback request information to the server, and the server sends the media playback request information to the media after receiving the playback request information. The playback device sends the identification of the media file and the corresponding playback progress information. When the media playback device receives the trigger, it will continue to play the corresponding media file according to the identification of the media file and the corresponding playback progress information. Through this method, each media The playback device uploads the identification of the media file played by itself and the corresponding playback progress information in real time, and at the same time obtains the identification of the media file played by other media playback devices and the corresponding playback progress information in real time, thus realizing the playback of media files between various media playback devices Synchronization, which improves the flexibility of browsing media files.

为使本发明的目的、技术方案和优点更加清楚,下面结合附图及具体实施例对本发明作进一步地详细描述。 In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

如图3所示,本发明一个实施例提供了一种媒体文件跨设备同步的方法,适用于从一个媒体播放设备切换至另一个媒体播放设备播放同一个媒体文件,包括: As shown in Figure 3, an embodiment of the present invention provides a method for synchronizing media files across devices, which is suitable for switching from one media player device to another media player device to play the same media file, including:

步骤301:设定第一设定时间和第二设定时间。 Step 301: Set a first set time and a second set time.

在本发明一个实施例中,设置媒体播放设备获取及上传自身播放媒体文件的标识及对应播放进度信息的间隔时间为第一设定时间,并设置媒体播放设备发送播放请求信息及接受服务器下发媒体文件的标识及对应播放进度信息的间隔时间为第二设定时间。例如,设定第一设定时间和第二设定时间均为1分钟,那么,每经过一分钟,媒体播放设备获取并上传一次自身播放的媒体文件的标识及对应播放进度信息,同时,每经过一分钟,媒体设备向服务器发送一次播放请求信息,并接收服务器下发的媒体文件的标识及对应播放进度信息。 In one embodiment of the present invention, the interval time between the media player device obtaining and uploading the identity of the media file to be played and the corresponding playback progress information is set as the first set time, and the media player device is set to send the playback request information and accept the server issued The identifier of the media file and the interval time corresponding to the playing progress information are the second set time. For example, if both the first set time and the second set time are set to be 1 minute, then, every time one minute passes, the media playback device obtains and uploads the identification of the media file it plays and the corresponding playback progress information, and at the same time, every After one minute, the media device sends a play request message to the server, and receives the identifier of the media file and the corresponding play progress information sent by the server.

步骤302:注册登录账号,各个媒体播放设备通过该登录账号登录。 Step 302: registering a login account, through which each media playback device logs in.

在本发明一个实施例中,通过任意一个媒体播放设备注册一个登录账号,各个媒体播放设备都可以通过该登录账号进行登录,登录账号注册成功后,在服务器上为该登录账号分配一个对应的存储空间。例如,注册一个登录账号1,共有3个媒体播放设备通过登录账号1进行登录,分别为媒体播放设备1至媒体播放设备3。 In one embodiment of the present invention, a login account is registered by any media player device, and each media player device can log in through the login account. After the login account is successfully registered, a corresponding storage account is allocated for the login account space. For example, a login account 1 is registered, and a total of 3 media playback devices are logged in through the login account 1, which are media playback device 1 to media playback device 3 respectively.

步骤303:每隔第一设定时间,各个媒体播放设备获取自身播放媒体文件的标识及对应的播放进度信息。 Step 303: every first set time, each media player device acquires the identifier of the media file it is playing and the corresponding playback progress information.

在本发明一个实施例中,没经过一个第一设定时间,各个媒体播放设备就获取一次自身播放的媒体文件的标识及对应的播放进度信息。例如,每经过1分钟,媒体播放设备1至媒体播放设备3各自获取自身播放列表内各个媒体文件的标识及对应的播放进度信息。 In an embodiment of the present invention, each media player device obtains the identifier of the media file played by itself and the corresponding playback progress information once before a first set time has elapsed. For example, every time one minute passes, the media playing device 1 to the media playing device 3 respectively obtain the identifiers of the media files in their own playlists and the corresponding playing progress information.

步骤304:各个媒体播放设备将获取到的媒体文件的标识及对应的播放进度信息上传至服务器上所登录账号对应的存储空间内。 Step 304: Each media player device uploads the acquired identifier of the media file and the corresponding playback progress information to the storage space corresponding to the registered account on the server.

在本发明一个实施例中,各个媒体播放设备获取到自身播放列表内各个媒体文件的标识及对应的播放进度信息后,将各个媒体文件的标识及对应的播放进度信息上传至服务器上,存储在媒体播放设备所登录账号对应的存储空间内,其中,针对于一个媒体文件,如果存储空间中存储的针对于该媒体文件的播放进度快于或等于本次获取的播放进度,则不对本次获取的播放进度信息进行保存,如果存储空间中针对于该媒体文件的播放进度慢于本次上传的播放进度,则用本次上传的播放进度信息覆盖原存储空间中的播放进度信息。例如,媒体播放设备1至媒体播放设备3获取自身播放列表中各个媒体文件的标识及对应的播放进度信息后,将获取到的媒体文件标识及对应的播放进度信息上传到服务器上,并存储在登录账号1对应的存储空间中,其中,如果在这一分钟内,用户只通过媒体播放设备1浏览了媒体文件1,没有通过媒体播放设备2和媒体播放设备3浏览媒体文件,那么媒体播放设备1至媒体播放设备3上传媒体文件标识及对应的播放进度信息中,媒体播放设备2和媒体播放设备3上传的媒体文件标识及对应的播放进度信息将被删除,不进行保存,而媒体播放设备1上传的媒体文件标识及对应的播放进度信息中,媒体文件1的标识及对应的播放进度信息将保存在存储空间中,其他媒体文件标识及对应的播放进度信息也将被删除,不进行保存。 In one embodiment of the present invention, after each media player device obtains the identification of each media file in its own playlist and the corresponding playback progress information, it uploads the identification of each media file and the corresponding playback progress information to the server, and stores them in the In the storage space corresponding to the account logged in by the media player device, for a media file, if the playback progress of the media file stored in the storage space is faster than or equal to the playback progress of this acquisition, the acquisition will not be performed this time. If the playback progress information for the media file in the storage space is slower than the playback progress uploaded this time, the playback progress information in the original storage space will be overwritten with the playback progress information uploaded this time. For example, after the media player 1 to the media player 3 obtain the identification of each media file in the playlist and the corresponding playback progress information, the obtained media file identification and the corresponding playback progress information are uploaded to the server and stored in In the storage space corresponding to login account 1, if within this minute, the user only browses media file 1 through media player device 1 and does not browse media files through media player device 2 and media player device 3, then the media player device 1 to the media player device 3 upload media file identification and the corresponding playback progress information, the media player device 2 and the media player device 3 uploaded media file identification and the corresponding playback progress information will be deleted, not preserved, and the media player device 1 Among the uploaded media file identifiers and corresponding playback progress information, the identifier of media file 1 and the corresponding playback progress information will be saved in the storage space, and other media file identifiers and corresponding playback progress information will also be deleted and not saved .

步骤305:每隔第二设定时间,各个媒体播放设备向服务器发送播放请求信息。 Step 305: every second set time, each media playback device sends playback request information to the server.

在本发明一个实施例中,没经过一个第二设定时间,各个媒体都会想服务器发送一次播放请求信息,请求服务器下发当前各个媒体播放设备上的媒体文件播放状态。例如,媒体播放设备1至媒体播放设备3,每隔一分钟,向服务器发送一次播放请求信息。 In one embodiment of the present invention, before a second set time has elapsed, each media will send a play request message to the server, requesting the server to deliver the current playing status of the media file on each media play device. For example, the media playback device 1 to the media playback device 3 send playback request information to the server every one minute.

步骤306:服务器收到播放请求信息后,将存储在登录账号对应的存储空间中的各个媒体文件的标识及对应的播放进度信息下发至媒体播放设备。 Step 306: After receiving the play request information, the server sends the identifiers of each media file stored in the storage space corresponding to the login account and the corresponding play progress information to the media play device.

在本发明一个实施例中,当服务器收到媒体播放设备发送来的播放请求信息后,服务器根据发送请求的媒体播放设备登录的登录账号,从该登录账号对应的存储空间中的各个媒体文件的标识及对应的播放进度信息下发给发送播放请求的媒体播放设备。例如,媒体播放设备1至媒体播放设备3向服务器发送播放请求信息后,服务器将登录账号1对应的存储空间中的各个媒体文件的标识及对应的播放进度信息下发给媒体播放设备1至媒体播放设备3。 In one embodiment of the present invention, when the server receives the play request information sent by the media player device, the server, according to the login account registered by the media player device that sent the request, selects the media files in the storage space corresponding to the login account. The identifier and the corresponding playback progress information are sent to the media playback device that sends the playback request. For example, after the media player 1 to the media player 3 send the play request information to the server, the server sends the identification of each media file in the storage space corresponding to the login account 1 and the corresponding playback progress information to the media player 1 to the media player. playback device3.

步骤307:各个媒体播放设备接收服务器下发的各个媒体文件的标识及对应的播放进度信息。 Step 307: Each media player device receives the identification of each media file and the corresponding playback progress information delivered by the server.

在本发明一个实施例中,各个媒体播放设备接收到服务器下发的各个媒体文件的标识及对应的播放进度信息,更新或添加本地存储的媒体文件及对应的播放进度信息。例如,在媒体播放设备1上开始了播放媒体文件2,则服务器下发的媒体文件及对应的播放进度信息中就包括媒体文件2及对应的播放进度信息,媒体播放设备2和媒体播放设备3接收到服务器下发的各个媒体文件的标识及对应的播放进度信息后,就会更新自身存储的媒体文件的标识及对应的播放进度信息,并将媒体文件2的标识及其对应的播放进度信息进行添加和保存。 In one embodiment of the present invention, each media player device receives the identification of each media file and the corresponding playback progress information issued by the server, and updates or adds the locally stored media file and the corresponding playback progress information. For example, if the media file 2 is played on the media player 1, the media file 2 and the corresponding playback progress information issued by the server include the media file 2 and the corresponding playback progress information, and the media player 2 and the media player 3 After receiving the identification of each media file issued by the server and the corresponding playback progress information, it will update the identification of the media file stored in itself and the corresponding playback progress information, and update the identification of the media file 2 and the corresponding playback progress information to add and save.

步骤308:媒体播放设备受到触发时,根据接收到的媒体文件的标识及对应的播放进度信息,继续播放媒体文件。 Step 308: When the media playing device is triggered, continue playing the media file according to the received media file identifier and corresponding playing progress information.

在本发明一个实施例中,当媒体播放设备受到触发,根据最近一次接收到的媒体文件的标识及对应的播放进度信息,继续播放相应的媒体文件。例如,用户之前在媒体播放设备1上浏览媒体文件1,现在需要切换到媒体播放设备2上继续播放媒体文件1,在此过程中,用户打开媒体播放设备2中相应的应用程序,由于媒体播放设备2已经接受到了服务器下发的媒体文件的标识及对应的播放进度信息,所以与只需点击已经更新了的媒体文件1,则媒体播放设备2从媒体播放设备1中断播放的位置继续播放媒体文件1。 In one embodiment of the present invention, when the media playing device is triggered, it continues to play the corresponding media file according to the identifier of the latest received media file and the corresponding playing progress information. For example, the user browsed media file 1 on media player 1 before, and now needs to switch to media player 2 to continue playing media file 1. During this process, the user opens the corresponding application program in media player 2. Device 2 has received the identification of the media file and the corresponding playback progress information sent by the server, so just click on the updated media file 1, and the media player 2 will continue to play the media from the position where media player 1 interrupted the playback. File 1.

如图4所示,本发明一个实施例提供了一种媒体播放设备,包括: As shown in Figure 4, an embodiment of the present invention provides a media playback device, including:

播放单元401,用于播放第一媒体文件; A playback unit 401, configured to play the first media file;

获取单元402,用于获取所述播放单元401播放的第一媒体文件的标识及对应的播放进度信息; An acquisition unit 402, configured to acquire the identifier of the first media file played by the playback unit 401 and the corresponding playback progress information;

上传单元403,用于将所述获取单元402获取的第一媒体文件的标识及对应的播放进度信息上传至服务器。 The uploading unit 403 is configured to upload the identification of the first media file acquired by the acquiring unit 402 and the corresponding playing progress information to the server.

在本发明一个实施例中,进一步包括: In one embodiment of the invention, further comprising:

注册单元,用于注册登录账号; A registration unit, used for registering a login account;

存储单元,用于通过所述注册单元注册的登录账号进行登录,将所述上传单元403上传至服务器的所述第一媒体文件的标识及对应的播放进度信息存储在所述服务器上的所述登录账号对应的存储空间内。 A storage unit, configured to log in through the login account registered by the registration unit, and store the identification of the first media file uploaded to the server by the uploading unit 403 and the corresponding playback progress information in the Log in to the storage space corresponding to the account.

在本发明一个实施例中, In one embodiment of the invention,

所述获取单元402,用于每隔第一设定时间,获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息; The acquisition unit 402 is configured to acquire the identifier of the first media file currently played by the media player device and the corresponding playback progress information every first set time;

所述上传单元403,用于每隔第一设定时间,将所述获取单元402获取的第一媒体文件的标识及对应的播放进度信息上传至服务器。 The uploading unit 403 is configured to upload the identification of the first media file acquired by the acquiring unit 402 and the corresponding playing progress information to the server every first set time.

如图5所示,本发明一个实施例提供了一种媒体播放设备,包括: As shown in Figure 5, an embodiment of the present invention provides a media playback device, including:

发送单元501,用于向所述服务器发送播放请求信息; A sending unit 501, configured to send play request information to the server;

接收单元502,用于接收所述服务器根据所述发送单元501发送的播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息; The receiving unit 502 is configured to receive the play reply information issued by the server according to the play request information sent by the sending unit 501, the play reply information including the identifier of the first media file and corresponding play progress information;

播放单元401,用于根据所述接收单元502接收到的第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 The playing unit 401 is configured to continue playing the first media file according to the identifier of the first media file received by the receiving unit 502 and the corresponding playing progress information.

在本发明一个实施例中, In one embodiment of the invention,

所述发送单元501,用于每隔第二设定时间,向所述服务器发送播放请求信息; The sending unit 501 is configured to send play request information to the server every second set time;

所述接收单元502,用于每隔第二设定时间,接收所述服务器根据所述发送单元501发送的播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息; The receiving unit 502 is configured to receive play reply information sent by the server according to the play request information sent by the sending unit 501 every second set time, the play reply information including the first media file Logo and corresponding playback progress information;

进一步,所述播放单元401,用于在受到播放触发后,执行所述的根据所述接收单元502接收到的第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。 Further, the playing unit 401 is configured to continue playing the first media file according to the identification of the first media file received by the receiving unit 502 and the corresponding playing progress information after receiving the playing trigger.

需要说明的是,在实际业务实现过程中,本发明实施例提供的媒体播放设备包括图4及图5所示的各个单元,本发明实施例为了将各部分的工作过程描述的更加详细,所以将其分开进行说明。 It should be noted that, in the actual service implementation process, the media playback device provided by the embodiment of the present invention includes each unit shown in FIG. 4 and FIG. 5. In order to describe the working process of each part in more detail, the Let it be explained separately.

如图6所示,本发明一个实施例提供了一种媒体文件跨设备同步的系统,包括:服务器601及至少两个媒体播放设备; As shown in Figure 6, an embodiment of the present invention provides a system for synchronizing media files across devices, including: a server 601 and at least two media playback devices;

所述至少两个媒体播放设备中的第一媒体播放设备602为如权利要求6或7所述的媒体播放设备; The first media playback device 602 in the at least two media playback devices is the media playback device according to claim 6 or 7;

所述至少两个媒体播放设备中的第二媒体播放设备603为如权利要求8或9所述的媒体播放设备; The second media playback device 603 in the at least two media playback devices is the media playback device according to claim 8 or 9;

所述服务器601,用于接收所述第一媒体播放设备602上传的第一媒体文件的标识及对应的播放进度信息,并在接收到所述第二媒体播放设备603发送的播放请求信息后,向所述第二媒体播放设备603下发播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息。 The server 601 is configured to receive the identifier of the first media file uploaded by the first media player device 602 and the corresponding playback progress information, and after receiving the playback request information sent by the second media player device 603, Sending playback reply information to the second media playback device 603, where the playback reply information includes the identifier of the first media file and corresponding playback progress information.

上述设备内的各单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。 The information exchange and execution process among the units in the above-mentioned equipment are based on the same concept as the method embodiment of the present invention, and the specific content can refer to the description in the method embodiment of the present invention, and will not be repeated here.

根据上述方案,本发明实施例所提供的一种媒体文件跨设备同步的方法、系统及媒体播放设备,至少具有如下有益效果: According to the above solution, a method, system and media playback device for inter-device synchronization of media files provided by the embodiments of the present invention have at least the following beneficial effects:

1、本发明实施例中,获取当前媒体播放设备上播放的媒体文件的标识及对应的播放进度,将获取到的媒体文件的标识及对应的播放进度信息上传至服务器,另一个媒体播放设备向所述服务器发送播放请求信息,服务器接收到播放请求信息后,向该媒体播放设备下媒体文件的标识及对应的播放进度信息,该媒体播放设备根据接收到的媒体文件的标识及对应的播放进度信息,继续播放该媒体文件,通过这种方法,可以实现同一媒体文件在不同媒体播放设备上的进度同步,当用户需要切换不同媒体播放设备浏览同一媒体文件时,不需要重新搜索该媒体文件并调节浏览进度,从而提高了浏览媒体文件的灵活性。 1. In the embodiment of the present invention, obtain the identification and the corresponding playback progress of the media file played on the current media player device, upload the acquired media file identification and the corresponding playback progress information to the server, and another media playback device sends Described server sends play request information, and after server receives play request information, the sign of media file and corresponding play progress information to this media player device, this media player device is according to the sign of the media file that receives and corresponding play progress information Information, and continue to play the media file. In this way, the progress synchronization of the same media file on different media playback devices can be realized. When the user needs to switch between different media playback devices to browse the same media file, there is no need to search for the media file again and Adjust browsing progress, thus increasing the flexibility of browsing media files.

2、本发明实施例中,通过设定媒体播放设备针对上传媒体文件标识及对应播放进度信息的时间间隔,不断更新服务器上的各个媒体文件标识及对应播放进度,通过设定媒体播放设备发送播放请求信息的时间间隔,不断从服务器下载其他媒体播放设备关于媒体文件的播放状态,从而实现各个媒体播放设备中的媒体文件播放状态都是同步的,用户在切换设备进行浏览媒体文件时继续上次浏览的进度进行浏览,从而方便用户对媒体文件的浏览。 2. In the embodiment of the present invention, by setting the time interval for uploading the media file identification and the corresponding playback progress information of the media playback device, the identification of each media file on the server and the corresponding playback progress are continuously updated, and the media playback device is set to send and play The time interval for requesting information is to continuously download the playback status of other media playback devices from the server about the media files, so that the playback status of media files in each media playback device is synchronized, and the user continues to browse media files when switching devices. Browsing is carried out according to the progress of the browsing, so that the user can browse the media files conveniently.

3、本发明实施例中,通过任意一个媒体播放设备注册一个登录账号,其他各个媒体播放设备都可以通过该登录账号进行登录,在服务器内对应每一个登录账号分配一个存储空间,在该存储空间中汇集了各个媒体播放设备的最新播放信息,各个媒体播放设备通过与服务器交互,从而获取最新的播放媒体文件及各个媒体文件的播放进度信息,从而实现了媒体文件跨设备同步,方便用户的浏览。 3. In the embodiment of the present invention, a login account is registered by any media playback device, and other media playback devices can log in through the login account, and a storage space is allocated corresponding to each login account in the server, and in the storage space It collects the latest playback information of each media player device, and each media player device interacts with the server to obtain the latest playback media files and the playback progress information of each media file, thereby realizing cross-device synchronization of media files and facilitating user browsing .

4本发明实施例中,媒体播放设备上传至服务器的媒体文件标识及对应的播放进度信息,针对于一个媒体文件,如果服务器上存储的该媒体文件的播放进度快于或等于该媒体播放设备上传的播放进度,则将新上传的播放进度信息删除,如果服务器上存储的该媒体文件的播放进度慢于该媒体播放设备上传的播放进度,这用该媒体播放设备上传的播放进度信息覆盖服务器上存储的原播放进度信息,从而保证了服务器上存储的播放进度信息是最新的。 4 In the embodiment of the present invention, the media file identifier and corresponding playback progress information uploaded by the media player device to the server, for a media file, if the playback progress of the media file stored on the server is faster than or equal to that uploaded by the media player device If the playback progress of the media file uploaded by the media player is slower than the playback progress uploaded by the media player device, the newly uploaded playback progress information will be deleted on the server. The stored original playback progress information, thus ensuring that the playback progress information stored on the server is up to date.

需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。 It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or sequence. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional same elements in the process, method, article or apparatus comprising said element.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。 Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned programs can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (10)

1.一种媒体文件跨设备同步的方法,其特征在于,包括:1. A method for media file cross-device synchronization, characterized in that, comprising: 获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息;Obtain the identifier of the first media file currently played by the media player device and the corresponding playback progress information; 将所述第一媒体文件的标识及对应的播放进度信息上传至服务器。Upload the identifier of the first media file and the corresponding playing progress information to the server. 2.根据权利要求1所述的方法,其特征在于,进一步包括:2. The method according to claim 1, further comprising: 注册登录账号;Register login account; 通过该登录账号进行登录,将上传至服务器的所述第一媒体文件的标识及对应的播放进度信息存储在所述服务器上的所述登录账号对应的存储空间内。Log in through the login account, and store the identifier of the first media file uploaded to the server and the corresponding playback progress information in the storage space corresponding to the login account on the server. 3.根据权利要求1所述的方法,其特征在于,每隔第一设定时间,执行所述的获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息及将所述第一媒体文件的标识及对应的播放进度信息上传至服务器。3. The method according to claim 1, characterized in that, every first set time, performing the identification of the first media file currently played by the acquisition media player device and the corresponding playback progress information and converting the The identifier of the first media file and the corresponding playing progress information are uploaded to the server. 4.一种媒体文件跨设备同步的方法,其特征在于,包括:4. A method for media file cross-device synchronization, characterized in that, comprising: 向服务器发送播放请求信息;Send playback request information to the server; 接收所述服务器根据所述播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息;Receiving the play reply information issued by the server according to the play request information, the play reply information including the identifier of the first media file and the corresponding play progress information; 根据所述第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。Continue to play the first media file according to the identifier of the first media file and the corresponding playing progress information. 5.根据权利要求4所述的方法,其特征在于,每隔第二设定时间执行所述的向所述服务器发送播放请求信息及接收所述服务器根据所述播放请求信息下发的播放回复信息,所述播放回复信息中包括媒体文件的标识及对应的播放进度信息;5. The method according to claim 4, characterized in that the sending of the play request information to the server and receiving the play reply sent by the server according to the play request information are performed every second set time information, the playback reply information includes the identification of the media file and the corresponding playback progress information; 进一步,在受到播放触发后,执行所述的根据所述包括第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。Further, after being triggered by playing, continue to play the first media file according to the identifier of the first media file and the corresponding playing progress information. 6.一种媒体播放设备,其特征在于,包括:6. A media playback device, characterized in that, comprising: 播放单元,用于播放第一媒体文件;a playback unit, configured to play the first media file; 获取单元,用于获取所述播放单元播放的第一媒体文件的标识及对应的播放进度信息;An acquisition unit, configured to acquire the identifier of the first media file played by the playback unit and the corresponding playback progress information; 上传单元,用于将所述获取单元获取的第一媒体文件的标识及对应的播放进度信息上传至服务器。The uploading unit is configured to upload the identification of the first media file and the corresponding playing progress information obtained by the obtaining unit to the server. 7.根据权利要求6所述的媒体播放设备,其特征在于,进一步包括:注册单元及存储单元;7. The media player device according to claim 6, further comprising: a registration unit and a storage unit; 所述注册单元,用于注册登录账号;The registration unit is used to register a login account; 所述存储单元,用于通过所述注册单元注册的登录账号进行登录后,将所述上传单元上传至服务器的所述第一媒体文件的标识及对应的播放进度信息存储在所述服务器上的所述登录账号对应的存储空间内;The storage unit is configured to store the identification of the first media file uploaded to the server by the uploading unit and the corresponding playback progress information on the server after logging in through the login account registered by the registration unit In the storage space corresponding to the login account; 和/或,and / or, 所述获取单元,用于每隔第一设定时间,获取媒体播放设备当前播放的第一媒体文件的标识及对应的播放进度信息;The acquiring unit is configured to acquire the identifier of the first media file currently played by the media player device and corresponding playback progress information every first set time; 所述上传单元,用于每隔第一设定时间,将所述获取单元获取的第一媒体文件的标识及对应的播放进度信息上传至服务器。The uploading unit is configured to upload the identification of the first media file acquired by the acquiring unit and the corresponding playing progress information to the server every first set time. 8.一种媒体播放设备,其特征在于,包括:8. A media playback device, characterized in that, comprising: 发送单元,用于向所述服务器发送播放请求信息;a sending unit, configured to send play request information to the server; 接收单元,用于接收所述服务器根据所述发送单元发送的播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息;The receiving unit is configured to receive the play reply information issued by the server according to the play request information sent by the sending unit, the play reply information including the identifier of the first media file and corresponding play progress information; 播放单元,用于在受到播放触发后,根据所述接收单元接收到的第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。The playing unit is configured to continue playing the first media file according to the identification of the first media file received by the receiving unit and the corresponding playing progress information after receiving the playing trigger. 9.根据权利要求8所述的媒体播放设备,其特征在于,9. The media player device according to claim 8, characterized in that, 所述发送单元,用于每隔第二设定时间,向所述服务器发送播放请求信息;The sending unit is configured to send play request information to the server every second set time; 所述接收单元,用于每隔第二设定时间,接收所述服务器根据所述发送单元发送的播放请求信息下发的播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息;The receiving unit is configured to receive play reply information sent by the server according to the play request information sent by the sending unit every second set time, and the play reply information includes the identifier of the first media file and Corresponding playback progress information; 进一步,所述播放单元,用于在受到播放触发后,根据所述接收单元接收到的第一媒体文件的标识及对应的播放进度信息,继续播放第一媒体文件。Further, the playing unit is configured to continue playing the first media file according to the identifier of the first media file received by the receiving unit and the corresponding playing progress information after receiving the playing trigger. 10.一种媒体文件跨设备同步的系统,其特征在于,包括:服务器及至少两个媒体播放设备;10. A system for synchronizing media files across devices, comprising: a server and at least two media playback devices; 所述至少两个媒体播放设备中的第一媒体播放设备为如权利要求6或7所述的媒体播放设备;The first media playback device in the at least two media playback devices is the media playback device according to claim 6 or 7; 所述至少两个媒体播放设备中的第二媒体播放设备为如权利要求8或9所述的媒体播放设备;The second media playback device in the at least two media playback devices is the media playback device according to claim 8 or 9; 所述服务器,用于接收所述第一媒体播放设备上传的第一媒体文件的标识及对应的播放进度信息,并在接收到所述第二媒体播放设备发送的播放请求信息后,向所述第二媒体播放设备下发播放回复信息,所述播放回复信息中包括第一媒体文件的标识及对应的播放进度信息。The server is configured to receive the identification of the first media file uploaded by the first media player device and the corresponding playback progress information, and after receiving the playback request information sent by the second media player device, send the The second media playback device sends playback reply information, where the playback reply information includes the identifier of the first media file and corresponding playback progress information.
CN201510382607.5A 2015-07-03 2015-07-03 Method, system and media playback device for cross-device synchronization of media files Pending CN105049903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510382607.5A CN105049903A (en) 2015-07-03 2015-07-03 Method, system and media playback device for cross-device synchronization of media files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510382607.5A CN105049903A (en) 2015-07-03 2015-07-03 Method, system and media playback device for cross-device synchronization of media files

Publications (1)

Publication Number Publication Date
CN105049903A true CN105049903A (en) 2015-11-11

Family

ID=54456028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510382607.5A Pending CN105049903A (en) 2015-07-03 2015-07-03 Method, system and media playback device for cross-device synchronization of media files

Country Status (1)

Country Link
CN (1) CN105049903A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430487A (en) * 2015-11-30 2016-03-23 小米科技有限责任公司 A method, device and system for playing multimedia data
CN105679341A (en) * 2015-12-28 2016-06-15 广东欧珀移动通信有限公司 A file playing method, device and mobile terminal
CN105828192A (en) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 Multi-terminal video continuous playing method and device
CN105872628A (en) * 2015-12-29 2016-08-17 乐视网信息技术(北京)股份有限公司 Multi-screen switching method, server and terminal
CN106028125A (en) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 Multimedia sharing method and device
CN106412707A (en) * 2016-09-28 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Media content processing method and related device thereof
WO2018027616A1 (en) * 2016-08-10 2018-02-15 董访问 Information pushing method during reading of watching record and video playing system
WO2018027615A1 (en) * 2016-08-10 2018-02-15 董访问 Usage data acquisition method for watching record reading technology and video playing system
WO2018027623A1 (en) * 2016-08-10 2018-02-15 董访问 Information pushing method during reading of watching record and video playing system
WO2018027624A1 (en) * 2016-08-10 2018-02-15 董访问 Method for reading watching record from mobile phone and video playing system
WO2018027614A1 (en) * 2016-08-10 2018-02-15 董访问 Method for reading watching record at computer and video playing system
WO2018027625A1 (en) * 2016-08-10 2018-02-15 董访问 Use state acquisition method for watching record sharing technology and video playing system
CN108710679A (en) * 2018-05-18 2018-10-26 广州阿里巴巴文学信息技术有限公司 E-book reading processing method, device and equipment
WO2019085925A1 (en) * 2017-10-31 2019-05-09 腾讯科技(深圳)有限公司 Media content synchronization method, device and storage medium
CN110381362A (en) * 2018-04-12 2019-10-25 上海博泰悦臻网络技术服务有限公司 A kind of method and system of terminal room information sharing
CN111866567A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Multimedia playing method, device, equipment and storage medium
CN112040276A (en) * 2020-09-07 2020-12-04 聚好看科技股份有限公司 Video progress synchronization method, display equipment and refrigeration equipment
CN113141531A (en) * 2020-01-20 2021-07-20 青岛海尔多媒体有限公司 Method and device for cross-device playing control and playing device
CN113949739A (en) * 2021-09-29 2022-01-18 青岛海尔科技有限公司 Cross-device playing method and device, electronic device and storage medium
CN114866828A (en) * 2022-03-25 2022-08-05 青岛海尔科技有限公司 Audio and video playing method and device, server, storage medium and product
CN115767169A (en) * 2022-10-31 2023-03-07 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964787A (en) * 2010-09-17 2011-02-02 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs
CN103295609A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method, device and system for playing video
US20140351344A1 (en) * 2012-05-03 2014-11-27 Tencent Technology (Shenzhen) Company Limited Method, system, and apparatus for sharing application information
CN104426853A (en) * 2013-08-23 2015-03-18 腾讯科技(深圳)有限公司 Multimedia synchronous playing method, server, terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964787A (en) * 2010-09-17 2011-02-02 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs
CN103295609A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method, device and system for playing video
US20140351344A1 (en) * 2012-05-03 2014-11-27 Tencent Technology (Shenzhen) Company Limited Method, system, and apparatus for sharing application information
CN104426853A (en) * 2013-08-23 2015-03-18 腾讯科技(深圳)有限公司 Multimedia synchronous playing method, server, terminal and system

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430487A (en) * 2015-11-30 2016-03-23 小米科技有限责任公司 A method, device and system for playing multimedia data
CN105679341A (en) * 2015-12-28 2016-06-15 广东欧珀移动通信有限公司 A file playing method, device and mobile terminal
CN105679341B (en) * 2015-12-28 2019-03-12 Oppo广东移动通信有限公司 A file playing method, device and mobile terminal
CN105872628A (en) * 2015-12-29 2016-08-17 乐视网信息技术(北京)股份有限公司 Multi-screen switching method, server and terminal
CN105828192A (en) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 Multi-terminal video continuous playing method and device
WO2017161766A1 (en) * 2016-03-22 2017-09-28 乐视控股(北京)有限公司 Method and device for resuming video playback across multiple terminals
CN106028125A (en) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 Multimedia sharing method and device
WO2018027625A1 (en) * 2016-08-10 2018-02-15 董访问 Use state acquisition method for watching record sharing technology and video playing system
WO2018027623A1 (en) * 2016-08-10 2018-02-15 董访问 Information pushing method during reading of watching record and video playing system
WO2018027624A1 (en) * 2016-08-10 2018-02-15 董访问 Method for reading watching record from mobile phone and video playing system
WO2018027614A1 (en) * 2016-08-10 2018-02-15 董访问 Method for reading watching record at computer and video playing system
WO2018027616A1 (en) * 2016-08-10 2018-02-15 董访问 Information pushing method during reading of watching record and video playing system
WO2018027615A1 (en) * 2016-08-10 2018-02-15 董访问 Usage data acquisition method for watching record reading technology and video playing system
CN106412707A (en) * 2016-09-28 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Media content processing method and related device thereof
WO2019085925A1 (en) * 2017-10-31 2019-05-09 腾讯科技(深圳)有限公司 Media content synchronization method, device and storage medium
CN110381362A (en) * 2018-04-12 2019-10-25 上海博泰悦臻网络技术服务有限公司 A kind of method and system of terminal room information sharing
CN108710679A (en) * 2018-05-18 2018-10-26 广州阿里巴巴文学信息技术有限公司 E-book reading processing method, device and equipment
CN113141531A (en) * 2020-01-20 2021-07-20 青岛海尔多媒体有限公司 Method and device for cross-device playing control and playing device
CN113141531B (en) * 2020-01-20 2024-04-02 青岛海尔多媒体有限公司 Method and device for cross-device play control and play device
CN111866567A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Multimedia playing method, device, equipment and storage medium
CN112040276A (en) * 2020-09-07 2020-12-04 聚好看科技股份有限公司 Video progress synchronization method, display equipment and refrigeration equipment
CN113949739A (en) * 2021-09-29 2022-01-18 青岛海尔科技有限公司 Cross-device playing method and device, electronic device and storage medium
CN113949739B (en) * 2021-09-29 2024-01-23 青岛海尔科技有限公司 Cross-device playback method, device, electronic device and storage medium
CN114866828A (en) * 2022-03-25 2022-08-05 青岛海尔科技有限公司 Audio and video playing method and device, server, storage medium and product
CN114866828B (en) * 2022-03-25 2024-03-22 青岛海尔科技有限公司 Audio and video playing method and device, server, storage medium and product
CN115767169A (en) * 2022-10-31 2023-03-07 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium
CN115767169B (en) * 2022-10-31 2024-07-05 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105049903A (en) Method, system and media playback device for cross-device synchronization of media files
US10798440B2 (en) Methods and systems for synchronizing data streams across multiple client devices
EP3005693B1 (en) Synchronizing an application on a companion device
US20120113964A1 (en) Remote participation in a local area network (lan) based media aggregation network
CN103412746B (en) Media content sharing method and terminal device and content sharing system, content
CN104023250B (en) Based on the real-time interactive method and system of Streaming Media
CN102685561B (en) Program carousel method and system, terminal equipment and program on-demand device
CN105530536B (en) Method and device for providing media associated information
CN104125229B (en) The player method of Streaming Media and playing device
CN104717542B (en) A method, device and system for acquiring synchronous information of a smart TV
WO2017107542A1 (en) Video program obtaining method, device and system
CN106231355A (en) The interactive approach of TV and mobile terminal and system
CN105117490A (en) Method and device for displaying lyrics of song played by intelligent sound box
CN103856506B (en) Multi-screen synchronous method, apparatus and system
JP2017535124A5 (en)
WO2018205833A1 (en) Method and apparatus for transmitting music file information, storage medium, and electronic apparatus
WO2014161310A1 (en) Method and apparatus for playing multimedia resource
WO2015180688A1 (en) Media processing method and device
CN103686290A (en) Method and device for mobile communication terminal to control smart TV to play video with delay
CN104317898B (en) A kind of information processing method and server
WO2015039477A1 (en) Information system, information delivery method and iptv system based on multi-screen interaction
WO2016155363A1 (en) Method and device for maintaining playlist of multimedia file player
CN103533401B (en) Stream medium data switching player method and player
CN104639976A (en) Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal
CN104902338A (en) Television channel preview method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151111