[go: up one dir, main page]

CN106488290A - Multimedia synchronous playback method, device and system - Google Patents

Multimedia synchronous playback method, device and system Download PDF

Info

Publication number
CN106488290A
CN106488290A CN201610882853.1A CN201610882853A CN106488290A CN 106488290 A CN106488290 A CN 106488290A CN 201610882853 A CN201610882853 A CN 201610882853A CN 106488290 A CN106488290 A CN 106488290A
Authority
CN
China
Prior art keywords
multimedia
slave
synchronous
multimedia file
target playitem
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
CN201610882853.1A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610882853.1A priority Critical patent/CN106488290A/en
Publication of CN106488290A publication Critical patent/CN106488290A/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/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
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a multimedia synchronous playing method, a device and a system, wherein the method comprises the following steps: according to the method and the device, the target playing item of the multimedia data in the master control device is sent to the slave device, and when the fact that the multimedia file matched with the target playing item exists in the slave device is judged, the existing multimedia file matched with the target playing item in the slave device is called to be synchronously played. The method has the advantages that stored multimedia in the slave equipment is directly triggered to be played synchronously, cache resources of each slave equipment are fully utilized, resource integration is carried out, the operation pressure of the master control equipment is reduced, occupation of network bandwidth is reduced, the whole network environment is optimized, network blockage is avoided, synchronous playing is smooth and stable, and user experience is improved.

Description

多媒体同步播放方法、装置及系统Multimedia synchronous playback method, device and system

技术领域technical field

本发明涉及多媒体播放技术领域,尤其涉及一种多媒体同步播放方法、装置及系统。The present invention relates to the technical field of multimedia playing, in particular to a method, device and system for synchronous playing of multimedia.

背景技术Background technique

多台播放设备(比如手机、电脑、音箱、各类播放器等)通过有线或无线网络技术连接,组成一个多媒体同步播放系统,同步播放相同的音频、视频或图片,已得到广泛的应用。以多媒体同步播放系统为例,其中,如何实现多台播放设备的同步播放,使多台设备间的声音或者图片延时尽量小,从而保证用户听感或者视觉上的一致,这是多设备同步播放的关键技术。Multiple playback devices (such as mobile phones, computers, speakers, various players, etc.) are connected through wired or wireless network technology to form a multimedia synchronous playback system, which plays the same audio, video or picture synchronously, which has been widely used. Taking the multimedia synchronous playback system as an example, how to realize the synchronous playback of multiple playback devices, so that the sound or picture delay between multiple devices is as small as possible, so as to ensure the user's sense of hearing or visual consistency, this is multi-device synchronization Key technologies for playback.

例如,实现同步播放的多台播放设备中,主控设备与其他各台从属设备在进行同步播放时,一般在同步播放前先进行时间同步,而后主控设备在发送多媒体数据包给从属设备之前在数据包中标记数据包的播放时间,从属设备通过匹配数据包的播放时间与系统时间来进行同步播放。然而,在进行同步播放的过程中,主控设备既要播放多媒体,又要进行多媒体数据包的打包和传输,如果需传输的数据过多时容易造成网络堵塞,且使得主控设备的运算负担加重,容易出现视频或者音频延迟播放或者卡顿的情形,导致所述多台播放设备无法实现同步播放,影响用户体验。故,需进一步改进。For example, among multiple playback devices that realize synchronous playback, when the master device and other slave devices perform synchronous playback, they generally perform time synchronization before synchronous playback, and then the master device sends multimedia data packets to the slave devices. Mark the playback time of the data packet in the data packet, and the slave device performs synchronous playback by matching the playback time of the data packet with the system time. However, in the process of synchronous playback, the main control device not only needs to play multimedia, but also packs and transmits multimedia data packets. If there is too much data to be transmitted, it will easily cause network congestion and increase the computational burden of the main control device. , it is prone to delayed playback or freeze of the video or audio, resulting in the inability of the multiple playback devices to achieve synchronous playback, affecting user experience. Therefore, further improvement is required.

发明内容Contents of the invention

本发明的目的在于提供一种多媒体同步播放方法、装置及系统,旨在解决现有技术中存在的多媒体同步播放系统中因主控设备需传输的数据过多时容易造成网络堵塞,且使得主控设备的运算负担加重,导致所述多台播放设备无法实现同步播放,用户体验差的技术问题。The object of the present invention is to provide a multimedia synchronous playback method, device and system, aiming at solving the problem of network congestion caused by too much data to be transmitted by the main control device in the multimedia synchronous playback system existing in the prior art, and making the main control The computing burden of the device is increased, resulting in the technical problem that the multiple playback devices cannot realize synchronous playback, and the user experience is poor.

为解决上述技术问题,本发明实施例提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:

一种多媒体同步播放方法,所述方法包括:A multimedia synchronous playing method, the method comprising:

将主控设备中多媒体数据的目标播放条目发送给从属设备;Send the target play item of the multimedia data in the master device to the slave device;

判断所述从属设备中是否存在与所述目标播放条目匹配的多媒体文件;Judging whether there is a multimedia file matching the target play item in the slave device;

当所述从属设备中存在与所述目标播放条目匹配的多媒体文件时,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。When there is a multimedia file matching the target play item in the slave device, calling the existing multimedia file in the slave device matching the target play item to play synchronously.

为解决上述技术问题,本发明实施例还提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention also provide the following technical solutions:

一种多媒体同步播放装置,所述装置包括:A multimedia synchronous playback device, said device comprising:

发送模块,用于将主控设备中多媒体数据的目标播放条目发送给从属设备;A sending module, configured to send the target play item of the multimedia data in the master device to the slave device;

判断模块,用于判断所述从属设备中是否存在与所述目标播放条目匹配的多媒体文件;A judging module, configured to judge whether there is a multimedia file matching the target play item in the slave device;

同步播放模块,用于当所述从属设备中存在与所述目标播放条目匹配的多媒体文件时,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。The synchronous playing module is used for calling the existing multimedia file in the slave device that matches the target play item to play synchronously when there is a multimedia file matching the target play item in the slave device.

为解决上述技术问题,本发明实施例还提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention also provide the following technical solutions:

