WO2017075956A1 - 内容投射方法及移动终端 - Google Patents

内容投射方法及移动终端 Download PDF

Info

Publication number
WO2017075956A1
WO2017075956A1 PCT/CN2016/081933 CN2016081933W WO2017075956A1 WO 2017075956 A1 WO2017075956 A1 WO 2017075956A1 CN 2016081933 W CN2016081933 W CN 2016081933W WO 2017075956 A1 WO2017075956 A1 WO 2017075956A1
Authority
WO
WIPO (PCT)
Prior art keywords
projection
service
protocol
content
control service
Prior art date
Application number
PCT/CN2016/081933
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 腾讯科技(深圳)有限公司
Priority to EP16861229.9A priority Critical patent/EP3276973B1/en
Priority to JP2018506475A priority patent/JP6492227B2/ja
Publication of WO2017075956A1 publication Critical patent/WO2017075956A1/zh
Priority to US15/688,702 priority patent/US10375438B2/en

Links

Images

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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • H04N21/41265The peripheral being portable, e.g. PDAs or mobile phones having a remote control device for bidirectional communication between the remote control device and client device
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Definitions

  • the present invention relates to content projection technologies in the field of communications, and in particular, to a content projection method and a mobile terminal.
  • the content projection of the mobile terminal means that the user can play the video originally played on the mobile terminal through a multi-screen interactive projection protocol such as a Digital Living Network Alliance (DLNA) projection protocol, an air play (AirPlay) projection protocol ( It can also be played on a playback device such as a TV via a set-top box.
  • DLNA Digital Living Network Alliance
  • AirPlay air play
  • This way can break through the small restrictions of the mobile terminal screen, greatly improving the user's viewing experience.
  • the current technical solution of the mobile terminal projection is generally that the projection application in the mobile terminal acquires the play address of the video, and the playback address is sent to the projection service supporting the projection based on a projection protocol such as DLNA or AirPlay, and the projection service usually runs on the television or the television.
  • a projection protocol such as DLNA or AirPlay
  • the playback device On a playback device such as a box, after the playback service of the playback device obtains the video address, the playback device is rendered to the screen through the player of the playback device.
  • the projection protocol supports control logic such as play and pause, and the mobile terminal can maintain and serve. Communication, control of the playback process.
  • the projection service in the mobile terminal only supports one type of projection protocol, which causes the published projection service of some playback devices to fail to support the mobile terminal for content projection due to the problem that the supported projection protocol is incompatible with the mobile terminal.
  • Embodiments of the present invention provide a content casting method and a mobile terminal, which are compatible with a projection service of a playback device using different projection protocols.
  • an embodiment of the present invention provides a content casting method, including:
  • the mobile terminal runs a local play service, a content projection control service, and at least two protocol projection control services, wherein different projection protocols supported by the protocol projection control service are different;
  • the control service is a protocol projection control service for detecting the first projection service issued by the playback device among the at least two protocol projection control services;
  • the first content is delivered to the first projection service by the first projection service, and the first content is used by the first projection service to play on the corresponding playback device, where
  • the first protocol projection control service and the first projection service both support the first projection protocol.
  • an embodiment of the present invention provides a mobile terminal, including:
  • a local play service unit a content projection control service unit, and at least two protocol projection control service units, wherein different protocol projection control service units support different projection protocols;
  • the content projection control service unit is configured to acquire a first projection instruction, intercept the first content played by the local playback service unit, and deliver the intercepted first content to the first protocol projection control service unit, where
  • the first protocol projection control service unit is a protocol projection control service unit that detects a first projection service issued by the playback device in at least two protocol projection control service units;
  • the first protocol projection control service unit is configured to deliver the first content to a first projection service based on a first projection protocol, where the first content is used for the first projection service to correspond to The playing device performs playback, wherein the first protocol projection control service unit and the first projection service both support the first projection protocol.
  • an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
  • a storage medium configured to store computer executable instructions
  • a processor configured to execute computer executable instructions stored on the storage medium, the computer executable instructions comprising:
  • the control service is a protocol projection control service for detecting the first projection service issued by the playback device among the at least two protocol projection control services;
  • the first content is delivered to the first projection service by the first protocol, and the first content is configured to be played by the first projection service on the corresponding playback device.
  • the first protocol projection control service and the first projection service both support the first projection protocol.
  • the mobile terminal performs the content projection control service and the protocol projection control service corresponding to the at least two projection protocols.
  • the projection protocol supported by the protocol projection control service in the actual application may be different according to the projection supported by the playback device. Protocols are set to achieve compatibility support for the projection protocols used by different playback devices.
  • the content projection control service is coordinated with the corresponding protocol projection control service to the playback device according to the projection protocol supported by the projection service published by the playback device to be used.
  • the projection service delivers the content that needs to be projected (the first content); since the protocol projection control protocol and the projection protocol are in one-to-one correspondence, thus, the content projection control service and the corresponding protocol projection control service are implemented, and different projections are used. Compatible support for the protocol's projection service.
  • FIG. 1 is a first schematic diagram of a mobile terminal running service in an embodiment of the present invention
  • FIG. 2 is a second schematic diagram of a mobile terminal running service according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram 1 of an implementation of a content casting method in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of operations for selecting a first content to be played on a mobile terminal in an embodiment of the present invention
  • FIG. 5 is a schematic diagram of projecting locally played content on a playback device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of selecting a playback device in an embodiment of the present invention.
  • FIG. 7 is a second schematic diagram of the implementation of the content casting method in the embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a state control interface for projecting the first content in the embodiment of the present invention.
  • FIG. 9 is a third schematic diagram of an implementation of a content casting method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of playing a second content in a mobile terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of switching a state control interface of a first content to a background and playing a second content locally on the mobile terminal in the embodiment of the present invention
  • FIG. 12 is a schematic diagram 4 of implementation of a content casting method in an embodiment of the present invention.
  • FIG. 13 is a schematic diagram 5 of implementation of a content casting method in an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a projection service used to switch a first content in an embodiment of the present invention.
  • 15 is a schematic diagram 6 of an implementation of a content casting method in an embodiment of the present invention.
  • 16 is a third schematic diagram of a mobile terminal running service according to an embodiment of the present invention.
  • 17 is a schematic diagram of a projection protocol for switching a projection of a first content in an embodiment of the present invention.
  • FIG. 18 is a schematic diagram 7 of an implementation of a content casting method in an embodiment of the present invention.
  • FIG. 19 is a schematic diagram showing the logical function structure of a mobile terminal according to an embodiment of the present invention.
  • FIG. 20 is a schematic diagram showing the hardware structure of a mobile terminal according to an embodiment of the present invention.
  • first ⁇ second is merely an object that distinguishes similar objects, and does not represent a specific ordering for an object. It can be understood that “first ⁇ second” is allowed. In this case, a specific order or order can be interchanged. It is to be understood that the "first/second" distinguished objects may be interchanged as appropriate to enable the embodiments of the invention described herein to be carried out in a sequence other than those illustrated or described herein.
  • the mobile terminal described in the embodiment of the present invention will be described with reference to the accompanying drawings.
  • the mobile terminal can be implemented in various forms.
  • the mobile terminal may be a smart phone, a tablet computer, a notebook computer, or a wearable device (such as smart Glasses, smart watches, etc.)
  • the operating system of the mobile terminal can be an Android operating system, an iOS operating system or any other third-party operating system that can run on a microcomputer structure (including at least a processor and a memory) (such as a mobile version of Linux).
  • a smart phone which does not constitute a limitation of the type of the mobile terminal used in the technical solution described in the embodiment of the present invention.
  • the mobile terminal 10 runs a multimedia playback application with a projection function (referred to as a projection application, such as a video playback application), and the projection application includes multiple functional modules: a local playback service, a content projection control service, and at least two protocol projection controls.
  • the service in the figure, the protocol projection control service 1 and the protocol projection control service 2 are taken as an example), wherein different projection control services support different projection protocols, for example, the protocol projection control service 1 can support the DLNA projection protocol, the protocol.
  • the projection control service 2 can support the AirPlay projection protocol; in actual applications, the number of protocol projection control services operated by the mobile terminal depends on the number of projection protocols that need to be supported, for example, as shown in FIG. 2, if it is also required to support the Miracast projection protocol, A protocol projection control service 3 can also be run in the mobile terminal to support the Miracast projection protocol.
  • the mobile terminal plays the first content in the display interface of the mobile terminal through the local broadcast service (the first content here is not specifically, and is first triggered to be displayed in the display interface of the mobile terminal.
  • the content shown can be regarded as the first content, and is only distinguished from the content that is subsequently triggered to be displayed in the display interface of the mobile terminal, that is, the second content; the content projection control service is used for at least two protocol projection control services.
  • the first projection service is not specifically referred to as the first projection service, and the playback device may be released in actual applications.
  • Projection service in which different projection services use different projection protocols, where the first projection service refers to the projection service to be used by the mobile terminal through the content projection control service to distinguish the subsequent mobile terminal from the content projection control service.
  • the selected projection service to be used again delivers the first content, so that the first projection service is on the corresponding playback device (that is, the playback device that publishes the first projection service, such as a television or a set-top box connected to the television) Playback; compatibility with different projection services (using different projection protocols) issued by the playback device by running at least two protocol projection control services;
  • the mobile terminal after the mobile terminal transmits the first content to the first projection service through the first protocol projection control service, if the second content (any content different from the first content) needs to be played locally through the local playback service, the first terminal passes the first content
  • the protocol projection control service maintains a first projection service for the first content, causing the first content to continue to be played in the playback device. In this way, when the mobile terminal views the second content different from the projected first content, the projection of the first content by the first projection service on the playback device is not interrupted, thereby providing the user with a flexible and smooth operation experience;
  • the playback device plays; even if the same projection protocol, the projection service (first projection service) issued by different playback devices for the same projection protocol does not have the same format support for the first content, and is transmitted to the first projection service.
  • the first content in different formats ensures that the first projection service that obtains the first content can be played on the corresponding playback device, thereby improving compatibility with different playback devices;
  • state control of the first projection service for example, fast forward, fast reverse, and playback resolution selection of the first content playback, so that the user can control the projection of the first content on the playback device;
  • the mobile terminal runs a local playback service, a content projection control service, and at least two The protocol projection control service (step 101), wherein the protocol projection control service 1 supports the DLNA projection protocol, and the protocol projection control service 2 supports the AirPlay projection protocol; the mobile terminal pulls the local playback service in the projection application to the media server on the network side.
  • a list of content to be played on the display interface of the mobile terminal a list of addresses of video content such as dramas, concerts, etc.
  • the mobile terminal plays the first content through the local playing service to play the first content in the display interface of the mobile terminal; and, the pair may be presented in the display interface.
  • a playback device For projecting the first content, if the user triggers the virtual button, the mobile terminal acquires a first projection instruction through the content projection control service (step 102), and performs detection (discovery) of the projection service through the protocol projection control protocol,
  • a playback device often only supports one type of projection protocol.
  • the playback device 1 shown in FIG. 1 issues a projection service 1 that supports the DLNA projection protocol, and the playback device 2 issues a projection service 2 that supports the AirPlay projection protocol.
  • the control service 1 supports the DLNA projection protocol, so the protocol projection control service 1 detects the probe service 1 issued by the playback device 1, the same Since the protocol projection control service 2 supports the AirPlay projection protocol, the protocol projection control service 2 detects the projection service 2 issued by the playback device 2, and the protocol projection control service transmits the situation that the projection service is detected to the content projection control service, as shown in the figure.
  • the content projection control service presents a playback device that can be used to project the first content and a projection protocol supported by the playback device in the display interface of the mobile terminal via the local playback service; it is assumed here that the user selects the projection service 1 issued by the playback device 1 (first projection service) performing projection of the first content;
  • the content projection service determines the first projection service, intercepting the first content played by the local playback service (which may be a first content address in the multimedia server, such as a uniform resource locator, ie, a URL), and intercepting the first content ( Corresponding to the address that can be the first content) to the protocol projection service 1 (first protocol projection control service) (step 103), optionally, when the first content played by the local playback service is triggered to be projected, the mobile terminal does not The first content is played in the display interface of the mobile terminal through the local broadcast service to save the display space in the display interface of the mobile terminal; of course, the mobile terminal can continue to play the first content through the local broadcast service;
  • the mobile terminal projects control service 1 (first protocol projection control service) through protocol, and is based on
  • the first projection protocol delivers the first content to the projection service 1 (first projection service) (step 104), and the projection service 1 plays the first content on the corresponding playback device 1 (such as a player running the playback device 1).
  • the progress of playing the first content by the local playback service is transmitted to the projection service 1 (first projection service) by the content projection control service, and the projection service 1 is based on the playback progress of the first content on the corresponding playback device (playing device) 1) Play, so that the content will continue to progress before switching to the mobile device 1 to play, giving the user a continuous viewing experience.
  • the mobile terminal may intercept the first content played by the local playback service through the content projection control service, and intercept the captured content.
  • the first content is delivered to the protocol projection control service 2, and the first content is delivered to the projection service 2 via the protocol projection control service 2, based on the AirPlay projection protocol, and the playback device 2 (calls the player application in the playback device 2) on the playback device 2 performing rendering playback; optionally, the mobile terminal no longer plays the first content in the display interface of the mobile terminal through the local broadcast service to save display space in the display interface of the mobile terminal; optionally, the content projection control service
  • the progress of playing the first content by the local broadcast service is transmitted to the projection service 2 (second projection service), and the projection service 1 plays on the corresponding playback device (playing device 2) based on the playing progress of the first content, bringing the user continuous Watch the experience.
  • the playback device that publishes different projection services (that is, services using different projection protocols) can be compatible and implemented. Projection processing of content based on a playback device of different projection protocols.
  • the mobile terminal when the mobile terminal transmits the first content to the playback device 1 that issues the projection service 1 (first projection service) through the protocol projection control service 1 (first protocol projection control service) in the above example 1), A content is played by the projection service 1 on the playback device 1,
  • the protocol control control service 1 (first protocol projection control service) is presented in the display interface of the mobile terminal for the state control interface of the projection service 1; at this time, the mobile terminal user desires to perform the first service without interrupting the projection service 1
  • the content plays the second content (that is, the content different from the first content) on the premise that the content is played by the playing device 1; to achieve the purpose, the user may trigger the playing of the second in the content list of the projected application.
  • the mobile terminal acquires a second play instruction indicating that the second content is played through the local play service (step 201); and plays the second content on the display interface of the mobile terminal through the local play service (step 202).
  • the first protocol projection control service the projection service 1 (first projection service) for the first content (step 203), that is, causing the projection service 1 to continue playing on the mobile terminal based on the first content
  • the protocol projection control service 1 can continue to display on the mobile terminal for the state control interface of the projection service 1 Surface rendering.
  • the second content is also played on the mobile terminal on the premise that the first content is played on the playback device 1 without interrupting the projection service 1.
  • the user can use the mobile terminal to project the movie to the living room television. Play on, while operating the mobile terminal for other operations, such as browsing the web, etc., will not affect the movie playback of the living room TV.
  • the state of the protocol projection control service 1 (first protocol projection control service) for the projection service 1 (first projection service) is presented in the display interface of the mobile terminal Control interface 81; at this time, the mobile terminal user may also need to switch the protocol projection control service 1 (first protocol projection control service) to the background (that is, switch the state control interface of the projection service 1 to the background), so that it can be used
  • the projection application locally views the second content (different from the first content) on the mobile terminal, or operates on other applications in the mobile terminal (such as listening to the broadcast, browsing the webpage, etc.); accordingly, the reference Referring to FIG. 8, in conjunction with FIG.
  • the user can trigger the protocol projection control service 1 (first protocol projection control service) to switch to the background virtual button 82 in the state control interface 81 of the projection service 1 (first projection service), that is,
  • the content projection control service acquires the switching of the protocol projection control service 1 to the background.
  • An instruction step 301); performing an operation of switching to the background by the protocol projection control service 1 (first protocol projection control service), and maintaining the projection service 1 (first projection service) for the first content continues on the playback device based on the first
  • the content is played (step 302).
  • the mobile terminal may present a content list through a local playing service, so that the user can select the second content and play the content in the display interface of the mobile terminal through the local playing service, and the first content is played on the playing device 1 without interrupting the projection service 1.
  • the mobile terminal is allowed to play the second content by using the local playing service; of course, the user may also be allowed to operate other applications of the mobile terminal (such as browsing the webpage, etc.);
  • the second content 1002 is continuously played in the form of a non-full-screen window on the display interface of the mobile terminal, and Presenting a state control interface of the protocol projection control service 1 (first protocol projection control service) for the projection service 1 (first projection service) in the display interface (step 303), including the identifier 1001, see FIG. 11, the user can trigger
  • the identifier 1001 switches the display interface of the mobile terminal to the state control interface 82 of the protocol projection control service 1 (first protocol projection control service) for the projection service 1 (first projection service).
  • the protocol projection control service 1 (first protocol projection control service) is also supported for the projection service 1 on the premise that the first content is played on the playback device 1 without interrupting the projection service 1.
  • the status control interface of the service is switched to the background, so that the user can select the second content to play in the content list of the projection application, or operate other applications of the mobile terminal.
  • the format of the content supported by the projection service using the same projection protocol is not completely the same, for example, partially supporting the HLS format and partially supporting the MP4 format;
  • the mobile terminal passes the protocol projection control service 1 (first protocol projection control service) and based on the DLNA projection protocol (first projection protocol) to the projection service 1 (first projection)
  • the mobile terminal attempts to cause the projection service 1 (first projection service) to use the first content in the HLS format on the corresponding playback device by the first protocol projection control protocol and based on the first projection protocol.
  • step 403 playing the playback device of the projection service 1
  • step 403 determines whether the maximum number of attempts has been reached.
  • step 405 the attempt is made to cause the projection service 1 to play the first content in the MP4 format on the playback device 1
  • step 405 it is determined that the maximum number of attempts has not been reached.
  • step 406 continue to try to cause the projection service 1 to play the first content in the MP4 format on the playback device 1 until the projection service 1 successfully uses the first content of a certain format to play on the corresponding playback device 1;
  • the first projection service may perform multiple attempts when playing on the corresponding playback device, and try to make the first projection service use another when the number of attempts reaches a maximum The first content of the format is played on the corresponding playback device.
  • the mobile terminal displays the protocol projection control service 1 (first protocol projection control service) for the projection service 1 in the display interface of the mobile terminal through the content projection control service ( State control interface of the first projection service)
  • the state control instruction for the projection service 1 (first projection service) for the first content is acquired by the content projection control service (step 501), and the state control instruction is transmitted to the protocol Projection control service 1 (first protocol projection control service) (step 502) to cause protocol projection control service 1 to adjust the state of projection service 1, such as video sharpness, switching first content, fast forward and rewind, adjusting volume, playing Pause, etc.
  • the mobile terminal presents the status of the protocol projection control service 2 (second protocol projection control service) for the projection service 2 (second projection service) in the display interface of the mobile terminal through the content projection control service.
  • the control interface presents the state of the projection service 2 for the second content
  • the state control instruction of the projection service 2 (second projection service) for the second content is acquired by the content projection control service, and the state control instruction is transmitted to
  • the protocol projection control service 2 (second protocol projection control service) causes the protocol projection control service 2 to adjust the state of the projection service 2, such as video definition, switching the second content, fast forward and rewind, adjusting the volume, playing pause, etc.
  • the user can control the playing of the content in the playing device through the mobile terminal, and the mobile terminal realizes the remote control function, and does not need to directly operate the playing device directly, thereby improving the user's operating experience.
  • the mobile terminal transmits the projection service 1 (first projection service) to the playback device 1 through the protocol projection control service 1 (first protocol projection control service)
  • the first content is played by the projection service 1 on the playback device 1; thereafter, the user may need to switch the playback device that projects the first content, for example, the projection service that needs to be published by the playback device 2 (second projection) Serving playback device 2 performs rendering playback; correspondingly, in conjunction with FIG. 14 and referring to FIG.
  • the mobile terminal presents a state control interface for the projection service 1 of the first content in the display interface of the mobile terminal through the content projection service, and the user triggers
  • the virtual button 141 of the switching playback device in the state control interface will cause the mobile terminal to present the candidate projection service on the display interface of the mobile terminal through the content projection control service.
  • Step 601 including projection service 1 (using playback device 1) and projection service 2 (using playback device 2), wherein projection service 1 is a projection service issued by protocol projection control service 1 on detected playback device 1, projection service 1 and the protocol projection control service 1 both support the DLNA projection protocol (first projection protocol), the projection service 2 is the projection service issued by the protocol projection control service 2 on the detected playback device 2, and the projection service 2 and the protocol projection control service 2 are both Support AirPlay projection protocol (second projection protocol);
  • the mobile terminal acquires an instruction to switch the projection service used by the first content through the content projection control service, and Determining that the first content uses the projection service 2 (second projection service) to play on the playback device 2 (step 602);
  • the mobile terminal transmits the first content to the playback device 2 that issues the projection service 2 (second projection service) through the protocol projection control service 2 (second protocol projection control service) (step 603), so that the projection service 2 uses the first content in correspondence.
  • Playback device 2 performs playback (step 604), wherein the second protocol projection control service is a protocol projection control service that detects the second projection service among the at least two protocol projection control services, the second Both the protocol projection control service and the second projection service support the second projection protocol.
  • the mobile terminal may save the progress information to the projection service 2 (second projection service) by using the content projection control service to save the projection service 1 (first projection service) based on the progress information of the first content playback, thereby making the projection service 2
  • the first content is continued to be played based on the progress information of the first content, and the continuity of the first content being played by using the projection service in different playback devices is ensured, thereby providing a good viewing experience for the user.
  • the playback device 1 issues the projection service 1 supporting the DLNA and the projection service 4 supporting the AirPlay projection protocol; the protocol projection control service 1 (supporting the DLNA projection protocol) detected by the mobile terminal is detected.
  • the protocol projection control service 3 (corresponding to the third protocol projection control service, supporting the DLNA projection protocol) that the mobile terminal runs detects the projection service 1 issued by the playback device 1, and the protocol projection control service 2 that supports the AirPlay projection protocol detects the playback.
  • the projection service 4 issued by the device 1 assuming that the mobile terminal delivers the first content to the playback device 1 that issues the projection service 1 (first projection service) through the protocol projection control service 1 (first protocol projection control service), the first content is projected Service 1 is played on the playback device 1.
  • first projection service first projection service
  • second protocol projection control service first protocol projection control service
  • the user may expect the playback device 1 to replace the projection protocol used to project the first content.
  • the user selects to use the projection service 4 to play on the playback device 1 based on the AirPlay projection protocol; accordingly, the mobile terminal passes the content projection service at the mobile terminal.
  • a state control interface for presenting the projection service 1 for the first content in the display interface, the user triggering a virtual button 171 of the switching projection protocol in the state control interface, which will trigger the mobile terminal to present candidates on the display interface of the mobile terminal through the content projection control protocol a projection protocol (step 701), wherein the candidate projection protocol is a projection protocol supported by the protocol projection control service 1 and the protocol projection control service 3, including a DLNA projection protocol and an AirPlay projection protocol;
  • the mobile terminal acquires an instruction to switch the projection protocol used by the first content through the content projection control protocol, and determines the first content.
  • the new projection protocol used (step 702) is also the AirPlay projection protocol; the protocol projection control service 3 (third protocol projection control service) is passed to the projection service 4 (new projection service, supporting the new projection protocol, ie AirPlay projection protocol).
  • a content (step 703), causing the projection service 4 (new projection service) to play based on the first content on the playback device that releases the new projection protocol, that is, the playback device 1, thereby realizing the switching of the projection protocol when the playback device 1 projects the first content. .
  • an optional structural diagram of the mobile terminal 10 includes: a local broadcast service unit 100 (corresponding to the foregoing local broadcast service), and a content projection control service unit 200. (corresponding to the aforementioned content projection control service) and At least two protocol projection control service units (corresponding to the aforementioned protocol projection control service unit), in FIG. 19, the first protocol projection control service unit 300, the second protocol projection control service unit 400, and the third protocol projection control service unit 500 are For example, different projection protocol control unit supports different projection protocols; exemplarily, the first protocol projection control service unit 300 supports the DLNA projection protocol, and the second protocol projection control service unit 400 supports the AirPlay projection protocol.
  • the three-protocol projection control service unit 500 supports the Miracast projection protocol;
  • the content projection control service unit 200 is configured to acquire a first projection instruction, intercept the first content played by the local playback service unit 100, and deliver the intercepted first content to the first protocol projection control service unit 300,
  • the first protocol projection control service unit 300 is a protocol projection control service unit that detects a first projection service issued by the playback device in at least two protocol projection control service units;
  • the first protocol projection control service unit 300 is configured to deliver the first content to a first projection service based on a first projection protocol, where the first content is used by the first projection service to be performed by a corresponding playback device. Playing, wherein the first protocol projection control service unit 300 and the first projection service both support the first projection protocol.
  • the first protocol projection control service unit 300 is further configured to: when the first content is delivered to the playback device that issues the first projection service, if the indication is played by the local playback service unit 100 a second play instruction of the second content, the second content being different from the first content;
  • the local broadcast service unit 100 is further configured to play the second content on a display interface of the mobile terminal, and maintain the first content for the first content by the first protocol projection control service unit 300 Projection service.
  • the first protocol projection control service unit 300 is further configured to acquire, by the content projection control service unit 200, the first protocol when the first content is delivered to the first projection service.
  • the projection control service unit 300 switches to an instruction in the background;
  • the first protocol projection control service unit 300 is further configured to perform an operation of switching to the background and maintain the first projection service for the first content.
  • the first protocol projection control service unit 300 is further configured to cause the first projection service to play the first content in a different format on a corresponding playback device; until the first projection is made The service successfully uses the first content to play on the corresponding playback device.
  • the content projection control service unit 200 is further configured to present a state control interface on a display interface of the mobile terminal, where the state of the first projection service for the first content is presented in the state control interface ;
  • the content projection control service unit 200 is further configured to acquire a state control instruction for the first projection service of the first content, and deliver the state control instruction to the first protocol projection control service unit 300 to The first protocol projection control service unit 300 is caused to adjust the state of the first projection service.
  • the content projection control service unit 200 is further configured to present a candidate projection service on a display interface of the mobile terminal, the candidate projection service being at least one detected by the at least two protocol projection control service units a projection service issued by the playback device;
  • the content projection control service unit 200 is further configured to acquire an instruction to switch the projection service used by the first content, and determine a second projection service used by the first content;
  • the second protocol projection control service unit 400 is further configured to deliver the first content to a playback device that issues the second projection service, where the first content is configured to be performed by the second projection service on a corresponding playback device Play, where,
  • a second protocol projection control service unit 400 configured to, for the at least two protocol projection control service units, a protocol projection control service unit that detects the second projection service, the second protocol projection control service unit 400
  • the second projection service supports the second projection protocol.
  • the content projection control service unit 200 is further configured to be at the mobile terminal
  • the display interface presents a candidate projection protocol
  • the candidate projection protocol is a projection protocol supported by the projection service detected by the at least two protocol projection control protocols
  • the content projection control service unit 200 is further configured to acquire an instruction to switch a projection protocol used by the first content, and determine a new projection protocol used by the first content;
  • the third protocol projection control service unit 500 is further configured to deliver the first content to the new projection service, so that the new projection service is played on the corresponding playback device based on the first content, the third The protocol projection control service unit 500 projects a control service unit for the protocol using the new projection protocol.
  • the foregoing unit in the mobile terminal may be implemented by a processor in the mobile terminal running a specific service in an application (such as a projection application such as a Tencent video) in a memory, for example, by running the aforementioned local playback service to implement the local playback service unit 100.
  • the function realizes the function of the content projection control service unit 200 by running the aforementioned content projection service, and realizes the function of the protocol projection control service unit by running the aforementioned protocol projection control service.
  • the mobile terminal may adopt the hardware structure shown in FIG. 20.
  • the mobile terminal 10 includes: a processor 140, and an input/output interface 110. (such as one or more of a display, a keyboard, a touch screen, a speaker microphone), a storage medium 120, and a network interface 150 for supporting data transmission with an external device, and the components can be connected for communication via the system bus 130.
  • the embodiment of the invention further describes a computer readable medium, which may be a ROM (for example, a read only memory, a FLASH memory, a transfer device, etc.), a magnetic storage medium (for example, a magnetic tape, a disk drive, etc.), or an optical storage medium (for example, a CD-ROM, a DVD-ROM, a paper card, a paper tape, etc., and other well-known types of program memory; the computer readable medium storing computer-executable instructions (such as binary executable instructions of a projection application such as a Tencent video), When the instructions are executed, causing at least one processor to perform operations including the following:
  • the control service is a protocol projection control service for detecting the first projection service issued by the playback device among the at least two protocol projection control services;
  • the first content is delivered to the first projection service by the first projection service, and the first content is used by the first projection service to play on the corresponding playback device, where
  • the first protocol projection control service and the first projection service both support the first projection protocol.
  • the projection device projection will also stop, and the video cannot be viewed while the projection is being performed on the mobile terminal; this embodiment of the present invention improves the user when the user exits the playback window. Or the projection application switches to the background, the projection content of the playback device is not interrupted, and the mobile terminal can continue to control the state (such as volume, resolution, progress) of the projected content in the playback device, and the user can watch on the mobile terminal. Other videos do not affect the projection, and the user can conveniently continue to control the state control interface of the projected video through the projection portal.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. Including the steps of the above method embodiments;
  • the foregoing storage medium includes: a removable storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making
  • a computer device which may be a personal computer, server, or network device, etc.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种内容投射方法及移动终端;方法包括:移动终端运行本地播放服务、内容投射控制服务和至少两个协议投射控制服务;通过内容投射控制服务获取第一投射指令,截获本地播放服务播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务;通过第一协议投射控制服务、并基于第一投射协议向第一投射服务传递第一内容。实施本发明,能够兼容播放设备使用不同投射协议的投射服务。

Description

内容投射方法及移动终端
本专利申请要求2015年11月5日提交的中国专利申请号为201510750032.8,申请人为腾讯科技(深圳)有限公司,发明名称为“内容投射方法及移动终端”的优先权,该申请的全文以引用的方式并入本申请中。
技术领域
本发明涉及通信领域的内容投射技术,尤其涉及一种内容投射方法及移动终端。
背景技术
移动终端的内容投射,是指用户可以将原本在移动终端上播放的视频,通过数字生活网络联盟(DLNA,Digital Living Network Alliance)投影协议、空中播放(AirPlay)投射协议等多屏互动投影协议(也可以经过机顶盒)在电视等播放设备上播放。这种方式可以突破移动终端屏幕较小的限制,极大的提高用户的观影体验。
当前移动终端投射的技术方案一般为,移动终端中的投射应用获取视频的播放地址,基于DLNA或AirPlay等投射协议,将播放地址发送给支持投射的投射服务上,投射服务通常运行于电视或电视盒子等播放设备上,播放设备的投射服务获取到视频地址后,通过播放设备的播放器将播放画面渲染到屏幕上,通常投射协议会支持播放、暂停等控制逻辑,移动终端可通过保持与服务的通信,对播放过程进行控制。
目前移动终端中的投射服务仅支持一种投射协议,这就导致某些播放设备的发布的投射服务由于支持的投射协议与移动终端不兼容的问题无法支持移动终端进行内容投射。
发明内容
本发明实施例提供一种内容投射方法以及移动终端,能够兼容播放设备使用不同投射协议的投射服务。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供一种内容投射方法,包括:
移动终端运行本地播放服务、内容投射控制服务和至少两个协议投射控制服务,其中,不同的所述协议投射控制服务支持的投射协议不同;
通过所述内容投射控制服务获取第一投射指令,截获所述本地播放服务播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务,其中,所述第一协议投射控制服务为至少两个协议投射控制服务中探测到播放设备发布的第一投射服务的协议投射控制服务;
通过第一协议投射控制服务、并基于第一投射协议向第一投射服务传递所述第一内容,所述第一内容用于供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务与所述第一投射服务均支持所述第一投射协议。
第二方面,本发明实施例提供一种移动终端,包括:
本地播放服务单元、内容投射控制服务单元和至少两个协议投射控制服务单元,其中,不同的所述协议投射控制服务单元支持的投射协议不同;
所述内容投射控制服务单元,配置为获取第一投射指令,截获所述本地播放服务单元播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务单元,其中,所述第一协议投射控制服务单元为至少两个协议投射控制服务单元中探测到播放设备发布的第一投射服务的协议投射控制服务单元;
所述第一协议投射控制服务单元、配置为基于第一投射协议向第一投射服务传递所述第一内容,所述第一内容用于供所述第一投射服务在对应 的播放设备进行播放,其中,所述第一协议投射控制服务单元与所述第一投射服务均支持所述第一投射协议。
第三方面,本发明实施例提供一种移动终端,所述移动终端包括:
存储介质,配置为存储计算机可执行指令;
处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令包括:
运行本地播放服务、内容投射控制服务和至少两个协议投射控制服务,其中,不同的所述协议投射控制服务支持的投射协议不同;
通过所述内容投射控制服务获取第一投射指令,截获所述本地播放服务播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务,其中,所述第一协议投射控制服务为至少两个协议投射控制服务中探测到播放设备发布的第一投射服务的协议投射控制服务;
通过第一协议投射控制服务、并基于第一投射协议向所述第一投射服务传递所述第一内容,所述第一内容配置为供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务与所述第一投射服务均支持所述第一投射协议。
本发明实施例中,移动终端通过运行内容投射控制服务、以及与至少两种投射协议一一对应的协议投射控制服务,实际应用中协议投射控制服务支持的投射协议可以根据播放设备支持的不同投射协议对应设置,从而实现对不同播放设备使用的投射协议的兼容支持,内容投射控制服务根据需要使用的播放设备发布的投射服务所支持的投射协议,与对应的协议投射控制服务协同向播放设备发布的投射服务传递需要投射的内容(第一内容);由于协议投射控制协议与投射协议是一一对应的,这样,通过内容投射控制服务与对应的协议投射控制服务,实现了对于使用不同的投射协议的投射服务的兼容支持。
附图说明
图1是本发明实施例中移动终端运行服务的示意图一;
图2是本发明实施例中移动终端运行服务的示意图二;
图3是本发明实施例中内容投射方法的实现示意图一;
图4是本发明实施例中选中第一内容在移动终端播放的操作示意图;
图5是本发明实施例中将本地播放的内容在播放设备进行投射的示意图;
图6是本发明实施例中选取播放设备的示意图;
图7是本发明实施例中内容投射方法的实现示意图二;
图8是本发明实施例中内第一内容进行投射的状态控制界面的示意图;
图9是本发明实施例中内容投射方法的实现示意图三;
图10是本发明实施例中在移动终端播放第二内容的示意图;
图11是本发明实施例中将第一内容的投射的状态控制界面切换至后台,并在移动终端本地播放第二内容的示意图;
图12是本发明实施例中内容投射方法的实现示意图四;
图13是本发明实施例中内容投射方法的实现示意图五;
图14是本发明实施例中切换第一内容所使用的投射服务的示意图;
图15是本发明实施例中内容投射方法的实现示意图六;
图16是本发明实施例中移动终端运行服务的示意图三;
图17是本发明实施例中切换投射第一内容使用的投射协议的示意图;
图18是本发明实施例中内容投射方法的实现示意图七;
图19是本发明实施例中移动终端的逻辑功能结构示意图;
图20是本发明实施例中移动终端的硬件结构示意图。
具体实施方式
以下结合附图及实施例,对本发明进行进一步详细说明。应当理解, 此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
需要说明的是,本发明实施例所涉及的术语“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。
现在将参考附图描述实现本发明实施例中记载的移动终端,移动终端可以以各种形式来实施,例如,上述的移动终端可以是智能手机、平板电脑、笔记本电脑或穿戴式设备(如智能眼镜、智能手表等),移动终端的操作系统可以是安卓操作系统、iOS操作系统或其他任意第三方开发的可以运行于微型计算机结构(至少包括处理器和内存)的操作系统(如移动版Linux系统、黑莓QNX操作系统等),本发明实施例中的附图中以移动终端为智能手机进行说明,这不构成对本发明实施例记载的技术方案所使用的移动终端类型的限定。
参见图1,移动终端10运行具有投射功能的多媒体播放应用(简称投射应用,如视频播放应用),投射应用包括有多个功能模块:本地播放服务、内容投射控制服务和至少两个协议投射控制服务(图中1以协议投射控制服务1和协议投射控制服务2为例进行说明),其中,不同的协议投射控制服务支持的投射协议不同,例如协议投射控制服务1可以支持DLNA投射协议,协议投射控制服务2可以支持AirPlay投射协议;实际应用中移动终端运行的协议投射控制服务的数量视需要支持的投射协议的数量而定,例如,如图2所示,如果还需要支持Miracast投射协议,则移动终端中还可以运行有协议投射控制服务3以支持Miracast投射协议。
移动终端通过本地播放服务在移动终端的显示界面中播放第一内容(这里的第一内容并非特指,凡是首先被触发在移动终端的显示界面中显 示的内容即可视为第一内容,仅为与后续被触发在移动终端的显示界面中显示的内容也即第二内容进行区分);内容投射控制服务用于与至少两个协议投射控制服务协同实现以下功能:
1)向使用特定投射协议(如前述的DLNA投射协议、AirPlay投射协议和Miracast投射协议)的第一投射服务(第一投射服务并非特指第一个投射服务,实际应用中播放设备可能发布多个投射服务,其中不同的投射服务使用的投射协议不同,这里的第一投射服务是指移动终端通过内容投射控制服务选定的要使用的投射服务,以区别于后续移动终端通过内容投射控制服务再次选定的要使用的投射服务)传递第一内容,使第一投射服务在对应的播放设备(也即发布第一投射服务的播放设备,如电视或与电视连接的机顶盒)对第一内容进行播放;通过运行至少两个协议投射控制服务,对播放设备发布的不同投射服务(使用不同的投射协议)实现了兼容;
2)移动终端通过第一协议投射控制服务向第一投射服务传递第一内容后,如果需要通过本地播放服务播放在本地播放第二内容(与第一内容不同的任意内容),则通过第一协议投射控制服务保持针对第一内容的第一投射服务,使第一内容继续在播放设备中播放。这样,在移动终端观看与投射的第一内容不同的第二内容时,第一投射服务在播放设备进行的第一内容的投射也不会中断,给用户带来灵活流畅的操作体验;
3)通过第一协议投射控制服务向第一投射服务传递第一内容时,如果通过内容投射控制服务获取到将第一协议投射控制服务切换到后台的指令(例如,此时用户可能需要将投射应用切换到后台)时,则通过第一协议投射控制服务执行切换到后台的操作,并保持针对第一内容的第一投射服务;这样,在移动终端将投射应用切换到后台进行其他操作时,第一投射服务在播放设备进行的第一内容的投射也不会中断,给用户带来灵活流畅 的操作体验;
4)通过第一协议投射控制协议、并基于第一投射协议,尝试向第一投射服务传递不同格式的所述第一内容;直至,第一投射服务成功使用一种格式的第一内容在对应的播放设备进行播放;即使是同一投射协议,不同播放设备发布的针对同一投射协议的投射服务(第一投射服务)对第一内容的格式支持情况也不完全相同,通过向第一投射服务传递不同格式的第一内容,确保获取到第一内容的第一投射服务能够在对应的播放设备进行播放,提升了对不同播放设备的兼容性;
5)对第一投射服务的状态控制,例如第一内容播放的快进、快退、播放分辨率选择,便于用户控制第一内容在播放设备的投射;
6)投射服务的切换,也就是切换投射第一内容的播放设备,满足用户随时随地切换播放设备的需求;
7)投射第一内容所使用的投射协议的切换,对于发布第一投射服务(使用第一投射协议)的播放设备,如果该播放设备还发布第二投射服务(使用第二投射协议),则可以切换当前在播放设备投射第一内容所使用的投射协议。
以下结合示例对上述功能的实现进行说明。
示例1)
对应上述的功能1),结合图1,并参见图3示出的内容投射的一个可选的流程示意图,移动终端运行投射应用时,移动终端运行本地播放服务、内容投射控制服务和至少两个协议投射控制服务(步骤101),其中,协议投射控制服务1支持DLNA投射协议,协议投射控制服务2支持AirPlay投射协议;移动终端通过投射应用中的本地播放服务向网络侧的媒体服务器拉取可供在移动终端的显示界面播放的内容的列表(对电视剧、演唱会等视频内容的地址列表);
参见图4,如果用户在内容的列表中选中第一内容(第一内容并非特指,仅为与后续用户在内容列表中选中的内容也即第二内容进行区分,图4中以第一内容为剧集01 41为例)进行播放,参见图5,移动终端通过本地播放服务对第一内容进行播放,以在移动终端的显示界面中播放第一内容;并且,可以在显示界面中呈现对第一内容进行投射的虚拟按钮,如果用户触发该虚拟按钮,则移动终端会通过内容投射控制服务获取第一投射指令(步骤102),并通过协议投射控制协议进行投射服务的探测(发现),实际应用中一个播放设备往往只会支持一种投射协议,图1中示出的播放设备1发布支持DLNA投射协议的投射服务1,播放设备2发布支持AirPlay投射协议的投射服务2,由于协议投射控制服务1支持DLNA投射协议,因此协议投射控制服务1探测到播放设备1发布的探测服务1,同理,由于协议投射控制服务2支持AirPlay投射协议,因此协议投射控制服务2探测到播放设备2发布的投射服务2,协议投射控制服务将探测到投射服务的情况会传递至内容投射控制服务,如图6所示,内容投射控制服务经由本地播放服务在移动终端的显示界面中呈现投射第一内容可以使用的播放设备以及播放设备支持的投射协议;这里假设用户选中使用播放设备1发布的投射服务1(第一投射服务)进行第一内容的投射;
在内容投射服务确定第一投射服务后,截获本地播放服务播放的第一内容(可以为多媒体服务器中指向第一内容地址如统一资源定位符也即URL),并将所截获的第一内容(对应可以为第一内容的地址)传递至协议投射服务1(第一协议投射控制服务)(步骤103),可选地,当通过本地播放服务播放的第一内容被触发投射时,移动终端不再通过本地播放服务在移动终端的显示界面中播放第一内容,以节省移动终端显示界面中的显示空间;当然,移动终端也可以通过本地播放服务继续播放第一内容;
移动终端通过协议投射控制服务1(第一协议投射控制服务)、并基于 第一投射协议向投射服务1(第一投射服务)传递第一内容(步骤104),投射服务1使用第一内容在对应的播放设备1(如调用播放设备1中运行的播放器)进行播放;可选地,通过内容投射控制服务将本地播放服务播放第一内容的进度传递至投射服务1(第一投射服务),投射服务1基于第一内容的播放进度在对应的播放设备(播放设备1)进行播放,这样内容在切换到移动中观1设备进行播放时会接续之前的进度,给用户带来连续的观看体验。
基于上述处理不难看出,对于用户在图6中选择播放设备2发布的投射服务2进行投射的情况,移动终端可以通过内容投射控制服务截获本地播放服务播放的第一内容,并将所截获的第一内容传递至协议投射控制服务2,并通过协议投射控制服务2、基于AirPlay投射协议将第一内容传递至投射服务2,由投射服务2(调用播放设备2中播放器应用)在播放设备2进行渲染播放;可选地,移动终端不再通过本地播放服务在移动终端的显示界面中播放第一内容,以节省移动终端显示界面中的显示空间;可选地,通过内容投射控制服务将本地播放服务播放第一内容的进度传递至投射服务2(第二投射服务),投射服务1基于第一内容的播放进度在对应的播放设备(播放设备2)进行播放,给用户带来连续的观看体验。
示例1)中,通过内容投射服务与不同的协议投射控制服务(支持不同的投射协议)的协同,对于发布不同投射服务(也即使用不同的投射协议的服务)的播放设备,能够兼容实现在基于不同投射协议的播放设备进行内容的投射处理。
示例2)
与上述功能2)对应,对上述示例1)中移动终端通过协议投射控制服务1(第一协议投射控制服务)向发布投射服务1(第一投射服务)的播放设备1传递第一内容时,第一内容由投射服务1在播放设备1进行播放, 可选地,在移动终端的显示界面中呈现协议投射控制服务1(第一协议投射控制服务)针对投射服务1的状态控制界面;此时,移动终端用户期望在不中断投射服务1对第一内容在播放设备1进行播放的前提下,在移动终端播放第二内容(也即与第一内容不同的内容);为实现此目的,用户可以在投射应用的呈现的内容列表中触发播放第二内容,相应地,参见图7,移动终端会通过本地播放服务获取到指示播放第二内容的第二播放指令(步骤201);通过本地播放服务在移动终端的显示界面播放第二内容(步骤202),并通过第一协议投射控制服务保持针对第一内容的投射服务1(第一投射服务)(步骤203),也就是使投射服务1继续基于第一内容在移动终端进行播放,可选地,协议投射控制服务1(第一协议投射控制服务)针对投射服务1的状态控制界面可以继续在移动终端的显示界面中呈现。
示例2)中,通过在不中断投射服务1对第一内容在播放设备1进行播放的前提下,还在移动终端播放第二内容,实际应用中,用户可以利用移动终端将电影投射到客厅电视上播放,同时可以操作移动终端进行其他操作,如浏览网页等,不会对客厅电视的电影播放产生影响。
示例3)
与上述功能3)对应,对上述示例1)中移动终端通过协议投射控制服务1(第一协议投射控制服务)向发布投射服务1(第一投射服务)的播放设备1传递第一内容时,第一内容由投射服务1在播放设备1进行播放;参见图8,在移动终端的显示界面中呈现协议投射控制服务1(第一协议投射控制服务)针对投射服务1(第一投射服务)的状态控制界面81;此时,移动终端用户还可能需要将协议投射控制服务1(第一协议投射控制服务)切换到后台(也就是将投射服务1的状态控制界面切换到后台),从而可以在使用投射应用在移动终端本地观看第二内容(与第一内容不同),或者对移动终端中的其他应用进行操作(如收听广播、浏览网页等);相应地,参 见图8,结合图9,用户可以触发协议投射控制服务1(第一协议投射控制服务)针对投射服务1(第一投射服务)的状态控制界面81中切换至后台的虚拟按钮82,也就是在移动终端通过协议投射控制服务1(第一协议投射控制服务)向投射服务1(第一投射服务)传递第一内容时,通过内容投射控制服务获取到将协议投射控制服务1切换到后台的指令(步骤301);通过协议投射控制服务1(第一协议投射控制服务)执行切换到后台的操作,并保持针对第一内容的投射服务1(第一投射服务)在播放设备继续基于第一内容进行播放(步骤302)。
参见图10,移动终端可以通过本地播放服务呈现内容列表,便于用户选择第二内容并通过本地播放服务在移动终端的显示界面中播放,在不中断投射服务1对第一内容在播放设备1进行播放的前提下,支持移动终端使用本地播放服务播放第二内容;当然,也可以支持用户对移动终端的其他应用进行操作(如浏览网页等);
可选地,参见图10,在协议投射控制服务1(第一协议投射控制服务)执行切换到后台的操作后,在移动终端的显示界面以非全屏窗口的形式继续播放第二内容1002,并在显示界面中呈现协议投射控制服务1(第一协议投射控制服务)针对投射服务1(第一投射服务)的状态控制界面(步骤303),其中包括标识1001,参见图11,用户可以通过触发标识1001使移动终端的显示界面切换至协议投射控制服务1(第一协议投射控制服务)针对投射服务1(第一投射服务)的状态控制界面82。
示例3)中,通过在不中断投射服务1对第一内容在播放设备1进行播放的前提下,还支持将协议投射控制服务1(第一协议投射控制服务)针对投射服务1(第一投射服务)的状态控制界面切换至后台,便于用户在投射应用的内容列表中选取第二内容进行播放,或者对移动终端的其他应用进行操作。
示例4)
与上述的功能4)对应,实际应用中,由于播放设备生产厂商的差异,使用相同投射协议的投射服务所支持的内容的格式也并非完全相同,例如部分支持HLS格式,部分支持MP4格式;基于此,参见图12,在上述示例1)中,当移动终端通过协议投射控制服务1(第一协议投射控制服务)、并基于DLNA投射协议(第一投射协议)向投射服务1(第一投射服务)传递第一内容时,移动终端通过第一协议投射控制协议、并基于所述第一投射协议,尝试使投射服务1(第一投射服务)使用HLS格式的第一内容在对应的播放设备(发布投射服务1的播放设备)也即播放设备1进行播放(步骤401),如果失败(步骤402),则在确定未达到最大尝试次数的前提下(步骤403),继续尝试使投射服务1(第一投射服务)使用HLS格式的第一内容在对应的播放设备(发布投射服务1的播放设备)也即播放设备1进行播放;如果在步骤403中确定达到最大尝试次数,则尝试使投射服务1使用MP4格式的第一内容在播放设备1进行播放(步骤404);如果失败(步骤405),则在确定未达到最大尝试次数的前提下(步骤406),继续尝试使投射服务1使用MP4格式的第一内容在播放设备1进行播放,直至使投射服务1成功使用某一格式的第一内容在对应的播放设备1进行播放;
可选地,尝试使用一种格式的第一内容使第一投射服务在对应的播放设备进行播放时,可以进行多次尝试,在尝试次数达到最大值时尝试使第一投射服务使用另一种格式的第一内容在对应的播放设备进行播放。
示例5)
与上述的功能5)对应,结合图8并参见图13,在移动终端通过内容投射控制服务在移动终端的显示界面中呈现协议投射控制服务1(第一协议投射控制服务)针对投射服务1(第一投射服务)的状态控制界面(呈现有 针对第一内容的投射服务1的状态)时,通过内容投射控制服务获取针对第一内容的投射服务1(第一投射服务)的状态控制指令(步骤501),并将状态控制指令传递至协议投射控制服务1(第一协议投射控制服务)(步骤502),以使协议投射控制服务1调整投射服务1的状态,例如视频清晰度、切换第一内容、快进快退、调节音量、播放暂停等。
基于上述的处理,不难看出,在移动终端通过内容投射控制服务在移动终端的显示界面中呈现协议投射控制服务2(第二协议投射控制服务)针对投射服务2(第二投射服务)的状态控制界面(呈现有针对第二内容的投射服务2的状态)时,通过内容投射控制服务获取针对第二内容的投射服务2(第二投射服务)的状态控制指令,并将状态控制指令传递至协议投射控制服务2(第二协议投射控制服务),以使协议投射控制服务2调整投射服务2的状态,例如视频清晰度、切换第二内容、快进快退、调节音量、播放暂停等,用户通过移动终端即可实现对播放设备中内容的播放进行控制,移动终端实现了遥控功能,无需直接对播放设备直接进行操作,提升了用户的操作体验。
示例6)
与上述的功能6)对应,参见图1并结合在上述示例1),移动终端通过协议投射控制服务1(第一协议投射控制服务)向发布投射服务1(第一投射服务)的播放设备1传递第一内容时,第一内容由投射服务1在播放设备1进行播放;此后,用户可能需要切换对第一内容进行投射的播放设备,例如需要使用播放设备2发布的投射服务(第二投射服务)在播放设备2进行渲染播放;相应地,结合图14并参见图15,移动终端通过内容投射服务在移动终端的显示界面中呈现针对第一内容的投射服务1的状态控制界面,用户触发状态控制界面中的切换播放设备的虚拟按钮141,将使移动终端通过内容投射控制服务在移动终端的显示界面呈现候选投射服务 (步骤601),包括投射服务1(使用播放设备1)和投射服务2(使用播放设备2),其中投射服务1为协议投射控制服务1在探测到的播放设备1发布的投射服务,投射服务1与协议投射控制服务1均支持DLNA投射协议(第一投射协议),投射服务2为协议投射控制服务2在探测到的播放设备2发布的投射服务,投射服务2与协议投射控制服务2均支持AirPlay投射协议(第二投射协议);
假设用户选择切换到播放设备2也就是使用投射服务2基于第一内容在播放设备2进行播放,相应地,移动终端通过内容投射控制服务获取到切换第一内容所使用的投射服务的指令,并确定第一内容使用投射服务2(第二投射服务)在播放设备2进行播放(步骤602);
移动终端通过协议投射控制服务2(第二协议投射控制服务)向发布投射服务2(第二投射服务)的播放设备2传递第一内容(步骤603),使投射服务2使用第一内容在对应的播放设备2进行播放(步骤604),其中,所述第二协议投射控制服务为所述至少两个协议投射控制服务中探测到所述第二投射服务的协议投射控制服务,所述第二协议投射控制服务与所述第二投射服务均支持所述第二投射协议。
可选地,移动终端可以通过内容投射控制服务保存投射服务1(第一投射服务)基于第一内容播放的进度信息,将进度信息传递至投射服务2(第二投射服务),从而使投射服务2基于第一内容的进度信息继续播放第一内容,保证第一内容在不同播放设备中使用投射服务进行播放的连续性,给用户带来良好的观看体验。
示例7)
与上述的功能7)对应,参见图16,假设播放设备1发布了支持DLNA的投射服务1和支持AirPlay投射协议的投射服务4;移动终端运行的协议投射控制服务1(支持DLNA投射协议)探测到播放设备1发布的投射服 务1,移动终端运行的协议投射控制服务3(对应第三协议投射控制服务,支持DLNA投射协议)探测到播放设备1发布的投射服务1,支持AirPlay投射协议的协议投射控制服务2探测到播放设备1发布的投射服务4;假设移动终端通过协议投射控制服务1(第一协议投射控制服务)向发布投射服务1(第一投射服务)的播放设备1传递第一内容,第一内容由投射服务1在播放设备1进行播放,具体的实现参见上述示例1);
用户可能期望播放设备1更换投射第一内容使用的投射协议,参见图17,用户选择使用投射服务4基于AirPlay投射协议在播放设备1进行播放;相应地,移动终端通过内容投射服务在移动终端的显示界面中呈现针对第一内容的投射服务1的状态控制界面,用户触发状态控制界面中的切换投射协议的虚拟按钮171,这将触发移动终端通过内容投射控制协议在移动终端的显示界面呈现候选投射协议(步骤701),其中候选投射协议为协议投射控制服务1和协议投射控制服务3支持的投射协议,包括DLNA投射协议和AirPlay投射协议;
用户选定了需要切换的投射协议之后(假设选定了AirPlay投射协议),参见图18,移动终端通过内容投射控制协议获取到切换第一内容所使用的投射协议的指令,并确定第一内容使用的新投射协议(步骤702)也即AirPlay投射协议;通过协议投射控制服务3(第三协议投射控制服务)向投射服务4(新投射服务,支持新投射协议也即AirPlay投射协议)传递第一内容(步骤703),使投射服务4(新投射服务)基于第一内容在发布新投射协议的播放设备也即播放设备1进行播放,实现了播放设备1投射第一内容时投射协议的切换。
本发明实施例还记载一种移动终端,参见图19示出的移动终端10的一个可选的结构示意图,包括:本地播放服务单元100(对应前述的本地播放服务)、内容投射控制服务单元200(对应前述的内容投射控制服务)和 至少两个协议投射控制服务单元(对应前述的协议投射控制服务单元),图19中以第一协议投射控制服务单元300、第二协议投射控制服务单元400和第三协议投射控制服务单元500为例进行说明:不同的所述协议投射控制服务单元支持的投射协议不同;示例性地,第一协议投射控制服务单元300支持DLNA投射协议,第二协议投射控制服务单元400支持AirPlay投射协议,第三协议投射控制服务单元500支持Miracast投射协议;
所述内容投射控制服务单元200,配置为获取第一投射指令,截获所述本地播放服务单元100播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务单元300,其中,所述第一协议投射控制服务单元300为至少两个协议投射控制服务单元中探测到播放设备发布的第一投射服务的协议投射控制服务单元;
所述第一协议投射控制服务单元300、配置为基于第一投射协议向第一投射服务传递所述第一内容,所述第一内容用于供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务单元300与所述第一投射服务均支持所述第一投射协议。
示例性地,所述第一协议投射控制服务单元300,还配置为向发布所述第一投射服务的播放设备传递所述第一内容时,若通过所述本地播放服务单元100获取到指示播放第二内容的第二播放指令,所述第二内容与所述第一内容不同;
所述本地播放服务单元100,还配置为在所述移动终端的显示界面播放所述第二内容,并通过所述第一协议投射控制服务单元300保持针对所述第一内容的所述第一投射服务。
示例性地,所述第一协议投射控制服务单元300,还配置为向所述第一投射服务传递所述第一内容时,通过所述内容投射控制服务单元200获取到将所述第一协议投射控制服务单元300切换到后台的指令;
所述第一协议投射控制服务单元300,还配置为执行切换到后台的操作,并保持针对所述第一内容的所述第一投射服务。
示例性地,所述第一协议投射控制服务单元300,还配置为使所述第一投射服务使用不同格式的所述第一内容在对应的播放设备进行播放;直至,使所述第一投射服务成功使用所述第一内容在对应的播放设备进行播放。
示例性地,所述内容投射控制服务单元200,还配置为在所述移动终端的显示界面呈现状态控制界面,所述状态控制界面中呈现有针对所述第一内容的第一投射服务的状态;
所述内容投射控制服务单元200,还配置为获取针对所述第一内容的第一投射服务的状态控制指令,并将所述状态控制指令传递至所述第一协议投射控制服务单元300,以使所述第一协议投射控制服务单元300调整所述第一投射服务的状态。
示例性地,所述内容投射控制服务单元200,还配置为在所述移动终端的显示界面呈现候选投射服务,所述候选投射服务为所述至少两个协议投射控制服务单元探测到的至少一个所述播放设备发布的投射服务;
所述内容投射控制服务单元200,还配置为获取到切换所述第一内容所使用的投射服务的指令,并确定所述第一内容使用的第二投射服务;
第二协议投射控制服务单元400,还配置为向发布所述第二投射服务的播放设备传递所述第一内容,所述第一内容配置为供所述第二投射服务在对应的播放设备进行播放,其中,
第二协议投射控制服务单元400,还配置为为所述至少两个协议投射控制服务单元中探测到所述第二投射服务的协议投射控制服务单元,所述第二协议投射控制服务单元400与所述第二投射服务均支持所述第二投射协议。
示例性地,所述内容投射控制服务单元200,还配置为在所述移动终端 的显示界面呈现候选投射协议,所述候选投射协议为所述至少两个协议投射控制协议探测到的投射服务所支持的投射协议;
所述内容投射控制服务单元200,还配置为获取到切换所述第一内容所使用的投射协议的指令,并确定所述第一内容使用的新投射协议;
第三协议投射控制服务单元500,还配置为向发布所述新投射服务传递所述第一内容,使所述新投射服务基于所述第一内容在对应的播放设备进行播放,所述第三协议投射控制服务单元500为使用所述新投射协议的协议投射控制服务单元。
移动终端中的上述单元可以由移动终端中的处理器在内存中运行应用(如腾讯视频等投射应用)中的特定服务实现,例如,通过运行前述的本地播放服务来实现本地播放服务单元100的功能,通过运行前述的内容投射服务来实现内容投射控制服务单元200的功能,通过运行前述的协议投射控制服务来来实现协议投射控制服务单元的功能。
需要指出的是,移动终端可以采用图20示出的硬件结构,在图20示出的移动终端10的一个可选的硬件结构示意图中,移动终端10包括:处理器140、输入/输出接口110(例如显示器、键盘、触摸屏、扬声器麦克风中的一个或多个),存储介质120以及网络接口150,网络接口150用于支持与外部设备的数据传输,组件可以经系统总线130连接通信。
本发明实施例还记载一种计算机可读介质,可以为ROM(例如,只读存储器、FLASH存储器、转移装置等)、磁存储介质(例如,磁带、磁盘驱动器等)、光学存储介质(例如,CD-ROM、DVD-ROM、纸卡、纸带等)以及其他熟知类型的程序存储器;所述计算机可读介质中存储有计算机可执行指令(例如腾讯视频等投射应用的二进制可执行指令),当执行所述指令时,引起至少一个处理器执行包括以下的操作:
运行投射应用中的本地播放服务、内容投射控制服务和至少两个协议 投射控制服务,其中,不同的所述协议投射控制服务支持的投射协议不同;
通过所述内容投射控制服务获取第一投射指令,截获所述本地播放服务播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务,其中,所述第一协议投射控制服务为至少两个协议投射控制服务中探测到播放设备发布的第一投射服务的协议投射控制服务;
通过第一协议投射控制服务、并基于第一投射协议向第一投射服务传递所述第一内容,所述第一内容用于供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务与所述第一投射服务均支持所述第一投射协议。
综上所述,本发明实施例具有以下有益效果:
1)当用户控制移动终端的投射应用退出播放后,投射设备投射也会随之停止,无法做到边投射边在移动终端观看视频;本发明实施例对此进行了改进,当用户退出播放窗口或投射应用切换至后台,播放设备的投射内容不会中断,移动终端依然可以继续对播放设备中的投射内容的状态(如音量、分辨率、进度)进行控制,同时用户可在移动终端上观看其他视频而不会对投射产生影响,用户也可以方便的通过投射入口返回投射视频的状态控制界面继续进行控制。
2)目前大多数投射应用仅支持一种投射协议,这就导致某些播放设备由于协议兼容问题无法投射;本发明集成了较为主流的DLNA和AirPlay至少两种投射协议,同时可对投射流格式按设备兼容情况进行动态控制,尽可能的对市面上的设备进行了兼容,同时用户可方便的在两种投射协议之间切换。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤; 而前述的存储介质包括:移动存储设备、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、RAM、ROM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (15)

  1. 一种内容投射方法,包括:
    移动终端运行本地播放服务、内容投射控制服务和至少两个协议投射控制服务,其中,不同的所述协议投射控制服务支持的投射协议不同;
    通过所述内容投射控制服务获取第一投射指令,截获所述本地播放服务播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务,其中,所述第一协议投射控制服务为至少两个协议投射控制服务中探测到播放设备发布的第一投射服务的协议投射控制服务;
    通过所述第一协议投射控制服务使用第一投射协议向所述第一投射服务传递所述第一内容,所述第一内容用于供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务与所述第一投射服务均支持所述第一投射协议。
  2. 如权利要求1所述的方法,其中,所述方法还包括:
    通过所述第一协议投射控制服务向发布所述第一投射服务的播放设备传递所述第一内容时,
    若通过所述本地播放服务获取到指示播放第二内容的第二播放指令,则通过所述本地播放服务在所述移动终端的显示界面播放所述第二内容,并通过所述第一协议投射控制服务保持针对所述第一内容的所述第一投射服务,所述第二内容与所述第一内容不同。
  3. 如权利要求1所述的方法,其中,所述方法还包括:
    通过所述第一协议投射控制服务向所述第一投射服务传递所述第一内容时,通过所述内容投射控制服务获取到将所述第一协议投射控制服务切换到后台的指令;
    通过所述第一协议投射控制服务执行切换到后台的操作,并保持针对所述第一内容的所述第一投射服务。
  4. 如权利要求1所述的方法,其中,所述通过第一协议投射控制服务、并基于第一投射协议向第一投射服务传递所述第一内容,包括:
    通过所述第一协议投射控制服务使所述第一投射服务尝试使用不同格式的所述第一内容在对应的播放设备进行播放;直至,
    使所述第一投射服务成功使用一种格式的所述第一内容在对应的播放设备进行播放。
  5. 如权利要求1所述的方法,其中,所述方法还包括:
    通过所述内容投射控制服务在所述移动终端的显示界面呈现状态控制界面,所述状态控制界面中呈现有针对所述第一内容的第一投射服务的状态;
    通过所述内容投射控制服务获取针对所述第一内容的第一投射服务的状态控制指令,并将所述状态控制指令传递至所述第一协议投射控制服务,以使所述第一协议投射控制服务调整所述第一投射服务的状态。
  6. 如权利要求1所述的方法,其中,所述方法还包括:
    通过所述内容投射控制服务在所述移动终端的显示界面呈现候选投射服务,所述候选投射服务为所述至少两个协议投射控制服务探测到的至少一个所述播放设备所发布的投射服务;
    通过所述内容投射控制服务获取到切换所述第一内容所使用的投射服务的指令,并确定所述第一内容需切换使用的第二投射服务;
    通过第二协议投射控制服务向发布所述第二投射服务的播放设备传递所述第一内容,所述第一内容用于供所述第二投射服务在对应的播放设备进行播放,其中,
    所述第二协议投射控制服务为所述至少两个协议投射控制服务中探测到所述第二投射服务的协议投射控制服务,所述第二协议投射控制服务与所述第二投射服务均支持所述第二投射协议。
  7. 如权利要求1至6任一项所述的方法,其中,所述方法还包括:
    通过所述内容投射控制服务在所述移动终端的显示界面呈现候选投射协议,所述候选投射协议为所述至少两个协议投射控制协议探测到的投射服务所支持的投射协议;
    通过所述内容投射控制协议获取到切换所述第一内容所使用的投射协议的指令,并确定所述第一内容使用的新投射协议;
    通过第三协议投射控制服务向新投射服务传递所述第一内容,使所述新投射服务基于所述第一内容在对应的播放设备进行播放,所述第三协议投射控制服务为使用所述新投射协议的协议投射控制服务。
  8. 一种移动终端,包括:
    本地播放服务单元、内容投射控制服务单元、以及第一协议投射控制服务单元和第二协议投射控制服务单元至少两个协议投射控制服务单元,其中,不同的所述协议投射控制服务单元支持的投射协议不同;
    所述内容投射控制服务单元,配置为获取第一投射指令,截获所述本地播放服务单元播放的第一内容,并将所截获的第一内容传递至所述第一协议投射控制服务单元,其中,所述第一协议投射控制服务单元为至少两个协议投射控制服务单元中探测到播放设备发布的第一投射服务的协议投射控制服务单元;
    所述第一协议投射控制服务单元、配置为基于第一投射协议向所述第一投射服务传递所述第一内容,所述第一内容用于供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务单元与所述第一投射服务均支持所述第一投射协议。
  9. 如权利要求8所述的移动终端,其中,
    所述第一协议投射控制服务单元,还配置为向发布所述第一投射服务的播放设备传递所述第一内容时,若通过所述本地播放服务单元获取到指 示播放第二内容的第二播放指令,所述第二内容与所述第一内容不同;
    所述本地播放服务单元,还配置为在所述移动终端的显示界面播放所述第二内容,并通过所述第一协议投射控制服务单元保持针对所述第一内容的所述第一投射服务。
  10. 如权利要求8所述的移动终端,其中,
    所述第一协议投射控制服务单元,还配置为向所述第一投射服务传递所述第一内容时,通过所述内容投射控制服务单元获取到将所述第一协议投射控制服务单元切换到后台的指令;
    所述第一协议投射控制服务单元,还配置为执行切换到后台的操作,并保持针对所述第一内容的所述第一投射服务。
  11. 如权利要求8所述的移动终端,其中,
    所述第一协议投射控制服务单元,还配置为使所述第一投射服务尝试使用不同格式的所述第一内容在对应的播放设备进行播放;直至,
    使所述第一投射服务成功使用一种格式的所述第一内容在对应的播放设备进行播放。
  12. 如权利要求8所述的移动终端,其中,
    所述内容投射控制服务单元,还配置为在所述移动终端的显示界面呈现状态控制界面,所述状态控制界面中呈现有针对所述第一内容的第一投射服务的状态;
    所述内容投射控制服务单元,还配置为获取针对所述第一内容的第一投射服务的状态控制指令,并将所述状态控制指令传递至所述第一协议投射控制服务单元,以使所述第一协议投射控制服务单元调整所述第一投射服务的状态。
  13. 如权利要求8所述的移动终端,其中,
    所述内容投射控制服务单元,还配置为在所述移动终端的显示界面呈 现候选投射服务,所述候选投射服务为所述至少两个协议投射控制服务单元探测到的至少一个所述播放设备发布的投射服务;
    所述内容投射控制服务单元,还配置为获取到切换所述第一内容所使用的投射服务的指令,并确定所述第一内容需要切换使用的第二投射服务;
    所述第二协议投射控制服务单元,还配置为向发布所述第二投射服务的播放设备传递所述第一内容,所述第一内容用于供所述第二投射服务在对应的播放设备进行播放,其中,
    所述第二协议投射控制服务单元,还配置为为所述至少两个协议投射控制服务单元中探测到所述第二投射服务的协议投射控制服务单元,所述第二协议投射控制服务单元与所述第二投射服务均支持所述第二投射协议。
  14. 如权利要求8至13任一项所述的移动终端,其中,
    所述内容投射控制服务单元,还配置为在所述移动终端的显示界面呈现候选投射协议,所述候选投射协议为所述至少两个协议投射控制协议探测到的投射服务所支持的投射协议;
    所述内容投射控制服务单元,还配置为获取到切换所述第一内容所使用的投射协议的指令,并确定所述第一内容使用的新投射协议;
    所述移动终端中还包括第三协议投射控制服务单元,所述第三协议投射控制服务单元为所述至少两个协议投射控制服务单元中使用新投射协议的协议投射控制服务单元,配置为向新投射服务传递所述第一内容,使所述新投射服务基于所述第一内容在对应的播放设备进行播放。
  15. 一种移动终端,所述移动终端包括:
    存储介质,配置为存储计算机可执行指令;
    处理器,配置为执行存储在所述存储介质上的计算机可执行指令,所述计算机可执行指令包括:
    运行本地播放服务、内容投射控制服务和至少两个协议投射控制服务,其中,不同的所述协议投射控制服务支持的投射协议不同;
    通过所述内容投射控制服务获取第一投射指令,截获所述本地播放服务播放的第一内容,并将所截获的第一内容传递至第一协议投射控制服务,其中,所述第一协议投射控制服务为至少两个协议投射控制服务中探测到播放设备发布的第一投射服务的协议投射控制服务;
    通过第一协议投射控制服务、并基于第一投射协议向所述第一投射服务传递所述第一内容,所述第一内容配置为供所述第一投射服务在对应的播放设备进行播放,其中,所述第一协议投射控制服务与所述第一投射服务均支持所述第一投射协议。
