CN102970589B - Method and apparatus for controlling a multi-media stream playing terminal cooperative - Google Patents

Method and apparatus for controlling a multi-media stream playing terminal cooperative Download PDF

Info

Publication number
CN102970589B
CN102970589B CN201210487142.6A CN201210487142A CN102970589B CN 102970589 B CN102970589 B CN 102970589B CN 201210487142 A CN201210487142 A CN 201210487142A CN 102970589 B CN102970589 B CN 102970589B
Authority
CN
China
Prior art keywords
terminal
task
play
master
slave
Prior art date
Application number
CN201210487142.6A
Other languages
Chinese (zh)
Other versions
CN102970589A (en
Inventor
加雄伟
侯玉华
严斌峰
Original Assignee
中国联合网络通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国联合网络通信集团有限公司 filed Critical 中国联合网络通信集团有限公司
Priority to CN201210487142.6A priority Critical patent/CN102970589B/en
Publication of CN102970589A publication Critical patent/CN102970589A/en
Application granted granted Critical
Publication of CN102970589B publication Critical patent/CN102970589B/en

Links

Abstract

本发明提供一种多终端协同播放媒体流的控制方法及装置,该方法包括:接收主控终端发送的当前播放状态信息;向至少一个从属终端发送所述当前播放状态信息,以使所述至少一个从属终端根据所述当前播放状态信息与所述主控终端同步播放状态。 The present invention provides a method and apparatus for controlling a multi-media terminal synergistic play stream, the method comprising: receiving a current playback state information transmitted from the master terminal; transmitting the current playback state information to at least one slave terminal, such that said at least a slave terminal of the synchronized playback according to the current state of the playback state information of the master terminal. 本发明通过获取主控终端的当前播放状态信息并发送给至少一个从属终端,使得至少一个从属终端可根据该播放状态信息对自身播放状态进行调整,与主控终端同步播放状态,从而实现了主控终端和从属终端之间的同步播放。 The present invention is complicated by the master terminal by obtaining the current status information to the player at least one slave terminal, such that the at least one slave terminal itself may be adjusted according to the playback state to the playback state information, the terminal synchronization with the master play state, thus achieving the main synchronized playback between the control terminal and the slave terminal.

Description

多终端协同播放媒体流的控制方法及装置 Method and apparatus for controlling a multi-media stream playing terminal cooperative

技术领域 FIELD

[0001 ] 本发明涉及媒体流播放技术,尤其涉及一种多终端协同播放媒体流的控制方法及 [0001] The present invention relates to a streaming media technology, and particularly relates to a multi-terminal cooperative playback control method of a media stream and

目.0 Head .0

背景技术 Background technique

[0002] 随着智能终端和互联网的发展,用户通常拥有多个终端,例如,智能手机、互联网电视、电脑等。 [0002] With the development of smart terminals and the Internet, users often have multiple terminals, such as smart phones, Internet TV, computer and so on. 用户可以使用各种终端获取互联网电视(IPTV)节目、浏览互联网社区上的多媒体信息。 Users can use a variety of terminal acquires Internet TV (IPTV) programs, browse multimedia information on the Internet community. 用户在播放媒体流时,为达到更好的视听效果,希望自己的多个终端能协同播放相同的媒体节目。 When the user playing the media stream, to achieve better visual effects, a plurality of terminals want their synergistically playing the same media program.

[0003] 例如用户在收听一个音乐会节目,希望使用多个音响同时播放音乐会节目的同一音频的不同的音道以便在家庭环境下实现环绕立体声,接近音乐厅的视听效果;或者通过电视终端收看多媒体节目时不希望节目的声音干扰到他人,用户希望使用电视终端只播放多媒体节目的视频流,使用自己的手机作为耳机播放多媒体节目的音频内容,使音频和视频在不同的终端上同步播放。 [0003] example, a user listening to a concert program, it is desirable to use a plurality of audio simultaneously play the same audio program different concert to achieve surround sound audio channels in the home environment, close to the Hall effect audiovisual; or by a television terminal You do not want to show sound interference of others when viewing multimedia program, users want to use the TV terminal only play multimedia program video stream, using their mobile phone as an audio content headphone playback multimedia programs, audio and video synchronization playback on different terminals .

[0004] 但是,现有技术经常出现协同的多个终端之间无法同步播放,例如音频与视频不同步,从而影响用户的视听效果。 [0004] However, the prior art often can not synchronize between a plurality of player terminals synergistic, e.g. audio and video are not synchronized, thus affecting the user's viewing effect.

发明内容 SUMMARY

[0005] 针对上述缺陷,本发明提供一种多终端协同播放媒体流的控制方法及装置,用于控制协同的多个终端之间同步播放媒体流,使用户获得良好的视听效果。 [0005] For the above disadvantages, the present invention provides a cooperative multi-player terminal control method and apparatus of a media stream, the media stream for synchronous playback, allowing users to obtain good visual effects coordinated among a plurality of control terminals.

[0006] 本发明提供一种多终端协同播放媒体流的控制方法,包括: [0006] The present invention provides a method of controlling a multi-media terminal collaborative play stream, comprising:

[0007] 接收主控终端发送的当前播放状态信息; [0007] The current playback state information transmitted from receiving the master terminal;

[0008]向至少一个从属终端发送所述当前播放状态信息,以使所述至少一个从属终端根据所述当前播放状态信息与所述主控终端同步播放状态。 [0008] The current playback state information transmitted to at least one slave terminal, such that the at least one slave terminal to the master terminal information synchronized playback according to the current state of play status.

[0009] 本发明还提供一种多终端协同播放媒体流的控制装置,包括: [0009] The present invention also provides a cooperative multi-terminal control apparatus playing media streams, comprising:

[0010] 接收模块,用于接收主控终端发送的当前播放状态信息; [0010] a receiving module, for receiving the current playback state information transmitted from the master terminal;

[0011] 发送模块,用于向至少一个从属终端发送所述当前播放状态信息,以使所述至少一个从属终端根据所述当前播放状态信息与所述主控终端同步播放状态。 [0011] transmitting means for transmitting the current playback state information to at least one slave terminal, such that the at least one slave terminal to the master terminal information synchronized playback according to the current state of play status.

[0012] 本发明提供的多终端协同播放媒体流的控制方法及装置,由控制装置接收主控终端发送的当前播放状态信息,使得至少一个从属终端获取所述当前播放状态信息,以使所述至少一个从属终端根据所述当前播放状态信息与所述主控终端同步播放状态,因此用户的多个终端之间可以同步播放媒体流,例如音频和视频在协同的多个终端上同步播放,使用户获得良好的视听效果。 [0012] The present invention provides a multi-terminal synergistic playback control method and apparatus of the media stream, the current playback state information transmitted by the control means receives the master terminal, such that the at least one slave terminal acquires the current playback state information, so that the at least one slave terminal according to the current state information and playing the master terminal synchronous play state, can be simultaneously broadcast media stream between a plurality of user terminals, such as audio and video synchronized playback of a plurality of terminals on a coordinated, so that users get a good visual effect.

附图说明 BRIEF DESCRIPTION

[0013]图1为本发明多终端协同播放媒体流的控制方法实施例一的流程图; [0013] FIG terminal control method more than one media stream is a flowchart of embodiments synergistic playback embodiment of the present invention;

[0014]图2为本发明多终端协同播放媒体流的控制方法实施例二的流程图; [0014] FIG multi-terminal control method for playing a media stream synergistic flowchart 2 of the present invention;

[0015]图3为本发明多终端协同播放媒体流的控制方法实施例三的流程图; [0015] FIG multi-terminal control method for playing a media stream synergistic flowchart of a third embodiment of the present invention;

[0016]图4为本发明多终端协同播放媒体流的控制方法实施例四的流程图; [0016] Figure 4 multi-terminal control method for playing a media stream synergistic flowchart of a fourth embodiment of the present invention;

[0017]图5为本发明多终端协同播放媒体流的控制方法实施例五的信令流程图; [0017] FIG. 5 multi-terminal control method for playing a media stream synergistic signaling flowchart according to a fifth embodiment of the present invention;

[0018]图6为本发明多终端协同播放媒体流的控制装置实施例一的结构示意图。 Playback control means cooperative media stream schematic structural diagram of a multi-terminal of the embodiment [0018] FIG. 6 of the present invention.

具体实施方式 Detailed ways

[0019]图1为本发明多终端协同播放媒体流的控制方法实施例一的流程图。 The method of controlling a media stream collaborative play a flow diagram embodiment of a multi-terminal [0019] FIG. 1 of the present invention. 如图1所示,该方法包括: As shown in FIG 1, the method comprising:

[0020] S101:接收主控终端发送的当前播放状态信息; [0020] S101: receiving a master current playback state information transmitted from the terminal;

[0021] 具体的,S101中由多终端协同播放媒体流的控制装置接收主控终端发送的当前播放状态信息。 [0021] Specifically, S101 currently played synergistically control means receives state information of the terminal main media stream transmitted by the multiple terminals.

[0022] S102:向至少一个从属终端发送当前播放状态信息。 [0022] S102: Send the current playback state information to at least one slave terminal.

[0023] 在S102中,由多终端协同播放媒体流的控制装置向至少一个从属终端发送当前播放状态信息,以使至少一个从属终端根据当前播放状态信息与主控终端同步播放状态。 [0023] In S102, the cooperative multi-terminal control apparatus displays the currently playing media stream transmission state information to at least one slave terminal, such that the at least one slave terminal and a master terminal synchronization information according to the current state of the player playing state.

[0024] 在S101和S102中,当前播放状态信息例如可以包括主控终端的播放时钟信息和与该播放时钟信息对应的播放进度信息。 [0024] In S101 and S102, the current playback status information may include playing the master clock information and the terminal information of the playback progress information corresponding to the playback clock, for example.

[0025] 具体来说,在已创建的播放任务中,主控终端可以播放媒体流的视频流,而从属终端可以播放该媒体流的音频流,或者主控终端和从属终端均可播放视频流;其中,主控终端在创建播放任务之前可以先向控制装置注册,获取注册标识号,在创建播放任务时,主控终端可以向控制装置发送创建播放任务请求,该请求中可以包含该主控终端的注册标识号及待创建的播放任务信息;控制装置根据待创建的播放任务信息生成播放任务标识,该播放任务标识代表一个完整的多媒体节目;由于一个多媒体节目包括不同的媒体流,例如音频流、视频流等,控制装置可以根据不同的媒体流细分生成一些播放任务子标识,从而使得用户通过主控终端能够选择该主控终端播放的媒体流,而且用户也可以在从属终端加入该播放任务时选择从属终端播放何种媒体流。 [0025] Specifically, in the player's task has been created, the master terminal can play streaming video stream, while a secondary terminal can play streaming audio of the media stream, or the master terminal and slave terminals can play streaming video ; wherein, before creating the master terminal may first control the play task registration means acquires identification number register, when creating a play task, the master terminal may send to the control means creates the play task request, which may comprise the host register the identification number of a terminal and displays the task information to be created; control apparatus according to the play task information generation player task identification to be created, the player task identifier representative of a complete multimedia program; as a multimedia program including different media streams, such as audio streams, video streams, etc., the flow control means may generate some play task subdivided depending on the sub-ID media, so that the user can select the master terminal of the master terminal plays the media stream, but may also be added to the user terminal in the dependent select slave terminal which streaming media player task.

[0026] 该创建播放任务请求被支持时,主控终端可以接收到控制装置发送的播放任务标识及主控权指示信息,同时控制装置还可以将播放任务标识与主控终端的注册标识号相关联存储,更具体的,若用户使用主控终端选择播放该多媒体节目的部分媒体流,如视频流,则控制装置可以将主控终端的注册标识号、多媒体节目的播放任务标识和该多媒体节目视频流的播放任务子标识相关联。 [0026] When the request is created to support the play task, the master terminal may receive the play information indicating mastership task identification and control device of the transmission while the control means can also register the identification number of the master terminal displays the task identity associated with the attached storage, and more specifically, when the user using the master terminal selects the portion of the media streaming multimedia program, such as a video stream, the control means may register the identification number of the master terminal, the multimedia player task identification program and the multimedia program play video stream to identify sub-tasks associated.

[0027] 主控终端创建播放任务之后,用户可通过至少一个从属终端向控制装置查询播放任务,需要说明的是,该从属终端在查询播放任务之前,需要在控制装置上进行注册获取注册标识号。 After the [0027] playback terminal creates the master task, the user terminal through at least one slave device to control the play task query should be noted that the slave terminal before playing a query task needs to sign up for a login identification number to the control device . 在查询到该播放任务后,用户可以在从属终端的用户界面上选择加入该播放任务。 After querying the player task, the user may select a user interface on the slave terminal added to the play task. 具体来说,该从属终端可以向控制装置发送加入请求,该加入请求可以包括从属终端的注册标识号及选择加入的播放任务标识,更具体的,如果用户需要该从属终端播放部分媒体流,则该加入请求中还可包括该播放任务的播放任务子标识。 In particular, the slave terminal may send a join request to the control device, the registration request may include the addition of an identification number of the slave terminal and identification tasks opted to play, more specifically, if the user needs to play the slave terminal part of the media stream, the join request it may also include a sub-task of the player's play task identification. 当该加入请求被允许后,控制装置可以将从属终端的注册标识号、播放任务标识,可选地,还包括播放任务子标识相关联。 When the join request is allowed, the control means may register the identification number of the slave terminal, the play task identifier, optionally, further comprising a sub-ID associated with the play task.

[0028] 至此,主控终端和从属终端均在同一个播放任务中,而且主控终端与从属终端均通过其注册标识号与播放任务标识相关联。 [0028] Thus, the master terminal and the slave terminals are playing in a same task, and the master terminal and the slave terminal identification numbers are registered with the player through the associated task ID. 控制装置可控制从属终端与主控终端同步播放多媒体节目。 The control device may control the master terminal and the slave terminal synchronous play the multimedia program. 以主控终端播放多媒体节目视频流,从属终端播放该多媒体节目的视频流为例,在第100个播放时钟到来时,主控终端所播放的视频流已播放到第1000帧;主控终端将当前播放状态信息,即“第100个时钟播放多媒体节目视频流的第1000帧”发送至多终端协同播放媒体流的控制装置,该播放状态信息中还可包括该主控终端的注册标识号;该控制装置可以根据该播放状态信息携带的主控终端注册标识号及与该注册标识号相关联的播放任务标识,查询到加入到该播放任务的其它从属终端的注册标识号,然后,控制装置可以将当前播放状态信息“第100个时钟播放多媒体节目视频流的第1000帧”发送至这些从属终端,这些从属终端根据该信息检查自身当前的播放状态;若从属终端在第100个时钟时播放与第1000帧对应的音频流,从属终端与主控终端继续同步播放;若从 In the master terminal plays multimedia program video stream, playback of the multimedia program slave terminal a video stream as an example, when the first clocking the player 100, the master terminal play video stream has been played to the first 1000; master terminal current playback state information, i.e., "playback of the multimedia program clock 100 of video stream 1000" to playback up to the terminal control means cooperative media stream, the playback state information may also include a login identification number of the master terminal; the the control means may play task identifier register ID number of the host terminal displays the status information carried in and associated with the registration identification number, registration query to the other slave terminal identification number added to the playback task, then, the control means may the current playback state information "of 1000 of 100 clock play a multimedia program video stream" is sent to the slave terminal, the slave terminal current playback state according to the information checking itself; if the slave terminal displays during the first 100 clocks and 1000 corresponding to the second audio stream, the master terminal and the slave terminal continues synchronous play; if the 属终端此时播放的是与视频流的第975帧或第1025帧对应的音频流,则从属终端自动调整播放状态,使自身当前播放与视频流的第1000帧对应的音频流。 At this time, the terminal belongs is played first 975 or the second audio stream 1025 corresponding to a video stream, the slave terminal automatically adjust the playback state, the current play itself and the second audio stream 1000 corresponding to a video stream. 需要说明的是,主控终端和从属终端所播放的媒体流既可以是在线媒体流也可以是离线媒体流。 Incidentally, the master terminal and the slave terminal displays the media stream may be either online or offline media stream may be a media stream. 对于在线媒体流来说,从属终端可以在线请求与主控终端播放的视频流同步的音频流,对于离线媒体流来说,从属终端和主控终端中均可以存储该对应的媒体流。 For online media stream, the slave terminal may request streaming online video and audio stream synchronized playback of the master terminal, for offline media stream, the master terminal and the slave terminal can be stored in the corresponding media stream.

[0029] 本实施例,通过控制装置接收主控终端发送的当前播放状态信息,并将当前播放状态信息发送给至少一个从属终端,从而使得至少一个从属终端可以根据当前播放状态信息与主控终端同步播放状态,从而实现了主控终端和从属终端之间的同步播放。 [0029] The embodiment of the present embodiment, and the current play state sent to the at least one slave terminal by the master current playback state information transmitted from the terminal apparatus receives control information, such that the at least one slave terminal and a master terminal may be information according to the current state of play synchronous playback state, thereby achieving the synchronized playback between the master terminal and the slave terminal.

[0030]图2为本发明多终端协同播放媒体流的控制方法实施例二的流程图。 The control method of a media stream playing synergistic flowchart second embodiment of a multi-terminal [0030] FIG. 2 of the present invention. 如图2所示,该方法包括: 2, the method comprising:

[0031] S201:接收主控终端发送的创建播放任务请求; [0031] S201: Creating the play task receiving terminal sends a request to the master;

[0032] 在S201中,控制装置可以接收主控终端发送的创建播放任务请求,该请求可以包括待创建的播放任务信息,例如待创建的播放任务的媒体节目的名称、访问地址等,还有该主控终端的注册标识号。 [0032] In S201, the control means may receive a request to create the master terminal sends a play task, the request may include information playback task to be created, such as the name of the media program play task to be created, an access address and the like, as well as registration identification number of the master terminal.

[0033] 在S201中,控制装置默认创建播放任务的终端为该播放任务的主控终端,后续加入该播放任务的终端即为从属终端,可选的,用户在多终端执行播放任务的过程中可让任意一个从属终端获取该播放任务的主控权,从而使该从属终端变为该播放任务的主控终端。 Terminal [0033] In S201, the control device for the task is created by default displays the play task master terminal, the subsequent addition of the player task is the slave terminal end, optionally, the user terminal performs the process of playing multi-task in a slave terminal allows any player to acquire the task of mastership, so that the slave becomes the master terminal end of the play task. 需要说明的是,用户在操作从属终端变为主控终端时,可以不需要征得主控终端的同 Incidentally, when the user becomes the master terminal operating the slave terminal, the master terminal may not need to obtain the same

O O

[0034] S202:确定是否支持协同播放,若支持,则执行步骤203,否则执行步骤204 ; [0034] S202: determining whether to support collaborative play, if supported, then step 203 is performed, otherwise step 204 is performed;

[0035] 具体的,控制装置可以根据其负荷能力及当前正在执行的播放任务数量等判断条件,判断控制装置控制能力是否可再支持所请求创建的播放任务;例如,控制装置的负荷能力限制控制装置可同时控制3个播放任务,若此时已有3个播放任务,主控终端再请求创建播放任务,则超过了控制装置的负荷能力;若此时控制的播放任务数量未达到3个,则支持。 [0035] Specifically, the control means may be based on their load capacity and the number of players and other tasks currently executing judgment condition determination control means control whether further support the playback of the requested task created; for example, the load capacity of the control apparatus limits the control 3 the control device can simultaneously play task, at this time if the player has three tasks, the master terminal then requests the creation of play task, the load capacity is exceeded the control device; control at this time if the number of the play task does not reach 3, It supports.

[0036] 可选的,控制装置还可以根据主控终端的能力信息及待创建的播放任务信息判断该主控终端是否有能力支持播放任务,该能力信息可以在主控终端向控制装置进行注册时发送给该控制装置。 [0036] Alternatively, the control device may also be determined according to the capability information of the master terminal and the playback information of the task to be created if the master terminal is capable of supporting play task, the master terminal capability information may be registered with the control device when transmitted to the control means.

[0037] S203:创建播放任务,向主控终端发送播放任务标识和主控权指示信息,并将播放任务标识与主控终端相关联; [0037] S203: create a play task, task identification and mastership sends a play instruction information to the master terminal, and the task of identifying the master terminal associated player;

[0038] 该创建播放任务请求被支持时,主控终端接收到控制装置发送的与创建的播放任务信息对应的播放任务标识及主控权指示信息,并且控制装置将播放任务标识与主控终端的注册标识号相关联。 When [0038] The request to create the play task is supported, the master device transmits a control terminal receiving the broadcast information indicating mastership task identification and the created playback information corresponding to the task, and the control means displays the task ID and the master terminal registration identification number associated.

[0039] S204:向主控终端发送不支持指示信息。 [0039] S204: Send the master does not support the indication information to the terminal.

[0040] 在实际生活中,为使用户付费接收的媒体流不被他人获取,主控终端和至少一个从属终端与控制装置通信时可以采用安全传送信息的方法,将发送的消息进行加密处理。 [0040] In real life, not being acquired to enable the user to pay others received media stream, at least one master terminal and the slave terminal when the communication control apparatus may employ a method of secure transmission of information, the message is sent encrypted. 因此在上述S201中,主控终端发送的创建播放任务请求可采用加密处理;若控制装置创建该播放任务,控制装置采用对称加密算法(例如离线椭圆曲线算法ECC)生成随机加密密钥和解密密钥,并使用用户的公钥加密解密密钥;在执行S203时,控制装置可以把加密后的解密密钥发送给主控终端。 Therefore, in the above-described step S201, the play task creating request sent by the master terminal may employ an encryption process; creates the task if the player control means, the control means using a symmetric encryption algorithm (e.g., off-line elliptic curve algorithm ECC) to generate a random encryption key thick reconciliation key, and encrypted using the public decryption key of the user; S203, when executed, the control means can send the encrypted decryption key to the master terminal. 该主控终端即可使用用户的私钥解密已被加密的解密密钥,从而获得解密后的解密密钥。 The master terminal can use the private key to decrypt the user has been encrypted decryption key, the decryption key to obtain a decrypted. 在主控终端获得解密密钥后,控制装置可向主控终端发送使用加密密钥加密的信息。 After the master terminal to obtain decryption key, the control device may send the information encrypted using the encryption key to the master terminal. 上述控制装置采用对称加密算法随机生成加密密钥和解密密钥,其中加密密钥和解密密钥可以相同;当主控终端接收到控制装置发送的使用加密密钥加密的信息,可使用解密密钥解密该加密信息,获取用于控制播放的信息,如播放任务标识。 Wherein the control means generates a random symmetric encryption algorithm using an encryption key and a decryption key, wherein the encryption key and the decryption key may be the same; when the master terminal receives the encrypted using an encryption key transmitted from the control information, using the decryption decrypting the encrypted key information, acquiring information for controlling playback such as playback task identity.

[0041] 在播放媒体流的过程中,主控终端向控制装置发送当前播放状态信息时,前述接收到的解密密钥此时可作为加密密钥,加密当前播放状态信息,然后将加密的播放状态信息发送给控制装置;控制装置接收到加密的播放状态信息,使用前述采用对称算法生成的加密密钥作为解密密钥,解密该加密的播放状态信息,获取主控终端当前的播放状态信息;控制装置可将解密后的主控终端当前的播放状态信息发送给从属终端,使其与主控终端同步播放媒体流;或者可以将加密的主控终端当前的播放状态信息直接发送给从属终端,从属终端使用解密密钥解密播放状态信息。 When [0041] In the process of playing the media stream, the master terminal sends the current status information to the playback control apparatus, the decryption key may be received at this time as an encryption key, encrypting the current playback state information, and the encrypted playback status information to the control device; and a control means for receiving the encrypted playback state information, the symmetrical algorithm using the generated encryption key as a decryption key, decrypting the encrypted playback state information, the master acquires current playback state information of the terminal; the control device may be decrypted master terminal current playback state information to the slave terminal, the master terminal synchronous play it with a media stream; or may be encrypted master terminal current playback state information directly to the slave terminal, slave terminal using the decryption key player status information. 在此说明,若至少一个从属终端可成功加入到当前的播放任务中,则所述至少一个从属终端在加入到当前播放任务的同时便获得了上述解密密钥。 In this description, if the at least one slave terminal can be successfully added to the current play task, then at least one slave terminal into the current task while playing the decryption key will be obtained.

[0042]图3为本发明多终端协同播放媒体流的控制方法实施例三的流程图。 The method of controlling a media stream collaborative play a flowchart according to a third embodiment of the multi-terminal [0042] FIG. 3 of the present invention. 如图3所示,该方法包括: As shown in FIG. 3, the method comprising:

[0043] S301:接收至少一个从属终端发送的加入请求,该加入请求中包含用户向至少一个从属终端输入的播放任务标识; [0043] S301: receiving at least one slave terminal transmits the join request, the request includes a user identifier added to the player task input at least one slave terminal;

[0044] 在S301中,控制装置可以接收至少一个从属终端发送的加入请求,该请求还携带播放任务标识和该从属终端的注册标识号,该加入请求用于请求加入主控终端当前的播放任务;具体来说,用户可以使用任意终端加入到主控终端已创建的播放任务中,则该终端即为该播放任务的从属终端。 [0044] In S301, the control means may receive a join request transmitted from the at least one slave terminal, the registration request further carries an identification number and the player task identification of slave terminal, the join request for requesting to join the current playback task master terminal ; specifically, the user can use any terminal into play task master terminal has been created, the terminal is the task of playing the slave terminal.

[0045] 用户使用该从属终端通过用户界面查看当前存在的播放任务;用户根据个人喜好选择加入某一播放任务,具体的,用户通过该从属终端在用户界面上查看到播放任务及该播放任务的信息,如媒体类型,播放任务标识等;若该终端为带有触控屏的终端,则用户可触摸选中要加入的播放任务,从而使该终端向控制装置发送包含播放任务标识的加入请求;可选的,用户在选中播放任务后,该终端的用户界面还可弹出该播放任务的具体的媒体类型,如视频流、音频流供用户选择,若用户不再进行选择,则控制装置接收到加入请求后认为该终端请求加入播放任务并播放该任务的全部媒体流;若用户选择播放的媒体类型,上述加入请求还可携带播放任务子标识;控制装置根据该播放任务子标识获知该终端请求加入播放该播放任务子标识对应的具体的媒体类 [0045] The user uses the play task to view the slave terminal currently exists through the user interface; join a user to select based on personal preferences play task, Specifically, the user to view on the user interface displays the tasks and the playing object is achieved by the slave terminal information, such as media type, the play task identification and the like; if the terminal is a terminal with a touch screen, the user may select to be added touch play task, so that the terminal transmits to the control apparatus comprises a request to join the play task identifier; Alternatively, after the user selected play task, the user interface of the terminal may also eject the player task specific media types, such as video stream, audio stream for the user to select, if the user is no longer selected, the control means receives after the join request to the terminal that requests to join a play task and play all media streams of the task; If the user selects the type of media player, said player task join request may further carry the sub-ID; playback control apparatus according to the known identifier of the terminal sub-task request Add the media-player play a particular sub-tasks corresponding to the identifier 型,例如该终端仅请求播放媒体流中的音频流。 Type, for example, the terminal only requests to play the audio stream in the media stream.

[0046] S302:判断是否支持该加入请求,若支持该加入请求,则执行S303,若不支持该加入请求,则执行S306 ; [0046] S302: determining whether to support the joining request, if the request is added to the support, S303 is executed, if the join request support, S306 is performed;

[0047] 在上述S302中,控制装置根据播放任务标识检查该播放任务在当前已被多少个从属终端同步播放,控制装置可以根据其负荷能力及当前同步该播放任务的从属终端数量等判断条件,判断控制装置控制能力是否可再支持该加入请求。 [0047] In the step S302, the control device has been how many slave terminal synchronous play in the current play task identification check the play task The control means may conditions based on their load capacity and quantity slave terminal currently synchronize the play task determination, determining whether the further control means controls the capability to support the join request.

[0048] 可选的,控制装置还可以根据从属终端的能力信息及请求加入的播放任务信息判断该从属终端是否有能力同步该播放任务,该能力信息可以在从属终端向控制装置进行注册时发送给该控制装置。 [0048] Alternatively, the control means may also be added to the request according to the capability information and the task information playback slave terminal determines whether the terminal is capable of synchronizing the slave play task, the capability information may be transmitted when the slave terminal registered with the control device to the control means. 例如,一个从属终端为音响设备,只具有播放音频的能力,该从属终端不能被允许加入同步播放只有视频的任务中;若控制装置不可以负荷和/或从属终端的能力信息表示该从属终端没有能力协同播放当前播放任务,则不支持上述加入请求。 For example, a slave terminal for the audio equipment, having only the ability to play audio, the slave terminal can not be allowed to join the synchronized playback of a video only task; If the control means can not load and / or the slave terminal capability information indicates that the terminal is not subordinate interoperability currently played task, adding the above request is not supported.

[0049] S303:向主控终端发送加入请求; [0049] S303: transmitting a join request to the master terminal;

[0050] S304:判断主控终端是否同意加入;若主控终端同意加入,则执行S305,若不同意加入,则执行S306 ; [0050] S304: judging whether the terminal agrees to join the master; the master terminal agrees if added, S305 is executed, not agree added, S306 is performed;

[0051] 控制装置在执行S303后,若控制装置接收到主控终端同意加入的响应消息,继续S305 ;若控制装置接收到主控终端不同意加入的响应消息,执行S306 ; [0051] After performing S303 in the control device, if the control device receives a response message to the master terminal agrees added, continue S305; if the master control device receives the terminal does not agree to join response message, performing S306;

[0052] S305:向至少一个从属终端发送接受加入的响应消息; [0052] S305: at least one slave terminal sends an acceptance response message to join;

[0053] 在执行S305时,控制装置向至少一个从属终端发送主控终端同意加入的响应消息时,控制装置可以将该从属终端的注册标识号与播放任务标识相关联,可选地,还可以将播放任务子标识相关联;使得控制装置接收到主控终端的播放状态信息后,可如S203中所述,查询到该播放状态信息归属的播放任务及加入该播放任务的至少一个从属终端,准确地将该播放状态信息发送给需要同步该播放任务的至少一个从属终端,以使至少一个从属终端与主控终端的播放状态同步。 When the [0053] S305, when executed, the control means transmits the master terminal agrees response message added to at least one slave terminal, the control means may register the identification number and the play task identity associated slave terminal, optionally, also be the player task associated with the sub-ID; after that the control device receives the playback state information of the master terminal, as may be the step S203, displays the status information inquiry to the home player task and at least one slave terminal is added to the player task, the playback accurately transmit status information to at least one slave terminal of the synchronized playback task required, that at least one slave terminal to the master playback status terminal synchronization.

[0054] S306:向至少一个从属终端发送拒绝加入的响应消息。 [0054] S306: transmitting the response message added to at least one slave terminal rejection.

[0055] 本发明提供的控制方法中,用户使用多个终端同步播放媒体流时,可选择任意一个终端作为主控终端创建播放任务,并控制加入该播放任务的从属终端的播放状态,如暂停、快进和后退,也可控制从属终端播放媒体流的某一部分媒体流,例如当用户选择电视终端作为主控终端,且该电视终端在控制装置上创建电影节目任务后,只播放电影节目的视频流,而加入该电影节目任务的从属终端手机则可以只选择播放电影节目任务的音频流。 [0055] The present invention provides a control method, a plurality of user terminals using synchronous play the media stream, select any player terminal creates a task as a master terminal and the slave terminal controls the playback state added the play task, such as suspension , fast forward and rewind, may control the slave terminal displays a portion of a media stream of the media stream, for example, when the user selects the television terminal as a master terminal, and the terminal of the television movies created task to the control device, only play the movies video stream, to join the movies task of the slave terminal handset you can choose to play only the audio stream movies task. 而电视终端可以将其当前播放状态信息上传到控制装置,控制装置再向手机发送电视终端的当前播放视频流的播放状态信息,从而使得手机可以根据该视频流的播放状态信息进行音频流的播放状态同步。 And the television terminal may upload its current playback state information to the control means, the control means again displays the status information of the mobile phone TV terminal transmits the currently playing video stream, so that the handset can be played according to the playing state of the audio stream of the video information stream state synchronization. 可以理解的是,电视终端和手机也可均播放视频流或者均播放音频流,或者均播放音视频流,本实施例不做限制。 It will be appreciated that the mobile phone TV terminal and are also play video stream or audio stream are playing, or play both audio and video streams, the present embodiment is not limiting embodiment.

[0056]图4为本发明多终端协同播放媒体流的控制方法实施例四的流程图。 Collaborative playback control method of a flowchart according to a fourth embodiment of a media stream of a multi-terminal [0056] FIG. 4 of the present invention. 如图4所示,该方法包括: 4, the method comprising:

[0057] S401:接收至少一个从属终端中的第一终端发送的用于获取播放任务的主控权的请求消息; [0057] S401: play task request message for acquiring mastership of the at least one slave terminal to receive a first transmission terminal;

[0058] 在S401中,控制装置接收至少一个从属终端中的第一终端发送的用于获取播放任务的主控权的请求消息;具体的,用户可通过第一终端在用户界面上选择获取主控权选项,第一终端便将获取播放任务主控权的请求消息发送至控制装置。 [0058] In S401, the control device receives a request message of the at least one slave terminal transmits a first terminal for acquiring mastership of the play task; in particular, the user may choose to obtain the master on the user interface through a first terminal a controller option, put the first terminal obtaining mastership play task request message to the control device.

[0059] S402:向第一终端发送主控权转移指示信息; [0059] S402: The first terminal sends the transition indication information mastership;

[0060] 在S402中,该主控权转移指示信息具体的可用一个信元标识来表示,获得该信元标识的终端即可变更为主控终端;当第一终端接收到控制装置发送的携带有上述信元标识后,该第一终端即可成为播放任务新的主控终端。 [0060] In step S402, the transfer of ownership that particular indication information element identifier may be used to represent a channel, the terminal obtains the identifier of the cell to change to a master terminal; and when the first terminal receives the transmitted control means carried after the above-described cell identifier, the first terminal to become the new master terminal play task.

[0061] S403:向原主控终端发送让权指示信息; [0061] S403: Let the original master terminal sends information indicating the right;

[0062] 原主控终端接收到让权指示信息后,便不再向控制装置发送当前播放状态信息,并开始接收新的主控终端的播放状态信息,与新的主控终端的播放状态同步。 [0062] the original master terminal, after receiving information indicating the right to make, it does not send status information to the control current playback apparatus, playback and begins receiving the new master terminal status information, the synchronization with the new master terminal of the playback state .

[0063] 控制装置执行S402和S403后,使得原从属终端中的第一终端成为当前播放任务新的主控终端,原主控终端成为当前播放任务的从属终端;在随后的播放任务中,所有从属终端可以根据新的主控终端的播放状态信息,调整自身播放状态,与新的主控终端同步播放状态。 [0063] The control device after performing S403 and S402, so that the first terminal of the primary slave terminal become the new master terminal play task, the original master terminal becomes a slave terminal is currently playing task; task in the subsequent playback, all the slave terminal can play the new master terminal state information, adjust its playback state, and the new master terminal sync playback.

[0064] 在实施例四中,加入播放任务中的任意一个从属终端均可获取播放任务的主控权,成为播放任务新的主控终端,该新的主控终端便可控制加入协同播放任务的多个终端,方便于用户对媒体流的控制播放,提供给用户较佳的播放体验。 [0064] In the fourth embodiment, the addition of any of a play task slave terminal can obtain mastership play task to become the new master terminal play task, the new master terminal can control the play task cooperative added a plurality of terminals, to facilitate user control of playing the media stream, to provide better playback experience to the user.

[0065]图5为本发明多终端协同播放媒体流的控制方法实施例五的信令流程图。 The control method of a media stream playing synergistic signaling flowchart according to a fifth embodiment of a multi-terminal [0065] FIG. 5 of the present invention. 如图5所示,该方法包括: 5, the method comprising:

[0066] S511:控制装置接收主控终端发送的注册请求; [0066] S511: control means receiving a registration request sent by the master terminal;

[0067] 在S511中,由控制装置接收注册请求,该请求包括主控终端的注册信息,其中注册信息包括:用户信息,控制装置根据用户信息可获知该主控终端的用户是否为合法用户,该用户信息具体为用户标识、用户证书等;注册请求还包括主控终端的标识,具体为设备标识,可以包含设备的当前能力,例如,是否可以播放视频、是否可以播放音频等。 [0067] In S511, a registration request received by the control means, the request includes the master registration information of the terminal, wherein the registration information includes: user information, the user information control device of the master terminal can know whether the user is a legal user, the user information includes a user ID, a user certificate; registration request further includes identification of the master terminal, the device specific identifier, the current capability of the device may comprise, for example, can play video, audio, etc. may not be played.

[0068] S512:控制装置根据主控终端的注册信息向主控终端返回处理结果; [0068] S512: control means returns the processing result to the master terminal according to the master registration information of the terminal;

[0069] 如果控制装置不支持请求,则控制装置向主控终端返回不支持的回复信息,然后中止后续操作。 [0069] If the control device does not support the request, the control means returns the reply information to the master terminal is not supported, then quenched subsequent operation.

[0070] 如果控制装置支持请求,则控制装置记录主控终端的注册信息,并生成注册标识号,控制装置将该注册标识号与S511中注册请求携带的能力信息等相关联并将注册标识号返回给主控终端,继续S513,随后该主控终端向控制装置发送各种请求时,携带该注册标识号;控制装置可通过注册标识号识别发送请求的终端,并根据注册标识号获取其能力信息,根据该能力信息判断是否支持该终端发送的请求;同时控制装置可根据注册标识号获知该主控终端当前的播放任务,也可根据注册标识号将信息准确的发送给注册标识号对应的终端。 [0070] If the device supports the control request, the host terminal registration information recording control means, and generating a login identification number, the registration control apparatus identification number and S511, the registration request carries capability information and a login identification number associated with when returned to the master terminal, to continue to S513, the master terminal then transmits various requests to the control device, carrying the identification number register; transmission request may be identified by a terminal identification number registration control apparatus, according to their ability to acquire and register identification number information, based on the capability information, whether the request sent by the terminal support; while the master control means is known currently playing terminal according to the registration task identification numbers, may also be accurate based on the registration information sent to the registered identification number corresponding to the identification number terminal.

[0071 ] S513,控制装置接收主控终端创建播放任务请求; [0071] S513, the master control device receives the terminal displays the created task request;

[0072] 主控终端向控制装置发送创建播放任务请求,该请求可以包括待创建的播放任务信息,例如待创建的播放任务的媒体节目的名称、访问地址等,还有该主控终端的注册标识号。 [0072] The master terminal transmits to the control means creating a play task request, the request may include information playback task to be created, for example, registered name of the media program play task to be created, an access address and the like, as well as the master terminal, Identification Number.

[0073] 控制装置默认创建播放任务的终端为该播放任务的主控终端,后续加入该播放任务的终端即为从属终端,可选的,用户在多终端执行播放任务的过程中可让任意一个从属终端获取该播放任务的主控权,从而使该从属终端变为该播放任务的主控终端。 Terminal [0073] The control device for the task is created by default displays the play task master terminal, the subsequent addition of the player task is the slave terminal end, optionally, the user terminal performs the process of playing a multi-task so that any one can be Mastership slave terminal acquires the playing task, so that the slave terminal becomes the master terminal of the playback task. 需要说明的是,用户在操作从属终端变为主控终端时,可以不需要征得主控终端的同意。 Incidentally, when the user becomes the master terminal operating the slave terminal, you may not require the consent of the master terminal.

[0074] S514,控制装置向主控终端返回处理结果;若支持,继续S515,否则不再进行后续操作; [0074] S514, the control unit returns the processing result to the master terminal; if supported, continues S515, otherwise no subsequent operations;

[0075] 控制装置向主控终端返回的处理结果是控制装置根据其负荷能力及当前正在执行的播放任务数量等判断条件,判断控制装置的控制能力是否可再支持所请求创建的播放任务;判断过程如上述S202中所述,在此不再赘述。 [0075] The master control means to the processing result is returned by the terminal control device which displays the load capacity and the number of other tasks currently executing judgment condition, judges whether the control device may control playback longer support the requested task created; Analyzing as the process S202 described above, are not repeated here.

[0076] S515,控制装置创建播放任务,向主控终端返回播放任务标识和主控权指示信息,并将播放任务标识与主控终端相关联; [0076] S515, the control means creates the play task, task identification and return mastership playback indication information to the master terminal, and the task of identifying the master terminal associated player;

[0077] 上述S515具体如S203中所述,在此不再赘述。 [0077] The above-described S203, the S515 particular, are not repeated here.

[0078] S516,控制装置接收主控终端发送的当前播放状态。 [0078] S516, the control means receives the current play state sent by the master terminal.

[0079] 当控制装置创建播放任务后,主控终端在执行播放任务时,不断的向控制装置发送当前播放状态信息。 [0079] When the control means creates the play task, the master terminal when performing playback task, the constant current to the control device transmits playback state information.

[0080]当至少一个从属终端要加入当前播放任务中时,从属终端向控制装置发送加入请求;本发明以一个从属终端为例,如图5所示,从属终端请求加入播放任务的方法包括: [0080] When at least one slave terminal to join the current playback task, the slave terminal transmits a join request to the control device; a slave terminal according to the present invention in an example shown in Figure 5, the slave terminal displays the added task request method comprising:

[0081] S521:控制装置接收从属终端发送的注册请求; [0081] S521: control means receiving a registration request sent by the slave terminal;

[0082] 在S521中的从属终端在执行播放任务之前,须在控制装置中进行注册,并接收控制装置生成的注册标识号。 [0082] In S521, the slave terminal before performing the play task, to be registered in the control device, the received registration identification number and the generated control means.

[0083] S521的具体实施过程如S511,在此不再赘述。 DETAILED process Embodiment [0083] S521 as S511, are not repeated here.

[0084] S522:控制装置根据从属终端的注册信息向从属终端返回处理结果; [0084] S522: control means returns the processing result to the slave terminal according to the registration information of the slave terminal;

[0085] 如果控制装置不支持请求,则向从属终端返回不支持的回复信息,然后中止后续操作。 [0085] If the control device does not support the request, the reply is returned to the slave terminal information is not supported, then terminates the subsequent operation.

[0086] 如果控制装置支持所述请求,则控制装置记录从属终端的注册信息,并生成注册标识号,控制装置将该注册标识号与S521中注册请求携带的能力信息等相关联、然后把注册标识号返回给从属终端,继续S523 ;随后该从属终端向控制装置发送各种请求时,携带该注册标识号;控制装置可通过注册标识号识别发送请求的终端,并根据注册标识号获取其能力信息,根据该能力信息判断是否支持该终端发送的请求;同时控制装置可根据注册标识号获知该从属终端当前的播放任务,也可根据注册标识号将信息准确的发送给注册标识号对应的终端。 [0086] If the control device to support the request, the slave terminal registration information recording control device, and generates a login identification number, the registration control apparatus identification number and the like S521, the capability information carried in the registration request is associated, then the register identification number back to the slave terminal, continues S523; then the slave terminal transmits various request carries the registration identification number to the control device; control transmission request may be identified by a terminal identification number registration means, according to their ability to acquire and register identification number information, based on the capability information, whether a support request sent by the terminal; while the control means can learn the current play task of the slave terminal according to the registration identification number, can also be accurately transmitted information according to the registration identification number to the registered identification number corresponding to the terminal .

[0087] S523:控制装置接收从属终端加入主控终端当前的播放任务的请求,该加入请求中包含用户向至少一个从属终端输入的播放任务标识; [0087] S523: control means for receiving slave terminal a request to join the current play task master terminal, the request includes a user identifier added to the player task input at least one slave terminal;

[0088] 从属终端在发送请求时将注册标识号、当前播放任务标识一起发送给控制装置,控制装置根据从属终端的注册标识号及当前播放任务标识判断是否支持从属终端加入到主控终端的播放任务中,具体如S301中所述,在此不再赘述。 [0088] When the slave terminal transmits a request to register the identification number, the play task identification with the current transmission to the control apparatus, the playback apparatus according to the registered identification number of the slave terminal and identification task determines whether the current playback enabled slave terminal into the master terminal control task, particularly as in the S301, is not repeated herein.

[0089] S524:控制装置向从属终端返回处理结果; [0089] S524: control means returns the processing result to the slave terminal;

[0090] 控制装置向从属终端返回的处理结果包括接收请求和拒绝请求,具体的处理结果可按照实施三中提供的方案来获得,在此不再赘述;其中处理结果如果为拒绝请求,则不再进行后续操作;若为接受请求,继续S525。 [0090] means to control the processing result returned from the slave terminal includes receiving a request and reject the request, specific processing results may be obtained according to the protocol provided in the three embodiments, which are not repeated herein; wherein if the result of the processing to reject the request, not then subsequent operations; if the request is accepted, continuing S525.

[0091] S525:控制装置将从属终端的请求信息发送给主控终端; [0091] S525: control means of the slave terminal to the master terminal a request to send information;

[0092] S526:控制装置接收主控终端返回的响应消息; [0092] S526: the master control device receives a response message returned by the terminal;

[0093] 控制装置将从属终端的请求信息发送给主控终端后,会接收到主控终端返回的响应消息;如果响应消息为不同意加入,控制装置向从属终端发送拒绝加入信息,同时停止后续操作;如果响应消息为同意加入,继续S527。 [0093] The control device requesting slave terminal after transmitting the information to the master terminal, the master will receive a response message returned by the terminal; disagree if the response message is added, to the slave terminal control means sends a reject message was added, and stop the subsequent operation; agreed that if the response message is added, continue to S527.

[0094] S527:控制装置向从属终端发送接受加入的响应消息; [0094] S527: control means send an accept message in response to the added slave terminal;

[0095] 具体的,如S305中所述,在此不再赘述。 [0095] Specifically, as in the S305, it is not repeated herein.

[0096] S528:控制装置向从属终端发送主控终端当前的播放状态。 [0096] S528: control means for transmitting the current state of play of the master terminal to the slave terminal.

[0097] 本发明多终端协同播放媒体流的控制方法实施例五通过一种多终端协同播放媒体流的控制方法,可使至少一个从属终端在主控终端执行播放任务时加入到当前播放任务中,同时使得至少一个从属终端获取主控终端当前播放状态信息,至少一个从属终端根据当前播放状态信息与主控终端同步播放状态,因此用户的多个终端之间可以同步播放媒体流,使用户获得较佳的视听感受。 [0097] The present invention is a multi-terminal synergistic media stream playback control method according to a fifth embodiment of a control method of a media stream by means of a multi-terminal cooperative play, the at least one slave terminal can be added to the task currently playing at the master terminal performs playback task , such that the at least one slave terminal simultaneously acquires current playback state information of the master terminal, the at least one slave terminal according to the current state of the terminal displays the synchronized playback with the master status information, it is possible to simultaneously broadcast media stream, allowing users access between a plurality of user terminals better visual experience.

[0098]图6为本发明多终端协同播放媒体流的控制装置实施例一的结构示意图。 Playback control means cooperative media stream schematic structural diagram of a multi-terminal of the embodiment [0098] FIG. 6 of the present invention. 如图6所示,该控制装置包括:接收模块601和发送模块602,其中接收模块601用于接收主控终端发送的当前播放状态信息;发送模块602用于向至少一个从属终端发送当前播放状态信息,以使至少一个从属终端根据当前播放状态信息与主控终端同步播放状态。 6, the control apparatus comprising: a receiving module 601 and a sending module 602, wherein the receiving module 601 receives a current playback state information transmitted from the master terminal; transmitting module 602 for transmitting at least a current playback state to the slave terminal information, such that the at least one slave terminal and a master terminal synchronization information according to the current state of the player playing state.

[0099] 接收模块601还用于接收主控终端发送的创建播放任务请求,该创建播放任务请求中包含待创建的播放任务信息;上述控制装置还包括创建模块603,用于创建与播放任务信息对应的播放任务,并向主控终端发送播放任务标识和主控权指示信息,并将该播放任务标识与该主控终端相关联。 [0099] The receiving module 601 is further configured to receive a request to create the play task sent by the master terminal, which creates the play task request includes information playback task to be created; said control means further includes a creation module 603 for creating and playing task information corresponding to the play task, and sends the master and the terminal displays the task identification information indicating mastership, and identifies the player task of the master terminal associated with.

[0100] 控制装置还包括确定模块604,当接收模块601接收到主控终端的创建播放任务请求时,控制装置的确定模块604用于确定是否支持协同播放;若支持协同播放,创建模块603创建播放任务;若不支持协同播放,向主控终端发送不支持指示信息。 [0100] The control device further includes a determining module 604, when the receiving module 601 receives a request to create a play task the master terminal, a control module 604 determining means for determining whether to support collaborative play; support cooperative if playback, creation module 603 creates the play task; if not support cooperative play, do not support the indication information transmitted to the master terminal.

[0101] 在主控终端执行播放任务时,用户的从属终端可请求加入当前播放任务,接收模块601还用于接收至少一个从属终端发送的加入请求;该加入请求中包含用户向至少一个从属终端输入的播放任务标识,发送模块602还用于向主控终端发送加入请求;在向主控终端发送加入请求后,若接收模块601接收到主控终端同意加入的响应消息,则发送模块602向至少一个从属终端发送接受加入的响应消息,并将播放任务标识与至少一个从属终端相关联;若接收模块601接收到主控终端不同意加入的响应消息,则发送模块602向至少一个从属终端发送拒绝加入的响应消息。 [0101] When the master displays the terminal performs tasks, slave terminal user may request to join the current play task receiving module 601 is further configured to receive a join request transmitted from the at least one slave terminal; added to the user request includes at least one slave terminal to entered the play task identifier, sending module 602 is further configured to send a join request to the master terminal; after sending join request to the master terminal, when the receiving module 601 receives a response message to the master terminal agrees added, the sending module 602 to at least one slave terminal transmits a response message receiving party, and playing the at least one task identity and the associated slave terminal; if the receiving module 601 receives a response to the master terminal does not agree to join message, the sending module 602 sends the at least one slave terminal rejection response message added.

[0102]当用户希望使用某个从属终端控制多个终端时,接收模块601还用于接收至少一个从属终端中的第一终端发送的用于获取播放任务的主控权的请求消息; [0102] When the user wishes to use a plurality of slave terminal control terminals, receiving module 601 is further configured to receive a request message of the at least one slave terminal transmits a first terminal for acquiring mastership of the play task;

[0103] 发送模块602还用于向第一终端发送主控权转移指示信息,以使该第一终端变为新的主控终端;向原主控终端发送让权指示信息,以使原主控终端变为从属终端。 [0103] The sending module 602 is further configured to send a first terminal mastership transition indication information, so that the first terminal becomes a new master terminal; original master terminal sends information indicating the right to make, so that the original master terminal becomes a slave terminal. 具体的,上述控制装置中的各个模块在多终端协同播放媒体流的过程中对应前述方法实施例一至实施例五,在此不再赘述。 Specifically, the control device in each module in a multi-player terminal synergistic foregoing method embodiments of the process media stream corresponding to a fifth embodiment, which is not repeated herein.

[0104] 本发明多终端协同播放媒体流控制装置实施例一中,提供的控制装置中的接收模块可接收主控终端发送的播放状态信息;发送模块可将播放状态信息发送给至少一个从属终端,使得用户的多个多媒体终端能够同步播放媒体流;另外发送模块、接收模块、创建模块和确定模块共同工作,提供给用户较佳的视听感受。 [0104] The present invention is a multi-terminal cooperative play a media stream control means in the embodiment embodiment, the control device provided in the receiving module may receive the master terminal displays the status information transmitted; transmitting module may transmit the status information to play the at least one slave terminal , so that the user terminal can synchronize a plurality of multimedia play the media stream; Furthermore transmitting module, receiving module, a creation module and a determination module work together to provide a better user viewing experience.

[0105] 本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。 [0105] Those of ordinary skill in the art will be appreciated that: each of the foregoing methods may be accomplished relevant hardware by a program instructing all or part of the steps of FIG. 前述的程序可以存储于一计算机可读取存储介质中。 The program may be stored in a computer readable storage medium. 该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:R0M、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 When the program is executed, comprising the step of performing the above-described method of the embodiment; and the storage medium comprising: a variety of medium may store program codes R0M, RAM, magnetic disk, or optical disk.

[0106] 最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0106] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (6)

1.一种多终端协同播放媒体流的控制方法,其特征在于,包括: 接收主控终端发送的当前播放状态信息; 向至少一个从属终端发送所述当前播放状态信息,以使所述至少一个从属终端根据所述当前播放状态信息与所述主控终端同步播放状态; 所述接收所述主控终端发送的当前播放状态信息之前,还包括: 接收所述主控终端发送的创建播放任务请求,所述创建播放任务请求中包含待创建的播放任务ig息; 创建与所述播放任务信息对应的播放任务,并向所述主控终端发送播放任务标识、播放任务子标识和主控权指示信息,并将所述播放任务标识、播放任务子标识与所述主控终端相关联;所述播放任务标识代表一个完整的多媒体节目,向所述主控终端发送的播放任务子标识代表所述多媒体节目的视频流; 所述向至少一个从属终端发送所述当前播放状态信 A multi-terminal cooperative playback control method of a media stream, characterized by comprising: receiving a current playback state information transmitted from the master terminal; transmitting the current playback state information to at least one slave terminal, such that the at least one the master and slave terminal information of the terminal state based on the current synchronous play playing state; before receiving the current playback state information transmitted from the master terminal, further comprising: creating the play task request sent by a terminal receiving the master the Create request includes a play task information to be created ig play task; creating the play task information corresponding to the play task, and the master terminal sends a play task identification, player identification and the sub-task indicating mastership information, and the play task identification, player identification and the sub-tasks associated with the master terminal; the play task identification represents a complete multimedia program, the play task on behalf of the sub-ID sent to the terminal of the master multimedia program video stream; said at least one slave terminal to send the current playback status signals 之前,还包括: 接收所述至少一个从属终端发送的加入请求,所述加入请求中包含用户向所述至少一个从属终端输入的所述播放任务标识和播放任务子标识;其中,用户向所述至少一个从属终端输入的播放任务子标识代表所述多媒体节目的音频流; 向所述主控终端发送所述加入请求; 若接收到所述主控终端同意加入的响应消息,则向所述至少一个从属终端发送接受加入的响应消息,并将所述用户向所述至少一个从属终端输入的播放任务标识、所述用户向所述至少一个从属终端输入的播放任务子标识与所述至少一个从属终端相关联; 若接收到所述主控终端不同意加入的响应消息,则向所述至少一个从属终端发送拒绝加入的响应消息。 Before, further comprising: receiving a request to join at least one slave terminal sent by the player is added to the play task and sub task identification request contains the user to input the at least one slave terminal identifier; wherein a user of the at least one slave terminal displays the input task identifier representative of the sub audio stream of the multimedia program; the master terminal sends the join request; if the master terminal receives the response message added to agree, then at least to the the play task a sub-ID of the slave terminal transmits a response message receiving party, the player task and the at least one user input to the slave terminal identifier, the at least one slave terminal user input to the at least one slave associated with the terminal; if the master terminal receives the response message does not agree to join, to the at least one slave terminal transmits a response message added rejection.
2.根据权利要求1所述的方法,其特征在于,所述创建与所述播放任务信息对应的播放任务之前,还包括: 确定是否支持协同播放; 所述创建与所述待创建的播放任务信息对应的播放任务,包括: 若支持协同播放,则创建所述播放任务; 若不支持,则所述方法,还包括: 向所述主控终端发送不支持指示信息。 The task of creating the play to be created; determining whether to support collaborative play: 2. The method according to claim 1, wherein, prior to said playback information corresponding to the task creation and the play task, further comprising information corresponding to the play task, comprising: if the support collaborative play, the play task is created; if not supported, the method further comprising: transmitting indication information is not supported to the master terminal.
3.根据权利要求1所述的方法,其特征在于,还包括: 接收所述至少一个从属终端中的第一终端发送的用于获取所述播放任务的主控权的请求消息; 向所述第一终端发送主控权转移指示信息,以使所述第一终端变为主控终端; 向所述主控终端发送让权指示信息,以使所述主控终端变为从属终端。 3. The method according to claim 1, characterized in that, further comprising: receiving the at least one slave terminal transmits a first terminal for acquiring mastership of the play task request message; to the the first terminal transmits information indicating mastership transfer, so that the first terminal becomes the master terminal; transmitting to the master terminal allows the right indication information, so that the slave terminal becomes the master terminal.
4.一种多终端协同播放媒体流的控制装置,其特征在于,包括: 接收模块,用于接收主控终端发送的当前播放状态信息; 发送模块,用于向至少一个从属终端发送所述当前播放状态信息,以使所述至少一个从属终端根据所述当前播放状态信息与所述主控终端同步播放状态; 所述接收模块,还用于接收所述主控终端发送的创建播放任务请求,所述创建播放任务请求中包含待创建的播放任务信息; 所述控制装置,还包括: 创建模块,用于创建与所述播放任务信息对应的播放任务,并向所述主控终端发送播放任务标识、播放任务子标识和主控权指示信息,并将所述播放任务标识、播放任务子标识与所述主控终端相关联;所述播放任务标识代表一个完整的多媒体节目,向所述主控终端发送的播放任务子标识代表所述多媒体节目的视频流; 所述接收模块,还 A multi-terminal control apparatus coordinated playback media streams, characterized by comprising: receiving means for receiving the current status of the master terminal transmits the playing information; transmitting means for transmitting the at least one slave terminal to said current playback state information to the at least one slave terminal to the master terminal synchronization information according to the current state of play playing state; the receiving module is further configured to create playlists receiving task requests sent by the master terminal, the player task information contained in the request to create the play task to be created; said control means further comprising: a creation module, used to create the play task information corresponding to the play task, the master terminal transmits to the play task identification, player identification and the sub-tasks mastership indication information, and the play task identification, player identification and the sub-tasks associated with the master terminal; the play task identification represents a complete multimedia program, to the main the play task on behalf of the sub-ID of the control terminal transmitting the multimedia program video stream; the receiving module is further 用于接收所述至少一个从属终端发送的加入请求,所述加入请求中包含用户向所述至少一个从属终端输入的所述播放任务标识和播放任务子标识;其中,用户向所述至少一个从属终端输入的播放任务子标识代表所述多媒体节目的音频流; 所述发送模块,还用于向所述主控终端发送所述加入请求;若所述接收模块接收到所述主控终端同意加入的响应消息,则向所述至少一个从属终端发送接受加入的响应消息,并将所述用户向所述至少一个从属终端输入的播放任务标识、所述用户向所述至少一个从属终端输入的播放任务子标识与所述至少一个从属终端相关联; 若所述接收模块接收到所述主控终端不同意加入的响应消息,则向所述至少一个从属终端发送拒绝加入的响应消息。 Receiving a request for joining the at least one slave terminal sent by the player is added to the play task and sub task identification request contains the user to input the at least one slave terminal identifier; wherein said at least one slave user to input terminal identification play task on behalf of the sub-audio stream of the multimedia program; the sending module is further configured to send the join request to the master terminal; if the receiving module receives the master terminal agrees added the response message is sent to the at least one slave terminal in response to receiving the message added, and the at least one slave terminal user to input the play task identifier, the user at least one slave terminal to said input playback sub task identifier and the associated at least one slave terminal; if the receiving module receives the master terminal does not agree to join response message, the at least one slave terminal to the response message transmission rejection was added.
5.根据权利要求4所述的控制装置,其特征在于,还包括: 确定模块,用于确定是否支持协同播放; 所述创建模块,具体用于若支持协同播放,则创建所述播放任务,若不支持协同播放,则向所述主控终端发送不支持指示信息。 The control apparatus according to claim 4, characterized in that, further comprising: a determining module, for determining whether to support collaborative play; a creating module, configured to support cooperative if playback, the play task is created, if support collaborative play, do not support the indication information is transmitted to the master terminal.
6.根据权利要求4所述的控制装置,其特征在于, 所述接收模块,还用于接收所述至少一个从属终端中的第一终端发送的用于获取所述播放任务的主控权的请求消息; 所述发送模块,还用于向所述第一终端发送主控权转移指示信息,以使所述第一终端变为主控终端,向所述主控终端发送让权指示信息,以使所述主控终端变为从属终端。 6. The control apparatus according to claim 4, wherein the receiving module is further configured to obtain the play task for receiving the at least one slave terminal of the first terminal transmitted mastership request message; the sending module is further configured to send mastership transition indication information to the first terminal, so that the first terminal becomes the master terminal transmits to the master terminal allows the right indication information, so that the slave terminal becomes the master terminal.
CN201210487142.6A 2012-11-26 2012-11-26 Method and apparatus for controlling a multi-media stream playing terminal cooperative CN102970589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210487142.6A CN102970589B (en) 2012-11-26 2012-11-26 Method and apparatus for controlling a multi-media stream playing terminal cooperative

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210487142.6A CN102970589B (en) 2012-11-26 2012-11-26 Method and apparatus for controlling a multi-media stream playing terminal cooperative

Publications (2)

Publication Number Publication Date
CN102970589A CN102970589A (en) 2013-03-13
CN102970589B true CN102970589B (en) 2016-03-30

Family

ID=47800407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210487142.6A CN102970589B (en) 2012-11-26 2012-11-26 Method and apparatus for controlling a multi-media stream playing terminal cooperative

Country Status (1)

Country Link
CN (1) CN102970589B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791922A (en) * 2013-04-28 2016-07-20 青岛海信移动通信技术股份有限公司 Media player control method and device
CN103561356B (en) * 2013-05-31 2017-06-06 华为技术有限公司 Multi-terminal synchronous playback method and apparatus
CN103391473A (en) * 2013-07-12 2013-11-13 北京小米科技有限责任公司 Methods and devices for providing and acquiring audios and videos
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
CN103475917A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for synchronizing play information
CN104660649A (en) * 2013-11-25 2015-05-27 乐视网信息技术(北京)股份有限公司 Method, terminal and system for terminal transmission data in P2P system
CN103596017B (en) * 2013-11-28 2017-02-15 小米科技有限责任公司 A video download method and system
CN104811582A (en) 2014-01-28 2015-07-29 华为技术有限公司 A method and device for playing multiple intelligent devices synchronously
CN103796061A (en) * 2014-03-03 2014-05-14 上海美琦浦悦通讯科技有限公司 System and method for achieving synchronized broadcast and control of media files in multiple intelligent terminals
CN103873739B (en) * 2014-03-14 2017-10-17 中央电视台 Cooperative multi-device control method and apparatus
CN104618785B (en) * 2014-04-16 2018-01-05 腾讯科技(北京)有限公司 Audio and video playback method, apparatus and system for
CN104104889B (en) * 2014-07-25 2017-10-03 中国科学技术大学 Multi-screen sports and collaborative content changes implement new media advertising system and method
CN106303648A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Method and device for synchronously playing multimedia data
CN105187940B (en) * 2015-07-29 2018-05-29 广东欧珀移动通信有限公司 Species playlist playback system switching control method and apparatus
CN105468360B (en) * 2015-11-17 2018-09-21 南京邮电大学 A method for intercepting data to third-party audio player
CN105472429A (en) * 2015-11-21 2016-04-06 惠州Tcl移动通信有限公司 Method and system of synchronizing television program remotely
CN105578248A (en) * 2015-12-30 2016-05-11 Tcl新技术(惠州)有限公司 Fancy splicing playing method, device and system
CN107819809A (en) * 2016-09-14 2018-03-20 京东方科技集团股份有限公司 Method and device for synchronously operating contents
CN106254903B (en) * 2016-10-08 2017-10-24 广东欧珀移动通信有限公司 A method of synchronizing multimedia data playback apparatus and system
CN106507202A (en) * 2016-11-11 2017-03-15 传线网络科技(上海)有限公司 Play control method and device
CN106658136A (en) * 2016-12-29 2017-05-10 北京小米移动软件有限公司 Smart TV control method and apparatus
CN106604065A (en) * 2016-12-30 2017-04-26 中广热点云科技有限公司 System and method for realizing multi-screen video playing in same screen

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN101212823A (en) * 2006-12-25 2008-07-02 索尼株式会社 Content playback system, playback device, playback control method and program
CN101583018A (en) * 2009-06-03 2009-11-18 中兴通讯股份有限公司 Method and system for unified management of channel service and services on demand of streaming media
CN101729176A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method, system and device for synchronizing authentication information in broadcasting service
CN101998146A (en) * 2009-08-10 2011-03-30 中兴通讯股份有限公司 Media recommendation method, media control method and user gateway
CN102647621A (en) * 2012-04-28 2012-08-22 武汉兴图新科电子股份有限公司 Video synchronous playback device and method
CN102656894A (en) * 2011-11-28 2012-09-05 华为技术有限公司 Implementation method and system for mobile stream media

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6834308B1 (en) * 2000-02-17 2004-12-21 Audible Magic Corporation Method and apparatus for identifying media content presented on a media playing device
JP4441874B2 (en) * 2005-02-24 2010-03-31 ソニー株式会社 The information processing system, the reproducing terminal apparatus and reproducing method, an information processing apparatus and method, and program
CN101132474A (en) * 2006-08-25 2008-02-27 联想(北京)有限公司 Method and system for implementing audio-visual contents playing by multiple mobile terminals

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212823A (en) * 2006-12-25 2008-07-02 索尼株式会社 Content playback system, playback device, playback control method and program
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN101729176A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method, system and device for synchronizing authentication information in broadcasting service
CN101583018A (en) * 2009-06-03 2009-11-18 中兴通讯股份有限公司 Method and system for unified management of channel service and services on demand of streaming media
CN101998146A (en) * 2009-08-10 2011-03-30 中兴通讯股份有限公司 Media recommendation method, media control method and user gateway
CN102656894A (en) * 2011-11-28 2012-09-05 华为技术有限公司 Implementation method and system for mobile stream media
CN102647621A (en) * 2012-04-28 2012-08-22 武汉兴图新科电子股份有限公司 Video synchronous playback device and method

Also Published As

Publication number Publication date
CN102970589A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
US8880714B2 (en) Method and system for use in coordinating multimedia devices
CN103959323B (en) Methods and systems for sharing media
CN101502111B (en) Synchronized media experience
CN100371921C (en) Synchronous media playback method and terminal
KR101732057B1 (en) Method and device for providing user input back channel in the system Av
US8997169B2 (en) System, method, and infrastructure for synchronized streaming of content
CN104584061B (en) The system provides a list of all the sources for playback guest access, methods, apparatus and articles of manufacture
CN102656898B (en) Automatic media asset update over an online social network
US8775647B2 (en) Method and system for use in coordinating multimedia devices
US8467275B2 (en) System and method for sharing user content through a set-top box
KR20110056288A (en) Device dependent delivery in a local area network
CN104115466A (en) Wireless display with multiscreen service
US8688841B2 (en) System and method for content rights based on existence of a voice session
KR20050095769A (en) Communication system and method, information processing apparatus and method, information managing apparatus and method, recording medium, and program
JP6161791B2 (en) Private queue for media playback system
JP2014519729A (en) Playback control of the content on the display device
CN102866828B (en) A terminal control method and apparatus
JP5310824B2 (en) Transmission management device, program, transmission management system and transmission management method
CN106664300A (en) Cloud queue access control
US9538237B2 (en) Multi-screen interaction method and system
WO2007126718A3 (en) System and method for identifying common media content
KR101573333B1 (en) Content sharing service providing method and apparatus
CN1542667A (en) Content using management system, content using management method and client equipment
CN101795269B (en) Presence information sharing apparatus, method, program and system
CN101238730A (en) Framework for providing digital home services

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model