一种多媒体同步播放系统,包括源设备、主控设备以及至少一个从属设备,其中,所述主控设备通过网络与所述源设备及所述从属设备建立连接,所述主控设备用于接收所述源设备发送的多媒体数据,及用于将接收到的多媒体数据同步至所述从属设备,所述系统采用上述任一方法实现。A multimedia synchronous playback system, comprising a source device, a master control device and at least one slave device, wherein the master control device establishes a connection with the source device and the slave device through a network, and the master control device is used to receive The multimedia data sent by the source device is used to synchronize the received multimedia data to the slave device, and the system is implemented by any of the above methods.

相对于现有技术,本发明通过将主控设备中多媒体数据的目标播放条目发送给从属设备,当判断所述从属设备中存在与所述目标播放条目匹配的多媒体文件时,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。本发明直接触发从属设备中已存储的多媒体进行同步播放,充分利用各个从属设备缓存资源,进行有效地资源整合,有效地减轻了主控设备的运算压力,减少数据处理及分发,有效地减少对网络带宽的占用,优化整个网络环境,避免网络堵塞,使得多媒体的同步播放更流畅和稳定,提升用户体验。Compared with the prior art, the present invention sends the target play item of multimedia data in the master device to the slave device, and when it is judged that there is a multimedia file matching the target play item in the slave device, the slave device calls Synchronously play the multimedia files that match the target play entry. The present invention directly triggers the multimedia stored in the slave devices to play synchronously, makes full use of the buffer resources of each slave device, and effectively integrates resources, effectively reduces the computing pressure of the master device, reduces data processing and distribution, and effectively reduces the need for Occupying network bandwidth, optimizing the entire network environment, avoiding network congestion, making multimedia synchronous playback smoother and more stable, and improving user experience.

附图说明Description of drawings

下面结合附图,通过对本发明的具体实施方式详细描述,将使本发明的技术方案及其它有益效果显而易见。The technical solutions and other beneficial effects of the present invention will be apparent through the detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings.

图1为本发明第一实施例提供的一种多媒体同步播放方法的流程示意图。FIG. 1 is a schematic flowchart of a multimedia synchronous playback method provided by a first embodiment of the present invention.

图2为本发明第二实施例提供的一种多媒体同步播放方法的流程示意图。FIG. 2 is a schematic flowchart of a multimedia synchronous playback method provided by the second embodiment of the present invention.

图3为本发明第三实施例提供的一种多媒体同步播放装置的结构示意图。FIG. 3 is a schematic structural diagram of a multimedia synchronous playback device provided by a third embodiment of the present invention.

图4为本发明第三实施例提供的一种多媒体同步播放装置的另一结构示意图。FIG. 4 is another schematic structural diagram of a multimedia synchronous playback device provided by the third embodiment of the present invention.

图5为本发明第四实施例提供的一种多媒体同步播放系统的运行环境示意图。FIG. 5 is a schematic diagram of an operating environment of a multimedia synchronous playback system provided by a fourth 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 drawings in the embodiments of the present invention. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures. 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.

本发明中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the present invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本发明实施例提供的一种多媒体同步播放方法的执行主体,可以为本发明实施例提供的一种多媒体同步播放装置,或者集成了所述多媒体同步播放装置的移动终端(譬如台式电脑、笔记本、掌上电脑、平板电脑、智能电视、智能手机、智能音箱、或具有播放功能的可穿戴设备等),所述多媒体同步播放装置可以采用硬件或者软件的方式实现。The execution subject of a kind of multimedia synchronous playing method provided by the embodiment of the present invention can be a kind of multimedia synchronous playing device provided by the embodiment of the present invention, or the mobile terminal (such as desktop computer, notebook, Pocket computer, tablet computer, smart TV, smart phone, smart speaker, or wearable device with playback function, etc.), the multimedia synchronous playback device can be implemented in hardware or software.

可以理解的是,本实施例所描述的方法可以应用于智能播放设备或者多媒体同步播放系统中。优选的,所述多媒体同步播放系统一般包括源设备和多个播放设备。其中,所述多个播放设备中可以包括主控设备和至少一个从属设备。其中,所述源设备可以用于向多个播放设备提供多媒体数据,以使多个播放设备进行同步播放;或者所述源设备可以用于向所述播放设备中的主控设备提供多媒体数据,所述主控设备再将接收完毕的多媒体数据同步给所述播放设备中的从属设备,以实现多媒体同步播放。It can be understood that the method described in this embodiment can be applied to an intelligent playback device or a multimedia synchronous playback system. Preferably, the multimedia synchronous playback system generally includes a source device and multiple playback devices. Wherein, the plurality of playback devices may include a master device and at least one slave device. Wherein, the source device may be used to provide multimedia data to multiple playback devices, so that multiple playback devices perform synchronous playback; or the source device may be used to provide multimedia data to a master control device in the playback devices, The master control device then synchronizes the received multimedia data to the slave devices in the playback device, so as to realize synchronous multimedia playback.

第一实施例first embodiment

请参阅图1,图1为本发明第一实施例提供的一种多媒体同步播放方法的流程示意图。所述方法包括:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a multimedia synchronous playback method provided by a first embodiment of the present invention. The methods include:

步骤S101,将主控设备中多媒体数据的目标播放条目发送给从属设备。Step S101, sending the target play item of the multimedia data in the master device to the slave device.

可以理解的是,本实施例所描述的方法主要描述对象为多媒体同步播放系统中的由多个播放设备组成的播放组。在播放组中,多个播放设备通过有线传输方式或者无线传输方式建立连接,形成一个私有网络环境。其中,所述无线传输方式可以为红外、蓝牙、WiFi(Wireless Fidelity,无线局域网络)、热点网络等。所述私有网络环境可以连接到一个或者多个路由器,再通过路由器与互联网连接,以使私有网络环境内的一个或者多个播放设备可以直接访问互联网或者源设备,以获取多媒体资源。It can be understood that the method described in this embodiment mainly describes a playback group composed of multiple playback devices in a multimedia synchronous playback system. In the playback group, multiple playback devices are connected through wired transmission or wireless transmission to form a private network environment. Wherein, the wireless transmission mode may be infrared, bluetooth, WiFi (Wireless Fidelity, wireless local area network), hotspot network, and the like. The private network environment can be connected to one or more routers, and then connected to the Internet through the routers, so that one or more playback devices in the private network environment can directly access the Internet or source devices to obtain multimedia resources.

其中,所述多个播放设备中可以包括主控设备和至少一个从属设备。一般情况下,所述播放设备中的主控设备可以安装有用于控制所述多媒体同步播放系统的应用程序APP,可以通过所述应用程序APP对系统内的播放设备进行管理,包括设置和调整设备、创建播放列表、获取多媒体资源、控制播放状态等。Wherein, the plurality of playback devices may include a master device and at least one slave device. In general, the main control device in the playback device can be installed with an application program APP for controlling the multimedia synchronous playback system, and the playback device in the system can be managed through the application program APP, including setting and adjusting the device , Create playlists, obtain multimedia resources, control playback status, etc.

其中,所述主控设备可以为笔记本、掌上电脑、平板电脑、智能手机等,所述从属设备可以为智能手机、智能音箱、智能电视、多媒体屏幕等。Wherein, the master control device may be a notebook, a handheld computer, a tablet computer, a smart phone, etc., and the slave device may be a smart phone, a smart speaker, a smart TV, a multimedia screen, and the like.

优选的,在进行同步播放前,将主控设备中需要播放的多媒体数据的目标播放条目发送给从属设备。其中,所述从属设备可以为单个或者多个;所述目标播放条目可以为单个或者多个。Preferably, before synchronous playing, the master device sends the target play item of the multimedia data to be played to the slave device. Wherein, the slave device may be single or multiple; the target play item may be single or multiple.

其中,所述目标播放条目可以包括多媒体数据所对应的文件名、MD5(Message-Digest Algorithm 5,消息摘要算法第5版)校验码、ID3信息或者链接网址等。其中MD5校验码为多媒体数据通过哈希算法运算加密之后形成的校验码,具有唯一性,可以有效识别被加密的文件。所述ID3是一种元数据容器,多应用于MP3格式的音频文件中。所述ID3可以将相关的曲名、演唱者、专辑、音轨数等信息存储在MP3文件中。所述链接网址可以为从互联网或者云端存储空间中获取多媒体数据的链接地址。Wherein, the target play item may include a file name corresponding to the multimedia data, an MD5 (Message-Digest Algorithm 5, message digest algorithm version 5) check code, ID3 information or a link URL, and the like. Among them, the MD5 check code is the check code formed after the multimedia data is encrypted through the hash algorithm, which is unique and can effectively identify the encrypted file. The ID3 is a metadata container, which is mostly used in audio files in MP3 format. The ID3 can store information such as the title of the song, the singer, the album, and the number of tracks in the MP3 file. The link URL may be a link address for acquiring multimedia data from the Internet or cloud storage space.

比如,以音频同步播放系统为例,例如主控设备为手机A,从属设备为音箱B、音箱C、以及音箱D,手机A中需要播放的多媒体数据为歌曲a、歌曲b、歌曲c、歌曲d、以及歌曲e,则将作为目标播放条目的所述歌曲a至e的歌名分别发送给音箱B、音箱C、以及音箱D。For example, take an audio synchronous playback system as an example. For example, the master device is mobile phone A, and the slave devices are speaker B, speaker C, and speaker D. The multimedia data that needs to be played in mobile phone A are song a, song b, song c, song d, and song e, send the titles of the songs a to e as the target play items to speaker B, speaker C, and speaker D respectively.

步骤S102,判断所述从属设备中是否存在与所述目标播放条目匹配的多媒体文件。若是,则执行步骤S106;若否,则执行步骤S108。Step S102, judging whether there is a multimedia file matching the target play item in the slave device. If yes, execute step S106; if not, execute step S108.

可以理解的是,判断所述从属设备的存储空间中是否存在与所述目标播放条目匹配的多媒体文件。若是,则执行步骤S106;若否,则执行步骤S108。It can be understood that it is determined whether there is a multimedia file matching the target play item in the storage space of the slave device. If yes, execute step S106; if not, execute step S108.

其中,所述从属设备的存储空间可以为所述从属设备的缓存区,比如,对于不久前播放过同一多媒体的情况,在从属设备的缓存区中存在已播放过但还没有清除的多媒体文件缓存。所述从属设备的存储空间也可以为外挂存储器,比如,移动硬盘,U盘等。所述从属设备的存储空间也可以为挂载的网络存储器,比如,云端存储空间、云盘等。Wherein, the storage space of the slave device may be the cache area of the slave device, for example, for the situation that the same multimedia has been played not long ago, there are multimedia file caches that have been played but not cleared in the cache area of the slave device . The storage space of the slave device may also be an external memory, such as a mobile hard disk, a U disk, and the like. The storage space of the slave device may also be a mounted network storage, for example, a cloud storage space, a cloud disk, and the like.

例如,判断音箱B和音箱C中存在与需播放的歌曲a至e的歌名匹配的多媒体文件,则执行步骤S106。For example, if it is determined that there are multimedia files matching the titles of the songs a to e to be played in the speakers B and C, step S106 is performed.

例如,判断音箱D中不存在与需播放的歌曲a至e的歌名匹配的多媒体文件,则执行步骤S108。For example, if it is determined that there is no multimedia file matching the titles of the songs a to e to be played in the speaker D, step S108 is performed.

步骤S103,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。Step S103, call the existing multimedia file in the slave device that matches the target play item to play synchronously.

例如,音箱B和音箱C中存在与需播放的歌曲a至e的歌名匹配的多媒体文件,则直接调用音箱B和音箱C中已存在的与需播放的歌曲a至e的歌名匹配的多媒体文件进行同步播放。For example, if there are multimedia files matching the titles of songs a to e to be played in speaker B and speaker C, then directly call the existing files in speaker B and speaker C that match the titles of songs a to e to be played. Multimedia files are played synchronously.

步骤S104,将所述主控设备中的多媒体数据传送至所述从属设备进行同步播放。Step S104, transmitting the multimedia data in the master device to the slave device for synchronous playback.

例如,音箱D中不存在与需播放的歌曲a至e的歌名匹配的多媒体文件,则将手机A中的需要播放的歌曲a至e传送至音箱D进行同步播放。For example, if there is no multimedia file matching the titles of the songs a to e to be played in the speaker D, the songs a to e to be played in the mobile phone A are transmitted to the speaker D for synchronous playback.

本实施例通过将主控设备中多媒体数据的目标播放条目发送给从属设备,当判断所述从属设备中存在与所述目标播放条目匹配的多媒体文件时,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。本发明直接触发从属设备中已存储的多媒体进行同步播放,充分利用各个从属设备缓存资源,进行有效地资源整合,有效地减轻了主控设备的运算压力,减少数据处理及分发,有效地减少对网络带宽的占用,优化整个网络环境,避免网络堵塞,使得多媒体的同步播放更流畅和稳定,提升用户体验。In this embodiment, the target play item of multimedia data in the master device is sent to the slave device, and when it is judged that there is a multimedia file matching the target play item in the slave device, the The multimedia files matched by the target play item are played synchronously. The present invention directly triggers the multimedia stored in the slave devices to play synchronously, makes full use of the buffer resources of each slave device, and effectively integrates resources, effectively reduces the computing pressure of the master device, reduces data processing and distribution, and effectively reduces the need for Occupying network bandwidth, optimizing the entire network environment, avoiding network congestion, making multimedia synchronous playback smoother and more stable, and improving user experience.

第二实施例second embodiment

请一并参阅图2,图2为本发明第二实施例提供的一种多媒体同步播放方法的流程示意图。所述方法包括:Please also refer to FIG. 2 . FIG. 2 is a schematic flowchart of a multimedia synchronous playback method provided by the second embodiment of the present invention. The methods include:

步骤S201,将主控设备中多媒体数据的播放列表发送给从属设备,其中,所述播放列表包含有多条目标播放条目。Step S201, sending the playlist of multimedia data in the master device to the slave device, wherein the playlist includes multiple target play items.

可以理解的是,在进行同步播放前,将主控设备中需要播放的多媒体数据的播放列表发送给从属设备,其中,所述播放列表中携带有多条目标播放条目。所述从属设备可以为单个或者多个。It can be understood that, before synchronous playing, the master device sends the playlist of the multimedia data to be played to the slave device, wherein the playlist carries multiple target play items. The slave device can be single or multiple.

其中,所述目标播放条目可以包括多媒体数据所对应的文件名、MD5(Message-Digest Algorithm 5,消息摘要算法第5版)校验码、ID3信息或者链接网址等。其中MD5校验码为多媒体数据通过哈希算法运算加密之后形成的校验码,具有唯一性,可以有效识别被加密的文件。所述ID3是一种元数据容器,多应用于MP3格式的音频文件中。所述ID3可以将相关的曲名、演唱者、专辑、音轨数等信息存储在MP3文件中。所述链接网址可以为从互联网或者云端存储空间中获取多媒体数据的链接地址。Wherein, the target play item may include a file name corresponding to the multimedia data, an MD5 (Message-Digest Algorithm 5, message digest algorithm version 5) check code, ID3 information or a link URL, and the like. Among them, the MD5 check code is the check code formed after the multimedia data is encrypted through the hash algorithm, which is unique and can effectively identify the encrypted file. The ID3 is a metadata container, which is mostly used in audio files in MP3 format. The ID3 can store information such as the title of the song, the singer, the album, and the number of tracks in the MP3 file. The link URL may be a link address for acquiring multimedia data from the Internet or cloud storage space.

步骤S202,判断所述从属设备中是否存在与所述目标播放条目匹配的多媒体文件。若是,则执行步骤S203;若否,则执行步骤S205。Step S202, judging whether there is a multimedia file matching the target play item in the slave device. If yes, execute step S203; if not, execute step S205.

可以理解的是,判断所述从属设备的存储空间中是否存在与所述目标播放条目匹配的多媒体文件。若是,则执行步骤S203;若否,则执行步骤S205。It can be understood that it is determined whether there is a multimedia file matching the target play item in the storage space of the slave device. If yes, execute step S203; if not, execute step S205.

其中,所述从属设备的存储空间可以为所述从属设备的缓存区,比如,对于不久前播放过同一多媒体的情况,在从属设备的缓存区中存在已播放过但还没有清除的多媒体文件缓存。所述从属设备的存储空间也可以为外挂存储器,比如,移动硬盘,U盘等。所述从属设备的存储空间也可以为挂载的网络存储器,比如云端存储空间、云盘等。Wherein, the storage space of the slave device may be the cache area of the slave device, for example, for the situation that the same multimedia has been played not long ago, there are multimedia file caches that have been played but not cleared in the cache area of the slave device . The storage space of the slave device may also be an external memory, such as a mobile hard disk, a U disk, and the like. The storage space of the slave device may also be a mounted network storage, such as cloud storage space, cloud disk, and the like.

步骤S203,将同步播放指令传送至所述已匹配到相同的多媒体文件的从属设备。Step S203, sending a synchronous play instruction to the slave device that has been matched to the same multimedia file.

可以理解的是,当所述单个或多个从属设备中存在与所述目标播放条目匹配的多媒体文件时,则将匹配结果反馈给主控设备,主控设备根据接收到的匹配结果将所述已匹配到相同的多媒体文件的单个或多个从属设备进行类型标记,比如,标记为X类,同时将同步播放指令传送至所述已匹配到相同的多媒体文件的X类从属设备。It can be understood that, when there is a multimedia file matching the target play item in the single or multiple slave devices, the matching result is fed back to the master device, and the master device sends the Single or multiple slave devices that have been matched to the same multimedia file are marked with type, for example, marked as type X, and at the same time, a synchronous play instruction is sent to the slave device of type X that has been matched to the same multimedia file.

步骤S204,根据所述同步播放指令与所述从属设备中已匹配到的多媒体文件进行同步播放。Step S204: Play synchronously with the matched multimedia file in the slave device according to the synchronous play instruction.

可以理解的是,所述单个或多个从属设备从本机已经匹配到的多媒体文件处获取多媒体数据,并根据收到的同步指令将所述多媒体文件输出以进行同步播放。It can be understood that the single or multiple slave devices obtain multimedia data from the multimedia files that have been matched by the device, and output the multimedia files for synchronous playback according to the received synchronization instruction.

步骤S205,将同步播放指令以及所述主控设备中的多媒体数据传送至所述未匹配到相同的多媒体文件的从属设备。Step S205, transmitting the synchronous play instruction and the multimedia data in the master device to the slave devices that are not matched with the same multimedia file.

可以理解的是,当所述单个或多个从属设备中不存在与所述目标播放条目匹配的多媒体文件时,则将匹配结果反馈给主控设备,主控设备根据接收到的匹配结果将所述未匹配到相同的多媒体文件的单个或多个从属设备进行类型标记,比如,标记为Y类,将同步播放指令以及所述主控设备中的多媒体数据传送至所述未匹配到相同的多媒体文件的Y类从属设备。It can be understood that, when there is no multimedia file matching the target play item in the single or multiple slave devices, the matching result is fed back to the master device, and the master device sends the matching result according to the received The single or multiple slave devices that are not matched to the same multimedia file are type marked, for example, marked as Y type, and the synchronous playback instruction and the multimedia data in the master device are transmitted to the unmatched multimedia file. File class Y slaves.

