WO2017185799A1 - Method and apparatus for implementing multi-screen interaction - Google Patents

Method and apparatus for implementing multi-screen interaction Download PDF

Info

Publication number
WO2017185799A1
WO2017185799A1 PCT/CN2016/113212 CN2016113212W WO2017185799A1 WO 2017185799 A1 WO2017185799 A1 WO 2017185799A1 CN 2016113212 W CN2016113212 W CN 2016113212W WO 2017185799 A1 WO2017185799 A1 WO 2017185799A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
screen
image
initiating terminal
information
Prior art date
Application number
PCT/CN2016/113212
Other languages
French (fr)
Chinese (zh)
Inventor
张奎
Original Assignee
广州视睿电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视睿电子科技有限公司 filed Critical 广州视睿电子科技有限公司
Publication of WO2017185799A1 publication Critical patent/WO2017185799A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • the present invention relates to the field of multi-screen interaction technology, and in particular to a method and apparatus for implementing multi-screen interaction.
  • Multi-screen interaction refers to the technology of sharing presentation content on different system platform devices. That is, after several devices are connected through a dedicated connection device, operations such as display (such as audio, video, and picture) can be simultaneously performed between the devices. For example, a movie on a mobile phone can be played on a television, and a picture on a tablet or a computer can be displayed on a television.
  • display such as audio, video, and picture
  • the structure of the existing multi-screen interactive system is as shown in FIG. 1.
  • a multi-screen initiating device such as a mobile phone or a PC is connected to an Android system device (as a connecting device) with a TV function by a VGA (Video Graphics Array) method, and the TV is connected.
  • the functional Android system device is also connected to the display via VGA. Through the Android system device with TV function, it is possible to display the content displayed by the multi-screen initiator device such as a mobile phone or a PC on the same display.
  • the hardware cost is high, and the connected device of the Android motherboard with full function is needed; and the entire screen of the other multi-screen initiating device is displayed on the display, and the splitting problem caused by different systems exists on the display end.
  • an embodiment of the present invention provides a method and device for implementing multi-screen interaction, which can simultaneously display window screens of multiple multi-screen initiating terminals on one display device, and there is no multi-screen initiating terminal. Splitting problems caused by different system platforms.
  • An aspect of the present invention provides a method for implementing multi-screen interaction, including:
  • window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
  • the received multi-way window image is drawn to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
  • the composite display screen is transmitted to the corresponding display device to display the composite display screen on the display device side.
  • the drawing the received multi-way window image to the cache according to the window position information and the time stamp to obtain a corresponding composite display screen including:
  • the respective window images are sequentially drawn to the cache according to the window position information and before and after the sorting to obtain a corresponding composite display screen, wherein the top-ranked window image is presented at the topmost layer of the composite display screen.
  • the drawing according to the window position information and the sequential window images, to the cache, to obtain a corresponding composite display screen, comprising:
  • each window image Decoding each window image to obtain corresponding image data; sequentially drawing each window image to the buffer according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
  • the sending the composite display screen to the corresponding display device comprises:
  • the composite display screen is stored in a preset display queue, and the composite display screen in the display queue is sequentially sent to the corresponding display device.
  • the window location information includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
  • the invention also provides a method for implementing multi-screen interaction, comprising:
  • Determining the occurrence of a window switch taking a screenshot of the current active window, and obtaining a corresponding window image; and recording the time information of the screenshot as the time stamp corresponding to the window image, and obtaining the position information of the current active window in the screen of the multi-screen launching terminal, Window position information corresponding to the window image;
  • the window screenshot information including a window image, corresponding window position information, and a time stamp.
  • the sending to the corresponding hybrid device, the window screenshot information of the multi-screen initiating terminal, which previously includes:
  • the obtained window image is image-encoded, and the window screenshot information includes the encoded window image information.
  • the method further includes: establishing a connection between the multi-screen initiating terminal and the hybrid device, and installing a driver corresponding to the hybrid device in the system of the multi-screen initiating terminal after the connection is established;
  • the monitoring multi-screen initiates an active window of the terminal, and determines whether a window switch occurs according to the active window screen, the window size, and the window position, including:
  • the active window of the multi-screen initiating terminal is monitored by the driver, and if at least one of the window screen, the window size, and the window position is detected to be changed, it is determined that the window switching occurs.
  • the acquiring the location information of the current active window in the screen of the multi-screen initiation terminal includes:
  • the invention also provides an apparatus for implementing multi-screen interaction, comprising:
  • An image receiving module configured to receive window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
  • An image mixing module configured to draw the received multi-way window image to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
  • a sending module configured to send the composite display screen to the corresponding display device to display the composite display screen on the display device end.
  • the image mixing module comprises:
  • An information extraction sub-module configured to extract a window image, a window position information, and a time stamp included in the received screenshot information of each window;
  • a sorting sub-module for sorting the multi-way window images according to the timestamps from near to far, so that the window images in which the time stamps are closer are sorted earlier;
  • the mixing sub-module is configured to sequentially draw each window image to the cache according to the window position information and before and after the sorting, to obtain a corresponding composite display image, wherein the top-ranked window image is presented at the top layer of the composite display screen.
  • the hybrid submodule comprises:
  • a decoding unit configured to decode each window image to obtain corresponding image data
  • the mixing unit is configured to sequentially draw each window image to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
  • the sending module includes:
  • a storage submodule configured to store the composite display screen in a preset display queue
  • a sending submodule configured to sequentially send the composite display screen in the display queue to a corresponding display device.
  • the window location information includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
  • the invention also provides an apparatus for implementing multi-screen interaction, comprising:
  • a window monitoring module configured to monitor an active window of the multi-screen initiating terminal, and determine whether a window switching occurs according to the window screen, the window size, and the window position;
  • a window capture module configured to determine that a window switch occurs, take a screenshot of the current active window, obtain a corresponding window image; and time information for recording the screenshot, as a time stamp corresponding to the window image; and for acquiring a current active window Positioning information in the screen of the multi-screen is displayed as window position information corresponding to the window image;
  • the screenshot sending module is configured to send window screenshot information of the multi-screen initiating terminal to the corresponding hybrid device, where the window screenshot information includes a window image, corresponding window position information, and a time stamp.
  • the screenshot sending module is further configured to perform image encoding on the obtained window image before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device.
  • the device for implementing multi-screen interaction further includes: a connection module, configured to establish a connection between the multi-screen initiating terminal and the hybrid device, and install in the system of the multi-screen initiating terminal after the connection is established. a driver corresponding to the hybrid device;
  • the window monitoring module is configured to monitor, by the driver, an active window of the multi-screen initiating terminal, and if at least one of the window screen, the window size, and the window position is detected to change, it is determined that the window switching occurs.
  • the acquiring the location information of the current active window in the screen of the multi-screen initiation terminal includes:
  • the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image; and the received according to the window position information and the time stamp
  • the multiplexed window image is drawn to the cache to obtain a corresponding composite display screen, wherein the multiplexed window image is presented in a layered form; the composite display screen is sent to the corresponding display device to be at the display device end The composite display screen is displayed.
  • the solution of the foregoing embodiment of the present invention can simultaneously display window images of multiple multi-screen initiating terminals on one display device, and there is no fragmentation problem caused by different system platforms of the multi-screen initiating terminal, thereby improving the utilization ratio of the display; Moreover, the hardware cost is low, and the problem that all the screens of the multi-screen initiating terminal are displayed on the display device is solved, resulting in a screen splitting on the display device end.
  • Figure 1 is a schematic diagram of a conventional multi-screen interactive system.
  • FIG. 2 is a schematic diagram of a working environment of an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for implementing multi-screen interaction according to an embodiment
  • FIG. 4 is a schematic diagram of a composite display screen of an embodiment
  • FIG. 5 is a schematic flowchart of a method for implementing multi-screen interaction according to another embodiment
  • FIG. 6 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to an embodiment
  • FIG. 7 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to another embodiment.
  • FIG. 2 is a schematic diagram of a working environment according to an embodiment of the present invention, including: at least two multi-screen initiating terminals 100, wherein the multi-screen initiating terminal can control the display of the local screen display information to other in the multi-screen interaction.
  • the device on the terminal screen takes a PC as an example.
  • Each multi-screen initiating terminal 100 can be connected to a preset mixing device 200 by a USB method, and the hybrid device refers to an intermediate device that can obtain a composite display screen from a multi-way window image, and the mixing device 200 can have two or more
  • the plurality of USB input ports are connected to the multi-screen initiating terminal; the hybrid device 200 is also connected to a display device 300 by means of VGA or HDMI (High Definition Multimedia Interface).
  • Each of the multi-screen initiating terminals 100 can display its active window screen to the display device 300 through the mixing device 200.
  • FIG. 3 is a schematic flowchart of a method for implementing multi-screen interaction according to an embodiment; in this embodiment, the method is applied to the hybrid device as an example for description.
  • the method for implementing multi-screen interaction in this embodiment includes the following steps:
  • window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
  • the window position information in this embodiment includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen. Through the screen resolution and the position coordinates in the screen, the position of the screen being screened in the multi-screen launch terminal screen can be determined.
  • the received multi-path window image is drawn to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
  • the implementation of the step may include: extracting the window image, the window position information, and the timestamp included in the received screenshot information of each window, and sorting the multiple window images according to the timestamp from the near to far, and making the timestamp The closer the window image is, the more advanced it is.
  • the near time of the time stamp is Taking the current time as a reference, the purpose is to sort the window images whose time stamps are closer to the current time in the received multi-path image. Then, the respective window images are sequentially drawn to the cache according to the window position information and before and after the sorting to obtain a corresponding composite display screen, wherein the top-ranked window image is presented at the top layer of the composite display screen.
  • the received two-way window image is synthesized, and the obtained composite display screen effect can be referred to FIG. 4; wherein, the screen 1 is the active window screen of the multi-screen initiation terminal 1, and the screen 2 is the multi-screen initiation terminal 2 The active window screen, and the time stamp of the window image corresponding to the active window screen of the multi-screen initiating terminal 2 is closer.
  • the window image received in step S11 is an encoded image.
  • each window image is first decoded to obtain corresponding image data.
  • h264 standard writing method should be H.264, a highly compressed digital video codec standard
  • decoding technology can be used to decode each window image to obtain YUV stream data corresponding to each window image (color image signal)
  • the RGB is respectively amplified and corrected, and then the luminance signal Y and the two color difference signals B-Y (i.e., U) and R-Y (i.e., V) are obtained by the matrix conversion circuit.
  • each window image is sequentially drawn to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
  • the obtained composite display screen is stored in a display queue preset by the mixing device, and the composite display screen in the display queue is sequentially sent to the corresponding display device according to the first-in-first-out principle of the queue; and each window is The position of the image on the screen of the display device corresponds to the position of the window in the screen of the corresponding multi-screen originating terminal.
  • Scenario 1 the users each take a laptop to a meeting, and the content on the personal laptop needs to be displayed on a large screen display.
  • multiple laptops can be connected to the hybrid device, and then the hybrid device can be connected to the above-mentioned large-screen display.
  • the active window of multiple laptops can be simultaneously performed on the large-screen display. display. Further, when the active window of a certain laptop is found to be switched, on the large-screen display, the screen after the switching is displayed at the top layer, just like switching two program windows, and implementing multiple The effect of switching between window screens.
  • an external hybrid device is used to display window images of multiple multi-screen initiating terminals on the same display device, thereby achieving low cost; meanwhile, the display device can be implemented according to user operations. End window switching. Thereby, the utilization of the display is improved, and the problem that all the screens of the multi-screen initiating terminal are displayed on the display device and the screen is split at the display device end is solved.
  • FIG. 5 is a schematic flowchart of a method for implementing multi-screen interaction in another embodiment; in this embodiment, an example is applied to a multi-screen initiating terminal.
  • the method for implementing multi-screen interaction in this embodiment includes the following steps:
  • S21 monitoring an active window of the multi-screen initiating terminal, and determining whether a window switching occurs according to the window screen, the window size, and the window position;
  • the method further includes establishing a multi-screen initiator terminal and a hybrid device.
  • the step of the connection referring to FIG. 2, the connection may be a USB connection.
  • a driver corresponding to the hybrid device is automatically installed in the system of the multi-screen initiating terminal; and then the active window of the multi-screen initiating terminal is monitored by the driver. Whether or not window switching occurs depends on the active window screen, window size, and window position. Preferably, in this embodiment, if at least one of the window screen, the window size, and the window position is detected to change, it is determined that the window switching occurs.
  • the driver can control the current active window to take a screenshot and cache it, and record the time information of the screenshot. If the active window switches to another window or its size, location sends a change, the driver will control the window shot again.
  • obtaining the location information of the current active window in the multi-screen initiating terminal screen in the step includes: acquiring a screen resolution of the multi-screen initiating terminal, and a position coordinate of the current active window in the multi-screen initiating terminal screen.
  • the window position information corresponding to the window image includes a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
  • S23 Send window screenshot information of the multi-screen initiating terminal to the corresponding hybrid device, where the window screenshot information includes a window image, corresponding window location information, and a timestamp.
  • the method before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device, the method further includes the step of performing image encoding on the obtained window image.
  • the window screenshot information includes the encoded window image information.
  • the image of the active window image is encoded by the h264 encoding technology, and then transmitted together with the window position information and the time stamp to reduce the amount of communication data and improve the communication speed.
  • the present invention also provides an apparatus for implementing multi-screen interaction, which can be used to perform the above-described method for realizing multi-screen interaction.
  • an apparatus for implementing multi-screen interaction which can be used to perform the above-described method for realizing multi-screen interaction.
  • the illustrated structure does not constitute a limitation on the device, and may include More or fewer parts than the illustration, or a combination of some parts, or a different part arrangement.
  • FIG. 6 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to an embodiment of the present invention. As shown in FIG. 6, the apparatus for implementing multi-screen interaction in this embodiment includes: an image receiving module 310, an image mixing module 320, and a sending Module 330, each module is detailed as follows:
  • the image receiving module 310 is configured to receive window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
  • the window location information includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
  • the image mixing module 320 is configured to draw the received multi-path window image to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, where the multi-way window image is presented in a layered form;
  • the sending module 330 is configured to send the composite display screen to the corresponding display device to display the composite display screen on the display device end.
  • the image mixing module 320 includes:
  • An information extraction sub-module configured to extract a window image, a window position information, and a time stamp included in the received screenshot information of each window;
  • a sorting sub-module for sorting the multi-way window images according to the timestamps from near to far, so that the window images in which the time stamps are closer are sorted earlier;
  • a mixing sub-module configured to sequentially draw each window image to the cache according to the window position information and before and after the sorting, to obtain a corresponding composite display image, wherein the top-ranked window image is presented at the top layer of the composite display screen.
  • the two-way window image is synthesized, and the obtained composite display screen effect can be referred to FIG. 4; wherein, the screen 1 is the active window screen of the multi-screen initiating terminal 1, and the screen 2 is the active window screen of the multi-screen initiating terminal 2. And the time stamp of the window image corresponding to the active window screen of the multi-screen initiating terminal 2 is closer.
  • mixing submodule may include:
  • a decoding unit for decoding each window image to obtain corresponding image data; for example, h264 (standard writing method should be H.264, a highly compressed digital video codec standard) decoding technology can be used for each window image
  • Decoding obtain the YUV stream data corresponding to each window image (the color image signal is subjected to color separation, respectively amplified and corrected to obtain RGB, and then obtained by the matrix conversion circuit, including the luminance signal Y and the two color difference signals B-Y (ie U), R-Y (ie V) data).
  • a mixing unit configured to sequentially draw each window image to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
  • the sending module 310 includes:
  • a storage submodule configured to store the composite display screen in a preset display queue
  • a sending submodule configured to sequentially send the composite display screen in the display queue to the corresponding display device to display the composite display screen on the display device end.
  • FIG. 7 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to another embodiment; as shown in FIG. 7, the apparatus for implementing multi-screen interaction in this embodiment may be a computer, and the apparatus includes: a window monitoring module 410, and a window.
  • the screenshot module 420 and the screenshot sending module 430 are detailed as follows:
  • the window monitoring module 410 is configured to monitor an active window of the multi-screen initiating terminal, and determine whether a window switching occurs according to the window screen, the window size, and the window position;
  • the window capture module 420 is configured to determine that a window switch occurs, take a screenshot of the current active window, and obtain a corresponding window image; and time information for recording the screenshot, as a time stamp corresponding to the window image;
  • the position information of the active window in the multi-screen launch terminal screen is used as the window position information corresponding to the window image;
  • the acquiring location information of the current active window in the screen of the multi-screen initiating terminal includes: acquiring a screen resolution of the multi-screen initiating terminal, and a position coordinate of the current active window in the multi-screen initiating terminal screen.
  • the screenshot sending module 430 is configured to send window screenshot information of the multi-screen initiating terminal to the corresponding mixing device, where the window screenshot information includes a window image, corresponding window position information, and a time stamp.
  • the screenshot sending module 430 is further configured to perform image encoding on the obtained window image before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device.
  • the image of the active window image is encoded by the h264 encoding technology, and then transmitted together with the window position information and the time stamp to reduce the amount of communication data and improve the communication speed.
  • the apparatus for implementing multi-screen interaction may further include a connection module, configured to establish a connection between the multi-screen initiation terminal and the hybrid device, and a system for initiating the terminal on the multi-screen after the connection is established.
  • a driver corresponding to the hybrid device is installed in the middle.
  • the window monitoring module 310 can monitor the active window of the multi-screen initiating terminal by using the driver, and if it is detected that at least one of the window screen, the window size, and the window position changes, it is determined that the window switching occurs.
  • each functional module is merely an example, and the actual application may be considered according to requirements, for example, for configuration requirements of corresponding hardware or convenience of implementation of software.
  • the above function assignment is performed by different functional modules, that is, the internal structure of the device for realizing multi-screen interaction is divided into different functional modules to complete all or part of the functions described above.
  • Each function module can be implemented in the form of hardware or in the form of a software function module.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Digital Computer Display Output (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method and an apparatus for implementing a multi-screen interaction. The method comprises: receiving window screenshot information transmitted by a multi-screen initiating terminal (S11), wherein the window screenshot information comprises window images, window position information corresponding to the window images and a timestamp; writing the received multiple window images into a cache according to the window position information and the timestamp to obtain a corresponding synthetic display picture (S12), wherein the multiple window images in the synthetic display picture are presented in a hierarchical form; and transmitting the synthetic display picture to a corresponding display device (S13) so as to display the synthetic display picture at the display device. The method and the apparatus can display the window pictures of a plurality of multi-screen initiating terminals simultaneously on one display device, so that there are no screen-split issues resulting from different system platforms of the multi-screen initiating terminals.

Description

实现多屏互动的方法及装置Method and device for realizing multi-screen interaction 技术领域Technical field
本发明涉及多屏互动技术领域,特别是涉及实现多屏互动的方法及装置。The present invention relates to the field of multi-screen interaction technology, and in particular to a method and apparatus for implementing multi-screen interaction.
背景技术Background technique
多屏互动指的是在不同系统平台设备上同时共享展示内容的技术。即几种设备通过专门的连接设备连接之后,可在设备之间同时进行内容(音频、视频、图片等文件)的展示、控制等操作。比如手机上的电影可以在电视上播放,平板、电脑上的图片可以在电视上展示。Multi-screen interaction refers to the technology of sharing presentation content on different system platform devices. That is, after several devices are connected through a dedicated connection device, operations such as display (such as audio, video, and picture) can be simultaneously performed between the devices. For example, a movie on a mobile phone can be played on a television, and a picture on a tablet or a computer can be displayed on a television.
现有的多屏互动系统结构如图1所示,手机、PC等多屏发起设备通过VGA(Video Graphics Array)方式与一个带TV功能的Android系统设备(作为连接设备)连接,所述带TV功能的Android系统设备还通过VGA方式与显示器连接。通过该带TV功能的Android系统设备,可实现将手机、PC等多屏发起设备端显示的内容在同一台显示器上显示。The structure of the existing multi-screen interactive system is as shown in FIG. 1. A multi-screen initiating device such as a mobile phone or a PC is connected to an Android system device (as a connecting device) with a TV function by a VGA (Video Graphics Array) method, and the TV is connected. The functional Android system device is also connected to the display via VGA. Through the Android system device with TV function, it is possible to display the content displayed by the multi-screen initiator device such as a mobile phone or a PC on the same display.
基于现有多屏互动系统,其实质是在显示器上显示其他系统设备的整个屏幕画面,并且还存在以下问题:Based on the existing multi-screen interactive system, the essence is to display the entire screen of other system devices on the display, and the following problems exist:
硬件成本高,需要拥有完整功能的Android主板的连接设备;以及,显示器上显示的是其他多屏发起设备的整个屏幕画面,显示器端存在由不同系统导致的割裂问题。The hardware cost is high, and the connected device of the Android motherboard with full function is needed; and the entire screen of the other multi-screen initiating device is displayed on the display, and the splitting problem caused by different systems exists on the display end.
发明内容Summary of the invention
基于此,本发明实施例提供一种实现多屏互动的方法及装置,能够在一台显示设备上同时显示多台多屏发起终端的窗口画面,不存在由多屏发起终端的 不同系统平台导致的割裂问题。Based on this, an embodiment of the present invention provides a method and device for implementing multi-screen interaction, which can simultaneously display window screens of multiple multi-screen initiating terminals on one display device, and there is no multi-screen initiating terminal. Splitting problems caused by different system platforms.
本发明一方面提供一种实现多屏互动的方法,包括:An aspect of the present invention provides a method for implementing multi-screen interaction, including:
接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;Receiving window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;The received multi-way window image is drawn to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。The composite display screen is transmitted to the corresponding display device to display the composite display screen on the display device side.
优选的,所述根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,包括:Preferably, the drawing the received multi-way window image to the cache according to the window position information and the time stamp to obtain a corresponding composite display screen, including:
提取接收到的每路窗口截图信息包含的窗口图像、窗口位置信息和时间戳,根据时间戳由近到远的顺序对多路窗口图像进行排序,使其中时间戳越近的窗口图像排序越前;Extracting the window image, window position information and time stamp included in the received screenshot information of each window, sorting the multi-way window images according to the timestamp from near to far, so that the window images with the closer time stamps are sorted earlier;
根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,其中,排序最前的窗口图像呈现在所述合成显示画面的最顶层。The respective window images are sequentially drawn to the cache according to the window position information and before and after the sorting to obtain a corresponding composite display screen, wherein the top-ranked window image is presented at the topmost layer of the composite display screen.
优选的,所述根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,包括:Preferably, the drawing, according to the window position information and the sequential window images, to the cache, to obtain a corresponding composite display screen, comprising:
解码每路窗口图像,得到对应的图像数据;根据排序前后、窗口位置信息以及所述图像数据依次绘制各路窗口图像到缓存,得到对应的合成显示画面。Decoding each window image to obtain corresponding image data; sequentially drawing each window image to the buffer according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
优选的,所述向对应的显示设备发送所述合成显示画面,包括:Preferably, the sending the composite display screen to the corresponding display device comprises:
将所述合成显示画面存储到预设的显示队列中,依次发送所述显示队列中的合成显示画面到对应的显示设备。 The composite display screen is stored in a preset display queue, and the composite display screen in the display queue is sequentially sent to the corresponding display device.
优选的,所述窗口位置信息包括:对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。Preferably, the window location information includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
本发明还提供一种实现多屏互动的方法,包括:The invention also provides a method for implementing multi-screen interaction, comprising:
监控多屏发起终端的活动窗口,根据窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换;Monitoring the active window of the multi-screen initiating terminal, and determining whether window switching occurs according to the window screen, the window size, and the window position;
确定发生窗口切换,对当前活动窗口进行截图,得到对应的窗口图像;并记录截图的时间信息,作为所述窗口图像对应的时间戳,获取当前活动窗口在多屏发起终端屏幕中的位置信息,作为所述窗口图像对应的窗口位置信息;Determining the occurrence of a window switch, taking a screenshot of the current active window, and obtaining a corresponding window image; and recording the time information of the screenshot as the time stamp corresponding to the window image, and obtaining the position information of the current active window in the screen of the multi-screen launching terminal, Window position information corresponding to the window image;
向对应的混合设备发送所述多屏发起终端的窗口截图信息,所述窗口截图信息包括窗口图像、对应的窗口位置信息以及时间戳。Sending window screenshot information of the multi-screen originating terminal to the corresponding hybrid device, the window screenshot information including a window image, corresponding window position information, and a time stamp.
优选的,所述向对应的混合设备发送所述多屏发起终端的窗口截图信息,之前包括:Preferably, the sending, to the corresponding hybrid device, the window screenshot information of the multi-screen initiating terminal, which previously includes:
对得到的窗口图像进行图像编码,所述窗口截图信息中包含编码后的窗口图像信息。The obtained window image is image-encoded, and the window screenshot information includes the encoded window image information.
优选的,还包括:建立多屏发起终端与混合设备之间的连接,以及在连接建立之后,在所述多屏发起终端的系统中安装与所述混合设备对应的驱动程序;Preferably, the method further includes: establishing a connection between the multi-screen initiating terminal and the hybrid device, and installing a driver corresponding to the hybrid device in the system of the multi-screen initiating terminal after the connection is established;
所述监控多屏发起终端的活动窗口,根据活动窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换,包括:The monitoring multi-screen initiates an active window of the terminal, and determines whether a window switch occurs according to the active window screen, the window size, and the window position, including:
通过所述驱动程序监控多屏发起终端的活动窗口,若检测到窗口画面、窗口尺寸、窗口位置中至少一项发生变化,则判断为发生窗口切换。The active window of the multi-screen initiating terminal is monitored by the driver, and if at least one of the window screen, the window size, and the window position is detected to be changed, it is determined that the window switching occurs.
优选的,所述获取当前活动窗口在多屏发起终端屏幕中的位置信息,包括:Preferably, the acquiring the location information of the current active window in the screen of the multi-screen initiation terminal includes:
获取多屏发起终端的屏幕分辨率,以及当前活动窗口在多屏发起终端屏幕中的位置坐标。 Obtain the screen resolution of the multi-screen initiating terminal and the position coordinates of the current active window in the multi-screen initiating terminal screen.
本发明还提供一种实现多屏互动的装置,包括:The invention also provides an apparatus for implementing multi-screen interaction, comprising:
图像接收模块,用于接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;An image receiving module, configured to receive window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
图像混合模块,用于根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;An image mixing module, configured to draw the received multi-way window image to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
发送模块,用于向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。And a sending module, configured to send the composite display screen to the corresponding display device to display the composite display screen on the display device end.
优选的,所述图像混合模块包括:Preferably, the image mixing module comprises:
信息提取子模块,用于提取接收到的每路窗口截图信息包含的窗口图像、窗口位置信息和时间戳;An information extraction sub-module, configured to extract a window image, a window position information, and a time stamp included in the received screenshot information of each window;
排序子模块,用于根据时间戳由近到远的顺序对多路窗口图像进行排序,使其中时间戳越近的窗口图像排序越前;a sorting sub-module for sorting the multi-way window images according to the timestamps from near to far, so that the window images in which the time stamps are closer are sorted earlier;
混合子模块,用于根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,其中,排序最前的窗口图像呈现在所述合成显示画面的最顶层。The mixing sub-module is configured to sequentially draw each window image to the cache according to the window position information and before and after the sorting, to obtain a corresponding composite display image, wherein the top-ranked window image is presented at the top layer of the composite display screen.
优选的,所述混合子模块包括:Preferably, the hybrid submodule comprises:
解码单元,用于解码每路窗口图像,得到对应的图像数据;a decoding unit, configured to decode each window image to obtain corresponding image data;
混合单元,用于根据排序前后、窗口位置信息以及所述图像数据依次绘制各路窗口图像到缓存,得到对应的合成显示画面。The mixing unit is configured to sequentially draw each window image to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
优选的,所述发送模块包括:Preferably, the sending module includes:
存储子模块,用于将所述合成显示画面存储到预设的显示队列中;a storage submodule, configured to store the composite display screen in a preset display queue;
发送子模块,用于依次发送所述显示队列中的合成显示画面到对应的显示 设备。a sending submodule, configured to sequentially send the composite display screen in the display queue to a corresponding display device.
优选的,所述窗口位置信息包括:对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。Preferably, the window location information includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
本发明还提供一种实现多屏互动的装置,包括:The invention also provides an apparatus for implementing multi-screen interaction, comprising:
窗口监控模块,用于监控多屏发起终端的活动窗口,根据窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换;a window monitoring module, configured to monitor an active window of the multi-screen initiating terminal, and determine whether a window switching occurs according to the window screen, the window size, and the window position;
窗口截图模块,用于确定发生窗口切换,对当前活动窗口进行截图,得到对应的窗口图像;以及用于记录截图的时间信息,作为所述窗口图像对应的时间戳;以及用于获取当前活动窗口在多屏发起终端屏幕中的位置信息,作为所述窗口图像对应的窗口位置信息;a window capture module, configured to determine that a window switch occurs, take a screenshot of the current active window, obtain a corresponding window image; and time information for recording the screenshot, as a time stamp corresponding to the window image; and for acquiring a current active window Positioning information in the screen of the multi-screen is displayed as window position information corresponding to the window image;
截图发送模块,用于向对应的混合设备发送所述多屏发起终端的窗口截图信息,所述窗口截图信息包括窗口图像、对应的窗口位置信息以及时间戳。The screenshot sending module is configured to send window screenshot information of the multi-screen initiating terminal to the corresponding hybrid device, where the window screenshot information includes a window image, corresponding window position information, and a time stamp.
优选的,所述截图发送模块,还用于在向对应的混合设备发送所述多屏发起终端的窗口截图信息之前,对得到的窗口图像进行图像编码。Preferably, the screenshot sending module is further configured to perform image encoding on the obtained window image before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device.
优选的,所述的实现多屏互动的装置还包括:连接模块,用于建立多屏发起终端与混合设备之间的连接,以及在连接建立之后,在所述多屏发起终端的系统中安装与所述混合设备对应的驱动程序;Preferably, the device for implementing multi-screen interaction further includes: a connection module, configured to establish a connection between the multi-screen initiating terminal and the hybrid device, and install in the system of the multi-screen initiating terminal after the connection is established. a driver corresponding to the hybrid device;
所述窗口监控模块,用于通过所述驱动程序监控多屏发起终端的活动窗口,若检测到窗口画面、窗口尺寸、窗口位置中至少一项发生变化,则判断为发生窗口切换。The window monitoring module is configured to monitor, by the driver, an active window of the multi-screen initiating terminal, and if at least one of the window screen, the window size, and the window position is detected to change, it is determined that the window switching occurs.
优选的,所述获取当前活动窗口在多屏发起终端屏幕中的位置信息,包括:Preferably, the acquiring the location information of the current active window in the screen of the multi-screen initiation terminal includes:
获取多屏发起终端的屏幕分辨率,以及当前活动窗口在多屏发起终端屏幕中的位置坐标。 Obtain the screen resolution of the multi-screen initiating terminal and the position coordinates of the current active window in the multi-screen initiating terminal screen.
上述技术方案,通过接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。本发明上述实施例的方案,能够在一台显示设备上同时显示多台多屏发起终端的窗口画面,不存在由多屏发起终端的不同系统平台导致的割裂问题,提高了显示器的利用率;并且实现的硬件成本低,以及解决了将多屏发起终端的整个屏幕画面全部显示到显示设备上、导致显示设备端存在画面割裂的问题。The above technical solution, by receiving the window shot information sent by the multi-screen initiation terminal, the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image; and the received according to the window position information and the time stamp The multiplexed window image is drawn to the cache to obtain a corresponding composite display screen, wherein the multiplexed window image is presented in a layered form; the composite display screen is sent to the corresponding display device to be at the display device end The composite display screen is displayed. The solution of the foregoing embodiment of the present invention can simultaneously display window images of multiple multi-screen initiating terminals on one display device, and there is no fragmentation problem caused by different system platforms of the multi-screen initiating terminal, thereby improving the utilization ratio of the display; Moreover, the hardware cost is low, and the problem that all the screens of the multi-screen initiating terminal are displayed on the display device is solved, resulting in a screen splitting on the display device end.
附图说明DRAWINGS
图1为传统多屏互动系统的示意图。Figure 1 is a schematic diagram of a conventional multi-screen interactive system.
图2为一实施例的本发明方案的工作环境示意图;2 is a schematic diagram of a working environment of an embodiment of the present invention;
图3为一实施例的实现多屏互动的方法的示意性流程图;FIG. 3 is a schematic flowchart of a method for implementing multi-screen interaction according to an embodiment; FIG.
图4为一实施例的合成显示画面的示意图;4 is a schematic diagram of a composite display screen of an embodiment;
图5为另一实施例的实现多屏互动的方法的示意性流程图;FIG. 5 is a schematic flowchart of a method for implementing multi-screen interaction according to another embodiment; FIG.
图6为一实施例的实现多屏互动的装置的示意性结构图;6 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to an embodiment;
图7为另一实施例的实现多屏互动的装置的示意性结构图。FIG. 7 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to another embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图2示出了本发明一实施例的工作环境示意图,包括:至少两个多屏发起终端100,多屏发起终端指的是,在多屏互动中可控制将本端屏幕显示信息显示到其他终端屏幕上的设备,以PC为例。每个多屏发起终端100可通过USB方式与预设的混合设备200连接,混合设备指的是,可由多路窗口图像得到合成显示画面的中间设备,所述混合设备200可以有2个或更多个USB输入口供多屏发起终端连接;所述混合设备200还通过VGA或者HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)等方式连接一显示设备300。各个多屏发起终端100均可通过所述混合设备200将其活动窗口画面扩屏显示到所述显示设备300。2 is a schematic diagram of a working environment according to an embodiment of the present invention, including: at least two multi-screen initiating terminals 100, wherein the multi-screen initiating terminal can control the display of the local screen display information to other in the multi-screen interaction. The device on the terminal screen takes a PC as an example. Each multi-screen initiating terminal 100 can be connected to a preset mixing device 200 by a USB method, and the hybrid device refers to an intermediate device that can obtain a composite display screen from a multi-way window image, and the mixing device 200 can have two or more The plurality of USB input ports are connected to the multi-screen initiating terminal; the hybrid device 200 is also connected to a display device 300 by means of VGA or HDMI (High Definition Multimedia Interface). Each of the multi-screen initiating terminals 100 can display its active window screen to the display device 300 through the mixing device 200.
结合图2所示的示意图,以下对实现多屏互动的方法及装置的各实施例进行说明。In conjunction with the schematic diagram shown in FIG. 2, various embodiments of a method and apparatus for implementing multi-screen interaction are described below.
图3为一实施例的实现多屏互动的方法的示意性流程图;在该实施例中,是以该方法应用于所述混合设备为例进行说明。FIG. 3 is a schematic flowchart of a method for implementing multi-screen interaction according to an embodiment; in this embodiment, the method is applied to the hybrid device as an example for description.
如图3所示,本实施例中的实现多屏互动的方法包括步骤:As shown in FIG. 3, the method for implementing multi-screen interaction in this embodiment includes the following steps:
S11,接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;S11, receiving window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
本实施例中的窗口位置信息包括:对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。通过屏幕分辨率和屏幕中的位置坐标,可确定被截图的窗口在多屏发起终端屏幕中的位置。The window position information in this embodiment includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen. Through the screen resolution and the position coordinates in the screen, the position of the screen being screened in the multi-screen launch terminal screen can be determined.
S12,根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;S12, the received multi-path window image is drawn to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
该步骤的实现方式可包括:提取接收到的每路窗口截图信息包含的窗口图像、窗口位置信息和时间戳,根据时间戳由近到远的顺序对多路窗口图像进行排序,使其中时间戳越近的窗口图像排序越前。本实施例中,时间戳的近远是 以当前时间为参照,目的是使接收到的多路图像中时间戳与当前时间距离越近的窗口图像排序越前。然后,根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,其中,排序最前的窗口图像呈现在所述合成显示画面的最顶层。The implementation of the step may include: extracting the window image, the window position information, and the timestamp included in the received screenshot information of each window, and sorting the multiple window images according to the timestamp from the near to far, and making the timestamp The closer the window image is, the more advanced it is. In this embodiment, the near time of the time stamp is Taking the current time as a reference, the purpose is to sort the window images whose time stamps are closer to the current time in the received multi-path image. Then, the respective window images are sequentially drawn to the cache according to the window position information and before and after the sorting to obtain a corresponding composite display screen, wherein the top-ranked window image is presented at the top layer of the composite display screen.
优选的,对接收到的两路窗口图像进行合成,得到的合成显示画面效果可参考图4所示;其中,画面1为多屏发起终端1的活动窗口画面,画面2为多屏发起终端2的活动窗口画面,且多屏发起终端2的活动窗口画面对应的窗口图像的时间戳更近。Preferably, the received two-way window image is synthesized, and the obtained composite display screen effect can be referred to FIG. 4; wherein, the screen 1 is the active window screen of the multi-screen initiation terminal 1, and the screen 2 is the multi-screen initiation terminal 2 The active window screen, and the time stamp of the window image corresponding to the active window screen of the multi-screen initiating terminal 2 is closer.
作为一优选实施方式,为了提高传输效率,步骤S11中接收到的窗口图像为经过编码的图像。对应的,在步骤S12中,首先需解码每路窗口图像,得到对应的图像数据。例如,可采用h264(标准写法应该是H.264,一种高度压缩数字视频编解码器标准)解码技术对每路窗口图像进行解码,得到每路窗口图像对应的YUV流数据(把彩色图像信号经分色,分别放大校正后得到RGB,再经过矩阵变换电路得到的、包含亮度信号Y和两个色差信号B-Y(即U)、R-Y(即V)的数据)。然后根据排序前后、窗口位置信息以及所述图像数据依次绘制各路窗口图像到缓存,得到对应的合成显示画面。As a preferred embodiment, in order to improve transmission efficiency, the window image received in step S11 is an encoded image. Correspondingly, in step S12, each window image is first decoded to obtain corresponding image data. For example, h264 (standard writing method should be H.264, a highly compressed digital video codec standard) decoding technology can be used to decode each window image to obtain YUV stream data corresponding to each window image (color image signal) After color separation, the RGB is respectively amplified and corrected, and then the luminance signal Y and the two color difference signals B-Y (i.e., U) and R-Y (i.e., V) are obtained by the matrix conversion circuit. Then, each window image is sequentially drawn to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
S13,向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。S13. Send the composite display screen to a corresponding display device to display the composite display screen on the display device end.
优选的,可将得到的合成显示画面存储到混合设备预设的显示队列中,按照队列的先进先出原则依次发送所述显示队列中的合成显示画面到对应的显示设备;并且,各路窗口图像在显示设备屏幕上的位置与对应多屏发起终端屏幕中的窗口位置相对应。Preferably, the obtained composite display screen is stored in a display queue preset by the mixing device, and the composite display screen in the display queue is sequentially sent to the corresponding display device according to the first-in-first-out principle of the queue; and each window is The position of the image on the screen of the display device corresponds to the position of the window in the screen of the corresponding multi-screen originating terminal.
基于上述实施例的实现多屏互动的方法,下面给出了两个实现多屏互动的 应用场景:Based on the above method for implementing multi-screen interaction, two methods for implementing multi-screen interaction are given below. Application scenario:
场景1,用户各自都带着笔记本电脑去开会,会上需要把个人笔记本电脑上的内容显示到一个大屏显示器上。这时,可以将多台的笔记本电脑连接到混合设备上,然后将混合设备连接到上述大屏显示器上,基于此系统结构,在大屏显示器便可同时对多台的笔记本电脑的活动窗口进行显示。进一步的,当某一笔记本电脑的活动窗口发现切换时,在大屏显示器上则会将该次切换后的画面显示在最顶层,就像是在切换两个程序窗口而已,实现了在多个窗口画面之间任意切换的效果。Scenario 1, the users each take a laptop to a meeting, and the content on the personal laptop needs to be displayed on a large screen display. At this time, multiple laptops can be connected to the hybrid device, and then the hybrid device can be connected to the above-mentioned large-screen display. Based on the system structure, the active window of multiple laptops can be simultaneously performed on the large-screen display. display. Further, when the active window of a certain laptop is found to be switched, on the large-screen display, the screen after the switching is displayed at the top layer, just like switching two program windows, and implementing multiple The effect of switching between window screens.
场景2,用户各自带着笔记本电脑去开会,会上有两份文件需要向大家对比展示,但这两份文件分别在不同用户的电脑。这时,只要将两台电脑连接到混合设备,便可在大屏显示器便同时对两台的笔记本电脑的文件进行展示;并且大屏显示器上展示的各个文件窗口的位置与其在笔记本电脑屏幕上的位置对应。In scenario 2, the users each took the laptop to the meeting. There were two documents to be displayed to everyone, but the two files were on different users' computers. At this time, as long as the two computers are connected to the hybrid device, the files of the two laptops can be displayed simultaneously on the large-screen display; and the position of each file window displayed on the large-screen display is on the screen of the laptop. The location corresponds.
通过上述实施例的实现多屏互动的方法,使用一个外置的混合设备将多个多屏发起终端的窗口画面显示在同一显示设备上,实现成本低;同时,还可根据用户操作实现显示设备端的窗口切换。由此提高了显示器的利用率,以及解决了将多屏发起终端的整个屏幕画面全部显示到显示设备上、导致显示设备端存在画面割裂的问题。Through the method for implementing multi-screen interaction in the above embodiment, an external hybrid device is used to display window images of multiple multi-screen initiating terminals on the same display device, thereby achieving low cost; meanwhile, the display device can be implemented according to user operations. End window switching. Thereby, the utilization of the display is improved, and the problem that all the screens of the multi-screen initiating terminal are displayed on the display device and the screen is split at the display device end is solved.
图5为另一实施例的实现多屏互动的方法的示意性流程图;在该实施例中,是以应用于多屏发起终端为例进行说明。FIG. 5 is a schematic flowchart of a method for implementing multi-screen interaction in another embodiment; in this embodiment, an example is applied to a multi-screen initiating terminal.
如图5所示,本实施例中的实现多屏互动的方法包括步骤:As shown in FIG. 5, the method for implementing multi-screen interaction in this embodiment includes the following steps:
S21,监控多屏发起终端的活动窗口,根据窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换;S21: monitoring an active window of the multi-screen initiating terminal, and determining whether a window switching occurs according to the window screen, the window size, and the window position;
作为一优选实施方式,本步骤之前还包括建立多屏发起终端与混合设备之 间的连接的步骤;参考图2,所述连接可为USB连接。As a preferred implementation, before this step, the method further includes establishing a multi-screen initiator terminal and a hybrid device. The step of the connection; referring to FIG. 2, the connection may be a USB connection.
此外,本实施例中在所述连接建立之后,在所述多屏发起终端的系统中自动安装与所述混合设备对应的驱动程序;然后通过所述驱动程序监控多屏发起终端的活动窗口,根据活动窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换。优选的,本实施例中若检测到窗口画面、窗口尺寸、窗口位置中至少一项发生变化,则判断为发生窗口切换。In addition, in this embodiment, after the connection is established, a driver corresponding to the hybrid device is automatically installed in the system of the multi-screen initiating terminal; and then the active window of the multi-screen initiating terminal is monitored by the driver. Whether or not window switching occurs depends on the active window screen, window size, and window position. Preferably, in this embodiment, if at least one of the window screen, the window size, and the window position is detected to change, it is determined that the window switching occurs.
S22,确定发生窗口切换,对当前活动窗口进行截图,得到对应的窗口图像;并记录截图的时间信息,作为所述窗口图像对应的时间戳,获取当前活动窗口在多屏发起终端屏幕中的位置信息,作为所述窗口图像对应的窗口位置信息;S22, determining that a window switch occurs, taking a screenshot of the current active window, and obtaining a corresponding window image; and recording time information of the screenshot, as a timestamp corresponding to the window image, obtaining a position of the current active window in the screen of the multi-screen launch terminal Information as window position information corresponding to the window image;
确定发生窗口切换,所述驱动程序可控制对当前活动窗口进行截图并缓存起来,记录截图的时间信息。如果活动窗口切换为其它窗口或者其尺寸、位置发送改变,所述驱动程序将再次控制进行窗口截图。To determine that a window switch occurs, the driver can control the current active window to take a screenshot and cache it, and record the time information of the screenshot. If the active window switches to another window or its size, location sends a change, the driver will control the window shot again.
优选的,本步骤中获取当前活动窗口在多屏发起终端屏幕中的位置信息具体包括:获取多屏发起终端的屏幕分辨率,以及当前活动窗口在多屏发起终端屏幕中的位置坐标。对应的,窗口图像对应的窗口位置信息包括对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。Preferably, obtaining the location information of the current active window in the multi-screen initiating terminal screen in the step includes: acquiring a screen resolution of the multi-screen initiating terminal, and a position coordinate of the current active window in the multi-screen initiating terminal screen. Correspondingly, the window position information corresponding to the window image includes a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
S23,向对应的混合设备发送所述多屏发起终端的窗口截图信息,所述窗口截图信息包括窗口图像、对应的窗口位置信息以及时间戳。S23. Send window screenshot information of the multi-screen initiating terminal to the corresponding hybrid device, where the window screenshot information includes a window image, corresponding window location information, and a timestamp.
优选的,向对应的混合设备发送所述多屏发起终端的窗口截图信息之前,还包括对得到的窗口图像进行图像编码的步骤。对应的,所述窗口截图信息中包含编码后的窗口图像信息。例如:采用h264编码技术对活动窗口图像进行图像编码,然后再和窗口位置信息以及时间戳一起传输,以减少通讯的数据量,提高通讯速度。 Preferably, before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device, the method further includes the step of performing image encoding on the obtained window image. Correspondingly, the window screenshot information includes the encoded window image information. For example, the image of the active window image is encoded by the h264 encoding technology, and then transmitted together with the window position information and the time stamp to reduce the amount of communication data and improve the communication speed.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。It should be noted that, for the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In accordance with the present invention, certain steps may be performed in other sequences or concurrently.
基于与上述实施例中的实现多屏互动的方法相同的思想,本发明还提供实现多屏互动的装置,该装置可用于执行上述实现多屏互动的方法。为了便于说明,实现多屏互动的装置实施例的结构示意图中,仅仅示出了与本发明实施例相关的部分,本领域技术人员可以理解,图示结构并不构成对装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same idea as the method for implementing multi-screen interaction in the above embodiment, the present invention also provides an apparatus for implementing multi-screen interaction, which can be used to perform the above-described method for realizing multi-screen interaction. For the convenience of the description, in the structural diagram of the device embodiment for implementing the multi-screen interaction, only the parts related to the embodiment of the present invention are shown. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the device, and may include More or fewer parts than the illustration, or a combination of some parts, or a different part arrangement.
图6为本发明一实施例的实现多屏互动的装置的示意性结构图;如图6所示,本实施例的实现多屏互动的装置包括:图像接收模块310、图像混合模块320以及发送模块330,各模块详述如下:FIG. 6 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to an embodiment of the present invention; as shown in FIG. 6, the apparatus for implementing multi-screen interaction in this embodiment includes: an image receiving module 310, an image mixing module 320, and a sending Module 330, each module is detailed as follows:
上述图像接收模块310,用于接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;The image receiving module 310 is configured to receive window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
优选的,所述窗口位置信息包括:对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。Preferably, the window location information includes: a screen resolution of the corresponding multi-screen initiating terminal, and a position coordinate of the window being screened in the multi-screen initiating terminal screen.
图像混合模块320,用于根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;The image mixing module 320 is configured to draw the received multi-path window image to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, where the multi-way window image is presented in a layered form;
发送模块330,用于向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。The sending module 330 is configured to send the composite display screen to the corresponding display device to display the composite display screen on the display device end.
作为一优选实施方式,所述图像混合模块320包括:As a preferred embodiment, the image mixing module 320 includes:
信息提取子模块,用于提取接收到的每路窗口截图信息包含的窗口图像、窗口位置信息和时间戳; An information extraction sub-module, configured to extract a window image, a window position information, and a time stamp included in the received screenshot information of each window;
排序子模块,用于根据时间戳由近到远的顺序对多路窗口图像进行排序,使其中时间戳越近的窗口图像排序越前;a sorting sub-module for sorting the multi-way window images according to the timestamps from near to far, so that the window images in which the time stamps are closer are sorted earlier;
以及,混合子模块,用于根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,其中,排序最前的窗口图像呈现在所述合成显示画面的最顶层。例如:对两路窗口图像进行合成,得到的合成显示画面效果可参考图4所示;其中,画面1为多屏发起终端1的活动窗口画面,画面2为多屏发起终端2的活动窗口画面,且多屏发起终端2的活动窗口画面对应的窗口图像的时间戳更近。And a mixing sub-module, configured to sequentially draw each window image to the cache according to the window position information and before and after the sorting, to obtain a corresponding composite display image, wherein the top-ranked window image is presented at the top layer of the composite display screen. For example, the two-way window image is synthesized, and the obtained composite display screen effect can be referred to FIG. 4; wherein, the screen 1 is the active window screen of the multi-screen initiating terminal 1, and the screen 2 is the active window screen of the multi-screen initiating terminal 2. And the time stamp of the window image corresponding to the active window screen of the multi-screen initiating terminal 2 is closer.
进一步的,所述混合子模块可包括:Further, the mixing submodule may include:
解码单元,用于解码每路窗口图像,得到对应的图像数据;例如,可采用h264(标准写法应该是H.264,一种高度压缩数字视频编解码器标准)解码技术对每路窗口图像进行解码,得到每路窗口图像对应的YUV流数据(把彩色图像信号经分色,分别放大校正后得到RGB,再经过矩阵变换电路得到的、包含亮度信号Y和两个色差信号B-Y(即U)、R-Y(即V)的数据)。a decoding unit for decoding each window image to obtain corresponding image data; for example, h264 (standard writing method should be H.264, a highly compressed digital video codec standard) decoding technology can be used for each window image Decoding, obtain the YUV stream data corresponding to each window image (the color image signal is subjected to color separation, respectively amplified and corrected to obtain RGB, and then obtained by the matrix conversion circuit, including the luminance signal Y and the two color difference signals B-Y (ie U), R-Y (ie V) data).
以及,混合单元,用于根据排序前后、窗口位置信息以及所述图像数据依次绘制各路窗口图像到缓存,得到对应的合成显示画面。And a mixing unit, configured to sequentially draw each window image to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
作为一优选实施方式,所述发送模块310包括:As a preferred implementation manner, the sending module 310 includes:
存储子模块,用于将所述合成显示画面存储到预设的显示队列中;a storage submodule, configured to store the composite display screen in a preset display queue;
以及,发送子模块,用于依次发送所述显示队列中的合成显示画面到对应的显示设备,以在所述显示设备端显示所述合成显示画面。And a sending submodule, configured to sequentially send the composite display screen in the display queue to the corresponding display device to display the composite display screen on the display device end.
图7为另一实施例的实现多屏互动的装置的示意性结构图;如图7所示,本实施例的实现多屏互动的装置可为电脑,该装置包括:窗口监控模块410、窗口截图模块420以及截图发送模块430,各模块详述如下: FIG. 7 is a schematic structural diagram of an apparatus for implementing multi-screen interaction according to another embodiment; as shown in FIG. 7, the apparatus for implementing multi-screen interaction in this embodiment may be a computer, and the apparatus includes: a window monitoring module 410, and a window. The screenshot module 420 and the screenshot sending module 430 are detailed as follows:
上述窗口监控模块410,用于监控多屏发起终端的活动窗口,根据窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换;The window monitoring module 410 is configured to monitor an active window of the multi-screen initiating terminal, and determine whether a window switching occurs according to the window screen, the window size, and the window position;
上述窗口截图模块420,用于确定发生窗口切换,对当前活动窗口进行截图,得到对应的窗口图像;以及用于记录截图的时间信息,作为所述窗口图像对应的时间戳;以及用于获取当前活动窗口在多屏发起终端屏幕中的位置信息,作为所述窗口图像对应的窗口位置信息;The window capture module 420 is configured to determine that a window switch occurs, take a screenshot of the current active window, and obtain a corresponding window image; and time information for recording the screenshot, as a time stamp corresponding to the window image; The position information of the active window in the multi-screen launch terminal screen is used as the window position information corresponding to the window image;
本实施例中,所述获取当前活动窗口在多屏发起终端屏幕中的位置信息,包括:获取多屏发起终端的屏幕分辨率,以及当前活动窗口在多屏发起终端屏幕中的位置坐标。In this embodiment, the acquiring location information of the current active window in the screen of the multi-screen initiating terminal includes: acquiring a screen resolution of the multi-screen initiating terminal, and a position coordinate of the current active window in the multi-screen initiating terminal screen.
上述截图发送模块430,用于向对应的混合设备发送所述多屏发起终端的窗口截图信息,所述窗口截图信息包括窗口图像、对应的窗口位置信息以及时间戳。The screenshot sending module 430 is configured to send window screenshot information of the multi-screen initiating terminal to the corresponding mixing device, where the window screenshot information includes a window image, corresponding window position information, and a time stamp.
作为一优选实施方式,所述截图发送模块430,还用于在向对应的混合设备发送所述多屏发起终端的窗口截图信息之前,对得到的窗口图像进行图像编码。例如:采用h264编码技术对活动窗口图像进行图像编码,然后再和窗口位置信息以及时间戳一起传输,以减少通讯的数据量,提高通讯速度。As a preferred embodiment, the screenshot sending module 430 is further configured to perform image encoding on the obtained window image before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device. For example, the image of the active window image is encoded by the h264 encoding technology, and then transmitted together with the window position information and the time stamp to reduce the amount of communication data and improve the communication speed.
作为一优选实施方式,所述实现多屏互动的装置还可包括连接模块,用于建立多屏发起终端与混合设备之间的连接,以及在连接建立之后,在所述多屏发起终端的系统中安装与所述混合设备对应的驱动程序。对应的,所述窗口监控模块310可通过所述驱动程序监控多屏发起终端的活动窗口,若检测到窗口画面、窗口尺寸、窗口位置中至少一项发生变化,则判断为发生窗口切换。As a preferred implementation manner, the apparatus for implementing multi-screen interaction may further include a connection module, configured to establish a connection between the multi-screen initiation terminal and the hybrid device, and a system for initiating the terminal on the multi-screen after the connection is established. A driver corresponding to the hybrid device is installed in the middle. Correspondingly, the window monitoring module 310 can monitor the active window of the multi-screen initiating terminal by using the driver, and if it is detected that at least one of the window screen, the window size, and the window position changes, it is determined that the window switching occurs.
需要说明的是,上述示例的各实现多屏互动的装置的实施方式中,各模块/单元之间的信息交互、执行过程等内容,由于与本发明前述方法实施例基于同 一构思,其带来的技术效果与本发明前述方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that, in the implementation of the apparatus for implementing multi-screen interaction in the above examples, the information interaction, execution process, and the like between the modules/units are based on the foregoing method embodiments of the present invention. The technical effect of the present invention is the same as that of the foregoing method embodiment of the present invention. For details, refer to the description in the method embodiment of the present invention, and details are not described herein again.
此外,上述示例的各实现多屏互动的装置的实施方式中,各功能模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的功能模块完成,即将所述实现多屏互动的装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。其中各功能模既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, in the embodiments of the foregoing apparatus for implementing multi-screen interaction, the logical division of each functional module is merely an example, and the actual application may be considered according to requirements, for example, for configuration requirements of corresponding hardware or convenience of implementation of software. The above function assignment is performed by different functional modules, that is, the internal structure of the device for realizing multi-screen interaction is divided into different functional modules to complete all or part of the functions described above. Each function module can be implemented in the form of hardware or in the form of a software function module.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,作为独立的产品销售或使用。所述程序在执行时,可执行如上述各方法的实施例的全部或部分步骤。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。It will be understood by those skilled in the art that all or part of the processes in the above embodiments may be implemented by a computer program to instruct related hardware, and the program may be stored in a computer readable storage medium as Independent product sales or use. The program, when executed, may perform all or part of the steps of an embodiment of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are all focused, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
以上所述实施例仅表达了本发明的几种实施方式,不能理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-described embodiments are merely illustrative of several embodiments of the invention and are not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (18)

  1. 一种实现多屏互动的方法,其特征在于,包括:A method for implementing multi-screen interaction, characterized in that it comprises:
    接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;Receiving window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
    根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;The received multi-way window image is drawn to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
    向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。The composite display screen is transmitted to the corresponding display device to display the composite display screen on the display device side.
  2. 如权利要求1所述的实现多屏互动的方法,其特征在于,所述根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,包括:The method for implementing multi-screen interaction according to claim 1, wherein the drawing of the received multi-way window image to the cache according to the window position information and the time stamp, to obtain a corresponding composite display screen, comprising:
    提取接收到的每路窗口截图信息包含的窗口图像、窗口位置信息和时间戳,根据时间戳由近到远的顺序对多路窗口图像进行排序,使其中时间戳越近的窗口图像排序越前;Extracting the window image, window position information and time stamp included in the received screenshot information of each window, sorting the multi-way window images according to the timestamp from near to far, so that the window images with the closer time stamps are sorted earlier;
    根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,其中,排序最前的窗口图像呈现在所述合成显示画面的最顶层。The respective window images are sequentially drawn to the cache according to the window position information and before and after the sorting to obtain a corresponding composite display screen, wherein the top-ranked window image is presented at the topmost layer of the composite display screen.
  3. 如权利要求2所述的实现多屏互动的方法,其特征在于,所述根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,包括:The method for realizing multi-screen interaction according to claim 2, wherein the drawing of each window image to the cache according to the window position information and before and after sorting, to obtain a corresponding composite display screen, comprising:
    解码每路窗口图像,得到对应的图像数据;根据排序前后、窗口位置信息以及所述图像数据依次绘制各路窗口图像到缓存,得到对应的合成显示画面。Decoding each window image to obtain corresponding image data; sequentially drawing each window image to the buffer according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
  4. 如权利要求1所述的实现多屏互动的方法,其特征在于,所述向对应的 显示设备发送所述合成显示画面,包括:A method of implementing multi-screen interaction as claimed in claim 1, wherein said corresponding The display device sends the composite display screen, including:
    将所述合成显示画面存储到预设的显示队列中,依次发送所述显示队列中的合成显示画面到对应的显示设备。The composite display screen is stored in a preset display queue, and the composite display screen in the display queue is sequentially sent to the corresponding display device.
  5. 如权利要求1所述的实现多屏互动的方法,其特征在于,所述窗口位置信息包括:对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。The method for implementing multi-screen interaction according to claim 1, wherein the window position information comprises: a screen resolution of the corresponding multi-screen initiating terminal, and a position of the screen being screened in the multi-screen initiating terminal screen. coordinate.
  6. 一种实现多屏互动的方法,其特征在于,包括:A method for implementing multi-screen interaction, characterized in that it comprises:
    监控多屏发起终端的活动窗口,根据窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换;Monitoring the active window of the multi-screen initiating terminal, and determining whether window switching occurs according to the window screen, the window size, and the window position;
    确定发生窗口切换,对当前活动窗口进行截图,得到对应的窗口图像;并记录截图的时间信息,作为所述窗口图像对应的时间戳,获取当前活动窗口在多屏发起终端屏幕中的位置信息,作为所述窗口图像对应的窗口位置信息;Determining the occurrence of a window switch, taking a screenshot of the current active window, and obtaining a corresponding window image; and recording the time information of the screenshot as the time stamp corresponding to the window image, and obtaining the position information of the current active window in the screen of the multi-screen launching terminal, Window position information corresponding to the window image;
    向对应的混合设备发送所述多屏发起终端的窗口截图信息,所述窗口截图信息包括窗口图像、对应的窗口位置信息以及时间戳。Sending window screenshot information of the multi-screen originating terminal to the corresponding hybrid device, the window screenshot information including a window image, corresponding window position information, and a time stamp.
  7. 如权利要求6所述的实现多屏互动的方法,其特征在于,所述向对应的混合设备发送所述多屏发起终端的窗口截图信息,之前包括:The method for implementing multi-screen interaction according to claim 6, wherein the sending the window screenshot information of the multi-screen initiating terminal to the corresponding hybrid device comprises:
    对得到的窗口图像进行图像编码,所述窗口截图信息中包含编码后的窗口图像信息。The obtained window image is image-encoded, and the window screenshot information includes the encoded window image information.
  8. 如权利要求6所述的实现多屏互动的方法,其特征在于,还包括:建立多屏发起终端与混合设备之间的连接,以及在连接建立之后,在所述多屏发起终端的系统中安装与所述混合设备对应的驱动程序;The method for implementing multi-screen interaction according to claim 6, further comprising: establishing a connection between the multi-screen initiating terminal and the hybrid device, and after the connection is established, in the system of the multi-screen initiating terminal Installing a driver corresponding to the hybrid device;
    所述监控多屏发起终端的活动窗口,根据活动窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换,包括: The monitoring multi-screen initiates an active window of the terminal, and determines whether a window switch occurs according to the active window screen, the window size, and the window position, including:
    通过所述驱动程序监控多屏发起终端的活动窗口,若检测到窗口画面、窗口尺寸、窗口位置中至少一项发生变化,则判断为发生窗口切换。The active window of the multi-screen initiating terminal is monitored by the driver, and if at least one of the window screen, the window size, and the window position is detected to be changed, it is determined that the window switching occurs.
  9. 如权利要求6所述的实现多屏互动的方法,其特征在于,所述获取当前活动窗口在多屏发起终端屏幕中的位置信息,包括:The method for implementing the multi-screen interaction according to claim 6, wherein the obtaining the location information of the current active window in the screen of the multi-screen initiating terminal comprises:
    获取多屏发起终端的屏幕分辨率,以及当前活动窗口在多屏发起终端屏幕中的位置坐标。Obtain the screen resolution of the multi-screen initiating terminal and the position coordinates of the current active window in the multi-screen initiating terminal screen.
  10. 一种实现多屏互动的装置,其特征在于,包括:An apparatus for implementing multi-screen interaction, comprising:
    图像接收模块,用于接收多屏发起终端发送的窗口截图信息,所述窗口截图信息包括窗口图像、以及所述窗口图像对应的窗口位置信息和时间戳;An image receiving module, configured to receive window screenshot information sent by the multi-screen initiating terminal, where the window screenshot information includes a window image, and window position information and a time stamp corresponding to the window image;
    图像混合模块,用于根据窗口位置信息和时间戳将接收到的多路窗口图像绘制到缓存,得到对应的合成显示画面,所述合成显示画面中多路窗口图像以分层形式呈现;An image mixing module, configured to draw the received multi-way window image to the cache according to the window position information and the time stamp, to obtain a corresponding composite display image, wherein the multi-way window image in the composite display screen is presented in a layered form;
    发送模块,用于向对应的显示设备发送所述合成显示画面,以在所述显示设备端显示所述合成显示画面。And a sending module, configured to send the composite display screen to the corresponding display device to display the composite display screen on the display device end.
  11. 如权利要求10所述的实现多屏互动的装置,其特征在于,所述图像混合模块包括:The apparatus for implementing multi-screen interaction according to claim 10, wherein the image mixing module comprises:
    信息提取子模块,用于提取接收到的每路窗口截图信息包含的窗口图像、窗口位置信息和时间戳;An information extraction sub-module, configured to extract a window image, a window position information, and a time stamp included in the received screenshot information of each window;
    排序子模块,用于根据时间戳由近到远的顺序对多路窗口图像进行排序,使其中时间戳越近的窗口图像排序越前;a sorting sub-module for sorting the multi-way window images according to the timestamps from near to far, so that the window images in which the time stamps are closer are sorted earlier;
    混合子模块,用于根据窗口位置信息以及排序前后依次绘制各路窗口图像到缓存,得到对应的合成显示画面,其中,排序最前的窗口图像呈现在所述合成显示画面的最顶层。 The mixing sub-module is configured to sequentially draw each window image to the cache according to the window position information and before and after the sorting, to obtain a corresponding composite display image, wherein the top-ranked window image is presented at the top layer of the composite display screen.
  12. 如权利要求11所述的实现多屏互动的装置,其特征在于,所述混合子模块包括:The apparatus for implementing multi-screen interaction according to claim 11, wherein the hybrid sub-module comprises:
    解码单元,用于解码每路窗口图像,得到对应的图像数据;a decoding unit, configured to decode each window image to obtain corresponding image data;
    混合单元,用于根据排序前后、窗口位置信息以及所述图像数据依次绘制各路窗口图像到缓存,得到对应的合成显示画面。The mixing unit is configured to sequentially draw each window image to the cache according to the before and after sorting, the window position information, and the image data, to obtain a corresponding composite display screen.
  13. 如权利要求10所述的实现多屏互动的装置,其特征在于,所述发送模块包括:The apparatus for implementing multi-screen interaction according to claim 10, wherein the sending module comprises:
    存储子模块,用于将所述合成显示画面存储到预设的显示队列中;a storage submodule, configured to store the composite display screen in a preset display queue;
    发送子模块,用于依次发送所述显示队列中的合成显示画面到对应的显示设备。And a sending submodule, configured to sequentially send the composite display screen in the display queue to the corresponding display device.
  14. 如权利要求10所述的实现多屏互动的装置,其特征在于,所述窗口位置信息包括:对应的多屏发起终端的屏幕分辨率,以及被截图的窗口在多屏发起终端屏幕中的位置坐标。The apparatus for implementing multi-screen interaction according to claim 10, wherein the window position information comprises: a screen resolution of the corresponding multi-screen initiating terminal, and a position of the screen being screened in the multi-screen initiating terminal screen. coordinate.
  15. 一种实现多屏互动的装置,其特征在于,包括:An apparatus for implementing multi-screen interaction, comprising:
    窗口监控模块,用于监控多屏发起终端的活动窗口,根据窗口画面、窗口尺寸及窗口位置判断是否发生窗口切换;a window monitoring module, configured to monitor an active window of the multi-screen initiating terminal, and determine whether a window switching occurs according to the window screen, the window size, and the window position;
    窗口截图模块,用于确定发生窗口切换,对当前活动窗口进行截图,得到对应的窗口图像;以及用于记录截图的时间信息,作为所述窗口图像对应的时间戳;以及用于获取当前活动窗口在多屏发起终端屏幕中的位置信息,作为所述窗口图像对应的窗口位置信息;a window capture module, configured to determine that a window switch occurs, take a screenshot of the current active window, obtain a corresponding window image; and time information for recording the screenshot, as a time stamp corresponding to the window image; and for acquiring a current active window Positioning information in the screen of the multi-screen is displayed as window position information corresponding to the window image;
    截图发送模块,用于向对应的混合设备发送所述多屏发起终端的窗口截图信息,所述窗口截图信息包括窗口图像、对应的窗口位置信息以及时间戳。The screenshot sending module is configured to send window screenshot information of the multi-screen initiating terminal to the corresponding hybrid device, where the window screenshot information includes a window image, corresponding window position information, and a time stamp.
  16. 如权利要求15所述的实现多屏互动的装置,其特征在于,所述截图发 送模块,还用于在向对应的混合设备发送所述多屏发起终端的窗口截图信息之前,对得到的窗口图像进行图像编码。The apparatus for implementing multi-screen interaction according to claim 15, wherein said screenshot is sent The sending module is further configured to perform image encoding on the obtained window image before sending the window screenshot information of the multi-screen initiating terminal to the corresponding mixing device.
  17. 如权利要求15所述的实现多屏互动的装置,其特征在于,还包括:连接模块,用于建立多屏发起终端与混合设备之间的连接,以及在连接建立之后,在所述多屏发起终端的系统中安装与所述混合设备对应的驱动程序;The apparatus for implementing multi-screen interaction according to claim 15, further comprising: a connection module, configured to establish a connection between the multi-screen initiating terminal and the hybrid device, and after the connection is established, in the multi-screen a driver corresponding to the hybrid device is installed in a system of the initiating terminal;
    所述窗口监控模块,用于通过所述驱动程序监控多屏发起终端的活动窗口,若检测到窗口画面、窗口尺寸、窗口位置中至少一项发生变化,则判断为发生窗口切换。The window monitoring module is configured to monitor, by the driver, an active window of the multi-screen initiating terminal, and if at least one of the window screen, the window size, and the window position is detected to change, it is determined that the window switching occurs.
  18. 如权利要求15所述的实现多屏互动的装置,其特征在于,所述获取当前活动窗口在多屏发起终端屏幕中的位置信息,包括:The apparatus for implementing multi-screen interaction according to claim 15, wherein the obtaining the location information of the current active window in the screen of the multi-screen initiating terminal comprises:
    获取多屏发起终端的屏幕分辨率,以及当前活动窗口在多屏发起终端屏幕中的位置坐标。 Obtain the screen resolution of the multi-screen initiating terminal and the position coordinates of the current active window in the multi-screen initiating terminal screen.
