WO2024082803A1 - Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium - Google Patents

Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
WO2024082803A1
WO2024082803A1 PCT/CN2023/114032 CN2023114032W WO2024082803A1 WO 2024082803 A1 WO2024082803 A1 WO 2024082803A1 CN 2023114032 W CN2023114032 W CN 2023114032W WO 2024082803 A1 WO2024082803 A1 WO 2024082803A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen transmission
control
receiving end
window
display data
Prior art date
Application number
PCT/CN2023/114032
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 WO2024082803A1 publication Critical patent/WO2024082803A1/en

Links

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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 disclosure relates to the field of display technology, and in particular to a screen transmission control method, device, electronic device, and computer-readable storage medium.
  • screen transmission as a display technology for displaying the display content of the other end has begun to be widely used in the above scenarios. Its characteristics are to collect the screen content of the screen transmission end, and use wireless or wired transmission technology to transmit it to the screen transmission receiving end for synchronous display of the content.
  • the above screen transmission method has limitations. It can only synchronize the display images, and lacks more functional interactions between the two devices.
  • the embodiments of the present disclosure provide a screen transmission control method, an electronic device, and a computer-readable storage medium, which are used to control a peer device using one device during a screen transmission process, thereby increasing the peer control function during the screen transmission process.
  • the present disclosure provides a screen transmission control method, which is applied to a screen transmission sending end, and the screen transmission control method includes: sending first display data corresponding to a display window to a screen transmission receiving end, so that the screen transmission receiving end displays in a projection window based on the first display data; receiving second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end; displaying in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control operations on the screen transmission receiving end.
  • the present disclosure also provides a screen transmission control method, which is applied to a screen transmission receiving end, and the screen transmission control method includes: acquiring first display data sent by a screen transmission sending end, the first display data corresponding to a display window of the screen transmission sending end; displaying in a projection window based on the first display data; sending second display data corresponding to an operation window to the screen transmission sending end, so that the screen transmission sending end displays in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • the present disclosure also provides a screen transmission control device, which is applied to a screen transmission sending end, and the device includes: a first sending module, which is configured to send first display data corresponding to a display window to a screen transmission receiving end, so that the screen transmission receiving end displays in a projection window based on the first display data; a receiving module, which is configured to receive second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end; a first display module, which displays in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control operations on the screen transmission receiving end.
  • the present disclosure also provides a screen transmission control device, which is applied to a screen transmission receiving end, and the device includes: an acquisition module, which is configured to acquire first display data sent by a screen transmission sending end, and the first display data corresponds to a display window of the screen transmission sending end; a second display module, which is configured to display in a projection window based on the first display data; a second sending module, which is configured to send second display data corresponding to an operation window to the screen transmission sending end, so that the screen transmission sending end displays in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • the present disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory is configured to store program data, and the processor is configured to execute the program data to implement the above method.
  • the present disclosure also provides a computer-readable storage medium, in which program data is stored.
  • program data When the program data is executed by a processor, it is used to implement the above method.
  • the screen transmission control method provided by the embodiment of the present disclosure includes: the screen transmission sending end sends the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receives the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; based on the second display data, it is displayed in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end.
  • the content of the operation window of the screen transmission receiving end can be displayed on the display interface of the screen transmission sending end, so that both the screen transmission sending end and the screen transmission receiving end can control the screen transmission receiving end, so that during the screen transmission process, the screen transmission receiving end can be conveniently controlled, which is helpful for the embodiment and playback of the screen transmission content, and also convenient for the interaction of users at both ends.
  • FIG1 is a flow chart of a first embodiment of a screen transmission control method provided by the present disclosure
  • FIG2 is a flow chart of step 11 in an embodiment of the present disclosure.
  • FIG3 is a flow chart of a second embodiment of a screen transmission control method provided by the present disclosure.
  • FIG4 is a flow chart of step 23 in an embodiment of the present disclosure.
  • FIG5 is a first interactive schematic diagram of the screen transmission control method provided by the present disclosure.
  • FIG6 is a flow chart of a third embodiment of a screen transmission control method provided by the present disclosure.
  • FIG7 is a schematic flow chart of a fourth embodiment of a screen transmission control method provided by the present disclosure.
  • FIG8 is a second interactive schematic diagram of the screen transmission control method provided by the present disclosure.
  • FIG9 is a flowchart of a fifth embodiment of a screen transmission control method provided by the present disclosure.
  • FIG10 is a flow chart of a sixth embodiment of a screen transmission control method provided by the present disclosure.
  • FIG11 is a third interactive schematic diagram of the screen transmission control method provided by the present disclosure.
  • FIG12 is a schematic structural diagram of an embodiment of a screen transmission control device provided by the present disclosure and applied to a screen transmission sending end;
  • FIG13 is a structural diagram of an embodiment of a screen transmission control device applied to a screen transmission receiving end provided by the present disclosure
  • FIG14 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present disclosure.
  • the embodiment of the present disclosure provides a screen transmission control method, which is mainly used for transmitting the screen from a screen transmission sending end to a screen transmission receiving end, wherein the screen transmission sending end can be a mobile phone, a computer, etc., and the screen transmission receiving end can be a conference tablet, a TV light.
  • the screen transmission sending end can be a mobile phone, a computer, etc.
  • the screen transmission receiving end can be a conference tablet, a TV light.
  • the following is a specific description using the screen transmission sending end as a computer and the screen transmission receiving end as a conference tablet as an example.
  • FIG. 1 is a flow chart of a first embodiment of a screen transmission control method provided by the present disclosure.
  • the execution subject of the method is a screen transmission sending end, such as a computer.
  • the method includes:
  • Step 11 Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays it in the projection window based on the first display data.
  • the display interface of the computer may include a display window and a control window.
  • the display window is used to display the content that needs to be transmitted, such as video screen, picture screen, PPT (PowerPoint, slide) document screen, live broadcast screen, etc.
  • the display window can be a window of an application, such as a video player software, conference software, live broadcast software, or document player software (word or PDF, etc.).
  • the control window is used to display a control interface, so as to use the control interface to obtain user input events, thereby controlling the screen transmission receiving end, such as a conference tablet.
  • Step 12 Receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end.
  • the display interface of the conference tablet can include a screen transmission window and an operation window.
  • the screen transmission window is used to display the first display data sent by the computer, that is, the content in the display window of the computer will be synchronously transmitted to the screen transmission window of the conference tablet for display. It can be understood that the display content of the screen transmission window may be delayed relative to the display content of the display window due to the delay in data transmission.
  • the operation window is used to display the operation interface, so as to obtain the user's input instructions through the operation interface, so as to control the conference tablet.
  • Step 13 Display in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • the user can control the screen transmission receiving end through the control window.
  • the user can control the screen transmission receiving end through the operation window, that is, the screen transmission sending end transmits the display screen to the screen transmission receiving end.
  • Users at both the screen transmission sending end and the screen transmission receiving end can operate and control the screen transmission receiving end, which can provide a better functional experience in the screen transmission process.
  • the following application scenarios of computers and conference tablets are used as examples: in the scenario of a remote video conference, the computer used by the host transmits the course content to the conference tablet.
  • the conference tablet includes a projection window and an operation window.
  • the projection window displays the course content
  • the operation window displays control buttons, such as volume adjustment buttons, brightness adjustment buttons, microphone on/off buttons, etc.
  • the display content of the operation window is transmitted to the computer as the second display data and displayed in the control window of the computer.
  • the host can control electronic device B through the control window.
  • the host can actively adjust to turn on the microphone of the conference tablet, so there is no need to walk to the conference tablet to control the conference tablet when the microphone is not turned on and voice communication is impossible.
  • control window of the computer may include not only the display content corresponding to the second display data, but also the control buttons for the computer.
  • the control window may include two parts, a first control window and a second control window, wherein the first control window is used to receive input instructions to control the computer, and the second control window is used to obtain input events to control the conference tablet.
  • FIG. 2 is a flow chart of step 11 in one embodiment of the present disclosure, and step 11 may specifically include:
  • Step 111 Obtain the full-screen display data of the screen transmission sending end.
  • the screen data can be collected by using the collection tools provided by the computer system, or by using installed hardware tools or software tools.
  • WGC Windows Graphics Capture
  • GDI GDI
  • DXGI DXGI
  • Magnification etc.
  • Step 112 Filter the second display data with the full-screen display data of the screen transmission sending end to obtain the first display data corresponding to the display window.
  • the second display data is the data displayed in the control window. Therefore, this step actually uses the full-screen display data to filter out the display data of the control window, so as to leave the display data of the display window, that is, the first display data. 1. Display data.
  • window filtering can be performed by using Magnification and WGC for screen data collection. If WGC is used for screen data collection, Set Window Display Affinity can be used for window filtering.
  • Step 113 Send the first display data to the screen transmission receiving end.
  • the transmission of display data can be done by wired or wireless means. If the wired method is used, the RGB or YUV data is generally transmitted to the conference flat panel through the HDMI (High Definition Multimedia Interface) or DP (Decentralized Periphery) protocol (a profibus communication protocol running on a 485 serial port); if the wireless method is used, the h.264 encoder (such as libx264) can be used to compress and encode the RGB or YUV data, and then the h.264 data is transmitted to the conference flat panel through the IEEE 802.11 protocol in conjunction with TCP (Transmission Control Protocol), UDP (User Datagram Protocol) and other transmission protocols. After receiving the data, the conference flat panel determines whether the data has been encoded and compressed.
  • HDMI High Definition Multimedia Interface
  • DP Decentralized Periphery protocol
  • the h.264 encoder such as libx264
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the display data must first be decoded by the corresponding decoder (such as the h.264 decoder libx264). Then render the RGB or YUV data. If the conference tablet is running the Windows operating system, you can use OpenGL (Open Graphics Library) to render the display data. If the conference tablet is running the macOS operating system, you can use Metal (rendering interface) to render the display data.
  • the corresponding decoder such as the h.264 decoder libx264.
  • FIG. 3 is a flow chart of the second embodiment of the screen transmission control method provided by the present disclosure.
  • the execution subject of the method is the screen transmission receiving end. Taking the conference tablet as an example, the method includes:
  • Step 31 Acquire the first display data sent by the screen transmission sending end, where the first display data corresponds to the display window of the screen transmission sending end.
  • the display interface of the conference tablet may include a display window and a control window.
  • the display window is used to display the content that needs to be transmitted, such as video screen, picture screen, PPT (PowerPoint, slide) document screen, live broadcast screen, etc.
  • the display window can be a window of an application, such as a video player software, conference software, live broadcast software, or document player software (word or PDF, etc.).
  • the control window is used to display the control interface, so as to obtain the user's input events through the control interface. And control the conference tablet.
  • Step 32 Display in the projection window based on the first display data.
  • the display interface of the conference tablet can include a screen transmission window and an operation window.
  • the screen transmission window is used to display the first display data sent by the screen transmission sender, such as a computer. That is, the content in the display window of the computer will be synchronously transmitted to the screen transmission window of the conference tablet for display. It can be understood that the display content of the screen transmission window may be delayed relative to the display content of the display window based on the delay in data transmission.
  • the operation window is used to display the operation interface, so as to obtain the user's input instructions through the operation interface, so as to control the screen transmission receiving end.
  • Step 33 Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • users can control the conference tablet through the control window
  • users can control the conference tablet through the operation window, that is, the computer will transmit the display screen to the conference tablet
  • users on both the computer and the conference tablet can operate and control the conference tablet, which can make the screen transmission process have a better functional experience.
  • control window of the computer may include not only the display content corresponding to the second display data, but also the control buttons for the computer.
  • the control window may include two parts, a first control window and a second control window, wherein the first control window is used to receive input instructions to control the computer, and the second control window is used to obtain input events to control the conference tablet.
  • FIG. 4 is a flow chart of step 33 in one embodiment of the present disclosure, and step 33 may specifically include:
  • Step 331 Obtain full-screen display data from the screen transmission receiving end.
  • the screen data can be collected by using the collection tools provided by the conference tablet system, or by using installed hardware tools or software tools.
  • WGC Windows Graphics Capture
  • the captured data is generally YUV data or RGB data.
  • screen acquisition technologies such as GDI, DXGI, and Magnification may also be used, and examples are not given here one by one.
  • Step 332 Filter the first display data with the full-screen display data of the screen transmission receiving end to obtain the second display data corresponding to the operation window.
  • the first display data is the data displayed in the operation window. Therefore, this step actually uses the full-screen display data to filter out the display data of the operation window to leave the display data of the screen transmission window, that is, the first display data.
  • both Magnification and WGC can be used for screen data collection to perform window filtering. If WGC is used for screen data collection, SetWindowDisplayAffinity can be used for window filtering.
  • Step 333 Send the second display data to the screen transmission end.
  • the transmission of display data can be done by wired or wireless means. If the wired method is used, the RGB or YUV data is generally transmitted to the computer through the HDMI (High Definition Multimedia Interface) or DP (Decentralized Periphery) protocol (a profibus communication protocol running on the 485 serial port); if the wireless method is used, the h.264 encoder (such as libx264) can be used to compress and encode the RGB or YUV data, and then the h.264 data is transmitted to the computer through the IEEE 802.11 protocol in conjunction with TCP (Transmission Control Protocol), UDP (User Datagram Protocol) and other transmission protocols. After the computer receives the data, it determines whether the data has been encoded and compressed.
  • HDMI High Definition Multimedia Interface
  • DP Decentralized Periphery protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the display data must first be decoded by the corresponding decoder (such as the h.264 decoder libx264). Then render the RGB or YUV data. If the computer is running Windows operating system, you can use OpenGL (Open Graphics Library) to render the display data. If the computer is running macOS operating system, you can use Metal (rendering interface) to render the display data.
  • the corresponding decoder such as the h.264 decoder libx264.
  • FIG. 5 is a first interactive schematic diagram of the screen transmission control method provided by the present disclosure, and introduces the screen transmission interaction process of the screen transmission sending end (taking a computer as an example) and the screen transmission receiving end (taking a conference tablet as an example):
  • the screen transmission sending end collects full-screen display data
  • the screen transmission sending end filters the collected full-screen display data to control the display data of the window and obtains the first Display Data;
  • the screen transmission sending end sends the first display data to the screen transmission receiving end
  • the screen transmission receiving end displays the display content corresponding to the first display data in the screen transmission window
  • the screen transmission receiving end collects full-screen display data
  • the screen transmission receiving end filters the display data of the operation window with the collected full-screen display data to obtain the second display data
  • the screen transmission receiving end sends the second display data to the screen transmission sending end
  • the screen transmission sending end displays the display content corresponding to the second display data in the control window.
  • the display data of the control window filtered in step 2 is the content corresponding to the second display data displayed by the computer in the control window in step 8.
  • the screen transmission control method provided in this embodiment includes: the screen transmission sending end sends the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receives the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; based on the second display data, it is displayed in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end.
  • the content of the operation window of the screen transmission receiving end can be displayed on the display interface of the screen transmission sending end, so that both the screen transmission sending end and the screen transmission receiving end can control the screen transmission receiving end, so that during the screen transmission process, the screen transmission receiving end can be conveniently controlled, which is helpful for the embodiment and playback of the screen transmission content, and also convenient for the interaction of users at both ends.
  • FIG. 6 is a flow chart of a third embodiment of a screen transmission control method provided by the present disclosure, the method is applied to a screen transmission sending end, and the method includes:
  • Step 61 Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays it in the projection window based on the first display data.
  • Step 62 Receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end.
  • Step 63 Display in the control window of the screen transmission sending end based on the second display data.
  • Step 64 Generate corresponding control data based on the input event of the control window.
  • Step 65 Send control data to the screen transmission receiving end, so that the screen transmission receiving end generates corresponding control instructions based on the control data simulated input event to control the operation window of the screen transmission receiving end.
  • the input event may include conventional input methods such as mouse, keyboard, touch screen, etc., and may also include interactive input such as voice input, gesture input, etc.
  • the input event may be captured using an interface of the operating system. Taking the Windows operating system as an example, the Windows operating system is configured with an API interface for capturing input events.
  • the data captured by the mouse, keyboard, etc. are all numerical values or ascii characters, they can be easily converted into binary data. Then the binary data is transmitted to the conference tablet. After the conference tablet receives the corresponding data, it can simulate the control instructions of the corresponding input event, thus realizing the computer controlling the conference tablet.
  • the conference tablet After the computer sends the control data to the conference tablet, the conference tablet generates corresponding control instructions based on the control data simulation input event.
  • the projection window should be filtered out, that is, all control data is transparently transmitted to the operation window.
  • the conference tablet simulates the input event of the mouse in the operation window according to the position information to complete the corresponding click operation, thereby realizing the control of the conference tablet.
  • FIG. 7 is a flow chart of a fourth embodiment of the screen transmission control method provided by the present disclosure. The method is applied to the screen transmission receiving end, and the method includes:
  • Step 71 Acquire the first display data sent by the screen transmission sending end, where the first display data corresponds to the display window of the screen transmission sending end.
  • Step 72 Display in the projection window based on the first display data.
  • Step 73 Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end.
  • Step 74 Obtain control data sent by the screen transmission sending end, where the control data is generated by the screen transmission sending end based on input events of the control window.
  • Step 75 Generate corresponding control instructions based on the control data simulation input event to control the operation window of the screen transmission receiving end.
  • step 75 may specifically include: simulating input events of the operation window based on the control data; generating corresponding control instructions according to the input events; and controlling the operation window of the screen transmission receiving end according to the control instructions.
  • the projection window should be filtered out to achieve transparent transmission of all input events to the operation window, that is, all control instructions should correspond to the operation window, so as to operate the operation window and then control the screen transmission receiving end.
  • FIG. 8 is a second interactive schematic diagram of the screen transmission control method provided by the present disclosure, and introduces the control interaction process between the screen transmission sending end and the screen transmission receiving end:
  • the screen transmission sending end filters the input events, and the remaining input events are the real input events of the corresponding control window;
  • the screen transmission sending end sends control data to the screen transmission receiving end
  • the screen transmission receiving end generates corresponding control instructions based on the control data simulation input event, and uses the control instructions to control the screen transmission receiving end.
  • the teacher's electronic device A transmits the course content to the student's electronic device B.
  • Electronic device B includes a projection window and an operation window.
  • the projection window displays the course content
  • the operation window displays control buttons, such as microphone on/off. button, and at the same time, the display content of the operation window is transmitted to electronic device A as the second display data and displayed in the control window of electronic device A.
  • the teacher can control electronic device B through the control window. For example, if the teacher finds that the student has not turned on the microphone, the teacher clicks the microphone on/off button in the control window with the mouse.
  • the system captures the mouse click operation and determines the mouse click position, forms control data and sends it to electronic device B. After receiving the control data, electronic device B simulates the corresponding microphone on/off button click operation in the operation window according to the mouse click operation and click position, thus completing the control of the screen transmission sending end over the screen transmission receiving end.
  • FIG. 9 is a flow chart of a fifth embodiment of a screen transmission control method provided by the present disclosure, the method is applied to a screen transmission sending end, and the method includes:
  • Step 91 Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays it in the projection window based on the first display data.
  • Step 92 Receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end.
  • Step 93 Display in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • Step 94 In response to triggering the file copy operation, obtain the copied file data.
  • Step 95 In response to obtaining the file pull instruction sent by the screen transmission receiving end, send the obtained file data to the screen transmission receiving end; wherein, the file pull instruction is generated by the screen transmission receiving end in response to triggering a file pasting operation.
  • the computer responds to the file copy operation to obtain the target file data
  • the conference tablet responds to the file paste operation to pull the target file data of the amplitude to the computer to achieve cross-device copying and pasting of the target file data.
  • step 94 may be specifically as follows: in response to triggering a file copy operation, reading the file data in the clipboard of the screen transmission sending end, and sending an identification information to the screen transmission receiving end; wherein the identification information is used to enable the screen transmission receiving end to write temporary data in the clipboard of the screen transmission receiving end, and in response to the clipboard data of the screen transmission receiving end being empty, sending a file pull instruction to the screen transmission sending end.
  • the computer responds to the trigger file copy operation and reads the file data in the clipboard of the conference tablet.
  • the conference tablet receives the first identification information and sends an identification information to the conference tablet; after receiving the first identification information, the conference tablet writes temporary data in the clipboard of the conference tablet, and when the conference tablet responds that the clipboard data of the conference tablet is empty, it is considered that the conference tablet has triggered a paste operation and sends a file pull instruction to the computer; after the computer obtains the file pull instruction, it sends the copied file data to the conference tablet to complete the cross-device copy and paste (file transfer) of the file data.
  • FIG. 10 is a flow chart of a sixth embodiment of the screen transmission control method provided by the present disclosure. The method is applied to the screen transmission receiving end, and the method includes:
  • Step 101 Acquire first display data sent by the screen transmission sending end, where the first display data corresponds to the display window of the screen transmission sending end.
  • Step 102 Display in the projection window based on the first display data.
  • Step 103 Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • Step 104 In response to triggering the file pasting operation, sending a file pull instruction to the screen transmission sending end.
  • Step 105 Obtain the file data sent by the screen transmission sending end in response to the pull instruction; wherein the file data is obtained by the screen transmission sending end in response to triggering a file copy operation.
  • step 104 may specifically include: in response to receiving identification information sent by the screen transmission sending end, writing temporary data in the clipboard of the screen transmission receiving end; wherein the identification information is generated by the screen transmission sending end in response to triggering a file copy operation; in response to the data in the clipboard of the screen transmission receiving end being empty, sending a file pull instruction to the screen transmission sending end.
  • FIG. 11 is a third interactive schematic diagram of the screen transmission control method provided by the present disclosure, and introduces the file sharing interactive process between the screen transmission sending end and the screen transmission receiving end:
  • the screen transmission sending end reads the file data in the clipboard of the screen transmission sending end
  • the screen transmission sending end sends an identification information to the screen transmission receiving end
  • the screen transmission receiving end writes temporary data into the clipboard of the screen transmission receiving end in response to the identification information
  • the screen transmission sending end responds to the file pull instruction and sends the file data to the screen transmission receiving end.
  • FIG. 12 is a schematic diagram of the structure of a screen transmission control device applied to a screen transmission sending end provided by the present disclosure, and the screen transmission control device applied to the screen transmission sending end includes:
  • a first sending module is configured to send first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays the first display data in the projection window;
  • a receiving module configured to receive second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end;
  • the first display module displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • the first sending module includes:
  • a first acquisition unit configured to acquire full-screen display data from a screen transmission sending end
  • a first filtering unit is configured to filter the second display data from the full-screen display data of the screen transmission sending end to obtain the first display data corresponding to the display window;
  • the first sending unit is configured to send the first display data to the screen transmission receiving end.
  • the device comprises:
  • the first control module is configured to generate corresponding control data based on input events of the control window; the control data is sent to the screen transmission receiving end so that the screen transmission receiving end generates corresponding control instructions based on the control data simulated input events to control the operation window of the screen transmission receiving end.
  • the device comprises:
  • the first response module is configured to obtain the copied file data in response to triggering a file copy operation; in response to obtaining a file pull instruction sent by the screen transmission receiving end, send the obtained file data to the screen transmission receiving end; wherein the file pull instruction is generated by the screen transmission receiving end in response to triggering a file paste operation.
  • the first response module is arranged at:
  • the file data in the clipboard of the screen transmission sending end is read, and an identification information is sent to the screen transmission receiving end;
  • the identification information is set to enable the screen transmission receiving end to write temporary data in the clipboard of the screen transmission receiving end, and in response to the clipboard data of the screen transmission receiving end being empty, send a file pull instruction to the screen transmission sending end.
  • FIG. 13 is a screen transmission control device provided by the present disclosure and applied to a screen transmission receiving end.
  • the screen transmission control device applied to a screen transmission receiving end includes:
  • An acquisition module configured to acquire first display data sent by the screen transmission sending end, the first display data corresponding to a display window of the screen transmission sending end;
  • a second display module configured to display in the projection window based on the first display data
  • the second sending module is configured to send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • the second sending module includes:
  • a second acquisition unit is configured to acquire full-screen display data of a screen transmission receiving end
  • a second filtering unit is configured to filter the first display data by the full-screen display data of the screen transmission receiving end to obtain second display data corresponding to the operation window;
  • the second sending unit is configured to send the second display data to the screen transmission end.
  • the device comprises:
  • the second control module is configured to obtain control data sent by the screen transmission sending end, and the control data is generated by the screen transmission sending end based on the input events of the control window; based on the control data, the corresponding control instructions are generated to control the operation window of the screen transmission receiving end by simulating input events.
  • the second control module is arranged at:
  • the operation window of the screen transmission receiving end is controlled according to the control instructions.
  • the device further comprises:
  • the second response module is configured to send a file pull instruction to the screen transmission sending end in response to a triggered file paste operation; obtain the file data sent by the screen transmission sending end in response to the pull instruction; wherein the file data is obtained by the screen transmission sending end in response to a triggered file copy operation.
  • a second response module is configured to write temporary data in the clipboard of the screen transmission receiving end in response to receiving identification information sent by the screen transmission sending end; wherein the identification information is generated by the screen transmission sending end in response to triggering a file copy operation; in response to the data in the clipboard of the screen transmission receiving end being empty, send a file pull instruction to the screen transmission sending end.
  • FIG. 14 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure.
  • the electronic device 120 includes a processor 121 and a memory 122 , and the memory 122 is used to store program data.
  • the processor 121 when the electronic device 120 is a screen transmission sending end, the processor 121 is used to execute the above-mentioned program data to implement the following method: sending the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receiving the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; displaying in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end.
  • the processor 121 when the electronic device 120 is a screen transmission receiving end, the processor 121 is used to execute the above-mentioned program data to implement the following method: obtain the first display data sent by the screen transmission sending end, the first display data corresponds to the display window of the screen transmission sending end; display in the projection window based on the first display data; send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  • the electronic device 120 can be a PC (personal computer), a notebook, a television, or a mobile phone, a tablet computer, a smart wearable device, etc.
  • PC personal computer
  • it can be a screen projection scene of a mobile phone and a television, a conference scene of a user terminal (computer) and a conference terminal (computer), a scene of a computer terminal and a projection device, etc.
  • FIG. 15 is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present disclosure.
  • the computer-readable storage medium 130 stores program data 131, and the program data 131 is executed by a processor to perform:
  • the first display data sent by the screen transmission sending end corresponds to the display window of the screen transmission sending end; display in the projection window based on the first display data; send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A screen-mirroring control method and apparatus, an electronic device (120), and a computer-readable storage medium (130). The screen-mirroring control method comprises: sending, to a screen-mirroring receiving end, first display data corresponding to a display window, such that the screen-mirroring receiving end performs display in a screen-mirroring window on the basis of the first display data (11); receiving second display data sent by the screen-mirroring receiving end, wherein the second display data corresponds to an operation window of the screen-mirroring receiving end (12); and performing display in a control window of a screen-mirroring sending end on the basis of the second display data, wherein the control window is configured to perform a control operation on the screen-mirroring receiving end in response to a control-window-based input event (13). Peer control can be performed during screen mirroring.

Description

传屏控制方法、装置、电子设备以及计算机可读存储介质Screen transmission control method, device, electronic device and computer readable storage medium
本申请要求于2022年10月21日提交中国国家知识产权局、申请号为202211292727.2、发明名称为“一种传屏控制方法、电子设备以及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This application claims priority to a Chinese patent application filed with the State Intellectual Property Office of China on October 21, 2022, with application number 202211292727.2 and invention name “A screen transmission control method, electronic device and computer-readable storage medium”, the entire contents of which are incorporated by reference in this disclosure.
技术领域Technical Field
本公开涉及显示技术领域,具体涉及一种传屏控制方法、装置、电子设备以及计算机可读存储介质。The present disclosure relates to the field of display technology, and in particular to a screen transmission control method, device, electronic device, and computer-readable storage medium.
背景技术Background technique
随着商业会议、家庭娱乐、竞技游戏等场景的出现和多元化,传屏(投屏)作为一种展示对端显示内容的显示技术开始广泛应用于以上的场景中。其特点是采集传屏发送端的屏幕内容,利用无线或有线传输技术,传输至传屏接收端中进行内容的同步展示。With the emergence and diversification of business meetings, home entertainment, competitive games and other scenarios, screen transmission (screen projection) as a display technology for displaying the display content of the other end has begun to be widely used in the above scenarios. Its characteristics are to collect the screen content of the screen transmission end, and use wireless or wired transmission technology to transmit it to the screen transmission receiving end for synchronous display of the content.
上述传屏方式具有局限性,仅仅能够进行显示画面的同步,两个设备之间缺乏更多的功能性交互。The above screen transmission method has limitations. It can only synchronize the display images, and lacks more functional interactions between the two devices.
发明内容Summary of the invention
本公开实施例提供一种传屏控制方法、电子设备以及计算机可读存储介质,用于在传屏过程中利用一台设备控制对端设备,增加了传屏过程中的对端控制功能。The embodiments of the present disclosure provide a screen transmission control method, an electronic device, and a computer-readable storage medium, which are used to control a peer device using one device during a screen transmission process, thereby increasing the peer control function during the screen transmission process.
本公开提供一种传屏控制方法,应用于传屏发送端,该传屏控制方法包括:发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示;接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口;基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。The present disclosure provides a screen transmission control method, which is applied to a screen transmission sending end, and the screen transmission control method includes: sending first display data corresponding to a display window to a screen transmission receiving end, so that the screen transmission receiving end displays in a projection window based on the first display data; receiving second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end; displaying in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control operations on the screen transmission receiving end.
本公开还提供一种传屏控制方法,应用于传屏接收端,该传屏控制方法包括:获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口;基于第一显示数据在投屏窗口显示;发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。 The present disclosure also provides a screen transmission control method, which is applied to a screen transmission receiving end, and the screen transmission control method includes: acquiring first display data sent by a screen transmission sending end, the first display data corresponding to a display window of the screen transmission sending end; displaying in a projection window based on the first display data; sending second display data corresponding to an operation window to the screen transmission sending end, so that the screen transmission sending end displays in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
本公开还提供一种传屏控制装置,应用于传屏发送端,该装置包括:第一发送模块,设置于发送显示窗口对应的第一显示数据至传屏接收端,以使所述传屏接收端基于所述第一显示数据在投屏窗口显示;接收模块,设置于接收所述传屏接收端发送的第二显示数据;其中,所述第二显示数据对应所述传屏接收端的操作窗口;第一显示模块,基于所述第二显示数据在所述传屏发送端的控制窗口显示;其中,所述控制窗口被配置为响应基于所述控制窗口的输入事件,以对所述传屏接收端进行控制操作。The present disclosure also provides a screen transmission control device, which is applied to a screen transmission sending end, and the device includes: a first sending module, which is configured to send first display data corresponding to a display window to a screen transmission receiving end, so that the screen transmission receiving end displays in a projection window based on the first display data; a receiving module, which is configured to receive second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end; a first display module, which displays in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control operations on the screen transmission receiving end.
本公开还提供一种传屏控制装置,应用于传屏接收端,该装置包括:获取模块,设置于获取传屏发送端发送的第一显示数据,所述第一显示数据对应所述传屏发送端的显示窗口;第二显示模块,设置于基于所述第一显示数据在投屏窗口显示;第二发送模块,设置于发送操作窗口对应的第二显示数据至所述传屏发送端,以使所述传屏发送端基于所述第二显示数据在所述传屏发送端的控制窗口显示;其中,所述控制窗口被配置为响应基于所述控制窗口的输入事件,以对所述传屏接收端进行控制操作。The present disclosure also provides a screen transmission control device, which is applied to a screen transmission receiving end, and the device includes: an acquisition module, which is configured to acquire first display data sent by a screen transmission sending end, and the first display data corresponds to a display window of the screen transmission sending end; a second display module, which is configured to display in a projection window based on the first display data; a second sending module, which is configured to send second display data corresponding to an operation window to the screen transmission sending end, so that the screen transmission sending end displays in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
本公开还提供一种电子设备,该电子设备包括处理器和存储器,存储器设置于存储程序数据,处理器设置于执行程序数据以实现如上述的方法。The present disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory is configured to store program data, and the processor is configured to execute the program data to implement the above method.
本公开还提供一种计算机可读存储介质,该计算机可读存储介质中存储有程序数据,程序数据在被处理器执行时,用于实现如上述的方法。The present disclosure also provides a computer-readable storage medium, in which program data is stored. When the program data is executed by a processor, it is used to implement the above method.
本公开实施例提供的传屏控制方法包括:传屏发送端发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示;接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口;基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。通过上述方式,能够在传屏发送端的显示界面上显示传屏接收端的操作窗口的内容,以使传屏发送端和传屏接收端都能够对传屏接收端进行控制,使得在传屏的过程中,可以方便的对传屏接收端进行控制,有助于传屏内容的体现和播放,也方便两端用户的交互。The screen transmission control method provided by the embodiment of the present disclosure includes: the screen transmission sending end sends the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receives the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; based on the second display data, it is displayed in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end. Through the above method, the content of the operation window of the screen transmission receiving end can be displayed on the display interface of the screen transmission sending end, so that both the screen transmission sending end and the screen transmission receiving end can control the screen transmission receiving end, so that during the screen transmission process, the screen transmission receiving end can be conveniently controlled, which is helpful for the embodiment and playback of the screen transmission content, and also convenient for the interaction of users at both ends.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开 的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only for reference only. For some embodiments of the present invention, those skilled in the art can derive other drawings based on these drawings without paying any creative work.
图1是本公开提供的传屏控制方法第一实施例的流程示意图;FIG1 is a flow chart of a first embodiment of a screen transmission control method provided by the present disclosure;
图2是本公开一实施例中步骤11的流程示意图;FIG2 is a flow chart of step 11 in an embodiment of the present disclosure;
图3是本公开提供的传屏控制方法第二实施例的流程示意图;FIG3 is a flow chart of a second embodiment of a screen transmission control method provided by the present disclosure;
图4是本公开一实施例中步骤23的流程示意图;FIG4 is a flow chart of step 23 in an embodiment of the present disclosure;
图5是本公开提供的传屏控制方法的第一交互示意图;FIG5 is a first interactive schematic diagram of the screen transmission control method provided by the present disclosure;
图6是本公开提供的传屏控制方法第三实施例的流程示意图;FIG6 is a flow chart of a third embodiment of a screen transmission control method provided by the present disclosure;
图7是本公开提供的传屏控制方法第四实施例的流程示意图;FIG7 is a schematic flow chart of a fourth embodiment of a screen transmission control method provided by the present disclosure;
图8是本公开提供的传屏控制方法的第二交互示意图;FIG8 is a second interactive schematic diagram of the screen transmission control method provided by the present disclosure;
图9是本公开提供的传屏控制方法第五实施例的流程示意图;FIG9 is a flowchart of a fifth embodiment of a screen transmission control method provided by the present disclosure;
图10是本公开提供的传屏控制方法第六实施例的流程示意图;FIG10 is a flow chart of a sixth embodiment of a screen transmission control method provided by the present disclosure;
图11是本公开提供的传屏控制方法的第三交互示意图;FIG11 is a third interactive schematic diagram of the screen transmission control method provided by the present disclosure;
图12是本公开提供的应用于传屏发送端的传屏控制装置一实施例的结构示意图;FIG12 is a schematic structural diagram of an embodiment of a screen transmission control device provided by the present disclosure and applied to a screen transmission sending end;
图13是本公开提供的应用于传屏接收端的传屏控制装置一实施例的结构示意图;FIG13 is a structural diagram of an embodiment of a screen transmission control device applied to a screen transmission receiving end provided by the present disclosure;
图14是本公开提供的电子设备一实施例的结构示意图;FIG14 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
图15是本公开提供的计算机可读存储介质一实施例的结构示意图。FIG. 15 is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
在现有的无线传屏场景中,若需要对会议平板上的内容进行控制,比如打开视频会议软件,通过视频会议软件共享电脑分享到会议平板上的内容时,需 要用户从电脑端走到会议平板端,在会议平板上进行操作,给用户的体验不佳。In the existing wireless screen transmission scenario, if you need to control the content on the conference tablet, such as opening the video conferencing software and sharing the content on the conference tablet through the video conferencing software, you need to Requiring users to move from their computers to the conference tablet and perform operations on the conference tablet does not provide a good user experience.
基于此,本公开实施例提供一种传屏控制方法,主要应用于传屏发送端向传屏接收端进行传屏,其中传屏发送端可以为手机、电脑等,传屏接收端可以为会议平板、电视灯。下面以传屏发送端为电脑、传屏接收端为会议平板为例进行具体说明。Based on this, the embodiment of the present disclosure provides a screen transmission control method, which is mainly used for transmitting the screen from a screen transmission sending end to a screen transmission receiving end, wherein the screen transmission sending end can be a mobile phone, a computer, etc., and the screen transmission receiving end can be a conference tablet, a TV light. The following is a specific description using the screen transmission sending end as a computer and the screen transmission receiving end as a conference tablet as an example.
参阅图1,图1是本公开提供的传屏控制方法第一实施例的流程示意图,该方法的执行主体为传屏发送端,诸如电脑,该方法包括:Referring to FIG. 1 , FIG. 1 is a flow chart of a first embodiment of a screen transmission control method provided by the present disclosure. The execution subject of the method is a screen transmission sending end, such as a computer. The method includes:
步骤11:发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示。Step 11: Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays it in the projection window based on the first display data.
其中,电脑的显示界面可以包括显示窗口和控制窗口。Among them, the display interface of the computer may include a display window and a control window.
显示窗口用于显示需要传屏的内容,例如视频画面、图片画面、PPT(PowerPoint、幻灯片)文档画面、直播画面等。在一具体的实施例中,该显示窗口可以是一应用程序的窗口,例如一视频播放软件、会议软件、直播软件、或文档播放软件(word或PDF等)。The display window is used to display the content that needs to be transmitted, such as video screen, picture screen, PPT (PowerPoint, slide) document screen, live broadcast screen, etc. In a specific embodiment, the display window can be a window of an application, such as a video player software, conference software, live broadcast software, or document player software (word or PDF, etc.).
控制窗口用于显示控制界面,以利用该控制界面获取用户的输入事件,从而对传屏接收端,诸如会议平板进行控制。The control window is used to display a control interface, so as to use the control interface to obtain user input events, thereby controlling the screen transmission receiving end, such as a conference tablet.
步骤12:接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口。Step 12: Receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end.
其中,会议平板的显示界面可以包括传屏窗口和操作窗口。Among them, the display interface of the conference tablet can include a screen transmission window and an operation window.
传屏窗口用于显示电脑发送的第一显示数据,即电脑的显示窗口内的内容会同步传屏至会议平板的传屏窗口中进行显示,可以理解地,传屏窗口的显示内容基于数据传输的延迟,可能相对于显示窗口的显示内容有延迟。The screen transmission window is used to display the first display data sent by the computer, that is, the content in the display window of the computer will be synchronously transmitted to the screen transmission window of the conference tablet for display. It can be understood that the display content of the screen transmission window may be delayed relative to the display content of the display window due to the delay in data transmission.
操作窗口用于显示操作界面,以利用该操作界面获取用户的输入指令,从而对会议平板进行控制。The operation window is used to display the operation interface, so as to obtain the user's input instructions through the operation interface, so as to control the conference tablet.
步骤13:基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Step 13: Display in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
其中,在传屏发送端端,用户可以通过控制窗口来对传屏接收端进行控制, 在传屏接收端,用户可以通过操作窗口来对传屏接收端进行控制,即,传屏发送端将显示画面传屏至传屏接收端,传屏发送端和传屏接收端两端的用户均可以对传屏接收端进行操作控制,能够使传屏过程有更好的功能体验。Among them, at the screen transmission end, the user can control the screen transmission receiving end through the control window. At the screen transmission receiving end, the user can control the screen transmission receiving end through the operation window, that is, the screen transmission sending end transmits the display screen to the screen transmission receiving end. Users at both the screen transmission sending end and the screen transmission receiving end can operate and control the screen transmission receiving end, which can provide a better functional experience in the screen transmission process.
下面以电脑和会议平板的应用场景进行举例说明:在进行远程视频会议的场景中,主持人所用的电脑将课程内容传屏至会议平板上,会议平板上包括投屏窗口和操作窗口,投屏窗口显示课程内容,操作窗口显示控制按钮,例如音量调节按钮、亮度调节按钮、开麦/闭麦按钮等,同时,操作窗口的显示内容作为第二显示数据传输至电脑,并在电脑的控制窗口显示,主持人可以通过该控制窗口来控制电子设备B,比如,主持人发现会议平板的麦克风没有打开,可以主动调节来开启会议平板的麦克风,就不必在没开麦无法语音交流的情况下,走到会议平板前对会议平板进行控制操作。The following application scenarios of computers and conference tablets are used as examples: in the scenario of a remote video conference, the computer used by the host transmits the course content to the conference tablet. The conference tablet includes a projection window and an operation window. The projection window displays the course content, and the operation window displays control buttons, such as volume adjustment buttons, brightness adjustment buttons, microphone on/off buttons, etc. At the same time, the display content of the operation window is transmitted to the computer as the second display data and displayed in the control window of the computer. The host can control electronic device B through the control window. For example, if the host finds that the microphone of the conference tablet is not turned on, the host can actively adjust to turn on the microphone of the conference tablet, so there is no need to walk to the conference tablet to control the conference tablet when the microphone is not turned on and voice communication is impossible.
可以理解地,在电脑的控制窗口可以不仅包含第二显示数据对应的显示内容,还可以包含对电脑的控制按钮。例如,控制窗口可以包括两部分,第一控制窗口和第二控制窗口,其中的第一控制窗口用于接收输入的指令对电脑进行控制,第二控制窗口用于获取输入事件,以对会议平板进行控制。It is understandable that the control window of the computer may include not only the display content corresponding to the second display data, but also the control buttons for the computer. For example, the control window may include two parts, a first control window and a second control window, wherein the first control window is used to receive input instructions to control the computer, and the second control window is used to obtain input events to control the conference tablet.
可选地,在一实施例中,如图2所示,图2是本公开一实施例中步骤11的流程示意图,该步骤11可以具体包括:Optionally, in one embodiment, as shown in FIG. 2 , FIG. 2 is a flow chart of step 11 in one embodiment of the present disclosure, and step 11 may specifically include:
步骤111:获取传屏发送端的全屏显示数据。Step 111: Obtain the full-screen display data of the screen transmission sending end.
其中,屏幕数据的采集可以利用电脑系统自带的采集工具,也可以采用安装的硬件工具或软件工具。The screen data can be collected by using the collection tools provided by the computer system, or by using installed hardware tools or software tools.
以Windows10为例,可以采用WGC(Windows Graphics Capture)技术实现屏幕画面的采集,采集得到的数据一般为YUV数据或RGB数据。当然,在其他实施例中,也可以利用GDI、DXGI、Magnification等屏幕采集技术,这里不再一一举例。Taking Windows 10 as an example, WGC (Windows Graphics Capture) technology can be used to collect screen images, and the collected data is generally YUV data or RGB data. Of course, in other embodiments, screen collection technologies such as GDI, DXGI, Magnification, etc. can also be used, and examples are not given here one by one.
步骤112:将传屏发送端的全屏显示数据过滤第二显示数据,以得到显示窗口对应的第一显示数据。Step 112: Filter the second display data with the full-screen display data of the screen transmission sending end to obtain the first display data corresponding to the display window.
其中,第二显示数据是显示于控制窗口的数据,因此,本步骤实际是利用全屏显示数据过滤掉控制窗口的显示数据,以剩下显示窗口的显示数据,即第 一显示数据。The second display data is the data displayed in the control window. Therefore, this step actually uses the full-screen display data to filter out the display data of the control window, so as to leave the display data of the display window, that is, the first display data. 1. Display data.
以Windows10为例,利用Magnification和WGC进行屏幕数据采集均可以进行窗口过滤,若采用WGC进行屏幕数据采集的可以采用Set Window Display Affinity进行窗口过滤。Taking Windows 10 as an example, window filtering can be performed by using Magnification and WGC for screen data collection. If WGC is used for screen data collection, Set Window Display Affinity can be used for window filtering.
步骤113:发送第一显示数据至传屏接收端。Step 113: Send the first display data to the screen transmission receiving end.
其中,显示数据的传输可以采用有线或无线的方式,如果采用有线的方式,一般将RGB或YUV数据,通过HDMI(High Definition Multimedia Interface、高清多媒体)或DP(Decentralized Periphery,)协议(一种在485串口上运行的profibus通信协议),传输至会议平板;如果采用无线的方式,可以采用h.264编码器(如libx264)对RGB或YUV数据进行压缩编码后,通过IEEE 802.11协议配合TCP(Transmission Control Protocol)、UDP(User Datagram Protocol)等传输协议,传输h.264数据至会议平板。会议平板接收到数据后,判端数据是否经过编码压缩,如果是则需先通过对应的解码器(例如h.264的解码器libx264)对显示数据进行解码。而后对RGB或YUV的数据进行渲染,如果会议平板是Windows操作系统,可以使用OpenGL(Open Graphics Library,开放图形库)对显示数据进行渲染,如果会议平板是macOS操作系统,可以使用Metal(渲染接口)对显示数据进行渲染。The transmission of display data can be done by wired or wireless means. If the wired method is used, the RGB or YUV data is generally transmitted to the conference flat panel through the HDMI (High Definition Multimedia Interface) or DP (Decentralized Periphery) protocol (a profibus communication protocol running on a 485 serial port); if the wireless method is used, the h.264 encoder (such as libx264) can be used to compress and encode the RGB or YUV data, and then the h.264 data is transmitted to the conference flat panel through the IEEE 802.11 protocol in conjunction with TCP (Transmission Control Protocol), UDP (User Datagram Protocol) and other transmission protocols. After receiving the data, the conference flat panel determines whether the data has been encoded and compressed. If so, the display data must first be decoded by the corresponding decoder (such as the h.264 decoder libx264). Then render the RGB or YUV data. If the conference tablet is running the Windows operating system, you can use OpenGL (Open Graphics Library) to render the display data. If the conference tablet is running the macOS operating system, you can use Metal (rendering interface) to render the display data.
而对于传屏接收端,请参阅图3,图3是本公开提供的传屏控制方法第二实施例的流程示意图,该方法的执行主体为传屏接收端,以会议平板为例,该方法包括:As for the screen transmission receiving end, please refer to FIG. 3, which is a flow chart of the second embodiment of the screen transmission control method provided by the present disclosure. The execution subject of the method is the screen transmission receiving end. Taking the conference tablet as an example, the method includes:
步骤31:获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口。Step 31: Acquire the first display data sent by the screen transmission sending end, where the first display data corresponds to the display window of the screen transmission sending end.
其中,会议平板的显示界面可以包括显示窗口和控制窗口。Among them, the display interface of the conference tablet may include a display window and a control window.
显示窗口用于显示需要传屏的内容,例如视频画面、图片画面、PPT(PowerPoint、幻灯片)文档画面、直播画面等。在一具体的实施例中,该显示窗口可以是一应用程序的窗口,例如一视频播放软件、会议软件、直播软件、或文档播放软件(word或PDF等)。The display window is used to display the content that needs to be transmitted, such as video screen, picture screen, PPT (PowerPoint, slide) document screen, live broadcast screen, etc. In a specific embodiment, the display window can be a window of an application, such as a video player software, conference software, live broadcast software, or document player software (word or PDF, etc.).
控制窗口用于显示控制界面,以利用该控制界面获取用户的输入事件,从 而对会议平板进行控制。The control window is used to display the control interface, so as to obtain the user's input events through the control interface. And control the conference tablet.
步骤32:基于第一显示数据在投屏窗口显示。Step 32: Display in the projection window based on the first display data.
其中,会议平板的显示界面可以包括传屏窗口和操作窗口。Among them, the display interface of the conference tablet can include a screen transmission window and an operation window.
传屏窗口用于显示传屏发送端,诸如电脑,发送的第一显示数据,即电脑的显示窗口内的内容会同步传屏至会议平板的传屏窗口中进行显示,可以理解地,传屏窗口的显示内容基于数据传输的延迟,可能相对于显示窗口的显示内容有延迟。The screen transmission window is used to display the first display data sent by the screen transmission sender, such as a computer. That is, the content in the display window of the computer will be synchronously transmitted to the screen transmission window of the conference tablet for display. It can be understood that the display content of the screen transmission window may be delayed relative to the display content of the display window based on the delay in data transmission.
操作窗口用于显示操作界面,以利用该操作界面获取用户的输入指令,从而对传屏接收端进行控制。The operation window is used to display the operation interface, so as to obtain the user's input instructions through the operation interface, so as to control the screen transmission receiving end.
步骤33:发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Step 33: Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
其中,在电脑端,用户可以通过控制窗口来对会议平板进行控制,在会议平板端,用户可以通过操作窗口来对会议平板进行控制,即,电脑将显示画面传屏至会议平板,电脑和会议平板两端的用户均可以对会议平板进行操作控制,能够使传屏过程有更好的功能体验。Among them, on the computer side, users can control the conference tablet through the control window, and on the conference tablet side, users can control the conference tablet through the operation window, that is, the computer will transmit the display screen to the conference tablet, and users on both the computer and the conference tablet can operate and control the conference tablet, which can make the screen transmission process have a better functional experience.
可以理解地,在电脑的控制窗口可以不仅包含第二显示数据对应的显示内容,还可以包含对电脑的控制按钮。例如,控制窗口可以包括两部分,第一控制窗口和第二控制窗口,其中的第一控制窗口用于接收输入的指令对电脑进行控制,第二控制窗口用于获取输入事件,以对会议平板进行控制。It is understandable that the control window of the computer may include not only the display content corresponding to the second display data, but also the control buttons for the computer. For example, the control window may include two parts, a first control window and a second control window, wherein the first control window is used to receive input instructions to control the computer, and the second control window is used to obtain input events to control the conference tablet.
可选地,在一实施例中,如图4所示,图4是本公开一实施例中步骤33的流程示意图,该步骤33可以具体包括:Optionally, in one embodiment, as shown in FIG. 4 , FIG. 4 is a flow chart of step 33 in one embodiment of the present disclosure, and step 33 may specifically include:
步骤331:获取传屏接收端的全屏显示数据。Step 331: Obtain full-screen display data from the screen transmission receiving end.
其中,屏幕数据的采集可以利用会议平板的系统自带的采集工具,也可以采用安装的硬件工具或软件工具。The screen data can be collected by using the collection tools provided by the conference tablet system, or by using installed hardware tools or software tools.
以Windows10为例,可以采用WGC(Windows Graphics Capture)技术实现屏幕画面的采集,采集得到的数据一般为YUV数据或RGB数据。当然, 在其他实施例中,也可以利用GDI、DXGI、Magnification等屏幕采集技术,这里不再一一举例。Taking Windows 10 as an example, WGC (Windows Graphics Capture) technology can be used to capture screen images. The captured data is generally YUV data or RGB data. In other embodiments, screen acquisition technologies such as GDI, DXGI, and Magnification may also be used, and examples are not given here one by one.
步骤332:将传屏接收端的全屏显示数据过滤第一显示数据,以得到操作窗口对应的第二显示数据。Step 332: Filter the first display data with the full-screen display data of the screen transmission receiving end to obtain the second display data corresponding to the operation window.
其中,第一显示数据是显示于操作窗口的数据,因此,本步骤实际是利用全屏显示数据过滤掉操作窗口的显示数据,以剩下传屏窗口的显示数据,即第一显示数据。Among them, the first display data is the data displayed in the operation window. Therefore, this step actually uses the full-screen display data to filter out the display data of the operation window to leave the display data of the screen transmission window, that is, the first display data.
以Windows10为例,利用Magnification和WGC进行屏幕数据采集均可以进行窗口过滤,若采用WGC进行屏幕数据采集的可以采用SetWindowDisplayAffinity进行窗口过滤。Taking Windows 10 as an example, both Magnification and WGC can be used for screen data collection to perform window filtering. If WGC is used for screen data collection, SetWindowDisplayAffinity can be used for window filtering.
步骤333:发送第二显示数据至传屏发送端。Step 333: Send the second display data to the screen transmission end.
其中,显示数据的传输可以采用有线或无线的方式,如果采用有线的方式,一般将RGB或YUV数据,通过HDMI(High Definition Multimedia Interface、高清多媒体)或DP(Decentralized Periphery,)协议(一种在485串口上运行的profibus通信协议),传输至电脑;如果采用无线的方式,可以采用h.264编码器(如libx264)对RGB或YUV数据进行压缩编码后,通过IEEE 802.11协议配合TCP(Transmission Control Protocol)、UDP(User Datagram Protocol)等传输协议,传输h.264数据至电脑。电脑接收到数据后,判端数据是否经过编码压缩,如果是则需先通过对应的解码器(例如h.264的解码器libx264)对显示数据进行解码。而后对RGB或YUV的数据进行渲染,如果电脑是Windows操作系统,可以使用OpenGL(Open Graphics Library,开放图形库)对显示数据进行渲染,如果电脑是macOS操作系统,可以使用Metal(渲染接口)对显示数据进行渲染。Among them, the transmission of display data can be done by wired or wireless means. If the wired method is used, the RGB or YUV data is generally transmitted to the computer through the HDMI (High Definition Multimedia Interface) or DP (Decentralized Periphery) protocol (a profibus communication protocol running on the 485 serial port); if the wireless method is used, the h.264 encoder (such as libx264) can be used to compress and encode the RGB or YUV data, and then the h.264 data is transmitted to the computer through the IEEE 802.11 protocol in conjunction with TCP (Transmission Control Protocol), UDP (User Datagram Protocol) and other transmission protocols. After the computer receives the data, it determines whether the data has been encoded and compressed. If so, the display data must first be decoded by the corresponding decoder (such as the h.264 decoder libx264). Then render the RGB or YUV data. If the computer is running Windows operating system, you can use OpenGL (Open Graphics Library) to render the display data. If the computer is running macOS operating system, you can use Metal (rendering interface) to render the display data.
结合上述图1和图3,再参阅图5,图5是本公开提供的传屏控制方法的第一交互示意图,对传屏发送端(以电脑为例)和传屏接收端(以会议平板为例)的传屏交互过程进行介绍:In combination with FIG. 1 and FIG. 3 , refer to FIG. 5 , which is a first interactive schematic diagram of the screen transmission control method provided by the present disclosure, and introduces the screen transmission interaction process of the screen transmission sending end (taking a computer as an example) and the screen transmission receiving end (taking a conference tablet as an example):
①传屏发送端采集全屏显示数据;①The screen transmission sending end collects full-screen display data;
②传屏发送端将采集的全屏显示数据过滤控制窗口的显示数据,得到第一 显示数据;② The screen transmission sending end filters the collected full-screen display data to control the display data of the window and obtains the first Display Data;
③传屏发送端发送第一显示数据至传屏接收端;③ The screen transmission sending end sends the first display data to the screen transmission receiving end;
④传屏接收端在传屏窗口显示第一显示数据对应的显示内容;④ The screen transmission receiving end displays the display content corresponding to the first display data in the screen transmission window;
⑤传屏接收端采集全屏显示数据;⑤The screen transmission receiving end collects full-screen display data;
⑥传屏接收端将采集的全屏显示数据过滤操作窗口的显示数据,得到第二显示数据;⑥ The screen transmission receiving end filters the display data of the operation window with the collected full-screen display data to obtain the second display data;
⑦传屏接收端发送第二显示数据至传屏发送端;⑦ The screen transmission receiving end sends the second display data to the screen transmission sending end;
⑧传屏发送端在控制窗口显示第二显示数据对应的显示内容。⑧ The screen transmission sending end displays the display content corresponding to the second display data in the control window.
值得注意的是,上述的步骤①-④、步骤⑤-⑧可以看作是两个独立的过程,两个过程可以同时进行,比如步骤②中过滤的控制窗口的显示数据,就是步骤⑧中电脑在控制窗口中显示的第二显示数据对应的内容。It is worth noting that the above steps ①-④ and steps ⑤-⑧ can be regarded as two independent processes, and the two processes can be carried out simultaneously. For example, the display data of the control window filtered in step ② is the content corresponding to the second display data displayed by the computer in the control window in step ⑧.
区别于现有技术,本实施例提供的传屏控制方法包括:传屏发送端发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示;接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口;基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。通过上述方式,能够在传屏发送端的显示界面上显示传屏接收端的操作窗口的内容,以使传屏发送端和传屏接收端都能够对传屏接收端进行控制,使得在传屏的过程中,可以方便的对传屏接收端进行控制,有助于传屏内容的体现和播放,也方便两端用户的交互。Different from the prior art, the screen transmission control method provided in this embodiment includes: the screen transmission sending end sends the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receives the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; based on the second display data, it is displayed in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end. Through the above method, the content of the operation window of the screen transmission receiving end can be displayed on the display interface of the screen transmission sending end, so that both the screen transmission sending end and the screen transmission receiving end can control the screen transmission receiving end, so that during the screen transmission process, the screen transmission receiving end can be conveniently controlled, which is helpful for the embodiment and playback of the screen transmission content, and also convenient for the interaction of users at both ends.
参阅图6,图6是本公开提供的传屏控制方法第三实施例的流程示意图,该方法应用于传屏发送端,该方法包括:Referring to FIG. 6 , FIG. 6 is a flow chart of a third embodiment of a screen transmission control method provided by the present disclosure, the method is applied to a screen transmission sending end, and the method includes:
步骤61:发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示。Step 61: Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays it in the projection window based on the first display data.
步骤62:接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口。Step 62: Receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end.
步骤63:基于第二显示数据在传屏发送端的控制窗口显示。 Step 63: Display in the control window of the screen transmission sending end based on the second display data.
上述步骤61-63与上述实施例类似,这里不再赘述。The above steps 61-63 are similar to the above embodiment and will not be repeated here.
步骤64:基于控制窗口的输入事件,生成对应的控制数据。Step 64: Generate corresponding control data based on the input event of the control window.
步骤65:发送控制数据至传屏接收端,以使传屏接收端基于控制数据模拟输入事件生成对应的控制指令,以对传屏接收端的操作窗口进行控制。Step 65: Send control data to the screen transmission receiving end, so that the screen transmission receiving end generates corresponding control instructions based on the control data simulated input event to control the operation window of the screen transmission receiving end.
其中,输入事件可以包括鼠标、键盘、触摸屏等常规输入方式,也可以包括语音输入、手势输入等交互式输入。在一实施例中,可以利用操作系统的接口来捕捉输入事件,以Windows操作系统为例,Windows操作系统中配置有捕获输入事件的API接口。The input event may include conventional input methods such as mouse, keyboard, touch screen, etc., and may also include interactive input such as voice input, gesture input, etc. In one embodiment, the input event may be captured using an interface of the operating system. Taking the Windows operating system as an example, the Windows operating system is configured with an API interface for capturing input events.
可以理解地,由于鼠标、键盘等捕获的数据均为数值或ascii字符,可以很简单的转化成二进制的数据。再将该二进制数据传输至会议平板。会议平板接收到对应的数据后,可以模拟成对应的输入事件的控制指令,这样就实现了电脑控制会议平板。It can be understood that since the data captured by the mouse, keyboard, etc. are all numerical values or ascii characters, they can be easily converted into binary data. Then the binary data is transmitted to the conference tablet. After the conference tablet receives the corresponding data, it can simulate the control instructions of the corresponding input event, thus realizing the computer controlling the conference tablet.
在实现会议平板的事件模拟的时候,有一个需要注意的细节,由于我们在电脑上渲染的会议平板画面,实际上是过滤了电脑的投屏内容,我们在会议平板进行事件模拟时,也需要将这一个因素考虑进去,即实现输入事件的透传。When implementing event simulation on the conference tablet, there is a detail that needs attention. Since the conference tablet screen rendered on the computer actually filters the computer's screen content, we also need to take this factor into consideration when simulating events on the conference tablet, that is, to achieve transparent transmission of input events.
具体地,电脑将控制数据发送给会议平板后,会议平板基于控制数据模拟输入事件生成对应的控制指令。其中,在模拟输入事件时,应该过滤掉投屏窗口,即实现透传所有控制数据至该操作窗口。Specifically, after the computer sends the control data to the conference tablet, the conference tablet generates corresponding control instructions based on the control data simulation input event. When simulating the input event, the projection window should be filtered out, that is, all control data is transparently transmitted to the operation window.
在控制过程中,以鼠标为例,当系统捕获到鼠标的输入操作,获取该鼠标光标的位置信息,并根据该位置信息确定对应的控制数据,将控制数据发给会议平板。会议平板来接收到控制数据后,根据该位置信息在操作窗口中模拟鼠标的输入事件,以完成相应的点击操作,从而实现会议平板的控制。In the control process, taking the mouse as an example, when the system captures the input operation of the mouse, obtains the position information of the mouse cursor, determines the corresponding control data based on the position information, and sends the control data to the conference tablet. After receiving the control data, the conference tablet simulates the input event of the mouse in the operation window according to the position information to complete the corresponding click operation, thereby realizing the control of the conference tablet.
而对于传屏接收端,请参阅图7,图7是本公开提供的传屏控制方法第四实施例的流程示意图,该方法应用于传屏接收端,该方法包括:As for the screen transmission receiving end, please refer to FIG. 7 , which is a flow chart of a fourth embodiment of the screen transmission control method provided by the present disclosure. The method is applied to the screen transmission receiving end, and the method includes:
步骤71:获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口。Step 71: Acquire the first display data sent by the screen transmission sending end, where the first display data corresponds to the display window of the screen transmission sending end.
步骤72:基于第一显示数据在投屏窗口显示。 Step 72: Display in the projection window based on the first display data.
步骤73:发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示。Step 73: Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end.
步骤74:获取传屏发送端发送的控制数据,控制数据由传屏发送端基于控制窗口的输入事件生成。Step 74: Obtain control data sent by the screen transmission sending end, where the control data is generated by the screen transmission sending end based on input events of the control window.
步骤75:基于控制数据模拟输入事件生成对应的控制指令,以对传屏接收端的操作窗口进行控制。Step 75: Generate corresponding control instructions based on the control data simulation input event to control the operation window of the screen transmission receiving end.
本实施例与上述实施例类似,这里不再详述。This embodiment is similar to the above embodiment and will not be described in detail here.
在一可选的实施例中,步骤75可以具体包括:基于控制数据模拟操作窗口的输入事件;根据输入事件生成对应的控制指令;根据控制指令对传屏接收端的操作窗口进行控制。In an optional embodiment, step 75 may specifically include: simulating input events of the operation window based on the control data; generating corresponding control instructions according to the input events; and controlling the operation window of the screen transmission receiving end according to the control instructions.
可以理解地,因为传屏接收端的显示屏包括投屏窗口和操作窗口,而投屏窗口不需要进行操作,因此在基于控制数据模拟输入事件时,应该过滤掉投屏窗口,实现所有输入事件至操作窗口的透传,即所有控制指令都应该是对应操作窗口的,从而实现对操作窗口进行操作进而对传屏接收端进行控制。It can be understood that because the display screen of the screen transmission receiving end includes a projection window and an operation window, and the projection window does not need to be operated, when simulating input events based on control data, the projection window should be filtered out to achieve transparent transmission of all input events to the operation window, that is, all control instructions should correspond to the operation window, so as to operate the operation window and then control the screen transmission receiving end.
结合上述图6和图7,再参阅图8,图8是本公开提供的传屏控制方法的第二交互示意图,对传屏发送端和传屏接收端的控制交互过程进行介绍:In combination with FIG. 6 and FIG. 7 , refer to FIG. 8 , which is a second interactive schematic diagram of the screen transmission control method provided by the present disclosure, and introduces the control interaction process between the screen transmission sending end and the screen transmission receiving end:
①传屏发送端采集输入事件;①The screen transmission sending end collects input events;
②传屏发送端对输入事件过滤,过滤剩下的输入事件为对应控制窗口的真实输入事件;② The screen transmission sending end filters the input events, and the remaining input events are the real input events of the corresponding control window;
③第一基于控制窗口的真实输入事件,确定其对应的位置信息,并形成控制数据;③ First, based on the real input event of the control window, determine the corresponding position information and form control data;
④传屏发送端发送控制数据至传屏接收端;④The screen transmission sending end sends control data to the screen transmission receiving end;
⑤传屏接收端基于控制数据模拟输入事件生成对应的控制指令,并利用控制指令以对传屏接收端进行控制。⑤ The screen transmission receiving end generates corresponding control instructions based on the control data simulation input event, and uses the control instructions to control the screen transmission receiving end.
举例而言,在老师对学生进行远程视频授课的场景中,老师所用的电子设备A将课程内容传屏至学生的电子设备B上,电子设备B上包括投屏窗口和操作窗口,投屏窗口显示课程内容,操作窗口显示控制按钮,例如开麦/闭麦 按钮,同时,操作窗口的显示内容作为第二显示数据传输至电子设备A,并在电子设备A的控制窗口显示,老师可以通过该控制窗口来控制电子设备B。比如,老师发现学生没有开麦,老师通过鼠标点击控制窗口中的开麦/闭麦按钮,系统捕获鼠标的点击操作并确定鼠标点击的位置,形成控制数据并发送给电子设备B,电子设备B接收到控制数据后,根据鼠标的点击操作及点击位置,在操作窗口中模拟对应开麦/闭麦按钮的点击操作,即完成了传屏发送端对传屏接收端的控制。For example, in a scenario where a teacher is giving a remote video lecture to a student, the teacher's electronic device A transmits the course content to the student's electronic device B. Electronic device B includes a projection window and an operation window. The projection window displays the course content, and the operation window displays control buttons, such as microphone on/off. button, and at the same time, the display content of the operation window is transmitted to electronic device A as the second display data and displayed in the control window of electronic device A. The teacher can control electronic device B through the control window. For example, if the teacher finds that the student has not turned on the microphone, the teacher clicks the microphone on/off button in the control window with the mouse. The system captures the mouse click operation and determines the mouse click position, forms control data and sends it to electronic device B. After receiving the control data, electronic device B simulates the corresponding microphone on/off button click operation in the operation window according to the mouse click operation and click position, thus completing the control of the screen transmission sending end over the screen transmission receiving end.
参阅图9,图9是本公开提供的传屏控制方法第五实施例的流程示意图,该方法应用于传屏发送端,该方法包括:Referring to FIG. 9 , FIG. 9 is a flow chart of a fifth embodiment of a screen transmission control method provided by the present disclosure, the method is applied to a screen transmission sending end, and the method includes:
步骤91:发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示。Step 91: Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays it in the projection window based on the first display data.
步骤92:接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口。Step 92: Receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end.
步骤93:基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Step 93: Display in a control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
步骤94:响应于触发文件复制操作,获取复制的文件数据。Step 94: In response to triggering the file copy operation, obtain the copied file data.
步骤95:响应于获取到传屏接收端发送的文件拉取指令,发送获取的文件数据至传屏接收端;其中,文件拉取指令由传屏接收端响应于触发文件黏贴操作生成。Step 95: In response to obtaining the file pull instruction sent by the screen transmission receiving end, send the obtained file data to the screen transmission receiving end; wherein, the file pull instruction is generated by the screen transmission receiving end in response to triggering a file pasting operation.
其中,电脑响应于文件复制操作,获取目标文件数据,会议平板响应于文件黏贴操作,向电脑拉取幅值的目标文件数据,以实现该目标文件数据的跨设备的复制和黏贴。The computer responds to the file copy operation to obtain the target file data, and the conference tablet responds to the file paste operation to pull the target file data of the amplitude to the computer to achieve cross-device copying and pasting of the target file data.
可选地,在一实施例中,步骤94可以具体为:响应于触发文件复制操作,读取传屏发送端的剪切板中的文件数据,并发送一标识信息至传屏接收端;其中,标识信息用于使传屏接收端在传屏接收端的剪切板中写入临时数据,并响应于传屏接收端的剪切板数据为空时,发送文件拉取指令至传屏发送端。Optionally, in one embodiment, step 94 may be specifically as follows: in response to triggering a file copy operation, reading the file data in the clipboard of the screen transmission sending end, and sending an identification information to the screen transmission receiving end; wherein the identification information is used to enable the screen transmission receiving end to write temporary data in the clipboard of the screen transmission receiving end, and in response to the clipboard data of the screen transmission receiving end being empty, sending a file pull instruction to the screen transmission sending end.
其中,电脑响应于触发文件复制操作,读取会议平板的剪切板中的文件数 据,并发送一标识信息至会议平板;会议平板在接收到第一标识信息后,在会议平板的剪切板中写入临时数据,并且会议平板响应于会议平板的剪切板数据为空时,认为会议平板触发了黏贴操作,发送文件拉取指令至电脑;电脑获取到文件拉取指令后,发送复制的文件数据至会议平板,完成文件数据的跨设备复制黏贴(文件传输)。The computer responds to the trigger file copy operation and reads the file data in the clipboard of the conference tablet. The conference tablet receives the first identification information and sends an identification information to the conference tablet; after receiving the first identification information, the conference tablet writes temporary data in the clipboard of the conference tablet, and when the conference tablet responds that the clipboard data of the conference tablet is empty, it is considered that the conference tablet has triggered a paste operation and sends a file pull instruction to the computer; after the computer obtains the file pull instruction, it sends the copied file data to the conference tablet to complete the cross-device copy and paste (file transfer) of the file data.
而对于传屏接收端,请参阅图10,图10是本公开提供的传屏控制方法第六实施例的流程示意图,该方法应用于传屏接收端,该方法包括:As for the screen transmission receiving end, please refer to FIG. 10 , which is a flow chart of a sixth embodiment of the screen transmission control method provided by the present disclosure. The method is applied to the screen transmission receiving end, and the method includes:
步骤101:获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口。Step 101: Acquire first display data sent by the screen transmission sending end, where the first display data corresponds to the display window of the screen transmission sending end.
步骤102:基于第一显示数据在投屏窗口显示。Step 102: Display in the projection window based on the first display data.
步骤103:发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Step 103: Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
步骤104:响应于触发文件黏贴操作,发送文件拉取指令至传屏发送端。Step 104: In response to triggering the file pasting operation, sending a file pull instruction to the screen transmission sending end.
步骤105:获取传屏发送端响应于拉取指令发送的文件数据;其中,文件数据由传屏发送端响应于触发文件复制操作而获取。Step 105: Obtain the file data sent by the screen transmission sending end in response to the pull instruction; wherein the file data is obtained by the screen transmission sending end in response to triggering a file copy operation.
可选地,在一实施例中,步骤104可以具体包括:响应于接收到传屏发送端发送的标识信息,在传屏接收端的剪切板中写入临时数据;其中,标识信息由传屏发送端响应于触发文件复制操作生成;响应于传屏接收端的剪切板的数据为空,发送文件拉取指令至传屏发送端。Optionally, in one embodiment, step 104 may specifically include: in response to receiving identification information sent by the screen transmission sending end, writing temporary data in the clipboard of the screen transmission receiving end; wherein the identification information is generated by the screen transmission sending end in response to triggering a file copy operation; in response to the data in the clipboard of the screen transmission receiving end being empty, sending a file pull instruction to the screen transmission sending end.
结合上述图9和图10,再参阅图11,图11是本公开提供的传屏控制方法的第三交互示意图,对传屏发送端和传屏接收端的文件分享交互过程进行介绍:In combination with FIG. 9 and FIG. 10 , refer to FIG. 11 , which is a third interactive schematic diagram of the screen transmission control method provided by the present disclosure, and introduces the file sharing interactive process between the screen transmission sending end and the screen transmission receiving end:
①传屏发送端触发文件复制操作;①The screen transmission sender triggers the file copy operation;
②传屏发送端读取传屏发送端的剪切板中的文件数据;② The screen transmission sending end reads the file data in the clipboard of the screen transmission sending end;
③传屏发送端发送一标识信息至传屏接收端;③ The screen transmission sending end sends an identification information to the screen transmission receiving end;
④传屏接收端响应于标识信息,在传屏接收端的剪切板中写入临时数据; ④ The screen transmission receiving end writes temporary data into the clipboard of the screen transmission receiving end in response to the identification information;
⑤传屏接收端响应于传屏接收端的剪切板数据为空时,发送文件拉取指令至传屏发送端;⑤ When the clipboard data of the screen transmission receiving end is empty, the screen transmission receiving end sends a file pull instruction to the screen transmission sending end;
⑥传屏发送端响应于文件拉取指令,发送文件数据至传屏接收端。⑥ The screen transmission sending end responds to the file pull instruction and sends the file data to the screen transmission receiving end.
参阅图12,图12是本公开提供的应用于传屏发送端的传屏控制装置的结构示意图,该应用于传屏发送端的传屏控制装置包括:Referring to FIG. 12 , FIG. 12 is a schematic diagram of the structure of a screen transmission control device applied to a screen transmission sending end provided by the present disclosure, and the screen transmission control device applied to the screen transmission sending end includes:
第一发送模块,设置于发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示;A first sending module is configured to send first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays the first display data in the projection window;
接收模块,设置于接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口;A receiving module, configured to receive second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end;
第一显示模块,基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。The first display module displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
可选地,在一实施例中,第一发送模块,包括:Optionally, in one embodiment, the first sending module includes:
第一获取单元,设置于获取传屏发送端的全屏显示数据;A first acquisition unit, configured to acquire full-screen display data from a screen transmission sending end;
第一过滤单元,设置于将传屏发送端的全屏显示数据过滤第二显示数据,以得到显示窗口对应的第一显示数据;A first filtering unit is configured to filter the second display data from the full-screen display data of the screen transmission sending end to obtain the first display data corresponding to the display window;
第一发送单元,设置于发送第一显示数据至传屏接收端。The first sending unit is configured to send the first display data to the screen transmission receiving end.
可选地,在一实施例中,装置包括:Optionally, in one embodiment, the device comprises:
第一控制模块,设置于基于控制窗口的输入事件,生成对应的控制数据;发送控制数据至传屏接收端,以使传屏接收端基于控制数据模拟输入事件生成对应的控制指令,以对传屏接收端的操作窗口进行控制。The first control module is configured to generate corresponding control data based on input events of the control window; the control data is sent to the screen transmission receiving end so that the screen transmission receiving end generates corresponding control instructions based on the control data simulated input events to control the operation window of the screen transmission receiving end.
可选地,在一实施例中,装置包括:Optionally, in one embodiment, the device comprises:
第一响应模块,设置于响应于触发文件复制操作,获取复制的文件数据;响应于获取到传屏接收端发送的文件拉取指令,发送获取的文件数据至传屏接收端;其中,文件拉取指令由传屏接收端响应于触发文件黏贴操作生成。The first response module is configured to obtain the copied file data in response to triggering a file copy operation; in response to obtaining a file pull instruction sent by the screen transmission receiving end, send the obtained file data to the screen transmission receiving end; wherein the file pull instruction is generated by the screen transmission receiving end in response to triggering a file paste operation.
可选地,在一实施例中,第一响应模块,设置于: Optionally, in one embodiment, the first response module is arranged at:
响应于触发文件复制操作,读取传屏发送端的剪切板中的文件数据,并发送一标识信息至传屏接收端;In response to triggering a file copy operation, the file data in the clipboard of the screen transmission sending end is read, and an identification information is sent to the screen transmission receiving end;
其中,标识信息设置于使传屏接收端在传屏接收端的剪切板中写入临时数据,并响应于传屏接收端的剪切板数据为空时,发送文件拉取指令至传屏发送端。Among them, the identification information is set to enable the screen transmission receiving end to write temporary data in the clipboard of the screen transmission receiving end, and in response to the clipboard data of the screen transmission receiving end being empty, send a file pull instruction to the screen transmission sending end.
参阅图13,图13是本公开提供的应用于传屏接收端的传屏控制装置,该应用于传屏接收端的传屏控制装置包括:Referring to FIG. 13 , FIG. 13 is a screen transmission control device provided by the present disclosure and applied to a screen transmission receiving end. The screen transmission control device applied to a screen transmission receiving end includes:
获取模块,设置于获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口;An acquisition module, configured to acquire first display data sent by the screen transmission sending end, the first display data corresponding to a display window of the screen transmission sending end;
第二显示模块,设置于基于第一显示数据在投屏窗口显示;A second display module, configured to display in the projection window based on the first display data;
第二发送模块,设置于发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。The second sending module is configured to send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
可选地,在一实施例中,第二发送模块,包括:Optionally, in one embodiment, the second sending module includes:
第二获取单元,设置于获取传屏接收端的全屏显示数据;A second acquisition unit is configured to acquire full-screen display data of a screen transmission receiving end;
第二过滤单元,设置于将传屏接收端的全屏显示数据过滤第一显示数据,以得到操作窗口对应的第二显示数据;A second filtering unit is configured to filter the first display data by the full-screen display data of the screen transmission receiving end to obtain second display data corresponding to the operation window;
第二发送单元,设置于发送第二显示数据至传屏发送端。The second sending unit is configured to send the second display data to the screen transmission end.
可选地,在一实施例中,装置包括:Optionally, in one embodiment, the device comprises:
第二控制模块,设置于获取传屏发送端发送的控制数据,控制数据由传屏发送端基于控制窗口的输入事件生成;基于控制数据模拟输入事件生成对应的控制指令,以对传屏接收端的操作窗口进行控制。The second control module is configured to obtain control data sent by the screen transmission sending end, and the control data is generated by the screen transmission sending end based on the input events of the control window; based on the control data, the corresponding control instructions are generated to control the operation window of the screen transmission receiving end by simulating input events.
可选地,在一实施例中,第二控制模块,设置于:Optionally, in one embodiment, the second control module is arranged at:
基于控制数据模拟操作窗口的输入事件;Simulate input events of the operation window based on the control data;
根据输入事件生成对应的控制指令;Generate corresponding control instructions according to input events;
根据控制指令对传屏接收端的操作窗口进行控制。The operation window of the screen transmission receiving end is controlled according to the control instructions.
可选地,在一实施例中,装置还包括: Optionally, in one embodiment, the device further comprises:
第二响应模块,设置于响应于触发文件黏贴操作,发送文件拉取指令至传屏发送端;获取传屏发送端响应于拉取指令发送的文件数据;其中,文件数据由传屏发送端响应于触发文件复制操作而获取。The second response module is configured to send a file pull instruction to the screen transmission sending end in response to a triggered file paste operation; obtain the file data sent by the screen transmission sending end in response to the pull instruction; wherein the file data is obtained by the screen transmission sending end in response to a triggered file copy operation.
可选地,在一实施例中,第二响应模块,设置于响应于接收到传屏发送端发送的标识信息,在传屏接收端的剪切板中写入临时数据;其中,标识信息由传屏发送端响应于触发文件复制操作生成;响应于传屏接收端的剪切板的数据为空,发送文件拉取指令至传屏发送端。Optionally, in one embodiment, a second response module is configured to write temporary data in the clipboard of the screen transmission receiving end in response to receiving identification information sent by the screen transmission sending end; wherein the identification information is generated by the screen transmission sending end in response to triggering a file copy operation; in response to the data in the clipboard of the screen transmission receiving end being empty, send a file pull instruction to the screen transmission sending end.
参阅图14,图14是本公开提供的电子设备一实施例的结构示意图,该电子设备120包括处理器121和存储器122,该存储器122用于存储程序数据。Please refer to FIG. 14 , which is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. The electronic device 120 includes a processor 121 and a memory 122 , and the memory 122 is used to store program data.
其中,在该电子设备120为传屏发送端时,处理器121用于执行上述程序数据以实现如下的方法:发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示;接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口;基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Wherein, when the electronic device 120 is a screen transmission sending end, the processor 121 is used to execute the above-mentioned program data to implement the following method: sending the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receiving the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; displaying in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end.
其中,在该电子设备120为传屏接收端时,处理器121用于执行上述程序数据以实现如下的方法:获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口;基于第一显示数据在投屏窗口显示;发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Wherein, when the electronic device 120 is a screen transmission receiving end, the processor 121 is used to execute the above-mentioned program data to implement the following method: obtain the first display data sent by the screen transmission sending end, the first display data corresponds to the display window of the screen transmission sending end; display in the projection window based on the first display data; send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
在本实施例中,该电子设备120可以是PC(personal computer)电脑、笔记本、电视机,也可以是手机、平板电脑、智能穿戴设备等。比如,可以是手机和电视机组合的投屏场景,可以是用户端(电脑)和会议端(电脑)组合的会议场景,可以是电脑端和投影设备组合的场景等。In this embodiment, the electronic device 120 can be a PC (personal computer), a notebook, a television, or a mobile phone, a tablet computer, a smart wearable device, etc. For example, it can be a screen projection scene of a mobile phone and a television, a conference scene of a user terminal (computer) and a conference terminal (computer), a scene of a computer terminal and a projection device, etc.
参阅图15,图15是本公开提供的计算机可读存储介质一实施例的结构示意图,该计算机可读存储介质130中存储有程序数据131,该程序数据131在被处理器执行用于执行: Referring to FIG. 15 , FIG. 15 is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present disclosure. The computer-readable storage medium 130 stores program data 131, and the program data 131 is executed by a processor to perform:
发送显示窗口对应的第一显示数据至传屏接收端,以使传屏接收端基于第一显示数据在投屏窗口显示;接收传屏接收端发送的第二显示数据;其中,第二显示数据对应传屏接收端的操作窗口;基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。或获取传屏发送端发送的第一显示数据,第一显示数据对应传屏发送端的显示窗口;基于第一显示数据在投屏窗口显示;发送操作窗口对应的第二显示数据至传屏发送端,以使传屏发送端基于第二显示数据在传屏发送端的控制窗口显示;其中,控制窗口被配置为响应基于控制窗口的输入事件,以对传屏接收端进行控制操作。Send the first display data corresponding to the display window to the screen transmission receiving end, so that the screen transmission receiving end displays in the projection window based on the first display data; receive the second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end; display in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end. Or obtain the first display data sent by the screen transmission sending end, the first display data corresponds to the display window of the screen transmission sending end; display in the projection window based on the first display data; send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to control the screen transmission receiving end.
以上对本公开实施例所提供的显示屏进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本公开的方法及其核心思想;同时,对于本领域的技术人员,依据本公开的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。 The display screen provided by the embodiment of the present disclosure is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only used to help understand the method and core idea of the present disclosure. At the same time, for technical personnel in this field, according to the idea of the present disclosure, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present disclosure.

Claims (20)

  1. 一种传屏控制方法,应用于传屏发送端,其中,所述传屏控制方法包括:A screen transmission control method is applied to a screen transmission sending end, wherein the screen transmission control method comprises:
    发送显示窗口对应的第一显示数据至传屏接收端,以使所述传屏接收端基于所述第一显示数据在投屏窗口显示;Sending first display data corresponding to the display window to a screen transmission receiving end, so that the screen transmission receiving end displays the first display data in the projection window;
    接收所述传屏接收端发送的第二显示数据;其中,所述第二显示数据对应所述传屏接收端的操作窗口;Receiving second display data sent by the screen transmission receiving end; wherein the second display data corresponds to the operation window of the screen transmission receiving end;
    基于所述第二显示数据在所述传屏发送端的控制窗口显示;其中,所述控制窗口被配置为响应基于所述控制窗口的输入事件,以对所述传屏接收端进行控制操作。The control window of the screen transmission sending end is displayed based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  2. 根据权利要求1所述的传屏控制方法,其中,The screen transmission control method according to claim 1, wherein:
    所述发送显示窗口对应的第一显示数据至传屏接收端,包括:The sending of the first display data corresponding to the display window to the screen transmission receiving end includes:
    获取所述传屏发送端的全屏显示数据;Obtaining full-screen display data of the screen transmission sending end;
    将所述传屏发送端的全屏显示数据过滤所述第二显示数据,以得到显示窗口对应的第一显示数据;Filter the second display data by the full-screen display data of the screen transmission sending end to obtain the first display data corresponding to the display window;
    发送所述第一显示数据至所述传屏接收端。The first display data is sent to the screen transmission receiving end.
  3. 根据权利要求1所述的传屏控制方法,其中,The screen transmission control method according to claim 1, wherein:
    所述方法还包括:The method further comprises:
    基于所述控制窗口的输入事件,生成对应的控制数据;Based on the input event of the control window, generating corresponding control data;
    发送所述控制数据至所述传屏接收端,以使所述传屏接收端基于所述控制数据模拟所述输入事件生成对应的控制指令,以对所述传屏接收端的所述操作窗口进行控制。The control data is sent to the screen transmission receiving end so that the screen transmission receiving end simulates the input event based on the control data to generate corresponding control instructions to control the operation window of the screen transmission receiving end.
  4. 根据权利要求1所述的传屏控制方法,其中,The screen transmission control method according to claim 1, wherein:
    所述方法还包括:The method further comprises:
    响应于触发文件复制操作,获取复制的文件数据;In response to triggering a file copy operation, obtaining copied file data;
    响应于获取到传屏接收端发送的文件拉取指令,发送获取的所述文件数据至所述传屏接收端;In response to obtaining a file pull instruction sent by the screen transmission receiving end, sending the obtained file data to the screen transmission receiving end;
    其中,所述文件拉取指令由所述传屏接收端响应于触发文件黏贴操作生成。The file pull instruction is generated by the screen transmission receiving end in response to triggering a file pasting operation.
  5. 根据权利要求4所述的传屏控制方法,其中, The screen transmission control method according to claim 4, wherein:
    所述响应于触发文件复制操作,获取复制的文件数据,并发送一标识信息至所述传屏接收端,包括:The step of obtaining the copied file data in response to triggering the file copy operation and sending identification information to the screen transmission receiving end includes:
    响应于触发文件复制操作,读取所述传屏发送端的剪切板中的文件数据,并发送一标识信息至所述传屏接收端;In response to triggering a file copy operation, reading file data in the clipboard of the screen transmission sending end, and sending identification information to the screen transmission receiving end;
    其中,所述标识信息设置于使所述传屏接收端在所述传屏接收端的剪切板中写入临时数据,并响应于所述传屏接收端的剪切板数据为空时,发送所述文件拉取指令至所述传屏发送端。Among them, the identification information is set to enable the screen transmission receiving end to write temporary data in the clipboard of the screen transmission receiving end, and in response to the clipboard data of the screen transmission receiving end being empty, send the file pulling instruction to the screen transmission sending end.
  6. 一种传屏控制方法,应用于传屏接收端,其中,所述传屏控制方法包括:A screen transmission control method is applied to a screen transmission receiving end, wherein the screen transmission control method comprises:
    获取传屏发送端发送的第一显示数据,所述第一显示数据对应所述传屏发送端的显示窗口;Acquire first display data sent by the screen transmission sending end, where the first display data corresponds to a display window of the screen transmission sending end;
    基于所述第一显示数据在投屏窗口显示;Displaying in the projection window based on the first display data;
    发送操作窗口对应的第二显示数据至所述传屏发送端,以使所述传屏发送端基于所述第二显示数据在所述传屏发送端的控制窗口显示;其中,所述控制窗口被配置为响应基于所述控制窗口的输入事件,以对所述传屏接收端进行控制操作。Send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  7. 根据权利要求6所述的传屏控制方法,其中,The screen transmission control method according to claim 6, wherein:
    所述发送操作窗口对应的第二显示数据至所述传屏发送端,包括:The sending of the second display data corresponding to the operation window to the screen transmission sending end includes:
    获取所述传屏接收端的全屏显示数据;Obtaining full-screen display data of the screen transmission receiving end;
    将所述传屏接收端的全屏显示数据过滤所述第一显示数据,以得到操作窗口对应的第二显示数据;Filtering the first display data by the full-screen display data of the screen transmission receiving end to obtain second display data corresponding to the operation window;
    发送所述第二显示数据至所述传屏发送端。Send the second display data to the screen transmission sending end.
  8. 根据权利要求6所述的传屏控制方法,其中,The screen transmission control method according to claim 6, wherein:
    所述方法还包括:The method further comprises:
    获取所述传屏发送端发送的控制数据,所述控制数据由所述传屏发送端基于所述控制窗口的输入事件生成;Acquire control data sent by the screen transmission sending end, where the control data is generated by the screen transmission sending end based on an input event of the control window;
    基于所述控制数据模拟所述输入事件生成对应的控制指令,以对所述传屏接收端的所述操作窗口进行控制。The input event is simulated based on the control data to generate corresponding control instructions to control the operation window of the screen transmission receiving end.
  9. 根据权利要求8所述的传屏控制方法,其中,The screen transmission control method according to claim 8, wherein:
    所述基于所述控制数据模拟所述输入事件生成对应的控制指令,以对所述传屏接收端的所述操作窗口进行控制,包括: The simulating the input event based on the control data to generate a corresponding control instruction to control the operation window of the screen transmission receiving end includes:
    基于所述控制数据模拟所述操作窗口的输入事件;simulating an input event of the operation window based on the control data;
    根据所述输入事件生成对应的控制指令;Generate a corresponding control instruction according to the input event;
    根据所述控制指令对所述传屏接收端的所述操作窗口进行控制。The operation window of the screen transmission receiving end is controlled according to the control instruction.
  10. 根据权利要求6所述的传屏控制方法,其中,The screen transmission control method according to claim 6, wherein:
    所述方法还包括:The method further comprises:
    响应于触发文件黏贴操作,发送文件拉取指令至所述传屏发送端;In response to triggering a file pasting operation, sending a file pulling instruction to the screen transmission sending end;
    获取所述传屏发送端响应于所述拉取指令发送的文件数据;其中,所述文件数据由所述传屏发送端响应于触发文件复制操作而获取。Obtain the file data sent by the screen transmission sending end in response to the pull instruction; wherein the file data is obtained by the screen transmission sending end in response to triggering a file copy operation.
  11. 根据权利要求10所述的传屏控制方法,其中,The screen transmission control method according to claim 10, wherein:
    所述响应于触发文件黏贴操作,发送文件拉取指令至所述传屏发送端,包括:The step of sending a file pull instruction to the screen transmission sending end in response to triggering the file pasting operation includes:
    响应于接收到所述传屏发送端发送的标识信息,在所述传屏接收端的剪切板中写入临时数据;其中,所述标识信息由所述传屏发送端响应于触发文件复制操作生成;In response to receiving the identification information sent by the screen transmission sending end, writing temporary data in the clipboard of the screen transmission receiving end; wherein the identification information is generated by the screen transmission sending end in response to triggering a file copy operation;
    响应于所述传屏接收端的剪切板的数据为空,发送所述文件拉取指令至所述传屏发送端。In response to the data in the clipboard of the screen transmission receiving end being empty, the file pulling instruction is sent to the screen transmission sending end.
  12. 一种传屏控制装置,应用于传屏发送端,其中,所述装置包括:A screen transmission control device is applied to a screen transmission sending end, wherein the device comprises:
    第一发送模块,设置于发送显示窗口对应的第一显示数据至传屏接收端,以使所述传屏接收端基于所述第一显示数据在投屏窗口显示;A first sending module is configured to send first display data corresponding to the display window to a screen transmission receiving end, so that the screen transmission receiving end displays the first display data in the projection window;
    接收模块,设置于接收所述传屏接收端发送的第二显示数据;其中,所述第二显示数据对应所述传屏接收端的操作窗口;A receiving module, configured to receive second display data sent by the screen transmission receiving end; wherein the second display data corresponds to an operation window of the screen transmission receiving end;
    第一显示模块,基于所述第二显示数据在所述传屏发送端的控制窗口显示;其中,所述控制窗口被配置为响应基于所述控制窗口的输入事件,以对所述传屏接收端进行控制操作。The first display module displays in the control window of the screen transmission sending end based on the second display data; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  13. 根据权利要求12所述的装置,其中,所述第一发送模块,包括:The device according to claim 12, wherein the first sending module comprises:
    第一获取单元,设置于获取所述传屏发送端的全屏显示数据;A first acquisition unit, configured to acquire full-screen display data of the screen transmission sending end;
    第一过滤单元,设置于将所述传屏发送端的全屏显示数据过滤所述第二显示数据,以得到显示窗口对应的第一显示数据;A first filtering unit is configured to filter the second display data by the full-screen display data of the screen transmission sending end to obtain the first display data corresponding to the display window;
    第一发送单元,设置于发送所述第一显示数据至所述传屏接收端。 The first sending unit is configured to send the first display data to the screen transmission receiving end.
  14. 根据权利要求12所述的装置,其中,所述装置包括:The device according to claim 12, wherein the device comprises:
    第一控制模块,设置于基于所述控制窗口的输入事件,生成对应的控制数据;发送所述控制数据至所述传屏接收端,以使所述传屏接收端基于所述控制数据模拟所述输入事件生成对应的控制指令,以对所述传屏接收端的所述操作窗口进行控制。The first control module is configured to generate corresponding control data based on the input event of the control window; and send the control data to the screen transmission receiving end so that the screen transmission receiving end simulates the input event based on the control data to generate corresponding control instructions to control the operation window of the screen transmission receiving end.
  15. 根据权利要求12所述的装置,其中,所述装置包括:The device according to claim 12, wherein the device comprises:
    第一响应模块,设置于响应于触发文件复制操作,获取复制的文件数据;响应于获取到传屏接收端发送的文件拉取指令,发送获取的所述文件数据至所述传屏接收端;其中,所述文件拉取指令由所述传屏接收端响应于触发文件黏贴操作生成。The first response module is configured to obtain the copied file data in response to triggering a file copy operation; in response to obtaining a file pull instruction sent by a screen transmission receiving end, send the obtained file data to the screen transmission receiving end; wherein the file pull instruction is generated by the screen transmission receiving end in response to triggering a file paste operation.
  16. 根据权利要求15所述的装置,其中,所述第一响应模块,设置于:The device according to claim 15, wherein the first response module is arranged:
    响应于触发文件复制操作,读取所述传屏发送端的剪切板中的文件数据,并发送一标识信息至所述传屏接收端;In response to triggering a file copy operation, reading file data in the clipboard of the screen transmission sending end, and sending an identification information to the screen transmission receiving end;
    其中,所述标识信息设置于使所述传屏接收端在所述传屏接收端的剪切板中写入临时数据,并响应于所述传屏接收端的剪切板数据为空时,发送所述文件拉取指令至所述传屏发送端。Among them, the identification information is set to enable the screen transmission receiving end to write temporary data in the clipboard of the screen transmission receiving end, and in response to the clipboard data of the screen transmission receiving end being empty, send the file pulling instruction to the screen transmission sending end.
  17. 一种传屏控制装置,应用于传屏接收端,其中,所述装置包括:A screen transmission control device is applied to a screen transmission receiving end, wherein the device comprises:
    获取模块,设置于获取传屏发送端发送的第一显示数据,所述第一显示数据对应所述传屏发送端的显示窗口;An acquisition module, configured to acquire first display data sent by a screen transmission sending end, wherein the first display data corresponds to a display window of the screen transmission sending end;
    第二显示模块,设置于基于所述第一显示数据在投屏窗口显示;A second display module, configured to display the first display data in a projection window;
    第二发送模块,设置于发送操作窗口对应的第二显示数据至所述传屏发送端,以使所述传屏发送端基于所述第二显示数据在所述传屏发送端的控制窗口显示;其中,所述控制窗口被配置为响应基于所述控制窗口的输入事件,以对所述传屏接收端进行控制操作。The second sending module is configured to send the second display data corresponding to the operation window to the screen transmission sending end, so that the screen transmission sending end displays the second display data in the control window of the screen transmission sending end; wherein the control window is configured to respond to input events based on the control window to perform control operations on the screen transmission receiving end.
  18. 根据权利要求17所述的装置,其中,所述第二发送模块,包括:The device according to claim 17, wherein the second sending module comprises:
    第二获取单元,设置于获取所述传屏接收端的全屏显示数据;A second acquisition unit is configured to acquire full-screen display data of the screen transmission receiving end;
    第二过滤单元,设置于将所述传屏接收端的全屏显示数据过滤所述第一显 示数据,以得到操作窗口对应的第二显示数据;The second filtering unit is configured to filter the full-screen display data of the screen transmission receiving end to the first display display data to obtain second display data corresponding to the operation window;
    第二发送单元,设置于发送所述第二显示数据至所述传屏发送端。The second sending unit is configured to send the second display data to the screen transmission end.
  19. 一种电子设备,其中,所述电子设备包括处理器和存储器,所述存储器设置于存储程序数据,所述处理器设置于执行所述程序数据以实现如权利要求1-11任一项所述的方法。An electronic device, wherein the electronic device comprises a processor and a memory, the memory is configured to store program data, and the processor is configured to execute the program data to implement the method according to any one of claims 1-11.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有程序数据,所述程序数据在被处理器执行时,设置于实现如权利要求1-11任一项所述的方法。 A computer-readable storage medium, wherein program data is stored in the computer-readable storage medium, and when the program data is executed by a processor, it is configured to implement the method according to any one of claims 1 to 11.
PCT/CN2023/114032 2022-10-21 2023-08-21 Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium WO2024082803A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211292727.2A CN117950610A (en) 2022-10-21 2022-10-21 Screen transmission control method, electronic equipment and computer readable storage medium
CN202211292727.2 2022-10-21

Publications (1)

Publication Number Publication Date
WO2024082803A1 true WO2024082803A1 (en) 2024-04-25

Family

ID=90736850

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/114032 WO2024082803A1 (en) 2022-10-21 2023-08-21 Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN117950610A (en)
WO (1) WO2024082803A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130219324A1 (en) * 2012-02-22 2013-08-22 Rsupport Co., Ltd. Remote control method and apparatus for a mobile terminal
CN111625371A (en) * 2019-12-03 2020-09-04 蘑菇车联信息科技有限公司 Text transmission method, device, PC (personal computer) terminal, mobile terminal and system
CN112162716A (en) * 2020-09-28 2021-01-01 北京小米移动软件有限公司 File transmission method, device, terminal and storage medium
CN113515244A (en) * 2021-03-24 2021-10-19 深圳乐播科技有限公司 Screen-projection-based terminal remote control method, device, equipment and storage medium
CN114040242A (en) * 2021-09-30 2022-02-11 荣耀终端有限公司 Screen projection method and electronic equipment
CN114979730A (en) * 2021-02-25 2022-08-30 广州视源电子科技股份有限公司 Screen transmission interaction method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130219324A1 (en) * 2012-02-22 2013-08-22 Rsupport Co., Ltd. Remote control method and apparatus for a mobile terminal
CN111625371A (en) * 2019-12-03 2020-09-04 蘑菇车联信息科技有限公司 Text transmission method, device, PC (personal computer) terminal, mobile terminal and system
CN112162716A (en) * 2020-09-28 2021-01-01 北京小米移动软件有限公司 File transmission method, device, terminal and storage medium
CN114979730A (en) * 2021-02-25 2022-08-30 广州视源电子科技股份有限公司 Screen transmission interaction method and device, computer equipment and storage medium
CN113515244A (en) * 2021-03-24 2021-10-19 深圳乐播科技有限公司 Screen-projection-based terminal remote control method, device, equipment and storage medium
CN114040242A (en) * 2021-09-30 2022-02-11 荣耀终端有限公司 Screen projection method and electronic equipment

Also Published As

Publication number Publication date
CN117950610A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US10419618B2 (en) Information processing apparatus having whiteboard and video conferencing functions
WO2017101440A1 (en) Remote annotation synchronization method and system
US7908325B1 (en) System and method for event-based collaboration
CN110515580B (en) Display control method, device and terminal
WO2023045872A1 (en) Page jumping method, apparatus, and device, and storage medium and program product
JP2012531637A (en) Multimedia collaboration system
EP4376423A1 (en) Virtual object interaction method and device, and storage medium and computer program product
CN108011951B (en) Remote assistance method, device and system and electronic equipment
CN101673185B (en) Image display touch control method and system thereof
TW201334535A (en) A method for collaboratively operating a shared content in a video conference, a video conference system and a computer program product
WO2019010827A1 (en) Video acquisition method and apparatus, video device and storage medium
CN112911320A (en) Live broadcast method and device, computer equipment and storage medium
JP2018525744A (en) Method for mutual sharing of applications and data between touch screen computers and computer program for implementing this method
Roussel Exploring new uses of video with videoSpace
WO2024082803A1 (en) Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium
TWI740208B (en) Image transmission device, image display system with remote screen capture function, and remote screen capture method
CN112578977B (en) Display content annotation method, device and system
JP4321751B2 (en) Drawing processing apparatus, drawing processing method, drawing processing program, and electronic conference system including the same
CN106210665B (en) Remote host control method and system based on video acquisition
CN113316011B (en) Control method, system, equipment and storage medium of electronic whiteboard system
WO2022117028A1 (en) Game livestreaming-based anchor input operation sharing and displaying methods and device
CN111356009B (en) Audio data processing method and device, storage medium and terminal
KR20220041791A (en) Method for processing live broadcast information, apparatus, device, storage medium and computer program
CN112214149A (en) Intelligent interactive display device, screen capture method and system thereof, and electronic equipment
JP6499582B2 (en) SENDING COMPUTER, RECEIVING COMPUTER, METHOD EXECUTED BY THE SAME, AND COMPUTER PROGRAM