步骤S206,根据所述同步播放指令与所述从属设备接收到的多媒体数据进行同步播放。Step S206, perform synchronous playback according to the synchronous playback instruction and the multimedia data received by the slave device.

可以理解的是,所述单个或多个从属设备收到从主控设备传送过来的多媒体数据,并根据收到的同步指令,将所述接收到的多媒体数据输出以进行同步播放。It can be understood that the single or multiple slave devices receive the multimedia data transmitted from the master device, and output the received multimedia data for synchronous playback according to the received synchronization instruction.

本实施例通过将主控设备中多媒体数据的目标播放条目发送给从属设备,当判断所述从属设备中存在与所述目标播放条目匹配的多媒体文件时,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。本发明直接触发从属设备中已存储的多媒体进行同步播放,充分利用各个从属设备缓存资源,进行有效地资源整合,有效地减轻了主控设备的运算压力,减少数据处理及分发,有效地减少对网络带宽的占用,优化整个网络环境,避免网络堵塞,使得多媒体的同步播放更流畅和稳定,提升用户体验。In this embodiment, the target play item of multimedia data in the master device is sent to the slave device, and when it is judged that there is a multimedia file matching the target play item in the slave device, the The multimedia files matched by the target play item are played synchronously. The present invention directly triggers the multimedia stored in the slave devices to play synchronously, makes full use of the buffer resources of each slave device, and effectively integrates resources, effectively reduces the computing pressure of the master device, reduces data processing and distribution, and effectively reduces the need for Occupying network bandwidth, optimizing the entire network environment, avoiding network congestion, making multimedia synchronous playback smoother and more stable, and improving user experience.

第三实施例third embodiment

请参阅图3,图3为本发明第三实施例提供的一种多媒体同步播放装置的结构示意图。所述多媒体同步播放装置30包括发送模块31,判断模块32,以及同步播放模块33。Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a multimedia synchronous playback device provided by a third embodiment of the present invention. The multimedia synchronous playing device 30 includes a sending module 31 , a judging module 32 , and a synchronous playing module 33 .

其中,所述发送模块31,用于将主控设备中多媒体数据的目标播放条目发送给从属设备。Wherein, the sending module 31 is configured to send the target play item of the multimedia data in the master device to the slave device.

优选的,在进行同步播放前,所述发送模块31将主控设备中需要播放的多媒体数据的目标播放条目发送给从属设备。其中,所述从属设备可以为单个或者多个;所述目标播放条目可以为单个或者多个。Preferably, before synchronous playing, the sending module 31 sends the target play item of the multimedia data to be played in the master device to the slave device. Wherein, the slave device may be single or multiple; the target play item may be single or multiple.

其中,所述目标播放条目可以包括多媒体数据所对应的文件名、MD5(Message-Digest Algorithm 5,消息摘要算法第5版)校验码、ID3信息或者链接网址等。其中MD5校验码为多媒体数据通过哈希算法运算加密之后形成的校验码,具有唯一性,可以有效识别被加密的文件。所述ID3是一种元数据容器,多应用于MP3格式的音频文件中。所述ID3可以将相关的曲名、演唱者、专辑、音轨数等信息存储在MP3文件中。所述链接网址可以为从互联网或者云端存储空间中获取多媒体数据的链接地址。Wherein, the target play item may include a file name corresponding to the multimedia data, an MD5 (Message-Digest Algorithm 5, message digest algorithm version 5) check code, ID3 information or a link URL, and the like. Among them, the MD5 check code is the check code formed after the multimedia data is encrypted through the hash algorithm, which is unique and can effectively identify the encrypted file. The ID3 is a metadata container, which is mostly used in audio files in MP3 format. The ID3 can store information such as the title of the song, the singer, the album, and the number of tracks in the MP3 file. The link URL may be a link address for acquiring multimedia data from the Internet or cloud storage space.

所述判断模块32,用于判断所述从属设备中是否存在与所述目标播放条目匹配的多媒体文件。The judging module 32 is configured to judge whether there is a multimedia file matching the target play item in the slave device.

可以理解的是,所述判断模块32判断所述从属设备的存储空间中是否存在与所述目标播放条目匹配的多媒体文件。It can be understood that the judging module 32 judges whether there is a multimedia file matching the target play item in the storage space of the slave device.

其中,所述从属设备的存储空间可以为所述从属设备的缓存区,比如,对于不久前播放过同一多媒体的情况,在从属设备的缓存区中存在已播放过但还没有清除的多媒体文件缓存。所述从属设备的存储空间也可以为外挂存储器,比如,移动硬盘,U盘等。所述从属设备的存储空间也可以为挂载的网络存储器,比如,云端存储空间、云盘等。Wherein, the storage space of the slave device may be the cache area of the slave device, for example, for the situation that the same multimedia has been played not long ago, there are multimedia file caches that have been played but not cleared in the cache area of the slave device . The storage space of the slave device may also be an external memory, such as a mobile hard disk, a U disk, and the like. The storage space of the slave device may also be a mounted network storage, for example, a cloud storage space, a cloud disk, and the like.

所述同步播放模块33,用于当所述从属设备中存在与所述目标播放条目匹配的多媒体文件时,调用所述从属设备中已存在的与所述目标播放条目匹配的多媒体文件进行同步播放。The synchronous playing module 33 is configured to call the existing multimedia file in the slave device that matches the target play item to perform synchronous playback when there is a multimedia file matching the target play item in the slave device .

所述同步播放模块33,还用于当所述从属设备中不存在与所述目标播放条目匹配的多媒体文件时,则将所述主控设备中的多媒体数据发送至所述从属设备进行同步播放。The synchronous playing module 33 is also used to send the multimedia data in the master device to the slave device for synchronous playback when there is no multimedia file matching the target play entry in the slave device .

请一并参阅图4,图4为本发明第三实施例提供的一种多媒体同步播放装置的另一结构示意图。所述多媒体同步播放装置30包括发送模块31,判断模块32,以及同步播放模块33。Please also refer to FIG. 4 . FIG. 4 is another structural diagram of a multimedia synchronous playback device provided by the third embodiment of the present invention. The multimedia synchronous playing device 30 includes a sending module 31 , a judging module 32 , and a synchronous playing module 33 .

其中,所述发送模块31,用于将主控设备中多媒体数据的播放列表发送给从属设备,其中,所述播放列表包含有多条目标播放条目。所述从属设备可以为单个或者多个。Wherein, the sending module 31 is configured to send the playlist of multimedia data in the master device to the slave device, wherein the playlist includes multiple target play items. The slave device can be single or multiple.

可以理解的是,在进行同步播放前,所述发送模块31将主控设备中需要播放的多媒体数据的播放列表发送给从属设备,其中所述播放列表中携带有多条目标播放条目。其中,所述目标播放条目可以包括多媒体数据所对应的文件名、MD5(Message-DigestAlgorithm 5,消息摘要算法第5版)校验码、ID3信息或者链接网址等。其中MD5校验码为多媒体数据通过哈希算法运算加密之后形成的校验码,具有唯一性,可以有效识别被加密的文件。所述ID3是一种元数据容器,多应用于MP3格式的音频文件中。所述ID3可以将相关的曲名、演唱者、专辑、音轨数等信息存储在MP3文件中。所述链接网址可以为从互联网或者云端存储空间中获取多媒体数据的链接地址。It can be understood that, before synchronous playing, the sending module 31 sends the playlist of the multimedia data to be played in the master device to the slave device, wherein the playlist carries multiple target play items. Wherein, the target playback item may include a file name corresponding to the multimedia data, an MD5 (Message-Digest Algorithm 5, message digest algorithm version 5) check code, ID3 information or a link URL, and the like. Among them, the MD5 check code is the check code formed after the multimedia data is encrypted through the hash algorithm, which is unique and can effectively identify the encrypted file. The ID3 is a metadata container, which is mostly used in audio files in MP3 format. The ID3 can store information such as the title of the song, the singer, the album, and the number of tracks in the MP3 file. The link URL may be a link address for acquiring multimedia data from the Internet or cloud storage space.

所述判断模块32,用于判断所述从属设备中是否存在与所述目标播放条目匹配的多媒体文件。The judging module 32 is configured to judge whether there is a multimedia file matching the target play item in the slave device.

可以理解的是,所述判断模块32判断所述从属设备的存储空间中是否存在与所述目标播放条目匹配的多媒体文件。It can be understood that the judging module 32 judges whether there is a multimedia file matching the target play item in the storage space of the slave device.

其中,所述从属设备的存储空间可以为所述从属设备的缓存区,比如,对于不久前播放过同一多媒体的情况,在从属设备的缓存区中存在已播放过但还没有清除的多媒体文件缓存。所述从属设备的存储空间也可以为外挂存储器,比如,移动硬盘,U盘等。所述从属设备的存储空间也可以为挂载的网络存储器,比如云端存储空间、云盘等。Wherein, the storage space of the slave device may be the cache area of the slave device, for example, for the situation that the same multimedia has been played not long ago, there are multimedia file caches that have been played but not cleared in the cache area of the slave device . The storage space of the slave device may also be an external memory, such as a mobile hard disk, a U disk, and the like. The storage space of the slave device may also be a mounted network storage, such as cloud storage space, cloud disk, and the like.

所述同步播放模块33,还包括传送单元331以及同步播放单元332。The synchronous playing module 33 further includes a transmitting unit 331 and a synchronous playing unit 332 .

所述传送单元331,用于当所述从属设备中不存在与所述目标播放条目匹配的多媒体文件时,将同步播放指令传送至所述已匹配到相同的多媒体文件的从属设备。The sending unit 331 is configured to send a synchronous play instruction to the slave device that has matched the same multimedia file when there is no multimedia file matching the target play item in the slave device.

可以理解的是,当所述单个或多个从属设备中存在与所述目标播放条目匹配的多媒体文件时,则将匹配结果反馈给主控设备,主控设备根据接收到的匹配结果将所述已匹配到相同的多媒体文件的单个或多个从属设备进行类型标记,比如,标记为X类,同时所述传送单元331将同步播放指令传送至所述已匹配到相同的多媒体文件的X类从属设备。It can be understood that, when there is a multimedia file matching the target play item in the single or multiple slave devices, the matching result is fed back to the master device, and the master device sends the Single or multiple slave devices that have been matched to the same multimedia file are marked with type, for example, marked as X type, and at the same time, the transmission unit 331 transmits the synchronous play instruction to the X type slave that has been matched to the same multimedia file equipment.

所述同步播放单元332,用于根据所述同步播放指令与所述从属设备中已匹配到的多媒体文件进行同步播放。The synchronous playing unit 332 is configured to play synchronously with the matched multimedia file in the slave device according to the synchronous playing instruction.

可以理解的是,所述同步播放单元332从所述单个或多个从属设备的本机已经匹配到的多媒体文件处获取多媒体数据,并根据收到的同步指令将所述多媒体文件输出以进行同步播放。It can be understood that the synchronous playback unit 332 acquires multimedia data from the multimedia files that have been matched by the local device of the single or multiple slave devices, and outputs the multimedia files for synchronization according to the received synchronization instruction play.

所述传送单元331,还用于当所述从属设备中不存在与所述目标播放条目匹配的多媒体文件时,将同步播放指令以及所述主控设备中的多媒体数据传送至所述未匹配到相同的多媒体文件的从属设备。The sending unit 331 is further configured to: when there is no multimedia file matching the target play item in the slave device, send the synchronous play instruction and the multimedia data in the master device to the unmatched Slave devices for the same multimedia files.

可以理解的是,当所述单个或多个从属设备中不存在与所述目标播放条目匹配的多媒体文件时,则将匹配结果反馈给主控设备,主控设备根据接收到的匹配结果将所述未匹配到相同的多媒体文件的单个或多个从属设备进行类型标记,比如,标记为Y类,所述传送单元331将同步播放指令以及所述主控设备中的多媒体数据传送至所述未匹配到相同的多媒体文件的Y类从属设备。It can be understood that, when there is no multimedia file matching the target play item in the single or multiple slave devices, the matching result is fed back to the master device, and the master device sends the matching result according to the received The single or multiple slave devices that are not matched to the same multimedia file are marked with type, for example, marked as Y type, and the transmission unit 331 transmits the synchronous play instruction and the multimedia data in the master device to the unmatched Matches to the Y-class slave devices of the same multimedia file.

所述同步播放单元332,还用于根据所述同步播放指令与所述从属设备接收到的多媒体数据进行同步播放。The synchronous playback unit 332 is further configured to perform synchronous playback with the multimedia data received by the slave device according to the synchronous playback instruction.

可以理解的是,所述单个或多个从属设备收到从主控设备传送过来的多媒体数据,所述同步播放单元332根据收到的同步指令,将所述接收到的多媒体数据输出以进行同步播放。It can be understood that the single or multiple slave devices receive multimedia data transmitted from the master device, and the synchronous playback unit 332 outputs the received multimedia data for synchronization according to the received synchronization instruction. play.

第四实施例Fourth embodiment

请参阅图5,图5为本发明第四实施例提供的一种多媒体同步播放系统的运行环境示意图。本实施例中所描述的多媒体同步播放系统,包括源设备100、主控设备200以及至少一个从属设备300。其中,所述主控设备200以及至少一个从属设备300均属于播放设备。其中,所述主控设备200通过网络与所述源设备100及所述从属设备300建立连接,所述从属设备300通过网络与所述源设备100建立连接。其中,所述源设备100可以通过网络向多个播放设备(比如主控设备200以及至少一个从属设备300)提供多媒体数据,以使主控设备200以及至少一个从属设备300进行同步播放;或者所述主控设备200用于接收所述源设备100发送的多媒体数据,及用于将接收到的多媒体数据同步至所述从属设备300,以实现多媒体同步播放。同样的,所述从属设备300可以通过网络向所述主控设备200或者所述源设备100反馈同步信息;所述主控设备200可以通过网络向所述源设备100反馈同步信息。所述多媒体同步播放系统可以执行本发明第一实施例和第二实施例提供的一种多媒体同步播放方法中所描述的实现方式,也可执行本发明第三实施例提供的一种多媒体同步播放装置中所描述的实现方式,在此不再赘述。Please refer to FIG. 5 . FIG. 5 is a schematic diagram of an operating environment of a multimedia synchronous playback system provided by a fourth embodiment of the present invention. The multimedia synchronous playing system described in this embodiment includes a source device 100 , a master device 200 and at least one slave device 300 . Wherein, the master device 200 and at least one slave device 300 both belong to the playback device. Wherein, the master device 200 establishes a connection with the source device 100 and the slave device 300 through a network, and the slave device 300 establishes a connection with the source device 100 through a network. Wherein, the source device 100 can provide multimedia data to multiple playback devices (such as the master device 200 and at least one slave device 300) through the network, so that the master device 200 and at least one slave device 300 can perform synchronous playback; or The master device 200 is used for receiving the multimedia data sent by the source device 100, and for synchronizing the received multimedia data to the slave device 300, so as to realize synchronous multimedia playback. Likewise, the slave device 300 may feed back synchronization information to the master device 200 or the source device 100 through a network; the master device 200 may feed back synchronization information to the source device 100 through a network. The multimedia synchronous playback system can execute the implementation described in the multimedia synchronous playback method provided in the first embodiment and the second embodiment of the present invention, and can also perform a multimedia synchronous playback method provided in the third embodiment of the present invention The implementation described in the device will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。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.

本发明实施例中,所述多媒体同步播放装置与上文实施例中的一种多媒体同步播放方法属于同一构思,在所述多媒体同步播放装置上可以运行所述多媒体同步播放方法实施例中提供的任一方法,其具体实现过程详见所述多媒体同步播放方法实施例,此处不再赘述。In the embodiment of the present invention, the multimedia synchronous playback device and the multimedia synchronous playback method in the above embodiments belong to the same idea, and the multimedia synchronous playback method provided in the embodiment of the multimedia synchronous playback method can be run on the multimedia synchronous playback device. For any method, its specific implementation process can be found in the embodiment of the multimedia synchronous playback method, and will not be repeated here.

需要说明的是,对本发明所述多媒体同步播放方法而言,本领域普通测试人员可以理解实现本发明实施例所述多媒体同步播放方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如所述多媒体同步播放方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, for the multimedia synchronous playback method described in the present invention, ordinary testers in the field can understand that all or part of the process for realizing the multimedia synchronous playback method described in the embodiment of the present invention can be controlled by computer programs. To accomplish this, the computer program may be stored in a computer-readable storage medium, such as stored in the memory of the terminal, and executed by at least one processor in the terminal, and the execution process may include such as the multimedia synchronization A flow of an embodiment of a playback method. Wherein, the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory) and the like.

对本发明实施例的所述多媒体同步播放装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the multimedia synchronous playback device in the embodiment of the present invention, its functional modules can be integrated into one processing chip, or each module can exist separately physically, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as read-only memory, magnetic disk or optical disk, etc. .

以上对本发明实施例所提供的一种多媒体同步播放方法、装置及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的技术方案及其核心思想;本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例的技术方案的范围。Above, a kind of multimedia synchronous playing method, device and system provided by the embodiment of the present invention have been introduced in detail. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used to help Understand the technical solution and its core idea of the present invention; those skilled in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or The replacement does not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. a kind of multimedia synchronous play method it is characterised in that methods described includes:
The target playitem of multi-medium data in main control device is sent to slave;
Judge to whether there is the multimedia file mating with described target playitem in described slave;
When there is the multimedia file mating with described target playitem in described slave, call described slave In the multimedia file that mates of already present and described target playitem synchronize broadcasting.
2. multimedia synchronous according to claim 1 play method it is characterised in that described when depositing in described slave In the multimedia file mating with described target playitem, already present and described target in described slave is called to broadcast The multimedia file putting entries match synchronizes broadcasting, specifically includes:
When there is the multimedia file mating with described target playitem in described slave, synchronous play instruction is passed The slave of identical multimedia file has been matched described in delivering to;
Multimedia file according to having matched in described synchronous play instruction and described slave synchronizes broadcasting.
3. multimedia synchronous according to claim 1 play method it is characterised in that in the described slave of described judgement With the presence or absence of the multimedia file matching with described target playitem, also include:
When there is not the multimedia file mating with described target playitem in described slave, then described master control is set Multimedia data transmission in standby to described slave synchronizes broadcasting.
4. multimedia synchronous according to claim 3 play method it is characterised in that described when in described slave not When there is the multimedia file mating with described target playitem, then by the multimedia data transmission in described main control device extremely Described slave synchronizes broadcasting, specifically includes:
When there is not the multimedia file mating with described target playitem in described slave, by synchronous play instruction And the multimedia data transmission in described main control device is to the described slave not matching identical multimedia file;
Broadcasting is synchronized according to the multi-medium data that described synchronous play instruction is received with described slave.
5. multimedia synchronous according to any one of Claims 1-4 play method it is characterised in that
The described target playitem by multi-medium data in main control device is sent to slave, specifically includes:
The playlist of multi-medium data in main control device is sent to slave, wherein, described playlist includes many Bar target playitem.
6. a kind of multimedia synchronous play device it is characterised in that described device includes:
Sending module, for being sent to slave by the target playitem of multi-medium data in main control device;
Judge module, for judging to whether there is the multimedia literary composition mating with described target playitem in described slave Part;
Synchronous playing module, for the multimedia file mating with described target playitem when presence in described slave When, call the multimedia file that in described slave, already present and described target playitem is mated to synchronize broadcasting.
7. multimedia synchronous according to claim 6 play device it is characterised in that described synchronous playing module, also wrap Include:
Delivery unit, for when there is the multimedia file mating with described target playitem in described slave, inciting somebody to action Synchronous play instruction has matched the slave of identical multimedia file described in being sent to;
Synchronous broadcast unit, for according to the multimedia file having matched in described synchronous play instruction and described slave Synchronize broadcasting.
8. multimedia synchronous according to claim 6 play device it is characterised in that described synchronous playing module, also use In when there is not the multimedia file mating with described target playitem in described slave, then by described main control device In multi-medium data send and synchronize broadcasting to described slave.
9. multimedia synchronous according to claim 8 play device it is characterised in that described synchronous playing module, also wrap Include:
, for when there is not the multimedia file mating with described target playitem in described slave in described delivery unit When, the multimedia data transmission in synchronous play instruction and described main control device is not matched identical multimedia to described The slave of file;
Described synchronous broadcast unit, for the multi-medium data being received with described slave according to described synchronous play instruction Synchronize broadcasting.
10. a kind of multimedia synchronous Play System is it is characterised in that include source device, main control device and at least one subordinate Equipment, wherein, described main control device is passed through network and is connected with described source device and the foundation of described slave, described main control device For receiving the multi-medium data that described source device sends, and set for the multi-medium data receiving is synchronized to described subordinate Standby, described system adopts the method described in any one of claim 1 to 5 to realize.
CN201610882853.1A 2016-10-08 2016-10-08 Multimedia synchronous playback method, device and system Pending CN106488290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610882853.1A CN106488290A (en) 2016-10-08 2016-10-08 Multimedia synchronous playback method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610882853.1A CN106488290A (en) 2016-10-08 2016-10-08 Multimedia synchronous playback method, device and system

Publications (1)

Publication Number Publication Date
CN106488290A true CN106488290A (en) 2017-03-08

Family

ID=58269633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610882853.1A Pending CN106488290A (en) 2016-10-08 2016-10-08 Multimedia synchronous playback method, device and system

Country Status (1)

Country Link
CN (1) CN106488290A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184158A (en) * 2017-12-29 2018-06-19 深圳华侨城卡乐技术有限公司 A kind of method and system that video is played simultaneously
CN111567053A (en) * 2018-01-08 2020-08-21 迈斯恩赛斯特控股有限公司 System for real-time synchronization
CN112732215A (en) * 2019-10-14 2021-04-30 瑞昱半导体股份有限公司 Network data playing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914601A (en) * 2004-01-27 2007-02-14 皇家飞利浦电子股份有限公司 Audio/video content synchronization through playlists
CN101174449A (en) * 2006-11-03 2008-05-07 三星电子株式会社 Content player, content storage device and method for synchronizing content status list
CN101471117A (en) * 2007-12-29 2009-07-01 鸿富锦精密工业(深圳)有限公司 Synchronous music playing system, method and music player
CN104183250A (en) * 2014-08-26 2014-12-03 惠州Tcl移动通信有限公司 Method and system for synchronizing function of music player of intelligent device and Bluetooth headset

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914601A (en) * 2004-01-27 2007-02-14 皇家飞利浦电子股份有限公司 Audio/video content synchronization through playlists
CN101174449A (en) * 2006-11-03 2008-05-07 三星电子株式会社 Content player, content storage device and method for synchronizing content status list
CN101471117A (en) * 2007-12-29 2009-07-01 鸿富锦精密工业(深圳)有限公司 Synchronous music playing system, method and music player
CN104183250A (en) * 2014-08-26 2014-12-03 惠州Tcl移动通信有限公司 Method and system for synchronizing function of music player of intelligent device and Bluetooth headset

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184158A (en) * 2017-12-29 2018-06-19 深圳华侨城卡乐技术有限公司 A kind of method and system that video is played simultaneously
CN111567053A (en) * 2018-01-08 2020-08-21 迈斯恩赛斯特控股有限公司 System for real-time synchronization
US11706477B2 (en) 2018-01-08 2023-07-18 Mysyncster Holding Oü System for real-time synchronization
CN111567053B (en) * 2018-01-08 2024-11-01 迈斯恩赛斯特控股有限公司 System for real-time synchronization
CN112732215A (en) * 2019-10-14 2021-04-30 瑞昱半导体股份有限公司 Network data playing system and method
CN112732215B (en) * 2019-10-14 2024-11-26 瑞昱半导体股份有限公司 Network data playback system and method

Similar Documents

Publication Publication Date Title
US11403063B2 (en) Fast-resume audio playback
CN105893459B (en) Media content playback system and method
CN105893457B (en) Media content playback system and method
US7516078B2 (en) Personal shared playback
CN103905176B (en) By the method and apparatus of the control directory services synchronization in universal plug and play network
CN106488289B (en) audio synchronous playing method, device and system
CN105893458B (en) Media content playback system and method
CN106488290A (en) Multimedia synchronous playback method, device and system
CN105338059B (en) Data synchronization method and mobile terminal
CN114727140A (en) Method, server cluster and storage medium for data synchronization of live streaming intermodal transport
CN101529819B (en) Method and apparatus for preventing duplicate saving of resource between universal plug and play devices providing content directory service
CN108289232A (en) Control method of playing device, terminal device and storage medium
CN110875955B (en) Device management in ad hoc presence networks
CN106454474B (en) multimedia synchronous playing method, device and system
WO2023071467A1 (en) Data deduplication method and apparatus, and storage medium
CN105096988B (en) Sound box playlist synchronization method and terminal
EP2573728A1 (en) Sound-source distribution method for an electronic terminal, and system for same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308

RJ01 Rejection of invention patent application after publication