PCT/CN2016/081933 2015-11-05 2016-05-12 内容投射方法及移动终端 WO2017075956A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP16861229.9A EP3276973B1 (en) 2015-11-05 2016-05-12 Content projection method and mobile terminal
JP2018506475A JP6492227B2 (ja) 2015-11-05 2016-05-12 コンテンツ投影のための方法およびモバイル端末
US15/688,702 US10375438B2 (en) 2015-11-05 2017-08-28 Method for content projection and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510750032.8 2015-11-05
CN201510750032.8A CN106686446B (zh) 2015-11-05 2015-11-05 内容投射方法及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/688,702 Continuation US10375438B2 (en) 2015-11-05 2017-08-28 Method for content projection and mobile terminal

Publications (1)

Publication Number Publication Date
WO2017075956A1 true WO2017075956A1 (zh) 2017-05-11

Family

ID=58661497

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081933 WO2017075956A1 (zh) 2015-11-05 2016-05-12 内容投射方法及移动终端

Country Status (5)

Country Link
US (1) US10375438B2 (zh)
EP (1) EP3276973B1 (zh)
JP (1) JP6492227B2 (zh)
CN (1) CN106686446B (zh)
WO (1) WO2017075956A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210329309A1 (en) * 2017-09-05 2021-10-21 Sonos, Inc. Grouping in a system with multiple media playback protocols
WO2022000319A1 (zh) * 2020-06-30 2022-01-06 华为技术有限公司 一种媒体流播放方法和装置
WO2023045687A1 (zh) * 2021-09-27 2023-03-30 华为技术有限公司 投屏方法、设备及系统

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10467615B1 (en) * 2015-09-30 2019-11-05 Square, Inc. Friction-less purchasing technology
US10810569B2 (en) 2017-01-30 2020-10-20 Square, Inc. Contacts for misdirected payments and user authentication
US10810574B1 (en) 2017-06-29 2020-10-20 Square, Inc. Electronic audible payment messaging
CN107835531A (zh) * 2017-10-24 2018-03-23 青岛海尔智能技术研发有限公司 用于多媒体播放的控制方法及装置
CN109451341B (zh) * 2018-10-30 2020-09-11 北京达佳互联信息技术有限公司 视频播放方法、视频播放装置、电子设备及存储介质
CN110266437A (zh) * 2019-06-26 2019-09-20 北京奇艺世纪科技有限公司 投屏消息发送方法、投屏消息处理方法、装置及终端
CN111131898B (zh) * 2020-02-17 2021-09-21 聚好看科技股份有限公司 播放媒体资源的方法、装置、显示设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120198350A1 (en) * 2011-02-01 2012-08-02 Kao Nhiayi Smart-Remote Protocol
CN103202000A (zh) * 2010-11-19 2013-07-10 晶像股份有限公司 组合网络中电子装置的发现
CN104113607A (zh) * 2014-08-04 2014-10-22 联想(北京)有限公司 数据共享方法、电子设备以及数据共享系统
WO2014176019A1 (en) * 2013-04-23 2014-10-30 Dolby Laboratories Licensing Corporation Transmitting display management metadata over hdmi
CN104754426A (zh) * 2013-12-25 2015-07-01 华为终端有限公司 一种媒体处理方法、设备及系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3132232B2 (ja) * 1993-04-23 2001-02-05 富士ゼロックス株式会社 データリンク層形式の自動設定装置
JP2010026780A (ja) * 2008-07-18 2010-02-04 Sony Corp 情報処理装置、情報処理方法および情報処理プログラム
JP5458636B2 (ja) 2009-04-07 2014-04-02 ソニー株式会社 情報処理装置、情報処理方法、プログラム、情報提供装置、情報提供方法および情報処理システム
JP5657223B2 (ja) * 2009-08-04 2015-01-21 オリンパスイメージング株式会社 撮像装置、画像再生システム及び画像再生方法
KR20110052997A (ko) * 2009-11-13 2011-05-19 삼성전자주식회사 디스플레이 장치와 클라이언트 단말 및 이의 제어 방법
US9137281B2 (en) 2012-06-22 2015-09-15 Guest Tek Interactive Entertainment Ltd. Dynamically enabling guest device supporting network-based media sharing protocol to share media content over local area computer network of lodging establishment with subset of in-room media devices connected thereto
JP6097507B2 (ja) * 2012-09-03 2017-03-15 キヤノン株式会社 通信制御装置、及びその制御方法
JP6163011B2 (ja) * 2013-05-14 2017-07-12 株式会社アイ・オー・データ機器 アダプタ装置、ミラーリングシステム、および、ミラーリング方法
US9309485B2 (en) * 2013-06-26 2016-04-12 Ecolab USA, Inc. Use of nonionics as rheology modifiers in liquid cleaning solutions
US9948690B2 (en) * 2013-08-15 2018-04-17 Comcast Cable Communications, Llc Caching media in a media fling system
AU2015380301B2 (en) * 2015-01-28 2020-04-23 Dnx Biotech, Llc Compositions and methods of using a soluble TNF-alpha receptor modified for increased half-life
EP3342189B1 (en) * 2015-08-24 2020-10-14 PCMS Holdings, Inc. Systems and methods for enhancing augmented reality experience with dynamic output mapping

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103202000A (zh) * 2010-11-19 2013-07-10 晶像股份有限公司 组合网络中电子装置的发现
US20120198350A1 (en) * 2011-02-01 2012-08-02 Kao Nhiayi Smart-Remote Protocol
WO2014176019A1 (en) * 2013-04-23 2014-10-30 Dolby Laboratories Licensing Corporation Transmitting display management metadata over hdmi
CN104754426A (zh) * 2013-12-25 2015-07-01 华为终端有限公司 一种媒体处理方法、设备及系统
CN104113607A (zh) * 2014-08-04 2014-10-22 联想(北京)有限公司 数据共享方法、电子设备以及数据共享系统

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210329309A1 (en) * 2017-09-05 2021-10-21 Sonos, Inc. Grouping in a system with multiple media playback protocols
US11539984B2 (en) * 2017-09-05 2022-12-27 Sonos, Inc. Grouping in a system with multiple media playback protocols
US11956480B2 (en) 2017-09-05 2024-04-09 Sonos, Inc. Grouping in a system with multiple media playback protocols
WO2022000319A1 (zh) * 2020-06-30 2022-01-06 华为技术有限公司 一种媒体流播放方法和装置
US11956492B2 (en) 2020-06-30 2024-04-09 Huawei Technologies Co., Ltd. Media stream playing method and apparatus
WO2023045687A1 (zh) * 2021-09-27 2023-03-30 华为技术有限公司 投屏方法、设备及系统

Also Published As

Publication number Publication date
EP3276973A4 (en) 2018-09-19
CN106686446A (zh) 2017-05-17
US20170359618A1 (en) 2017-12-14
EP3276973B1 (en) 2021-02-17
US10375438B2 (en) 2019-08-06
JP2018527663A (ja) 2018-09-20
JP6492227B2 (ja) 2019-03-27
CN106686446B (zh) 2020-07-14
EP3276973A1 (en) 2018-01-31

Similar Documents

Publication Publication Date Title
WO2017075956A1 (zh) 内容投射方法及移动终端
US11366632B2 (en) User interface for screencast applications
US11962858B2 (en) Video playback method, video playback terminal, and non-volatile computer-readable storage medium
WO2017173793A1 (zh) 一种视频投屏方法及装置
US10419804B2 (en) Cooperative provision of personalized user functions using shared and personal devices
JP2016535351A (ja) 動画情報共有方法、装置、プログラム、及び記録媒体
WO2021143479A1 (zh) 媒体流传输方法及系统
WO2021196600A1 (zh) 智慧屏反向投屏方法、系统、装置、智慧屏和可读存储介质
US9749373B2 (en) System and method for improved content streaming
CN106303679B (zh) 媒体播放控制方法及媒体播放客户端
WO2016197863A1 (zh) 一种客户端、智能电视系统和相应的数据传输方法
WO2016150273A1 (zh) 一种视频播放方法、移动终端及系统
WO2021031739A1 (zh) 云桌面视频播放方法、服务器、终端及存储介质
KR20160087649A (ko) 사용자 단말 장치, 시스템 및 그 제어 방법
WO2018192183A1 (zh) 无线传屏中视频文件的处理方法及装置
WO2013167054A2 (zh) 一种本地通信网络业务切换方法、装置和系统
US20240089538A1 (en) Port-connected television upgrader device
US20230053256A1 (en) Methods, systems, and media for providing dynamic media sessions with audio stream expansion features
US20220030326A1 (en) Port-connected television upgrader device
TWI585592B (zh) 虛擬高清晰度視訊播放器
CN115379277B (zh) 一种基于iptv业务的vr全景视频播放方法和系统
US20130151665A1 (en) Media content flicking systems and methods
JP2021524682A (ja) メディアコンテンツを提示するための方法、システム、およびプログラム
US20210185365A1 (en) Methods, systems, and media for providing dynamic media sessions with video stream transfer features
US20170289500A1 (en) Synchronization of Media Rendering in Heterogeneous Networking Environments

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

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2016861229

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2018506475

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE