CN111736787A - Screen sharing method and device, storage medium and electronic equipment - Google Patents

Screen sharing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111736787A
CN111736787A CN202010594444.8A CN202010594444A CN111736787A CN 111736787 A CN111736787 A CN 111736787A CN 202010594444 A CN202010594444 A CN 202010594444A CN 111736787 A CN111736787 A CN 111736787A
Authority
CN
China
Prior art keywords
window
display
target
sharing
client
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010594444.8A
Other languages
Chinese (zh)
Inventor
袁小萌
江同飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunzujia Science And Technology Co ltd
Original Assignee
Yunzujia Science And Technology Co ltd
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 Yunzujia Science And Technology Co ltd filed Critical Yunzujia Science And Technology Co ltd
Priority to CN202010594444.8A priority Critical patent/CN111736787A/en
Publication of CN111736787A publication Critical patent/CN111736787A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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/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
    • G06F3/04842Selection of displayed objects or displayed text elements

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

The application provides a screen sharing method, a screen sharing device, a storage medium and electronic equipment, wherein the method comprises the following steps: receiving a screen sharing instruction for a preset scene input by a user; acquiring application attributes of a plurality of display windows in a current display interface; when display windows with application attributes matched with the preset scene exist in the plurality of display windows, screening at least one target window from the plurality of display windows; setting a corresponding area of each target window on a current display interface as a sharing area; and acquiring the video stream of the sharing area, and sending the video stream to the terminal equipment to be shared. According to the technical scheme, in the process of sharing the screen with other people, the sharing area can be flexibly selected according to different sharing scenes, and therefore more private and free sharing communication is achieved.

Description

