Screen sharing method, device, storage medium and electronic device
By filtering and setting matching display windows as shared areas, the problem in the existing technology that screen sharing cannot flexibly select shared areas is solved, achieving more private and freer shared communication, and protecting users' private information.
Patent Information
- Application Number
- CN202010594444.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-06-24
AI Technical Summary
Existing screen sharing technology cannot flexibly select the sharing area, leading to the problem of user privacy leakage.
By receiving the preset scene instructions input by the user, the application attributes of multiple display windows of the current display interface are obtained, the matching target windows are filtered out, and set as a shared area, and the video stream is sent to the terminal device to be shared to realize the control of different Flexible selection and privacy protection of shared scenes.
It achieves more private, freer and more flexible screen sharing communication, effectively protecting users' private information.
Smart Images

Figure CN111736787B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data communication technology, and in particular to a screen sharing method, device, storage medium and electronic device. Background Art
[0002] In the Internet era, in today's society where cloud work is becoming increasingly common, the working mode of enterprises is gradually diversified, and is not limited to the same office. Enterprise employees may need to work with colleagues thousands of miles away to complete a work task. Relying on high-speed Internet, office instant messaging software is becoming more and more popular, and communication methods are becoming more and more diverse. Among them, there is a very practical and efficient communication method: screen sharing. This solution of intuitively sharing your desktop with others gives people great convenience in remote work. This communication method is close to the efficiency of face-to-face communication.
[0003] Current screen sharing usually directly shares the entire desktop, but there are some areas in the desktop area that do not need to be shared. Sharing the entire desktop brings inconvenience to the user's privacy. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a screen sharing method, device, storage medium and electronic device to improve the technical problems existing in the prior art.
[0005] 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; obtaining application attributes of multiple display windows in a current display interface; when there is a display window whose application attributes match the preset scene among the multiple display windows, filtering out at least one target window from the multiple display windows; setting a corresponding area of each of the target windows on the current display interface as a shared area; obtaining a video stream of the shared area, and sending the video stream to a terminal device to be shared.
[0006] Through the above solution, in the process of sharing the screen with others, the sharing area can be selected more flexibly according to different sharing scenarios, thereby achieving more private, free and diverse sharing communication, and effectively protecting the privacy of users.
[0007] In an optional embodiment, after obtaining the application attributes of multiple display windows in the current display interface, and before setting the corresponding area of each target window on the current display interface as a shared area, the method further includes: when there is no display window among the multiple display windows whose application attributes match the preset scene, selecting at least one candidate client matching the preset scene from the multiple installed application clients; displaying a startup reminder for the candidate client on the current display interface; receiving a first trigger signal input by the user based on the startup reminder; selecting a target client from the at least one candidate client and starting the target client according to the first trigger signal; obtaining the display window of the target client on the current display interface, and setting the display window as the target window.
[0008] When there is no display window matching the preset scene among the multiple display windows, at least one candidate client is selected from the multiple installed application clients by matching with the selected preset scene. The at least one candidate client matches the application shared by most users in this scenario, thereby being able to more intelligently meet the user's sharing intention.
[0009] In an optional embodiment, filtering out at least one target window from the multiple display windows includes: determining the corresponding privacy level of each display window based on its application attributes; and setting at least one display window among the display windows whose privacy level is lower than a preset threshold as the target window.
[0010] Display windows whose privacy levels are not lower than a preset threshold value may not be used as target windows, that is, they may not be shared, so as to avoid revealing the user's privacy information during screen sharing. In this way, user privacy is effectively protected.
[0011] In an optional embodiment, filtering out at least one target window from the multiple display windows includes: displaying a sharing prompt for the multiple display windows on the 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 the target window.
[0012] In an optional embodiment, the filtering out at least one target window from the multiple display windows includes: tracking the position of the mouse on the current display interface, and identifying the display window including the current position of the mouse from the multiple display windows; receiving a third trigger signal input by the user, and setting the currently identified display window as the target window.
[0013] In an optional embodiment, before receiving a screen sharing instruction for a preset scene input by a user, the method also includes: accessing a target web page through a browser; establishing a session connection through the target web page with a browser on the terminal device to be shared that accesses the same target web page; sending the video stream to the terminal device to be shared includes: sending the video stream to the browser on the terminal device to be shared through the session connection.
[0014] The above solution realizes screen sharing by establishing a session connection between browsers. It does not need to rely on a specific desktop application, and there is no need to download and install desktop applications. You only need to open the browser and visit the target web page.
[0015] In a second aspect, an embodiment of the present application provides a screen sharing device, comprising: an instruction receiving module, used to receive a screen sharing instruction for a preset scene input by a user; an attribute acquisition module, used to obtain application attributes of multiple display windows in a current display interface; a window screening module, used to filter out at least one target window from the multiple display windows when there is a display window whose application attributes match the preset scene among the multiple display windows; a shared area setting module, used to set the corresponding area of each target window on the current display interface as a shared area; a screen sharing module, used to obtain a video stream of the shared area and send the video stream to a terminal device to be shared.
[0016] In an optional embodiment, the device also includes: a client matching module, which is used to select at least one candidate client that matches the preset scene from the multiple installed application clients when there is no display window whose application attributes match the preset scene among the multiple display windows; a startup reminder display module, which is used to display a startup reminder for the candidate client on the current display interface; a first trigger receiving module, which is used to receive a first trigger signal input by the user based on the startup reminder; a client startup module, which is used to select a target client from the at least one candidate client and start the target client according to the first trigger signal; and a target window setting module, which is used to obtain the display window of the target client on the current display interface and set the display window as the target window.
[0017] In a third aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the first aspect or any optional implementation method of the first aspect is executed.
[0018] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the method described in the first aspect or any optional implementation method of the first aspect is performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flowchart of a screen sharing method provided in an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a sharing interface in a screen sharing method provided in an embodiment of the present application;
[0022] Figure 3 A flow chart of the target window screening operation in step 130 of the embodiment of the present application;
[0023] Figure 4 Another flowchart of the target window screening operation in step 130 of the embodiment of the present application;
[0024] Figure 5 Another flow chart of the screen sharing method provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of a screen sharing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0027] The embodiment of the present application provides a screen sharing method, which can share the screen of the sharing area on the sharer's terminal device to other terminal devices. During the sharing process, the sharing area can be selected more flexibly according to different sharing scenarios, thereby achieving more private and free sharing communication. Figure 1 The flowchart of the screen sharing method is shown in FIG. 1 , which is described from the perspective of the sharing terminal device. Figure 1 As shown, the method comprises the following steps:
[0028] Step 110: Receive a screen sharing instruction for a preset scene input by a user.
[0029] In one embodiment, the terminal device establishes a session connection with the browser of other terminal devices to be shared through a browser to achieve screen sharing. The user opens any installed browser through the terminal device, accesses the target webpage, enters the screen sharing instruction for the preset scene on the target webpage, and starts the screen sharing operation. In another embodiment, the terminal device can also rely on a desktop application with a screen sharing function to implement the method in this embodiment. The user starts the desktop application through the terminal device, enters the screen sharing instruction for the preset scene on the application page, and starts the screen sharing operation.
[0030] The way in which the user inputs the screen sharing instruction for the preset scene includes but is not limited to: keyboard selection, keyboard input, mouse click, voice input, etc. Figure 2 In the schematic diagram shown, taking the target web page as an example, after the browser accesses the target web page, a pre-set option list is displayed on the web page, and multiple different sharing scenes are set in the option list, for example: scene A, scene B, scene C and scene D. Among them, the sharing scenes include, for example, chatting with friends, live courses, video conferences, etc. The user selects from multiple different sharing scenes by using the arrow keys and the enter key on the keyboard, or selects by clicking the corresponding option with the mouse. After confirming the selection, the screen sharing instruction is input on the terminal device, so that the terminal device starts screen sharing. In addition, the user can also use the audio input device connected to the terminal device for voice input, such as saying "turn on the screen sharing of scene A" to the audio input device. After the terminal device collects this sentence, it obtains the corresponding instruction content through voice recognition technology, and starts the screen sharing of scene A according to the instruction content.
[0031] Step 120: Obtain application properties of multiple display windows in the current display interface.
[0032] Among them, the application attribute can be specifically represented as the application to which the display window belongs. The display window can be a client application window or a browser tab window. Therefore, the application to which the display window belongs can be a client application or a browser tab.
[0033] Step 130: When there is a display window whose application attribute matches the preset scenario among the multiple display windows, at least one target window is screened out from the multiple display windows.
[0034] Step 140: Set the corresponding area of each target window on the current display interface as a shared area.
[0035] Step 150: Acquire the video stream of the shared area, and send the video stream to the terminal device to be shared.
[0036] In the above step 130, the terminal device matches multiple display windows with the preset scene selected by the user according to the application attributes of each display window on the current display interface, and when there is a display window matching the preset scene among the multiple display windows, the target window screening operation is entered. Optionally, the operation of matching multiple display windows with the preset scene can be implemented by means of big data analysis, which collects information such as the application attributes of display windows shared by several users in different sharing scenarios in advance, analyzes the applications that users tend to or are accustomed to share in different sharing scenarios, and then matches the analysis data of the sharing scene selected by the user with each display window on the current display interface to obtain a matching result. Among them, the target window screening operation includes the following implementation methods:
[0037] In one embodiment, the terminal device determines the corresponding privacy level of each display window on the current display interface according to the application attributes thereof. The privacy level is divided into, for example, levels 1 to 5, where level 1 indicates a low privacy level and the window does not contain the user's privacy information, and level 5 indicates a high privacy level and the window contains the user's privacy information; then, at least one display window among the display windows whose privacy level is lower than a preset threshold is set as a target window. Display windows whose privacy level is not lower than the preset threshold may not be used as target windows, that is, they are not shared, to avoid revealing the user's privacy information during screen sharing, so that the user's privacy is effectively protected.
[0038] In another embodiment, if Figure 3 As shown, the target window screening operation in step 130 includes the following steps:
[0039] Step 131: Display sharing prompts for multiple display windows on the current display interface.
[0040] Step 132: Receive a second trigger signal input by the user based on the sharing prompt.
[0041] Step 133: Set the display window selected by the user in the second trigger signal as the target window.
[0042] In this embodiment, since the terminal device has identified the application attributes of each display window on the current display interface in the above step 120, the terminal device displays a sharing prompt for the multiple display windows on the current display interface. The sharing prompt includes a list of application attributes of the multiple display windows. For example, display window 1, display window 2, and display window 3 on the current display interface are identified, and they correspond to application a, application b, and application c, respectively. When displaying the sharing prompt, an option list of application a, application b, and application c is displayed.
[0043] Furthermore, 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. The way in which the user inputs the second trigger signal includes, but is not limited to, keyboard selection, keyboard input, mouse click, voice input, etc. 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 it as the target window. For example, if the user clicks on application b in the option list, the display window corresponding to application b is set as the target window.
[0044] In another embodiment, if Figure 4 As shown, the target window screening operation in step 130 includes the following steps:
[0045] Step 134: Track the position of the mouse on the current display interface.
[0046] After determining that there is a display window whose application attributes match the preset scene among the multiple display windows, the terminal device tracks the position of the mouse on the current display interface in real time.
[0047] Step 135: Identify the display window including the current position of the mouse from the multiple display windows.
[0048] In this embodiment, since the terminal device has identified each display window and its application attributes on the current display interface in the above step 120, the terminal device determines the display window including the current position of the mouse from the multiple display windows in real time according to the current position of the mouse.
[0049] Step 136: Receive a third trigger signal input by the user, and set the currently identified display window as the target window.
[0050] The third trigger signal input by the user may be generated based on a click of the mouse or a confirmation operation of the keyboard. 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.
[0051] On the basis of the above embodiment, the target window screening operation in step 130 may also include the following steps: tracking the position of the mouse on the current display interface; identifying the target application where the mouse is resting; setting the complete display window of the target application as the target window. This method can solve the problem that when multiple display windows overlap on the current display interface, the display window of the application placed above blocks the display window of part of the application placed below, resulting in the display window of part of the application placed below being unable to be fully displayed and shared. Therefore, the application where the mouse is resting can be identified and the complete display window of the application can be directly associated as the target window, so that the setting of the target window can be not limited to the interface environment where the display windows of each application are overlapped and blocked. It can be understood that the terminal device can determine the target window by any of the above methods, and in other embodiments, the above embodiments can also be combined. Specifically, it includes the following steps: determining the corresponding privacy level of each display window according to its application attribute, and taking at least one display window in the display window with a privacy level lower than a preset threshold as the first candidate target window; displaying a sharing prompt for the first candidate target window on the 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 the target window.
[0052] Further, after step 120 and before step 140, as Figure 5 As shown, the screen sharing method in this embodiment also includes the following steps:
[0053] Step 151: when there is no display window whose application attributes match the preset scenario among the multiple display windows in the current display interface, at least one candidate client matching the preset scenario is selected from the multiple installed application clients.
[0054] In the above step 151, the terminal device matches multiple display windows with the preset scene selected by the user according to the application attributes of each display window on the current display interface, and when there is no display window matching the preset scene among the multiple display windows, the startup selection operation of the candidate client is entered. Optionally, the operation of matching multiple display windows with the preset scene can be implemented by big data analysis, and its implementation steps are consistent with step 130, which will not be repeated here.
[0055] In such a case, the analysis data of the sharing scenario selected by the user is matched with the multiple application clients currently installed on the terminal device, and at least one candidate client is selected from the multiple installed application clients. It can be understood that the at least one candidate client is consistent with the shared application selected by most users in this sharing scenario.
[0056] Step 152: Displaying a startup reminder for the selected client on the current display interface.
[0057] After at least one client to be selected is selected, a startup reminder is displayed on the current display interface, wherein the startup reminder includes the at least one client to be selected, waiting for the user to select the at least one client to be selected.
[0058] Step 153: Receive a first trigger signal input by the user based on the start reminder.
[0059] The first trigger signal input by the user may be generated according to a click operation of the mouse or a confirmation operation of the keyboard.
[0060] Step 154: Select a target client from at least one candidate client according to the first trigger signal and start the target client.
[0061] After receiving the first trigger signal, the terminal device identifies the target client selected in the first trigger signal, that is, selects the target client from at least one candidate client, and then starts the target client.
[0062] Step 155: Obtain the display window of the target client on the current display interface, and set the display window as the target window.
[0063] In this embodiment, the above steps 151-154 are to select a target client from at least one candidate client according to the user's selection operation. In addition, in other implementations, the terminal device can pre-collect the user's sharing habits in each sharing scenario, and select at least one client matching the preset scenario from the multiple installed application clients according to the user's sharing habits in the sharing scenario or the sharing tendencies of several users in the sharing scenario obtained through big data analysis. The selected at least one client can be directly used as the target client to be shared.
[0064] Optionally, the terminal device establishes a session connection with the browser of other terminal devices to be shared through the browser to achieve screen sharing. Specifically, before step 110, the method also includes: accessing the target web page through the browser; establishing a session connection with the browser accessing the same target web page on the terminal device to be shared through the target web page. 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. Among them, the terminal device to be shared can be one or more. When sharing the screen with only 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 the video stream is transmitted in a peer-to-peer manner.
[0065] The above-mentioned solution for screen sharing on the browser side can be implemented based on WebRTC (Web Real-Time Communication) technology, and can establish a point-to-point connection between browsers without the help of an intermediate medium to realize the transmission of video streams and / or audio streams. Specifically, when sharing the screen to a certain terminal device, the video stream is transmitted between the sharer terminal device and the terminal device to be shared in a point-to-point manner. The sharer terminal device and the terminal device to be shared first access the same target web page on their respective browsers, and send signaling data to the signaling server through the target web page to negotiate relevant communication information. The signaling data includes an SDP (Session Description Protocol) descriptor, and the SDP descriptor includes metadata such as resolution, format, encoding, encryption algorithm, etc. Then, the network addresses of the two ends are connected. After completing the above steps, a session connection is established between the browsers of the terminal devices.
[0066] After the session connection is established, the sharer's terminal device will first try to use point-to-point transmission to encrypt the video stream in the shared area, and transmit the encrypted video stream point-to-point to the browser of the terminal device to be shared. The browser of the terminal device to be shared will display the decrypted and parsed original video screen on the target web page. When point-to-point transmission fails, the application server can be used on the public network to forward the media stream data. The address of the application server is a public address. The sharer's terminal device forwards the encrypted video stream to the application server, and the application server then forwards the received encrypted video stream to the terminal device to be shared.
[0067] When multiple terminal devices are sharing screens, if a point-to-point connection cannot be established, the media stream data can also be forwarded through the application server.
[0068] Optionally, in the screen sharing method provided in this embodiment, before step 150, it also includes: displaying a recording request on the current display interface to request recording of the audio input device; receiving a fourth trigger signal input by the user, and obtaining an audio stream collected by the audio input device. In step 150, the obtained video stream of the shared area and the collected audio stream are encrypted to form an encrypted media stream, and the encrypted media stream is sent to the terminal device to be shared.
[0069] The present application also provides a screen sharing device. Figure 6 As shown, the device includes: an instruction receiving module 210, an attribute obtaining module 220, a window filtering module 230, a sharing area setting module 240, and a screen sharing module 250.
[0070] The instruction receiving module 210 is used to receive a screen sharing instruction for a preset scene input by a user;
[0071] The attribute acquisition module 220 is used to acquire application attributes of multiple display windows in the current display interface;
[0072] The window screening module 230 is configured to screen out at least one target window from the multiple display windows when there is a display window whose application attributes match the preset scenario among the multiple display windows;
[0073] 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;
[0074] The screen sharing module 250 is used to obtain the video stream of the shared area and send the video stream to the terminal device to be shared.
[0075] Optionally, the device further includes: a client matching module, a startup reminder display module, a first trigger receiving module, a client startup module, and a target window setting module.
[0076] The client matching module is used to select at least one candidate client matching the preset scenario from the multiple installed application clients when there is no display window whose application attributes match the preset scenario among the multiple display windows;
[0077] A startup reminder display module is used to display a startup reminder for the selected client on the current display interface;
[0078] A first trigger receiving module, used to receive a first trigger signal input by a user based on the start reminder;
[0079] A client startup module, configured to select a target client from the at least one candidate client according to the first trigger signal and start the target client;
[0080] The target window setting module is used to obtain the display window of the target client on the current display interface and set the display window as the target window.
[0081] Optionally, the window screening module 230 is specifically configured to determine the corresponding privacy level of each display window according to its application attribute; and set at least one display window among the display windows whose privacy level is lower than a preset threshold as a target window.
[0082] Optionally, the window filtering module 230 is specifically used to display sharing prompts for the multiple display windows on the current display interface; receive a second trigger signal input by the user based on the sharing prompt; and set the display window selected by the user in the second trigger signal as the target window.
[0083] Optionally, the window filtering module 230 is specifically used to track the position of the mouse on the current display interface, and identify the display window including the current position of the mouse from the multiple display windows; receive a third trigger signal input by the user, and set the currently identified display window as the target window.
[0084] Optionally, the device also includes: a connection establishment module, used to access the target web page through a browser; establish a session connection with the browser accessing the same target web page on the terminal device to be shared through the target web page; and a screen sharing module specifically used to send the video stream to the browser on the terminal device to be shared through the session connection.
[0085] The screen sharing device provided above has the same basic principle and technical effects as the screen sharing method in the previous method embodiment. For the sake of brief description, for parts not mentioned in this embodiment, please refer to the corresponding contents in the above method embodiment, and no further details will be given here.
[0086] An embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the screen sharing method provided in the present embodiment is executed.
[0087] The embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the screen sharing method provided in the embodiment is executed. The electronic device is a terminal device of the sharer in the embodiment of the present application.
[0088] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. Furthermore, the functional modules in the various embodiments of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
[0089] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0090] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A screen sharing method, It is characterized in that include: Receiving a screen sharing instruction for a preset scene input by a user; Get the application properties of multiple display windows in the current display interface; When there is a display window whose application attribute matches the preset scene among the multiple display windows, screening out at least one target window from the multiple display windows; Setting a corresponding area of each target window on the current display interface as a shared area; Acquire the video stream of the shared area, and send the video stream to the terminal device to be shared; Among them, after obtaining the application attributes of multiple display windows in the current display interface, and before setting the corresponding area of each target window on the current display interface as a shared area, the method also includes: when there is no display window whose application attributes match the preset scene among the multiple display windows, selecting at least one candidate client matching the preset scene from the multiple installed application clients; displaying a startup reminder for the candidate client on the current display interface; receiving a first trigger signal input by the user based on the startup reminder; selecting a target client from the at least one candidate client and starting the target client according to the first trigger signal; obtaining the display window of the target client on the current display interface, and setting the display window as the target window.
2. The method according to claim 1, It is characterized in that The step of selecting at least one target window from the plurality of display windows comprises: Determining a corresponding privacy level of each display window according to its application attribute; At least one display window among the display windows having a privacy level lower than a preset threshold is set as a target window.
3. The method according to claim 1, It is characterized in that The step of selecting at least one target window from the plurality of display windows comprises: Displaying sharing prompts for the multiple display windows on the current display interface; receiving a second trigger signal input by a user based on the sharing prompt; The display window selected by the user in the second trigger signal is set as the target window.
4. The method according to claim 1, It is characterized in that The step of selecting at least one target window from the plurality of display windows comprises: Tracking the position of the mouse on the current display interface, and identifying the display window including the current position of the mouse from the multiple display windows; A third trigger signal input by a user is received, and the currently identified display window is set as a target window.
5. The method according to any one of claims 1 to 4, It is characterized in that Before receiving a screen sharing instruction for a preset scene input by a user, the method further includes: Access the target web page through a browser; Establishing a session connection with a browser accessing the same target webpage on the terminal device to be shared through the target webpage; The sending the video stream to the terminal device to be shared includes: sending the video stream to a browser on the terminal device to be shared through the session connection.
6. A screen sharing device, It is characterized in that include: An instruction receiving module, used to receive a screen sharing instruction for a preset scene input by a user; The attribute acquisition module is used to acquire the application attributes of multiple display windows in the current display interface; a window screening module, configured to screen out at least one target window from the multiple display windows when there is a display window whose application attributes match the preset scenario among the multiple display windows; A shared area setting module, used to set the corresponding area of each target window on the current display interface as a shared area; A screen sharing module, used for acquiring a video stream of the shared area and sending the video stream to a terminal device to be shared; A client matching module, configured to select at least one candidate client matching the preset scenario from the installed multiple application clients when there is no display window whose application attributes match the preset scenario among the multiple display windows; A startup reminder display module is used to display a startup reminder for the selected client on the current display interface; A first trigger receiving module, used to receive a first trigger signal input by a user based on the start reminder; A client startup module, configured to select a target client from the at least one candidate client according to the first trigger signal and start the target client; The target window setting module is used to obtain the display window of the target client on the current display interface and set the display window as the target window.
7. A storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is executed.
8. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the method according to any one of claims 1 to 5 is performed.
Citation Information
Patent Citations
PC screen content sharing / interaction control method
CN103414751A
Multi-screen sharing based application management method and device
CN104317620A
Screen content sharing method and apparatus
CN106528021A
Screen information sharing method and device
CN106603667A
Video recording processing method, device and terminal
CN106791136A