PCT/CN2016/113212 2016-04-29 2016-12-29 Method and apparatus for implementing multi-screen interaction WO2017185799A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610287193.2 2016-04-29
CN201610287193.2A CN105892976B (en) 2016-04-29 2016-04-29 Realize the method and device of multi-screen interactive

Publications (1)

Publication Number Publication Date
WO2017185799A1 true WO2017185799A1 (en) 2017-11-02

Family

ID=56702283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113212 WO2017185799A1 (en) 2016-04-29 2016-12-29 Method and apparatus for implementing multi-screen interaction

Country Status (2)

Country Link
CN (1) CN105892976B (en)
WO (1) WO2017185799A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892976B (en) * 2016-04-29 2019-02-01 广州视睿电子科技有限公司 Realize the method and device of multi-screen interactive
CN107291412B (en) * 2017-05-19 2020-09-22 广州视源电子科技股份有限公司 Wireless screen transmission method and system
CN109308818A (en) * 2017-07-28 2019-02-05 宁波睿易教育科技股份有限公司 Multi-screen interactive teaching operation method and system on a kind of class
CN107465845A (en) * 2017-08-02 2017-12-12 郑州云海信息技术有限公司 The methods, devices and systems of shared screen picture
CN107302711B (en) * 2017-08-08 2020-12-11 西安万像电子科技有限公司 Processing system of media resource
CN110099224B (en) * 2018-01-31 2022-03-29 杭州海康威视数字技术股份有限公司 Pre-monitoring display method, device and system, computer equipment and storage medium
CN109358768A (en) * 2018-09-30 2019-02-19 北京云迹科技有限公司 Multi-screen interaction method and robot
CN109542546A (en) * 2018-10-08 2019-03-29 广州市保伦电子有限公司 A kind of throwing screen method and device at application process window and interface
JP7112345B2 (en) * 2019-02-01 2022-08-03 本田技研工業株式会社 Display device
CN113038004B (en) * 2021-02-26 2022-09-23 展讯通信(天津)有限公司 Multi-window image previewing method and device, computer equipment and storage medium
CN113946304A (en) * 2021-09-29 2022-01-18 湖北亿咖通科技有限公司 Visible window synthesis method and synthesis device and multi-screen system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050729A1 (en) * 2005-08-31 2007-03-01 Kabushiki Kaisha Toshiba Display apparatus, method, and program
CN103248846A (en) * 2012-02-10 2013-08-14 中强光电股份有限公司 Projection system
CN104852984A (en) * 2015-05-28 2015-08-19 惠州Tcl移动通信有限公司 Method and system for transmitting data between smart terminals based on multi-screen interaction
CN104902075A (en) * 2015-04-29 2015-09-09 努比亚技术有限公司 Multi-screen interaction method and system
CN105094737A (en) * 2015-08-07 2015-11-25 北京橙鑫数据科技有限公司 Multimedia information display method and device
CN105892976A (en) * 2016-04-29 2016-08-24 广州视睿电子科技有限公司 Method and device for achieving multi-screen interaction

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151020A (en) * 1997-10-24 2000-11-21 Compaq Computer Corporation Real time bit map capture and sharing for collaborative tools
US8407605B2 (en) * 2009-04-03 2013-03-26 Social Communications Company Application sharing
US20100164839A1 (en) * 2008-12-31 2010-07-01 Lyons Kenton M Peer-to-peer dynamically appendable logical displays
US8898577B2 (en) * 2010-03-09 2014-11-25 Microsoft Corporation Application sharing with occlusion removal
US20120042275A1 (en) * 2010-08-10 2012-02-16 Microsoft Corporation Cloning specific windows on a wireless display surface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050729A1 (en) * 2005-08-31 2007-03-01 Kabushiki Kaisha Toshiba Display apparatus, method, and program
CN103248846A (en) * 2012-02-10 2013-08-14 中强光电股份有限公司 Projection system
CN104902075A (en) * 2015-04-29 2015-09-09 努比亚技术有限公司 Multi-screen interaction method and system
CN104852984A (en) * 2015-05-28 2015-08-19 惠州Tcl移动通信有限公司 Method and system for transmitting data between smart terminals based on multi-screen interaction
CN105094737A (en) * 2015-08-07 2015-11-25 北京橙鑫数据科技有限公司 Multimedia information display method and device
CN105892976A (en) * 2016-04-29 2016-08-24 广州视睿电子科技有限公司 Method and device for achieving multi-screen interaction