Screen sharing method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of data communication technologies, and in particular, to a screen sharing method and apparatus, a storage medium, and an electronic device.
Background
In the internet era, in the current society where cloud work is increasingly common, the working modes of enterprises are gradually diversified rather than being limited to the same office. An enterprise employee may need to collaborate with thousands of colleagues to complete a work task. Relying on high-speed internet, office instant messaging software is more and more popular, and the communication mode is more and more diversified, and one of them is very practical, efficient communication mode: and sharing the screen. The scheme of intuitively sharing the desktop of the user with other people provides great convenience for people in remote office work, and the communication mode is close to the efficiency of face-to-face communication.
The current screen sharing is that the whole desktop is directly shared, but a part of desktop areas do not need to be shared, and the privacy of users is inconvenient due to the sharing mode of the whole desktop.
Disclosure of Invention
An embodiment of the present application provides a screen sharing method, an apparatus, a storage medium, and an electronic device, so as to solve technical problems in the prior art.
In a first aspect, an embodiment of the present application provides a screen sharing method, including: receiving a screen sharing instruction for a preset scene input by a user; acquiring application attributes of a plurality of display windows in a current display interface; when display windows with application attributes matched with the preset scene exist in the plurality of display windows, screening at least one target window from the plurality of display windows; setting a corresponding area of each target window on a current display interface as a sharing area; and acquiring the video stream of the sharing area, and sending the video stream to the terminal equipment to be shared.
Through the scheme, in the process of sharing the screen with other people, the sharing area can be flexibly selected according to different sharing scenes, so that more-private, more-free and more-diversified sharing communication is realized, and the privacy of a user is effectively protected.
In an optional implementation manner, after obtaining the application attributes of the multiple display windows in the current display interface and before setting the corresponding area of each target window on the current display interface as the shared area, the method further includes: when a display window with the application attribute matched with the preset scene does not exist in the plurality of display windows, selecting at least one client to be selected matched with the preset scene from a plurality of installed application clients; displaying a starting prompt aiming at the client to be selected on a current display interface; receiving a first trigger signal input by a user based on the starting reminder; selecting a target client from the at least one client to be selected according to the first trigger signal and starting the target client; and acquiring a display window of the target client on the current display interface, and setting the display window as a target window.
When no display window matched with the preset scene exists in the plurality of display windows, at least one client to be selected is selected from the plurality of installed application clients by matching with the selected preset scene, and the at least one client to be selected is consistent with the application shared by most users in the scene, so that the sharing intention of the users can be more intelligently focused.
In an alternative embodiment, the screening out at least one target window from the plurality of display windows includes: determining the corresponding privacy level according to the application attribute of each display window; and setting at least one display window in the display windows with the privacy level lower than a preset threshold value as a target window.
The display window with the privacy level not lower than the preset threshold value can not be used as a target window, namely, sharing is not carried out, and the privacy information of the user is prevented from being revealed in the screen sharing process, so that the privacy of the user is effectively protected.
In an alternative embodiment, the screening out at least one target window from the plurality of display windows includes: displaying a sharing prompt aiming at the plurality of display windows on a current display interface; receiving a second trigger signal input by a user based on the sharing prompt; and setting the display window selected by the user in the second trigger signal as a target window.
In an alternative embodiment, the screening out at least one target window from the plurality of display windows includes: tracking the position of a mouse on a current display interface, and identifying a display window containing the current position of the mouse from the plurality of display windows; and receiving a third trigger signal input by a user, and setting the currently identified display window as a target window.
In an optional embodiment, before receiving a screen sharing instruction for a preset scene input by a user, the method further includes: accessing a target webpage through a browser; establishing session connection with a browser accessing the same target webpage on the terminal equipment to be shared through the target webpage; the sending the video stream to the terminal device to be shared includes: and sending the video stream to a browser on the terminal equipment to be shared through the session connection.
According to the scheme, the screen sharing is realized by establishing the session connection between the browsers, the specific desktop application is not required to be relied on, the desktop application is not required to be downloaded and installed, and only the browsers are required to be opened and the target web pages are required to be accessed.
In a second aspect, an embodiment of the present application provides a screen sharing apparatus, including: the instruction receiving module is used for receiving a screen sharing instruction of a preset scene, which is input by a user; the attribute acquisition module is used for acquiring application attributes of a plurality of display windows in the current display interface; the window screening module is used for screening at least one target window from the plurality of display windows when the display windows with the application attributes matched with the preset scene exist in the plurality of display windows; the shared area setting module is used for setting the corresponding area of each target window on the current display interface as a shared area; and the screen sharing module is used for acquiring the video stream of the sharing area and sending the video stream to the terminal equipment to be shared.
In an alternative embodiment, the apparatus further comprises: the client matching module is used for selecting at least one client to be selected which is matched with the preset scene from the installed multiple application clients when the display window with the application attribute matched with the preset scene does not exist in the multiple display windows; the starting reminding display module is used for displaying a starting reminding aiming at the client to be selected on the current display interface; the first trigger receiving module is used for receiving a first trigger signal input by a user based on the starting reminder; the client starting module is used for selecting a target client from the at least one client to be selected according to the first trigger signal and starting the target client; and the target window setting module is used for acquiring a display window of the target client on the current display interface and setting the display window as a target window.
In a third aspect, an embodiment of the present application provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method according to any one of the first aspect and the optional implementation manner of the first aspect is performed.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the method according to any one of the first aspect and the optional implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a flowchart of a screen sharing method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a sharing interface in a screen sharing method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating the operation of filtering the target window in step 130 according to the present embodiment;
FIG. 4 is another flowchart illustrating the screening operation of the target window in step 130 according to the embodiment of the present application;
FIG. 5 is another flowchart of a screen sharing method according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a screen sharing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The embodiment of the application provides a screen sharing method, which can share the picture of a sharing area on a sharer terminal device with other terminal devices, and can select the sharing area more flexibly according to different sharing scenes in the sharing process, so that more private and more free sharing communication can be realized. Fig. 1 shows a flowchart of the screen sharing method, which is illustrated in the perspective of a sharer terminal device, as shown in fig. 1, the method comprising the steps of:
step 110: and receiving a screen sharing instruction for a preset scene input by a user.
In one embodiment, the terminal device establishes session connection with the browser of other terminal devices to be shared through the browser, so as to realize screen sharing. A user opens a browser installed at will through terminal equipment, accesses a target webpage, inputs a screen sharing instruction for a preset scene on the target webpage, and starts screen sharing operation. In another embodiment, the terminal device may also implement the method in this embodiment by relying on a desktop application having a screen sharing function, and a user starts the desktop application through the terminal device, inputs a screen sharing instruction for a preset scene on an application page, and starts a screen sharing operation.
The method for the user to input the screen sharing instruction for the preset scene includes, but is not limited to: keyboard selection, keyboard input, mouse click, voice input and the like. As shown in the schematic diagram shown in fig. 2, taking a target web page as an example, after the browser accesses the target web page, a preset option list is displayed on the web page, and a plurality of different sharing scenes are set in the option list, for example, display: scene a, scene B, scene C, and scene D. The sharing scenes comprise friend chatting, course live broadcasting, video conferences and the like. The user selects in a plurality of different sharing scenes through a direction key and an enter key on a keyboard or clicks corresponding options through a mouse, and after the selection is confirmed, a screen sharing instruction is input on the terminal equipment, so that the terminal equipment starts screen sharing. In addition, the user can also use the audio input device connected to the terminal device to perform voice input, for example, say "start screen sharing of scene a" to the audio input device, after the terminal device collects the statement, obtain corresponding instruction content through a voice recognition technology, and start screen sharing of scene a according to the instruction content.
Step 120: and acquiring application attributes of a plurality of display windows in the current display interface.
The application attribute may specifically be represented as an application to which the display window belongs, and the display window may be a client application window or a browser tab window, so that the application to which the display window belongs may be a client application or a browser tab.
Step 130: and when the display windows with the application attributes matched with the preset scene exist in the plurality of display windows, screening out at least one target window from the plurality of display windows.
Step 140: and setting the corresponding area of each target window on the current display interface as a shared area.
Step 150: and acquiring the video stream of the sharing area, and sending the video stream to the terminal equipment to be shared.
In step 130, the terminal device matches the multiple display windows with a preset scene selected by the user according to the application attribute of each display window on the current display interface, and enters the screening operation of the target window when a display window matching with the preset scene exists in the multiple display windows. Optionally, the operation of matching the multiple display windows with the preset scene may be implemented by a big data analysis means, information such as application attributes of the display windows shared by the users in different sharing scenes is collected in advance, the applications that the users tend to or are accustomed to sharing in different sharing scenes are analyzed, and then the analysis data of the sharing scene selected by the user may be matched with each display window on the current display interface to obtain a matching result. The screening operation of the target window comprises the following implementation modes:
in one embodiment, the terminal device determines a corresponding privacy level according to an application attribute of each display window on a current display interface, where the privacy level is divided according to, for example, levels 1 to 5, level 1 indicates that the privacy level is low, the window does not contain privacy information of a user, level 5 indicates that the privacy level is high, and the window contains the privacy information of the user; then, at least one display window of the display windows with the privacy level lower than the preset threshold is set as a target window. The display window with the privacy level not lower than the preset threshold value can not be used as a target window, namely, sharing is not carried out, and the privacy information of the user is prevented from being revealed in the screen sharing process, so that the privacy of the user is effectively protected.
In another embodiment, as shown in fig. 3, the filtering operation of the target window in step 130 includes the following steps:
step 131: and displaying a sharing prompt aiming at a plurality of display windows on the current display interface.
Step 132: and receiving a second trigger signal input by the user based on the sharing prompt.
Step 133: and setting the display window selected by the user in the second trigger signal as a target window.
In this embodiment, since the terminal device has already identified and obtained the application attribute of each display window on the current display interface in step 120, the terminal device displays a sharing prompt for the plurality of display windows on the current display interface, where the sharing prompt includes an application attribute list of the plurality of display windows, for example, a display window 1, a display window 2, and a display window 3 on the current display interface are identified and respectively correspond to an application a, an application b, and an application c, and when the sharing prompt is displayed, an option list of the application a, the application b, and the application c is displayed.
Further, the terminal device receives a second trigger signal input by the user based on the sharing prompt, and sets the display window selected by the user in the second trigger signal as the target window, where the manner of inputting the second trigger signal by the user includes but is not limited to: keyboard selection, keyboard input, mouse click, voice input and the like. For example, the terminal device receives a selection operation performed by the user on the option list displayed in the sharing prompt on the current display interface, determines the display window selected by the user, and sets the display window corresponding to the application b as the target window if the user clicks the application b in the option list.
In another embodiment, as shown in fig. 4, the filtering operation of the target window in step 130 includes the following steps:
step 134: and tracking the position of the mouse on the current display interface.
And after determining that a display window with application attribute matched with a preset scene exists in the plurality of display windows, the terminal equipment tracks the position of the mouse on the current display interface in real time.
Step 135: a display window containing a current position of the mouse is identified from the plurality of display windows.
In this embodiment, since the terminal device has already identified and obtained each display window and its application attribute on the current display interface in step 120, the terminal device determines, in real time, a display window including the current position of the mouse from the plurality of display windows according to the current position of the mouse.
Step 136: and receiving a third trigger signal input by a user, and setting the currently identified display window as a target window.
The third trigger signal input by the user may be generated according to one click operation of the mouse or one confirmation operation of the keyboard, and after receiving the third trigger signal, the terminal device sets the currently identified display window including the current position of the mouse as the target window.
On the basis of the above embodiment, the screening operation of the target window in step 130 may further include the following steps: tracking the position of a mouse on a current display interface; identifying a target application where a mouse stays; and setting the complete display window of the target application as a target window. The method can solve the problem that when a plurality of display windows are overlapped on the current display interface, the display window of the application arranged above shields part of the display window of the application arranged below, so that the display window of the application arranged below cannot be completely displayed and shared. It is understood that the terminal device may determine the target window in any manner, and in other embodiments, the above embodiments may be combined. Specifically, the method comprises the following steps: determining a corresponding privacy level according to the application attribute of each display window, and taking at least one display window with the privacy level lower than a preset threshold value as a first candidate target window; displaying a sharing prompt aiming at the first candidate target window on a current display interface; receiving a second trigger signal input by the user based on the sharing prompt; and setting the display window selected by the user in the second trigger signal as a target window.
Further, after step 120 and before step 140, as shown in fig. 5, the screen sharing method in this embodiment further includes the following steps:
step 151: when a display window with the application attribute matched with the preset scene does not exist in a plurality of display windows in the current display interface, selecting at least one client to be selected matched with the preset scene from a plurality of installed application clients.
In step 151, the terminal device matches the multiple display windows with a preset scene selected by the user according to the application attribute of each display window on the current display interface, and enters a start selection operation of the candidate client when no display window matched with the preset scene exists in the multiple display windows. Optionally, the operation of matching the plurality of display windows with the preset scene may be implemented by a big data analysis means, and the implementation steps are consistent with step 130, which is not described herein again.
In such a case, the analysis data of the sharing scene selected by the user is matched with a plurality of application clients currently installed by the terminal device, and at least one client to be selected is selected from the plurality of installed application clients. It is understood that the at least one candidate client coincides with the sharing application selected by most users in this sharing scenario.
Step 152: and displaying a starting prompt aiming at the client to be selected on the current display interface.
After at least one client to be selected is selected, a starting prompt is displayed on a current display interface, wherein the starting prompt comprises the at least one client to be selected, and a user is waited to select the at least one client to be selected.
Step 153: receiving a first trigger signal input by a user based on the start reminding.
The first trigger signal input by the user may be generated according to a one-click operation of a mouse or a one-confirmation operation of a keyboard.
Step 154: and selecting a target client from at least one client to be selected according to the first trigger signal and starting the target client.
After receiving the first trigger signal, the terminal device identifies a target client selected from the first trigger signal, that is, selects a target client from at least one client to be selected, and then starts the target client.
Step 155: and acquiring a display window of the target client on the current display interface, and setting the display window as the target window.
In this embodiment, the above steps 151 to 154 are to select the target client from at least one candidate client according to the selection operation of the user, and in addition, in other implementations, the terminal device may collect the sharing habit of the user in each sharing scenario in advance, select at least one client matching the preset scenario from the installed multiple application clients according to the sharing habit of the user in the sharing scenario or the sharing tendency of several users in the sharing scenario obtained by the big data analysis means, and the selected at least one client may be directly used as the target client to be shared.
Optionally, the terminal device establishes session connection with the browser of another terminal device to be shared through the browser, so as to implement screen sharing. Specifically, before step 110, the method further includes: accessing a target webpage through a browser; and establishing session connection with a browser accessing the same target webpage on the terminal equipment to be shared through the target webpage. In step 150, the terminal device sends the acquired video stream to the browser on the terminal device to be shared through the session connection. When the screen is shared only by one terminal device, a Peer-to-Peer (P2P) channel can be established between the sharer terminal device and the terminal device to be shared, and video stream transmission is performed in a Peer-to-Peer manner.
The scheme for screen sharing by the browser side can be realized based on a WebRTC (Web-real-time communication, Web real-time communication) technology, and can establish point-to-point connection between browsers without an intermediary to realize transmission of video streams and/or audio streams. Specifically, when a screen is shared with a certain terminal device, video streaming transmission is performed between the sharer terminal device and the terminal device to be shared in a point-to-point manner. The sharer terminal equipment and the terminal equipment to be shared access the same target webpage at respective browser ends, send signaling data to a signaling server through the target webpage, negotiate related communication information, the signaling data comprises SDP (session description protocol) descriptors, the SDP descriptors comprise metadata such as resolution, format, coding, encryption algorithm and the like, then, network addresses of the two ends are connected, and after the steps are completed, session connection is established between the browsers of the terminal equipment.
After the session connection is established, the sharer terminal device preferentially tries to use point-to-point transmission to encrypt the video stream in the shared area, the encrypted video stream is transmitted to the browser of the terminal device to be shared point-to-point, and the browser of the terminal device to be shared displays the decrypted and analyzed original video picture on the target webpage. When the point-to-point transmission fails, the application server can be used for forwarding the media stream data on the public network, the address of the application server is a public address, the sharer terminal equipment forwards the encrypted video stream to the application server, and then the application server forwards the received encrypted video stream to the terminal equipment to be shared.
When a plurality of terminal devices share the screen, if the point-to-point connection cannot be established, the media stream data can also be forwarded through the application server.
Optionally, in the screen sharing method provided in this embodiment, before step 150, the method further includes: displaying a recording request on a current display interface to request for recording of the audio input equipment; and receiving a fourth trigger signal input by the user, and acquiring the audio stream acquired by the audio input equipment. In step 150, the acquired video stream and the acquired audio stream of the sharing area are encrypted to form an encrypted media stream, and the encrypted media stream is sent to the terminal device to be shared.
An embodiment of the present application further provides a screen sharing device, as shown in fig. 6, the device includes: the display device comprises an instruction receiving module 210, an attribute obtaining module 220, a window screening module 230, a shared area setting module 240 and a screen sharing module 250.
The instruction receiving module 210 is configured to receive a screen sharing instruction for a preset scene, which is input by a user;
an attribute obtaining module 220, configured to obtain application attributes of multiple display windows in a current display interface;
a window screening module 230, configured to screen at least one target window from the multiple display windows when a display window whose application attribute matches the preset scene exists in the multiple display windows;
a shared area setting module 240, configured to set a corresponding area of each target window on the current display interface as a shared area;
and the screen sharing module 250 is configured to acquire the video stream of the sharing area, and send the video stream to the terminal device to be shared.
Optionally, the apparatus further comprises: the system comprises a client matching module, a start reminding display module, a first trigger receiving module, a client starting module and a target window setting module.
The client matching module is used for selecting at least one client to be selected which is matched with the preset scene from the installed multiple application clients when the display window with the application attribute matched with the preset scene does not exist in the multiple display windows;
the starting reminding display module is used for displaying a starting reminding aiming at the client to be selected on the current display interface;
the first trigger receiving module is used for receiving a first trigger signal input by a user based on the starting reminder;
the client starting module is used for selecting a target client from the at least one client to be selected according to the first trigger signal and starting the target client;
and the target window setting module is used for acquiring a display window of the target client on the current display interface and setting the display window as a target window.
Optionally, the window screening module 230 is specifically configured to determine a privacy level corresponding to each display window according to the application attribute of the display window; and setting at least one display window in the display windows with the privacy level lower than a preset threshold value as a target window.
Optionally, the window screening module 230 is specifically configured to display a sharing prompt for the multiple display windows on the current display interface; receiving a second trigger signal input by a user based on the sharing prompt; and setting the display window selected by the user in the second trigger signal as a target window.
Optionally, the window screening module 230 is specifically configured to track a position of the mouse on the current display interface, and identify a display window including the current position of the mouse from the plurality of display windows; and receiving a third trigger signal input by a user, and setting the currently identified display window as a target window.
Optionally, the apparatus further comprises: the connection establishing module is used for accessing a target webpage through a browser; establishing session connection with a browser accessing the same target webpage on the terminal equipment to be shared through the target webpage; the screen sharing module is specifically configured to send the video stream to a browser on a terminal device to be shared through the session connection.
The basic principle and the generated technical effect of the screen sharing apparatus provided above are the same as those of the screen sharing method in the previous method embodiment, and for the sake of brief description, no part of this embodiment is mentioned, and reference may be made to the corresponding contents in the above method embodiment, which is not described herein again.
The embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and the computer program is executed by a processor to execute the screen sharing method provided in the embodiment.
An embodiment of the present application further provides an electronic device, including: the electronic device comprises a processor, a memory and a bus, wherein the memory stores machine readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine readable instructions are executed by the processor to execute the screen sharing method provided by the embodiment. The electronic device is a terminal device of a sharer in the embodiment of the application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the unit is only a logical division, and other divisions may be realized in practice. Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A screen sharing method, comprising:
receiving a screen sharing instruction for a preset scene input by a user;
acquiring application attributes of a plurality of display windows in a current display interface;
when display windows with application attributes matched with the preset scene exist in the plurality of display windows, screening at least one target window from the plurality of display windows;
setting a corresponding area of each target window on a current display interface as a sharing area;
and acquiring the video stream of the sharing area, and sending the video stream to the terminal equipment to be shared.
2. The method according to claim 1, wherein after obtaining the application properties of the plurality of display windows in the current display interface and before setting the corresponding region of each target window on the current display interface as the shared region, the method further comprises:
when a display window with the application attribute matched with the preset scene does not exist in the plurality of display windows, selecting at least one client to be selected matched with the preset scene from a plurality of installed application clients;
displaying a starting prompt aiming at the client to be selected on a current display interface;
receiving a first trigger signal input by a user based on the starting reminder;
selecting a target client from the at least one client to be selected according to the first trigger signal and starting the target client;
and acquiring a display window of the target client on the current display interface, and setting the display window as a target window.
3. The method of claim 1, wherein the screening out at least one target window from the plurality of display windows comprises:
determining the corresponding privacy level according to the application attribute of each display window;
and setting at least one display window in the display windows with the privacy level lower than a preset threshold value as a target window.
4. The method of claim 1, wherein the screening out at least one target window from the plurality of display windows comprises:
displaying a sharing prompt aiming at the plurality of display windows on a current display interface;
receiving a second trigger signal input by a user based on the sharing prompt;
and setting the display window selected by the user in the second trigger signal as a target window.
5. The method of claim 1, wherein the screening out at least one target window from the plurality of display windows comprises:
tracking the position of a mouse on a current display interface, and identifying a display window containing the current position of the mouse from the plurality of display windows;
and receiving a third trigger signal input by a user, and setting the currently identified display window as a target window.
6. The method according to any one of claims 1-5, wherein before receiving a user-input screen sharing instruction for a preset scene, the method further comprises:
accessing a target webpage through a browser;
establishing session connection with a browser accessing the same target webpage on the terminal equipment to be shared through the target webpage;
the sending the video stream to the terminal device to be shared includes: and sending the video stream to a browser on the terminal equipment to be shared through the session connection.
7. A screen sharing apparatus, comprising:
the instruction receiving module is used for receiving a screen sharing instruction of a preset scene, which is input by a user;
the attribute acquisition module is used for acquiring application attributes of a plurality of display windows in the current display interface;
the window screening module is used for screening at least one target window from the plurality of display windows when the display windows with the application attributes matched with the preset scene exist in the plurality of display windows;
the shared area setting module is used for setting the corresponding area of each target window on the current display interface as a shared area;
and the screen sharing module is used for acquiring the video stream of the sharing area and sending the video stream to the terminal equipment to be shared.
8. The apparatus of claim 7, further comprising:
the client matching module is used for selecting at least one client to be selected which is matched with the preset scene from the installed multiple application clients when the display window with the application attribute matched with the preset scene does not exist in the multiple display windows;
the starting reminding display module is used for displaying a starting reminding aiming at the client to be selected on the current display interface;
the first trigger receiving module is used for receiving a first trigger signal input by a user based on the starting reminder;
the client starting module is used for selecting a target client from the at least one client to be selected according to the first trigger signal and starting the target client;
and the target window setting module is used for acquiring a display window of the target client on the current display interface and setting the display window as a target window.
9. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, performs the method according to any one of claims 1-6.
10. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the method of any of claims 1-6.
CN202010594444.8A 2020-06-24 2020-06-24 Screen sharing method and device, storage medium and electronic equipment Pending CN111736787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010594444.8A CN111736787A (en) 2020-06-24 2020-06-24 Screen sharing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010594444.8A CN111736787A (en) 2020-06-24 2020-06-24 Screen sharing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111736787A true CN111736787A (en) 2020-10-02

Family

ID=72651258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010594444.8A Pending CN111736787A (en) 2020-06-24 2020-06-24 Screen sharing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111736787A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286431A (en) * 2020-10-30 2021-01-29 联想(北京)有限公司 Method and device for processing video sharing content and electronic equipment
CN112596642A (en) * 2020-12-16 2021-04-02 维沃移动通信有限公司 Data sharing method, device, equipment and readable storage medium
CN112784324A (en) * 2021-01-12 2021-05-11 全时云商务服务股份有限公司 Privacy protection method and device for sharing desktop
CN114697714A (en) * 2020-12-31 2022-07-01 青岛海尔多媒体有限公司 Method and device for screen sharing and electronic terminal equipment
WO2022143060A1 (en) * 2020-12-29 2022-07-07 中兴通讯股份有限公司 Screen capture method, and terminal and storage medium
CN115484086A (en) * 2022-09-07 2022-12-16 中移互联网有限公司 Cloud mobile phone screen sharing method, electronic equipment and computer readable storage medium
CN116311209A (en) * 2023-03-28 2023-06-23 北京匠数科技有限公司 Window detection system method and system and electronic equipment
WO2024007799A1 (en) * 2022-07-05 2024-01-11 中兴通讯股份有限公司 Method and device for processing remote sharing of display screen, and storage medium
WO2024051247A1 (en) * 2022-09-08 2024-03-14 中兴通讯股份有限公司 Application sharing method and system, electronic device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414751A (en) * 2013-07-16 2013-11-27 广东工业大学 PC screen content sharing/interaction control method
CN104317620A (en) * 2014-10-24 2015-01-28 中兴通讯股份有限公司 Multi-screen sharing based application management method and device
US20160171574A1 (en) * 2014-12-11 2016-06-16 YUR Drivers Network, Inc. Method And System For Ride Shares Involving Hierarchical Driver Referrals
CN106528021A (en) * 2016-10-27 2017-03-22 三星电子(中国)研发中心 Screen content sharing method and apparatus
CN106603667A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Screen information sharing method and device
CN106791136A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of video record processing method, device and terminal
CN107368748A (en) * 2016-05-12 2017-11-21 中兴通讯股份有限公司 A kind of view generation method, apparatus and terminal
CN108156128A (en) * 2017-01-03 2018-06-12 中兴通讯股份有限公司 A kind of sharing method, apparatus and system
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus
CN110989950A (en) * 2019-11-15 2020-04-10 维沃移动通信有限公司 Sharing control method and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414751A (en) * 2013-07-16 2013-11-27 广东工业大学 PC screen content sharing/interaction control method
CN104317620A (en) * 2014-10-24 2015-01-28 中兴通讯股份有限公司 Multi-screen sharing based application management method and device
WO2016061924A1 (en) * 2014-10-24 2016-04-28 中兴通讯股份有限公司 Multi-screen sharing based application management method and device, and storage medium
US20160171574A1 (en) * 2014-12-11 2016-06-16 YUR Drivers Network, Inc. Method And System For Ride Shares Involving Hierarchical Driver Referrals
CN107368748A (en) * 2016-05-12 2017-11-21 中兴通讯股份有限公司 A kind of view generation method, apparatus and terminal
CN106528021A (en) * 2016-10-27 2017-03-22 三星电子(中国)研发中心 Screen content sharing method and apparatus
CN106603667A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Screen information sharing method and device
CN106791136A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of video record processing method, device and terminal
CN108156128A (en) * 2017-01-03 2018-06-12 中兴通讯股份有限公司 A kind of sharing method, apparatus and system
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus
CN110989950A (en) * 2019-11-15 2020-04-10 维沃移动通信有限公司 Sharing control method and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286431A (en) * 2020-10-30 2021-01-29 联想(北京)有限公司 Method and device for processing video sharing content and electronic equipment
CN112286431B (en) * 2020-10-30 2022-09-23 联想(北京)有限公司 Method and device for processing video sharing content and electronic equipment
CN112596642A (en) * 2020-12-16 2021-04-02 维沃移动通信有限公司 Data sharing method, device, equipment and readable storage medium
WO2022143060A1 (en) * 2020-12-29 2022-07-07 中兴通讯股份有限公司 Screen capture method, and terminal and storage medium
CN114697714A (en) * 2020-12-31 2022-07-01 青岛海尔多媒体有限公司 Method and device for screen sharing and electronic terminal equipment
CN112784324A (en) * 2021-01-12 2021-05-11 全时云商务服务股份有限公司 Privacy protection method and device for sharing desktop
WO2024007799A1 (en) * 2022-07-05 2024-01-11 中兴通讯股份有限公司 Method and device for processing remote sharing of display screen, and storage medium
CN115484086A (en) * 2022-09-07 2022-12-16 中移互联网有限公司 Cloud mobile phone screen sharing method, electronic equipment and computer readable storage medium
CN115484086B (en) * 2022-09-07 2023-10-27 中移互联网有限公司 Cloud mobile phone screen sharing method, electronic equipment and computer readable storage medium
WO2024051247A1 (en) * 2022-09-08 2024-03-14 中兴通讯股份有限公司 Application sharing method and system, electronic device, and storage medium
CN116311209A (en) * 2023-03-28 2023-06-23 北京匠数科技有限公司 Window detection system method and system and electronic equipment
CN116311209B (en) * 2023-03-28 2024-01-19 北京匠数科技有限公司 Window detection method, system and electronic equipment

Similar Documents

Publication Publication Date Title
CN111736787A (en) Screen sharing method and device, storage medium and electronic equipment
KR101196271B1 (en) Networked chat and media sharing systems and methods
US10129313B2 (en) System, method, and logic for managing content in a virtual meeting
US10229099B2 (en) Shared and private annotation of content from a collaboration session
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
EP2896195B1 (en) Communication server, communication system, program, and communication method
US10320863B2 (en) Context-based analytics for collaboration tools
US20110125748A1 (en) Method and Apparatus for Real Time Identification and Recording of Artifacts
CN109085950B (en) Multi-screen interaction method and device based on electronic whiteboard and electronic whiteboard
EP2963902B1 (en) System, and method of controlling data transmission, and recording medium
US9948729B1 (en) Browsing session transfer using QR codes
JP7465370B2 (en) Information sharing method, device, electronic device, and storage medium
US8695092B2 (en) Host IP reputation
US11374992B2 (en) Seamless social multimedia
CN109474646B (en) Communication connection method, device, system and storage medium
Iqbal et al. Forensic investigation of Google Meet for memory and browser artifacts
CN110647827A (en) Comment information processing method and device, electronic equipment and storage medium
CN110928506B (en) Data interaction system and data interaction method
US20140351009A1 (en) Anonymizing facial expression data with a smart-cam
CN112965750B (en) Display and control system and method for IP multimedia resource
CN114760349A (en) Service access method and device, system, equipment and medium
JP2007035053A (en) Method for maintaining session between different-terminals
US20210073834A1 (en) Identifying micro users interests: at a finer level of granularity
JP5322972B2 (en) Web screen restoration device, web screen restoration method, and web screen restoration program
KR20160022335A (en) System and method for providing contents use information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination