WO2017206377A1 - 同步播放节目的方法和装置 - Google Patents

同步播放节目的方法和装置 Download PDF

Info

Publication number
WO2017206377A1
WO2017206377A1 PCT/CN2016/096759 CN2016096759W WO2017206377A1 WO 2017206377 A1 WO2017206377 A1 WO 2017206377A1 CN 2016096759 W CN2016096759 W CN 2016096759W WO 2017206377 A1 WO2017206377 A1 WO 2017206377A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
playing
information
module
associated device
Prior art date
Application number
PCT/CN2016/096759
Other languages
English (en)
French (fr)
Inventor
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017206377A1 publication Critical patent/WO2017206377A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • 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
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Definitions

  • the present invention relates to the field of smart television technologies, and in particular, to a method and apparatus for synchronously playing a program.
  • the screen size of TV sets is larger, and/or many people are expected to share
  • the user may watch the video program for a period of time on a smart terminal such as a mobile phone or a PAD, and then hope to continue watching with the television.
  • the user needs to open the corresponding video playing software on the television, and then search for the video program.
  • find the video to watch drag the progress bar to the place where it was played before, the whole process requires manual operation by the user, and there are many operation steps, and there are certain requirements for the user's operation level, which is inconvenient to use.
  • the main object of the present invention is to provide a method and apparatus for synchronously playing a program, which aims to solve the problem that when a user watches a video program for a period of time on a smart terminal such as a mobile phone or a PAD, and then switches to the television to continue watching the program, it is complicated.
  • the manual operation is inconvenient to use.
  • the present invention provides a method for synchronously playing a program, comprising the following steps:
  • the program data is called to play the program, and the playing progress of the program is adjusted according to the playing progress information.
  • the step of receiving the title information and the play progress information of the program played by the device sent by the associated device comprises:
  • the splicing message sent by the second heartbeat module of the associated device is received by the first heartbeat module, where the splicing message includes an extension field of the title information and the play progress information of the associated device playing the program.
  • the method further includes:
  • the title information and the play progress information of the associated device playing program are acquired by the first heartbeat module to the second heartbeat module of the associated device every target time.
  • the method further includes:
  • the prompt information is sent.
  • the method further includes:
  • the method further includes:
  • the program with the most playback times in the associated device is selected for playback.
  • the method further includes:
  • the application software matching the name information is downloaded and installed.
  • the method further includes:
  • the present invention also provides an apparatus for synchronously playing a program, including:
  • a receiving module configured to receive header information and playback progress information of a program played by the device sent by the associated device
  • a search module configured to search, from the video cloud, program data corresponding to the title information
  • a playing module configured to invoke the program data to play the program, and adjust a play progress of the program according to the playing progress information.
  • the receiving module is further configured to receive, by using the first heartbeat module, a splicing message sent by the second heartbeat module of the associated device, where the splicing message includes an extension field of the title information and the playing progress information of the associated device playing the program.
  • the device further comprises:
  • the synchronization module is configured to acquire, by the first heartbeat module, the title information and the play progress information of the related device play program to the second heartbeat module of the associated device at a target time.
  • the device further comprises:
  • the synchronization module is further configured to send prompt information when the play progress information of the locally played program is inconsistent with the play progress information of the related device play program.
  • the playing module is further configured to: when the program played by the associated device is played locally, and the program played by the associated device is turned off, the currently playing program is continuously played locally.
  • the playing module is further configured to: when detecting that a plurality of associated devices simultaneously play a program, select a program with the most playback times in the associated device to play.
  • the device further comprises: an opening module and a mounting module;
  • the receiving module is further configured to receive, by the associated device, name information of the application software that the device plays the program;
  • the opening module is configured to directly open the application software when the application software whose name information matches is locally searched;
  • the installation module is configured to download and install an application software that matches the name information when the application software whose name information is matched is not searched locally.
  • the searching module is further configured to: when the application software whose name information is matched is not found locally, search for the program data corresponding to the title information from the locally installed application software;
  • the installation module is further configured to download and install the application software that matches the name information when the program data corresponding to the title information is not found in the application software already installed locally.
  • the invention receives the title information and the play progress information of the program played by the device sent by the associated device; searches for program data corresponding to the title information from the video cloud; calls the program data to play the program, and plays according to the program
  • the progress information adjusts the progress of the program.
  • the user can automatically search and continue to play the purpose of watching the program on the associated device without the user's manual operation, which is simple to use and convenient to operate.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for synchronously playing a program according to the present invention
  • FIG. 2 is a schematic flowchart of receiving title information and play progress information of a program played by the device sent by an associated device according to an embodiment of the present invention
  • FIG. 3 is a schematic flow chart of a second embodiment of a method for synchronously playing a program according to the present invention.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for synchronously playing a program according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for synchronously playing a program according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of an apparatus for simultaneously playing a program according to the present invention
  • FIG. 7 is a schematic diagram of functional modules of a second embodiment of an apparatus for simultaneously playing a program according to the present invention.
  • FIG. 8 is a schematic diagram of functional modules of a third embodiment of an apparatus for synchronously playing a program according to the present invention.
  • FIG. 9 is a schematic diagram of functional modules of a fourth embodiment of an apparatus for simultaneously playing a program according to the present invention.
  • the main solution of the embodiment of the present invention is: receiving title information and play progress information of a program played by the device sent by the associated device; searching for program data corresponding to the title information from the video cloud; and calling the program data to play the
  • the program adjusts the progress of the program according to the playback progress information.
  • the user can automatically search and continue to play the purpose of watching the program on the associated device without the user's manual operation, which is simple to use and convenient to operate.
  • the user Since the user currently watches the program after watching the video program for a period of time on the smart terminal such as the mobile phone or the PAD, the user needs to perform complicated manual operations, which has certain requirements on the operation level of the user, and is inconvenient to use.
  • the present invention provides a method of simultaneously playing a program.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for synchronously playing a program according to the present invention.
  • the method comprises:
  • Step S10 receiving title information and play progress information of a program played by the device sent by the associated device;
  • an associated device eg, a smart terminal such as a cell phone, PAD, laptop, etc.
  • some information related to the viewed program is recorded in the system of the associated device, such as the title of the program, the definition of the video (eg, standard definition, Information such as high-definition, etc., playing time and program playback progress, when the user watches the program for a period of time on the associated device, and wants to continue watching with the smart TV terminal, the title information and the playing progress information of the associated device playing the program are sent.
  • the smart television terminal is provided so that the smart television terminal finds the corresponding program for playing according to the title information or the like.
  • the step of receiving the title information and the play progress information of the program played by the device sent by the associated device is specifically:
  • the splicing message sent by the second heartbeat module of the associated device is received by the first heartbeat module, where the splicing message includes an extension field of the title information and the play progress information of the associated device playing the program.
  • the first heartbeat module and the second heartbeat module are modular devices with a heartbeat function, and the heartbeat function refers to a DUT (Device under Test, the device under test sends a message to the server at a specified message format (heartbeat packet) at regular intervals. After receiving the message, the server also returns the message in the specified message format to allow both parties to confirm that the other party is still online.
  • Programs with heartbeat can be compiled using languages such as assembly, C/C++, JAVA, and socekt.
  • Heartbeat packets can also be delivered through different protocols/mechanisms, such as the TCP protocol SO_KeepAlive mechanism, Socket heartbeat packet mechanism, and IM (Instant).
  • XMPP Extensible Messaging Field Protocol
  • XMPP is a protocol based on a subset of the standard universal markup language XML, it inherits the flexibility of development in the XML environment. Therefore, XMPP-based applications are extremely scalable.
  • the extended XMPP can handle the user's needs by sending extended information, as well as applications such as content distribution systems and address-based services at the top of XMPP.
  • XMPP includes a software protocol for the server side that enables it to talk to another server, making it easier for developers to build client applications or add functionality to a well-equipped system. An embodiment of the present invention is described by taking XMPP as an example.
  • the function of the heartbeat is implemented by using other programming languages and/or protocols/means. Similar to the method, those skilled in the art can simply modify and/or combine on the basis of the present invention.
  • the heartbeat function can be implemented. Specifically, the embodiment fully utilizes the feature that the XMPP can add the attached function. As shown in FIG.
  • the second XMPP heartbeat module of the associated device acquires the title information and the play progress information of the broadcast program of the device;
  • the XMPP heartbeat module adds an extension field in the spliced message of the XMPP protocol, where the extension field includes the title information and the play progress information of the broadcast program of the device;
  • the second XMPP heartbeat module of the associated device sends the spliced message by using the XMPP protocol.
  • the first XMPP heartbeat module for the first device.
  • the extension field is spliced into the splicing message by using the header information and the playing progress information of the current device to play the program in the second XMPP heartbeat module of the associated device, and then sending the splicing message to the smart TV through the XMPP protocol.
  • the first XMPP heartbeat module of the terminal is spliced into the splicing message by using the header information and the playing progress information of the current device to play the program in the second XMPP heartbeat module of the associated device, and then sending the splicing message to the smart TV through the XMPP protocol.
  • the first XMPP heartbeat module of the terminal is spliced into the splicing message by using the header information and the playing progress information of the current device to play the program in the second XMPP heartbeat module of the associated device, and then sending the splicing message to the smart TV through the XMPP protocol.
  • the first XMPP heartbeat module of the terminal is spliced into the
  • Step S20 searching for program data corresponding to the title information from the video cloud
  • the search word is determined by extracting keywords from the title information, and then the program data corresponding to the title information is searched from the video cloud through the search word; and the screen size and network status of the smart television terminal can also be The playing temperature and the like determine which video source to call; the present invention does not adopt the conventional method of transmitting the video data played on the associated device (for example, a smart terminal such as a mobile phone or a PAD) to the smart television terminal to play the same program, thereby avoiding the video.
  • the data memory is large, and the transmission to the smart TV terminal requires a large memory space and takes a long time.
  • the video data played by the smart terminal such as the mobile phone and the PAD is small in size and low in definition.
  • the viewing effect of the smart TV terminal playing may be unsatisfactory.
  • an embodiment of the present invention uses video data matching from the network to match the screen size of the smart television terminal, and the program is also more convenient to play.
  • Step S30 calling the program data to play the program, and adjusting the playing progress of the program according to the playing progress information.
  • the smart television terminal invokes the program data corresponding to the title information to play the program.
  • the progress of the program is also adjusted according to the playback progress information.
  • a prompt dialog box may also be sent to prompt the user to Play from the starting position or from the position played by the associated device to adapt to the different needs of users.
  • the smart television terminal automatically searches for program data matching the program according to the information of the program played by the associated device, and calls the program data and the play progress information to enable the smart television terminal to automatically continue playing the program played by the associated device, without requiring the user to manually By operation, the television can automatically search and continue to play the purpose of the user watching the program on the associated device, which is simple to use and convenient to operate.
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of a method for synchronously playing a program according to the present invention.
  • the first embodiment of the method for synchronously playing a program after the step S30, further includes:
  • Step S40 The first heartbeat module acquires the title information and the playing progress information of the related device playing program to the second heartbeat module of the associated device every target time.
  • the smart television terminal also acquires the title information and the play progress information of the broadcast program from the associated device every target time (for example, 1 second or 1 minute, etc.; of course, the smart television terminal continues to play.
  • the user may close the program played by the associated device, then the smart TV continues to play the program being played; when the associated device replaces the played program, the smart TV terminal can synchronously replace the played program, the user
  • the smart TV terminal can be more conveniently controlled by the associated device; and when the smart TV terminal detects that the progress of the local broadcast program is inconsistent with the progress of playing the program at the associated device, the smart television terminal can be prompted whether to adjust the play progress to make the smart TV
  • the playback progress of the terminal and the associated device is the same.
  • the title information and the play progress information of the broadcast program are continuously obtained from the associated device to ensure that the progress of the smart TV terminal and the associated device playing the program is consistent.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for synchronously playing a program according to the present invention. Based on the second embodiment of the method for synchronously playing a program, the method further includes:
  • step S50 when a plurality of associated devices are detected to simultaneously play the program, the program with the most playback times in the associated device is selected for playing.
  • a user may have multiple mobile terminals, such as mobile phones and PADs.
  • a family has multiple members, and each member basically has its own intelligent terminal. Therefore, one smart TV terminal may be associated with several associated devices at the same time.
  • the second XMPP heartbeat module of the associated device sends the title information and the playing progress information of the current device to the first XMPP heartbeat module of the smart television terminal, and the smart television terminal may receive more at the same time.
  • the associated device plays the title information and the play progress information of the program.
  • the smart TV terminal can select one of the programs that plays the most times in the associated device ( That is, the associated device that plays the same program has the most) to play.
  • the smart TV terminal when a plurality of associated devices play a program at the same time, the smart TV terminal can select a program in which the associated device plays the most times to play, and can solve the problem of network traffic occupation caused by playing the same program by multiple associated devices, and each association.
  • the device caches the problem that the program information is occupied by the memory.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for synchronously playing a program according to the present invention. Based on the third embodiment of the method for synchronously playing a program, the method further includes:
  • Step S60 Receive, by the associated device, name information of the application software that the device plays the program
  • Some programs are specifically released in some video playback apps, or the user may be a member of a video playback APP, can watch the member program in advance, or the user is accustomed to watching the program in a video playing APP, and thus, the associated device can The name information of the application software that the device plays the program is sent to the smart television terminal, so that the smart television terminal also finds and plays the program in the same video playing APP.
  • Step S70 When the application software whose name information matches is locally searched, the application software is directly opened;
  • the smart TV terminal may simultaneously install the video playing APP used by the associated device to play the program, and when searching for the application software whose name information matches, directly open the application software to play the program played by the associated device.
  • Step S80 When the application software whose name information matches is not found locally, the application software matching the name information is downloaded and installed.
  • the smart TV terminal may not have the video playing APP used to play the program by the associated device.
  • the matching video playing APP installation package is found from the cloud application store, and the matching video playing APP installation package is found. Downloading the installation package from the cloud application store and installing the video playback application.
  • the application software is opened to play the program played by the associated device; of course, the present invention can also play the program without installing the associated device locally.
  • the program data played by the associated device is searched from the locally installed video playing APP, and when the program data played by the associated device is not found in the locally installed video playing APP, the application from the cloud is further used.
  • the store downloads the installation package and installs the video playback app.
  • the smart TV terminal when the smart TV terminal does not install the video playing APP used by the associated device to play the program, the matching video playing APP is automatically found and installed, and the smart TV terminal cannot be played because the video playing APP used for playing the related device is not installed.
  • a mobile phone is associated with the smart TV at home. After watching the program for five minutes, it was found that the program was very interesting. I hope to switch to the smart TV and continue watching with the big screen, so the title information and playback progress information of the program will be played. And the name information of the video playing APP is sent to the smart TV. Since the smart TV has already installed the video playing APP, the system of the smart TV automatically opens the video when receiving the name information of the video playing APP and the title information of the playing program. Playing the APP, finding the program data corresponding to the received title information in the video playing APP and playing the program, since the A has watched for five minutes, the smart TV prompts the player to start playing from the starting position when playing the program. Still continue to play from the fifth minute position, A choose to continue playing from the fifth minute position.
  • a mobile phone is associated with B's smart TV. After watching the program for five minutes, it is interesting to find the program. I hope to share it with B, so the title information, playback progress information and name information of the video playback app will be played. Waiting for the smart TV sent to B, when receiving the name information of the video playing APP, the system of the smart TV finds that the video playing APP is not installed locally, so find and install the video playing APP from the online application store, and open The video playing APP searches for the program data corresponding to the received title information and plays the program. Since the A has watched for five minutes, the smart TV prompts whether the B starts from the starting position or the first time when the program is played. The five-minute position continues to play, and B chooses to play from the starting position. A's mobile phone detects that the smart TV of B starts playing from the starting position, prompting whether A starts playing from the starting position, and A selects from the starting position. When the playback starts, the two players simultaneously watch the program.
  • a smart TV in the home is associated with the mobile phones of five relatives. A family gathering is held once. everyone is discussing what TV programs are being watched. Each of them searches and clicks on the mobile phone and broadcasts the title information, playback progress information and video playback of the program.
  • the name information of the APP is sent to the smart TV, wherein one person's mobile phone plays the A program, one person's mobile phone plays the B program, one person's mobile phone plays the C program, and one person's mobile phone plays the D program.
  • the program, the two people's mobile phone broadcasts the E program, so the smart TV chooses to play the E program; among them, one person plays the video play APP of the E program, which is not installed in the smart TV; the other person plays the video play APP of the E program.
  • the smart TV has been installed; then the system finds and plays the E program from the already installed video playing APP, and the smart TV prompts whether to start playing from the starting position or from the position played by the mobile phone when playing the program. You choose to start the show from the starting position.
  • the execution subject may be a smart TV terminal, or may be an intelligent terminal such as a mobile phone, a PAD, or a notebook computer, and the associated device may be a smart terminal such as a mobile phone, a PAD, or a notebook computer.
  • a smart TV terminal can automatically play related programs such as mobile phones, PADs, laptops, and the like, or can be automatically played by smart terminals such as mobile phones, PADs, and notebook computers.
  • the programs broadcast by the smart TV terminal can also be programs that are automatically played by smart terminals such as mobile phones, PADs, and notebook computers, and other smart phones, such as mobile phones, PADs, and notebook computers.
  • the present invention further provides an apparatus for simultaneously playing a program.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of an apparatus for simultaneously playing a program according to the present invention.
  • the apparatus for synchronously playing a program includes: a receiving module 10, a searching module 20, and a playing module 30.
  • the receiving module 10 is configured to receive title information and play progress information of a program played by the device sent by the associated device;
  • an associated device eg, a smart terminal such as a cell phone, PAD, laptop, etc.
  • some information related to the viewed program is recorded in the system of the associated device, such as the title of the program, the definition of the video (eg, standard definition, Information such as high-definition, etc., playing time and program playback progress, when the user watches the program for a period of time on the associated device, and wants to continue watching with the smart TV terminal, the title information and the playing progress information of the associated device playing the program are sent.
  • the smart television terminal is provided so that the smart television terminal finds the corresponding program for playing according to the title information or the like.
  • the step of receiving the title information and the play progress information of the program played by the device sent by the associated device is specifically:
  • the splicing message sent by the second heartbeat module in the associated device receiving module 10 is received by the first heartbeat module in the receiving module 10, and the splicing message includes an extension field of the title information and the playing progress information of the associated device playing the program.
  • the first heartbeat module and the second heartbeat module are modular devices with a heartbeat function, and the heartbeat function refers to a DUT (Device under Test, the device under test sends a message to the server at a specified message format (heartbeat packet) at regular intervals. After receiving the message, the server also returns the message in the specified message format to allow both parties to confirm that the other party is still online.
  • Programs with heartbeat can be compiled using languages such as assembly, C/C++, JAVA, and socekt.
  • Heartbeat packets can also be delivered through different protocols/mechanisms, such as the TCP protocol SO_KeepAlive mechanism, Socket heartbeat packet mechanism, and IM (Instant).
  • XMPP Extensible Messaging Field Protocol
  • XMPP is a protocol based on a subset of the standard universal markup language XML, it inherits the flexibility of development in the XML environment. Therefore, XMPP-based applications are extremely scalable.
  • the extended XMPP can handle the user's needs by sending extended information, as well as applications such as content distribution systems and address-based services at the top of XMPP.
  • XMPP includes a software protocol for the server side that enables it to talk to another server, making it easier for developers to build client applications or add functionality to a well-equipped system. An embodiment of the present invention is described by taking XMPP as an example.
  • the function of the heartbeat is implemented by using other programming languages and/or protocols/means. Similar to the method, those skilled in the art can simply modify and/or combine on the basis of the present invention.
  • the heartbeat function can be implemented. Specifically, the embodiment fully utilizes the feature that the XMPP can add the attached function, and the second XMPP heartbeat module in the associated device receiving module 10 obtains the title information and the playing progress information of the program played by the device; the associated device receiving module 10 The second XMPP heartbeat module adds an extension field in the spliced message of the XMPP protocol, where the extension field includes title information and play progress information of the program played by the device; and the second XMPP heartbeat module in the associated device receiving module 10 passes the XMPP protocol. Sending the splicing message to the first XMPP heartbeat module in the first device receiving module 10.
  • the extension field is spliced into the splicing message by using the second XMPP heartbeat module in the associated device receiving module 10 to display the title information and the playing progress information of the current device to the splicing message, and then splicing the message through the XMPP protocol.
  • the first XMPP heartbeat module in the smart TV terminal receiving module 10 is sent.
  • the search module 20 is configured to search for program data corresponding to the title information from a video cloud
  • the search word is determined by extracting keywords from the title information, and then the program data corresponding to the title information is searched from the video cloud through the search word; and the screen size and network status of the smart television terminal can also be The playing temperature and the like determine which video source to call; the present invention does not adopt the conventional method of transmitting the video data played on the associated device (for example, a smart terminal such as a mobile phone or a PAD) to the smart television terminal to play the same program, thereby avoiding the video.
  • the data memory is large, and the transmission to the smart TV terminal requires a large memory space and takes a long time.
  • the video data played by the smart terminal such as the mobile phone and the PAD is small in size and low in definition.
  • the viewing effect of the smart TV terminal playing may be unsatisfactory.
  • an embodiment of the present invention uses video data matching from the network to match the screen size of the smart television terminal, and the program is also more convenient to play.
  • the playing module 30 is configured to invoke the program data to play the program, and adjust a play progress of the program according to the playing progress information.
  • the smart television terminal invokes the program data corresponding to the title information to play the program.
  • the progress of the program is also adjusted according to the playback progress information.
  • a prompt dialog box may also be sent to prompt the user to Play from the starting position or from the position played by the associated device to adapt to the different needs of users.
  • the smart television terminal automatically searches for program data matching the program according to the information of the program played by the associated device, and calls the program data and the play progress information to enable the smart television terminal to automatically continue playing the program played by the associated device, without requiring the user to manually By operation, the television can automatically search and continue to play the purpose of the user watching the program on the associated device, which is simple to use and convenient to operate.
  • FIG. 7 is a schematic diagram of functional modules of a second embodiment of an apparatus for simultaneously playing a program according to the present invention.
  • the apparatus for synchronously playing a program further includes a synchronization module 40.
  • the synchronization module 40 is configured to acquire, by the first heartbeat module, the title information and the play progress information of the related device play program to the second heartbeat module of the associated device at a target time.
  • the smart television terminal also acquires the title information and the play progress information of the broadcast program from the associated device every target time (for example, 1 second or 1 minute, etc.; of course, the smart television terminal continues to play.
  • the user may close the program played by the associated device, then the smart TV continues to play the program being played; when the associated device replaces the played program, the smart TV terminal can synchronously replace the played program, the user
  • the smart TV terminal can be more conveniently controlled by the associated device; and when the smart TV terminal detects that the progress of the local broadcast program is inconsistent with the progress of playing the program at the associated device, the smart television terminal can be prompted whether to adjust the play progress to make the smart TV
  • the playback progress of the terminal and the associated device is the same.
  • the title information and the play progress information of the broadcast program are continuously obtained from the associated device to ensure that the progress of the smart TV terminal and the associated device playing the program is consistent.
  • FIG. 8 is a schematic diagram of functional modules of a third embodiment of an apparatus for simultaneously playing a program according to the present invention.
  • the playing module 30 is further configured to: when detecting that a plurality of associated devices simultaneously play a program, select a program that has the most playback times in the associated device to play.
  • a user may have multiple mobile terminals, such as mobile phones and PADs.
  • a family has multiple members, and each member basically has its own intelligent terminal. Therefore, one smart TV terminal may be associated with several associated devices at the same time.
  • the second XMPP heartbeat module in the associated device receiving module 10 sends the title information and the playing progress information of the current device playing program to the first XMPP heartbeat module in the smart television terminal receiving module 10,
  • the smart television terminal may simultaneously receive title information and play progress information of a plurality of associated devices to play the program. In fact, if a plurality of members in the family view the same program on their respective smart terminals, the smart television terminal may select the associated one.
  • the program with the most playback times of the device that is, the most associated device playing the same program) plays.
  • the smart TV terminal when a plurality of associated devices play a program at the same time, the smart TV terminal can select a program in which the associated device plays the most times to play, and can solve the problem of network traffic occupation caused by playing the same program by multiple associated devices, and each association.
  • the device caches the problem that the program information is occupied by the memory.
  • FIG. 9 is a schematic diagram of functional modules of a fourth embodiment of an apparatus for simultaneously playing a program according to the present invention.
  • the apparatus for simultaneously playing a program further includes an opening module 50 and a mounting module 60.
  • the receiving module 10 is further configured to receive, by the associated device, name information of the application software that the device plays the program;
  • Some programs are specifically released in some video playback apps, or the user may be a member of a video playback APP, can watch the member program in advance, or the user is accustomed to watching the program in a video playing APP, and thus, the associated device can The name information of the application software that the device plays the program is sent to the smart television terminal, so that the smart television terminal also finds and plays the program in the same video playing APP.
  • the opening module 50 is configured to directly open the application software when the application software whose name information matches is locally searched;
  • the smart TV terminal may simultaneously install the video playing APP used by the associated device to play the program, and when searching for the application software whose name information matches, directly open the application software to play the program played by the associated device.
  • the installation module 60 is configured to download and install the application software that matches the name information when the application software whose name information is matched is not searched locally.
  • the smart TV terminal may not have the video playing APP used to play the program by the associated device.
  • the matching video playing APP installation package is found from the cloud application store, and the matching video playing APP installation package is found. Downloading the installation package from the cloud application store and installing the video playback application.
  • the application software is opened to play the program played by the associated device; of course, the present invention can also play the program without installing the associated device locally.
  • the program data played by the associated device is searched from the locally installed video playing APP, and when the program data played by the associated device is not found in the locally installed video playing APP, the application from the cloud is further used.
  • the store downloads the installation package and installs the video playback app.
  • the smart TV terminal when the smart TV terminal does not install the video playing APP used by the associated device to play the program, the matching video playing APP is automatically found and installed, and the smart TV terminal cannot be played because the video playing APP used for playing the related device is not installed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种同步播放节目的方法,包括步骤:接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;从视频云端搜索与所述标题信息对应的节目数据;调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。本发明还公开了一种同步播放节目的装置。不需要用户手动操作,即可实现视频播放设备自动搜索并继续播放用户在关联设备上观看节目的目的,使用简单、操作方便。

Description

同步播放节目的方法和装置
技术领域
本发明涉及智能电视技术领域,尤其涉及一种同步播放节目的方法和装置。
背景技术
随着信息技术的发展,越来越多的用户使用手机、PAD等智能终端观看视频节目,但是出于手机、PAD等智能终端手持不方便、电视机的屏幕尺寸更大和/或希望多人共同观看等原因,用户可能在手机、PAD等智能终端上观看一段时间的视频节目后,希望用电视机继续观看,而此时,用户需要在电视机上打开相应的视频播放软件,再搜索该视频节目,并找到观看的视频,拖动进度条到之前播放的地方,整个过程都需要用户手动操作,且操作步骤多,对用户的操作水平也有一定的要求,使用不方便。
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。
发明内容
本发明的主要目的在于提供一种同步播放节目的方法和装置,旨在解决目前用户在手机、PAD等智能终端上观看一段时间的视频节目后,改用电视机继续观看此节目时,需要复杂的手动操作,使用不方便的问题。
为实现上述目的,本发明提供的一种同步播放节目的方法,包括以下步骤:
接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;
从视频云端搜索与所述标题信息对应的节目数据;
调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。
优选地,所述接收关联设备发送的该设备所播放节目的标题信息和播放进度信息的步骤包括:
通过第一心跳模块接收关联设备的第二心跳模块发送的拼接消息,所述拼接消息中包括关联设备播放节目的标题信息和播放进度信息的扩展字段。
优选地,所述调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度的步骤之后,还包括:
通过第一心跳模块每隔目标时间向关联设备的第二心跳模块获取一次关联设备播放节目的标题信息和播放进度信息。
优选地,所述方法还包括:
当本地播放节目的播放进度信息与关联设备播放节目的播放进度信息不一致时,发送提示信息。
优选地,所述方法还包括:
当本地播放关联设备播放的节目,且关联设备播放的节目已关闭时,则本地继续播放当前播放的节目。
优选地,所述方法还包括:
当检测到多个关联设备同时播放节目时,选择关联设备中播放次数最多的节目进行播放。
优选地,所述方法还包括:
接收关联设备发送的该设备播放所述节目的应用软件的名称信息;
当在本地搜索到名称信息匹配的应用软件时,直接打开所述应用软件;
当在本地没有搜索到名称信息匹配的应用软件时,下载并安装与所述名称信息匹配的应用软件。
优选地,所述接收关联设备发送的该设备播放所述节目的应用软件的名称信息的步骤之后,还包括:
当在本地没有搜索到名称信息匹配的应用软件时,从本地已经安装的应用软件中查找与所述标题信息对应的节目数据;
当从本地已经安装的应用软件中查找不到与所述标题信息对应的节目数据时,下载并安装与所述名称信息匹配的应用软件。
此外,为实现上述目的,本发明还提供一种同步播放节目的装置,包括:
接收模块,用于接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;
搜索模块,用于从视频云端搜索与所述标题信息对应的节目数据;
播放模块,用于调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。
优选地,所述接收模块,还用于通过第一心跳模块接收关联设备的第二心跳模块发送的拼接消息,所述拼接消息中包括关联设备播放节目的标题信息和播放进度信息的扩展字段。
优选地,所述装置还包括:
同步模块,用于通过第一心跳模块每隔目标时间向关联设备的第二心跳模块获取一次关联设备播放节目的标题信息和播放进度信息。
优选地,所述装置还包括:
所述同步模块,还用于当本地播放节目的播放进度信息与关联设备播放节目的播放进度信息不一致时,发送提示信息。
优选地,所述播放模块,还用于当本地播放关联设备播放的节目,且关联设备播放的节目已关闭时,则本地继续播放当前播放的节目。
优选地,所述播放模块,还用于当检测到多个关联设备同时播放节目时,选择关联设备中播放次数最多的节目进行播放。
优选地,所述装置还包括:打开模块和安装模块;
所述接收模块,还用于接收关联设备发送的该设备播放所述节目的应用软件的名称信息;
所述打开模块,用于当在本地搜索到名称信息匹配的应用软件时,直接打开所述应用软件;
所述安装模块,用于当在本地没有搜索到名称信息匹配的应用软件时,下载并安装与所述名称信息匹配的应用软件。
优选地,所述搜索模块,还用于当在本地没有搜索到名称信息匹配的应用软件时,从本地已经安装的应用软件中查找与所述标题信息对应的节目数据;
所述安装模块,还用于当从本地已经安装的应用软件中查找不到与所述标题信息对应的节目数据时,下载并安装与所述名称信息匹配的应用软件。
本发明通过接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;从视频云端搜索与所述标题信息对应的节目数据;调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。不需要用户手动操作,即可实现电视机自动搜索并继续播放用户在关联设备上观看节目的目的,使用简单、操作方便。
附图说明
图1为本发明同步播放节目的方法的第一实施例的流程示意图;
图2为本发明一实施例接收关联设备发送的该设备所播放节目的标题信息和播放进度信息的流程示意图;
图3为本发明同步播放节目的方法的第二实施例的流程示意图;
图4为本发明同步播放节目的方法的第三实施例的流程示意图;
图5为本发明同步播放节目的方法的第四实施例的流程示意图;
图6为本发明同步播放节目的装置的第一实施例的功能模块示意图;
图7为本发明同步播放节目的装置的第二实施例的功能模块示意图;
图8为本发明同步播放节目的装置的第三实施例的功能模块示意图;
图9为本发明同步播放节目的装置的第四实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例的主要解决方案是:接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;从视频云端搜索与所述标题信息对应的节目数据;调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。不需要用户手动操作,即可实现电视机自动搜索并继续播放用户在关联设备上观看节目的目的,使用简单、操作方便。
由于目前用户在手机、PAD等智能终端上观看一段时间的视频节目后,改用电视机继续观看此节目时,需要复杂的手动操作,对用户的操作水平有一定的要求,使用不方便。
基于上述问题,本发明提供一种同步播放节目的方法。
参照图1,图1为本发明同步播放节目的方法的第一实施例的流程示意图。
在一实施例中,所述方法包括:
步骤S10,接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;
在关联设备(例如,手机、PAD、笔记本电脑等智能终端)上观看节目时,关联设备的***中会记录与所观看节目相关的一些信息,如节目的标题、视频清晰度(例如,标清、高清等)、播放时间及节目的播放进度等信息,当用户在关联设备上观看一段时间的节目后,希望用智能电视终端继续观看,则将关联设备播放节目的标题信息和播放进度信息等发送给智能电视终端,以便智能电视终端根据标题信息等查找到对应的节目进行播放。
本发明一实施例中,所述接收关联设备发送的该设备所播放节目的标题信息和播放进度信息的步骤具体为:
通过第一心跳模块接收关联设备的第二心跳模块发送的拼接消息,所述拼接消息中包括关联设备播放节目的标题信息和播放进度信息的扩展字段。
上述第一心跳模块和第二心跳模块是指具有心跳功能的模块化装置,心跳功能是指DUT(Device under test,被测器件)每隔一定时间用指定的消息格式(心跳包)向服务器发送消息,服务器收到后也用指定的消息格式返回消息,以让双方确认对方还在线的功能。使用汇编、C/C++、JAVA、socekt等语言均可编译出具有心跳功能的程序;心跳包也可以通过不同的协议/机制实现传递,如TCP协议的SO_KeepAlive机制、Socket心跳包机制、IM(Instant Messaging,即时通讯)协议、XMPP(可扩展消息处理现场协议)等,由于XMPP是一种基于标准通用标记语言的子集XML的协议,它继承了在XML环境中灵活的发展性。因此,基于XMPP的应用具有超强的可扩展性。经过扩展以后的XMPP可以通过发送扩展的信息来处理用户的需求,以及在XMPP的顶端建立如内容发布***和基于地址的服务等应用程序。而且,XMPP包含了针对服务器端的软件协议,使之能与另一个服务器端进行通话,这使得开发者更容易建立客户应用程序或给一个配好***添加功能。本发明一实施例以XMPP为例进行说明,采用其它编程语言和/或协议/机制实现心跳功能的,与本方法类似,本领域技术人员在本发明的基础上通过简单的修改和/或组合可以实现心跳功能。具体地说,本实施例充分利用了XMPP能添加附带功能的特性,如图2所示,关联设备的第二XMPP心跳模块获取本设备播放节目的标题信息和播放进度信息;关联设备的第二XMPP心跳模块在XMPP协议的拼接消息中增加扩展字段,所述扩展字段包括本设备播放节目的标题信息和播放进度信息;关联设备的第二XMPP心跳模块通过所述XMPP协议将所述拼接消息发送给第一设备的第一XMPP心跳模块。
通过在关联设备的第二XMPP心跳模块将当前设备播放节目的标题信息和播放进度信息等作为扩展字段,将该扩展字段拼接到拼接消息中,再通过XMPP协议将所述拼接消息发送给智能电视终端的第一XMPP心跳模块。
步骤S20,从视频云端搜索与所述标题信息对应的节目数据;
在智能电视终端中,通过从标题信息中提取关键词等方式确定搜索词,再通过搜索词从视频云端搜索与标题信息对应的节目数据;同时还可以根据智能电视终端的屏幕尺寸、网络状况、播放热度等确定调用哪一个视频源;本发明没有采用目前常规的将关联设备(例如,手机、PAD等智能终端)上播放的视频数据发送到智能电视终端以播放同一节目的方式,避免了视频数据内存大,发送到智能电视终端需占用较大的内存空间,且耗时长的问题,另外,适应手机、PAD等智能终端播放的视频数据,其画面尺寸较小、清晰度较低,直接在智能电视终端播放的观看效果会不理想,为了保证用户的观看清晰度等效果,本发明一实施例采用从网络获取与智能电视终端的屏幕尺寸匹配的视频数据播放,播放节目也更便捷。
步骤S30,调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。
智能电视终端调用与标题信息对应的节目数据播放所述节目,为了实现在智能电视终端继续观看的目的,还要根据播放进度信息调整节目的播放进度,当然,也可以发送提示对话框提示用户是从起始位置开始播放还是从关联设备播放的位置继续播放,以适应用户的不同需求。
本实施例通过智能电视终端根据关联设备播放节目的信息自动搜索与所述节目匹配的节目数据,并调用节目数据及播放进度信息使智能电视终端自动继续播放关联设备播放的节目,不需要用户手动操作,即可实现电视机自动搜索并继续播放用户在关联设备上观看节目的目的,使用简单、操作方便。
参照图3,图3为本发明同步播放节目的方法的第二实施例的流程示意图。基于上述同步播放节目的方法的第一实施例,所述步骤S30之后,还包括:
步骤S40,通过第一心跳模块每隔目标时间向关联设备的第二心跳模块获取一次关联设备播放节目的标题信息和播放进度信息。
智能电视终端在播放节目的过程中,还会每隔目标时间(例如,1秒钟或者1分钟等)从关联设备处获取播放节目的标题信息和播放进度信息;当然,在智能电视终端继续播放关联设备播放过的节目后,用户可能关闭了关联设备播放的节目,则智能电视继续播放正在播放的节目;当关联设备更换了播放的节目时,智能电视终端可以同步的更换播放的节目,用户可以通过关联设备更加方便的控制智能电视终端;而在智能电视终端检测到本端播放节目的进度与关联设备处播放该节目的进度不一致时,可提示智能电视终端是否调整播放进度,使智能电视终端与关联设备的播放进度一致。
本实施例通过持续的从关联设备处获取播放节目的标题信息和播放进度信息,以保证智能电视终端与关联设备播放节目的进度一致。
参照图4,图4为本发明同步播放节目的方法的第三实施例的流程示意图。基于上述同步播放节目的方法的第二实施例,所述方法还包括:
步骤S50,当检测到多个关联设备同时播放节目时,选择关联设备中播放次数最多的节目进行播放。
一个用户可能有多个手机、PAD等智能终端,一个家庭有多个成员,各成员基本也有自己使用的智能终端,因而,一台智能电视终端可能同时与几个关联设备相关联,当多个关联设备同时在播放节目时,关联设备的第二XMPP心跳模块将当前设备播放节目的标题信息和播放进度信息等发送给智能电视终端的第一XMPP心跳模块,则智能电视终端可能同时收到多个关联设备播放节目的标题信息和播放进度信息等,实际上,家庭中可能多个成员在各自的智能终端上观看同一节目,则智能电视终端可以选择其中在关联设备播放次数最多的一个节目(即播放同一节目的关联设备最多)进行播放。
本实施例在多个关联设备同时播放节目时,智能电视终端可以选择其中在关联设备播放次数最多的一个节目进行播放,可以解决多个关联设备播放同一节目带来的网络流量占用问题、各关联设备均缓存一次节目信息占内存的问题。
参照图5,图5为本发明同步播放节目的方法的第四实施例的流程示意图。基于上述同步播放节目的方法的第三实施例,所述方法还包括:
步骤S60,接收关联设备发送的该设备播放所述节目的应用软件的名称信息;
有些节目特定在某些视频播放APP发布,也可能用户是某个视频播放APP的会员,可以提前观看会员节目,或者用户习惯在某个视频播放APP中观看节目等,因而,关联设备可以将该设备播放所述节目的应用软件的名称信息发送给智能电视终端,以便智能电视终端也在同一视频播放APP中查找并播放该节目。
步骤S70,当在本地搜索到名称信息匹配的应用软件时,直接打开所述应用软件;
智能电视终端可能同时安装有关联设备播放节目所用的视频播放APP,则在搜索到名称信息匹配的应用软件时,直接打开所述应用软件以便播放关联设备播放的节目。
步骤S80,当在本地没有搜索到名称信息匹配的应用软件时,下载并安装与所述名称信息匹配的应用软件。
智能电视终端可能没有安装关联设备播放节目所用的视频播放APP,此时,根据视频播放APP的名称信息从云端的应用商店查找匹配的视频播放APP安装包,在查找到匹配的视频播放APP安装包时,从云端的应用商店下载该安装包并安装该视频播放APP,在安装成功后,打开所述应用软件以便播放关联设备播放的节目;当然,本发明还可以在本地没有安装关联设备播放节目所用的视频播放APP时,从本地已经安装的视频播放APP中查找关联设备播放的节目数据,当在本地已经安装的视频播放APP中查找不到关联设备播放的节目数据时,再从云端的应用商店下载安装包并安装该视频播放APP。
本实施例在智能电视终端没有安装关联设备播放节目所用的视频播放APP时,自动查找并安装匹配的视频播放APP,避免了智能电视终端因没有安装关联设备播放节目所用的视频播放APP而无法播放节目的问题,且省去了用户手动查找并安装视频播放APP的麻烦。
为了更好地说明上述同步播放节目的方案,以下将通过3个实例进行具体解释。
实例一:
甲的手机与家里的智能电视是相关联的,甲观看某节目五分钟后,发现该节目很有趣,希望换到智能电视上用大屏继续观看,于是将播放节目的标题信息、播放进度信息及视频播放APP的名称信息等发送给智能电视,由于智能电视已经安装了该视频播放APP,因此在收到视频播放APP的名称信息及播放节目的标题信息时,智能电视的***自动打开该视频播放APP,在该视频播放APP中查找到与接收到的标题信息对应的节目数据并播放该节目,由于甲已经观看了五分钟,智能电视在播放该节目时提示甲是从起始位置开始播放还是从第五分钟的位置继续播放,甲选择从第五分钟的位置继续播放。
实例二:
甲的手机与乙的智能电视是相关联的,甲观看某节目五分钟后,发现该节目很有趣,希望与乙分享,于是将播放节目的标题信息、播放进度信息及视频播放APP的名称信息等发送给乙的智能电视,在收到视频播放APP的名称信息时,智能电视的***查找后发现本地没有安装该视频播放APP,于是从网上的应用商店查找并安装该视频播放APP,并打开该视频播放APP,从中查找到与接收到的标题信息对应的节目数据并播放该节目,由于甲已经观看了五分钟,智能电视在播放该节目时提示乙是从起始位置开始播放还是从第五分钟的位置继续播放,乙选择从起始位置开始播放,甲的手机检测到乙的智能电视是从起始位置开始播放的,提示甲是否从起始位置开始播放,甲选择从起始位置开始播放,则甲乙两人同步观看该节目。
实例三:
甲家里的智能电视与五个亲戚的手机均相关联,一次举行家庭聚会,大家商量看什么电视节目,各自都在手机中查找、点击播放并将播放节目的标题信息、播放进度信息及视频播放APP的名称信息等发送给智能电视,其中,一个人的手机播放的是A节目,一个人的手机播放的是B节目,一个人的手机播放的是C节目,一个人的手机播放的是D节目,两个人的手机播放的是E节目,于是,智能电视选择播放E节目;其中,一个人播放E节目的视频播放APP,智能电视中还没有安装;另一个人播放E节目的视频播放APP,智能电视中已经安装了;于是***从已经安装的视频播放APP中查找并播放E节目,同时智能电视在播放该节目时提示是从起始位置开始播放还是从手机端播放的位置继续播放,大家选择从起始位置开始播放该节目。
上述第一至第四实施例的同步播放节目的方法,执行主体可以为智能电视终端,也可以为手机、PAD、笔记本电脑等智能终端,而关联设备可以为手机、PAD、笔记本电脑等智能终端,也可以为智能电视终端,即,可以是智能电视终端自动播放相关联的手机、PAD、笔记本电脑等智能终端播放的节目,也可以是手机、PAD、笔记本电脑等智能终端自动播放相关联的智能电视终端播放的节目,还可以是手机、PAD、笔记本电脑等智能终端自动播放相关联的其它手机、PAD、笔记本电脑等智能终端播放的节目。
本发明进一步提供一种同步播放节目的装置。
参照图6,图6为本发明同步播放节目的装置的第一实施例的功能模块示意图。
在一实施例中,所述同步播放节目的装置包括:接收模块10、搜索模块20及播放模块30。
所述接收模块10,用于接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;
在关联设备(例如,手机、PAD、笔记本电脑等智能终端)上观看节目时,关联设备的***中会记录与所观看节目相关的一些信息,如节目的标题、视频清晰度(例如,标清、高清等)、播放时间及节目的播放进度等信息,当用户在关联设备上观看一段时间的节目后,希望用智能电视终端继续观看,则将关联设备播放节目的标题信息和播放进度信息等发送给智能电视终端,以便智能电视终端根据标题信息等查找到对应的节目进行播放。
本发明一实施例中,所述接收关联设备发送的该设备所播放节目的标题信息和播放进度信息的步骤具体为:
通过接收模块10中的第一心跳模块接收关联设备接收模块10中的第二心跳模块发送的拼接消息,所述拼接消息中包括关联设备播放节目的标题信息和播放进度信息的扩展字段。
上述第一心跳模块和第二心跳模块是指具有心跳功能的模块化装置,心跳功能是指DUT(Device under test,被测器件)每隔一定时间用指定的消息格式(心跳包)向服务器发送消息,服务器收到后也用指定的消息格式返回消息,以让双方确认对方还在线的功能。使用汇编、C/C++、JAVA、socekt等语言均可编译出具有心跳功能的程序;心跳包也可以通过不同的协议/机制实现传递,如TCP协议的SO_KeepAlive机制、Socket心跳包机制、IM(Instant Messaging,即时通讯)协议、XMPP(可扩展消息处理现场协议)等,由于XMPP是一种基于标准通用标记语言的子集XML的协议,它继承了在XML环境中灵活的发展性。因此,基于XMPP的应用具有超强的可扩展性。经过扩展以后的XMPP可以通过发送扩展的信息来处理用户的需求,以及在XMPP的顶端建立如内容发布***和基于地址的服务等应用程序。而且,XMPP包含了针对服务器端的软件协议,使之能与另一个服务器端进行通话,这使得开发者更容易建立客户应用程序或给一个配好***添加功能。本发明一实施例以XMPP为例进行说明,采用其它编程语言和/或协议/机制实现心跳功能的,与本方法类似,本领域技术人员在本发明的基础上通过简单的修改和/或组合可以实现心跳功能。具体地说,本实施例充分利用了XMPP能添加附带功能的特性,关联设备接收模块10中的第二XMPP心跳模块获取本设备播放节目的标题信息和播放进度信息;关联设备接收模块10中的第二XMPP心跳模块在XMPP协议的拼接消息中增加扩展字段,所述扩展字段包括本设备播放节目的标题信息和播放进度信息;关联设备接收模块10中的第二XMPP心跳模块通过所述XMPP协议将所述拼接消息发送给第一设备接收模块10中的第一XMPP心跳模块。
通过在关联设备接收模块10中的第二XMPP心跳模块将当前设备播放节目的标题信息和播放进度信息等作为扩展字段,将该扩展字段拼接到拼接消息中,再通过XMPP协议将所述拼接消息发送给智能电视终端接收模块10中的第一XMPP心跳模块。
所述搜索模块20,用于从视频云端搜索与所述标题信息对应的节目数据;
在智能电视终端中,通过从标题信息中提取关键词等方式确定搜索词,再通过搜索词从视频云端搜索与标题信息对应的节目数据;同时还可以根据智能电视终端的屏幕尺寸、网络状况、播放热度等确定调用哪一个视频源;本发明没有采用目前常规的将关联设备(例如,手机、PAD等智能终端)上播放的视频数据发送到智能电视终端以播放同一节目的方式,避免了视频数据内存大,发送到智能电视终端需占用较大的内存空间,且耗时长的问题,另外,适应手机、PAD等智能终端播放的视频数据,其画面尺寸较小、清晰度较低,直接在智能电视终端播放的观看效果会不理想,为了保证用户的观看清晰度等效果,本发明一实施例采用从网络获取与智能电视终端的屏幕尺寸匹配的视频数据播放,播放节目也更便捷。
所述播放模块30,用于调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。
智能电视终端调用与标题信息对应的节目数据播放所述节目,为了实现在智能电视终端继续观看的目的,还要根据播放进度信息调整节目的播放进度,当然,也可以发送提示对话框提示用户是从起始位置开始播放还是从关联设备播放的位置继续播放,以适应用户的不同需求。
本实施例通过智能电视终端根据关联设备播放节目的信息自动搜索与所述节目匹配的节目数据,并调用节目数据及播放进度信息使智能电视终端自动继续播放关联设备播放的节目,不需要用户手动操作,即可实现电视机自动搜索并继续播放用户在关联设备上观看节目的目的,使用简单、操作方便。
参照图7,图7为本发明同步播放节目的装置的第二实施例的功能模块示意图。所述同步播放节目的装置还包括同步模块40。
所述同步模块40,用于通过第一心跳模块每隔目标时间向关联设备的第二心跳模块获取一次关联设备播放节目的标题信息和播放进度信息。
智能电视终端在播放节目的过程中,还会每隔目标时间(例如,1秒钟或者1分钟等)从关联设备处获取播放节目的标题信息和播放进度信息;当然,在智能电视终端继续播放关联设备播放过的节目后,用户可能关闭了关联设备播放的节目,则智能电视继续播放正在播放的节目;当关联设备更换了播放的节目时,智能电视终端可以同步的更换播放的节目,用户可以通过关联设备更加方便的控制智能电视终端;而在智能电视终端检测到本端播放节目的进度与关联设备处播放该节目的进度不一致时,可提示智能电视终端是否调整播放进度,使智能电视终端与关联设备的播放进度一致。
本实施例通过持续的从关联设备处获取播放节目的标题信息和播放进度信息,以保证智能电视终端与关联设备播放节目的进度一致。
参照图8,图8为本发明同步播放节目的装置的第三实施例的功能模块示意图。所述播放模块30,还用于当检测到多个关联设备同时播放节目时,选择关联设备中播放次数最多的节目进行播放。
一个用户可能有多个手机、PAD等智能终端,一个家庭有多个成员,各成员基本也有自己使用的智能终端,因而,一台智能电视终端可能同时与几个关联设备相关联,当多个关联设备同时在播放节目时,关联设备接收模块10中的第二XMPP心跳模块将当前设备播放节目的标题信息和播放进度信息等发送给智能电视终端接收模块10中的第一XMPP心跳模块,则智能电视终端可能同时收到多个关联设备播放节目的标题信息和播放进度信息等,实际上,家庭中可能多个成员在各自的智能终端上观看同一节目,则智能电视终端可以选择其中在关联设备播放次数最多的一个节目(即播放同一节目的关联设备最多)进行播放。
本实施例在多个关联设备同时播放节目时,智能电视终端可以选择其中在关联设备播放次数最多的一个节目进行播放,可以解决多个关联设备播放同一节目带来的网络流量占用问题、各关联设备均缓存一次节目信息占内存的问题。
参照图9,图9为本发明同步播放节目的装置的第四实施例的功能模块示意图。所述同步播放节目的装置还包括打开模块50和安装模块60。
所述接收模块10,还用于接收关联设备发送的该设备播放所述节目的应用软件的名称信息;
有些节目特定在某些视频播放APP发布,也可能用户是某个视频播放APP的会员,可以提前观看会员节目,或者用户习惯在某个视频播放APP中观看节目等,因而,关联设备可以将该设备播放所述节目的应用软件的名称信息发送给智能电视终端,以便智能电视终端也在同一视频播放APP中查找并播放该节目。
所述打开模块50,用于当在本地搜索到名称信息匹配的应用软件时,直接打开所述应用软件;
智能电视终端可能同时安装有关联设备播放节目所用的视频播放APP,则在搜索到名称信息匹配的应用软件时,直接打开所述应用软件以便播放关联设备播放的节目。
所述安装模块60,用于当在本地没有搜索到名称信息匹配的应用软件时,下载并安装与所述名称信息匹配的应用软件。
智能电视终端可能没有安装关联设备播放节目所用的视频播放APP,此时,根据视频播放APP的名称信息从云端的应用商店查找匹配的视频播放APP安装包,在查找到匹配的视频播放APP安装包时,从云端的应用商店下载该安装包并安装该视频播放APP,在安装成功后,打开所述应用软件以便播放关联设备播放的节目;当然,本发明还可以在本地没有安装关联设备播放节目所用的视频播放APP时,从本地已经安装的视频播放APP中查找关联设备播放的节目数据,当在本地已经安装的视频播放APP中查找不到关联设备播放的节目数据时,再从云端的应用商店下载安装包并安装该视频播放APP。
本实施例在智能电视终端没有安装关联设备播放节目所用的视频播放APP时,自动查找并安装匹配的视频播放APP,避免了智能电视终端因没有安装关联设备播放节目所用的视频播放APP而无法播放节目的问题,且省去了用户手动查找并安装视频播放APP的麻烦。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (16)

  1. 一种同步播放节目的方法,其特征在于,包括以下步骤:
    接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;
    从视频云端搜索与所述标题信息对应的节目数据;
    调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。
  2. 如权利要求1所述的同步播放节目的方法,其特征在于,所述接收关联设备发送的该设备所播放节目的标题信息和播放进度信息的步骤包括:
    通过第一心跳模块接收关联设备的第二心跳模块发送的拼接消息,所述拼接消息中包括关联设备播放节目的标题信息和播放进度信息的扩展字段。
  3. 如权利要求2所述的同步播放节目的方法,其特征在于,所述调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度的步骤之后,还包括:
    通过第一心跳模块每隔目标时间向关联设备的第二心跳模块获取一次关联设备播放节目的标题信息和播放进度信息。
  4. 如权利要求3所述的同步播放节目的方法,其特征在于,所述方法还包括:
    当本地播放节目的播放进度信息与关联设备播放节目的播放进度信息不一致时,发送提示信息。
  5. 如权利要求3所述的同步播放节目的方法,其特征在于,所述方法还包括:
    当本地播放关联设备播放的节目,且关联设备播放的节目已关闭时,则本地继续播放当前播放的节目。
  6. 如权利要求3所述的同步播放节目的方法,其特征在于,所述方法还包括:
    当检测到多个关联设备同时播放节目时,选择关联设备中播放次数最多的节目进行播放。
  7. 如权利要求1所述的同步播放节目的方法,其特征在于,所述方法还包括:
    接收关联设备发送的该设备播放所述节目的应用软件的名称信息;
    当在本地搜索到名称信息匹配的应用软件时,直接打开所述应用软件;
    当在本地没有搜索到名称信息匹配的应用软件时,下载并安装与所述名称信息匹配的应用软件。
  8. 如权利要求7所述的同步播放节目的方法,其特征在于,所述接收关联设备发送的该设备播放所述节目的应用软件的名称信息的步骤之后,还包括:
    当在本地没有搜索到名称信息匹配的应用软件时,从本地已经安装的应用软件中查找与所述标题信息对应的节目数据;
    当从本地已经安装的应用软件中查找不到与所述标题信息对应的节目数据时,下载并安装与所述名称信息匹配的应用软件。
  9. 一种同步播放节目的装置,其特征在于,包括:
    接收模块,用于接收关联设备发送的该设备所播放节目的标题信息和播放进度信息;
    搜索模块,用于从视频云端搜索与所述标题信息对应的节目数据;
    播放模块,用于调用所述节目数据播放所述节目,并根据所述播放进度信息调整节目的播放进度。
  10. 如权利要求9所述的同步播放节目的装置,其特征在于,所述接收模块,还用于通过第一心跳模块接收关联设备的第二心跳模块发送的拼接消息,所述拼接消息中包括关联设备播放节目的标题信息和播放进度信息的扩展字段。
  11. 如权利要求10所述的同步播放节目的装置,其特征在于,所述装置还包括:
    同步模块,用于通过第一心跳模块每隔目标时间向关联设备的第二心跳模块获取一次关联设备播放节目的标题信息和播放进度信息。
  12. 如权利要求11所述的同步播放节目的装置,其特征在于,所述同步模块,还用于当本地播放节目的播放进度信息与关联设备播放节目的播放进度信息不一致时,发送提示信息。
  13. 如权利要求11所述的同步播放节目的装置,其特征在于,所述播放模块,还用于当本地播放关联设备播放的节目,且关联设备播放的节目已关闭时,则本地继续播放当前播放的节目。
  14. 如权利要求11所述的同步播放节目的装置,其特征在于,所述播放模块,还用于当检测到多个关联设备同时播放节目时,选择关联设备中播放次数最多的节目进行播放。
  15. 如权利要求9所述的同步播放节目的装置,其特征在于,所述装置还包括:打开模块和安装模块;
    所述接收模块,还用于接收关联设备发送的该设备播放所述节目的应用软件的名称信息;
    所述打开模块,用于当在本地搜索到名称信息匹配的应用软件时,直接打开所述应用软件;
    所述安装模块,用于当在本地没有搜索到名称信息匹配的应用软件时,下载并安装与所述名称信息匹配的应用软件。
  16. 如权利要求15所述的同步播放节目的装置,其特征在于,所述搜索模块,还用于当在本地没有搜索到名称信息匹配的应用软件时,从本地已经安装的应用软件中查找与所述标题信息对应的节目数据;
    所述安装模块,还用于当从本地已经安装的应用软件中查找不到与所述标题信息对应的节目数据时,下载并安装与所述名称信息匹配的应用软件。
PCT/CN2016/096759 2016-05-30 2016-08-25 同步播放节目的方法和装置 WO2017206377A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610370059.9A CN106060608A (zh) 2016-05-30 2016-05-30 同步播放节目的方法和装置
CN201610370059.9 2016-05-30

Publications (1)

Publication Number Publication Date
WO2017206377A1 true WO2017206377A1 (zh) 2017-12-07

Family

ID=57172862

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096759 WO2017206377A1 (zh) 2016-05-30 2016-08-25 同步播放节目的方法和装置

Country Status (2)

Country Link
CN (1) CN106060608A (zh)
WO (1) WO2017206377A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348263A (zh) * 2018-10-29 2019-02-15 深圳康佳电子科技有限公司 智能电视视频追剧处理方法、***及存储介质
CN109379617A (zh) * 2018-09-18 2019-02-22 平安科技(深圳)有限公司 基于数据处理的多媒体文件同步播放方法、终端和介质
CN113141525A (zh) * 2021-03-16 2021-07-20 福建星网智慧科技有限公司 一种在线视频断流续播方法及***

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122430B (zh) * 2017-04-14 2020-09-04 阿里巴巴(中国)有限公司 搜索结果显示方法及装置
CN107205166B (zh) * 2017-05-05 2019-08-30 中广热点云科技有限公司 一种基于云服务器的终端设备交互方法及***
CN112351305B (zh) * 2020-10-15 2024-04-30 深圳Tcl新技术有限公司 显示网络内容的方法、显示设备及计算机可读存储介质
CN112911401A (zh) * 2021-01-19 2021-06-04 维沃移动通信有限公司 视频播放方法及装置
CN112887802A (zh) * 2021-01-27 2021-06-01 维沃移动通信有限公司 视频访问方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079102A (zh) * 2013-01-05 2013-05-01 深圳市爱渡飞科技有限公司 一种跨屏播放的方法、设备及***
CN104301768A (zh) * 2014-11-12 2015-01-21 沈阳美行科技有限公司 一种跨平台多终端多应用音视频播放进度同步的方法
CN105227987A (zh) * 2015-09-25 2016-01-06 广州视源电子科技股份有限公司 同步播放方法和***
CN105430485A (zh) * 2015-11-25 2016-03-23 合一网络技术(北京)有限公司 一种跨屏续播的方法及***
CN105554162A (zh) * 2016-01-29 2016-05-04 四川长虹电器股份有限公司 将移动端视频/数据远程同步到智能电视主场景的方法
CN105577758A (zh) * 2015-12-15 2016-05-11 金蝶软件(中国)有限公司 一种页面心跳信息处理方法及客户端
WO2016070373A1 (zh) * 2014-11-06 2016-05-12 北京安奇智联科技有限公司 用于在移动设备和web终端之间进行同步预览显示的方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447715B (zh) * 2010-10-08 2016-05-18 腾讯科技(深圳)有限公司 即时通信中分享视频方法、即时通信客户端
CN103037265A (zh) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 第一终端控制第二终端的方法、***及智能终端
CN104185039B (zh) * 2013-05-27 2019-07-02 腾讯科技(深圳)有限公司 音视频同步播放的方法和装置
CN103533388A (zh) * 2013-10-25 2014-01-22 潘伟洲 一种同步播放多媒体文件的方法及***
CN103647991A (zh) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 智能电视中的视频分享方法及***

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079102A (zh) * 2013-01-05 2013-05-01 深圳市爱渡飞科技有限公司 一种跨屏播放的方法、设备及***
WO2016070373A1 (zh) * 2014-11-06 2016-05-12 北京安奇智联科技有限公司 用于在移动设备和web终端之间进行同步预览显示的方法
CN104301768A (zh) * 2014-11-12 2015-01-21 沈阳美行科技有限公司 一种跨平台多终端多应用音视频播放进度同步的方法
CN105227987A (zh) * 2015-09-25 2016-01-06 广州视源电子科技股份有限公司 同步播放方法和***
CN105430485A (zh) * 2015-11-25 2016-03-23 合一网络技术(北京)有限公司 一种跨屏续播的方法及***
CN105577758A (zh) * 2015-12-15 2016-05-11 金蝶软件(中国)有限公司 一种页面心跳信息处理方法及客户端
CN105554162A (zh) * 2016-01-29 2016-05-04 四川长虹电器股份有限公司 将移动端视频/数据远程同步到智能电视主场景的方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379617A (zh) * 2018-09-18 2019-02-22 平安科技(深圳)有限公司 基于数据处理的多媒体文件同步播放方法、终端和介质
CN109348263A (zh) * 2018-10-29 2019-02-15 深圳康佳电子科技有限公司 智能电视视频追剧处理方法、***及存储介质
CN113141525A (zh) * 2021-03-16 2021-07-20 福建星网智慧科技有限公司 一种在线视频断流续播方法及***
CN113141525B (zh) * 2021-03-16 2022-05-17 福建星网智慧科技有限公司 一种在线视频断流续播方法及***

Also Published As

Publication number Publication date
CN106060608A (zh) 2016-10-26

Similar Documents

Publication Publication Date Title
WO2017206377A1 (zh) 同步播放节目的方法和装置
WO2019128174A1 (zh) 音频播放方法、智能电视及计算机可读存储介质
WO2016165556A1 (zh) 一种视频流的数据处理方法、装置和***
WO2018161604A1 (zh) 移动终端的播放控制方法、装置、存储介质及电子设备
WO2016101698A1 (zh) 基于dlna技术实现屏幕推送的方法及***
WO2015043120A1 (zh) 云文件分享方法及***
WO2018036057A1 (zh) 软件后台自适应升级方法及装置
WO2016029594A1 (zh) 终端连接显示设备的方法及***
WO2014187158A1 (zh) 终端数据云分享的控制方法、服务器及终端
WO2018023926A1 (zh) 电视与移动终端的互动方法及***
WO2018028124A1 (zh) 电视机及其信号源的切换方法
WO2019051902A1 (zh) 终端控制方法、空调器及计算机可读存储介质
WO2017088427A1 (zh) 音频输出控制方法及装置
WO2018233221A1 (zh) 多窗口声音输出方法、电视机以及计算机可读存储介质
WO2017121066A1 (zh) 应用程序显示方法和***
WO2017020649A1 (zh) 音视频播放控制方法及装置
WO2018006581A1 (zh) 智能电视的播放方法及装置
WO2021118130A1 (en) Electronic apparatus and method of controlling the same
WO2021040369A1 (en) Electronic apparatus, display apparatus and method of controlling the same
WO2019085543A1 (zh) 电视机***及电视机控制方法
WO2019210574A1 (zh) 消息处理方法、装置、设备及可读存储介质
WO2019091128A1 (zh) 新接入信源的信号预览方法及电视机
WO2017190451A1 (zh) 图片推送方法和装置
WO2017084297A1 (zh) 多媒体文件的播放方法及***
WO2017024876A1 (zh) 电视节目播放方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16903759

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12/04/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16903759

Country of ref document: EP

Kind code of ref document: A1