Also Published As

Publication number Publication date
CN105892976B (en) 2019-02-01
CN105892976A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017185799A1 (en) Method and apparatus for implementing multi-screen interaction
US8659638B2 (en) Method applied to endpoint of video conference system and associated endpoint
US20160353161A1 (en) One-screen sharing method, device and system
CA2865545C (en) Communication control system and control device
CN1304969C (en) Image-display system and method, image-display program, projector and projector-control method, and projector-control program
CN103841389B (en) A kind of video broadcasting method and player
KR102362054B1 (en) Display apparatus consisting a multi display system and control method thereof
CN103283250A (en) Method, device and system of video redirection, and computer readable medium
US20160353162A1 (en) Data processing method and device and mobile terminal equipment
CN108886633B (en) Image receiving and reproducing method and device, and image generating and transmitting method and device
CN104954812A (en) Video synchronized playing method, device and system
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
US20120300127A1 (en) System for managing detection of advertisements in an electronic device, for example in a digital tv decoder
CN110727485A (en) Screen interface selectable sharing method and system
CN103428297A (en) Remote interaction system framework based on desktop virtualization
US11500605B2 (en) Image transmission device, image display system capable of remote screenshot, and remote screenshot method
KR102247886B1 (en) System for cloud streaming service, method of cloud streaming service based on type of image and apparatus for the same
KR20140117889A (en) Client apparatus, server apparatus, multimedia redirection system and the method thereof
TWI538519B (en) Capture apparatuses of video images
WO2012171156A1 (en) Wireless video streaming using usb connectivity of hd displays
US20190028522A1 (en) Transmission of subtitle data for wireless display
US10025550B2 (en) Fast keyboard for screen mirroring
KR102247887B1 (en) System for cloud streaming service, method of cloud streaming service using source information and apparatus for the same
CN112584084B (en) Video playing method and device, computer equipment and storage medium
TWI798694B (en) Data sharing method and data sharing system

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900303

Country of ref document: EP

Kind code of ref document: A1