WO2017161697A1 - Method and apparatus for synchronously previewing multiple terminal programs - Google Patents

Method and apparatus for synchronously previewing multiple terminal programs Download PDF

Info

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
Application number
PCT/CN2016/084874
Other languages
French (fr)
Chinese (zh)
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 WO2017161697A1 publication Critical patent/WO2017161697A1/en

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/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation 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
    • 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]
    • 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/45Management 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/462Content 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/4621Controlling 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

Disclosed is a method for synchronously previewing multiple terminal programs, comprising: when receiving a multi-terminal program preview instruction, a master terminal detects in real time operating modes of slave terminals connected to the master terminal; and then, obtain, in real time or at intervals of a preset duration, a first current frame picture of the slave terminal in a video playback mode and a second current frame picture of the master terminal; finally, synchronously display the first current frame picture and the second current frame picture in a display area of the master terminal. Also disclosed is an apparatus for synchronously previewing multiple terminal programs. By means of the present invention, a user can preview the playback progresses of all terminal programs on a master terminal, so that the user does not need to repeatedly take up multiple terminal devices to confirm the playback progresses of the programs, thereby improving user experience.

Description

多终端节目同步预览方法和装置  Multi-terminal program synchronization preview method and device
技术领域Technical field
本发明涉及显示终端技术领域,尤其涉及一种多终端节目同步预览方法和装置。The present invention relates to the field of display terminal technologies, and in particular, to a multi-terminal program synchronization preview method and apparatus.
背景技术Background technique
随着各种显示终端的不断发展和无线网络技术的不断进步,使用户越来越***板电脑上观看不同的视频节目,当智能手机或平板电脑的视频节目进入广告时,用户可以观看智能电视的视频节目,但不能及时了解智能手机或平板电脑的广告是否播放完毕,需要往返拿起智能手机或平板电脑确认广告是否播放完毕。With the continuous development of various display terminals and the continuous advancement of wireless network technology, users are increasingly accustomed to simultaneously watching different video programs with multiple display terminals, when video programs of one or more display terminals enter advertisements or When the user does not want to watch the program for a while, the user can watch the video program of other display terminals. However, if the user wants to know the progress of all the display terminals playing the video program, the user needs to pick up and display a plurality of display terminals to confirm the progress of the program playing. In this way, the user cannot know the progress of all the display programs of the display terminal in time, and affects the user experience. For example, users can watch different video programs on smart TVs, smartphones, and tablets at the same time. When a video program of a smartphone or tablet enters an advertisement, the user can watch the video program of the smart TV, but cannot understand the smartphone or After the tablet’s ads have finished playing, you need to pick up the smartphone or tablet to confirm whether the ad has finished playing.
发明内容Summary of the invention
本发明的主要目的在于提供一种多终端节目同步预览方法和装置,旨在解决用户使用多个终端观看视频节目播放时,不能及时了解所有终端节目播放进度的技术问题。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.
为实现上述目的,本发明提供的一种多终端节目同步预览方法,该方法包括:To achieve the above objective, the present invention provides a multi-terminal program synchronization preview method, the method comprising:
当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式,其中在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作模式设置一个标志位;When the main terminal receives the multi-end program preview instruction, 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;
实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;Obtaining a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a video play mode in a real-time or interval preset duration;
根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;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;
在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面;Displaying, in the display area of the main terminal, the first current frame picture in synchronization with the first preview size, and simultaneously displaying the second current frame picture in the second preview size;
在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。Adding a preset master identifier on the second current frame screen and/or adding a preset slave identifier on the first current frame screen.
优选地,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:Preferably, 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:
将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;Adjusting the first current frame picture to a first preview size, and adjusting the second current frame picture to a second preview size;
根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。And displaying a preview floating window according to the adjusted first current frame picture and the second current frame picture, and displaying the preview floating window in a display area of the active terminal.
优选地,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:Preferably, 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:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
优选地,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:Preferably, 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:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
本发明还提供一种多终端节目同步预览方法,所述多终端节目预览同步方法包括:The present invention also provides a multi-terminal program synchronization preview method, and the multi-terminal program preview synchronization method includes:
当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;When the main terminal receives the multi-end program preview instruction, detecting an operation mode of each slave terminal connected to the main terminal in real time;
实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;Obtaining a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a video play mode in a real-time or interval preset duration;
在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。The first current frame picture and the second current frame picture are synchronously displayed in a display area of the master terminal.
优选地,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤包括:Preferably, 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:
根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;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 first current frame picture is synchronously displayed in the display area of the main terminal in the first preview size, and the second current frame picture is synchronously displayed in the second preview size.
优选地,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:Preferably, 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:
将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;Adjusting the first current frame picture to a first preview size, and adjusting the second current frame picture to a second preview size;
根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。And displaying a preview floating window according to the adjusted first current frame picture and the second current frame picture, and displaying the preview floating window in a display area of the active terminal.
优选地,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:Preferably, 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:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
优选地,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤之后还包括:Preferably, after the step of synchronously displaying the first current frame picture and the second current frame picture in the display area of the main terminal, the method further includes:
在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。Adding a preset master identifier on the second current frame screen and/or adding a preset slave identifier on the first current frame screen.
为实现上述目的,本发明还提供一种多终端节目同步预览装置,该装置包括:To achieve the above object, 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;
显示模块,用于在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。And 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.
优选地,所述显示模块包括:Preferably, 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 ;
显示单元,用于在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。And 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.
优选地,所述显示单元还用于:Preferably, the display unit is further configured to:
将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;Adjusting the first current frame picture to a first preview size, and adjusting the second current frame picture to a second preview size;
根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。And displaying a preview floating window according to the adjusted first current frame picture and the second current frame picture, and displaying the preview floating window in a display area of the active terminal.
优选地,所述第一预览尺寸等于第二预览尺寸,所述尺寸确定单元还用于:Preferably, the first preview size is equal to the second preview size, and the size determining unit is further configured to:
根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
优选地,该装置还包括:Preferably, the device further comprises:
标识添加模块,用于在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。And 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.
附图说明DRAWINGS
图1为本发明多终端节目同步预览方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a multi-terminal program synchronization preview method according to the present invention;
图2为本发明多终端节目同步预览方法第二实施例中在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤的细化流程示意图;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;
图3为本发明多终端节目同步预览方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a multi-terminal program synchronization preview method according to the present invention;
图4为本发明多终端节目同步预览装置第一实施例的功能模块示意图;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;
图5为本发明多终端节目同步预览装置第二实施例中显示模块细化功能模块示意图;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;
图6为本发明多终端节目同步预览装置第三实施例的功能模块示意图;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;
图7为本发明多终端节目同步预览方法和装置涉及的场景示意图。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 implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供了一种多终端节目同步预览方法,在本发明多终端节目同步预览方法的第一实施例中,参照图1和图7,该多终端节目预览同步方法包括:The present invention provides a multi-terminal program synchronization preview method. In the first embodiment of the multi-terminal program synchronization preview method of the present invention, referring to FIG. 1 and FIG. 7, the multi-terminal program preview synchronization method includes:
步骤S10,当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;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;
当用户在使用多个显示终端同时观看不同视频节目时,如果想要在主终端上预览所有的视频节目播放进度,首先必须确保主终端与其他从终端已通过网络连接方式建立通畅的网络连接,可以在主终端与其他从终端之间传输指令、图片等数据信息。When the user is watching different video programs simultaneously using multiple display terminals, if you want to preview all video program playback progress on the main terminal, you must first ensure that the master terminal and other slave terminals have established a smooth network connection through the network connection. Data information such as instructions and pictures can be transmitted between the master terminal and other slave terminals.
需要特别指出的是,这里所说的网络连接方式有线连接方式(例如网线连接等)和无线连接方式(例如WiFi(Wireless Fidelity,无线局域网)、蓝牙等),目前市面上的智能显示终端一般都具有WiFi接入、蓝牙传输等网络连接功能。It should be specially pointed out that 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.) Currently, intelligent display terminals on the market generally have network connection functions such as WiFi access and Bluetooth transmission.
在主终端与其他从终端建立网络连接后,当用户需要在主终端上预览所有与主终端连接的从终端的视频节目播放进度时,用户向主终端发出多端节目预览指令。主终端接收到用户发出的多端节目预览指令后,主终端会实时检测与主终端连接的各个从终端的播放器的工作模式,确定与主终端连接的各个从终端的播放器是在正常播放状态、暂停播放状态还是关闭状态。需要特别指出的是,为了节省网络资源、提高网络传输效率,这里所说的主终端实时检测可以是主终端每间隔一小段时长检测一次。例如,主终端每间隔10ms检测一次与主终端连接的各个从终端的播放器的工作模式。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. 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. It should be specially pointed out that in order to save network resources and improve network transmission efficiency, 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.
在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作状态设置一个标志位,以便主终端的处理器可以及时获知与主终端连接的各个从终端的播放器工作状态。例如,当其中一个与主终端连接的从终端播放器处于正常播放状态时,可将主终端存储器中对应的标志位设置为1;当这个从终端播放器处于暂停播放状态或关闭状态时,可将主终端存储器中对应的标志位设置为0。同时,在主终端的存储器中还参照上述方法设置了一个表示主终端播放器工作状态的标志位,即当主终端播放器处于正常播放状态时,这个标志位设置为1,当主终端播放器处于暂停播放状态时,这个标志位设置为0。另外,主终端还需要统计的处于视频节目播放状态所有终端的个数,即将上述主终端及与之连接的从终端的播放器工作状态标志位求和,并保存在主终端的存储器中。In the memory of the master terminal, 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. At the same time, in the memory of the main terminal, 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. In addition, 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.
步骤S20,实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;In 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.
当主终端检测到与主终端连接的各个从终端中有处于正常视频播放模式的从终端时,主终端通过网络连接实时或间隔预设时长依次向工作模式为视频播放模式的从终端发送采集当前时刻的视频帧画面的指令,并将采集到的视频帧画面传送回主终端保存在主终端存储器中,即主终端获取的第一当前帧画面。同时,若主终端的播放器也处于正常视频播放模式,主终端会实时或间隔预设时长采集获取当前时刻的视频帧画面,并保存在主终端存储器中,即主终端获取的第二当前帧画面。例如,假设这里的主终端是一款智能电视,从终端包括一款智能手机和一款平板电脑,并已通过WiFi建立了网络连接,用户通过智能电视正在播放视频节目1、通过智能手机正在播放视频节目2、通过平板电脑正在播放视频节目3;当智能电视接收到用户通过遥控器等方式发出的多端节目预览指令时,智能电视会依次间隔1s获取智能手机视频节目2和平板电脑视频节目3当前时刻播放的帧画面,同时也会间隔1s获取智能电视视频节目1当前时刻播放的帧画面,并将获取的帧画面保存在智能电视的存储器中。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. Meanwhile, if the player of the main terminal is also in the normal video playing mode, 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. For example, suppose the main terminal here is a smart TV. 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.
若主终端检测到与主终端连接的各个从终端中没有处于正常视频播放模式的从终端时,主终端此时不再执行后续操作,而是返回继续检测与主终端连接的各个从终端的播放器工作模式。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.
步骤S30,在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。 Step S30, synchronously displaying the first current frame picture and the second current frame picture in a display area of the main terminal.
主终端从从终端和主终端获取到当前时刻的帧画面后,将获取的帧画面进行图像处理,并将处理后的帧画面按预设的顺序或位置同步显示在主终端的显示区域中。如图7所示,在主终端智能电视的显示区域中,主终端智能电视播放的视频节目1帧画面显示在中间位置,从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面显示在两侧。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.
在本实施例中,在主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;然后实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;最后在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面,使主终端可以同时显示所有与之连接的从终端的节目播放帧画面,从而使用户能在主终端上预览到所有终端节目播放的进度,不需要用户往返拿起多个终端设备确认节目播放的进度,改善了用户使用体验。In this embodiment, when the main terminal receives the multi-end program preview instruction, 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. .
进一步地,本发明在多终端节目同步预览方法的第一实施例中,提出多终端节目预览同步方法第二实施例,参照图2和图7,在第二实施例中,步骤S30包括:Further, in the first embodiment of the multi-terminal program synchronization preview method, the present invention provides a second embodiment of the multi-terminal program preview synchronization method. Referring to FIG. 2 and FIG. 7, in the second embodiment, step S30 includes:
步骤S31,根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;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.
可选地,根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸,例如,若第一预览尺寸等于第二预览尺寸,则将获取的水平像素点数和/或竖直像素点数除以主终端当前时刻获取到的当前帧画面的个数,即可确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。参考图7所示,将主终端智能电视的屏幕水平方向像素点数除以3,竖直方向像素点数不变,即可得到从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面的第一预览尺寸,和主终端智能电视播放的视频节目1帧画面的第二预览尺寸。Optionally, 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. Referring to FIG. 7 , 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 first preview size of the 3-frame picture, and the second preview size of the 1 frame picture of the video program played by the main terminal smart TV.
步骤S32,在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。In 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.
主终端在获取到从终端的第一当前帧画面后,将从终端的第一当前帧画面进行图像尺寸调整处理,将从终端第一当前帧画面调整至第一预览尺寸,得到调整后的第一当前帧画面;主终端在获取到主终端的第二当前帧画面后,将主终端的第二当前帧画面进行图像尺寸调整处理,将主终端的第二当前帧画面调整至第二预览尺寸,得到调整后的第二当前帧画面。此处的第一预览尺寸和第二预览尺寸可以相等,也可以不相等,可以根据实际需求进行设置。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.
可选地,主终端根据调整后的第一当前帧画面和第二当前帧画面,创建对应的预览悬浮窗口,预览悬浮窗口中显示的是调整后的第一当前帧画面和第二当前帧画面。预览悬浮窗口具有可以动态变化、实时响应快的特点,以便当前帧画面可以实时更新。最后在主终端的显示区域中显示调整后的第一当前帧画面和第二当前帧画面的预览悬浮窗口。Optionally, 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. Finally, 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.
在本实施例中,主终端根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;最后通过创建预览悬浮窗口在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面,使用户可以以合适的尺寸画面,实时观看到与终端连接的所有视频播放终端的节目播放进度,从而提高了用户的观影效果,同时保证主终端的视频节目也不会被暂停。In this embodiment, 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.
进一步地,本发明在多终端节目同步预览方法的第一实施例中,提出多终端节目预览同步方法第三实施例,参照图3,在第三实施例中,该方法包括:Further, in the first embodiment of the multi-terminal program synchronization preview method, the present invention provides a third embodiment of the multi-terminal program preview synchronization method. Referring to FIG. 3, in the third embodiment, the method includes:
步骤S40,在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。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.
在主终端的显示区域中显示从终端和主终端的预览视频节目画面时,为了使用户能清楚地辨识预览的视频节目画面属于哪个终端,可以在预览的视频节目画面中添加标识以区分视频节目画面终端来源。例如可以在主终端的显示区域中将主终端的视频节目帧画面添加“本地”标识或/并将主终端的视频节目帧画面整体高亮显示等方式来区别从终端来源的视频节目帧画面;同时可以在主终端的显示区域中将从终端的视频节目帧画面添加从终端类型图标标识或/并将从终端的视频节目帧画面整体低亮显示等方式来区别其他视频节目帧画面。When the preview video program screen of the slave terminal and the master terminal is displayed in the display area of the master terminal, in order to enable the user to clearly recognize which terminal the preview video program screen belongs to, 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. At the same time, 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.
在本实施例中,通过在主终端显示的预览视频节目画面中添加预设标识,为主终端当前帧画面上添加预设主端标识和/或为从终端当前帧画面上添加预设从端标识,使用户能清楚地辨识预览的视频节目画面地终端来源,以更清楚明白地观看到各个终端的视频节目播放进度。In this embodiment, by adding a preset identifier to the preview video program screen displayed on the main 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.
本发明还提供了一种多终端节目同步预览装置,在本发明多终端节目预览同步装置的第一实施例中,参照图4和图7,该装置包括:The present invention also provides a multi-terminal program synchronization preview apparatus. In the first embodiment of the multi-terminal program preview synchronization apparatus of the present invention, referring to FIG. 4 and FIG. 7, the apparatus includes:
检测模块10,用于当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;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. 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. In addition to establishing a smooth network connection with other slave terminals through the network connection, data information such as commands and pictures can be transmitted between the master terminal and other slave terminals.
需要特别指出的是,这里所说的网络连接方式包括有线连接方式(例如网线连接等)和无线连接方式(例如WiFi(Wireless Fidelity,无线局域网)、蓝牙等),目前市面上的智能显示终端一般都具有WiFi接入、蓝牙传输等网络连接功能。It should be specially pointed out that the 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.) Currently, intelligent display terminals on the market generally have network connection functions such as WiFi access and Bluetooth transmission.
在主终端与其他从终端建立网络连接后,当用户需要在主终端上预览所有与主终端连接的从终端的视频节目播放进度时,用户向主终端发出多端节目预览指令。主终端接收到用户发出的多端节目预览指令后,检测模块10会实时检测与主终端连接的各个从终端的播放器的工作模式,确定与主终端连接的各个从终端的播放器是在正常播放状态、暂停播放状态还是关闭状态。需要特别指出的是,为了节省网络资源、提高网络传输效率,这里所说的主终端实时检测可以是主终端每间隔一小段时长检测一次。例如,主终端每间隔10ms检测一次与主终端连接的各个从终端的播放器的工作模式。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. 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. It should be specially pointed out that in order to save network resources and improve network transmission efficiency, 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.
在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作状态设置一个标志位,以便主终端的处理器可以及时获知与主终端连接的各个从终端的播放器工作状态。例如,当其中一个与主终端连接的从终端播放器处于正常播放状态时,可将主终端存储器中对应的标志位设置为1;当这个从终端播放器处于暂停播放状态或关闭状态时,可将主终端存储器中对应的标志位设置为0。同时,在主终端的存储器中还参照上述方法设置了一个表示主终端播放器工作状态的标志位,即当主终端播放器处于正常播放状态时,这个标志位设置为1,当主终端播放器处于暂停播放状态时,这个标志位设置为0。另外,主终端还需要统计的处于视频节目播放状态所有终端的个数,即将上述主终端及与之连接的从终端的播放器工作状态标志位求和,并保存在主终端的存储器中,检测模块10可从主终端的存储器中调取数据。In the memory of the master terminal, 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. At the same time, in the memory of the main terminal, 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. In addition, 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.
获取模块20,用于实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;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;
当检测模块10检测到与主终端连接的各个从终端中有处于正常视频播放模式的从终端时,获取模块20通过网络连接实时或间隔预设时长依次向工作模式为视频播放模式的从终端发送采集当前时刻的视频帧画面的指令,并将采集到的视频帧画面传送回主终端保存在主终端存储器中,即获取模块20获取的第一当前帧画面。同时,若主终端的播放器也处于正常视频播放模式,获取模块20会实时或间隔预设时长采集获取当前时刻的视频帧画面,并保存在主终端存储器中,即获取模块20获取的第二当前帧画面。例如,假设这里的主终端是一款智能电视,从终端包括一款智能手机和一款平板电脑,并已通过WiFi建立了网络连接,用户通过智能电视正在播放视频节目1、通过智能手机正在播放视频节目2、通过平板电脑正在播放视频节目3;当智能电视接收到用户通过遥控器等方式发出的多端节目预览指令时,智能电视会依次间隔1s获取智能手机视频节目2和平板电脑视频节目3当前时刻播放的帧画面,同时也会间隔1s获取智能电视视频节目1当前时刻播放的帧画面,并将获取的帧画面保存在智能电视的存储器中。When the detecting module 10 detects that the slave terminals connected to the master terminal are in the normal 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. At the same time, if the player of the main terminal is also in the normal video playing mode, 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. For example, suppose the main terminal here is a smart TV. 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.
若检测模块10检测到与主终端连接的各个从终端中没有处于正常视频播放模式的从终端时,主终端此时不再执行后续操作,而是返回继续检测与主终端连接的各个从终端的播放器工作模式。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.
显示模块30,用于在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面 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.
获取模块20从从终端和主终端获取到当前时刻的帧画面后,显示模块30将获取的帧画面进行图像处理,并将处理后的帧画面按预设的顺序或位置同步显示在主终端的显示区域中。如图7所示,在主终端智能电视的显示区域中,主终端智能电视播放的视频节目1帧画面显示在中间位置,从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面显示在两侧。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.
在本实施例中,通过检测模块10在主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;然后通过获取模块20实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;最后通过显示模块30在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面,使主终端可以同时显示所有与之连接的从终端的节目播放帧画面,从而使用户能在主终端上预览到所有终端节目播放的进度,不需要用户往返拿起多个终端设备确认节目播放的进度,改善了用户使用体验。In this embodiment, when the multi-terminal program preview instruction is received by the detecting module 10, 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.
进一步地,本发明在多终端节目同步预览装置的第一实施例中,提出了多终端节目预览同步装置第二实施例,参照图5和图7,在第二实施例中,显示模块30包括:Further, in the first embodiment of the multi-terminal program synchronization preview apparatus, the second embodiment of the multi-terminal program preview synchronization apparatus is proposed. Referring to FIG. 5 and FIG. 7, in the second embodiment, the display module 30 includes :
尺寸确定单元31,用于根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;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;
主终端的屏幕分辨率一般都是固定的,尺寸确定单元31首先根据主终端屏幕分辨率,获取主终端屏幕的水平像素点个数和竖直像素点个数。然后统计主终端当前时刻获取到的当前帧画面的个数,即当前时刻处于播放视频节目模式的主终端和从终端个数总和。最后通过分析计算确定当前时刻从终端帧画面的显示尺寸大小,即第一当前帧画面的第一预览尺寸,和当前时刻主终端帧画面的显示尺寸大小,即第二当前帧画面的第二预览尺寸。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.
可选地,根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸,例如,若第一预览尺寸等于第二预览尺寸,则尺寸确定单元31将获取的水平像素点数和/或竖直像素点数除以主终端当前时刻获取到的当前帧画面的个数,即可确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。参考图7所示,将主终端智能电视的屏幕水平方向像素点数除以3,竖直方向像素点数不变,即可得到从终端智能手机播放的视频节目2帧画面和平板电脑播放的视频节目3帧画面的第一预览尺寸,和主终端智能电视播放的视频节目1帧画面的第二预览尺寸。Optionally, 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. 7 , 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 first preview size of the 3-frame picture, and the second preview size of the 1 frame picture of the video program played by the main terminal smart TV.
显示单元32,用于在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。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.
主终端在获取到从终端的第一当前帧画面后,显示单元32将从终端的第一当前帧画面进行图像尺寸调整处理,将从终端第一当前帧画面调整至第一预览尺寸,得到调整后的第一当前帧画面;主终端在获取到主终端的第二当前帧画面后,显示单元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.
可选地,显示单元32根据调整后的第一当前帧画面和第二当前帧画面,创建对应的预览悬浮窗口,预览悬浮窗口中显示的是调整后的第一当前帧画面和第二当前帧画面。预览悬浮窗口具有可以动态变化、实时响应快的特点,以便当前帧画面可以实时更新。最后在主终端的显示区域中显示调整后的第一当前帧画面和第二当前帧画面的预览悬浮窗口。Optionally, 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. 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. Finally, 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.
在本实施例中,主终端通过尺寸确定单元31根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;最后通过显示单元32创建预览悬浮窗口在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面,使用户可以以合适的尺寸画面,实时观看到与终端连接的所有视频播放终端的节目播放进度,从而提高了用户的观影效果,同时保证主终端的视频节目也不会被暂停。In this embodiment, 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.
进一步地,本发明在多终端节目同步预览装置的第一实施例中,提出多终端节目同步预览装置第三实施例,参照图6,在第三实施例中,该装置包括:Further, in the first embodiment of the multi-terminal program synchronization preview apparatus, the present invention proposes a third embodiment of the multi-terminal program synchronization preview apparatus. Referring to FIG. 6, in the third embodiment, the apparatus includes:
标识添加模块40,用于在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。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.
在主终端的显示区域中显示从终端和主终端的预览视频节目画面时,为了使用户能清楚地辨识预览的视频节目画面属于哪个终端,可以在预览的视频节目画面中添加标识以区分视频节目画面终端来源。例如可以在主终端的显示区域中将主终端的视频节目帧画面添加“本地”标识或/并将主终端的视频节目帧画面整体高亮显示等方式来区别从终端来源的视频节目帧画面;同时可以在主终端的显示区域中将从终端的视频节目帧画面添加从终端类型图标标识或/并将从终端的视频节目帧画面整体低亮显示等方式来区别其他视频节目帧画面。When the preview video program screen of the slave terminal and the master terminal is displayed in the display area of the master terminal, in order to enable the user to clearly recognize which terminal the preview video program screen belongs to, 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. At the same time, 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.
在本实施例中,通过标识添加模块40在主终端显示的预览视频节目画面中添加预设标识,为主终端当前帧画面上添加预设主端标识和/或为从终端当前帧画面上添加预设从端标识,使用户能清楚地辨识预览的视频节目画面地终端来源,以更清楚明白地观看到各个终端的视频节目播放进度。In this embodiment, 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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that 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.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种多终端节目同步预览方法,其特征在于,该方法包括: A multi-terminal program synchronization preview method, characterized in that the method comprises:
    当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式,其中在主终端的存储器中可以为每个与主终端连接的从终端的播放器工作模式设置一个标志位;When the main terminal receives the multi-end program preview instruction, 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;
    实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;Obtaining a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a video play mode in a real-time or interval preset duration;
    根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;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;
    在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面;Displaying, in the display area of the main terminal, the first current frame picture in synchronization with the first preview size, and simultaneously displaying the second current frame picture in the second preview size;
    在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。Adding a preset master identifier on the second current frame screen and/or adding a preset slave identifier on the first current frame screen.
  2. 如权利要求1所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:The multi-terminal program synchronization preview method according to claim 1, wherein the displaying, in the display area of the main terminal, the first current frame picture is synchronously displayed in the first preview size, and the second preview size is synchronously displayed. The steps of the second current frame picture include:
    将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;Adjusting the first current frame picture to a first preview size, and adjusting the second current frame picture to a second preview size;
    根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。And displaying a preview floating window according to the adjusted first current frame picture and the second current frame picture, and displaying the preview floating window in a display area of the active terminal.
  3. 如权利要求2所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:The multi-terminal program synchronization preview method according to claim 2, wherein the first preview size is equal to a second preview size, according to the number of the current frame picture and the screen resolution of the main terminal, The determining of the first preview size of the first current frame picture and the second preview size of the second current frame picture includes:
    根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
    根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
  4. 如权利要求1所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:The multi-terminal program synchronization preview method according to claim 1, wherein the first preview size is equal to a second preview size, according to the number of the current frame picture and the screen resolution of the main terminal, The determining of the first preview size of the first current frame picture and the second preview size of the second current frame picture includes:
    根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
    根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
  5. 一种多终端节目同步预览方法,其特征在于,该方法包括:A multi-terminal program synchronization preview method, characterized in that the method comprises:
    当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;When the main terminal receives the multi-end program preview instruction, detecting an operation mode of each slave terminal connected to the main terminal in real time;
    实时或间隔预设时长获取工作模式为视频播放模式的所述从终端的第一当前帧画面和所述主终端的第二当前帧画面;Obtaining a first current frame picture of the slave terminal and a second current frame picture of the master terminal in a video play mode in a real-time or interval preset duration;
    在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。The first current frame picture and the second current frame picture are synchronously displayed in a display area of the master terminal.
  6. 如权利要求5所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤包括:The multi-terminal program synchronization preview method according to claim 5, wherein the step of synchronously displaying the first current frame picture and the second current frame picture in the display area of the main terminal comprises:
    根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸;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 first current frame picture is synchronously displayed in the display area of the main terminal in the first preview size, and the second current frame picture is synchronously displayed in the second preview size.
  7. 如权利要求6所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面的步骤包括:The multi-terminal program synchronization preview method according to claim 6, wherein the display area of the main terminal synchronously displays the first current frame picture in the first preview size, and displays the second preview size synchronously. The steps of the second current frame picture include:
    将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;Adjusting the first current frame picture to a first preview size, and adjusting the second current frame picture to a second preview size;
    根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。And displaying a preview floating window according to the adjusted first current frame picture and the second current frame picture, and displaying the preview floating window in a display area of the active terminal.
  8. 如权利要求7所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:The multi-terminal program synchronization preview method according to claim 7, wherein the first preview size is equal to a second preview size, according to the number of the current frame picture and the screen resolution of the main terminal, The determining of the first preview size of the first current frame picture and the second preview size of the second current frame picture includes:
    根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
    根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
  9. 如权利要求6所述的多终端节目同步预览方法,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述根据所述当前帧画面的个数和所述主终端屏幕分辨率,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸的步骤包括:The multi-terminal program synchronization preview method according to claim 6, wherein the first preview size is equal to a second preview size, according to the number of the current frame picture and the screen resolution of the main terminal, The determining of the first preview size of the first current frame picture and the second preview size of the second current frame picture includes:
    根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
    根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
  10. 如权利要求5所述的多终端节目同步预览方法,其特征在于,所述在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面的步骤之后还包括:The multi-terminal program synchronization preview method according to claim 5, wherein the step of synchronously displaying the first current frame picture and the second current frame picture in the display area of the main terminal further comprises:
    在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。Adding a preset master identifier on the second current frame screen and/or adding a preset slave identifier on the first current frame screen.
  11. 一种多终端节目同步预览装置,其特征在于,该装置包括: A multi-terminal program synchronization preview device, characterized in that the device comprises:
    检测模块,用于当主终端接收到多端节目预览指令时,实时检测与所述主终端连接的各个从终端的工作模式;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;
    显示模块,用于在主终端的显示区域同步显示所述第一当前帧画面和第二当前帧画面。And 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.
  12. 如权利要求11所述的多终端节目同步预览装置,其特征在于,所述显示模块包括:The multi-terminal program synchronization preview apparatus according to claim 11, wherein 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 ;
    显示单元,用于在主终端的显示区域以所述第一预览尺寸同步显示第一当前帧画面、以所述第二预览尺寸同步显示第二当前帧画面。And 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.
  13. 如权利要求12所述的多终端节目同步预览装置,其特征在于,所述显示单元还用于:The multi-terminal program synchronization preview device according to claim 12, wherein the display unit is further configured to:
    将所述第一当前帧画面调整至第一预览尺寸,将所述第二当前帧画面调整至第二预览尺寸;Adjusting the first current frame picture to a first preview size, and adjusting the second current frame picture to a second preview size;
    根据调整后的所述第一当前帧画面和第二当前帧画面,创建预览悬浮窗口,并在所述主动终端的显示区域显示所述预览悬浮窗口。And displaying a preview floating window according to the adjusted first current frame picture and the second current frame picture, and displaying the preview floating window in a display area of the active terminal.
  14. 如权利要求13所述的多终端节目同步预览装置,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述尺寸确定单元还用于:The multi-terminal program synchronization preview apparatus according to claim 13, wherein the first preview size is equal to the second preview size, and the size determining unit is further configured to:
    根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
    根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
  15. 如权利要求12所述的多终端节目同步预览装置,其特征在于,所述第一预览尺寸等于第二预览尺寸,所述尺寸确定单元还用于:The multi-terminal program synchronization preview apparatus according to claim 12, wherein the first preview size is equal to the second preview size, and the size determining unit is further configured to:
    根据所述主终端屏幕分辨率,获取主终端屏幕的水平像素点数和竖直像素点数;Obtaining a horizontal pixel number and a vertical pixel number of the main terminal screen according to the screen resolution of the main terminal;
    根据所述水平像素点数、竖直像素点数和所述当前帧画面的个数,确定所述第一当前帧画面的第一预览尺寸和所述第二当前帧画面的第二预览尺寸。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 size of the second current frame picture.
  16. 如权利要求11所述的多终端节目同步预览装置,其特征在于,该装置还包括:The multi-terminal program synchronization preview apparatus according to claim 11, wherein the apparatus further comprises:
    标识添加模块,用于在所述第二当前帧画面上添加预设主端标识和/或在所述第一当前帧画面上添加预设从端标识。And 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.
