Screen projection control method, computer equipment and storage medium
By displaying the control interface of the receiving end on the sending end and sending control parameters, it solves the problem of existing screen casting methods interrupting user operations, achieves impact-free control of the receiving end's screen casting display, and improves the user experience.
Patent Information
- Application Number
- CN202310352008.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
The existing screen projection method easily interrupts the original screen projection use when the user performs control operations, affecting the user's immersive experience.
The sending end displays the switching control of the receiving end's control interface data, and responds to the user's operation, sending the corresponding control parameters to the receiving end to adjust the screen projection display effect without switching the receiving end's display interface, so as not to affect the original screen projection In the case of screen, control the screen projection display of the receiving end.
It is possible to control the screen projection display effect of the receiving end without interrupting the user's immersive experience, improving the user experience and avoiding the impact on the original screen projection picture.
Smart Images

Figure CN118778916A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen projection technology, and in particular to a screen projection control method, a computer device and a storage medium. Background Art
[0002] When the receiving end such as tablets and monitors on the market are projecting the screen to the sending end such as mobile phones and computers, the projected screen will be placed on the top layer of the screen with the highest priority. When the user wants to control the receiving end, he can only exit the projected screen window and return to the original operating system interface window, which will interrupt the original screen projection.
[0003] Obviously, the existing screen projection method can easily affect the original projection screen and interrupt the original screen projection use. Summary of the invention
[0004] The embodiments of the present application provide a screen projection control method, a computer device, and a storage medium, which can avoid interrupting the user's immersive continuous use without affecting the original projected screen.
[0005] An embodiment of the present application provides a screen projection control method, which is applied to a sending end, and the method includes: sending screen projection data to a receiving end, so that the receiving end performs screen projection display based on the screen projection data; displaying a switching control corresponding to the control interface data of the receiving end on the graphical user interface of the sending end; in response to a triggering operation on the switching control, displaying a control interface on the graphical user interface of the sending end based on the control interface data; in response to an interactive operation on the control interface, the sending end sends a control parameter corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameter.
[0006] An embodiment of the present application also provides a screen projection control method, which is applied to a receiving end, and the method includes: obtaining screen projection data sent by a sending end, and performing screen projection display based on the projection data; when the sending end performs an interactive operation on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation, and the control interface is an interface displayed by the sending end based on the control interface data of the receiving end.
[0007] An embodiment of the present application also provides a computer device, including a processor and a memory, wherein the memory stores multiple instructions; the processor loads instructions from the memory to execute the steps in any one of the screen projection control methods provided in the embodiments of the present application.
[0008] An embodiment of the present application also provides a computer-readable storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any screen projection control method provided in the embodiment of the present application.
[0009] The embodiments of the present application can send screen projection data to a receiving end, so that the receiving end performs screen projection display based on the screen projection data; display a switching control corresponding to the control interface data of the receiving end on the graphical user interface of the sending end; in response to a triggering operation on the switching control, display a control interface on the graphical user interface of the sending end based on the control interface data; in response to an interactive operation on the control interface, the sending end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0010] In the present application, when the sending end sends the projection data to the receiving end for projection display, the sending end can display the switching control of the control interface data corresponding to the receiving end, and display the control interface of the receiving end on the sending end by triggering the switching control, so that the control interface displayed on the sending end can be used to control the projection display effect of the receiving end without switching the projection screen displayed on the receiving end. This method makes it possible to control the projection display effect of the receiving end without switching the display control interface based on the control interface, and the receiving end will not switch the display control interface, nor will it block the projection content displayed on the receiving end, so as to avoid interrupting the user's immersive continuous use without affecting the original projection screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1a is a schematic diagram of a screen projection control scenario provided in an embodiment of the present application;
[0013] Figure 1b It is a flowchart of the screen projection control method provided in an embodiment of the present application;
[0014] Figure 1c It is a schematic diagram of the interface before and after the sending end performs a trigger operation on the switching control provided in an embodiment of the present application;
[0015] Figure 1d It is a schematic diagram of an interface provided by an embodiment of the present application for a transmitting end to project target screen projection data to a receiving end;
[0016] Figure 2a It is a flowchart of another screen projection control method provided in an embodiment of the present application;
[0017] Figure 2b It is a flowchart of another screen projection control method provided in an embodiment of the present application;
[0018] Figure 3 is a structural schematic diagram of a screen projection control device provided in an embodiment of the present application;
[0019] Figure 4 is a structural schematic diagram of another screen projection control device provided in an embodiment of the present application;
[0020] Figure 5 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0022] Embodiments of the present application provide a screen projection control method, a computer device, and a storage medium.
[0023] First, the specific scenario of screen projection is explained, taking the scenario of the sender and the receiver used in a meeting as an example. The sender can be a mobile device, which can be a mobile phone, a tablet computer or a personal computer (PC), and the receiver can be an interactive implementation device, which can be an interactive tablet, a smart TV, a computer monitor or other display device.
[0024] In one embodiment, take the transmitting end as a laptop computer and the receiving end as an interactive tablet computer as an example. Among them, the interactive tablet computer is an integrated device that uses touch technology to control the content displayed on the display tablet computer and realize human-computer interaction operations. It integrates one or more functions such as a projector, an electronic whiteboard, a screen, an audio system, a television, and a video conferencing terminal. The interactive tablet computer is installed with a screen projection application, which is mainly used for wireless screen projection. Wireless screen projection is to display the screen of the laptop computer (also called screen projection data) "in real time" to the interactive tablet computer through a specific technical method. The displayed content includes various media information and real-time operation screens. The screen projection application can also be called a screen transmission application, a flying screen application, and a screen sharing application. No matter how the name of the screen projection application changes, as long as it is an application used to implement the above functions, it is equivalent to the screen projection application disclosed in the present invention.
[0025] For example, Figure 1a This is a schematic diagram of a screen projection control scenario used in this application, in which the sending end is a laptop computer and the receiving end is an interactive tablet. Figure 1a As shown, taking the example of a user needing to share a video in a laptop computer at a meeting, the user can use a wireless network to connect the laptop computer to the interactive tablet computer, and send the data of the video screen displayed on the graphical user interface of the laptop computer to the interactive tablet computer, so that the interactive tablet computer performs screen projection display based on the data of the video screen, that is, the interactive tablet computer receives the corresponding video screen for screen projection display; in the graphical user interface of the laptop computer, a switching control corresponding to the control interface data of the interactive tablet computer is displayed; in response to a triggering operation on the switching control, a control interface is displayed on the graphical user interface of the laptop computer based on the control interface data; in response to an interactive operation on the control interface, the laptop computer sends the control parameters corresponding to the interactive operation to the interactive tablet computer, so that the interactive tablet computer adjusts the screen projection display effect based on the control parameters.
[0026] In some embodiments, the screen projection control method can be implemented by a screen projection control device, which can be integrated in a computer device, and the computer device can be a terminal, a server, etc. Among them, the terminal can be a mobile device (sender) / interaction implementation device (receiver); the server can be a single server or a server cluster composed of multiple servers.
[0027] In some embodiments, the screen projection control device can also be integrated into multiple computer devices. For example, the screen projection control device can be integrated into multiple servers, and the screen projection control method of the present application can be implemented by multiple servers.
[0028] In some embodiments, the server may also be implemented in the form of a terminal.
[0029] The following are detailed descriptions. It should be noted that the order of the following embodiments is not intended to limit the preferred order of the embodiments. It is understandable that in the specific implementation of the present application, it involves projection data, trigger operations, interactive operations and other user-related data. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0030] In this embodiment, a screen projection control method is provided, which is applied to a transmitting end, such as Figure 1b As shown, the specific process of the screen projection control method can be as follows:
[0031] 110. Send the screen projection data to the receiving end so that the receiving end performs screen projection display based on the screen projection data.
[0032] Among them, screen projection refers to synchronizing the content displayed on a sending device such as a mobile phone, tablet, or computer to another receiving device such as a TV, computer monitor, or projector for playback and viewing. For example, in some embodiments, part or all of the screen displayed on the sending device can be projected to the receiving device, that is, the projection data can include data of part or all of the screen displayed on the sending device.
[0033] In some implementations, the screen projection mark of the interface window displayed by the sending end device can be used to quickly obtain the projection data of the window interface to be projected according to the projection mark, thereby improving the efficiency and accuracy of the projection. Specifically, before sending the projection data to the receiving end, it also includes:
[0034] Setting a screen projection mark for at least one initial screen projection interface to be selected displayed on the graphical user interface of the sending end;
[0035] In response to the screen casting operation, based on the screen casting mark, an initial target screen casting interface is obtained by filtering from the initial screen casting interfaces to be selected, where the initial target screen casting interface is the initial screen casting interface to be selected with the screen casting mark;
[0036] The projection screen data is generated from the interface data of the initial target projection screen interface.
[0037] Among them, the graphical user interface refers to a computer operation user interface displayed in a graphical manner. Terminal devices such as a transmitter and a receiver can interact with users through a graphical user interface. The terminal device can provide the graphical user interface to the user in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the user through a holographic projection. For example, a local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a window interface, and the processor is used to generate a graphical user interface and control the display of the graphical user interface on the display screen. Users can operate on the interface through input devices such as a touch screen, a mouse, a keyboard, or a handle.
[0038] Among them, the screen projection interface refers to the user interface for operating the computer (sender) in the form of a window, and the window refers to the basic unit set in the graphical user interface by the application to use data. In the window, the user can operate the application in the window to manage, generate and edit data. Interface data refers to the data used to display the screen projection interface. Among them, the screen projection interface to be selected refers to the interface displayed by the sender that can be used for screen projection, which may include all or part of the interface displayed by the sender. The initial screen projection interface to be selected refers to the screen projection interface to be selected displayed by the sender when sending the projection data.
[0039] Among them, the projection mark refers to a mark used to indicate whether to project the screen. It is understandable that during the projection process, the projection interface with the projection mark can be projected, and the projection interface without the projection mark cannot be projected. For example, the projection mark can be a custom tag of the window, such as tag, ptag, etc.
[0040] The screen casting operation refers to a triggering operation performed by a user at the sending end. For example, the screen casting operation may be an operation in which a user clicks a screen casting control at the sending end.
[0041] For example, all interfaces displayed on the graphical user interface of the sending end can be used as the initial screen projection interface to be selected, and the initial screen projection interface displayed on the sending end can be the user interface of one or more applications. The attribute value of the tag attribute of one or more initial screen projection interfaces to be projected can be set to the value corresponding to the projection mark to mark the window interface. In this way, when the user touches the projection control displayed on the graphical user interface of the sending end, the sending end can obtain the attribute value of the tag attribute of the initial screen projection interface displayed by it one by one. If the acquired attribute value is the value corresponding to the projection mark, the interface data of the window interface corresponding to the attribute value is obtained, and the interface data of all the initial screen projection interfaces with projection marks are obtained as projection data. Send to the receiving end for projection, so that all interfaces displayed on the sending end can be filtered through the projection mark to obtain the initial target projection interface, and obtain the interface data of the initial target projection interface. This form of adding projection marks enables the screen to be transmitted to be captured in a timely and automatic manner when data streams are transmitted between the sending end and the receiving end.
[0042] In some implementations, the projection data is video stream data, the interface data includes picture data, and the projection data is generated from the interface data of the initial target projection interface, including:
[0043] Merge the screen data of all initial target projection screens into a projection screen image;
[0044] Generate video stream data from the projected screen image.
[0045] The screen data refers to the data of the display screen of the interface. For example, the screen data can be represented by image data or video data, and the image data refers to a collection of pixels represented by numerical values.
[0046] Video streaming data refers to data that can be transmitted in the form of video streaming. Video streaming refers to the process of converting or encoding a video into a data format and then transmitting it as a data stream from a server to a viewer's computer over a network.
[0047] For example, the sender can call the system interface to obtain the window data of all interfaces displayed on its screen (graphical user interface), which includes the projection mark of the interface, and then filter the interfaces without the projection mark according to the preset Tag attribute value, and synthesize the image data of the remaining interfaces corresponding to the Tag attribute value corresponding to the projection mark into a Bitmap, that is, to obtain the projection screen (projection image), and then convert the Bitmap into the Array (array) Stream data (video stream data) required for the video stream.
[0048] 120. Displaying, on the graphical user interface of the sending end, a switching control corresponding to the control interface data of the receiving end.
[0049] The control interface refers to an interface that has at least one menu function, such as adjusting volume and brightness, returning, returning to the system interface homepage, etc. For example, the control interface may be an operating system page running on the receiving end. The control interface data refers to data used to display the control interface.
[0050] Among them, the switch control refers to the control used to switch the display control interface. The control refers to the visual graphic "component" that can be placed on the form, such as a button, a file edit box, etc. The control has the function of executing functions or triggering code to run and complete the response through "events".
[0051] In some implementations, the switching control is displayed at the upper layer of the window interface. For example, the display priority of the switching control can be set to the highest so that it is displayed at the uppermost layer of the graphical user interface of the sending end.
[0052] 130. In response to a triggering operation on a switching control, a control interface is displayed on a graphical user interface of a sending end based on the control interface data.
[0053] The trigger operation may refer to an operation on a switching control. The trigger operation may include, but is not limited to, touch, drag, swipe, long press, short press, double click, click, end drag and other operations. Specifically, the embodiment of the present application may be applied to a sending end device, and a user may perform a trigger operation on a graphical user interface of the sending end through an input device such as a touch screen, a mouse, a keyboard or a handle.
[0054] For example, the triggering operation for the switching control may be clicking the switching control displayed on the screen of the sending end. Figure 1c The interface diagram before and after the sender performs a trigger operation on the switch control is shown in the figure. Figure 1c After the switching control shown in (1) is displayed on the sending end, the control interface data can be obtained from the receiving end or the control interface data returned by the sending end can be called locally, and Figure 1cAs shown in (2), the control interface corresponding to the control interface data is displayed on the graphical user interface of the sending end, and the control interface may include a volume control for adjusting the volume, a brightness control for adjusting the brightness, a return control for returning, and a homepage control for returning to the homepage. In this way, when the sending end sends the projection data to the receiving end for projection display, the sending end can display the switching control corresponding to the control interface data of the receiving end, and by triggering the switching control, the control interface of the receiving end is displayed on the sending end, so that the control interface displayed on the sending end can be used to control the projection display effect of the receiving end without switching the projection screen displayed on the receiving end.
[0055] In some embodiments, when the sending end displays the switching control, the projection data sent by the sending end to the receiving end does not include the interface data corresponding to the switching control. The interface corresponding to the switching control is used to display the window of the switching control, and its corresponding interface data is the interface data of the window.
[0056] In some implementations, when the control interface is displayed at the sending end, the screen projection data sent by the sending end to the receiving end does not include the control interface data.
[0057] In some implementations, the screen projection control method further includes:
[0058] Filter the screen projection interfaces to be selected from the graphical user interface of the sending end to obtain the target screen projection data, where the screen projection interfaces to be filtered include at least one of a window corresponding to the switching control and a control interface;
[0059] The target screen projection data is sent to the receiving end so that the receiving end can perform screen projection display based on the target screen projection data.
[0060] When the sender displays the switch control / control interface and performs operations on the switch control / control interface, it will not capture the screen data of the switch control / control interface and project it to the receiver, so as not to block the projected content displayed by the receiver and avoid interrupting the user's immersive continuous use without affecting the original projected screen. Figure 1d The sending end projects the target screen data to the receiving end. Figure 1d The target projection data of the current projection screen shown in (1) is sent to the receiving end. After receiving the target projection data, the receiving end can display the following Figure 1d The projection screen shown in (2) is shown in the figure. Figure 1d As shown in (1), when the sender sends the projection data to the receiver for projection display, the screen of the sender simultaneously displays the projection screen and the floating window of the switch control located on the upper layer of the projection screen. The floating window of the switch control is not projected to the receiver. Figure 1dAs shown in (2), there may be a control interface at the lower layer of the projection screen at the receiving end. The receiving end may transmit the data used to display the control interface back to the sending end while displaying the projection content.
[0061] In some implementations, the interface to be filtered is a screen projection interface to be selected without a screen projection mark, and the screen projection control method further includes:
[0062] Setting a screen projection mark for at least one screen projection interface to be selected displayed on the graphical user interface of the sending end;
[0063] From the screen projection screens to be selected displayed on the graphical user interface of the sender, filter the screens to be filtered to obtain the target screen projection data, including:
[0064] Based on the screen projection mark, filter the to-be-filtered interfaces in the to-be-selected screen projection interface to obtain the target screen projection interface, where the target screen projection interface is the to-be-selected screen projection interface with the screen projection mark;
[0065] The target projection screen data is generated from the interface data of the target projection screen interface.
[0066] For example, the projection mark can be set only for some interfaces of the sending end, that is, the interface / control interface corresponding to the switching control and some other interfaces are not set with the projection mark. When the sending end projects the screen to the receiving end, it will not capture the interface / control interface corresponding to the switching control and some other interfaces. Interface data of the interface will not be captured and projected to the receiving end. In this way, these interfaces can be filtered in the projection so that the receiving end does not display these interfaces, thereby not blocking the projection content displayed by the receiving end, and avoiding interrupting the user's immersive continuous use without affecting the original projection screen.
[0067] 140. In response to the interactive operation on the control interface, the sending end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0068] Among them, interactive operation refers to the behavior of operating the control interface. Interactive operations on the control interface can be used to interact with the computer (sender) through the control interface. For example, interactive operations may include but are not limited to one or more of input, touch, editing, etc. Specifically, the embodiments of the present application can be applied to the sending end device, and the user can perform interactive operations on the control interface displayed on the sending end through input devices such as a touch screen, mouse, keyboard or handle. Through interactive operations, functions such as adjusting the volume and brightness of the projection content displayed on the sending end, returning, and returning to the system interface homepage can be realized.
[0069] In some implementations, when the transmitting end projects the screen to the receiving end, when the transmitting end performs an interactive operation on the control interface, the control parameters corresponding to the interactive operation can be obtained and sent to the receiving end. Specifically, in response to the interactive operation on the control interface, the transmitting end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end projects the screen based on the control parameters, including:
[0070] In response to an interactive operation on the control interface, obtaining a control parameter corresponding to the interactive operation;
[0071] The sending end sends the control parameters to the receiving end so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0072] For example, by touching the volume control in the control interface displayed on the sending end, a control parameter for adjusting the volume can be generated and sent to the receiving end, so that the receiving end adjusts the volume of the projection screen it displays after receiving the control parameter. In this way, when controlling the projection display effect based on the control interface, the display control interface will not be switched on the receiving end, nor will the projection content displayed on the receiving end be blocked, thereby avoiding interrupting the user's immersive continuous use without affecting the original projection screen. In addition, because the projection control method of the embodiment of the present application only controls the projection display effect of the receiving end based on the control interface, and does not control the display effect of the sending end, it is possible to achieve independent control of the display effect of the receiving end, thereby improving the user experience.
[0073] In some embodiments, when a touch operation is performed on a control interface displayed on a transmitting end, the response coordinate position of the touch operation on the receiving end can be calculated based on the size of the graphical user interfaces of the transmitting end and the receiving end, so as to convert the touch operation of the transmitting end to the response touch point of the receiving end in a quantitative manner, thereby improving the accuracy of the execution of the interactive operation and improving the accuracy of the screen display effect of the control receiving end. Specifically, the interactive operation includes the touch operation, the control parameter includes the response coordinate position, and in response to the interactive operation on the control interface, the control parameter corresponding to the interactive operation is obtained, including:
[0074] In response to a touch operation on the control interface, a touch coordinate position and a conversion parameter of the touch operation are obtained, where the conversion parameter is calculated from a first interface size and a second interface size, where the first interface size is a size of a graphical user interface at a sending end, and the second interface size is a size of a graphical user interface at a receiving end;
[0075] Based on the touch coordinate position and the conversion parameters, the corresponding response coordinate position of the receiving end is calculated.
[0076] Among them, the touch operation may include but is not limited to touching, dragging, swiping, long pressing, short pressing, double-clicking, clicking, and ending dragging.
[0077] Among them, the touch coordinate position refers to the coordinate position where the graphical user interface of the sending end responds to the touch operation. It can be understood that the response position is the position in the graphical user interface of the sending end corresponding to the touch operation. The response coordinate position refers to the coordinate position where the graphical user interface of the receiving end responds to the touch operation. It can be understood that the response position is the position in the graphical user interface of the receiving end corresponding to the touch operation.
[0078] In some embodiments, the response coordinate position may be a coordinate position in a screen coordinate system of the receiving end, which is a two-dimensional coordinate system established on the screen. In pixels, the lower left corner of the screen is (0,0). The interface size may be expressed in pixels of a graphical user interface, such as the screen size may be expressed in screen resolution, which refers to the number of pixels in the vertical and horizontal directions. The screen resolution determines how much information is displayed on the computer screen, measured in horizontal and vertical pixels.
[0079] In some embodiments, the first interface size is the size of the projection screen of the sending end, and the second interface size is the size of the projection screen of the receiving end. For example, the size of the projection screen may be the size of the window displaying the projection screen, and the window data of the window displaying the projection screen may be obtained by calling the system interface, and the window data includes the size of the window.
[0080] In some implementations, the first interface size is the size of a graphical user interface at the sending end, and the second interface size is the size of a graphical user interface at the receiving end.
[0081] For example, when any position of the sending end graphical user interface (screen) is touched, the XY coordinate position (300, 600) (i.e., the touch coordinate position) of the position in the sending end screen coordinate system can be obtained, the resolution of the sending end screen is 2400×1080, the DPI (dots per inch) is 360, and the resolution of the receiving end screen is 3840×2160, and the DPI is 480. Then the X coordinate on the receiving end screen = 300×(3840 / 2400)×(480 / 360), and the Y coordinate on the receiving end screen = 600×(2160 / 1080)×(480 / 360), where (3840 / 2400)×(480 / 360) and (2160 / 1080)×(480 / 360) are conversion parameters calculated from the screen resolution and DPI. In this way, the XY coordinate position on the receiving end screen calculated by the sending end can be sent to the receiving end, so that after receiving the XY coordinate position, the receiving end responds according to the XY coordinate position to control its projection display effect. This method can complete the process of calculating the response coordinate position at the sending end, thereby reducing the amount of data sent to the receiving end and reducing the load on the receiving end, which can improve the efficiency of controlling the projection display effect of the receiving end.
[0082] In some embodiments, the sending end can display the control interface in full screen or partial screen. If it is full screen, the interface size of the receiving end is the size of its screen (graphical user interface). If it is partial projection, the interface size of the receiving end is the size of the partial screen (graphical user interface) that displays the projection data.
[0083] In some implementations, in order to provide a better screen projection experience, the sending end displays the control interface in full screen.
[0084] In some implementations, the screen projection control method further includes: obtaining the second interface size from the receiving end. For example, when the receiving end returns the control interface data, the second interface size of the receiving end may be returned at the same time.
[0085] In some implementations, after acquiring the touch coordinate position and conversion parameters, the transmitting end can send the touch coordinate position and conversion parameters to the receiving end, and the receiving end calculates the response coordinate position from the touch coordinate position and conversion parameters, and the receiving end controls the screen projection display effect based on the screen projection data based on the response coordinate position. In this way, the receiving end does not need to send the second interface size to the transmitting end in advance, which simplifies the sending and receiving process between the transmitting end and the receiving end and reduces the requirements for network transmission performance.
[0086] In some embodiments, the sending end can respond to a touch operation on the control interface, obtain the touch coordinate position and the first interface size and send them to the receiving end, and the receiving end reads the second interface size locally and calculates the conversion parameters. The receiving end then calculates the response coordinate position based on the touch coordinate position and the conversion parameters, and controls the screen display effect of the receiving end based on the projection data based on the response coordinate position.
[0087] The screen projection control scheme provided by the embodiment of the present application can be applied in various screen projection scenarios. For example, taking a mobile phone as the sending end, the screen projection data is sent to the receiving end, so that the receiving end performs screen projection display based on the screen projection data; the switching control corresponding to the control interface data of the receiving end is displayed in the graphical user interface of the sending end; in response to the triggering operation of the switching control, the control interface is displayed in the graphical user interface of the sending end based on the control interface data; in response to the interactive operation of the control interface, the sending end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0088] As can be seen from the above, in the process of the transmitting end sending the projection data to the receiving end for projection display in the embodiment of the present application, the transmitting end can display the switching control of the control interface data corresponding to the receiving end, and display the control interface of the receiving end at the transmitting end by triggering the switching control, so that the control interface displayed by the transmitting end can be used to control the projection display effect of the receiving end without switching the projection screen displayed by the receiving end. This method makes it possible that when the projection display effect is controlled based on the control interface, the display control interface will not be switched at the receiving end, and the projection content displayed by the receiving end will not be blocked, so as to avoid interrupting the user's immersive continuous use without affecting the original projection screen.
[0089] In this embodiment, a screen projection control method is provided, which is applied to a receiving end, such as Figure 2a As shown, the specific process of the screen projection control method can be as follows:
[0090] 210. Obtain the screen projection data sent by the sender, and perform screen projection display based on the screen projection data.
[0091] For example, after the receiving end obtains the projection data sent by the sending end, the receiving end can render and display the projection data on its screen for projection display.
[0092] In some embodiments, the receiving end can display the projection data (projected screen) in full screen or partial screen. If it is full screen, the interface size of the receiving end is the size of its screen (graphical user interface); if it is partial screen projection, the interface size of the receiving end is the size of the part of the screen (graphical user interface) that displays the projection data.
[0093] In some implementations, in order to provide a better screen projection experience, the receiving end displays the projection data in full screen.
[0094] In some embodiments, the receiving end may set the projection screen, i.e., the display screen of the projection data, to have the highest display priority, so that the projection data is displayed at the top of the graphical user interface of the sending end. For example, the receiving end may render the projection screen in the window with the highest priority and display it first. The window priority may be set by the system interface of the receiving end. For example, when the receiving end is an Android system, the highest priority is the DIALOG type.
[0095] In some embodiments, the receiving end may only obtain the projection data generated by the interface data of the initial projection interface with a projection mark displayed by the sending end, thereby only displaying the initial projection interface with a projection mark that is projected to the receiving end after the sending end filters according to the projection mark.
[0096] 220. When the sending end performs an interactive operation on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation.
[0097] The control interface is the interface displayed by the sending end based on the control interface data of the receiving end.
[0098] For example, the control parameter for adjusting the volume can be generated by the sending end through the touch operation of the volume control on the control interface, and sent to the receiving end. After receiving the instruction, the receiving end adjusts the volume of the projected screen it displays.
[0099] In some embodiments, when the sending end performs an interactive operation on the control interface, the receiving end can only obtain the target projection data generated by the interface data after filtering the interface to be filtered. The interface to be filtered includes at least one of the window corresponding to the switching control and the control interface. In this way, the window corresponding to the switching control and the control interface are not displayed on the receiving end.
[0100] In some embodiments, the interface to be filtered is a screen projection interface to be selected with a screen projection mark, so that the interface / control interface corresponding to the switching control and some other interfaces without a screen projection mark are not displayed on the receiving end. In this way, these interfaces can be filtered in the screen projection so that the receiving end does not display these interfaces, thereby not blocking the screen projection content displayed on the receiving end, and avoiding interrupting the user's immersive continuous use without affecting the original screen projection picture.
[0101] In some implementations, the screen projection control method further includes:
[0102] Send the control interface data of the receiving end to the sending end.
[0103] By sending the control interface data of the receiving end to the sending end, the graphical user interface of the sending end displays the switching control corresponding to the control interface data, and in response to the triggering operation of the switching control, the control interface is displayed on the graphical user interface of the sending end based on the control interface data.
[0104] In some implementations, based on the return mark preset by the receiving end, the interface data of the returned window interface to be projected can be quickly obtained to improve the efficiency and accuracy of sending control interface data. Specifically, the projection control method also includes:
[0105] Set the return flag on the receiver control interface of the receiver:
[0106] According to the return tag, the receiving end control interface is filtered from the selected return interfaces of the receiving end;
[0107] The control interface data of the control interface of the receiving end is sent to the sending end.
[0108] The receiving end control interface refers to the control interface displayed on the receiving end. In some implementations, since both the receiving end control interface and the control interface displayed on the transmitting end are displayed based on the control interface data, the display styles of the receiving end control interface and the control interface displayed on the transmitting end are consistent.
[0109] Among them, the return tag refers to a tag used to indicate whether to return to the sending end. It is understandable that during the screen projection process, the receiving end can return the window interface with the return tag, and not return the window interface without the return tag. For example, the return tag can be a custom tag of the window, such as tag, ptag, etc.
[0110] For example, the receiving end can render the projection screen in the window interface with the highest priority for full-screen display, that is, only the projection screen is visible in the receiving end, and other window interfaces are not visible. In order to quickly find the control interface to be transmitted back, the receiving end can pre-set the attribute value of the tag attribute of the control interface to be transmitted back to the value corresponding to the return tag to mark the window interface. In this way, when the receiving end receives the projection data for projection display, the receiving end can obtain the attribute value of the tag attribute of the window interface one by one. If the obtained attribute value is the value corresponding to the return tag, the interface data of the window interface corresponding to the attribute value is obtained, and the obtained interface data of the window interface with the return tag is sent to the sending end as the control interface data, so that other interfaces except the control interface can be filtered in the return, so that the receiving end does not display these interfaces. This form of adding a return tag allows the screen to be transmitted to be captured in a timely and automatic manner when the data stream is transmitted between the sending end and the receiving end.
[0111] In some embodiments, when the sending end performs a trigger operation on the switching control, the projection screen of the receiving end is paused. In this way, when the related operations of controlling the projection effect of the receiving end are performed on the sending end, the consistency of the projection content of the sending end and the receiving end is maintained. For example, when the sending end performs a trigger operation on the switching control, a pause instruction can be generated and sent to the receiving end. After receiving the instruction, the receiving end pauses the display of the projection screen, that is, maintains the currently displayed projection screen unchanged. For another example, if the picture (projected screen content) displayed locally on the sending end is content that changes over time, such as video and animation, the playback can be paused at the sending end to pause the projection screen of the receiving end.
[0112] In some implementations, when the sending end performs a trigger operation on the switching control, the control interface data may be transmitted back.
[0113] In some implementations, when the receiving end performs screen projection display based on the projection data, the control interface data can be immediately transmitted back so that the sending end can directly call the control interface data locally, thereby improving the efficiency of screen projection control.
[0114] In some implementations, a touch event based on the response position coordinates can be transmitted so that the control interface at the bottom layer can respond to the touch event to achieve the purpose of controlling the projection display effect. Specifically, the interactive operation includes a touch operation, and according to the interactive operation performed on the control interface at the sending end, the projection display effect based on the projection data is controlled, including:
[0115] When the sending end performs an interactive operation on the control interface, the receiving end generates a touch event based on the response position coordinates;
[0116] The touch event is transmitted from the projection screen displayed by the receiving end to the receiving end control interface of the receiving end, and the response result of the receiving end control interface to the touch event is obtained;
[0117] Adjust the screen projection display effect based on the response results.
[0118] The touch event is a click event, which refers to an event generated by clicking on a page. In the embodiment of the present application, the coordinates of the touch point of the generated touch event are the response position coordinates.
[0119] For example, when the sender is projecting the screen to the receiver, when the sender clicks the volume control of the control interface displayed on the sender, the communication module of the sender will send the specific coordinates (response coordinate position) to the receiver. After receiving the message, the communication module of the receiver calls the simulated click interface provided by the system to generate a click event (touch event). At this time, the click event will first be distributed to the window of the top-level projection screen displayed on the receiver. As long as the onTouch function provided by the system is rewritten and returns false, the click event can be passed to the window of the next layer, that is, the window of the control interface of the receiver. The OnTouch function is the callback function of the touch event listener, and its return value determines whether to use this event. In response to the click event, the window of the control interface generates an instruction to adjust the volume to adjust the volume of the projection screen displayed by it. If the click event is invalid, the projection display effect of the receiver will not be controlled.
[0120] In some embodiments, when obtaining the response coordinate position, the operation instruction of the interactive operation can be obtained at the same time. Before the touch event is transmitted from the projection screen displayed by the receiving end to the control interface of the receiving end, it can be determined according to the operation instruction whether to generate a touch event based on the response position coordinate, or whether to transmit the touch event from the projection screen displayed by the receiving end to the control interface of the receiving end. In this way, for invalid operation instructions, the processing flow can be terminated in time to save computing resources.
[0121] In some implementations, when the receiving end controls the screen projection display effect based on the screen projection data, the control result can be transmitted back to the receiving end in real time.
[0122] The screen projection control scheme provided in the embodiment of the present application can be applied in various screen projection scenarios. For example, taking a computer monitor as the receiving end, the screen projection data sent by the sending end is obtained, and the screen projection display is performed based on the screen projection data; when the sending end performs an interactive operation on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation, and the control interface is the interface displayed by the sending end based on the control interface data of the receiving end.
[0123] As can be seen from the above, in the process of the transmitting end sending the projection data to the receiving end for projection display in the embodiment of the present application, the transmitting end can display the switching control of the control interface data corresponding to the receiving end, and display the control interface of the receiving end at the transmitting end by triggering the switching control, so that the control interface displayed by the transmitting end can be used to control the projection display effect of the receiving end without switching the projection screen displayed by the receiving end. This method makes it possible that when the projection display effect is controlled based on the control interface, the display control interface will not be switched at the receiving end, and the projection content displayed by the receiving end will not be blocked, so as to avoid interrupting the user's immersive continuous use without affecting the original projection screen.
[0124] Specifically, in practical applications, Figure 2b The flowchart of the screen projection control method shown in the figure, the sending end can filter the interface window according to the screen projection mark of the window interface displayed by it, so as to obtain the interface data of the interface window with the screen projection mark to generate video stream data. The sending end projects the video stream data to the receiving end, and after receiving the data, the receiving end renders the projection screen in the window with the highest priority based on the data. The receiving end filters the interface window according to the return mark to obtain the control interface data of the control interface with the return mark, and returns the control interface data to the sending end. The sending end responds to the trigger operation of the switching control and displays the control interface in the window with the highest priority based on the received control interface data. The sending end responds to the interactive operation of the control interface, obtains the response position coordinates of the receiving end corresponding to the interactive operation, and generates a touch event with the response position coordinates, and the projection screen displayed by the receiving end is transmitted to the lower-level control interface. The control interface responds to the touch event and adjusts the projection display effect of the receiving end.
[0125] Obviously, the embodiment of the present application realizes that when the screen is projected to the receiving end, the original control interface of the receiving end can be controlled at the sending end, and the original projection screen of the receiving end will not be affected by the user. The page operation outside the projection screen of the receiving end is not affected, and the original continuous experience of the projection operation is maintained. In addition, the receiving end can be used to the maximum extent and resources can be fully utilized; for example, on a public display device, other users are projecting the screen, which makes the current user unable to operate. At this time, the receiving end of the display device can be connected and the original system operation screen can be returned to the sending end. The user can continue to use the display and will not occupy the projection screen in use. That is, the projection demonstration and background control are used at the same time, or when projecting the screen, the volume and brightness of the receiving end can be adjusted, new applications can be run, countdown, and program scheduling can be switched without interrupting the user's immersive continuous use experience.
[0126] In order to better implement the above method, the embodiment of the present application also provides a screen projection control device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0127] For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking the screen projection control device specifically integrated in the sending end device as an example.
[0128] For example, Figure 3 As shown, the screen projection control device may include a sending unit 310 and a display unit 320, as follows:
[0129] (I) Transmitting Unit 310
[0130] Used to send screen projection data to the receiving end so that the receiving end can perform screen projection display based on the screen projection data.
[0131] The sending unit 310 is also used to respond to interactive operations on the control interface. The sending end sends control parameters corresponding to the interactive operations to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0132] In some implementations, the sending unit 310 may also be configured to:
[0133] Filter the screen projection interfaces to be selected from the graphical user interface of the sending end to obtain the target screen projection data, where the screen projection interfaces to be filtered include at least one of the interface corresponding to the switching control and the control interface;
[0134] The target screen projection data is sent to the receiving end so that the receiving end can perform screen projection display based on the target screen projection data.
[0135] In some implementations, the interface to be filtered is a screen projection interface to be selected without a screen projection mark, and the sending unit 310 can also be used to:
[0136] Setting a screen projection mark for at least one screen projection interface to be selected displayed on the graphical user interface of the sending end;
[0137] In some implementations, filtering the screens to be filtered from the screens to be selected displayed on the graphical user interface of the sending end to obtain the target screen data includes:
[0138] Based on the screen projection mark, filter the to-be-filtered interfaces in the to-be-selected screen projection interface to obtain the target screen projection interface, where the target screen projection interface is the to-be-selected screen projection interface with the screen projection mark;
[0139] The target projection screen data is generated from the interface data of the target projection screen interface.
[0140] (ii) Display unit 320
[0141] Used to display the switching control corresponding to the control interface data of the receiving end in the graphical user interface of the sending end.
[0142] The display unit 320 is further configured to display a control interface on a graphical user interface of the sending end based on the control interface data in response to a triggering operation on the switching control.
[0143] In some implementations, the display unit 320 may be specifically used for:
[0144] In response to an interactive operation on the control interface, obtaining a control parameter corresponding to the interactive operation;
[0145] The sending end sends the control parameters to the receiving end so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0146] In some implementations, the interactive operation includes a touch operation, the control parameter includes a response coordinate position, and in response to the interactive operation on the control interface, obtaining the control parameter corresponding to the interactive operation includes:
[0147] In response to a touch operation on the control interface, a touch coordinate position and a conversion parameter of the touch operation are obtained, where the conversion parameter is calculated from a first interface size and a second interface size, where the first interface size is a size of a graphical user interface at a sending end, and the second interface size is a size of a graphical user interface at a receiving end;
[0148] Based on the touch coordinate position and the conversion parameters, the corresponding response coordinate position of the receiving end is calculated.
[0149] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0150] Therefore, when the embodiment of the present application controls the projection display effect based on the control interface, the display control interface will not be switched at the receiving end, nor will the projection content displayed at the receiving end be blocked, thereby avoiding interrupting the user's immersive continuous use without affecting the original projection screen.
[0151] In order to better implement the above method, the embodiment of the present application also provides a screen projection control device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0152] For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking the screen projection control device specifically integrated in the receiving end device as an example.
[0153] For example, Figure 4 As shown, the screen projection control device may include an acquisition unit 410 and a control unit 420, as follows:
[0154] (I) Acquisition Unit 410
[0155] Used to obtain the projection data sent by the sender and perform projection display based on the projection data.
[0156] (ii) Adjustment unit 420
[0157] When the sending end performs an interactive operation on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation. The control interface is the interface displayed by the sending end based on the control interface data of the receiving end.
[0158] In some implementations, the interactive operation includes a touch operation, the control parameter includes a response coordinate position, the response position coordinate is a position coordinate in a graphical user interface of the receiving end determined by the interactive operation, and the control unit 420 can be specifically used to:
[0159] When the sending end performs an interactive operation on the control interface, the receiving end generates a touch event based on the response position coordinates;
[0160] The touch event is transmitted from the projection screen displayed by the receiving end to the receiving end control interface of the receiving end, and the response result of the receiving end control interface to the touch event is obtained;
[0161] Adjust the screen projection display effect based on the response results.
[0162] The screen projection control device may further include a feedback unit, which may be specifically used for:
[0163] Set the return flag on the receiver control interface of the receiver:
[0164] According to the return tag, the receiving end control interface is filtered from the selected return interfaces of the receiving end;
[0165] The control interface data of the control interface of the receiving end is sent to the sending end.
[0166] In specific implementation, each of the above units can be implemented as an independent entity, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation of each of the above units can be found in the previous method embodiments, which will not be repeated here. Therefore, when the embodiment of the present application controls the projection display effect based on the control interface, the display control interface will not be switched at the receiving end, and the projection content displayed at the receiving end will not be blocked, so as to avoid interrupting the user's immersive continuous use without affecting the original projection screen.
[0167] Correspondingly, an embodiment of the present application also provides a computer device, which may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer, a personal digital assistant (PDA), or other terminal devices.
[0168] like Figure 5 As shown, Figure 5The schematic diagram of the structure of the computer device provided in the embodiment of the present application is that the computer device 500 includes a processor 510 having one or more processing cores, a memory 520 having one or more computer-readable storage media, and a computer program stored in the memory 520 and executable on the processor. The processor 510 is electrically connected to the memory 520. It can be understood by those skilled in the art that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0169] The processor 510 is the control center of the computer device 500. It uses various interfaces and lines to connect various parts of the entire computer device 500, executes various functions of the computer device 500 and processes data by running or loading software programs and / or modules stored in the memory 520, and calling data stored in the memory 520, thereby monitoring the computer device 500 as a whole.
[0170] In the embodiment of the present application, the processor 510 in the computer device 500 will load instructions corresponding to the processes of one or more application programs into the memory 520 according to the following steps, and the processor 510 will run the application programs stored in the memory 520 to implement various functions:
[0171] The projection data is sent to the receiving end so that the receiving end performs screen projection display based on the projection data; the switching control corresponding to the control interface data of the receiving end is displayed on the graphical user interface of the sending end; in response to the triggering operation of the switching control, the control interface is displayed on the graphical user interface of the sending end based on the control interface data; in response to the interactive operation on the control interface, the sending end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0172] Or, obtain the screen projection data sent by the sender, and perform screen projection display based on the screen projection data; when the sender performs interactive operations on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation, and the control interface is the interface displayed by the sender based on the control interface data of the receiving end.
[0173] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0174] Optional, such as Figure 5As shown, the computer device 500 further includes: a touch screen 530, a radio frequency circuit 540, an audio circuit 550, an input unit 560, and a power supply 570. The processor 510 is electrically connected to the touch screen 530, the radio frequency circuit 540, the audio circuit 550, the input unit 560, and the power supply 570, respectively. Those skilled in the art will appreciate that Figure 5 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0175] The touch display screen 530 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 530 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, which may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or accessory such as a finger, stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 510, and can receive the command sent by the processor 510 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of touch event, and then the processor 510 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 530 to realize the input and output functions. However, in some embodiments, the touch panel and the display panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 530 can also be used as a part of the input unit 560 to realize the input function.
[0176] The radio frequency circuit 540 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer device through wireless communication, and to send and receive signals between the network device or other computer device.
[0177] The audio circuit 550 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 550 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 550 and converted into audio data, and then the audio data is output to the processor 510 for processing, and then sent to another computer device through the radio frequency circuit 540, or the audio data is output to the memory 520 for further processing. The audio circuit 550 may also include an earphone jack to provide communication between an external headset and the computer device.
[0178] The input unit 560 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0179] The power supply 570 is used to supply power to various components of the computer device 500. Optionally, the power supply 570 can be logically connected to the processor 510 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 570 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0180] although Figure 5 Not shown, the computer device 500 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0181] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0182] From the above, it can be seen that when the computer device provided in this embodiment controls the screen projection display effect based on the control interface, the display control interface will not be switched at the receiving end, nor will the projection content displayed at the receiving end be blocked, thereby avoiding interrupting the user's immersive and continuous use without affecting the original projection screen.
[0183] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0184] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any one of the screen projection control methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:
[0185] The projection data is sent to the receiving end so that the receiving end performs screen projection display based on the projection data; the switching control corresponding to the control interface data of the receiving end is displayed on the graphical user interface of the sending end; in response to the triggering operation of the switching control, the control interface is displayed on the graphical user interface of the sending end based on the control interface data; in response to the interactive operation on the control interface, the sending end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters.
[0186] Or, obtain the screen projection data sent by the sender, and perform screen projection display based on the screen projection data; when the sender performs interactive operations on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation, and the control interface is the interface displayed by the sender based on the control interface data of the receiving end.
[0187] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0188] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0189] Since the computer program stored in the storage medium can execute the steps in any screen projection control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any screen projection control method provided in the embodiments of the present application can be achieved. Please see the previous embodiments for details and will not be repeated here.
[0190] The above is a detailed introduction to a screen projection control method, computer device and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A screen projection control method, It is characterized in that Applied to the sending end, the method includes: Sending the projection data to a receiving end, so that the receiving end performs projection display based on the projection data; Displaying, on the graphical user interface of the sending end, a switching control corresponding to the control interface data of the receiving end; In response to a triggering operation on the switching control, displaying a control interface on a graphical user interface of the sending end based on the control interface data; In response to an interactive operation on the control interface, the sending end sends a control parameter corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameter.
2. The screen projection control method according to claim 1, It is characterized in that In response to the interactive operation on the control interface, the sending end sends the control parameters corresponding to the interactive operation to the receiving end, so that the receiving end adjusts the screen projection display effect based on the control parameters, including: In response to an interactive operation on the control interface, obtaining a control parameter corresponding to the interactive operation; The sending end sends the control parameters to the receiving end so that the receiving end adjusts the screen projection display effect based on the control parameters.
3. The screen projection control method according to claim 2, It is characterized in that The interactive operation includes a touch operation, the control parameter includes a response coordinate position, and the obtaining of the control parameter corresponding to the interactive operation in response to the interactive operation on the control interface includes: In response to the touch operation on the control interface, acquiring a touch coordinate position and a conversion parameter of the touch operation, wherein the conversion parameter is calculated from a first interface size and a second interface size, wherein the first interface size is a size of a graphical user interface of the sending end, and the second interface size is a size of a graphical user interface of the receiving end; Based on the touch coordinate position and the conversion parameter, a response coordinate position corresponding to the receiving end is calculated.
4. The screen projection control method according to claim 1, It is characterized in that The method further comprises: Filtering the screen projection interfaces to be selected from the graphical user interface of the sending end to obtain target screen projection data, wherein the screen projection interfaces to be filtered include at least one of the interface corresponding to the switching control and the control interface; The target screen projection data is sent to the receiving end so that the receiving end performs screen projection display based on the target screen projection data.
5. The screen projection control method according to claim 4, It is characterized in that The to-be-filtered interface is the to-be-selected screen projection interface without a screen projection mark, and the method further includes: Setting a screen projection mark for at least one of the screen projection interfaces to be selected displayed on the graphical user interface of the sending end; The filtering of the screen projection interfaces to be selected from the screen projection interfaces displayed on the graphical user interface of the sending end to obtain the target screen projection data includes: Based on the screen projection mark, the to-be-filtered interfaces in the to-be-selected screen projection interfaces are filtered to obtain a target screen projection interface, where the target screen projection interface is the to-be-selected screen projection interface with the screen projection mark; The target screen projection data is generated from the interface data of the target screen projection interface.
6. A screen projection control method, It is characterized in that Applied to the receiving end, the method comprises: Obtain the projection data sent by the sender, and perform projection display based on the projection data; When the sending end performs an interactive operation on the control interface, the receiving end adjusts the screen projection display effect based on the control parameters corresponding to the interactive operation. The control interface is the interface displayed by the sending end based on the control interface data of the receiving end.
7. The screen projection control method according to claim 6, It is characterized in that The method further comprises: A return flag is set on the receiving end control interface of the receiving end: According to the feedback mark, filtering the receiving end control interface from the to-be-selected feedback interfaces of the receiving end; The control interface data of the receiving end control interface is sent to the sending end.
8. The screen projection control method according to claim 6, It is characterized in that The interactive operation includes a touch operation, the control parameter includes a response coordinate position, the response position coordinate is a position coordinate in a graphical user interface of the receiving end determined by the interactive operation, and when the sending end performs an interactive operation on the control interface, the receiving end adjusts the screen projection display effect based on the control parameter corresponding to the interactive operation, including: When the sending end performs an interactive operation on the control interface, the receiving end generates a touch event based on the response position coordinates; The touch event is transmitted from the projection screen displayed by the receiving end to the receiving end control interface of the receiving end, and a response result of the receiving end control interface to the touch event is obtained; Adjust the screen projection display effect based on the response result.
9. A computer device, It is characterized in that It includes a processor and a memory, wherein the memory stores multiple instructions; the processor loads instructions from the memory to execute the steps in the screen projection control method as described in any one of claims 1 to 8.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the screen projection control method described in any one of claims 1 to 8.
