WO2012122901A2 - 同步hs终端设备之间媒体播放的方法 - Google Patents

同步hs终端设备之间媒体播放的方法 Download PDF

Info

Publication number
WO2012122901A2
WO2012122901A2 PCT/CN2012/071867 CN2012071867W WO2012122901A2 WO 2012122901 A2 WO2012122901 A2 WO 2012122901A2 CN 2012071867 W CN2012071867 W CN 2012071867W WO 2012122901 A2 WO2012122901 A2 WO 2012122901A2
Authority
WO
WIPO (PCT)
Prior art keywords
synchronization
terminal device
server
configuration
media
Prior art date
Application number
PCT/CN2012/071867
Other languages
English (en)
French (fr)
Other versions
WO2012122901A3 (zh
Inventor
田永辉
张仁宙
石腾
吴凌燕
袁卫忠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012122901A2 publication Critical patent/WO2012122901A2/zh
Publication of WO2012122901A3 publication Critical patent/WO2012122901A3/zh

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, apparatus and system for media playback between synchronized HS terminal devices in the field of communications.
  • Social TV is a hot spot in TV development and was named one of the top 10 innovative technologies of 2010 by the MIT Technology Review.
  • An important business in social TV is called "Watching apart together”. Through this service, multiple users from different places can watch the same channel or program, and communicate with each other through text, voice and even video. In order to simulate a scene in which a group of friends in the real environment enjoy watching the program.
  • This service requires that the content of the screen played on each terminal device is synchronized, especially when watching a sports game or guessing a program, if the playback progress between users watching together is different, then this will greatly affect the users. Communication experience. For example, when a user cheers for a goal, if another user sees that the player is preparing to shoot because of the difference in playback progress, then this will inevitably lead to a poor communication experience between the two.
  • HTTP Hypertext Transfer Protocol streaming
  • HS HyperText Transfer Protocol streaming
  • the terminal device In the HTTP streaming system, the terminal device first obtains a Media Presentation Description (MPD) list, and then according to the Uniform Resource Locator ("URL") of the fragment in the MPD.
  • MPD Media Presentation Description
  • URL Uniform Resource Locator
  • the information requests the corresponding content fragmentation, thereby starting to play the media.
  • the playback of the media may be out of synchronization due to different playback delays, thereby seriously affecting the user experience of the co-viewing service.
  • an embodiment of the present invention provides a method for synchronizing media playback between HS terminal devices and The device can maintain synchronization between a plurality of co-viewing HS terminal devices, thereby improving the user experience of the co-viewing service.
  • the embodiment of the present invention provides a method for synchronizing media playback between HS terminal devices, the method comprising: receiving synchronization state information sent by the terminal device according to a synchronization configuration; determining synchronization setting parameters according to the synchronization state information; The terminal device sends a synchronization indication including the synchronization setting parameter, so that the terminal device plays the media according to the synchronization indication.
  • an embodiment of the present invention provides a method for synchronizing media playback between HS terminal devices, the method comprising: sending synchronization state information to the server according to a synchronization configuration; receiving a synchronization indication sent by the server, the synchronization indication And including a synchronization setting parameter determined by the server according to the synchronization status information; playing the media according to the synchronization indication.
  • an embodiment of the present invention provides a server for synchronizing media playback between HS terminal devices, where the server includes: a first receiving module, a first determining module, and a first sending module, where the first receiving module And the first determining module is configured to determine, according to the synchronization state information, a synchronization setting parameter, where the first sending module is configured to send, to the terminal device, the synchronization setting parameter. Synchronization indication.
  • the embodiment of the present invention provides a terminal device for synchronizing media playback between HS terminal devices, where the terminal device includes: a first sending module, a first receiving module, and a playing module, where the first sending module And the sending, by the first receiving module, the synchronization indication sent by the server, where the synchronization indication includes a synchronization setting parameter determined by the server according to the synchronization state information; Playing the media according to the synchronization indication.
  • an embodiment of the present invention provides a system for synchronizing media playback between HS terminal devices, the system including a server and a terminal device according to an embodiment of the present invention.
  • the server includes: a first receiving module, a first determining module, and a first sending module, where the first receiving module is configured to receive synchronization state information that is sent by the terminal device according to the synchronization configuration; the first determining module is configured to use the synchronization The status information determines a synchronization setting parameter; the first sending module is configured to send a synchronization indication including the synchronization setting parameter to the terminal device.
  • the terminal device includes: a first sending module, a first receiving module, and a playing module, where the first sending module is configured to send synchronization state information to the server according to the synchronization configuration; the first receiving module is configured to receive the sending by the server a synchronization indication, the synchronization indication includes a synchronization setting parameter determined by the server according to the synchronization status information; the playback module is configured to use the synchronization Indicates to play the media.
  • the method, the device and the system according to the embodiments of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby Can significantly improve the user experience of co-viewing business.
  • FIG. 1 is a schematic diagram of a method of synchronizing media playback between HS terminal devices according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for synchronizing media playback between HS terminal devices according to another embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for synchronizing media playback between HS terminal devices according to still another embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a method for synchronizing media playback between HS terminal devices according to still another embodiment of the present invention.
  • FIG. 5 is a sequence diagram of inviting a friend to join a program being watched according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a data structure of a hypertext transfer protocol streaming download
  • FIG. 7 is a timing diagram of inviting a friend to join a program that has not started yet, according to another embodiment of the present invention.
  • FIG. 8 is a timing diagram of a program being actively joined to a sync group being viewed according to still another embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a server for synchronizing media playback between HS terminal devices according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a server for synchronizing media playback between HS terminal devices according to another embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a terminal device for synchronizing media playback between HS terminal devices according to an embodiment of the present invention
  • FIG. 12 is a diagram for synchronizing media playback between HS terminal devices according to another embodiment of the present invention. Schematic diagram of the terminal device;
  • Figure 13 is a schematic diagram of a system for synchronizing media playback between HS terminal devices in accordance with an embodiment of the present invention.
  • the method 100 includes:
  • the server receives synchronization status information transmitted by the HS terminal device according to the synchronization configuration.
  • the synchronization status information is determined according to the synchronization configuration for defining a configuration parameter of the HS terminal device to perform a synchronous viewing operation, such as a synchronization start time, etc., and the HS terminal device can correctly perform the synchronization operation according to the configuration parameter.
  • the synchronization configuration may include any one of a synchronization period, a synchronization start time, a playback start time, and a broadcast location, where the synchronization period refers to a period in which the HS terminal devices perform a synchronization operation.
  • the synchronization configuration may include only the synchronization period, whereby different HS terminal devices may synchronize at the same period from the time when the synchronization configuration is received, thereby achieving synchronization of media playback.
  • the synchronization configuration may also include any combination of the above configuration parameters.
  • the synchronization configuration may include a synchronization period and a synchronization start time, and synchronization of media playback may also be implemented.
  • the server determines a synchronization setting parameter based on the synchronization status information. After receiving the synchronization status information sent by the HS terminal device, the server determines, according to the synchronization status information, a parameter for synchronizing the HS terminal device, that is, a synchronization setting parameter, so that the HS terminal device adjusts the media play according to the synchronization setting parameter, thereby Synchronize media playback.
  • the synchronization setting parameter may include a playback delay time or a playback fast forward time, where the playback delay time is used to indicate a time when the HS terminal device should delay playback, and the playback fast forward time is used to indicate that the HS terminal device should fast forward The time of playback.
  • the synchronization setting parameter may further include a location that should be played at the same time, such as a Network Time Protocol (referred to as " ⁇ ") time and a presentation time (Composition Time, referred to as "CT”), for Instructing the HS terminal device to play the specified position (ie, the CT parameter) at a specified time point (ie, the value of the NTP parameter) The value of the media).
  • Network Time Protocol
  • CT Presentation Time
  • the server may determine the time when the first HS terminal device plays the delay, and the server may also determine the time when the second HS terminal device plays the fast forward, and The server can also determine the location that the first HS terminal device and the second HS terminal device should play at the same time, so that the media playback can be synchronized.
  • the server sends a synchronization indication including the synchronization setting parameter to the terminal device, so that the terminal device plays the media according to the synchronization indication.
  • the server may send a synchronization indication to the terminal device, where the synchronization indication includes the synchronization setting parameter, so that the terminal device can play the speed according to the synchronization indication. Time, etc. are adjusted to achieve synchronization of media playback.
  • the server may send the synchronization indication to the HS terminal device in the form of an HTTP response.
  • the method of the embodiment of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly enhancing co-viewing. User experience of the business.
  • the synchronization configuration may be pre-stored in each HS terminal device, or may be sent by the server to the HS terminal device. Therefore, before the server receives the synchronization status information sent by the terminal device according to the synchronization configuration, the method 100 according to the embodiment of the present invention may further include: the server sending the synchronization configuration to the terminal device.
  • the server sends a synchronization configuration to the HS terminal device according to the request of the HS terminal device, and the server may send a synchronization configuration to the HS terminal device by using a response message responding to the request.
  • the server may further send the updated synchronization configuration to the HS terminal device by using the synchronization indication sent to the HS terminal device, that is, the synchronization indication may include the synchronization setting parameter and the updated synchronization configuration.
  • the server may perform authentication processing on the HS terminal device, and send the synchronization configuration to the HS terminal device that is authenticated, as shown in FIG. 2 .
  • the method 200 includes:
  • the server receives a synchronization initialization request sent by the HS terminal device.
  • the synchronization initialization request may carry the group number of the synchronization group and the content identifier to be synchronized. If you need to create a synchronization group, you can assign the synchronization group number to zero to indicate that a synchronization group number is requested.
  • the synchronization The initialization request can take the form of an HTTP request message.
  • the server determines that the terminal device passes the authentication. For example, the server may determine whether the user has the right to view the service synchronously according to the terminal device identifier or the user identifier carried by the terminal device. Similarly, the server may determine, according to the synchronization content identifier carried by the terminal device, whether the user has the content to view the content. Permissions.
  • the server sends a synchronization configuration to the terminal device by using a synchronization initialization response message that responds to the synchronization initialization request. After the terminal device passes the authentication, the server sends a synchronization configuration to the terminal device by synchronizing the initialization response message. If the HS terminal device also requests to create a synchronization group, the server assigns a synchronization group number, and the server can send the synchronization group number to the HS terminal device along with the synchronization configuration in the form of an HTTP response message.
  • the server receives synchronization status information that is sent by the terminal device according to the synchronization configuration.
  • the server determines a synchronization setting parameter according to the synchronization status information.
  • the server sends a synchronization indication including the synchronization setting parameter to the terminal device, so that the terminal device plays the media according to the synchronization indication.
  • the method of the embodiment of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly enhancing co-viewing. User experience of the business.
  • FIG. 3 shows a schematic diagram of a method 300 of synchronizing media playback between HS terminal devices in accordance with yet another embodiment of the present invention. As shown in FIG. 3, the method 300 includes:
  • the HS terminal device sends the synchronization status information to the server through the synchronization configuration.
  • the synchronization configuration may be obtained by requesting the HS terminal device from the server, or may be obtained by directly sending the server, or may be obtained by the HS terminal device querying on the local device. According to the synchronization configuration, the HS terminal device can report the synchronization status information to the server.
  • the synchronization state information may include a current play situation, and may also include a current play preparation situation.
  • the current play situation includes a current play point position and a current network time protocol time, where the current play point position refers to a relative time at which the current play point starts from the media, or an absolute time of the current play point.
  • the current play point location may be a presentation time of the current playback media relative to the starting point of the media; and for a live broadcast program, the current playpoint location may be an absolute time of the current playpoint.
  • the current play preparation situation includes the HS terminal device receiving situation, the buffering situation, and the like.
  • the HS terminal device receives a synchronization indication sent by the server, and the synchronization indication includes a synchronization setting parameter determined by the server according to the synchronization status information.
  • the synchronization configuration may include at least one of a synchronization period, a synchronization start time, a play start time, and a play start position, where the synchronization status information may include a current play situation or a current play preparation situation, and the current play The situation includes a current play point position and a current NTP time, and the synchronization setting parameter may include a play delay time or a play fast forward time or a position that should be played at the same time, the synchronization indication may include the synchronization setting parameter, and may further include the updated Synchronous configuration.
  • the HS terminal device plays the media according to the synchronization indication.
  • the method of the embodiment of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly enhancing co-viewing. User experience of the business.
  • the method 300 may further include: the terminal device receiving the synchronization configuration sent by the server.
  • the terminal device receiving the synchronization configuration sent by the server may include: the terminal device sending a synchronization initialization request to the server; the terminal device receiving the synchronization configuration sent by the server by using a synchronization initialization response message, the synchronization initial response message to the synchronization initialization request Respond.
  • the method 300 may further include: the terminal device calculating a current play point location of the media according to the synchronization configuration.
  • method 400 includes:
  • the HS terminal device sends a synchronization initialization request to the server, where the synchronization initialization request may include a group number of the synchronization group and an identifier of the synchronization content.
  • the HS terminal device receives a synchronization configuration sent by the server by using a synchronization initialization response message, where the synchronization initial response message responds to the synchronization initialization request.
  • the HS terminal device calculates a current play point location of the media according to the synchronization configuration, where the current playpoint location may include a presentation time of the currently played media relative to a starting point of the media or an absolute time of a current playpoint;
  • the HS terminal device sends synchronization status information to the server according to the current play point location.
  • the HS terminal device receives a synchronization indication sent by the server, where the synchronization indication includes a synchronization setting parameter determined by the server according to the synchronization state information.
  • the HS terminal device plays the media according to the synchronization indication.
  • the method of the embodiment of the present invention can achieve synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly improving the user experience of the co-viewing service.
  • FIG. 5 is a timing diagram showing a method 500 of synchronizing media playback between HS terminal devices in accordance with an embodiment of the present invention in the context of inviting a friend to join a program being viewed.
  • the inviting UE1 invites the invited UE2 to watch the program in play as an example. It is assumed that UE1 and UE2 belong to the IPTV user of Nanjing Telecom, and both use the set-top box to watch the TV, wherein UE1 is watching the channel. CCTV - 1 , UE2 also joined the viewing channel CCTV-1 after receiving the invitation.
  • UE1 creates a synchronization group by sending a synchronization initialization request (HTTP request) to the synchronization server, and the synchronization initialization request carries a content identifier (ContentID) and a synchronization group number (SyncGroupID) parameter to be synchronized, wherein the SyncGroupID value is assigned to 0, used to request a synchronization group number from the synchronization server.
  • HTTP request a synchronization initialization request
  • SyncGroupID synchronization group number
  • the synchronization server allocates a synchronization group number, specifies a synchronization start time, a synchronization period, and delivers these initial configurations through an HTTP response message.
  • UE1 needs to calculate the decoding time (Decode Time, referred to as "DT") and CT (presentation time) of each media sample during playback.
  • DT Decoding Time
  • CT presentation time
  • UE1 can be initialized according to the initial The configuration of the synchronization status information is reported to the synchronization server, where the synchronization status information includes the CT of the currently playing media sample and the current NTP time, and can be reported in the form of an HTTP request message.
  • the server In S505, if the UE2 has not completed the operation of joining the synchronization group, the server gives an indication that "the invited terminal has not joined"; on the other hand, if the UE2 has joined the synchronization group, the server synchronizes according to the received UE1 and UE2. Status information, calculate their play time difference, from And determine the playback delay time that UE1 should perform.
  • the synchronization indication can be delivered in the form of an HTTP response.
  • UE1 sends an invite message to UE2, and the invite message may carry a synchronization group number, a content identifier that is viewed together, and an address of the synchronization server.
  • UE2 prompts the user after receiving the invitation message, and waits for the user to "receive" the confirmation operation.
  • UE2 After the user confirms, UE2 returns a consent response to UE1.
  • the UE2 sends a request to join the synchronization group to the synchronization server, where the request carries the following parameters: a content identifier, a synchronization group number, and a terminal ID (or user ID).
  • the synchronization server verifies the terminal user UE2, and after determining that the UE2 has the viewing right, the synchronization configuration may be established.
  • the synchronization configuration may include a synchronization group number, a synchronization period, a synchronization start time, and a broadcast start point, where the synchronization period of the UE2 The same as that of the UE1, the interval between the synchronization start time and the synchronization start time of the UE1 may be a multiple of the synchronization period, and the broadcast start point may be predicted according to the playback condition that the UE1 has reported.
  • the server can deliver the initial configuration through an HTTP response message.
  • the UE2 After successfully joining the synchronization group, the UE2 starts to access the media presentation description (MPD) file of the program, and then requests the fragment of the currently played media sample according to the initial configuration, and Play from the corresponding CT point.
  • MPD media presentation description
  • UE2 needs to calculate each media sample DT and CT during playback, and report synchronization status information to the synchronization server according to the initial configuration, where the synchronization status information includes the CT of the currently playing media sample and the current NTP time, and may Reported in the form of an HTTP request message.
  • the synchronization server calculates the time difference between UE1 and UE2 according to the received synchronization state information of UE1 and UE2, and delivers the playback delay time that should be performed to UE2 through the HTTP response.
  • S504 and S505, and S512 and S513 can be repeatedly executed, so that UE1 and UE2 can simultaneously watch channel CCTV-1 during the entire playback.
  • FIG. 6 a schematic diagram of a data structure of a hypertext transfer protocol streaming download is shown.
  • the period in which the media segment is located has a Start attribute that identifies the start time of the time period (relative to the beginning of the program), the Moof header field of each media fragment (Fragment).
  • the metadata includes the decoding time (Sampll.DT) of the first media sample in the media segment, the duration of each media sample (Duration), and the offset (Offset) between the DT and CT of the media sample.
  • the synchronization server After receiving the synchronization status information of the two HS terminal devices, the synchronization server calculates their play time difference, thereby estimating the position that the two HS terminal devices should play at the same time, or indicating the time that an HS terminal should delay playback or The time that should be fast forwarded.
  • UE1 NTP T1 - 14:00: 00.2645, CT1 - 2302340;
  • the time ratio of 1000 that is, the time unit is 1/lOOOOs
  • the synchronization server sends a synchronization setting parameter to both UE1 and UE2.
  • the synchronization setting parameters include NTP and CT, and the values are 14:00:05.0000 and 2306035 respectively, which are used to indicate that UE1 and UE2 play the specified time at the same time.
  • the media sampling of the CT, or the synchronization server sends a playback delay time to the UE1.
  • the value of the playback delay time is 1.04, which is used to indicate that the UE1 should delay the playback speed by 1.04 seconds in one synchronization period.
  • FIG. 7 is a timing diagram showing a method 600 of synchronizing media playback between HS terminal devices in accordance with another embodiment of the present invention in the context of inviting a friend to join a program that has not yet started.
  • the inviting party UE1 invites the invitee UE2 to start from the beginning together, and simultaneously views the program as an example for description. It is assumed that UE1 and UE2 belong to the IPTV user of Nanjing Telecom, and both use the set-top box to watch the on-demand movie. fly".
  • the main inviter UE1 sees that a new movie "Let the bullet fly” is already available on the program list, so the menu "See the invitation” is selected, and the ID of the inviting object UE2 is input.
  • the inviting party UE1 creates a synchronization group by sending a synchronization initialization request to the synchronization server, and the synchronization initialization request carries a content identifier (Content1D) and a synchronization group number (SyncGroupID) parameter to be viewed, wherein the SyncGroupID value is assigned to 0. It is used to apply to the synchronization server for a synchronization group number, and the synchronization initialization request can be sent by using an HTTP request.
  • Content identifier Content identifier
  • SyncGroupID synchronization group number
  • the synchronization server allocates a synchronization group number, and delivers the initial configuration by using an HTTP response message that responds to the synchronization initialization request, and the initial configuration may include at least one of a synchronization start time, a synchronization period, and a play start time.
  • the initial configuration of the synchronization start time and the synchronization period may not be delivered, or the initial configuration may be delivered, but an invalid negative value is assigned to indicate that the initial configuration is temporarily undetermined.
  • the inviter UE1 sends an invite message to the invitee UE2, where the invite message may carry the synchronization group number, the content identifier of the common view, and the address of the synchronization server.
  • the invitee UE2 prompts the user after receiving the invitation message, and waits for the user to "receive" the confirmation operation.
  • UE2 after the user determines, UE2 returns a consent response to UE1.
  • the UE2 sends a request to join the synchronization group to the synchronization server, where the request carries the following parameters: a content identifier, a synchronization group number, and a terminal ID (or user ID).
  • the synchronization server verifies the terminal user, and when determining that the terminal device has the viewing right, returns an HTTP response message to the UE2, and the response message may not be delivered with an initial configuration such as a synchronization start time, a synchronization period, or the like.
  • the initial configuration but with a negative value assigned to it, is used to indicate that these initial configurations are temporarily undetermined.
  • the UE1 may start acquiring the MPD file, download the fragment according to the URL of the fragment, and perform decoding processing on the downloaded fragment.
  • UE1 when UE1 is ready for playing, for example, when the content in the buffer reaches the set full value, UE1 pauses decoding and reports the current synchronization status information to the synchronization server.
  • UE2 may start to acquire an MPD file, download a slice according to the URL of the slice, and decode the downloaded slice.
  • the synchronization server may simultaneously return a response message to the UE1, the UE2, and the response message carries a synchronization indication, where the synchronization indication may include a synchronization setting parameter and an updated synchronization configuration.
  • the synchronization indication includes a program start. Play time, sync start time, sync period.
  • UE1 and UE2 after receiving the synchronization indication, start to simultaneously play the first frame of the program according to the synchronization indication.
  • UE1 and UE2 calculate DT (decoding time) and CT (presentation time) of each media sample in the process of decoding and playing, and periodically report synchronization state information according to the synchronization configuration, the synchronization state information.
  • the CT and the current NTP time of the currently played media sample are reported, and the synchronization status information may be reported in the form of an HTTP request message.
  • the synchronization server calculates the play time difference according to the received synchronization state information of UE1 and UE2, thereby determining the location that UE1, UE2 should play at the same time or the playback delay time or fast playback that should be performed. Into the time.
  • S617 and S618, and S619 and S620 may be repeatedly executed, so that synchronized viewing of UE 1 and UE 2 may be achieved during the entire playback process. It should be understood that the size of the sequence numbers of the above processes does not imply a sequence of executions, and the order of execution of the processes should be determined by their functions and internal logic, and should not be construed as limiting the implementation of the embodiments of the present invention.
  • FIG. 8 is a timing diagram showing a method 700 of media playback between synchronized HS terminal devices in accordance with an embodiment of the present invention in the context of a terminal device actively joining a program being watched by a synchronization group.
  • the subscriber UE1 sees that there is a group for simultaneous viewing through the menu or friend information, and then sends a request to the administrator UE2 to watch the movie "Let the bullet fly" with them. After the administrator UE2 agrees, the joining party UE1 synchronizes with everyone from the current playing point.
  • UE1 sees that a synchronization group is watching the new movie "Let the bullet fly” that she has been waiting for for a long time through the friend's current information or program list, and then selects the menu "See the request”.
  • UE1 requests information of the synchronization group from the administrator UE2 of the synchronization group, the information including the content identifier, the synchronization group number, and the synchronization server address.
  • UE1 sends an HTTP request to the synchronization server to join the synchronization group, and the request carries the following parameters: content identifier, synchronization group number, and terminal ID (or user ID).
  • the synchronization server verifies the terminal user, and after determining that the terminal device has the viewing right, formulating a synchronization configuration, where the synchronization configuration may include at least a synchronization group number, a synchronization period, a synchronization start time, and a broadcast start point.
  • the synchronization period may be the same as the synchronization period of the UE2, and the interval between the synchronization start time and the synchronization start time of the UE2 may be a multiple of the synchronization period, and the broadcast start point may be predicted according to the playback situation that the synchronization group has reported.
  • the server can deliver the initial configuration through an HTTP response message.
  • UE1 starts acquiring media and plays, and calculates DT (decoding time) and CT (presentation time) of each media sample during decoding and playback.
  • the UE1 periodically reports the synchronization status information according to the synchronization configuration, where the synchronization status information includes the CT of the currently played media sample and the current NTP time.
  • the synchronization server calculates the play time difference value according to the received synchronization state information of the UE1 and other terminal devices in the group, thereby determining the location that the UE1, UE2 should play at the same time or the playback delay time that should be performed or Play fast forward time.
  • the other terminal devices in the synchronization group synchronize the status information and update the synchronization settings to maintain the synchronization of the media playback between the HS terminal devices.
  • a method for playing media between synchronized HS terminal devices by using an HS terminal
  • the device performs media stream playback speed and/or time adjustment, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly improving the user experience of the co-viewing service.
  • a server and a terminal device for synchronizing media playback between HS terminal devices will be described below.
  • FIG. 9 shows a schematic diagram of a server 800 for synchronizing media playback between HS terminal devices in accordance with an embodiment of the present invention.
  • the server 800 includes: a receiving module 810, a first determining module 820, and a first sending module 830, where the receiving module 810 is configured to receive synchronization state information that is sent by the terminal device according to the synchronization configuration;
  • the determining module 820 is configured to determine a synchronization setting parameter according to the synchronization state information.
  • the first sending module 830 is configured to send a synchronization indication including the synchronization setting parameter to the terminal device, so that the terminal device plays the media according to the synchronization indication.
  • the synchronization configuration may include at least one of a synchronization period, a synchronization start time, a play start time, and a play start position;
  • the synchronization status information may include a current play situation or a current play preparation situation, and the current play The situation includes a current play point location and a current network time protocol time, where the current playpoint location includes a presentation time of the currently playing media relative to a starting point of the media or an absolute time of a current playpoint;
  • the synchronization setting parameter may include a play delay Time or play fast forward time or a position that should be played at the same time;
  • the synchronization indication may include the synchronization setting parameter, and may also include the updated synchronization configuration.
  • the server of the embodiment of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly enhancing co-viewing. User experience of the business.
  • the server 800 may further include: a second sending module 840, configured to send a synchronization configuration to the terminal device.
  • a second sending module 840 configured to send a synchronization configuration to the terminal device.
  • the second sending module 840 can include:
  • the receiving submodule 841 is configured to receive a synchronization initialization request sent by the terminal device, where the synchronization initialization request includes: a group number of the synchronization group and an identifier of the synchronization content;
  • the sending submodule 842 is configured to send the synchronization configuration to the terminal device by using a synchronization initializing response message in response to the synchronization initialization request.
  • server 800 may further include:
  • a second determining module 850 configured to: after the second receiving module receives the synchronous initialization request, It is determined that the terminal device passes the authentication.
  • FIG. 11 shows a schematic diagram of a terminal device 900 for synchronizing media playback between HS terminal devices in accordance with an embodiment of the present invention.
  • the terminal device 900 includes: a sending module 910, a first receiving module 920, and a playing module 930, where the sending module 910 is configured to send synchronization state information to the server according to the synchronization configuration; the first receiving module 920 is configured to receive a synchronization indication sent by the server, where the synchronization indication includes a synchronization setting parameter determined by the server according to the synchronization status information; and the playing module 930 is configured to play the media according to the synchronization indication.
  • the synchronization configuration may include at least one of a synchronization period, a synchronization start time, a play start time, and a play start position;
  • the synchronization status information may include a current play situation or a current play preparation situation, and the current play The situation includes a current play point location and a current network time protocol time, where the current playpoint location includes a presentation time of the currently playing media relative to a starting point of the media or an absolute time of a current playpoint;
  • the synchronization setting parameter may include a play delay Time or play fast forward time or a position that should be played at the same time;
  • the synchronization indication may include the synchronization setting parameter, and may also include the updated synchronization configuration.
  • the terminal device 900 may further include: a second receiving module 940, configured to receive a synchronization configuration sent by the server.
  • the second receiving module 940 can include:
  • a sending submodule 941 configured to send a synchronization initialization request to the server, optionally, the synchronization initialization request includes a group number of the synchronization group and an identifier of the synchronization content;
  • the receiving submodule 942 is configured to receive the synchronization configuration sent by the server by using a synchronization initialization response message, and the synchronization initial response message responds to the synchronization initialization request.
  • the terminal device 900 may further include:
  • the calculation module 950 is configured to calculate a current play point location of the media according to the synchronization configuration, where the first sending module 910 is configured to send synchronization state information to the server according to the current playpoint location.
  • the current play point location includes a presentation time of the currently playing media relative to a starting point of the media or an absolute time of the current play point.
  • the above and other operations and/or functions of the respective modules in the terminal device 900 are respectively implemented in order to implement the respective processes of the respective methods 300 and 400 in FIGS. 3 to 4, and are not described herein again for brevity.
  • the terminal device in the embodiment of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly improving the common Watch the user experience of the business.
  • Figure 13 shows a schematic diagram of a system 1000 for synchronizing media playback between HS terminal devices in accordance with an embodiment of the present invention.
  • the system 1000 includes a server 800 according to an embodiment of the present invention, and a terminal device 900 according to an embodiment of the present invention, wherein
  • the server 800 includes:
  • the receiving module 810 is configured to receive synchronization state information that is sent by the terminal device according to the synchronization configuration.
  • the first determining module 820 is configured to determine a synchronization setting parameter according to the synchronization state information.
  • the first sending module 830 is configured to send, to the terminal device, the Synchronizing the synchronization indication of the parameter, so that the terminal device plays the media according to the synchronization indication.
  • the terminal device 900 includes:
  • the sending module 910 is configured to send synchronization status information to the server according to the synchronization configuration.
  • the first receiving module 920 is configured to receive a synchronization indication sent by the server, where the synchronization indication includes a synchronization setting parameter determined by the server according to the synchronization status information. ;
  • the playing module 930 is configured to play the media according to the synchronization indication.
  • the system of the embodiment of the present invention can perform media stream playback speed and/or time adjustment on the HS terminal device, thereby enabling synchronization of media playback between a plurality of co-viewing HS terminal devices, thereby significantly enhancing co-viewing. User experience of the business.
  • the software program can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM

Landscapes

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

Description

同步 HS终端设备之间媒体播放的方法
本申请要求于 2011 年 03 月 14 日提交中国专利局、 申请号为 201110060857.9、 发明名称为 "同步 HS终端设备之间媒体播放的方法" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域, 特别涉及通信领域中同步 HS终端设备之间媒体播 放的方法、 装置和系统。
背景技术
社交电视( Social TV )是当前 TV发展的热点, 被麻省理工大学技术论坛 ( MIT Technology Review )评为 2010年度十大创新技术之一。 社交电视中一 个重要业务称为 "好友共同观看 ( Watching apart together )" , 通过该业务, 多 个来自不同地方的用户能够观看相同的频道或者节目, 同时还能通过文本、语 音甚至视频进行相互交流,从而模拟真实环境中一群好友其乐融融地观看节目 的场景。
这个业务要求每个终端设备上播放的画面内容是同步的,特别是在观看体 育比赛或者竟猜类节目时,如果共同观看的用户之间的播放进度不同, 那么这 将极大地影响用户之间的交流体验。 例如, 当一个用户为进球而欢呼时, 如果 因为播放进度的不同, 另一个用户看到的是球员在准备射门, 那么这必将导致 两者的交流体验比较差。
作为一种音视频媒体的传输协议, 超文本传输协议流式下载 (HTTP
( HyperText Transfer Protocol ) streaming, 简称为 "HS" )正逐渐成为最近流 媒体业界的一种发展趋势。
在 HTTP streaming系统中, 终端设备首先获取媒体展现描述信息(Media Presentation Description, 简称为 "MPD" ) 列表, 再根据 MPD中的分片的统 一资源定位符 (Uniform Resource Locator, 简称为 "URL" )信息请求相应的 内容分片, 由此开始播放媒体。 但是, 在观看同一节目的 HS终端设备之间, 可能由于播放延时不同而导致媒体的播放不同步,从而严重影响共同观看业务 的用户体验。
发明内容
为此, 本发明实施例提供了一种同步 HS终端设备之间媒体播放的方法和 装置, 能够实现多个共同观看的 HS终端设备之间保持同步, 从而能够提升共 同观看业务的用户体验。
一方面,本发明实施例提供了一种同步 HS终端设备之间媒体播放的方法, 该方法包括: 接收该终端设备根据同步配置发送的同步状态信息; 根据该同步 状态信息确定同步设置参数;向该终端设备发送包括该同步设置参数的同步指 示, 以便于该终端设备根据该同步指示播放该媒体。
另一方面, 本发明实施例提供了一种同步 HS终端设备之间媒体播放的方 法, 该方法包括: 根据同步配置, 向该服务器发送同步状态信息; 接收该服务 器发送的同步指示,该同步指示包括该服务器根据该同步状态信息确定的同步 设置参数; 根据该同步指示播放该媒体。
再一方面, 本发明实施例提供了一种用于同步 HS终端设备之间媒体播放 的服务器, 该服务器包括: 第一接收模块、 第一确定模块和第一发送模块, 其 中该第一接收模块用于接收该终端设备根据同步配置发送的同步状态信息;该 第一确定模块用于根据该同步状态信息确定同步设置参数;该第一发送模块用 于向该终端设备发送包括该同步设置参数的同步指示。
再一方面, 本发明实施例提供了一种用于同步 HS终端设备之间媒体播放 的终端设备, 该终端设备包括: 第一发送模块、 第一接收模块和播放模块, 其 中该第一发送模块用于根据同步配置, 向该服务器发送同步状态信息; 该第一 接收模块用于接收该服务器发送的同步指示,该同步指示包括该服务器根据该 同步状态信息确定的同步设置参数;该播放模块用于根据该同步指示播放该媒 体。
再一方面, 本发明实施例提供了一种用于同步 HS终端设备之间媒体播放 的系统, 该系统包括根据本发明实施例的服务器和终端设备。 该服务器包括: 第一接收模块、第一确定模块和第一发送模块, 其中该第一接收模块用于接收 该终端设备根据同步配置发送的同步状态信息;该第一确定模块用于根据该同 步状态信息确定同步设置参数;该第一发送模块用于向该终端设备发送包括该 同步设置参数的同步指示。 该终端设备包括: 第一发送模块、 第一接收模块和 播放模块, 其中该第一发送模块用于根据同步配置, 向该服务器发送同步状态 信息; 该第一接收模块用于接收该服务器发送的同步指示, 该同步指示包括该 服务器根据该同步状态信息确定的同步设置参数;该播放模块用于根据该同步 指示播放该媒体。
根据本发明实施例的方法、 装置和系统, 通过对 HS终端设备进行媒体流 播放速度和 /或时间的调整,由此能够实现多个共同观看的 HS终端设备之间保 持媒体播放的同步, 从而能够显著提升共同观看业务的用户体验。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所 需要使用的附图作简单地介绍,显而易见地, 下面所描述的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是根据本发明实施例的同步 HS终端设备之间媒体播放的方法的示意 图;
图 2是根据本发明另一实施例的同步 HS终端设备之间媒体播放的方法的 示意图;
图 3是根据本发明再一实施例的同步 HS终端设备之间媒体播放的方法的 示意图;
图 4是根据本发明再一实施例的同步 HS终端设备之间媒体播放的方法的 示意图;
图 5是根据本发明实施例的邀请好友加入正在观看的节目的时序图; 图 6是超文本传输协议流式下载的数据结构示意图;
图 7 是根据本发明另一实施例的邀请好友加入还没有开始的节目的时序 图;
图 8 是根据本发明再一实施例的主动加入同步组正在观看的节目的时序 图;
图 9是根据本发明实施例的用于同步 HS终端设备之间媒体播放的服务器 的示意图;
图 10是根据本发明另一实施例的用于同步 HS终端设备之间媒体播放的 服务器的示意图;
图 11是根据本发明实施例的用于同步 HS终端设备之间媒体播放的终端 设备的示意图;
图 12是根据本发明另一实施例的用于同步 HS终端设备之间媒体播放的 终端设备的示意图;
图 13是根据本发明实施例的用于同步 HS终端设备之间媒体播放的系统 的示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不是全 部实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳 动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。
图 1 示出了根据本发明实施例的同步 HS终端设备之间媒体播放的方法 100的示意图。 如图 1所示, 该方法 100包括:
在 S110中,服务器接收 HS终端设备根据同步配置发送的同步状态信息。 该同步状态信息根据该同步配置而确定, 该同步配置用于定义 HS终端设备进 行同步观看操作的配置参数, 例如同步开始时间等, HS终端设备根据该配置 参数能够正确地执行同步操作。
可选地, 该同步配置可以包括同步周期、 同步开始时间、 播放开始时间和 播;^始位置中的任一个配置参数, 其中该同步周期指 HS终端设备之间进行 同步操作的周期。 例如, 该同步配置可以仅包括同步周期, 由此不同的 HS终 端设备在收到同步配置那个时刻起, 可以按照相同的周期进行同步,从而实现 媒体播放的同步。 该同步配置也可以包括上述配置参数的任意组合, 例如, 该 同步配置可以包括同步周期和同步开始时间, 同样可以实现媒体播放的同步。
在 S120中, 服务器根据该同步状态信息确定同步设置参数。 服务器收到 HS终端设备发送的同步状态信息后, 根据该同步状态信息确定对 HS终端设 备进行同步设置的参数, 即同步设置参数, 便于 HS终端设备根据该同步设置 参数对媒体播放进行调整, 从而实现媒体播放的同步。
可选地, 该同步设置参数可以包括播放延迟时间或播放快进时间, 其中该 播放延迟时间用于指示 HS终端设备应当延迟播放的时间, 该播放快进时间用 于指示 HS终端设备应当快进播放的时间。 可选地, 该同步设置参数还可以包 括同一时刻应当播放的位置, 例如网络时间协议( Network Time Protocol , 简 称为 "ΝΤΡ" ) 时间和展现时间 (Composition Time, 简称为 "CT" ), 用于指 示 HS终端设备在指定时间点(即 NTP参数的值)播放指定位置(即 CT参数 的值) 的媒体。
例如, 当第一 HS终端设备比第二 HS终端设备播放快时, 服务器可以确 定第一 HS终端设备播放应当延迟的时间, 服务器也可以确定第二 HS终端设 备播放应当快进的时间, 此外, 服务器也可以确定第一 HS 终端设备和第二 HS终端设备在同一时刻应当播放的位置, 从而可以实现媒体播放的同步。
在 S130中, 服务器向该终端设备发送包括该同步设置参数的同步指示, 以便于该终端设备根据该同步指示播放该媒体。 在服务器根据 HS终端设备发 送的同步状态信息确定同步设置参数后,服务器可以向该终端设备发送同步指 示, 该同步指示包括该同步设置参数, 由此该终端设备可以根据给同步指示对 播放速度、 时间等进行调整, 从而实现媒体播放的同步。 可选地, 服务器可以 通过 HTTP响应的形式向 HS终端设备发送该同步指示。
本发明实施例的方法,通过对 HS终端设备进行媒体流播放速度和 /或时间 的调整,由此能够实现多个共同观看的 HS终端设备之间保持媒体播放的同步, 从而能够显著提升共同观看业务的用户体验。
在本发明实施例中, 同步配置可以预先存储在各 HS终端设备中, 也可以 由服务器发送给 HS终端设备。 因而, 在服务器接收终端设备根据同步配置发 送的同步状态信息之前,根据本发明实施例的方法 100还可以包括: 服务器向 该终端设备发送同步配置。 可选地, 服务器根据 HS终端设备的请求, 向 HS 终端设备发送同步配置, 并且服务器可以通过对该请求进行响应的响应消息, 向该 HS终端设备发送同步配置。 可选地, 服务器还可以通过向 HS终端设备 发送的同步指示, 向 HS终端设备发送更新后的同步配置, 即该同步指示可以 包括同步设置参数和更新后的该同步配置。
可选地, 服务器在接收到 HS终端设备发送的请求后, 可以先对该 HS终 端设备进行鉴权处理, 对于通过鉴权的 HS终端设备才发送同步配置, 如图 2 所示。
图 2示出了根据本发明另一实施例的同步 HS终端设备之间媒体播放的方 法 200的示意图。 该方法 200包括:
S210, 服务器接收 HS终端设备发送的同步初始化请求。 该同步初始化请 求可以携带同步组的组号,以及要同步的内容标识。如果需要创建一个同步组, 那么可以使同步组号赋值为零, 用于表示申请一个同步组号。 可选地, 该同步 初始化请求可以采用 HTTP请求消息的形式。
S220, 服务器确定该终端设备通过鉴权。 例如, 服务器可以根据终端设备 携带的终端设备标识或者用户标识, 判断用户是否具有同步观看业务的权限; 类似地,服务器也可以根据终端设备携带的同步内容标识, 判断该用户是否具 有观看该内容的权限。
S230, 服务器通过对该同步初始化请求进行响应的同步初始化响应消息, 向该终端设备发送同步配置。在终端设备通过鉴权后,服务器通过同步初始化 响应消息, 向终端设备发送同步配置。 如果 HS终端设备还请求创建一个同步 组, 那么服务器分配一个同步组号, 并且服务器可以通过 HTTP响应消息的形 式, 将同步组号与同步配置一起发送给 HS终端设备。
S240, 服务器接收该终端设备根据该同步配置发送的同步状态信息。
S250, 服务器根据该同步状态信息确定同步设置参数。
S260,服务器向该终端设备发送包括该同步设置参数的同步指示, 以便于 该终端设备根据该同步指示播放媒体。
本发明实施例的方法,通过对 HS终端设备进行媒体流播放速度和 /或时间 的调整,由此能够实现多个共同观看的 HS终端设备之间保持媒体播放的同步, 从而能够显著提升共同观看业务的用户体验。
图 3示出了根据本发明再一实施例的同步 HS终端设备之间媒体播放的方 法 300的示意图。 如图 3所示, 该方法 300包括:
在 S310中, HS终端设备通过同步配置, 向服务器发送同步状态信息。 该 同步配置可以通过 HS终端设备向服务器请求而获得, 也可以由服务器直接发 送而获得, 还可以由 HS终端设备在本机上查询而获得。根据该同步配置, HS 终端设备可以向服务器上报同步状态信息。
在本发明实施例中, 同步状态信息可以包括当前播放情况,也可以包括当 前播放准备情况。可选地, 该当前播放情况包括当前播放点位置和当前网络时 间协议时间, 其中该当前播放点位置指当前播放点距离媒体开始的相对时间, 或当前播放点的绝对时间。对于点播节目而言, 该当前播放点位置可以是当前 播放媒体相对于该媒体的起始点的展现时间; 而对于直播节目而言, 该当前播 放点位置可以是当前播放点的绝对时间。 该当前播放准备情况包括 HS终端设 备接收情况、 緩冲情况等。 在 S320中, HS终端设备接收服务器发送的同步指示,该同步指示包括该 服务器根据该同步状态信息确定的同步设置参数。
在本发明实施例中, 该同步配置可以至少包括同步周期、 同步开始时间、 播放开始时间和播放起始位置中的一个,该同步状态信息可以包括当前播放情 况或当前播放准备情况, 该当前播放情况包括当前播放点位置和当前 NTP时 间,该同步设置参数可以包括播放延迟时间或播放快进时间或同一时刻应当播 放的位置, 该同步指示可以包括该同步设置参数,还可以包括更新后的该同步 配置。
在 S330中, HS终端设备根据该同步指示播放该媒体。
本发明实施例的方法,通过对 HS终端设备进行媒体流播放速度和 /或时间 的调整,由此能够实现多个共同观看的 HS终端设备之间保持媒体播放的同步, 从而能够显著提升共同观看业务的用户体验。
可选地,在终端设备根据同步配置向服务器发送同步状态信息之前, 该方 法 300还可以包括: 终端设备接收服务器发送的同步配置。 可选地, 终端设备 接收服务器发送的同步配置可以包括: 终端设备向服务器发送同步初始化请 求; 终端设备接收服务器通过同步初始化响应消息发送的该同步配置, 该同步 初始响应消息对所述同步初始化请求进行响应。 可选地,在终端设备根据同步 配置向服务器发送同步状态信息之前, 该方法 300还可以包括: 终端设备根据 同步配置, 计算媒体的当前播放点位置。
图 4示出了根据本发明再一实施例的同步 HS终端设备之间媒体播放的方 法 400的示意图。 如图 4所示, 方法 400包括:
S410, HS终端设备向服务器发送同步初始化请求, 该同步初始化请求可 以包括同步组的组号和同步内容的标识;
S420, HS终端设备接收该服务器通过同步初始化响应消息发送的同步配 置, 该同步初始响应消息对该同步初始化请求进行响应;
S430, HS终端设备根据该同步配置, 计算该媒体的当前播放点位置, 其 中该当前播放点位置可以包括当前播放的该媒体相对于该媒体的起始点的展 现时间或当前播放点的绝对时间;
S440, HS终端设备根据该当前播放点位置, 向该服务器发送同步状态信 息; S450, HS终端设备接收该服务器发送的同步指示, 该同步指示包括该服 务器根据该同步状态信息确定的同步设置参数;
S460, HS终端设备根据该同步指示播放该媒体。
因而本发明实施例的方法, 能够实现多个共同观看的 HS终端设备之间保 持媒体播放的同步, 从而能够显著提升共同观看业务的用户体验。
下文中将以生活中几种常见的场景为例, 对根据本发明实施例的同步 HS 终端设备之间媒体播放的方法进行说明,例如邀请好友加入正在观看的节目的 场景、邀请好友加入还没开始的节目的场景和主动加入同步组正在观看的节目 的场景。
图 5示出了在邀请好友加入正在观看的节目的场景下,根据本发明实施例 的同步 HS终端设备之间媒体播放的方法 500的时序图。 如图 5所示, 以邀请 方 UE1邀请被邀方 UE2共同观看播放中的节目为例进行说明, 假设 UE1和 UE2 同属于南京电信的 IPTV用户, 并且都采用机顶盒观看电视, 其中 UE1 正在观看频道 CCTV - 1 , UE2收到邀请后也加入观看频道 CCTV - 1。
在 S501 中, 主邀方 UE1的用户正在观看频道 CCTV - 1 , 觉得当前频道 不错, 于是选中菜单 "同看邀请", 并输入邀请对象 UE2的标识(ID )。
在 S502中, UE1通过向同步服务器发送同步初始化请求( HTTP请求) 来创建一个同步组, 该同步初始化请求携带要同步的内容标识(ContentID ) 和同步组号 (SyncGroupID )参数, 其中 SyncGroupID值赋为 0, 用于向同步 服务器申请一个同步组号。
在 S503中, 同步服务器分配一个同步组号, 指定同步开始时间、 同步周 期, 并通过 HTTP响应消息下发这些初始配置。
在 S504中, UE1在播放过程中需要计算每个媒体采样 ( Sample ) 的解码 时间 (Decode Time, 简称为 "DT" )和 CT (展现时间), 当同步组创建成功 后, UE1就可以根据初始配置向同步服务器上报同步状态信息,其中该同步状 态信息包括当前播放媒体采样的 CT和当前 NTP时间, 并且可以采用 HTTP 请求消息的形式上报。
在 S505中, 如果 UE2尚未完成加入同步组的操作, 那么服务器给出 "被 邀请终端尚未加入" 的指示; 另一方面, 如果 UE2 已经加入同步组, 那么服 务器根据收到的 UE1和 UE2的同步状态信息, 计算它们的播放时间差值, 从 而确定 UEl应当执行的播放延迟时间。 该同步指示可以通过 HTTP响应的形 式下发。
在 S506中, UE1向 UE2发送邀请消息, 该邀请消息可以携带同步组号、 共同观看的内容标识和同步服务器的地址。
在 S507中, UE2收到该邀请消息后给用户提示, 等待用户 "接收" 的确 认操作。
在 S508中, 当用户确认后, UE2向 UE1返回同意响应。
在 S509中, UE2向同步服务器发送加入该同步组的请求, 该请求携带如 下参数: 内容标识、 同步组号和终端 ID (或用户 ID )。
在 S510中, 同步服务器对该终端用户 UE2进行验证, 在确定 UE2有观 看权后制订同步配置, 该同步配置可以包括同步组号、 同步周期、 同步开始时 间、 播^始点, 其中 UE2的同步周期与 UE1的相同, 同步开始时间与 UE1 的同步开始时间的间隔可以为同步周期的倍数,而播; ^始点则可以根据 UE1 已经上报的播放情况进行预计。 同样地,服务器可以通过 HTTP响应消息下发 该初始配置。
在 S511中, UE2成功加入同步组后, 开始访问节目的媒体展现描述信息 ( Media Presentation Description, 简称为 "MPD" )文件, 然后才艮据初始配置 请求当前播放的媒体采样所在的分片, 并从相应的 CT点开始播放。
在 S512中, UE2在播放过程中需要计算每个媒体采样 DT和 CT, 并根据 初始配置向同步服务器上报同步状态信息,其中该同步状态信息包括当前播放 媒体采样的 CT和当前 NTP时间, 并且可以采用 HTTP请求消息的形式上报。
在 S513中, 同步服务器根据收到的 UE1和 UE2的同步状态信息, 计算 UE1和 UE2播放的时间差 , 并通过 HTTP响应向 UE2下发应当执行的播放延 迟时间。
在播放过程中, 可以重复执行 S504和 S505 , 以及 S512和 S513 , 从而实 现整个播放过程中 , UE1和 UE2能够同步观看频道 CCTV - 1。
应理解, 上述各过程的序号的大小并不意味着执行顺序的先后,各过程的 执行顺序应以其功能和内在逻辑确定 ,而不应对本发明实施例的实施过程构成 任何限定。
下面将描述 CT和 DT的计算方法, 以及同步服务器对同步设置参数的计 如图 6所示, 示出了超文本传输协议流式下载的数据结构示意图。媒体分 片 (Segment )所在的时间段 ( Period )有一个起始(Start )属性, 标识该时间 段的起始时间(相对节目开始而言), 每个媒体片段( Fragment )的 Moof头字 段的元数据中包含该媒体片段中第一个媒体采样的解码时间 ( Sampll.DT )、 每个媒体采样的时长(Duration ) 以及媒体采样的 DT 与 CT之间的偏移量 ( Offset )。
针对图 6中标识的一个媒体采样, HS终端设备在播放之前要计算它的解 码时间 (DT )和展现时间 (CT ), 其中, 解码时间 (DT ) 的计算方法如下: 从当前媒体采样所在的媒体片段元数据中, 获取第一个媒体采样的解码时间 ( Sampll.DT ) 以及每个媒体采样的时长(Duration ), 将该媒体采样之前各个 媒体采样的时长(Duration ) 与第一个媒体采样的解码时间 (Sampll.DT ) 进 行累加,得到当前媒体采样的 DT值( Sample n.DT ), 即 Sample n.DT = Sample 1.DT+Durationl +Duration2+...+Duration n-l。 在上述过程中还获得的元数据中 包括的每个媒体采样的 DT与 CT之间的偏移量 ( Offset ), 因而计算得到当前 媒体采样的 CT值( Sample n.CT ), 即 Sample n.CT = Sample n.DT + Offset n。
同步服务器收到两个 HS终端设备的同步状态信息后, 计算它们的播放时 间差值, 从而预计两个 HS终端设备在同一时刻应当播放的位置、 或者指示某 个 HS终端播放应当延迟的时间或应当快进的时间。
假设同步服务器第一次同时收到的 UE1和 UE2上报的同步状态消息分别
^口下:
UE1 : NTP T1 - 14:00:00.2645, CT1 - 2302340;
UE2: NTP T2 - 14:00:01.1645, CT2 - 2302200„
根据时间比为 1000, 即时间单位为 1/lOOOs, 将展现时间 (CT )换算成秒 后分别为: CTl=2302.34s, CT2=2302.2s, 其中该时间比可以由终端设备上才艮, 也可以由同步服务器从媒体服务器获取, 或者可以由终端设备将 CT时间换算 成秒后上报。
以更早的媒体采样( CT2=2302.2s ) 为基准点, 估算播放同一个媒体采样 的 NTP时间。
UE1播 现时间为 CT2的媒体采样的时间应当为: ΤΓ = Tl-( CT1-CT2 ) =14:00:00.1245 , 而 UE2 播放展现时间为 CT2 的媒体采样的时间为: T2,= Τ2=14:00:01.1645„ 因而 UE2播放的慢, 比 UE1慢的时间为 Τ2'-Τ1 ' = 1.04s„ 以慢的终端设备 UE2作为基准,按照正常的进度,同步服务器预计在 NTP T3=14:00:05.0000 的时间点, 将播放展现时间为 CT3 的媒体采样, 其中 CT3=(14:00:05.0000-14:00:01.1645)* 1000+CT2=2306035。
因此, 同步服务器给 UE1和 UE2都下发一个同步设置参数, 该同步设置 参数包括 NTP和 CT, 其值分别为 14:00:05.0000和 2306035 , 用于指示 UE1 和 UE2在该时间点同时播放指定 CT的媒体采样, 或者同步服务器向 UE1下 发播放延迟时间, 该播放延迟时间的值为 1.04, 用于指示 UE1应当在一个同 步周期内将播放速度延迟 1.04秒。
图 7示出了在邀请好友加入还没有开始的节目的场景下,根据本发明另一 实施例的同步 HS终端设备之间媒体播放的方法 600的时序图。 如图 Ί所示, 以邀请方 UE1邀请被邀方 UE2从头共同开始, 并且同步观看节目为例进行说 明, 假设 UE1和 UE2同属于南京电信的 IPTV用户, 并且都采用机顶盒观看 点播电影 "让子弹飞"。
在 S601中, 主邀方 UE1在节目单中看到有一个新片 "让子弹飞" 已经可 以点播了, 于是选中菜单 "同看邀请 ", 输入邀请对象 UE2的 ID。
在 S602中,邀请方 UE1通过向同步服务器发送同步初始化请求来创建一 个同步组, 该同步初始化请求携带要观看的内容标识(ContentlD )和同步组 号 ( SyncGroupID )参数, 其中 SyncGroupID值赋为 0, 用于向同步服务器申 请一个同步组号, 该同步初始化请求可以采用 HTTP请求的方式发送。
在 S603中, 同步服务器分配一个同步组号, 通过对该同步初始化请求进 行响应的 HTTP响应消息下发这些初始配置,该初始配置可以至少包括同步开 始时间、 同步周期、 播放开始时间中的一个, 其中同步开始时间和同步周期这 些初始配置可以不下发, 或者下发这些初始配置, 但赋值为无效的负数, 用于 表示该初始配置暂时未定。
在 S604中, 邀请方 UE1向被邀方 UE2发送邀请消息, 该邀请消息可以 携带同步组号、 共同观看的内容标识和同步服务器的地址。
在 S605中,被邀方 UE2收到该邀请消息后给用户提示,等待用户 "接收" 的确认操作。 在 S606中, 当用户确定后, UE2向 UE1返回同意响应。
在 S607中, UE2向同步服务器发送加入该同步组的请求, 该请求携带如 下参数: 内容标识、 同步组号和终端 ID (或用户 ID )。
在 S608中, 同步服务器对该终端用户进行验证, 在确定该终端设备有观 看权时, 向 UE2返回 HTTP响应消息, 该响应消息可以先不下发同步开始时 间、 同步周期等初始配置, 或者下发这些初始配置但赋值为无效的负数, 用于 表示这些初始配置暂时未定。
在 S609中, UE1在成功邀请 UE2后, 可以开始获取 MPD文件, 并根据 分片的 URL下载分片, 以及对下载后的分片进行解码处理。
在 S610中, 当 UE1做好了播放的准备时, 例如緩冲器中的内容达到设定 满值时, UE1暂停解码, 并向同步服务器上报当前同步状态信息。
在 S611 中, UE2在初始化成功后, 可以开始获取 MPD文件, 并根据分 片的 URL下载分片, 以及对下载后的分片进行解码处理。
在 S612中, 当 UE2做好了播放的准备时, 例如緩冲器中的内容达到设定 满值时, UE2暂停解码, 并向同步服务器上报当前同步状态信息。
在 S613和 S614中, 同步服务器可以同时向 UE1、 UE2返回响应消息, 该响应消息携带同步指示,该同步指示可以包括同步设置参数和更新后的同步 配置, 可选地, 该同步指示包括节目开始播放的时间、 同步开始时间、 同步周 期。
在 S615和 S616中, UE1、 UE2收到同步指示后, 才艮据该同步指示同时开 始播放节目的第一帧。
在 S617和 S618中, UE1、 UE2在解码、播放的过程中计算每个媒体采样 的 DT (解码时间 )和 CT (展现时间), 并根据同步配置周期性地上报同步状 态信息, 该同步状态信息包括当前播放的媒体采样的 CT和当前 NTP时间, 该同步状态信息可以采用 HTTP请求消息的形式上报。
在 S619和 S620中,同步服务器根据收到的 UE1和 UE2的同步状态信息, 计算它们的播放时间差值, 从而确定 UE1、 UE2在同一时刻应当播放的位置 或者应当执行的播放延迟时间或播放快进时间。
在播放过程中, 可以重复执行 S617和 S618, 以及 S619和 S620, 从而在 整个播放过程中可以实现 UE 1和 UE2的同步观看。 应理解, 上述各过程的序号的大小并不意味着执行顺序的先后,各过程的 执行顺序应以其功能和内在逻辑确定 ,而不应对本发明实施例的实施过程构成 任何限定。
图 8示出了终端设备主动加入同步组正在观看的节目的场景下,根据本发 明实施例的同步 HS终端设备之间媒体播放的方法 700的时序图。如图 8所示, 比如加入方 UE1通过菜单或者好友信息看到有一个同步观看的群组, 于是向 管理员 UE2发出请求, 期望与他们一起观看播放中的电影 "让子弹飞"。 管理 员 UE2同意后, 加入方 UE1从当前播放点与大家同步观看。
在 S701中, UE1通过好友的当前信息或者节目单, 看到有一个同步组正 在观看她期待已久的新片 "让子弹飞", 于是选中菜单 "同看请求"。
在 S702中, UE1从同步组的管理员 UE2那里请求获得同步组的信息, 该 信息包括内容标识、 同步组号和同步服务器地址。
在 S703中, UE1向同步服务器发送加入同步组的 HTTP请求, 该请求携 带如下参数: 内容标识、 同步组号和终端 ID (或用户 ID )。
在 S704中, 同步服务器对该终端用户进行验证, 在确定该终端设备有观 看权后, 制订同步配置, 该同步配置可以至少包括同步组号、 同步周期、 同步 开始时间和播;^始点中的一个, 其中该同步周期可以与 UE2的同步周期相 同, 同步开始时间与 UE2的同步开始时间的间隔可以为同步周期的倍数, 而 播;^始点则可以根据同步组已经上报的播放情况进行预计。 同样地,服务器 可以通过 HTTP响应消息下发该初始配置。
在 S705中, UE1开始获取媒体并播放, 并且在解码和播放的过程中计算 每个媒体采样的 DT (解码时间)和 CT (展现时间)。
在 S706中, UE1根据同步配置周期性地上报同步状态信息, 该同步状态 信息包括当前播放的媒体采样的 CT和当前 NTP时间。
在 S707中, 同步服务器根据收到的 UE1和组内其他终端设备的同步状态 信息, 计算它们的播放时间差值, 从而确定 UE1、 UE2在同一时刻应当播放 的位置或者应当执行的播放延迟时间或播放快进时间。
在 S708和 S709中, 同步组内其他终端设备上 ·艮同步状态信息,并更新同 步设置, 从而在 HS终端设备之间保持媒体播放的同步。
本发明实施例的同步 HS终端设备之间媒体播放的方法, 通过对 HS终端 设备进行媒体流播放速度和 /或时间的调整, 由此能够实现多个共同观看的 HS 终端设备之间保持媒体播放的同步,从而能够显著提升共同观看业务的用户体 验。
下面将描述根据本发明实施例的用于同步 HS终端设备之间媒体播放的服 务器和终端设备。
图 9示出了根据本发明实施例的用于同步 HS终端设备之间媒体播放的服 务器 800的示意图。 如图 9所示, 该服务器 800包括: 接收模块 810、 第一确 定模块 820和第一发送模块 830, 其中, 该接收模块 810用于接收终端设备根 据同步配置发送的同步状态信息;该第一确定模块 820用于根据该同步状态信 息确定同步设置参数;该第一发送模块 830用于向该终端设备发送包括该同步 设置参数的同步指示, 以便于该终端设备根据该同步指示播放该媒体。
在本发明实施例中, 该同步配置可以至少包括同步周期、 同步开始时间、 播放开始时间和播放起始位置中的一个;该同步状态信息可以包括当前播放情 况或当前播放准备情况,该当前播放情况包括当前播放点位置和当前网络时间 协议时间,该当前播放点位置包括当前播放的该媒体相对于该媒体的起始点的 展现时间或当前播放点的绝对时间;该同步设置参数可以包括播放延迟时间或 播放快进时间或同一时刻应当播放的位置;该同步指示可以包括该同步设置参 数, 还可以包括更新后的该同步配置。
本发明实施例的服务器,通过对 HS终端设备进行媒体流播放速度和 /或时 间的调整, 由此能够实现多个共同观看的 HS终端设备之间保持媒体播放的同 步, 从而能够显著提升共同观看业务的用户体验。
可选地, 如图 10所示, 根据本发明实施例的服务器 800还可以包括: 第二发送模块 840, 用于向该终端设备发送同步配置。
可选地, 该第二发送模块 840可以包括:
接收子模块 841 , 用于接收该终端设备发送的同步初始化请求, 可选地, 该同步初始化请求包括同步组的组号和同步内容的标识;
发送子模块 842, 用于通过对该同步初始化请求进行响应的同步初始化响 应消息, 向该终端设备发送该同步配置。
可选地, 该服务器 800还可以包括:
第二确定模块 850, 用于在该第二接收模块接收该同步初始化请求之后, 确定该终端设备通过鉴权。
服务器 800 中的各个模块的上述和其它操作和 /或功能分别为了实现图 1 至图 2中的各个方法 100和 200的相应流程, 为了简洁, 在此不再贅述。
图 11示出了根据本发明实施例的用于同步 HS终端设备之间媒体播放的 终端设备 900的示意图。 如图 11所示, 该终端设备 900包括: 发送模块 910、 第一接收模块 920和播放模块 930, 其中该发送模块 910用于根据同步配置, 向该服务器发送同步状态信息;该第一接收模块 920用于接收该服务器发送的 同步指示, 该同步指示包括该服务器根据该同步状态信息确定的同步设置参 数; 该播放模块 930用于根据该同步指示播放该媒体。
在本发明实施例中, 该同步配置可以至少包括同步周期、 同步开始时间、 播放开始时间和播放起始位置中的一个;该同步状态信息可以包括当前播放情 况或当前播放准备情况,该当前播放情况包括当前播放点位置和当前网络时间 协议时间,该当前播放点位置包括当前播放的该媒体相对于该媒体的起始点的 展现时间或当前播放点的绝对时间;该同步设置参数可以包括播放延迟时间或 播放快进时间或同一时刻应当播放的位置;该同步指示可以包括该同步设置参 数, 还可以包括更新后的该同步配置。
可选地, 如图 12所示, 根据本发明实施例的终端设备 900还可以包括: 第二接收模块 940, 用于接收该服务器发送的同步配置。
可选地, 该第二接收模块 940可以包括:
发送子模块 941 , 用于向该服务器发送同步初始化请求, 可选地, 该同步 初始化请求包括同步组的组号和同步内容的标识;
接收子模块 942, 用于接收该服务器通过同步初始化响应消息发送的该同 步配置, 该同步初始响应消息对该同步初始化请求进行响应。
可选地 , 该终端设备 900还可以包括:
计算模块 950, 用于根据该同步配置, 计算媒体的当前播放点位置, 其中 第一发送模块 910用于根据该当前播放点位置, 向服务器发送同步状态信息。 可选地,该当前播放点位置包括当前播放的媒体相对于该媒体的起始点的展现 时间或当前播放点的绝对时间。
终端设备 900 中的各个模块的上述和其它操作和 /或功能分别为了实现图 3至图 4中的各个方法 300和 400的相应流程, 为了简洁, 在此不再贅述。 本发明实施例的终端设备, 通过对 HS 终端设备进行媒体流播放速度和 / 或时间的调整, 由此能够实现多个共同观看的 HS终端设备之间保持媒体播放 的同步, 从而能够显著提升共同观看业务的用户体验。
图 13示出了根据本发明实施例的用于同步 HS终端设备之间媒体播放的 系统 1000的示意图。 如图 13所示, 该系统 1000包括根据本发明实施例的服 务器 800, 和根据本发明实施例的终端设备 900, 其中,
该服务器 800包括:
接收模块 810, 用于接收终端设备根据同步配置发送的同步状态信息; 第一确定模块 820, 用于根据该同步状态信息确定同步设置参数; 第一发送模块 830, 用于向该终端设备发送包括该同步设置参数的同步指 示, 以便于该终端设备根据该同步指示播放该媒体,
该终端设备 900包括:
发送模块 910, 用于根据同步配置, 向该服务器发送同步状态信息; 第一接收模块 920, 用于接收该服务器发送的同步指示, 该同步指示包括 该服务器根据该同步状态信息确定的同步设置参数;
播放模块 930, 用于根据该同步指示播放该媒体。
服务器 800 中的各个模块的上述和其它操作和 /或功能分别为了实现图 1 至图 2中的各个方法 100和 200的相应流程,终端设备 900中的各个模块的上 述和其它操作和 /或功能分别为了实现图 3至图 4中的各个方法 300和 400的 相应流程, 为了简洁, 在此不再贅述。
本发明实施例的系统,通过对 HS终端设备进行媒体流播放速度和 /或时间 的调整,由此能够实现多个共同观看的 HS终端设备之间保持媒体播放的同步, 从而能够显著提升共同观看业务的用户体验。
本领域普通技术人员可以意识到,结合本文中所公开的实施例中描述的各 方法步骤和单元, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述 了各实施例的步骤及组成。这些功能究竟以硬件还是软件方式来执行,取决于 技术方案的特定应用和设计约束条件。本领域普通技术人员可以对每个特定的 应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明 的范围。 结合本文中所公开的实施例描述的方法或步骤可以用硬件、处理器执行的 软件程序, 或者二者的结合来实施。 软件程序可以置于随机存储器(RAM )、 内存、 只读存储器(ROM )、 电可编程 ROM、 电可擦除可编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的任意其它形式的存储介 质中。 本发明并不限于此。在不脱离本发明的精神和实质的前提下, 本领域普通技术 人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都 应在本发明的涵盖范围内。

Claims

权 利 要 求 书
1、 一种同步 HS终端设备之间媒体播放的方法, 其特征在于, 包括: 接收所述终端设备根据同步配置发送的同步状态信息;
根据所述同步状态信息确定同步设置参数;
向所述终端设备发送包括所述同步设置参数的同步指示,以便于所述终端 设备根据所述同步指示播放所述媒体。
2、 根据权利要求 1所述的方法, 其特征在于, 在所述接收所述终端设备 根据同步配置发送的同步状态信息之前, 所述方法还包括:
向所述终端设备发送同步配置。
3、 根据权利要求 2所述的方法, 其特征在于, 所述向所述终端设备发送 同步配置, 包括:
接收所述终端设备发送的同步初始化请求;
通过对所述同步初始化请求进行响应的同步初始化响应消息 ,向所述终端 设备发送所述同步配置。
4、 根据权利要求 3所述的方法, 其特征在于, 在所述接收所述终端设备 发送的同步初始化请求之后, 所述方法还包括:
确定所述终端设备通过鉴权。
5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述同步配 置至少包括同步周期、同步开始时间、播放开始时间和播; ^始位置中的一个。
6、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述同步设 置参数包括播放延迟时间或播放快进时间或同一时刻应当播放的位置。
7、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述同步指 示包括所述同步设置参数和更新后的所述同步配置。
8、 一种同步 HS终端设备之间媒体播放的方法, 其特征在于, 包括: 根据同步配置, 向服务器发送同步状态信息;
接收所述服务器发送的同步指示,所述同步指示包括所述服务器根据所述 同步状态信息确定的同步设置参数;
根据所述同步指示播放所述媒体。
9、 根据权利要求 8所述的方法, 其特征在于, 在所述根据同步配置向所 述服务器发送同步状态信息之前, 所述方法还包括: 接收所述服务器发送的同步配置。
10、 根据权利要求 9所述的方法, 其特征在于, 所述接收服务器发送的同 步配置, 包括:
向所述服务器发送同步初始化请求;
接收所述服务器通过同步初始化响应消息发送的所述同步配置,所述同步 初始响应消息对所述同步初始化请求进行响应。
11、 根据权利要求 8所述的方法, 其特征在于, 在所述根据同步配置向所 述服务器发送同步状态信息之前, 所述方法还包括:
根据所述同步配置, 计算所述媒体的当前播放点位置。
12、 根据权利要求 10所述的方法, 其特征在于, 所述同步初始化请求包 括同步组的组号和同步内容的标识。
13、 根据权利要求 8至 12中任一项所述的方法, 其特征在于, 所述同步 状态信息包括当前播放情况或当前播放准备情况。
14、 根据权利要求 13所述的方法, 其特征在于, 所述当前播放情况包括 当前播放点位置和当前网络时间协议时间。
15、 根据权利要求 14所述的方法, 其特征在于, 所述当前播放点位置包 括当前播放的所述媒体相对于所述媒体的起始点的展现时间或当前播放点的 绝对时间。
16、 一种用于同步 HS终端设备之间媒体播放的服务器, 其特征在于, 包 括:
接收模块, 用于接收所述终端设备根据同步配置发送的同步状态信息; 第一确定模块, 用于根据所述同步状态信息确定同步设置参数; 第一发送模块,用于向所述终端设备发送包括所述同步设置参数的同步指 示, 以便于所述终端设备根据所述同步指示播放所述媒体。
17、 根据权利要求 16所述的服务器, 其特征在于, 所述服务器还包括: 第二发送模块, 用于向所述终端设备发送同步配置。
18、 根据权利要求 17所述的服务器, 其特征在于, 所述第二发送模块还 包括:
接收子模块, 用于接收所述终端设备发送的同步初始化请求;
发送子模块,用于通过对所述同步初始化请求进行响应的同步初始化响应 消息, 向所述终端设备发送所述同步配置。
19、 根据权利要求 18所述的服务器, 其特征在于, 所述服务器还包括: 第二确定模块, 用于在所述接收子模块接收所述同步初始化请求之后, 确 定所述终端设备通过鉴权。
20、 一种用于同步 HS终端设备之间媒体播放的终端设备, 其特征在于, 包括:
发送模块, 用于根据同步配置, 向服务器发送同步状态信息;
第一接收模块, 用于接收所述服务器发送的同步指示, 所述同步指示包括 所述服务器根据所述同步状态信息确定的同步设置参数;
播放模块, 用于根据所述同步指示播放所述媒体。
21、 根据权利要求 20所述的终端设备, 其特征在于, 所述终端设备还包 括:
第二接收模块, 用于接收所述服务器发送的同步配置。
22、 根据权利要求 21所述的终端设备, 其特征在于, 所述第二接收模块 还包括:
发送子模块, 用于向所述服务器发送同步初始化请求;
接收子模块,用于接收所述服务器通过同步初始化响应消息发送的所述同 步配置, 所述同步初始响应消息对所述同步初始化请求进行响应。
23、 根据权利要求 20至 22中任一项所述的终端设备, 其特征在于, 所述 终端设备还包括:
计算模块, 用于根据所述同步配置, 计算所述媒体的当前播放点位置。
24、 一种用于同步 HS终端设备之间媒体播放的系统, 其特征在于, 所述 系统包括:
根据权利要求 16至 19中任一项所述的服务器; 和
根据权利要求 20至 23中任一项所述的终端设备。
PCT/CN2012/071867 2011-03-14 2012-03-02 同步hs终端设备之间媒体播放的方法 WO2012122901A2 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110060857.9 2011-03-14
CN201110060857.9A CN102170584B (zh) 2011-03-14 2011-03-14 同步hs终端设备之间媒体播放的方法、装置和系统

Publications (2)

Publication Number Publication Date
WO2012122901A2 true WO2012122901A2 (zh) 2012-09-20
WO2012122901A3 WO2012122901A3 (zh) 2012-11-08

Family

ID=44491537

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071867 WO2012122901A2 (zh) 2011-03-14 2012-03-02 同步hs终端设备之间媒体播放的方法

Country Status (2)

Country Link
CN (1) CN102170584B (zh)
WO (1) WO2012122901A2 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065978A (zh) * 2013-03-22 2014-09-24 北京中传数广技术有限公司 一种媒体内容定位的方法及系统
CN115314745A (zh) * 2022-07-29 2022-11-08 山东浪潮超高清智能科技有限公司 一种流媒体同步方法

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170584B (zh) * 2011-03-14 2015-06-03 华为技术有限公司 同步hs终端设备之间媒体播放的方法、装置和系统
CN102999491B (zh) * 2011-09-08 2018-02-23 百度在线网络技术(北京)有限公司 一种用于实现用户设备间浏览器操作同步的方法与设备
CN103036922A (zh) * 2011-09-30 2013-04-10 青岛海信电器股份有限公司 不同电子终端中媒体文件连续浏览的方法及电子终端
CN103533005B (zh) * 2012-07-06 2018-12-07 南京中兴新软件有限责任公司 基于播放状态信息同步的处理方法、系统及相关装置
CN103874014A (zh) * 2012-12-17 2014-06-18 中兴通讯股份有限公司 基于终端位置信息的业务服务方法、服务提供装置及终端
CN103561356B (zh) * 2013-05-31 2017-06-06 华为技术有限公司 多终端同步播放的方法及设备
CN104244110A (zh) * 2013-06-18 2014-12-24 好看科技(深圳)有限公司 播放控制方法、模块、终端及系统
CN104811582A (zh) 2014-01-28 2015-07-29 华为技术有限公司 多智能设备同步播放的方法和装置
CN104618785B (zh) * 2014-04-16 2018-01-05 腾讯科技(北京)有限公司 音视频播放方法、装置及系统
CN104902336A (zh) * 2015-06-04 2015-09-09 深圳新创客电子科技有限公司 远程媒体内容点播方法和系统
CN105472429A (zh) * 2015-11-21 2016-04-06 惠州Tcl移动通信有限公司 一种远程同步电视节目的方法及系统
CN106060680B (zh) * 2016-06-30 2019-06-14 北京奇艺世纪科技有限公司 一种播放进度同步方法及装置
CN106604065B (zh) * 2016-12-30 2019-10-25 中广热点云科技有限公司 一种实现多屏幕同屏播放视频的系统及方法
CN108696762A (zh) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 一种同步播放方法、装置和系统
CN107835449B (zh) * 2017-11-06 2020-08-11 四川长虹电器股份有限公司 Android平台上基于网络实现多终端同步联屏的方法
CN109819341B (zh) * 2017-11-20 2021-08-13 腾讯科技(深圳)有限公司 视频播放方法、装置、计算设备及存储介质
CN107948703B (zh) * 2017-11-22 2020-02-18 青岛海信电器股份有限公司 播放进度同步方法及装置
CN110572295B (zh) * 2018-06-06 2021-04-09 中国信息通信研究院 一种验证ssm响应规则的测试方法
CN114125525A (zh) * 2021-11-17 2022-03-01 维沃移动通信有限公司 视频播放控制方法及装置
CN114339328B (zh) * 2021-12-31 2023-09-01 杭州当虹科技股份有限公司 时间戳同步服务实现方法和系统
CN115052236B (zh) * 2022-06-17 2023-07-04 深圳市晨锐嘉塑胶电子科技有限公司 一种数据同步网络音频输出系统及实现方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425131B2 (en) * 1998-12-30 2002-07-23 At&T Corp. Method and apparatus for internet co-browsing over cable television and controlled through computer telephony
GB0222926D0 (en) * 2002-10-03 2002-11-13 Koninkl Philips Electronics Nv Media communications apparatus and method
CN101141472B (zh) * 2006-09-08 2011-11-16 腾讯科技(深圳)有限公司 实现聊天室成员之间播放状态同步的方法及系统
JP5151211B2 (ja) * 2007-03-30 2013-02-27 ソニー株式会社 多画面同期再生システム、表示制御端末、多画面同期再生方法、及びプログラム
CN101137066B (zh) * 2007-05-11 2011-01-05 中兴通讯股份有限公司 一种多媒体数据流同步控制的方法及装置
CN101072359A (zh) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 实现网络媒体同步视听的方法、系统及用户端
CN101316162B (zh) * 2007-06-01 2011-08-31 鼎桥通信技术有限公司 实现内容同步的方法及客户端设备和服务器端设备
CN101159850B (zh) * 2007-11-21 2010-10-27 华为软件技术有限公司 实现多终端协同控制播放视频数据的方法和播放控制代理
CN101588494B (zh) * 2009-06-30 2011-09-21 华为技术有限公司 一种媒体流处理方法及通讯系统以及相关设备
CN102170584B (zh) * 2011-03-14 2015-06-03 华为技术有限公司 同步hs终端设备之间媒体播放的方法、装置和系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065978A (zh) * 2013-03-22 2014-09-24 北京中传数广技术有限公司 一种媒体内容定位的方法及系统
CN115314745A (zh) * 2022-07-29 2022-11-08 山东浪潮超高清智能科技有限公司 一种流媒体同步方法
CN115314745B (zh) * 2022-07-29 2023-08-11 山东浪潮超高清智能科技有限公司 一种流媒体同步方法

Also Published As

Publication number Publication date
CN102170584B (zh) 2015-06-03
CN102170584A (zh) 2011-08-31
WO2012122901A3 (zh) 2012-11-08

Similar Documents

Publication Publication Date Title
WO2012122901A2 (zh) 同步hs终端设备之间媒体播放的方法
US11838450B2 (en) Devices, systems and processes for facilitating watch parties
US11758209B2 (en) Video distribution synchronization
EP2328349B1 (en) Information processing system and information processing device
CN110876080B (zh) 视频投屏方法、装置、计算机设备及存储介质
US20120131110A1 (en) Shared Multimedia Experience
US11051050B2 (en) Live streaming with live video production and commentary
US10887646B2 (en) Live streaming with multiple remote commentators
WO2014134965A1 (zh) 一种多方视频共享的方法和装置
WO2012152168A1 (zh) 在观看节目时获取评论信息的方法、系统和装置
WO2018090978A1 (zh) 自适应播放、控制方法、机顶盒及电子节目服务器
WO2010075743A1 (zh) 一种网络电视显示时间的方法及设备
US20180343291A1 (en) Data Rate Adaptation For Multicast Delivery Of Streamed Content
US20200053419A1 (en) Enabling a Media Orchestration
WO2011022994A1 (zh) 组播实时传输协议会话快速接入的方法、装置及系统
US10123085B2 (en) Synchronised social TV
JP2010062963A (ja) テレビ受像機およびテレビ受像機の処理方法
JP4190946B2 (ja) 複合コンテンツ同期配信方法、サーバ及びプログラム
JP2020174378A (ja) 異種ネットワーキング環境におけるメディアレンダリングの同期化
JP5262675B2 (ja) 映像配信システムおよびユニキャスト型多地点映像配信方法
WO2010057391A1 (zh) 一种流媒体播放控制方法、设备及系统
CN112383795B (zh) 一种视频同步播放系统
US10523409B2 (en) Method of synchronization during the processing, by a multimedia player, of an item of multimedia content transmitted by an MBMS service
KR102271686B1 (ko) 이종 네트워크 기반의 멀티미디어 자원 동기화 푸시 방법
CN107801103B (zh) 异构网络下基于网络状况的多媒体资源自适应同步方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12757054

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct app. not ent. europ. phase

Ref document number: 12757054

Country of ref document: EP

Kind code of ref document: A2