PCT/CN2016/084874 2016-03-23 2016-06-04 Method and apparatus for synchronously previewing multiple terminal programs WO2017161697A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610169167.X 2016-03-23
CN201610169167.XA CN105828130A (en) 2016-03-23 2016-03-23 Multi-terminal program synchronous preview method and device

Publications (1)

Publication Number Publication Date
WO2017161697A1 true WO2017161697A1 (en) 2017-09-28

Family

ID=56523765

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084874 WO2017161697A1 (en) 2016-03-23 2016-06-04 Method and apparatus for synchronously previewing multiple terminal programs

Country Status (2)

Country Link
CN (1) CN105828130A (en)
WO (1) WO2017161697A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851381B (en) * 2017-03-31 2020-11-03 深圳Tcl新技术有限公司 Display terminal information preview method and device
CN111402785B (en) * 2020-03-12 2021-10-01 安徽建德基文化传媒有限公司 Anti-interference video display method and device for sub-LED display screen and storage medium
CN113377310B (en) * 2021-06-04 2023-12-05 西安诺瓦星云科技股份有限公司 Input source display method, device and system and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036049A (en) * 2009-09-29 2011-04-27 英华达(西安)通信科技有限公司 Mobile video device and video display control method
CN103024567A (en) * 2012-12-06 2013-04-03 广东欧珀移动通信有限公司 Method and system for video preview of mobile terminal
CN103414856A (en) * 2013-07-31 2013-11-27 北京小米科技有限责任公司 Method and device for carrying out channel preview
CN103488391A (en) * 2013-09-02 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Data display method, terminal and display equipment
CN105323532A (en) * 2014-06-30 2016-02-10 中兴通讯股份有限公司 Adaptive display method and device for mobile terminal image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
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 (en) * 2010-11-25 2017-05-08 삼성전자주식회사 Apparatus and method for sharing capttured data in portable terminal
CN103281562A (en) * 2013-06-20 2013-09-04 天脉聚源(北京)传媒科技有限公司 Method and device for video preview

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036049A (en) * 2009-09-29 2011-04-27 英华达(西安)通信科技有限公司 Mobile video device and video display control method
CN103024567A (en) * 2012-12-06 2013-04-03 广东欧珀移动通信有限公司 Method and system for video preview of mobile terminal
CN103414856A (en) * 2013-07-31 2013-11-27 北京小米科技有限责任公司 Method and device for carrying out channel preview
CN103488391A (en) * 2013-09-02 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Data display method, terminal and display equipment
CN105323532A (en) * 2014-06-30 2016-02-10 中兴通讯股份有限公司 Adaptive display method and device for mobile terminal image

Also Published As

Publication number Publication date
CN105828130A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
WO2018018681A1 (en) Video programme previewing method and device
WO2018034462A1 (en) Image display apparatus and method of operating the same
WO2017177524A1 (en) Audio and video playing synchronization method and device
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 (en) Method and apparatus for recording audio and video synchronization timestamp
WO2017063368A1 (en) Method and device for intercutting video advertisement
WO2019098778A1 (en) Display apparatus, method for controlling the same and image providing apparatus
WO2017159941A1 (en) Display device and method of operating the same
WO2018045682A1 (en) Method and device for testing audio and picture synchronization
WO2017005062A1 (en) Image frame playing method and device
WO2017161697A1 (en) Method and apparatus for synchronously previewing multiple terminal programs
WO2022025423A1 (en) Video quality assessing method and apparatus
WO2017036203A1 (en) Play control method for media application, remote control device and television system
WO2017084305A1 (en) Terminal control method and system
WO2017113600A1 (en) Video playing method and device
WO2017201893A1 (en) Video processing method and device
WO2017088429A1 (en) Method and system for controlling touchscreen application program in display terminal by mobile terminal
WO2020171657A1 (en) Display device and image display method of the same
WO2015192801A1 (en) Electronic device control method and system, and related device
WO2017041547A1 (en) Method and device for terminal to detect recorded audio and video loss
WO2017113595A1 (en) Method and device for adjusting function menu
WO2017124578A1 (en) Channel switching method and device
WO2017107385A1 (en) Video playing control method and apparatus

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