WO2017161697A1 - 多终端节目同步预览方法和装置 - Google Patents
多终端节目同步预览方法和装置 Download PDFInfo
- Publication number
- WO2017161697A1 WO2017161697A1 PCT/CN2016/084874 CN2016084874W WO2017161697A1 WO 2017161697 A1 WO2017161697 A1 WO 2017161697A1 CN 2016084874 W CN2016084874 W CN 2016084874W WO 2017161697 A1 WO2017161697 A1 WO 2017161697A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- current frame
- frame picture
- preview
- terminal
- size
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011897 real-time detection Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
- H04N21/4316—Generation 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 for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4621—Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
Definitions
- the present invention relates to the field of display terminal technologies, and in particular, to a multi-terminal program synchronization preview method and apparatus.
- the main object of the present invention is to provide a multi-terminal program synchronization preview method and device, which aims to solve the technical problem that a user cannot know the progress of playing all terminal programs in time when watching a video program is played by using multiple terminals.
- the present invention provides a multi-terminal program synchronization preview method, the method comprising:
- the working mode of each slave terminal connected to the master terminal is detected in real time, wherein the player working mode of each slave terminal connected to the master terminal can be set in the memory of the master terminal. a flag bit;
- the step of synchronously displaying the first current frame picture in the display area of the main terminal and simultaneously displaying the second current frame picture in the second preview size comprises:
- the first preview size is equal to a second preview size, and determining a first preview size and a location of the first current frame picture according to the number of the current frame picture and the main terminal screen resolution.
- the step of describing the second preview size of the second current frame picture includes:
- the first preview size is equal to a second preview size, and determining a first preview size and a location of the first current frame picture according to the number of the current frame picture and the main terminal screen resolution.
- the step of describing the second preview size of the second current frame picture includes:
- the present invention also provides a multi-terminal program synchronization preview method, and the multi-terminal program preview synchronization method includes:
- the first current frame picture and the second current frame picture are synchronously displayed in a display area of the master terminal.
- the step of synchronously displaying the first current frame picture and the second current frame picture in a display area of the main terminal includes:
- the first current frame picture is synchronously displayed in the display area of the main terminal in the first preview size
- the second current frame picture is synchronously displayed in the second preview size.
- the step of synchronously displaying the first current frame picture in the display area of the main terminal and simultaneously displaying the second current frame picture in the second preview size comprises:
- the first preview size is equal to a second preview size, and determining a first preview size and a location of the first current frame picture according to the number of the current frame picture and the main terminal screen resolution.
- the step of describing the second preview size of the second current frame picture includes:
- the method further includes:
- the present invention further provides a multi-terminal program synchronization preview apparatus, the apparatus comprising:
- a detecting module configured to detect, in real time, a working mode of each slave terminal connected to the master terminal when the master terminal receives the multi-end program preview instruction
- An acquiring module configured to acquire, in a real-time or interval preset duration, a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a working mode of a video playing mode;
- a display module configured to synchronously display the first current frame picture and the second current frame picture in a display area of the main terminal.
- the display module comprises:
- a size determining unit configured to determine, according to the number of the current frame picture and the screen resolution of the main terminal, a first preview size of the first current frame picture and a second preview size of the second current frame picture ;
- a display unit configured to synchronously display the first current frame picture in the first preview size and the second current frame picture in the second preview size in the display area of the main terminal.
- the display unit is further configured to:
- the first preview size is equal to the second preview size
- the size determining unit is further configured to:
- the device further comprises:
- an identifier adding module configured to add a preset master identifier on the second current frame screen and/or add a preset slave identifier on the first current frame screen.
- the invention detects the working mode of each slave terminal connected to the master terminal in real time when receiving the multi-end program preview instruction in the main terminal; and then acquires the slave terminal of the working mode as the video playing mode in real time or at intervals of preset duration a first current frame picture and a second current frame picture of the main terminal; finally displaying the first current frame picture and the second current frame picture in synchronization in a display area of the main terminal, so that the main terminal can simultaneously display programs of all terminals
- the frame picture is played, so that the user can preview the progress of playing all the terminal programs on the main terminal, and the user does not need to pick up and play multiple terminal devices to confirm the progress of the program playing, thereby improving the user experience.
- FIG. 1 is a schematic flow chart of a first embodiment of a multi-terminal program synchronization preview method according to the present invention
- FIG. 2 is a schematic flowchart of the steps of synchronously displaying the first current frame picture and the second current frame picture in the display area of the main terminal in the second embodiment of the multi-terminal program synchronization preview method according to the present invention
- FIG. 3 is a schematic flowchart of a third embodiment of a multi-terminal program synchronization preview method according to the present invention.
- FIG. 4 is a schematic diagram of functional modules of a first embodiment of a multi-terminal program synchronization preview apparatus according to the present invention.
- FIG. 5 is a schematic diagram of a display module refinement function module in a second embodiment of a multi-terminal program synchronization preview apparatus according to the present invention.
- FIG. 6 is a schematic diagram of functional modules of a third embodiment of a multi-terminal program synchronization preview apparatus according to the present invention.
- FIG. 7 is a schematic diagram of a scenario involved in a multi-terminal program synchronization preview method and apparatus according to the present invention.
- the present invention provides a multi-terminal program synchronization preview method.
- the multi-terminal program preview synchronization method includes:
- Step S10 when the main terminal receives the multi-end program preview instruction, detecting an operation mode of each slave terminal connected to the master terminal in real time;
- the network connection method mentioned here is wired connection (such as network cable connection, etc.) and wireless connection method (such as WiFi (Wireless). Fidelity, wireless LAN, Bluetooth, etc.)
- wired connection such as network cable connection, etc.
- wireless connection method such as WiFi (Wireless).
- WiFi Wireless
- intelligent display terminals on the market generally have network connection functions such as WiFi access and Bluetooth transmission.
- the master terminal After the main terminal establishes a network connection with other slave terminals, when the user needs to preview the progress of the video program playing of all the slave terminals connected to the master terminal on the master terminal, the user issues a multi-end program preview instruction to the master terminal.
- the master terminal After receiving the multi-end program preview command sent by the user, the master terminal detects the working mode of the player of each slave terminal connected to the master terminal in real time, and determines that the player of each slave terminal connected to the master terminal is in the normal playing state. , pause playback or off state.
- the real-time detection of the primary terminal mentioned herein may be that the primary terminal detects once every interval of a short period of time. For example, the master terminal detects the operation mode of the player of each slave terminal connected to the master terminal every 10 ms.
- a flag bit can be set for each player operating state of the slave terminal connected to the master terminal, so that the processor of the master terminal can know the working state of the player of each slave terminal connected to the master terminal in time. For example, when one of the slave terminal players connected to the master terminal is in a normal play state, the corresponding flag bit in the main terminal memory may be set to 1; when the slave terminal player is in the pause play state or the closed state, Set the corresponding flag bit in the main terminal memory to 0.
- a flag indicating the working state of the main terminal player is set with reference to the above method, that is, when the main terminal player is in the normal playing state, the flag bit is set to 1, when the main terminal player is paused. This flag is set to 0 during playback.
- the master terminal also needs to count the number of all terminals in the video program playing state, that is, the master terminal and the player working state flag bits of the slave terminal connected thereto are summed and stored in the memory of the master terminal.
- step S20 the first current frame picture of the slave terminal and the second current frame picture of the master terminal whose working mode is the video play mode are acquired in real time or at intervals.
- the master terminal When the master terminal detects that the slave terminals connected to the master terminal have the slave terminals in the normal video play mode, the master terminal sequentially sends the current time to the slave terminal in the working mode of the video play mode according to the real-time or interval preset duration of the network connection.
- the instruction of the video frame picture, and the collected video frame picture is transmitted back to the main terminal and stored in the main terminal memory, that is, the first current frame picture acquired by the main terminal.
- the main terminal collects and acquires the video frame picture of the current time in real time or at an interval preset time, and saves it in the main terminal memory, that is, the second current frame acquired by the main terminal. Picture.
- the slave terminal includes a smart phone and a tablet computer, and has established a network connection through WiFi.
- the user is playing a video program through the smart TV 1.
- the player is playing through the smart phone.
- the video program 2 is playing a video program 3 through the tablet computer; when the smart TV receives the multi-end program preview command sent by the user through the remote controller, the smart TV will acquire the smart phone video program 2 and the tablet computer program 3 at intervals of 1 s.
- the frame picture currently played at the moment will also acquire the frame picture played by the current time of the smart TV video program 1 at intervals of 1 s, and save the acquired frame picture in the memory of the smart TV.
- the master terminal If the master terminal detects that the slave terminals connected to the master terminal are not in the normal video play mode, the master terminal does not perform subsequent operations at this time, but returns to continue to detect the playback of each slave terminal connected to the master terminal. Working mode.
- Step S30 synchronously displaying the first current frame picture and the second current frame picture in a display area of the main terminal.
- the master terminal After acquiring the frame picture of the current time from the slave terminal and the master terminal, the master terminal performs image processing on the acquired frame picture, and synchronously displays the processed frame picture in the display area of the master terminal in a preset order or position. As shown in FIG. 7, in the display area of the smart TV of the main terminal, the 1st frame of the video program played by the main terminal smart TV is displayed in the middle position, the 2nd frame of the video program played by the terminal smart phone and the video program played by the tablet computer. The 3 frames are displayed on both sides.
- the working mode of each slave terminal connected to the main terminal is detected in real time; and then the working mode is obtained as the video playing mode in real time or at intervals. a first current frame picture of the slave terminal and a second current frame picture of the master terminal; and finally displaying the first current frame picture and the second current frame picture in synchronization with the display area of the master terminal, so that the master terminal can simultaneously display all
- the program of the slave terminal connected to it plays the frame picture, so that the user can preview the progress of the broadcast of all the terminal programs on the main terminal, and the user does not need to pick up and play multiple terminal devices to confirm the progress of the program playing, thereby improving the user experience.
- step S30 includes:
- Step S31 determining, according to the number of the current frame picture and the screen resolution of the main terminal, a first preview size of the first current frame picture and a second preview size of the second current frame picture;
- the screen resolution of the main terminal is generally fixed, and the main terminal first obtains the number of horizontal pixel points and the number of vertical pixel points of the main terminal screen according to the screen resolution of the main terminal. Then, the number of current frame pictures acquired by the main terminal at the current time is counted, that is, the sum of the number of the master terminal and the slave terminal in the current video program mode. Finally, the display size of the terminal frame picture at the current time is determined by analysis and calculation, that is, the first preview size of the first current frame picture, and the display size of the main terminal frame picture at the current time, that is, the second preview of the second current frame picture. size.
- determining, according to the horizontal pixel number, the number of vertical pixel points, and the number of the current frame picture, a first preview size of the first current frame picture and a second preview of the second current frame picture The size, for example, if the first preview size is equal to the second preview size, the number of horizontal pixel points and/or vertical pixel points obtained is divided by the number of current frame pictures acquired by the current time of the main terminal, and the a first preview size of the first current frame picture and a second preview size of the second current frame picture.
- the number of pixels in the horizontal direction of the screen of the main terminal smart TV is divided by 3, and the number of pixels in the vertical direction is unchanged, and the video program of the video program played by the terminal smart phone and the video program played by the tablet computer can be obtained.
- step S32 the first current frame picture is synchronously displayed in the first preview size in the display area of the main terminal, and the second current frame picture is synchronously displayed in the second preview size.
- the master terminal After acquiring the first current frame picture of the slave terminal, the master terminal performs image size adjustment processing on the first current frame picture of the terminal, and adjusts the first current frame picture from the terminal to the first preview size to obtain the adjusted first a current frame picture; after acquiring the second current frame picture of the main terminal, the main terminal performs image size adjustment processing on the second current frame picture of the main terminal, and adjusts the second current frame picture of the main terminal to the second preview size , the adjusted second current frame picture is obtained.
- the first preview size and the second preview size here may or may not be equal, and may be set according to actual needs.
- the main terminal creates a corresponding preview floating window according to the adjusted first current frame picture and the second current frame picture, and the preview floating window displays the adjusted first current frame picture and the second current frame picture.
- the preview floating window has the characteristics of dynamic change and fast real-time response, so that the current frame picture can be updated in real time.
- a preview suspension window of the adjusted first current frame picture and the second current frame picture is displayed in the display area of the main terminal.
- the primary terminal determines, according to the number of the current frame picture and the screen resolution of the primary terminal, a first preview size of the first current frame picture and a second of the second current frame picture. Previewing the size; finally, by displaying the preview floating window, the first current frame picture is synchronously displayed in the first preview size in the display area of the main terminal, and the second current frame picture is synchronously displayed in the second preview size, so that the user can
- the size screen allows real-time viewing of the program playback progress of all video playback terminals connected to the terminal, thereby improving the viewing effect of the user while ensuring that the video program of the main terminal is not suspended.
- the present invention provides a third embodiment of the multi-terminal program preview synchronization method.
- the method includes:
- Step S40 Add a preset primary end identifier on the second current frame picture and/or add a preset secondary end identifier on the first current frame picture.
- an identifier may be added to the previewed video program screen to distinguish the video program.
- Screen terminal source For example, the video program frame picture from the terminal may be distinguished by adding a “local” identifier to the video program frame screen of the main terminal or highlighting the video program frame of the main terminal in the display area of the main terminal.
- other video program frame pictures can be distinguished from the video program frame picture of the terminal by adding or identifying from the terminal type icon in the display area of the main terminal and displaying the entire video program frame picture of the terminal.
- a preset master identifier is added to the current frame screen of the main terminal, and/or a preset slave end is added to the current frame screen of the terminal.
- the identification enables the user to clearly recognize the terminal source of the previewed video program screen to more clearly see the progress of the video program playback of each terminal.
- the present invention also provides a multi-terminal program synchronization preview apparatus.
- the apparatus includes:
- the detecting module 10 is configured to detect, in real time, a working mode of each slave terminal connected to the master terminal when the master terminal receives the multi-end program preview instruction;
- the multi-end program synchronization preview device of the present invention is preferably disposed in the main terminal.
- the main terminal When the user simultaneously views different video programs using a plurality of display terminals, if it is desired to preview all video program playback progress on the main terminal, the main terminal must first be secured.
- data information such as commands and pictures can be transmitted between the master terminal and other slave terminals.
- network connection methods mentioned here include wired connection methods (such as network cable connection, etc.) and wireless connection methods (such as WiFi (Wireless). Fidelity, wireless LAN, Bluetooth, etc.)
- wired connection methods such as network cable connection, etc.
- wireless connection methods such as WiFi (Wireless).
- WiFi Wireless
- intelligent display terminals on the market generally have network connection functions such as WiFi access and Bluetooth transmission.
- the main terminal After the main terminal establishes a network connection with other slave terminals, when the user needs to preview the progress of the video program playing of all the slave terminals connected to the master terminal on the master terminal, the user issues a multi-end program preview instruction to the master terminal.
- the detecting module 10 After receiving the multi-end program preview command sent by the user, the detecting module 10 detects the working mode of the player of each slave terminal connected to the master terminal in real time, and determines that the player of each slave terminal connected to the master terminal is playing normally. Status, paused playback, or closed.
- the real-time detection of the primary terminal mentioned herein may be that the primary terminal detects once every interval of a short period of time. For example, the master terminal detects the operation mode of the player of each slave terminal connected to the master terminal every 10 ms.
- a flag bit can be set for each player operating state of the slave terminal connected to the master terminal, so that the processor of the master terminal can know the working state of the player of each slave terminal connected to the master terminal in time. For example, when one of the slave terminal players connected to the master terminal is in a normal play state, the corresponding flag bit in the main terminal memory may be set to 1; when the slave terminal player is in the pause play state or the closed state, Set the corresponding flag bit in the main terminal memory to 0.
- a flag indicating the working state of the main terminal player is set with reference to the above method, that is, when the main terminal player is in the normal playing state, the flag bit is set to 1, when the main terminal player is paused. This flag is set to 0 during playback.
- the master terminal also needs to count the number of all terminals in the video program playing state, that is, the master terminal and the player working status flag of the slave terminal connected thereto are summed, and stored in the memory of the master terminal, and detected. Module 10 can retrieve data from the memory of the host terminal.
- the obtaining module 20 is configured to obtain, in real time or interval preset duration, a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a working mode of the video playing mode;
- the acquiring module 20 sequentially sends the real-time or interval preset duration to the slave terminal in the working mode to the video playing mode.
- the instruction of the video frame picture of the current time is collected, and the collected video frame picture is transmitted back to the main terminal and stored in the main terminal memory, that is, the first current frame picture acquired by the acquiring module 20.
- the acquiring module 20 acquires the video frame of the current time in real time or at an interval of preset time, and saves it in the main terminal memory, that is, the second acquired by the acquiring module 20. Current frame picture.
- the slave terminal includes a smart phone and a tablet computer, and has established a network connection through WiFi.
- the user is playing a video program through the smart TV 1.
- the player is playing through the smart phone.
- the video program 2 is playing a video program 3 through the tablet computer; when the smart TV receives the multi-end program preview command sent by the user through the remote controller, the smart TV will acquire the smart phone video program 2 and the tablet computer program 3 at intervals of 1 s.
- the frame picture currently played at the moment will also acquire the frame picture played by the current time of the smart TV video program 1 at intervals of 1 s, and save the acquired frame picture in the memory of the smart TV.
- the master terminal If the detecting module 10 detects that the slave terminals that are not connected to the master video terminal are in the normal video play mode, the master terminal does not perform subsequent operations at this time, but returns to continue to detect the slave terminals connected to the master terminal. Player working mode.
- the display module 30 is configured to synchronously display the first current frame picture and the second current frame picture in a display area of the master terminal.
- the display module 30 After the obtaining module 20 obtains the frame picture of the current time from the terminal and the master terminal, the display module 30 performs image processing on the acquired frame picture, and displays the processed frame picture in the preset order or position in the main terminal. In the display area. As shown in FIG. 7, in the display area of the smart TV of the main terminal, the 1st frame of the video program played by the main terminal smart TV is displayed in the middle position, the 2nd frame of the video program played by the terminal smart phone and the video program played by the tablet computer. The 3 frames are displayed on both sides.
- the working mode of each slave terminal connected to the master terminal is detected in real time; and then the obtaining module 20 obtains the work in real time or at an interval preset duration.
- the mode is a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a video play mode; finally, the first current frame picture and the first page are synchronously displayed in a display area of the master terminal by the display module 30.
- the current frame picture enables the main terminal to simultaneously display all the program play frame pictures of the slave terminal connected thereto, so that the user can preview the progress of all the terminal program play on the main terminal, and does not require the user to pick up and drop multiple terminals.
- the device confirms the progress of the program playback and improves the user experience.
- the display module 30 includes :
- a size determining unit 31 configured to determine, according to the number of the current frame picture and the screen resolution of the main terminal, a first preview size of the first current frame picture and a second preview of the second current frame picture size;
- the screen resolution of the main terminal is generally fixed, and the size determining unit 31 first acquires the number of horizontal pixel points and the number of vertical pixel points of the main terminal screen according to the screen resolution of the main terminal. Then, the number of current frame pictures acquired by the main terminal at the current time is counted, that is, the sum of the number of the master terminal and the slave terminal in the current video program mode. Finally, the display size of the terminal frame picture at the current time is determined by analysis and calculation, that is, the first preview size of the first current frame picture, and the display size of the main terminal frame picture at the current time, that is, the second preview of the second current frame picture. size.
- determining, according to the horizontal pixel number, the number of vertical pixel points, and the number of the current frame picture, a first preview size of the first current frame picture and a second preview of the second current frame picture The size, for example, if the first preview size is equal to the second preview size, the size determining unit 31 divides the acquired horizontal pixel points and/or vertical pixel points by the number of current frame pictures acquired by the current terminal at the current time, that is, A first preview size of the first current frame picture and a second preview size of the second current frame picture may be determined. Referring to FIG.
- the number of pixels in the horizontal direction of the screen of the main terminal smart TV is divided by 3, and the number of pixels in the vertical direction is unchanged, and the video program of the video program played by the terminal smart phone and the video program played by the tablet computer can be obtained.
- the display unit 32 is configured to synchronously display the first current frame picture in the first preview size and the second current frame picture in the second preview size in the display area of the main terminal.
- the display unit 32 After the main terminal acquires the first current frame picture of the slave terminal, the display unit 32 performs image size adjustment processing on the first current frame picture of the terminal, and adjusts the first current frame picture from the terminal to the first preview size to obtain an adjustment.
- the first current frame picture after the main terminal obtains the second current frame picture of the main terminal the display unit 32 performs image size adjustment processing on the second current frame picture of the main terminal, and displays the second current frame picture of the main terminal. Adjust to the second preview size to get the adjusted second current frame picture.
- the first preview size and the second preview size here may or may not be equal, and may be set according to actual needs.
- the display unit 32 creates a corresponding preview floating window according to the adjusted first current frame picture and the second current frame picture, where the adjusted first current frame picture and the second current frame are displayed in the preview floating window.
- the preview floating window has the characteristics of dynamic change and fast real-time response, so that the current frame picture can be updated in real time.
- a preview suspension window of the adjusted first current frame picture and the second current frame picture is displayed in the display area of the main terminal.
- the primary terminal determines, by the size determining unit 31, the first preview size and the second current current of the first current frame picture according to the number of the current frame picture and the screen resolution of the primary terminal. a second preview size of the frame picture; finally, the preview floating window is created by the display unit 32.
- the first current frame picture is synchronously displayed in the first preview size in the display area of the main terminal, and the second current is synchronously displayed in the second preview size.
- the frame picture enables the user to view the progress of the program playback of all the video playing terminals connected to the terminal in real time in a suitable size picture, thereby improving the viewing effect of the user and ensuring that the video program of the main terminal is not suspended.
- the present invention proposes a third embodiment of the multi-terminal program synchronization preview apparatus.
- the apparatus includes:
- the identifier adding module 40 is configured to add a preset master identifier on the second current frame screen and/or add a preset slave identifier on the first current frame screen.
- an identifier may be added to the previewed video program screen to distinguish the video program.
- Screen terminal source For example, the video program frame picture from the terminal may be distinguished by adding a “local” identifier to the video program frame screen of the main terminal or highlighting the video program frame of the main terminal in the display area of the main terminal.
- other video program frame pictures can be distinguished from the video program frame picture of the terminal by adding or identifying from the terminal type icon in the display area of the main terminal and displaying the entire video program frame picture of the terminal.
- the identifier adding module 40 adds a preset identifier to the preview video program screen displayed on the main terminal, and adds a preset master identifier to the current frame screen of the main terminal and/or adds the current frame image from the terminal.
- the preset slave end identification enables the user to clearly recognize the terminal source of the previewed video program screen, so as to more clearly and clearly watch the video program playing progress of each terminal.
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
- Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
本发明公开了一种多终端节目同步预览方法,该方法包括:当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;然后实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;最后在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。本发明还公开了一种多终端节目同步预览装置。本发明使用户能在主终端上预览所有终端节目播放的进度,不需要用户往返拿起多个终端设备确认节目播放的进度,改善了用户使用体验。
Description
技术领域
本发明涉及显示终端技术领域,尤其涉及一种多终端节目同步预览方法和装置。
背景技术
随着各种显示终端的不断发展和无线网络技术的不断进步,使用户越来越***板电脑上观看不同的视频节目,当智能手机或平板电脑的视频节目进入广告时,用户可以观看智能电视的视频节目,但不能及时了解智能手机或平板电脑的广告是否播放完毕,需要往返拿起智能手机或平板电脑确认广告是否播放完毕。
发明内容
本发明的主要目的在于提供一种多终端节目同步预览方法和装置,旨在解决用户使用多个终端观看视频节目播放时,不能及时了解所有终端节目播放进度的技术问题。
为实现上述目的,本发明提供的一种多终端节目同步预览方法,该方法包括:
当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式,其中在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作模式设置一个标志位;
实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;
根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;
在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面;
在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
优选地,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:
将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;
根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。
优选地,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
优选地,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
本发明还提供一种多终端节目同步预览方法,所述多终端节目预览同步方法包括:
当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;
实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;
在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。
优选地,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤包括:
根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;
在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。
优选地,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:
将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;
根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。
优选地,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
优选地,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤之后还包括:
在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
为实现上述目的,本发明还提供一种多终端节目同步预览装置,该装置包括:
检测模块,用于当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;
获取模块,用于实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;
显示模块,用于在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。
优选地,所述显示模块包括:
尺寸确定单元,用于根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;
显示单元,用于在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。
优选地,所述显示单元还用于:
将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;
根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。
优选地,所述第一预览尺寸等于第二预览尺寸,所述尺寸确定单元还用于:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
优选地,该装置还包括:
标识添加模块,用于在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
本发明通过在主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;然后实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;最后在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面,使主终端可以同时显示所有终端的节目播放帧画面,从而使用户能在主终端上预览所有终端节目播放的进度,不需要用户往返拿起多个终端设备确认节目播放的进度,改善了用户使用体验。
附图说明
图1为本发明多终端节目同步预览方法第一实施例的流程示意图;
图2为本发明多终端节目同步预览方法第二实施例中在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤的细化流程示意图;
图3为本发明多终端节目同步预览方法第三实施例的流程示意图;
图4为本发明多终端节目同步预览装置第一实施例的功能模块示意图;
图5为本发明多终端节目同步预览装置第二实施例中显示模块细化功能模块示意图;
图6为本发明多终端节目同步预览装置第三实施例的功能模块示意图;
图7为本发明多终端节目同步预览方法和装置涉及的场景示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供了一种多终端节目同步预览方法,在本发明多终端节目同步预览方法的第一实施例中,参照图1和图7,该多终端节目预览同步方法包括:
步骤S10,当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;
当用户在使用多个显示终端同时观看不同视频节目时,如果想要在主终端上预览所有的视频节目播放进度,首先必须确保主终端与其他从终端已通过网络连接方式建立通畅的网络连接,可以在主终端与其他从终端之间传输指令、图片等数据信息。
需要特别指出的是,这里所说的网络连接方式有线连接方式(例如网线连接等)和无线连接方式(例如WiFi(Wireless
Fidelity,无线局域网)、蓝牙等),目前市面上的智能显示终端一般都具有WiFi接入、蓝牙传输等网络连接功能。
在主终端与其他从终端建立网络连接后,当用户需要在主终端上预览所有与主终端连接的从终端的视频节目播放进度时,用户向主终端发出多端节目预览指令。主终端接收到用户发出的多端节目预览指令后,主终端会实时检测与主终端连接的各个从终端的播放器的工作模式,确定与主终端连接的各个从终端的播放器是在正常播放状态、暂停播放状态还是关闭状态。需要特别指出的是,为了节省网络资源、提高网络传输效率,这里所说的主终端实时检测可以是主终端每间隔一小段时长检测一次。例如,主终端每间隔10ms检测一次与主终端连接的各个从终端的播放器的工作模式。
在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作状态设置一个标志位,以便主终端的处理器可以及时获知与主终端连接的各个从终端的播放器工作状态。例如,当其中一个与主终端连接的从终端播放器处于正常播放状态时,可将主终端存储器中对应的标志位设置为1;当这个从终端播放器处于暂停播放状态或关闭状态时,可将主终端存储器中对应的标志位设置为0。同时,在主终端的存储器中还参照上述方法设置了一个表示主终端播放器工作状态的标志位,即当主终端播放器处于正常播放状态时,这个标志位设置为1,当主终端播放器处于暂停播放状态时,这个标志位设置为0。另外,主终端还需要统计的处于视频节目播放状态所有终端的个数,即将上述主终端及与之连接的从终端的播放器工作状态标志位求和,并保存在主终端的存储器中。
步骤S20,实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;
当主终端检测到与主终端连接的各个从终端中有处于正常视频播放模式的从终端时,主终端通过网络连接实时或间隔预设时长依次向工作模式为视频播放模式的从终端发送采集当前时刻的视频帧画面的指令,并将采集到的视频帧画面传送回主终端保存在主终端存储器中,即主终端获取的第一当前帧画面。同时,若主终端的播放器也处于正常视频播放模式,主终端会实时或间隔预设时长采集获取当前时刻的视频帧画面,并保存在主终端存储器中,即主终端获取的第二当前帧画面。例如,假设这里的主终端是一款智能电视,从终端包括一款智能手机和一款平板电脑,并已通过WiFi建立了网络连接,用户通过智能电视正在播放视频节目1、通过智能手机正在播放视频节目2、通过平板电脑正在播放视频节目3;当智能电视接收到用户通过遥控器等方式发出的多端节目预览指令时,智能电视会依次间隔1s获取智能手机视频节目2和平板电脑视频节目3当前时刻播放的帧画面,同时也会间隔1s获取智能电视视频节目1当前时刻播放的帧画面,并将获取的帧画面保存在智能电视的存储器中。
若主终端检测到与主终端连接的各个从终端中没有处于正常视频播放模式的从终端时,主终端此时不再执行后续操作,而是返回继续检测与主终端连接的各个从终端的播放器工作模式。
步骤S30,在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。
主终端从从终端和主终端获取到当前时刻的帧画面后,将获取的帧画面进行图像处理,并将处理后的帧画面按预设的顺序或位置同步显示在主终端的显示区域中。如图7所示,在主终端智能电视的显示区域中,主终端智能电视播放的视频节目1帧画面显示在中间位置,从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面显示在两侧。
在本实施例中,在主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;然后实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;最后在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面,使主终端可以同时显示所有与之连接的从终端的节目播放帧画面,从而使用户能在主终端上预览到所有终端节目播放的进度,不需要用户往返拿起多个终端设备确认节目播放的进度,改善了用户使用体验。
进一步地,本发明在多终端节目同步预览方法的第一实施例中,提出多终端节目预览同步方法第二实施例,参照图2和图7,在第二实施例中,步骤S30包括:
步骤S31,根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;
主终端的屏幕分辨率一般都是固定的,主终端首先根据主终端屏幕分辨率,获取主终端屏幕的水平像素点个数和竖直像素点个数。然后统计主终端当前时刻获取到的当前帧画面的个数,即当前时刻处于播放视频节目模式的主终端和从终端个数总和。最后通过分析计算确定当前时刻从终端帧画面的显示尺寸大小,即第一当前帧画面的第一预览尺寸,和当前时刻主终端帧画面的显示尺寸大小,即第二当前帧画面的第二预览尺寸。
可选地,根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸,例如,若第一预览尺寸等于第二预览尺寸,则将获取的水平像素点数和/或竖直像素点数除以主终端当前时刻获取到的当前帧画面的个数,即可确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。参考图7所示,将主终端智能电视的屏幕水平方向像素点数除以3,竖直方向像素点数不变,即可得到从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面的第一预览尺寸,和主终端智能电视播放的视频节目1帧画面的第二预览尺寸。
步骤S32,在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。
主终端在获取到从终端的第一当前帧画面后,将从终端的第一当前帧画面进行图像尺寸调整处理,将从终端第一当前帧画面调整至第一预览尺寸,得到调整后的第一当前帧画面;主终端在获取到主终端的第二当前帧画面后,将主终端的第二当前帧画面进行图像尺寸调整处理,将主终端的第二当前帧画面调整至第二预览尺寸,得到调整后的第二当前帧画面。此处的第一预览尺寸和第二预览尺寸可以相等,也可以不相等,可以根据实际需求进行设置。
可选地,主终端根据调整后的第一当前帧画面和第二当前帧画面,创建对应的预览悬浮窗口,预览悬浮窗口中显示的是调整后的第一当前帧画面和第二当前帧画面。预览悬浮窗口具有可以动态变化、实时响应快的特点,以便当前帧画面可以实时更新。最后在主终端的显示区域中显示调整后的第一当前帧画面和第二当前帧画面的预览悬浮窗口。
在本实施例中,主终端根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;最后通过创建预览悬浮窗口在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面,使用户可以以合适的尺寸画面,实时观看到与终端连接的所有视频播放终端的节目播放进度,从而提高了用户的观影效果,同时保证主终端的视频节目也不会被暂停。
进一步地,本发明在多终端节目同步预览方法的第一实施例中,提出多终端节目预览同步方法第三实施例,参照图3,在第三实施例中,该方法包括:
步骤S40,在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
在主终端的显示区域中显示从终端和主终端的预览视频节目画面时,为了使用户能清楚地辨识预览的视频节目画面属于哪个终端,可以在预览的视频节目画面中添加标识以区分视频节目画面终端来源。例如可以在主终端的显示区域中将主终端的视频节目帧画面添加“本地”标识或/并将主终端的视频节目帧画面整体高亮显示等方式来区别从终端来源的视频节目帧画面;同时可以在主终端的显示区域中将从终端的视频节目帧画面添加从终端类型图标标识或/并将从终端的视频节目帧画面整体低亮显示等方式来区别其他视频节目帧画面。
在本实施例中,通过在主终端显示的预览视频节目画面中添加预设标识,为主终端当前帧画面上添加预设主端标识和/或为从终端当前帧画面上添加预设从端标识,使用户能清楚地辨识预览的视频节目画面地终端来源,以更清楚明白地观看到各个终端的视频节目播放进度。
本发明还提供了一种多终端节目同步预览装置,在本发明多终端节目预览同步装置的第一实施例中,参照图4和图7,该装置包括:
检测模块10,用于当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;
本发明的多端节目同步预览装置优选设置于主终端内,当用户在使用多个显示终端同时观看不同视频节目时,如果想要在主终端上预览所有的视频节目播放进度,首先必须确保主终端与其他从终端已通过网络连接方式建立通畅的网络连接,可以在主终端与其他从终端之间传输指令、图片等数据信息。
需要特别指出的是,这里所说的网络连接方式包括有线连接方式(例如网线连接等)和无线连接方式(例如WiFi(Wireless
Fidelity,无线局域网)、蓝牙等),目前市面上的智能显示终端一般都具有WiFi接入、蓝牙传输等网络连接功能。
在主终端与其他从终端建立网络连接后,当用户需要在主终端上预览所有与主终端连接的从终端的视频节目播放进度时,用户向主终端发出多端节目预览指令。主终端接收到用户发出的多端节目预览指令后,检测模块10会实时检测与主终端连接的各个从终端的播放器的工作模式,确定与主终端连接的各个从终端的播放器是在正常播放状态、暂停播放状态还是关闭状态。需要特别指出的是,为了节省网络资源、提高网络传输效率,这里所说的主终端实时检测可以是主终端每间隔一小段时长检测一次。例如,主终端每间隔10ms检测一次与主终端连接的各个从终端的播放器的工作模式。
在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作状态设置一个标志位,以便主终端的处理器可以及时获知与主终端连接的各个从终端的播放器工作状态。例如,当其中一个与主终端连接的从终端播放器处于正常播放状态时,可将主终端存储器中对应的标志位设置为1;当这个从终端播放器处于暂停播放状态或关闭状态时,可将主终端存储器中对应的标志位设置为0。同时,在主终端的存储器中还参照上述方法设置了一个表示主终端播放器工作状态的标志位,即当主终端播放器处于正常播放状态时,这个标志位设置为1,当主终端播放器处于暂停播放状态时,这个标志位设置为0。另外,主终端还需要统计的处于视频节目播放状态所有终端的个数,即将上述主终端及与之连接的从终端的播放器工作状态标志位求和,并保存在主终端的存储器中,检测模块10可从主终端的存储器中调取数据。
获取模块20,用于实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;
当检测模块10检测到与主终端连接的各个从终端中有处于正常视频播放模式的从终端时,获取模块20通过网络连接实时或间隔预设时长依次向工作模式为视频播放模式的从终端发送采集当前时刻的视频帧画面的指令,并将采集到的视频帧画面传送回主终端保存在主终端存储器中,即获取模块20获取的第一当前帧画面。同时,若主终端的播放器也处于正常视频播放模式,获取模块20会实时或间隔预设时长采集获取当前时刻的视频帧画面,并保存在主终端存储器中,即获取模块20获取的第二当前帧画面。例如,假设这里的主终端是一款智能电视,从终端包括一款智能手机和一款平板电脑,并已通过WiFi建立了网络连接,用户通过智能电视正在播放视频节目1、通过智能手机正在播放视频节目2、通过平板电脑正在播放视频节目3;当智能电视接收到用户通过遥控器等方式发出的多端节目预览指令时,智能电视会依次间隔1s获取智能手机视频节目2和平板电脑视频节目3当前时刻播放的帧画面,同时也会间隔1s获取智能电视视频节目1当前时刻播放的帧画面,并将获取的帧画面保存在智能电视的存储器中。
若检测模块10检测到与主终端连接的各个从终端中没有处于正常视频播放模式的从终端时,主终端此时不再执行后续操作,而是返回继续检测与主终端连接的各个从终端的播放器工作模式。
显示模块30,用于在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面
获取模块20从从终端和主终端获取到当前时刻的帧画面后,显示模块30将获取的帧画面进行图像处理,并将处理后的帧画面按预设的顺序或位置同步显示在主终端的显示区域中。如图7所示,在主终端智能电视的显示区域中,主终端智能电视播放的视频节目1帧画面显示在中间位置,从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面显示在两侧。
在本实施例中,通过检测模块10在主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;然后通过获取模块20实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;最后通过显示模块30在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面,使主终端可以同时显示所有与之连接的从终端的节目播放帧画面,从而使用户能在主终端上预览到所有终端节目播放的进度,不需要用户往返拿起多个终端设备确认节目播放的进度,改善了用户使用体验。
进一步地,本发明在多终端节目同步预览装置的第一实施例中,提出了多终端节目预览同步装置第二实施例,参照图5和图7,在第二实施例中,显示模块30包括:
尺寸确定单元31,用于根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;
主终端的屏幕分辨率一般都是固定的,尺寸确定单元31首先根据主终端屏幕分辨率,获取主终端屏幕的水平像素点个数和竖直像素点个数。然后统计主终端当前时刻获取到的当前帧画面的个数,即当前时刻处于播放视频节目模式的主终端和从终端个数总和。最后通过分析计算确定当前时刻从终端帧画面的显示尺寸大小,即第一当前帧画面的第一预览尺寸,和当前时刻主终端帧画面的显示尺寸大小,即第二当前帧画面的第二预览尺寸。
可选地,根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸,例如,若第一预览尺寸等于第二预览尺寸,则尺寸确定单元31将获取的水平像素点数和/或竖直像素点数除以主终端当前时刻获取到的当前帧画面的个数,即可确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。参考图7所示,将主终端智能电视的屏幕水平方向像素点数除以3,竖直方向像素点数不变,即可得到从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面的第一预览尺寸,和主终端智能电视播放的视频节目1帧画面的第二预览尺寸。
显示单元32,用于在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。
主终端在获取到从终端的第一当前帧画面后,显示单元32将从终端的第一当前帧画面进行图像尺寸调整处理,将从终端第一当前帧画面调整至第一预览尺寸,得到调整后的第一当前帧画面;主终端在获取到主终端的第二当前帧画面后,显示单元32将主终端的第二当前帧画面进行图像尺寸调整处理,将主终端的第二当前帧画面调整至第二预览尺寸,得到调整后的第二当前帧画面。此处的第一预览尺寸和第二预览尺寸可以相等,也可以不相等,可以根据实际需求进行设置。
可选地,显示单元32根据调整后的第一当前帧画面和第二当前帧画面,创建对应的预览悬浮窗口,预览悬浮窗口中显示的是调整后的第一当前帧画面和第二当前帧画面。预览悬浮窗口具有可以动态变化、实时响应快的特点,以便当前帧画面可以实时更新。最后在主终端的显示区域中显示调整后的第一当前帧画面和第二当前帧画面的预览悬浮窗口。
在本实施例中,主终端通过尺寸确定单元31根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;最后通过显示单元32创建预览悬浮窗口在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面,使用户可以以合适的尺寸画面,实时观看到与终端连接的所有视频播放终端的节目播放进度,从而提高了用户的观影效果,同时保证主终端的视频节目也不会被暂停。
进一步地,本发明在多终端节目同步预览装置的第一实施例中,提出多终端节目同步预览装置第三实施例,参照图6,在第三实施例中,该装置包括:
标识添加模块40,用于在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
在主终端的显示区域中显示从终端和主终端的预览视频节目画面时,为了使用户能清楚地辨识预览的视频节目画面属于哪个终端,可以在预览的视频节目画面中添加标识以区分视频节目画面终端来源。例如可以在主终端的显示区域中将主终端的视频节目帧画面添加“本地”标识或/并将主终端的视频节目帧画面整体高亮显示等方式来区别从终端来源的视频节目帧画面;同时可以在主终端的显示区域中将从终端的视频节目帧画面添加从终端类型图标标识或/并将从终端的视频节目帧画面整体低亮显示等方式来区别其他视频节目帧画面。
在本实施例中,通过标识添加模块40在主终端显示的预览视频节目画面中添加预设标识,为主终端当前帧画面上添加预设主端标识和/或为从终端当前帧画面上添加预设从端标识,使用户能清楚地辨识预览的视频节目画面地终端来源,以更清楚明白地观看到各个终端的视频节目播放进度。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (16)
- 一种多终端节目同步预览方法,其特征在于,该方法包括:当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式,其中在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作模式设置一个标志位;实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面;在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
- 如权利要求1所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。
- 如权利要求2所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
- 如权利要求1所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
- 一种多终端节目同步预览方法,其特征在于,该方法包括:当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。
- 如权利要求5所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤包括:根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。
- 如权利要求6所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。
- 如权利要求7所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
- 如权利要求6所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
- 如权利要求5所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤之后还包括:在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
- 一种多终端节目同步预览装置,其特征在于,该装置包括:检测模块,用于当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;获取模块,用于实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;显示模块,用于在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。
- 如权利要求11所述的多终端节目同步预览装置,其特征在于,所述显示模块包括:尺寸确定单元,用于根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;显示单元,用于在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。
- 如权利要求12所述的多终端节目同步预览装置,其特征在于,所述显示单元还用于:将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。
- 如权利要求13所述的多终端节目同步预览装置,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述尺寸确定单元还用于:根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
- 如权利要求12所述的多终端节目同步预览装置,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述尺寸确定单元还用于:根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。
- 如权利要求11所述的多终端节目同步预览装置,其特征在于,该装置还包括:标识添加模块,用于在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610169167.XA CN105828130A (zh) | 2016-03-23 | 2016-03-23 | 多终端节目同步预览方法和装置 |
CN201610169167.X | 2016-03-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017161697A1 true WO2017161697A1 (zh) | 2017-09-28 |
Family
ID=56523765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/084874 WO2017161697A1 (zh) | 2016-03-23 | 2016-06-04 | 多终端节目同步预览方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105828130A (zh) |
WO (1) | WO2017161697A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851381B (zh) * | 2017-03-31 | 2020-11-03 | 深圳Tcl新技术有限公司 | 显示终端信息预览方法及装置 |
CN111402785B (zh) * | 2020-03-12 | 2021-10-01 | 安徽建德基文化传媒有限公司 | 分led显示屏抗干扰的视频显示方法、装置及存储介质 |
CN113377310B (zh) * | 2021-06-04 | 2023-12-05 | 西安诺瓦星云科技股份有限公司 | 输入源显示方法、装置及***和计算机可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036049A (zh) * | 2009-09-29 | 2011-04-27 | 英华达(西安)通信科技有限公司 | 一种移动视频装置及视频显示控制方法 |
CN103024567A (zh) * | 2012-12-06 | 2013-04-03 | 广东欧珀移动通信有限公司 | 一种移动终端视频预览的方法及*** |
CN103414856A (zh) * | 2013-07-31 | 2013-11-27 | 北京小米科技有限责任公司 | 一种进行频道预览的方法和装置 |
CN103488391A (zh) * | 2013-09-02 | 2014-01-01 | 宇龙计算机通信科技(深圳)有限公司 | 一种数据显示的方法、终端和显示设备 |
CN105323532A (zh) * | 2014-06-30 | 2016-02-10 | 中兴通讯股份有限公司 | 一种移动终端图像的自适应显示方法和装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010148056A2 (en) * | 2009-06-19 | 2010-12-23 | Olympus America Inc. | Method for optimizing and prioritizing video routing operations in conjunction with multiple integrated device controls in an integrated, configurable operation room system |
KR101732909B1 (ko) * | 2010-11-25 | 2017-05-08 | 삼성전자주식회사 | 휴대용 단말기에서 촬영 데이터를 공유하기 위한 장치 및 방법 |
CN103281562A (zh) * | 2013-06-20 | 2013-09-04 | 天脉聚源(北京)传媒科技有限公司 | 一种提供视频预览的方法及装置 |
-
2016
- 2016-03-23 CN CN201610169167.XA patent/CN105828130A/zh active Pending
- 2016-06-04 WO PCT/CN2016/084874 patent/WO2017161697A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036049A (zh) * | 2009-09-29 | 2011-04-27 | 英华达(西安)通信科技有限公司 | 一种移动视频装置及视频显示控制方法 |
CN103024567A (zh) * | 2012-12-06 | 2013-04-03 | 广东欧珀移动通信有限公司 | 一种移动终端视频预览的方法及*** |
CN103414856A (zh) * | 2013-07-31 | 2013-11-27 | 北京小米科技有限责任公司 | 一种进行频道预览的方法和装置 |
CN103488391A (zh) * | 2013-09-02 | 2014-01-01 | 宇龙计算机通信科技(深圳)有限公司 | 一种数据显示的方法、终端和显示设备 |
CN105323532A (zh) * | 2014-06-30 | 2016-02-10 | 中兴通讯股份有限公司 | 一种移动终端图像的自适应显示方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN105828130A (zh) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018018681A1 (zh) | 视频节目预览方法及装置 | |
WO2018034462A1 (en) | Image display apparatus and method of operating the same | |
WO2017177524A1 (zh) | 音视频同步播放的方法及装置 | |
WO2018043985A1 (en) | Image display apparatus and method of operating the same | |
WO2016080700A1 (en) | Display apparatus and display method | |
WO2014092469A1 (en) | Content playing apparatus, method for providing ui of content playing apparatus, network server, and method for controlling by network server | |
WO2017005066A1 (zh) | 录制音视频同步时间戳的方法和装置 | |
WO2017159941A1 (en) | Display device and method of operating the same | |
WO2017063368A1 (zh) | 视频广告的插播方法及装置 | |
WO2019098778A1 (en) | Display apparatus, method for controlling the same and image providing apparatus | |
WO2018023926A1 (zh) | 电视与移动终端的互动方法及*** | |
WO2018045682A1 (zh) | 音画同步测试方法及装置 | |
WO2017005062A1 (zh) | 图片帧播放方法和装置 | |
WO2017161697A1 (zh) | 多终端节目同步预览方法和装置 | |
WO2022025423A1 (en) | Video quality assessing method and apparatus | |
WO2017113600A1 (zh) | 视频播放方法及装置 | |
WO2017036203A1 (zh) | 媒体应用的播放控制方法、遥控装置及电视*** | |
WO2017084305A1 (zh) | 终端控制方法及*** | |
WO2017201893A1 (zh) | 视频处理方法和装置 | |
WO2017088429A1 (zh) | 移动终端控制显示终端上触屏应用程序的方法及*** | |
WO2020171657A1 (en) | Display device and image display method of the same | |
WO2015192801A1 (en) | Electronic device control method and system, and related device | |
WO2017041547A1 (zh) | 终端检测录制音视频丢失的方法及装置 | |
WO2017113595A1 (zh) | 功能菜单调整方法和装置 | |
WO2017124578A1 (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: 16895049 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 11/03/2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16895049 Country of ref document: EP Kind code of ref document: A1 |