WO2012100558A1 - 媒体播放的控制方法和装置 - Google Patents

媒体播放的控制方法和装置 Download PDF

Info

Publication number
WO2012100558A1
WO2012100558A1 PCT/CN2011/080572 CN2011080572W WO2012100558A1 WO 2012100558 A1 WO2012100558 A1 WO 2012100558A1 CN 2011080572 W CN2011080572 W CN 2011080572W WO 2012100558 A1 WO2012100558 A1 WO 2012100558A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
play
presenter
media content
playback
Prior art date
Application number
PCT/CN2011/080572
Other languages
English (en)
French (fr)
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 WO2012100558A1 publication Critical patent/WO2012100558A1/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1094Inter-user-equipment sessions transfer or sharing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium

Definitions

  • the present invention relates to the field of networks, and in particular, to a method and apparatus for controlling media playback.
  • BACKGROUND OF THE INVENTION UPnP Universal Plug and Play
  • UPnP Universal Plug and Play
  • UPnP extends the concept of plug-and-play in hardware, allowing devices to dynamically join the network, dynamically leave the network, and have automatic capability announcements and searches.
  • the UPnP architecture includes three roles and four services.
  • the three roles are: Media Server MS (Media Server) provides media content; Media Presenter MR (Media Renderer) receives media content and demonstrates; Play Control Point CP (Control Point) controls media playback.
  • CDS service Content Directory Service
  • Browse media content on the media server such as media files and media streams
  • CMS service Connection Manager Service
  • establish media links including Negotiation of transport protocol and media format, management of transport channel
  • AVT service AV Transport Service
  • controls media content such as play, pause, stop, locate, etc.
  • RCS service Rendering Control Service
  • Control the media presenter such as adjusting the volume, highlighting, adjusting contrast, and more.
  • a device with a playback control point can discover media servers and media presenters in a UPnP network, browse and select media content (eg, audio, video files, etc.) in a media server through a CDS service, and select a certain media.
  • the presenter plays media content.
  • the playback control point can control the playback of the media, perform operations such as play, pause, stop, locate, fast forward, rewind, etc., but the media presenter cannot control the playback of the media itself.
  • the playback control point controls the media playback to have two models, Push and Pull, in which the playback control
  • the point control media server pushes the media content to the media presenter as a Push model
  • the play control point controls the media presenter to request the media content to be a Pull model from the media server.
  • the playback control point and the media presenter are not the same device, and may be located in different geographic locations, and the media presenter cannot control the playing of the media, which is very inconvenient to use.
  • UPnP set top box
  • PC mobile phone
  • iPad camera
  • the male owner uses the STB to watch the TV program of the news channel in the living room.
  • the TV program of the movie channel can be pushed to the TV of the bedroom through the CPB of the living room on the iPad, and then the hostess can watch the video channel in the bedroom.
  • the STB of the living room is the MS providing the media content
  • the TV of the bedroom is the MR for playing the media content
  • the iPad as the CP can pause, stop playing, etc., but the MR cannot control itself.
  • the user controls the camera to push the video clip to the television for playback.
  • the camera is MS
  • the TV is MR
  • the computer as a CP can control MR pause, fast forward, fast reverse, etc., but the TV cannot control itself.
  • a method for controlling media playback the method being applied to a playback control point, the method comprising:
  • the playing of the media content is controlled according to a first playback control command sent by the media presenter.
  • a method for controlling media playback the method being applied to a media presenter, the method comprising: Obtaining media content from a media server;
  • a method for controlling media playback the method being applied to a media presenter, the method comprising:
  • a play control point, the play control point includes:
  • a first receiving unit configured to receive a first play control instruction sent by the media presenter during playing the media content acquired from the media server
  • control unit configured to control playing of the media content according to the first play control instruction sent by the media presenter.
  • a media presenter comprising:
  • An obtaining unit configured to obtain media content from a media server
  • a playing unit configured to play the media content acquired by the acquiring unit according to the created media playing instance
  • a sending unit configured to send a first play control instruction to the play control point when the play unit needs to control the play of the media content, in the process of playing the media content acquired by the acquiring unit, so that the play control is performed
  • the point controls the playing of the media content.
  • a media presenter comprising:
  • a sending unit configured to send a media content acquisition request to the media server according to the control of the play control point
  • a receiving unit configured to receive media content that is sent by the media server according to the media content request
  • a playing unit configured to control playing of the media content by using a local resource during playing the media content according to the created media playing instance.
  • the media presenter when the media presenter and the playback control point are not in the same device, the media presenter sends a play control request to the play control point, and controls the media play through the play control point, thereby performing the media presentation.
  • the device can also control the playback of the media just like a playback control point.
  • FIG. 1 is a schematic diagram of an application scenario of a media playback control method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a media playback control method according to an embodiment of the present invention
  • FIG. 3 is a diagram of a method for controlling media playback according to an embodiment of the present invention.
  • FIG. 4 is a processing flowchart of a method for controlling media playback shown in FIG. 3;
  • FIG. 5 is another embodiment of a method for controlling media playback according to an embodiment of the present invention.
  • FIG. 6 is a processing flowchart of a method for controlling media playback shown in FIG. 5;
  • FIG. 7 is a diagram of a method for controlling media playback according to an embodiment of the present invention.
  • FIG. 8 is a diagram of a method for controlling media playback according to an embodiment of the present invention. Flowing s diagram
  • FIG. 9 is a processing flowchart of a method for controlling media playback shown in FIG. 8.
  • FIG. 10 is a block diagram showing the composition of a playback control point according to an embodiment of the present invention.
  • FIG. 11 is a block diagram showing the composition of an embodiment of a media presenter according to an embodiment of the present invention
  • FIG. 12 is a block diagram showing the composition of another embodiment of a media presenter according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application scenario of a media playback control method according to an embodiment of the present invention.
  • the application scenario is a UPnP architecture.
  • the application scenario includes a media server 11 , a media renderer 12 , and a playback control.
  • Point 13 wherein the media server 11 is configured to provide media content, the media presenter 12 is configured to receive the media content and is presented, and the playback control point 13 is configured to control playback of the media content.
  • the media server 11, the media presenter 12, and the playback control point 13 can perform playback and control of media content through the CDS service, the CMS service, the AVT service, and the RCS service. Since this portion has been described in the foregoing background art, Let me repeat.
  • the media server 11, the play control point 13, and the media presenter 12 may be various UPnP devices in the home, such as a living room, a bedroom STB (set top box), a PC, a mobile phone, an iPad, a video camera, etc., this embodiment is
  • the media server 11 is a video camera
  • the media presenter 12 is a television (including STB)
  • the playback control point 13 is a computer (PC).
  • FIG. 2 is a flowchart of a method for controlling media playback according to an embodiment of the present invention. The method is applied to a playback control point. Referring to FIG. 2, the method includes:
  • Step 201 Receive a first play control instruction sent by the media presenter in the process of playing the media content acquired from the media server;
  • the first play control command may be delivered by a media play control request of the AVT service.
  • Step 202 Control playback of the media content according to a first play control command sent by the media presenter.
  • the step 202 is to control the media server to perform a corresponding action according to the first play control command sent by the media presenter, for example, forwarding the first play control command to the media server, the media
  • the server can control the play of the media content, where controlling the play of the media content can be implemented by controlling the transmission of the media content, thereby achieving that the media presenter is playing.
  • the effect of the playback control of the media content Since the playback control here is initiated by the media presenter, the effect of media playback of the media content acquired from the media server by the media presenter is achieved.
  • the step 202 is to control the media presentation according to the first play control instruction sent by the media presenter.
  • the device performs a corresponding action, for example, forwarding the first play control command to the media presenter, and after receiving the first play control command, the media presenter can control the play of the media content, and the same is achieved on the media presenter.
  • the effect of the playback control of the media content being played. Since the playback control here is also initiated by the media presenter, the effect of media playback of the media content acquired from the media server by the media presenter is achieved.
  • FIG. 3 is a flowchart of a method for controlling media playback according to an embodiment of the present invention. The method is applied to a play control point. In the embodiment shown in FIG. 3, the play control point controls the media play by using a push model. The content of this embodiment is the same as that of the embodiment of FIG. 1 and will not be described again. Referring to Figure 3, the method includes:
  • Step 301 In the process of controlling the media server to push the media content to the media presenter, send a “Set Audio Video AV Transmission Uniform Resource Location” instruction to the media presenter, so that the media presenter creates a media play instance according to the instruction;
  • the playback control point of the embodiment may send a set audio and video AV transmission uniform resource location instruction to the media presenter, so that the media presenter constructs the media play instance accordingly.
  • Step 302 Receive a first play control instruction sent by the media presenter in the process of playing the media content acquired from the media server;
  • the media content can be obtained from the media server and demonstrated.
  • the playback control point of the embodiment is Sending the first play control command.
  • Step 303 Forward the first play control command sent by the media presenter to the media server, so that the media server controls playback of the media content according to the first play control command.
  • the media server control of the media content can be implemented by controlling the transmission of the media content, so that the effect of controlling the media playback can be achieved.
  • the media server can also actively control the playing of the media content in the process of playing the media content obtained by the media server.
  • the method in this embodiment further includes:
  • Step 304 Receive a second play control instruction sent by the media server.
  • Step 305 Send the second playback control instruction to the media server, so that the media server controls playback of the media content.
  • the media server controls the playing of the media content by controlling the transmission of the media content, and the media server controls the transmission of the media content, thereby indirectly controlling the media content on the media presenter. The effect of playback.
  • the embodiment does not limit the sequence between the steps 304 and 305 and the steps 302 and 303.
  • the steps 302 and 303 may be performed before the steps 304 and 305 may be performed, or the steps 304 and 305 may be performed before the step 302 is performed. , 303.
  • the first play control command and the second play control command may be play, pause, stop, locate, fast forward or rewind, etc., and the embodiment is not limited thereto.
  • the media The presenter or media server can control the playback of media content, increasing the flexibility of media playback control and improving the user experience.
  • FIG. 4 is a flow chart of the playback control point CP using the push model for media playback control.
  • the media presenter MR and the media server MS can also perform media playback control by using the method of the embodiment. .
  • the process includes:
  • Step 401 The CP sends a browse/search request to the MS CDS::Browse/Search.
  • Step 402 The MS returns a 200 OK to the CP, which includes media information such as a file name and a media format on the MS.
  • Step 403 The CP sends an acquisition protocol information request CM::GetProtocolInfo to the MR.
  • Step 404 The MR returns a 200 OK to the CP, which includes the MR supported transport protocol and media format.
  • Step 405 The CP matches and selects a transport protocol and media format, and sends a connection preparation request CM::PrepareForConnection to the MS.
  • Step 406 The MS creates a connection management and returns a 200 OK to the CP, including a connection identifier and an AVT Instance ID.
  • Step 407 The CP sends a connection preparation request CM::PrepareForConnection to the MR.
  • Step 408 The MR creates a connection management and returns a 200 OK to the CP, including a connection identifier and an AVT Instance ID.
  • Step 409 The CP sends a setting to the MS AV transmission uniform resource location request AVT:: SetAVTransportURI, MS creates a media play instance.
  • Step 410 The MS returns a 200 OK to the CP.
  • Step 411 The CP sends an AV transmission uniform resource location request AVT::SetAVTransportURI to the MR, and MR creates a media play instance.
  • Step 413 The CP sends a play request to the MS, AVT::Play, and the MS starts playing.
  • the play request is a type of media play control command, and the media play control command may also be other media play control operations, such as stop, pause, locate, and the like.
  • Step 414 The MS returns 200 OK to the CP.
  • Step 415 The MS sends the media content to the MR.
  • Step 416 The MR sends a pause request to the CP.
  • AVT::Pause the MS controls the MS to pause playback.
  • the pause request is one of the first play control commands, and the first play control command may also be other media play control operations, such as stop, locate, fast forward, fast reverse, and the like.
  • Step 417 The CP sends a pause request to the MS.
  • AVT::Pause the MS pauses to play.
  • Step 418 The MS returns 200 OK to the CP.
  • Step 419 The CP returns 200 ⁇ to the MR.
  • Step 420 The MS sends a stop request to the CP: AVT::Stop, and the MS stops the play by the CP.
  • the stop request is one of the second play control commands, and the second play control command may also be other media play control operations, such as pause, locate, fast forward, fast reverse, and the like.
  • Step 421 The CP sends a stop request to the MS.
  • AVT::Stop the MS stops playing.
  • Step 422 The MS returns 200 OK to the CP.
  • Step 423 The CP returns 200 ⁇ to the MS.
  • Step 424 After the playback is completely finished, the CP sends a connection completion request to the MR CM:: Connection complete.
  • Step 425 The MR closes the connection and returns 200 OK to the CP.
  • Step 426 After the playback is completely finished, the CP sends a connection completion request to the MS CM:: Connection complete.
  • Step 427 The MS closes the connection and returns 200 OK to the CP.
  • the following uses the media server (MS) as the camera, the playback control point (CP) as the computer (ie PC), and the media presenter (MR) as the TV (including the STB) as an example to illustrate the application of this embodiment:
  • the user can push the video clip to the television through the computer control camera.
  • the camera is the MS
  • the TV is the MR
  • the computer can control the MR pause, fast forward, fast rewind, etc. as the CP.
  • the television or the camera can also control the video clip being played on the television to pause, fast forward, rewind, etc., and the specific implementation process is shown in FIG. 4, and details are not described herein again.
  • the media server when the play control point CP performs the media play control in the push mode, that is, the media server directly delivers the media content to the media presenter (step 415), the media presenter MR And the media server MS can also control the media playback.
  • FIG. 5 is a flowchart of a media playback control method according to another embodiment of the present invention. The method is applied to a playback control point.
  • the playback control point controls the media playback by using a pull model.
  • the content of this embodiment is the same as that of the embodiment of FIG. 1 and will not be described again.
  • the method includes:
  • Step 501 In the process of controlling the media presenter to request media content from the media server, send a “Set Audio Video AV Transmission Uniform Resource Location” instruction to the media server, so that the media server creates a media play instance according to the instruction;
  • the playback control point of the embodiment may send a set audio and video AV transmission uniform resource location instruction to the media server, so that the media server constructs the media play instance accordingly.
  • Step 502 Receive a first play control instruction sent by the media presenter in the process of playing the media content acquired from the media server.
  • the media content can be sent to the media presenter according to the request of the media presenter, and in the process of demonstrating the media content by the media presenter, if the media content is to be controlled,
  • the first playback control command is sent to the playback control point of the embodiment.
  • Step 503 Forward the first play control command sent by the media presenter to the media presenter, and after receiving the first play control command, the media presenter can control the play of the media content.
  • the media server can also actively control the playing of the media content in the process of playing the media content obtained by the media server.
  • the method in this embodiment further includes:
  • Step 504 Receive a third play control command sent by the media server.
  • Step 505 Send the third play control instruction to the media presenter, so that the media presenter controls play of the media content.
  • the embodiment does not limit the sequence between the steps 504 and 505 and the steps 502 and 503.
  • the steps 502 and 503 may be performed before the steps 504 and 505 may be performed, or the steps 504 and 505 may be performed before the step 502 is performed. , 503.
  • the first play control command and the third play control command may be play, pause, stop, locate, fast forward or rewind, etc., and the embodiment is not limited thereto.
  • the media server delivers the media content to the media presenter according to the request of the media presenter, the media presenter or the media
  • the server can control the playback of media content, increase the flexibility of media playback control, and improve the user experience.
  • the method of the present embodiment is performed in combination with the processing flow of the media server control of the media server, the playback control point, and the media presenter. Detailed description.
  • FIG. 6 is a flowchart of playing control point CP using the pull model for media playback control.
  • the media presenter MR and the media server MS can also perform media playback control by using the method of this embodiment. .
  • the process includes:
  • Step 601 The CP sends a browse/search request to the MS CDS::Browse/Search.
  • Step 602 The MS returns a 200 OK to the CP, which includes media information such as a file name and a media format on the MS.
  • Step 603 The CP sends an acquisition protocol information request CM::GetProtocolInfo to the MR.
  • Step 604 The MR returns a 200 OK to the CP, which includes the MR supported transport protocol and media format.
  • Step 605 The CP matches and selects a transport protocol and media format, and sends a connection preparation request CM::PrepareForConnection to the MS.
  • Step 606 The MS creates a connection management and returns a 200 OK to the CP, which includes a connection identifier and an AVT Instance ID.
  • Step 607 The CP sends a connection preparation request CM::PrepareForConnection to the MR.
  • Step 608 The MR creates a connection management, and returns a 200 OK to the CP, including a connection identifier and an AVT Instance ID.
  • Step 609 The CP sends a setting to the MR AV transmission uniform resource location request AVT:: SetAVTransportURI, MR creates a media play instance.
  • Step 610 The MR returns 200 OK to the CP.
  • Step 611 The CP sends a setting to the MS AV transmission uniform resource location request AVT:: SetAVTransportURI, MS creates a media play instance.
  • Step 612 The MS returns 200 OK to the CP.
  • Step 613 The CP sends a play request to the MR AVT::Play, and the MR starts playing.
  • the play request is a type of media play control command, and the media play control command may also be other media play control operations, such as stop, pause, locate, and the like.
  • Step 614 The MR returns 200 OK to the CP.
  • Step 615 The MR requests the media content from the MS.
  • Step 616 The MR sends a pause request to the CP.
  • AVT::Pause the MR is controlled by the CP to pause playback.
  • the pause request is one of the first play control commands, and the first play control command may also be other media play control operations, such as stop, locate, fast forward, fast reverse, and the like.
  • Step 617 The CP sends a pause request to the MR.
  • AVT::Pause the MR pauses playback.
  • Step 618 The MR returns 200 OK to the CP.
  • Step 619 The CP returns 200 ⁇ to the MR.
  • Step 620 The MS sends a stop request to the CP: AVT::Stop, and the MR controls the MR to stop playing.
  • the stop request is a type of a third play control command
  • the third play control command may also be other media play control operations, such as pause, locate, fast forward, rewind, and the like.
  • Step 621 The CP sends a stop request to the MR.
  • AVT::Stop the MR stops playing.
  • Step 622 The MR returns 200 OK to the CP.
  • Step 623 The CP returns 200 ⁇ to the MS.
  • Step 624 After the playback is completely finished, the CP sends a connection completion request to the MR CM:: Connection complete.
  • Step 625 The MR closes the connection and returns 200 OK to the CP.
  • Step 626 After the playback is completely finished, the CP sends a connection completion request to the MS CM::
  • Step 627 The MS closes the connection and returns 200 OK to the CP.
  • the media server (MS), the playback control point (CP), and the media presenter (MR) may be various UPnP devices in the home, such as a living room, a bedroom STB (set top box), a PC, a mobile phone, and an iPad. , cameras, etc.
  • the following uses the media server (MS) as the camera and the playback control point (CP) as the computer (that is,
  • the user can use the computer to control the camera to push the video clip to the TV to play, at this time, the camera is MS, the TV is an MR, and the computer can control the MR pause, fast forward, fast rewind, etc. as the CP.
  • the television or the camera can also control the video clip being played on the television to pause, fast forward, Rewind, etc., the specific implementation process is shown in Figure 6, and will not be repeated here.
  • the media server delivers the media content to the media presenter according to the request of the media presenter (step 615).
  • the media presenter MR and the media server MS can also perform media playback control.
  • FIG. 7 is a flowchart of a method for controlling media playback according to an embodiment of the present invention. The method is applied to a media presenter. Referring to FIG. 7, the method includes:
  • Step 703 Obtain media content from a media server.
  • step 703 of the embodiment may directly receive the media content pushed by the media server according to the control of the playback control point; when the playback control point uses the pull model for media During the playback control, step 703 of the embodiment may first send a media content acquisition request to the media server according to the control of the playback control point, and then receive the media content sent by the media server according to the media content request.
  • Step 704 Play the media content according to the created media play instance.
  • Step 705 In the process of playing the media content, if the playing of the media content is to be controlled, sending a first play control instruction to the play control point, so that the play control point is according to the The first play control command controls playback of the media content.
  • the play control point uses the push model to perform media play control, and the play control point controls the play of the media content according to the first play control command, and may forward the first play control command to the media server. Controlling the media server to play the media content, thereby achieving the purpose of controlling the playback of the media content.
  • the play control point uses the pull model to perform media play control, and the play control point controls the play of the media content according to the first play control command, and may forward the first play control command to the media presentation. And controlling the playing of the media content by the media presenter.
  • the media playback control method of this embodiment is applied to a media presenter, and the method and FIG. 3 and FIG.
  • control method of the media playback applied to the playback control point is corresponding to 5, and the method of this embodiment further includes:
  • Step 701 Receive a setting of the AV transmission uniform resource location sent by the play control point.
  • Step 702 Create a media play instance according to the setting AV transmission uniform resource location instruction.
  • the steps 701 and 702 correspond to the step 301. Since the process has been described in detail in steps 301 and 411, details are not described herein.
  • the media presenter can also perform media playback control.
  • FIG. 8 is a flowchart of a method for controlling media playback according to an embodiment of the present invention. The method is applied to a media presenter. Referring to FIG. 8, the method includes:
  • Step 801 Send a media content acquisition request to the media server according to the control of the play control point;
  • Step 802 Receive, in the media sent by the media server according to the media content request
  • Step 803 Control the playing of the media content by using a local resource in the process of playing the media content according to the created media playing instance.
  • the method in this embodiment is applied to a scenario in which the playback control point uses the pull model to perform media playback control.
  • the media presenter obtains the media content from the media server according to the control of the playback control point, the media content is directly controlled.
  • Playback instead of controlling the playback of the media content through the playback control point, the media operation control is simpler because the control operation of the playback control point is ignored.
  • FIG. 9 is a flowchart of the playback control point CP using the pull model for media playback control.
  • the media presenter MR can perform media playback control by using the method of this embodiment. Please refer to Figure 9.
  • the process includes:
  • Step 901 The CP sends a browsing search request to the MS CDS::Browse/Search.
  • Step 902 The MS returns a 200 OK to the CP, which includes media information such as a file name and a media format on the MS.
  • Step 903 The CP sends an acquisition protocol information request CM::GetProtocolInfo to the MR.
  • Step 904 The MR returns a 200 OK to the CP, which includes the MR supported transport protocol and media format.
  • Step 905 The CP matches and selects a transport protocol and media format, and sends a connection preparation request CM::PrepareForConnection to the MS.
  • Step 906 The MS creates a connection management and returns a 200 OK to the CP, including a connection identifier and an AVT Instance ID.
  • Step 907 The CP sends a connection preparation request CM::PrepareForConnection to the MR.
  • Step 908 MR creates a connection management, returns 200 OK to the CP, including the connection. ID, AVT Instance ID (AVT Instance ID).
  • Step 909 The CP sends a setting to the MR AV transmission uniform resource location request AVT:: SetAVTransportURI, MR creates a media play instance.
  • Step 910 The MR returns 200 0K to the CP.
  • Step 911 The CP sends a play request to the MR AVT::Play, and the MR starts playing.
  • the play request is a type of media play control command, and the media play control command may also be other media play control operations, such as stop, pause, locate, and the like.
  • Step 912 The MR returns 200 OK to the CP.
  • Step 913 The MR sends a GET message to the MS.
  • Step 914 The MS returns 200 OK to the MR.
  • the 200 ⁇ message carries the requested media content.
  • Step 913 and step 914 of this embodiment correspond to step 615 in the embodiment of Fig. 6.
  • the MR can directly control the media playback without controlling the media playback through the CP, and can ignore the control operation of the CP.
  • Step 915 After the playback is completely finished, the CP sends a connection completion request to the MR CM::
  • Step 916 The MR closes the connection and returns 200 OK to the CP.
  • Step 917 After the playback is completely finished, the CP sends a connection completion request to the MS CM:: Connection complete.
  • Step 918 The MS closes the connection and returns 200 OK to the CP.
  • connection completion request CM Connection complete is defined in the standard and will not be described here.
  • a media server MS
  • a playback control point CP
  • a media presenter CP
  • MR can be a variety of UPnP devices in the home, such as the living room, bedroom STB (top Box), PC, mobile, iPad, camcorder, etc.
  • the following uses the media server (MS) as the camera, the playback control point (CP) as the computer (ie PC), and the media presenter (MR) as the TV (including the STB) as an example to illustrate the application of this embodiment:
  • the user can push the video clip to the television through the computer control camera.
  • the camera is the MS
  • the TV is the MR
  • the computer can control the MR pause, fast forward, fast rewind, etc. as the CP.
  • the TV can control the video clip being played on the TV to pause, fast forward, rewind, etc., while ignoring the operation of the computer.
  • the specific implementation process is shown in Figure 9, and will not be described here.
  • the media presenter MR can perform media playback control by itself.
  • FIG. 10 is a block diagram of a composition of a playback control point according to an embodiment of the present invention.
  • the playback control point includes:
  • the first receiving unit 101 is configured to receive a first play control instruction sent by the media presenter in the process of playing the media content acquired from the media server;
  • the control unit 102 is configured to control playback of the media content according to the first play control instruction sent by the media presenter received by the first receiving unit 101.
  • the playback control point uses the push model for media playback control
  • the playback control point further includes: a first sending unit 103, configured to: in controlling the media server to push the media content to the media presenter, to The Media Presenter sends a Set Audio Video AV Transport Uniform Resource Location command for the Media Presenter to create a media play instance.
  • control unit 102 is specifically configured to send the first play control command to the media server, so that the media server controls playback of the media content.
  • the play control point further includes:
  • the second receiving unit 104 is configured to receive the second play control command sent by the media server, and the second sending unit 105 is configured to send the second play control command to the media server, so that the media server controls playing of the media content.
  • the components of the playback control point of this embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 3 and FIG. 4, and the steps have been described in detail in the embodiments of FIG. 3 and FIG. I will not repeat them here.
  • the playback control point uses the pull model for media playback control, then:
  • the play control point further includes: a third sending unit 103', configured to send a set audio and video AV transmission uniform resource location instruction to the media server in the process of controlling the media presenter to request the media content from the media server, so that the media server creates Media play instance.
  • a third sending unit 103' configured to send a set audio and video AV transmission uniform resource location instruction to the media server in the process of controlling the media presenter to request the media content from the media server, so that the media server creates Media play instance.
  • control unit 102 is specifically configured to: send the first play control instruction to the media presenter, so that the media presenter controls play of the media content.
  • the play control point further includes:
  • a third receiving unit 104 configured to receive a third playback control command sent by the media server
  • a fourth sending unit 105 configured to send the third playback control instruction to the media presenter, so that the media presenter controls the media The playback of the content.
  • the components of the playback control point of this embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 5 and FIG. 6. Since the steps have been described in detail in the embodiments of FIG. 5 and FIG. 6, I will not repeat them here.
  • the media presenter or the media server can directly control the playback of the media content, thereby increasing the flexibility of the media playback control.
  • FIG. 11 is a block diagram of a composition of a media presenter according to an embodiment of the present invention.
  • the media presenter includes:
  • the obtaining unit 111 is configured to obtain media content from a media server.
  • the playing unit 112 is configured to play the media content acquired by the acquiring unit 111 according to the created media playing instance;
  • the sending unit 113 is configured to send the first play control to the play control point when the play unit 112 plays the media content acquired by the obtaining unit 111, when the play of the media content needs to be controlled. And causing the playback control point to control playback of the media content according to the first playback control command.
  • the media presenter further includes:
  • the receiving unit 114 is configured to: before the obtaining unit 111 acquires the media content from the media server, receive a setting AV transmission uniform resource location instruction sent by the playback control point;
  • the creating unit 115 is configured to create a media play instance according to the setting AV transmission uniform resource location instruction received by the receiving unit 114.
  • the obtaining unit 111 includes:
  • the receiving module 1111 is configured to receive media content that is sent by the media server according to the control of the play control point.
  • the obtaining unit 111 includes:
  • the requesting module 1112 is configured to send a media content acquisition request to the media server according to the control of the play control point, and receive the media content that is sent by the media server according to the media content request.
  • the components of the media presenter of this embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 7. Since the steps in the embodiment shown in FIG. 7 have been described in detail, the steps are not described here. Let me repeat.
  • the media presenter of the embodiment can directly control the playing of the media content obtained from the media server, thereby increasing the flexibility of the media playing control.
  • FIG. 12 is a block diagram of a composition of a media presenter according to an embodiment of the present invention.
  • the media presenter includes:
  • the sending unit 121 is configured to send a media content acquisition request to the media server according to the control of the play control point;
  • the receiving unit 122 is configured to receive media content that is sent by the media server according to the media content request;
  • a playing unit 123 configured to play media content according to the created media play instance, The playback of the media content is controlled using local resources.
  • the components of the media presenter of this embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 8 and FIG. 9, because in the embodiments shown in FIG. 8 and FIG. 9, the steps have been performed. Detailed description will not be repeated here.
  • the media presenter of the embodiment can directly control the playback of the media content acquired from the media server, and ignore the control of the playback control point, thereby increasing the flexibility of the media playback control.
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.

Landscapes

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

Description

媒体播放的控制方法和装置 技术领域
本发明涉及网络领域, 尤其涉及一种媒体播放的控制方法和装置。 背景技术 UPnP (Universal Plug and Play, 通用即插即用) 是为各种设备 (如 PC 机、 智能手机、 多媒体设备等) 提供对等 (peer-to-peer) 网络连接的架构。 UPnP延伸了原本在硬件中的即插即用的概念, 让设备动态加入网络, 动态 离开网络, 具备自动能力宣告和搜索等功能。
在多媒体应用中, UPnP架构包括三种角色和四种服务。 其中三种角色 分别为: 媒体服务器 MS (Media Server) 提供媒体内容; 媒体演示器 MR (Media Renderer) 接收媒体内容并演示; 播放控制点 CP (Control Point) 控 制媒体的播放。 其中四种服务分别为 : CDS 服务 ( Content Directory Service, 内容浏览器服务) 浏览媒体服务器上的媒体内容, 如媒体文件和媒 体流; CMS服务 (Connection Manager Service, 连接管理服务) 建立媒体链 接, 包括传输协议和媒体格式的协商, 传输通道的管理; AVT服务 (AV Transport Service, AV传输服务) 对媒体内容进行控制, 如播放、 暂停、 停 止、 定位等; RCS服务 (Rendering Control Service, 演示控制服务) 对媒体 演示器进行控制, 如调音量、 调亮点、 调对比度等。 例如, 一个具有播放控 制点的设备可以发现 UPnP网络中的媒体服务器和媒体演示器, 通过 CDS服 务浏览并选择某个媒体服务器中的媒体内容 (例如音频、 视频文件等) , 并 选择某个媒体演示器播放媒体内容。 播放控制点可以控制媒体的播放, 执行 播放、 暂停、 停止、 定位、 快进、 快退等操作, 但是媒体演示器自身不能控 制媒体的播放。
目前, 播放控制点控制媒体播放有 Push和 Pull两种模型, 其中播放控 制点控制媒体服务器向媒体演示器推送媒体内容为 Push模型, 播放控制点控 制媒体演示器向媒体服务器请求媒体内容为 Pull模型。 在很多场景下, 播放 控制点和媒体演示器不是同一个设备, 可能位于不同的地理位置, 而媒体演 示器上无法控制媒体的播放, 使用时十分不便。
例如, 用户通过 UPnP技术发现家庭内的各种 UPnP设备, 例如客厅和 卧室的 STB (机顶盒) 、 PC、 手机、 iPad、 摄像机等等。 男主人在客厅用 STB看新闻频道的电视节目, 可以通过 iPad上的 CP控制客厅的 STB将影视 频道的电视节目推送到卧室的电视机上, 然后女主人可以在卧室看影视频 道。 此时, 客厅的 STB就是提供媒体内容的 MS, 卧室的电视机就是播放媒 体内容的 MR, iPad作为 CP可以暂停、 停止播放等, 但是 MR无法自己控 制。 再例如, 用户通过电脑控制摄像机将视频短片推送到电视机上播放。 此 时, 摄像机是 MS, 电视机是 MR, 电脑作为 CP可以控制 MR暂停、 快进、 快退等, 但是电视机无法自己控制。 发明内容 本发明实施例提供一种媒体播放的控制方法和装置, 以实现媒体播放的 多点控制。
本发明实施例的上述目的是通过如下技术方案实现的:
一种媒体播放的控制方法, 所述方法应用于播放控制点, 所述方法包 括:
接收媒体演示器在播放从媒体服务器获取的媒体内容的过程中, 发送的 第一播放控制指令;
根据所述媒体演示器发送的第一播放控制指令控制所述媒体内容的播 放。
一种媒体播放的控制方法, 所述方法应用于媒体演示器, 所述方法包 括: 从媒体服务器获取媒体内容;
根据创建的媒体播放实例播放所述媒体内容;
在播放所述媒体内容过程中, 如果要控制所述媒体内容的播放, 则向播 放控制点发送第一播放控制指令, 以便所述播放控制点根据所述第一播放控 制指令控制所述媒体内容的播放。
一种媒体播放的控制方法, 所述方法应用于媒体演示器, 所述方法包 括:
根据播放控制点的控制向媒体服务器发送媒体内容获取请求; 接收所述媒体服务器根据所述媒体内容请求发送的媒体内容; 在根据创建的媒体播放实例播放所述媒体内容过程中, 利用本地资源控 制所述媒体内容的播放。
一种播放控制点, 所述播放控制点包括:
第一接收单元, 用于接收媒体演示器在播放从媒体服务器获取的媒体内 容的过程中, 发送的第一播放控制指令;
控制单元, 用于根据所述媒体演示器发送的第一播放控制指令控制所述 媒体内容的播放。
一种媒体演示器, 所述媒体演示器包括:
获取单元, 用于从媒体服务器获取媒体内容;
播放单元, 用于根据创建的媒体播放实例播放所述获取单元获取到的媒 体内容;
发送单元, 用于在所述播放单元播放所述获取单元获取到的媒体内容过 程中, 在需要控制所述媒体内容的播放时, 向播放控制点发送第一播放控制 指令, 以便所述播放控制点控制所述媒体内容的播放。
一种媒体演示器, 所述媒体演示器包括:
发送单元, 用于根据播放控制点的控制向媒体服务器发送媒体内容获取 请求; 接收单元, 用于接收所述媒体服务器根据所述媒体内容请求发送的媒体 内容;
播放单元, 用于在根据创建的媒体播放实例播放所述媒体内容过程中, 利用本地资源控制所述媒体内容的播放。
通过本发明实施例提供的方法和装置, 当媒体演示器与播放控制点不在 同一个设备中时, 媒体演示器向播放控制点发送播放控制请求, 通过播放控 制点控制媒体的播放, 从而媒体演示器也可以像播放控制点一样控制媒体的 播放。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 并不构成对本发明的限定。 在附图中:
图 1为本发明实施例的媒体播放的控制方法的应用场景示意图; 图 2为本发明实施例的媒体播放的控制方法的流程图;
图 3为本发明实施例的媒体播放的控制方法的
Figure imgf000006_0001
图 4为图 3所示媒体播放的控制方法的处理流程图;
流 图 5为本发明实施例的媒体播放的控制方法的另外一个
图;
图 6为图 5所示媒体播放的控制方法的处理流程图;
图 7为本发明实施例的媒体播放的控制方法的
Figure imgf000006_0002
图;
图 8为本发明实施例的媒体播放的控制方法的
Figure imgf000006_0003
流禾 s 图;
图 9为图 8所示媒体播放的控制方法的处理流程图;
图 10为本发明实施例的播放控制点的组成框图;
图 11为本发明实施例的媒体演示器的一个实施例的组成框图; 图 12为本发明实施例的媒体演示器的另外一个实施例的组成框图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚明白, 下面结合实 施例和附图, 对本发明实施例做进一步详细说明。 在此, 本发明的示意性实 施例及其说明用于解释本发明, 但并不作为对本发明的限定。
图 1 为本发明实施例提供的媒体播放的控制方法的应用场景示意图, 该 应用场景即为 UPnP架构, 请参照图 1, 在该应用场景中, 包括媒体服务器 11、 媒体演示器 12以及播放控制点 13, 其中, 媒体服务器 11用于提供媒体 内容, 媒体演示器 12用于接收该媒体内容并加以演示, 播放控制点 13用于 控制该媒体内容的播放。 该媒体服务器 11、 媒体演示器 12 以及播放控制点 13可以通过 CDS服务、 CMS服务、 AVT服务以及 RCS服务进行媒体内容 的播放和控制, 由于这部分已经在前述背景技术中加以说明, 在此不再赘 述。 其中, 媒体服务器 11、 播放控制点 13、 媒体演示器 12可以是家庭内的 各种 UPnP设备, 例如客厅、 卧室的 STB (机顶盒) 、 PC、 手机、 iPad、 摄 像机等等, 本实施例是以媒体服务器 11为摄像机、 媒体演示器 12为电视机 (包含 STB ) 、 播放控制点 13为电脑 (PC) 为例。
图 2为本发明实施例提供的一种媒体播放的控制方法的流程图, 该方法 应用于播放控制点, 请参照图 2, 该方法包括:
步骤 201 : 接收媒体演示器在播放从媒体服务器获取的媒体内容的过程 中, 发送的第一播放控制指令;
其中, 该第一播放控制指令可以通过 AVT服务的媒体播放控制请求来 传递。
步骤 202: 根据所述媒体演示器发送的第一播放控制指令控制所述媒体 内容的播放。
其中, 如果该播放控制点利用 push模型控制媒体播放, 也即播放控制点 控制媒体服务器向媒体演示器推送媒体内容, 则该步骤 202是根据该媒体演 示器发送的第一播放控制指令控制媒体服务器执行相应的动作, 例如向该媒 体服务器转发该第一播放控制指令, 媒体服务器接收到该第一播放控制指令 后, 即可控制该媒体内容的播放, 这里的控制该媒体内容的播放可以通过控 制该媒体内容的传输的方式实现, 从而达到对该媒体演示器上正在播放的媒 体内容的播放控制的效果。 由于这里的播放控制是由媒体演示器发起的, 因 此, 达到了由媒体演示器控制从媒体服务器获取的媒体内容的媒体播放的效 果。
其中, 如果该播放控制点利用 pull模型控制媒体播放, 也即播放控制点 控制媒体演示器向媒体服务器请求媒体内容, 则该步骤 202是根据该媒体演 示器发送的第一播放控制指令控制媒体演示器执行相应的动作, 例如向该媒 体演示器转发该第一播放控制指令, 媒体演示器接收到第一播放控制指令 后, 即可控制该媒体内容的播放, 同样达到了对该媒体演示器上正在播放的 媒体内容的播放控制的效果。 由于这里的播放控制也是由媒体演示器发起 的, 因此, 达到了由媒体演示器控制从媒体服务器获取的媒体内容的媒体播 放的效果。
图 3为本发明实施例提供的一种媒体播放的控制方法的流程图, 该方法 应用于播放控制点, 在图 3所示的实施例中, 播放控制点利用 push模型控制 媒体播放。 其中, 本实施例与图 1 实施例相同的内容不再赘述。 请参照图 3, 该方法包括:
步骤 301 : 在控制媒体服务器向媒体演示器推送媒体内容的过程中, 向 所述媒体演示器发送 "设置音视频 AV传输统一资源位置"指令, 以便媒体 演示器根据该指令创建媒体播放实例;
其中, 本实施例的播放控制点在控制媒体服务器向媒体演示器推送媒体 内容的过程中, 可以向媒体演示器发送设置音视频 AV传输统一资源位置指 令, 以便媒体演示器据此构建媒体播放实例。 步骤 302 : 接收媒体演示器在播放从媒体服务器获取的媒体内容的过程 中, 发送的第一播放控制指令;
其中, 媒体演示器在构建了媒体播放实例后, 即可从媒体服务器获取媒 体内容并演示, 而在演示过程中, 如果要控制对该媒体内容的播放, 则会向 本实施例的播放控制点发送该第一播放控制指令。
步骤 303 : 将所述媒体演示器发送的第一播放控制指令转发给媒体服务 器, 以便媒体服务器根据该第一播放控制指令后, 控制对该媒体内容的播 放。
其中, 这里的媒体服务器控制对该媒体内容的播放可以通过控制该媒体 内容的传输的方式实现, 如此即可达到控制该媒体播放的效果。
在本实施例中, 在媒体演示器播放从媒体服务器获取的媒体内容的过程 中, 媒体服务器也可以主动控制对该媒体内容的播放, 则本实施例的方法还 包括:
步骤 304: 接收媒体服务器发送的第二播放控制指令;
步骤 305 : 向所述媒体服务器发送所述第二播放控制指令, 以便所述媒 体服务器控制对所述媒体内容的播放。
其中, 媒体服务器控制对所述媒体内容的播放可以通过控制该媒体内容 的传输的方式实现, 由于媒体服务器控制了该媒体内容的传输, 从而间接实 现了控制该媒体演示器上对该媒体内容的播放的效果。
其中, 本实施例并不限制步骤 304、 305与步骤 302、 303之间的先后顺 序, 例如可以先执行步骤 302、 303再执行步骤 304、 305, 也可以先执行步 骤 304、 305再执行步骤 302、 303。
在本实施例中, 第一播放控制指令和第二播放控制指令可以是播放、 暂 停、 停止、 定位、 快进或快退等, 本实施例并不以此作为限制。
通过本实施例的方法, 在播放控制点采用 push模型进行媒体播放控制的 过程中, 也即媒体服务器直接将媒体内容下发给媒体演示器的情况下, 媒体 演示器或者媒体服务器都可以控制媒体内容的播放, 增加了媒体播放控制的 灵活性, 提高了用户体验。
为了使图 3所示实施例的方法更加清楚易懂, 以下结合媒体服务器、 播 放控制点以及媒体演示器的媒体播放控制的处理流程对本实施例的方法进行 详细说明。
图 4为播放控制点 CP采用 push模型进行媒体播放控制的流程图, 在图 4所示的流程中, 利用本实施例的方法, 媒体演示器 MR和媒体服务器 MS 也都可以进行媒体播放的控制。 请参照图 4, 该流程包括:
步骤 401: CP向 MS发送浏览 /搜索请求 CDS::Browse/Search。
步骤 402: MS向 CP返回 200 OK, 其中包括 MS上的媒体信息如文件 名、 媒体格式。
步骤 403: CP向 MR发送获取协议信息请求 CM::GetProtocolInfo。
步骤 404: MR向 CP返回 200 OK, 其中包括 MR支持的传输协议和媒 体格式。
步骤 405: CP匹配并选择一个传输协议和媒体格式, 向 MS发送连接准 备请求 CM::PrepareForConnection。
步骤 406: MS创建一个连接管理, 向 CP返回 200 OK, 其中包括连接 标识、 AVT实例标识 (AVT Instance ID) 。
步骤 407: CP向 MR发送连接准备请求 CM::PrepareForConnection。
步骤 408: MR创建一个连接管理, 向 CP返回 200 OK, 其中包括连接 标识、 AVT实例标识 (AVT Instance ID) 。
步骤 409 : CP 向 MS 发送设置 AV 传输统一资源位置请求 AVT:: SetAVTransportURI, MS创建一个媒体播放实例。
步骤 410: MS向 CP返回 200 OK。
步骤 411 : CP 向 MR 发送设置 AV 传输统一资源位置请求 AVT:: SetAVTransportURI, MR创建一个媒体播放实例。 步骤 412: MR向 CP返回 200 OK。
步骤 413: CP向 MS发送播放请求 AVT::Play, MS开始播放。
其中, 该播放请求是媒体播放控制指令的一种, 该媒体播放控制指令也 可以是其它媒体播放控制操作, 例如停止、 暂停、 定位等。
步骤 414: MS向 CP返回 200 OK。
步骤 415: MS向 MR发送媒体内容。
步骤 416: MR向 CP发送暂停请求 AVT::Pause, 通过 CP控制 MS暂停 播放。
其中, 该暂停请求是第一播放控制指令的一种, 该第一播放控制指令也 可以是其它媒体播放控制操作, 例如停止、 定位、 快进、 快退等。
步骤 417: CP向 MS发送暂停请求 AVT::Pause, MS暂停播放。
步骤 418: MS向 CP返回 200 OK。
步骤 419: CP向 MR返回 200 ΟΚ。
步骤 420: MS向 CP发送停止请求 AVT::Stop, 通过 CP控制 MS停止播 放。
其中, 该停止请求是第二播放控制指令的一种, 该第二播放控制指令也 可以是其它媒体播放控制操作, 例如暂停、 定位、 快进、 快退等。
步骤 421 : CP向 MS发送停止请求 AVT::Stop, MS停止播放。
步骤 422: MS向 CP返回 200 OK。
步骤 423: CP向 MS返回 200 ΟΚ。
步骤 424 : 播放完全结束后, CP 向 MR 发送连接完成请求 CM:: Connection complete。
步骤 425: MR关闭连接, 向 CP返回 200 OK。
步骤 426 : 播放完全结束后, CP 向 MS 发送连接完成请求 CM:: Connection complete。
步骤 427: MS关闭连接, 向 CP返回 200 OK。 其中, 以上的浏览 /搜索请求 CDS::Browse/Search、 获取协议信息请求 CM::GetProtocolInfo、 连接准备请求 CM: :PrepareForConnection , 设置 AV传 输统一资源位置请求 AVT::SetAVTransportURI、 播放请求 AVT::Play、 暂停 请求 AVT::Pause、 停止请求 AVT::Stop、 连接完成请求 CM:: Connection complete都是标准中定义的, 在此不再赘述。
以下以媒体服务器 (MS ) 为摄像机、 播放控制点 (CP) 为电脑 (也即 PC) 、 媒体演示器 (MR) 为电视机 (包含 STB ) 为例对本实施例的应用进 行说明: 一般情况下, 用户可以通过电脑控制摄像机将视频短片推送到电视 上播放, 此时, 摄像机是 MS, 电视机是 MR, 电脑作为 CP可以控制 MR暂 停、 快进、 快退等, 根据本实施例的方法, 电视机或者摄像机也可以控制该 电视机上正在播放的该视频短片暂停、 快进、 快退等, 具体实现过程如图 4 所示, 在此不再赘述。
通过本实施例的方法, 当播放控制点 CP在采用 push模型进行媒体播放 控制的过程中, 也即媒体服务器直接将媒体内容下发给媒体演示器 (步骤 415 ) 的情况下, 媒体演示器 MR和媒体服务器 MS也都可以进行媒体播放的 控制。
图 5为本发明另一实施例提供的一种媒体播放控制方法的流程图, 该方 法应用于播放控制点, 在图 5所示的实施例中, 播放控制点利用 pull模型控 制媒体播放。 其中, 本实施例与图 1 实施例相同的内容不再赘述。 请参照图 5, 该方法包括:
步骤 501 : 在控制媒体演示器向媒体服务器请求媒体内容的过程中, 向 所述媒体服务器发送 "设置音视频 AV传输统一资源位置"指令, 以便媒体 服务器根据该指令创建媒体播放实例;
其中, 本实施例的播放控制点在控制媒体演示器向媒体服务器请求媒体 内容的过程中, 可以向媒体服务器发送设置音视频 AV传输统一资源位置指 令, 以便媒体服务器据此构建媒体播放实例。 步骤 502: 接收媒体演示器在播放从媒体服务器获取的媒体内容的过程 中, 发送的第一播放控制指令;
其中, 媒体服务器在构建了媒体播放实例后, 即可根据媒体演示器的请 求向媒体演示器发送媒体内容, 而在媒体演示器演示该媒体内容的过程中, 如果要控制对该媒体内容的播放, 则会向本实施例的播放控制点发送该第一 播放控制指令。
步骤 503 : 将所述媒体演示器发送的第一播放控制指令转发给媒体演示 器, 媒体演示器接收到第一播放控制指令后, 即可控制对该媒体内容的播 放。
在本实施例中, 在媒体演示器播放从媒体服务器获取的媒体内容的过程 中, 媒体服务器也可以主动控制对该媒体内容的播放, 则本实施例的方法还 包括:
步骤 504: 接收所述媒体服务器发送的第三播放控制指令;
步骤 505 : 向所述媒体演示器发送所述第三播放控制指令, 以便所述媒 体演示器控制所述媒体内容的播放。
其中, 本实施例并不限制步骤 504、 505与步骤 502、 503之间的先后顺 序, 例如可以先执行步骤 502、 503再执行步骤 504、 505, 也可以先执行步 骤 504、 505再执行步骤 502、 503。
在本实施例中, 第一播放控制指令和第三播放控制指令可以是播放、 暂 停、 停止、 定位、 快进或快退等, 本实施例并不以此作为限制。
通过本实施例的方法, 在播放控制点采用 pull模型进行媒体播放控制的 过程中, 也即媒体服务器根据媒体演示器的请求将媒体内容下发给媒体演示 器的情况下, 媒体演示器或者媒体服务器都可以控制媒体内容的播放, 增加 了媒体播放控制的灵活性, 提高了用户体验。
为了使图 5所示实施例的方法更加清楚易懂, 以下结合媒体服务器、 播 放控制点以及媒体演示器的媒体播放控制的处理流程对本实施例的方法进行 详细说明。
图 6为播放控制点 CP采用 pull模型进行媒体播放控制的流程图, 在图 6 所示的流程中, 利用本实施例的方法, 媒体演示器 MR和媒体服务器 MS也 都可以进行媒体播放的控制。 请参照图 6, 该流程包括:
步骤 601: CP向 MS发送浏览 /搜索请求 CDS::Browse/Search。
步骤 602: MS向 CP返回 200 OK, 其中包括 MS上的媒体信息如文件 名、 媒体格式。
步骤 603: CP向 MR发送获取协议信息请求 CM::GetProtocolInfo。
步骤 604: MR向 CP返回 200 OK, 其中包括 MR支持的传输协议和媒 体格式。
步骤 605: CP匹配并选择一个传输协议和媒体格式, 向 MS发送连接准 备请求 CM::PrepareForConnection。
步骤 606: MS创建一个连接管理, 向 CP返回 200 OK, 其中包括连接 标识、 AVT实例标识 (AVT Instance ID) 。
步骤 607: CP向 MR发送连接准备请求 CM::PrepareForConnection。
步骤 608: MR创建一个连接管理, 向 CP返回 200 OK, 其中包括连接 标识、 AVT实例标识 (AVT Instance ID) 。
步骤 609: CP 向 MR 发送设置 AV 传输统一资源位置请求 AVT:: SetAVTransportURI, MR创建一个媒体播放实例。
步骤 610: MR向 CP返回 200 OK。
步骤 611 : CP 向 MS 发送设置 AV 传输统一资源位置请求 AVT:: SetAVTransportURI, MS创建一个媒体播放实例。
步骤 612: MS向 CP返回 200 OK。
步骤 613: CP向 MR发送播放请求 AVT::Play, MR开始播放。
其中, 该播放请求是媒体播放控制指令的一种, 该媒体播放控制指令也 可以是其它媒体播放控制操作, 例如停止、 暂停、 定位等。 步骤 614: MR向 CP返回 200 OK。
步骤 615: MR向 MS请求媒体内容。
步骤 616: MR向 CP发送暂停请求 AVT::Pause, 通过 CP控制 MR暂停 播放。
其中, 该暂停请求是第一播放控制指令的一种, 该第一播放控制指令也 可以是其它媒体播放控制操作, 例如停止、 定位、 快进、 快退等。
步骤 617: CP向 MR发送暂停请求 AVT::Pause, MR暂停播放。
步骤 618: MR向 CP返回 200 OK。
步骤 619: CP向 MR返回 200 ΟΚ。
步骤 620: MS向 CP发送停止请求 AVT::Stop, 通过 CP控制 MR停止 播放。
其中, 该停止请求是第三播放控制指令的一种, 该第三播放控制指令也 可以是其它媒体播放控制操作, 例如暂停、 定位、 快进、 快退等。
步骤 621: CP向 MR发送停止请求 AVT::Stop, MR停止播放。
步骤 622: MR向 CP返回 200 OK。
步骤 623: CP向 MS返回 200 ΟΚ。
步骤 624: 播放完全结束后, CP 向 MR 发送连接完成请求 CM:: Connection complete。
步骤 625: MR关闭连接, 向 CP返回 200OK。
步骤 626: 播放完全结束后, CP 向 MS 发送连接完成请求 CM::
Connection complete。
步骤 627: MS关闭连接, 向 CP返回 200OK。
其中, 以上的浏览 /搜索请求 CDS::Browse/Search、 获取协议信息请求 CM::GetProtocolInfo、 连接准备请求 CM: :PrepareForConnection, 设置 AV传 输统一资源位置请求 AVT::SetAVTransportURI、 播放请求 AVT::Play、 暂停 请求 AVT::Pause、 停止请求 AVT::Stop、 连接完成请求 CM:: Connection complete都是标准中定义的, 在此不再赘述。
在本实施例中, 媒体服务器 (MS ) 、 播放控制点 (CP) 、 媒体演示器 (MR ) 可以是家庭内的各种 UPnP设备, 例如客厅、 卧室的 STB (机顶 盒) 、 PC、 手机、 iPad、 摄像机等等。
以下以媒体服务器 (MS ) 为摄像机、 播放控制点 (CP) 为电脑 (也即
PC) 、 媒体演示器 (MR) 为电视机 (包含 STB ) 为例对本实施例的应用进 行说明: 一般情况下, 用户可以通过电脑控制摄像机将视频短片推送到电视 上播放, 此时, 摄像机是 MS, 电视机是 MR, 电脑作为 CP可以控制 MR暂 停、 快进、 快退等, 根据本实施例的方法, 电视机或者摄像机也可以控制该 电视机上正在播放的该视频短片暂停、 快进、 快退等, 具体实现过程如图 6 所示, 在此不再赘述。
通过本实施例的方法, 当播放控制点 CP在采用 pull模型进行媒体播放 控制的过程中, 也即媒体服务器根据媒体演示器的请求将媒体内容下发给媒 体演示器 (步骤 615 ) 的情况下, 媒体演示器 MR和媒体服务器 MS也都可 以进行媒体播放的控制。
图 7为本发明实施例的提供一种媒体播放的控制方法的流程图, 该方法 应用于媒体演示器, 请参照图 7, 该方法包括:
步骤 703: 从媒体服务器获取媒体内容;
其中, 当播放控制点采用 push模型进行媒体播放控制时, 本实施例的步 骤 703可以直接接收所述媒体服务器根据所述播放控制点的控制推送的媒体 内容; 当播放控制点采用 pull模型进行媒体播放控制时, 本实施例的步骤 703可以先根据播放控制点的控制向媒体服务器发送媒体内容获取请求, 再 接收该媒体服务器根据该媒体内容请求发送的媒体内容。
步骤 704: 根据创建的媒体播放实例播放所述媒体内容;
步骤 705 : 在播放所述媒体内容过程中, 如果要控制所述媒体内容的播 放, 则向播放控制点发送第一播放控制指令, 以便所述播放控制点根据所述 第一播放控制指令控制所述媒体内容的播放。
在一个实施例中, 播放控制点采用 push模型进行媒体播放控制, 则该播 放控制点根据该第一播放控制指令控制该媒体内容的播放, 可以是将该第一 播放控制指令转发给媒体服务器, 控制媒体服务器对该媒体内容的播放, 从 而达到控制该媒体内容的播放的目的。
在另外一个实施例中, 播放控制点采用 pull模型进行媒体播放控制, 则 该播放控制点根据该第一播放控制指令控制该媒体内容的播放, 可以是将该 第一播放控制指令转发给媒体演示器, 控制该媒体演示器对该媒体内容的播 放。
本实施例的媒体播放的控制方法应用于媒体演示器, 该方法与图 3、 图
5 的应用于播放控制点的媒体播放的控制方法相对应, 在步骤 703之前, 本 实施例的方法还包括:
步骤 701 : 接收所述播放控制点发送的设置 AV传输统一资源位置指 步骤 702: 根据所述设置 AV传输统一资源位置指令, 创建媒体播放实 例。
在本实施例中, 该步骤 701、 702与步骤 301相对应, 由于在步骤 301和 步骤 411中, 已经对该过程作了详细说明, 在此不再赘述。
通过本实施例的方法, 在播放控制点采用 push模型进行媒体播放控制, 或者播放控制点采用 pull模型进行媒体播放控制时, 媒体演示器也可以进行 媒体播放的控制。
图 8为本发明实施例提供的一种媒体播放的控制方法的流程图, 该方法 应用于媒体演示器, 请参照图 8, 该方法包括:
步骤 801 : 根据播放控制点的控制向媒体服务器发送媒体内容获取请 求;
步骤 802 : 接收所述媒体服务器根据所述媒体内容请求发送的媒体内 步骤 803 : 在根据创建的媒体播放实例播放所述媒体内容过程中, 利用 本地资源控制所述媒体内容的播放。
本实施例的方法应用于播放控制点采用 pull模型进行媒体播放控制的场 景, 在本实施例中, 媒体演示器根据播放控制点的控制从媒体服务器获取到 媒体内容后, 直接控制该媒体内容的播放, 而不再通过播放控制点来控制该 媒体内容的播放, 由于忽略了播放控制点的控制操作, 在媒体操作控制上更 加简单。
为了使本实施例的方法更加清楚易懂, 以下结合媒体服务器、 播放控制 点以及媒体演示器的媒体播放控制的处理流程对本实施例的方法进行详细说 明。
图 9为播放控制点 CP采用 pull模型进行媒体播放控制的流程图, 在图 9 所示的流程中, 利用本实施例的方法, 媒体演示器 MR可以进行媒体播放的 控制。 请参照图 9, 该流程包括:
步骤 901: CP向 MS发送浏览搜索请求 CDS::Browse/Search。
步骤 902: MS向 CP返回 200 OK, 其中包括 MS上的媒体信息如文件 名、 媒体格式。
步骤 903: CP向 MR发送获取协议信息请求 CM::GetProtocolInfo。
步骤 904: MR向 CP返回 200 OK, 其中包括 MR支持的传输协议和媒 体格式。
步骤 905: CP匹配并选择一个传输协议和媒体格式, 向 MS发送连接准 备请求 CM::PrepareForConnection。
步骤 906: MS创建一个连接管理, 向 CP返回 200 OK, 其中包括连接 标识、 AVT实例标识 (AVT Instance ID) 。
步骤 907: CP向 MR发送连接准备请求 CM::PrepareForConnection。
步骤 908: MR创建一个连接管理, 向 CP返回 200 OK, 其中包括连接 标识、 AVT实例标识 (AVT Instance ID) 。
步骤 909 : CP 向 MR 发送设置 AV 传输统一资源位置请求 AVT:: SetAVTransportURI, MR创建一个媒体播放实例。
步骤 910: MR向 CP返回 200 0K。
步骤 911 : CP向 MR发送播放请求 AVT::Play, MR开始播放。
其中, 该播放请求是媒体播放控制指令的一种, 该媒体播放控制指令也 可以是其它媒体播放控制操作, 例如停止、 暂停、 定位等。
步骤 912: MR向 CP返回 200 OK。
步骤 913: MR向 MS发送 GET消息。
步骤 914: MS向 MR返回 200 OK。
其中, 该 200 ΟΚ消息中携带有请求的媒体内容。 本实施例的步骤 913 和步骤 914对应图 6实施例中的步骤 615。
至此, MR可以直接控制媒体播放, 而不通过 CP控制媒体播放, 并且 可以忽略 CP的控制操作。
步骤 915 : 播放完全结束后, CP 向 MR 发送连接完成请求 CM::
Connection complete。
步骤 916: MR关闭连接, 向 CP返回 200 OK。
步骤 917 : 播放完全结束后, CP 向 MS 发送连接完成请求 CM:: Connection complete。
步骤 918: MS关闭连接, 向 CP返回 200 OK。
其中, 以上的浏览 /搜索请求 CDS::Browse/Search、 获取协议信息请求 CM::GetProtocolInfo、 连接准备请求 CM: :PrepareForConnection , 设置 AV传 输统一资源位置请求 AVT::SetAVTransportURI、 播放请求 AVT::Play、 连接 完成请求 CM:: Connection complete都是标准中定义的, 在此不再赘述。
在本实施例中, 媒体服务器 (MS ) 、 播放控制点 (CP) 、 媒体演示器
(MR ) 可以是家庭内的各种 UPnP设备, 例如客厅、 卧室的 STB (机顶 盒) 、 PC、 手机、 iPad、 摄像机等等。
以下以媒体服务器 (MS ) 为摄像机、 播放控制点 (CP) 为电脑 (也即 PC) 、 媒体演示器 (MR) 为电视机 (包含 STB ) 为例对本实施例的应用加 以说明: 一般情况下, 用户可以通过电脑控制摄像机将视频短片推送到电视 上播放, 此时, 摄像机是 MS, 电视机是 MR, 电脑作为 CP可以控制 MR暂 停、 快进、 快退等, 根据本实施例的方法, 电视机可以自己控制该电视机上 正在播放的该视频短片暂停、 快进、 快退等, 而忽略电脑的操作。 具体实现 过程如图 9所示, 在此不再赘述。
通过本实施例的方法, 当播放控制点 CP在采用 pull模型进行媒体播放 控制的过程中, 媒体演示器 MR可以自己进行媒体播放的控制。
图 10为本发明实施例提供的一种播放控制点的组成框图, 请参照图 10, 该播放控制点包括:
第一接收单元 101, 用于接收媒体演示器在播放从媒体服务器获取的媒 体内容的过程中, 发送的第一播放控制指令;
控制单元 102, 用于根据第一接收单元 101接收到的媒体演示器发送的 第一播放控制指令, 控制该媒体内容的播放。
在一个实施例中, 播放控制点采用 push模型进行媒体播放控制, 贝 IJ : 播放控制点还包括: 第一发送单元 103, 用于在控制媒体服务器向媒体 演示器推送媒体内容的过程中, 向媒体演示器发送设置音视频 AV传输统一 资源位置指令, 以便媒体演示器创建媒体播放实例。
在本实施例中, 控制单元 102具体用于向媒体服务器发送该第一播放控 制指令, 以便该媒体服务器控制对该媒体内容的播放。
在本实施例中, 播放控制点还包括:
第二接收单元 104, 用于接收媒体服务器发送的第二播放控制指令; 第二发送单元 105, 用于向媒体服务器发送该第二播放控制指令, 以便 该媒体服务器控制对该媒体内容的播放。 本实施例的播放控制点的各组成部分分别用于实现图 3、 图 4所示实施 例的方法的各步骤, 由于在图 3和图 4实施例中, 已经对各步骤进行了详细 说明, 在此不再赘述。
在另外一个实施例中, 播放控制点采用 pull模型进行媒体播放控制, 则:
播放控制点还包括: 第三发送单元 103 ' , 用于在控制媒体演示器向媒 体服务器请求媒体内容的过程中, 向所述媒体服务器发送设置音视频 AV传 输统一资源位置指令, 以便媒体服务器创建媒体播放实例。
在本实施例中, 控制单元 102具体用于: 向所述媒体演示器发送所述第 一播放控制指令, 以便所述媒体演示器控制所述媒体内容的播放。
在本实施例中, 播放控制点还包括:
第三接收单元 104, , 用于接收媒体服务器发送的第三播放控制指令; 第四发送单元 105, , 用于向媒体演示器发送该第三播放控制指令, 以 便该媒体演示器控制所述媒体内容的播放。
本实施例的播放控制点的各组成部分分别用于实现图 5、 图 6所示实施 例的方法的各步骤, 由于在图 5和图 6实施例中, 已经对各步骤进行了详细 说明, 在此不再赘述。
通过本实施例的播放控制点, 使得媒体演示器或者媒体服务器可以直接 控制对媒体内容的播放, 增加了媒体播放控制的灵活性。
图 11 为本发明实施例提供的一种媒体演示器的组成框图, 请参照图
11, 该媒体演示器包括:
获取单元 111, 用于从媒体服务器获取媒体内容;
播放单元 112, 用于根据创建的媒体播放实例播放获取单元 111获取到 的媒体内容;
发送单元 113, 用于在播放单元 112播放获取单元 111获取到的媒体内 容过程中, 在需要控制该媒体内容的播放时, 向播放控制点发送第一播放控 制指令, 以便该播放控制点根据该第一播放控制指令控制该媒体内容的播 放。
在一个实施例中, 该媒体演示器还包括:
接收单元 114, 用于在获取单元 111从媒体服务器获取媒体内容之前, 接收播放控制点发送的设置 AV传输统一资源位置指令;
创建单元 115, 用于根据接收单元 114接收到的设置 AV传输统一资源 位置指令, 创建媒体播放实例。
在一个实施例中, 获取单元 111包括:
接收模块 1111, 用于接收所述媒体服务器根据所述播放控制点的控制推 送的媒体内容。
在一个实施例中, 获取单元 111包括:
请求模块 1112, 用于根据所述播放控制点的控制向所述媒体服务器发送 媒体内容获取请求, 接收所述媒体服务器根据所述媒体内容请求发送的媒体 内容。
本实施例的媒体演示器的各组成部分分别用于实现图 7所示实施例的方 法的各步骤, 由于在图 7所示的实施例中, 已经对各步骤进行了详细说明, 在此不再赘述。
通过本实施例的媒体演示器可以直接控制对从媒体服务器获取到的媒体 内容的播放, 增加了媒体播放控制的灵活性。
图 12为本发明实施例提供的一种媒体演示器的组成框图, 请参照图
12, 该媒体演示器包括:
发送单元 121, 用于根据播放控制点的控制向媒体服务器发送媒体内容 获取请求;
接收单元 122, 用于接收媒体服务器根据媒体内容请求发送的媒体内 容;
播放单元 123, 用于在根据创建的媒体播放实例播放媒体内容过程中, 利用本地资源控制所述媒体内容的播放。
本实施例的媒体演示器的各组成部分分别用于实现图 8、 图 9所示实施 例的方法的各步骤, 由于在图 8和图 9所示的实施例中, 已经对各步骤进行 了详细说明, 在此不再赘述。
通过本实施例的媒体演示器可以直接控制对从媒体服务器获取到的媒体 内容的播放, 而忽略播放控制点的控制, 增加了媒体播放控制的灵活性。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、 处理器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存 储器 (RAM) 、 内存、 只读存储器 (ROM) 、 电可编程 ROM、 电可擦除可 编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知 的任意其它形式的存储介质中。
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进行了 进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施例而已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任 何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种媒体播放的控制方法, 所述方法应用于播放控制点, 其特征在 于, 所述方法包括:
接收媒体演示器在播放从媒体服务器获取的媒体内容的过程中, 发送的 第一播放控制指令;
根据所述媒体演示器发送的第一播放控制指令控制所述媒体内容的播 放。
2、 根据权利要求 1所述的方法, 其特征在于, 接收媒体演示器发送的 第一播放控制指令之前, 所述方法还包括:
在控制媒体服务器向媒体演示器推送媒体内容的过程中, 向所述媒体演 示器发送设置音视频 AV传输统一资源位置指令, 以便所述媒体演示器创建 媒体播放实例。
3、 根据权利要求 1所述的方法, 其特征在于, 根据所述媒体演示器发 送的第一播放控制指令控制所述媒体内容的播放, 包括:
向所述媒体服务器发送所述第一播放控制指令, 以便所述媒体服务器控 制对所述媒体内容的播放。
4、 根据权利要求 1、 2、 3所述的方法, 其特征在于, 在媒体演示器播 放所述媒体内容的过程中, 所述方法还包括:
接收所述媒体服务器发送的第二播放控制指令;
向所述媒体服务器发送所述第二播放控制指令, 以便所述媒体服务器控 制对所述媒体内容的播放。
5、 根据权利要求 1所述的方法, 其特征在于, 接收媒体演示器发送的 第一播放控制指令之前, 所述方法还包括:
在控制媒体演示器向媒体服务器请求媒体内容的过程中, 向所述媒体服 务器发送设置音视频 AV传输统一资源位置指令, 以便所述媒体服务器创建 媒体播放实例。
6、 根据权利要求 1所述的方法, 其特征在于, 根据所述媒体演示器发 送的第一播放控制指令控制所述媒体内容的播放, 包括:
向所述媒体演示器发送所述第一播放控制指令, 以便所述媒体演示器控 制所述媒体内容的播放。
7、 根据权利要求 1、 5、 6所述的方法, 其特征在于, 在媒体演示器播 放所述媒体内容的过程中, 所述方法还包括:
接收所述媒体服务器发送的第三播放控制指令;
向所述媒体演示器发送所述第三播放控制指令, 以便所述媒体演示器控 制所述媒体内容的播放。
8、 一种媒体播放的控制方法, 所述方法应用于媒体演示器, 其特征在 于, 所述方法包括:
从媒体服务器获取媒体内容;
根据创建的媒体播放实例播放所述媒体内容;
在播放所述媒体内容过程中, 如果要控制所述媒体内容的播放, 则向播 放控制点发送第一播放控制指令, 以便所述播放控制点根据所述第一播放控 制指令控制所述媒体内容的播放。
9、 根据权利要求 8所述的方法, 其特征在于, 所述从媒体服务器获取 媒体内容之前, 所述方法还包括:
接收所述播放控制点发送的设置 AV传输统一资源位置指令;
根据所述设置 AV传输统一资源位置指令, 创建媒体播放实例。
10、 根据权利要求 8所述的方法, 其特征在于, 所述从媒体服务器获取 媒体内容, 具体包括:
接收所述媒体服务器根据所述播放控制点的控制推送的媒体内容; 或者 根据所述播放控制点的控制向所述媒体服务器发送媒体内容获取请求, 接收所述媒体服务器根据所述媒体内容请求发送的媒体内容。
11、 一种媒体播放的控制方法, 所述方法应用于媒体演示器, 其特征在 于, 所述方法包括:
根据播放控制点的控制向媒体服务器发送媒体内容获取请求;
接收所述媒体服务器根据所述媒体内容请求发送的媒体内容;
在根据创建的媒体播放实例播放所述媒体内容过程中, 利用本地资源控 制所述媒体内容的播放。
12、 一种播放控制点, 其特征在于, 所述播放控制点包括:
第一接收单元, 用于接收媒体演示器在播放从媒体服务器获取的媒体内 容的过程中, 发送的第一播放控制指令;
控制单元, 用于根据所述媒体演示器发送的第一播放控制指令控制所述 媒体内容的播放。
13、 根据权利要求 12所述的播放控制点, 其特征在于, 所述播放控制 点还包括:
第一发送单元, 用于在控制媒体服务器向媒体演示器推送媒体内容的过 程中, 向所述媒体演示器发送设置音视频 AV传输统一资源位置指令, 以便 所述媒体演示器创建媒体播放实例。
14、 根据权利要求 12所述的播放控制点, 其特征在于, 所述控制单元 具体用于: 向所述媒体服务器发送所述第二播放控制指令, 以便所述媒体服 务器控制对所述媒体内容的播放。
15、 根据权利要求 12、 13、 14任一项所述的播放控制点, 其特征在 于, 所述播放控制点还包括:
第二接收单元, 用于接收所述媒体服务器发送的第二播放控制指令; 第二发送单元, 用于向所述媒体服务器发送所述第二播放控制指令, 以 便所述媒体服务器控制对所述媒体内容的播放。
16、 根据权利要求 12所述的播放控制点, 其特征在于, 所述播放控制 点还包括:
第三发送单元, 用于在控制媒体演示器向媒体服务器请求媒体内容的过 程中, 向所述媒体服务器发送设置音视频 AV传输统一资源位置指令, 以便 所述媒体服务器创建媒体播放实例。
17、 根据权利要求 12所述的播放控制点, 其特征在于, 所述控制单元 具体用于: 向所述媒体演示器发送所述第一播放控制指令, 以便所述媒体演 示器控制所述媒体内容的播放。
18、 根据权利要求 12、 16、 17任一项所述的播放控制点, 其特征在 于, 所述播放控制点还包括:
第三接收单元, 用于接收所述媒体服务器发送的第三播放控制指令; 第四发送单元, 用于向所述媒体演示器发送所述第三播放控制指令, 以 便所述媒体演示器控制所述媒体内容的播放。
19、 一种媒体演示器, 其特征在于, 所述媒体演示器包括:
获取单元, 用于从媒体服务器获取媒体内容;
播放单元, 用于根据创建的媒体播放实例播放所述获取单元获取到的媒 体内容;
发送单元, 用于在所述播放单元播放所述获取单元获取到的媒体内容过 程中, 在需要控制所述媒体内容的播放时, 向播放控制点发送第一播放控制 指令, 以便所述播放控制点控制所述媒体内容的播放。
20、 根据权利要求 19所述的媒体演示器, 其特征在于, 所述媒体演示 器还包括:
接收单元, 用于在所述获取单元从媒体服务器获取媒体内容之前, 接收 所述播放控制点发送的设置 AV传输统一资源位置指令; 创建单元, 用于根据所述接收单元接收到的设置 AV传输统一资源位置 指令, 创建媒体播放实例。
21、 根据权利要求 19所述的媒体演示器, 其特征在于, 所述获取单元 包括:
接收模块, 用于接收所述媒体服务器根据所述播放控制点的控制推送的 媒体内容; 或者
请求模块, 用于根据所述播放控制点的控制向所述媒体服务器发送媒体 内容获取请求, 接收所述媒体服务器根据所述媒体内容请求发送的媒体内
22、 一种媒体演示器, 其特征在于, 所述媒体演示器包括:
发送单元, 用于根据播放控制点的控制向媒体服务器发送媒体内容获取 请求;
接收单元, 用于接收所述媒体服务器根据所述媒体内容请求发送的媒体 内容;
播放单元, 用于在根据创建的媒体播放实例播放所述媒体内容过程中, 利用本地资源控制所述媒体内容的播放。
PCT/CN2011/080572 2011-01-28 2011-10-09 媒体播放的控制方法和装置 WO2012100558A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110032217.7 2011-01-28
CN2011100322177A CN102143225A (zh) 2011-01-28 2011-01-28 媒体播放的控制方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/731,967 Continuation US8831634B2 (en) 2011-12-30 2012-12-31 Help-seeking method, device and system based on location based service

Publications (1)

Publication Number Publication Date
WO2012100558A1 true WO2012100558A1 (zh) 2012-08-02

Family

ID=44410440

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080572 WO2012100558A1 (zh) 2011-01-28 2011-10-09 媒体播放的控制方法和装置

Country Status (2)

Country Link
CN (1) CN102143225A (zh)
WO (1) WO2012100558A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143225A (zh) * 2011-01-28 2011-08-03 华为技术有限公司 媒体播放的控制方法和装置
CN104810035B (zh) * 2015-04-01 2017-11-17 广东欧珀移动通信有限公司 一种音效控制方法及设备
CN112738627B (zh) * 2020-12-23 2022-05-20 上海哔哩哔哩科技有限公司 播放控制方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094243A (zh) * 2007-05-31 2007-12-26 广东中大讯通软件科技有限公司 基于UPnP的不同类型设备间的多媒体适配系统及多媒体内容适配方法
CN101129051A (zh) * 2005-02-28 2008-02-20 皇家飞利浦电子股份有限公司 用于在UPnP AV网络中提供“通用的‘跟我来’”功能的系统和方法
CN102143225A (zh) * 2011-01-28 2011-08-03 华为技术有限公司 媒体播放的控制方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626436B (zh) * 2009-06-22 2011-12-28 中兴通讯股份有限公司 一种交互式视频语音应答系统及实现方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101129051A (zh) * 2005-02-28 2008-02-20 皇家飞利浦电子股份有限公司 用于在UPnP AV网络中提供“通用的‘跟我来’”功能的系统和方法
CN101094243A (zh) * 2007-05-31 2007-12-26 广东中大讯通软件科技有限公司 基于UPnP的不同类型设备间的多媒体适配系统及多媒体内容适配方法
CN102143225A (zh) * 2011-01-28 2011-08-03 华为技术有限公司 媒体播放的控制方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UPNP AV ARCHITECTURE:2 FOR UPNPTM VERSION 1.0, 25 October 2010 (2010-10-25) *

Also Published As

Publication number Publication date
CN102143225A (zh) 2011-08-03

Similar Documents

Publication Publication Date Title
TWI669957B (zh) Media projection method, media projection device, control terminal, and cloud server
US20150067110A1 (en) Media Playing Method, Apparatus, and System
CN105323628B (zh) 基于dlna跨屏播放的方法及系统、浏览器端装置和播放装置
JP2006042353A (ja) ライブコンテンツ管理方法、ソース装置及びシンク装置
JP2005327290A (ja) ネットワークを通じてa/vコンテンツを共有する方法、シンクデバイス、ソースデバイス及びシステム
CN103796061A (zh) 多智能终端中实现媒体文件同步播放和控制的系统及方法
WO2015096687A1 (zh) 移动通信终端控制智能电视播放视频文件的方法及装置
EP3996355B1 (en) Method for transferring media stream and user equipment
US9749373B2 (en) System and method for improved content streaming
WO2013177734A1 (zh) 局域网中媒体资源播放列表的处理方法、装置和系统
WO2012109821A1 (zh) 流媒体资源共享的方法、系统及具有dlna功能的设备
US20050286417A1 (en) Device and method of controlling and providing content over a network
US11237842B2 (en) Systems and methods for transmitting data from multiple sources to multiple destinations
WO2014206272A1 (zh) 设备识别方法及设备
WO2015035742A1 (zh) 一种数字电视的音视频共享方法、终端及系统
TW200532544A (en) Personal multimedia on-line broadcasting system and method thereof
JP2007506389A (ja) マルチキャストストリーミングサービス方法及びそのシステム
WO2012100558A1 (zh) 媒体播放的控制方法和装置
EP2157761A2 (en) Information processing apparatus, information processing method and information processing system for the cooperative operation of several appliances interconnected via a home network
JP2007166572A (ja) ネットワーク上に応用されるグループ再生方法およびコンピュータシステムおよびコンピュータ読取り可能媒体
US8171144B2 (en) AV server apparatus and connection management method
KR101231821B1 (ko) 컨텐츠 이어보기 서비스 제공 방법 및 장치
JP2005020180A (ja) 情報処理装置、および情報処理方法、並びにコンピュータ・プログラム
TW201220782A (en) Method and system for playing multimedia file and computer program product using the method
KR101329668B1 (ko) 푸쉬 서버를 이용한 콘텐츠 공유 시스템 및 방법

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: 11856960

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11856960

Country of ref document: EP

Kind code of ref document: A1