Screen projection control method, screen projection device and storage medium

By determining the window parameter information of the screen projection window and the data stream to be projected when the screen projection mode is switched to the extended screen projection mode, the problem of poor user experience caused by a single screen projection solution in the existing technology is solved, and a variety of scenarios are realized The switching of screen projection modes and content expansion improve the user experience.

CN114489550BActive Publication Date: 2024-10-25SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210113752.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2024-10-25
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

The existing screencasting solution is single, resulting in poor user experience, limited supported applications and content, and the inability to use other functions during screencasting.

Method used

By determining the window parameter information of the screen projection window when the screen projection mode is switched to the extended screen projection mode, and determining the data stream to be projected based on the selection instructions and window parameter information input by the user, the expansion of the screen projection content is achieved and multiple types of screen projection content are supported. Switch scene projection mode.

Benefits of technology

Without affecting the use of other applications, it improves the user experience, enables switching of screen projection modes in multiple scenarios, and enhances the scalability and flexibility of screen projection content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114489550B_ABST
    Figure CN114489550B_ABST
Patent Text Reader

Abstract

The present invention discloses a screen projection control method, a screen projector and a storage medium. The present invention determines the window parameter information of the screen projection window of the first device when the current screen projection mode is switched to the extended screen projection mode, wherein the screen projection window is a window independent of the display window of the first device; determines the screen projection data stream corresponding to the screen projection window based on the selection instruction and window parameter information input by the user; and transmits the screen projection data stream to the display device. Since the present invention realizes the expansion of the screen projection content by creating a screen projection window, compared with the single traditional screen projection method in the prior art, which leads to poor user experience, the present invention realizes the switching of screen projection modes in multiple scenarios without affecting the use of other applications, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of screen projection, and in particular to a screen projection control method, a screen projector and a storage medium. Background Art

[0002] In order to enjoy a better audio-visual experience and share with family and friends, the demand for screen projection is becoming more and more popular. The existing screen projection solutions usually make the mobile phone content and the screen projection content completely consistent, which will cause the mobile phone to be unable to use other functions when the screen is projected. There is no solution to the above problems in the existing technology, or only some video / music / picture playback applications can be implemented through DLNA. This solution has several defects: 1. Limited support for applications, 2. Limited support for content, only some videos / music / pictures, which leads to a poor user experience.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a screen projection control method, a screen projector and a storage medium, aiming to solve the technical problem in the prior art that the traditional screen projection method is single and leads to poor user experience.

[0005] To achieve the above object, the present invention provides a screen projection control method, which comprises the following steps:

[0006] When the current screen projection mode is switched to the extended screen projection mode, determining window parameter information of a screen projection window of the first device, where the screen projection window is a window independent of a display window of the first device;

[0007] Determine the screen data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information;

[0008] The screen projection data stream is transmitted to the display device.

[0009] Optionally, when the current projection mode is switched to the extended projection mode, the step of determining the window parameter information of the projection window of the first device, wherein the projection window is a window independent of the display window of the first device, includes:

[0010] When the current screen projection mode is switched to the extended screen projection mode, obtaining a window mode selection instruction input by the user based on the first device;

[0011] Determine a stack boundary size of the screen projection window of the first device according to the window mode selection instruction;

[0012] The window parameter information corresponding to the screen projection window is determined according to the stack boundary size.

[0013] Optionally, the step of determining the screen projection data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information includes:

[0014] Determine the identifier of the application to be projected based on the selection instruction input by the user, and monitor the window touch event triggered by the user based on the first device in real time;

[0015] Determining a window focus signal corresponding to the first device according to the window touch event;

[0016] The screen data stream to be projected corresponding to the screen projection window is determined according to the screen projection application identifier, the window focus signal and the window parameter information.

[0017] Optionally, the step of determining a window focus signal corresponding to the first device according to the window touch event includes:

[0018] Acquire touch coordinate position information from the window touch event;

[0019] A window focus signal corresponding to the first device is determined according to the touch coordinate position information.

[0020] Optionally, the step of determining the screen data stream to be projected corresponding to the screen projection window according to the screen projection application identifier, the window focus signal and the window parameter information includes:

[0021] Determining whether the window focus signal triggered by the user is in a preset area of ​​the projection window according to the touch coordinate position information and the window parameter information;

[0022] When the window focus signal is in the preset area of ​​the projection window, determining the projection window adjustment information according to the window focus signal;

[0023] Determine the screen data stream to be projected corresponding to the screen projection window according to the screen projection application identifier, the screen projection window adjustment information and the parameter information.

[0024] Optionally, after the step of transmitting the screen projection data stream to the display device, the method further includes:

[0025] receiving a first control instruction sent by a second device, and forwarding the first control instruction to the display device;

[0026] generating a floating control in the display window according to the first control instruction, and determining whether the floating control is in a preset area to be clicked by a user in the display window of the first device;

[0027] When the floating control is in the preset area, the coordinates of the floating control on the display device are converted into coordinates corresponding to the first device, and the first device is reversely controlled according to the coordinates corresponding to the first device.

[0028] Optionally, when the floating control is in the preset area, after the step of converting the coordinates of the floating control on the display device into coordinates corresponding to the first device, and reversely controlling the first device according to the coordinates corresponding to the first device, the method further includes:

[0029] When the floating control is not in the preset area and the control time exceeds the preset time, the display device is controlled to exit the reverse control mode of the first device.

[0030] In addition, to achieve the above-mentioned purpose, the present invention also proposes a screen projector, which includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first device, the screen projection receiver is used to connect to a display device, and the screen projection transmitting component and the screen projection receiving component transmit data through a wireless network; the screen projector also includes: a memory, a processor, and a screen projection control program stored in the memory and runnable on the processor, and the screen projection control program is configured to implement the steps of screen projection control as described above.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a screen projection control program is stored, and when the screen projection control program is executed by a processor, the steps of the screen projection control method described above are implemented.

[0032] In addition, to achieve the above-mentioned purpose, the present invention further provides a screen projector, the screen projector comprising:

[0033] A parameter determination module, used to determine the window parameter information of the screen projection window of the first device when the current screen projection mode is switched to the extended screen projection mode, wherein the screen projection window is a window independent of the display window of the first device;

[0034] A data determination module, used to determine the screen projection data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information;

[0035] The data transmission module is used to transmit the data stream to be projected to the display device.

[0036] The present invention determines the window parameter information of the projection window of the first device when the current projection mode is switched to the extended projection mode, wherein the projection window is a window independent of the display window of the first device; determines the screen data stream to be projected corresponding to the projection window based on the selection instruction input by the user and the window parameter information; and transmits the screen data stream to be projected to the display device. Since the present invention achieves the expansion of the projection content by creating a projection window, compared with the single traditional projection method in the prior art, which leads to poor user experience, the present invention achieves switching of projection modes in multiple scenarios without affecting the use of other applications, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of a screen projection control scenario according to an embodiment of a screen projection control method of the present invention;

[0038] Figure 2 It is a schematic diagram of the internal structure involved in the embodiment of the present invention;

[0039] Figure 3 This is a flow chart of the first embodiment of the screen projection control method of the present invention;

[0040] Figure 4 This is a schematic diagram of the extended screen projection implementation effect of the first embodiment of the screen projection control method of the present invention;

[0041] Figure 5 This is a flow chart of a second embodiment of the screen projection control method of the present invention;

[0042] Figure 6 This is a schematic diagram of an extended screen projection implementation framework of the second embodiment of the screen projection control method of the present invention;

[0043] Figure 7 This is a schematic diagram of the extended screen projection implementation process of the second embodiment of the screen projection control method of the present invention;

[0044] Figure 8 This is a flow chart of a third embodiment of the screen projection control method of the present invention;

[0045] Fig. 9 This is a structural block diagram of the first embodiment of the screen projector of the present invention.

[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0048] Reference Figure 1 , Figure 1A schematic diagram of a screen projection control scenario according to an embodiment of a screen projection control method of the present invention;

[0049] like Figure 1 As shown, the screen projector includes: a screen projection transmitter and a screen projection receiver, wherein the first device can be a personal computer, or a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, a portable computer, etc., and the display device can be a TV, or a display device with display function such as a monitor or a projector.

[0050] In some embodiments, the first device is connected to the projection transmitter or the projection receiver through a wired or wireless network for data transmission and interaction; the projection transmitter is connected to the projection receiver through a wireless network for data transmission and interaction, or the projection transmitter is connected to the display device through a wireless network for data transmission and interaction; the projection receiver is connected to the display device through a wired or wireless network for data transmission and interaction. In an optional implementation, the wired connection between the projection receiver and the display device and between the projection transmitter and the first device may include wired connections based on HDMI (High Definition Multimedia Interface), USB (Universal Serial Bus), DP (DisplayPort) and VGA (Video Graphics Array). The wireless communication between the first device and the projection transmitter and the projection receiver, and between the display device and the projection transmitter and the projection receiver may include wireless communications such as Bluetooth, wireless broadband (Wi-Fi), and infrared communication.

[0051] Therefore, the possible connection modes for implementing screen projection between the first device, the screen projection transmitter, the screen projection receiver and the display device include at least:

[0052] (1) The projection transmitter is connected to the projection receiver, and the projection window image of the first device is finally projected to the display device through the projection transmitter and the projection receiver;

[0053] (2) The projection transmitter is wirelessly connected to the display device, and the projection window image of the first device is projected to the display device through the projection transmitter. At this time, the projection transmitter is connected to the built-in wireless communication module of the display device through a wireless network;

[0054] The first device is connected to the screen projection receiver, and the screen projection window image of the first device is projected to the display device through the screen projection receiver.

[0055] Reference Figure 2 , Figure 2 It is a schematic diagram of the internal structure involved in the embodiment of the present invention.

[0056] like Figure 2 As shown, the screen projector also includes: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a network interface 1003, and a memory 1004. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The network interface 1003 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1004 can be a high-speed random access memory (Random Access Memory, RAM) memory, or it can be a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1004 can also be a storage device independent of the aforementioned processor 1001.

[0057] Those skilled in the art will understand that Figure 2 The structure shown in the figure does not constitute a limitation of the screen projector, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0058] like Figure 2 As shown, the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and a screen projection control program.

[0059] exist Figure 2 In the running device shown, the network interface 1003 is mainly used for data communication with other devices. The processor 1001 and the memory 1004 in the running device of the present invention can be set in the running device, and the running device calls the screen projection control program stored in the memory 1004 through the processor 1001, and executes the screen projection control method provided by the embodiment of the present invention.

[0060] Based on the above hardware structure, an embodiment of the screen projection control method of the present invention is proposed.

[0061] Reference Figure 3 , Figure 3 The figure is a flow chart of the first embodiment of the screen projection control method of the present invention, and the first embodiment of the screen projection control method of the present invention is proposed.

[0062] In this embodiment, the screen projection control method includes the following steps:

[0063] Step S10: When the current screen projection mode is switched to the extended screen projection mode, the window parameter information of the screen projection window of the first device is determined, and the screen projection window is a window independent of the display window of the first device.

[0064] It should be noted that the executor of this embodiment may be a screen projector, which may be a mobile terminal, a device with a display function, or a device connected to a mobile terminal and a display device. The screen projector may be a mobile phone, a network set-top box, a TV, a projector, etc. It may also be other screen projection devices that can achieve the same or similar functions. This embodiment does not limit this. The above-mentioned screen projector will be used as an example to illustrate this embodiment and the following embodiments. Among them, the screen projection window is a window independent of the display window of the first device. For further explanation, please refer to Figure 4 Schematic diagram of the extended screen projection effect.

[0065] It is understandable that when users use the screen projection device to project the screen, a screen projection mode selection will be added, allowing users to choose mirror projection or extended projection. When the extended projection mode is selected, there are multiple modes to switch, not limited to mirror projection and extended projection mode. The extended projection mode can refer to a projection mode in which the user can control the projection window and the projection content during the projection.

[0066] It should be understood that the first device may refer to a device with a screen projection function connected to the screen projection device, such as a smart phone, a notebook, a pad, etc. The first device and the screen projection device may be connected via communication methods such as Bluetooth, WLAN, and LIFI, and this embodiment does not impose specific restrictions on this. The window parameter information refers to the parameter information such as the window size and position coordinates corresponding to the screen projection window.

[0067] In the specific implementation, when the user uses a mobile phone to project the screen, he can select the current projection mode to switch to the extended projection mode through the mobile phone. When the screen projector recognizes that the current projection mode has switched to the extended projection mode, it determines the window size, position coordinates and other parameter information corresponding to the projection window on the mobile phone display window based on the signal data sent by the mobile phone.

[0068] Furthermore, the step S10 includes: when the current projection mode is switched to the extended projection mode, obtaining a window mode selection instruction input by the user based on the first device; determining the stack boundary size of the projection window of the first device according to the window mode selection instruction; and determining the window parameter information corresponding to the projection window according to the stack boundary size.

[0069] It should be noted that the window mode selection instruction refers to the selection instruction of the horizontal or vertical screen mode input by the user based on the first device. When the first device recognizes the selection instruction input by the user, the first device will set the stack boundary size of the vertical or horizontal screen mode to determine the width and height size information corresponding to the projection window, and determine the window width and height size information corresponding to the projection window according to the stack boundary size of the projection window sent by the first device. The window parameter information is not limited to the window width and height size information.

[0070] It should be understood that the stack border size can be set according to actual conditions, and the user can manually adjust the stack border size of the projection window.

[0071] Step S20: Determine the screen data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information.

[0072] It should be noted that the selection instruction input by the user may refer to an instruction for the user to select the application to be projected, or it may be an instruction generated when the user drags the identifier of the application to be projected from the display window of the first device into the projection window.

[0073] It can be understood that the data stream to be projected is a projection data stream synthesized from the video stream and audio stream of the projection window and the window parameter information corresponding to the projection window, so as to ensure that the stack boundary size of the projection window is adjusted while controlling the transmission of the projection data stream without pausing the projection data stream.

[0074] In a specific implementation, the user can drag the application to be projected on the first device to the projection window to ensure that the projection content is displayed in the projection window, and adjust the projection window through the window parameter information so that the display device can accurately display the projection window content.

[0075] Step S30: Transmit the screen projection data stream to the display device.

[0076] It should be noted that the screen projection data stream can be sent to the display device via wireless or wired transmission. The display device can be a TV, a monitor, or other devices that support video input.

[0077] This embodiment determines the window parameter information of the projection window of the first device when the current projection mode is switched to the extended projection mode, wherein the projection window is a window independent of the display window of the first device; determines the data stream to be projected corresponding to the projection window based on the selection instruction input by the user and the window parameter information; and transmits the data stream to be projected to the display device. Since this embodiment achieves the expansion of the projection content by creating a projection window, compared with the single traditional projection method in the prior art, which leads to a poor user experience, this embodiment achieves switching of projection modes in multiple scenarios without affecting the use of other applications, thereby improving the user experience.

[0078] Reference Figure 5 , Figure 5 This is a flow chart of the second embodiment of the screen projection control method of the present invention. Figure 3 The first embodiment shown proposes a second embodiment of the screen projection control method of the present invention.

[0079] In this embodiment, the step S20 includes:

[0080] Step S201: Determine the identifier of the application to be projected based on the selection instruction input by the user, and monitor the window touch events triggered by the user based on the first device in real time.

[0081] It should be noted that the window touch event refers to the touch event registered after the user turns on the screen projection and selects the projection window mode, so as to facilitate real-time monitoring of the window touch event triggered by the user based on the first device after the user selects the application to be projected.

[0082] It is understandable that the application identifier to be projected is determined through the selection instruction input by the user, and the application video stream and audio stream corresponding to the application identifier to be projected are extracted according to the application management module to facilitate subsequent data transmission.

[0083] In a specific implementation, the accuracy of subsequent data transmission is improved by identifying the application identifier corresponding to the user-selected instruction.

[0084] Step S202: determining a window focus signal corresponding to the first device according to the window touch event.

[0085] It should be noted that the projection window and the display window are controlled by the application management module and the focus control module to ensure that the application only exists in one of the windows. The application can be dragged from the display window to the projection window, and from the projection window back to the display window. Among them, the window focus control is similar to the multi-tasking window. When the projection window area is touched, the projection window obtains the focus and the projection content can be controlled. When the display window area is touched, the focus returns to the mobile phone window. For further explanation, please refer to Figure 6 Schematic diagram of the extended screen projection implementation framework, in which a mobile phone is used as an example of the first device. The focus of the mobile phone window projection window is controlled through the mobile phone application management module and the projection application management module, so as to convert the video stream and audio stream into a projection data stream, and transmit the projection data stream to the display device. When the focus control module recognizes that the projection window has no focus, it automatically shrinks the projection window for a period of time and only retains the projection prompt. The next time you touch the projection prompt, the projection window will be automatically expanded.

[0086] It is understandable that when the user opens the projection application based on the first device, the touch event monitor is registered, and the signal generated by the user's touch based on the first device is monitored through the mobile phone focus control module and the projection focus control module, for example: the signal generated when the user drags the application logo to be projected to the projection window, or the signal generated when the user switches windows, or the signal generated when the user zooms the projection window.

[0087] Step S203: Determine the screen data stream to be projected corresponding to the screen projection window according to the screen projection application identifier, the window focus signal and the window parameter information.

[0088] It should be noted that whether the user performs operations such as zooming and switching the projection window is determined based on the window focus signal, so as to facilitate adjustment of the projection window when the audio / video of the application to be projected is paused.

[0089] Further, the step S202 includes: acquiring touch coordinate position information from the window touch event; and determining a window focus signal corresponding to the first device according to the touch coordinate position information.

[0090] It should be noted that the touch position coordinate information refers to the coordinate position information generated when the user touches the first device. The touch coordinate position information can be used to determine the user's operation information on the first device, thereby converting the coordinate position information into a window focus signal to improve the accuracy of identifying the user when operating the projection window.

[0091] Further, the step S203: determines whether the window focus signal triggered by the user is in the preset area of ​​the projection window according to the touch coordinate position information and the window parameter information; when the window focus signal is in the preset area of ​​the projection window, determines the projection window adjustment information according to the window focus signal; determines the projection data stream corresponding to the projection window according to the application identifier to be projected, the projection window adjustment information and the parameter information.

[0092] It should be noted that the preset area of ​​the projection window refers to the pre-set pixel area outside the boundary of the projection window stack. The area can be set according to user habits to facilitate the identification of user touch habits. For example, when the user needs to operate the projection window, he needs to touch the projection window area. Since not every user can accurately touch the projection window area, it is necessary to pre-set the pixel area outside the boundary of the projection window stack to improve the accuracy of user touch recognition and avoid users being unable to use the projection application normally due to inaccurate operations.

[0093] It is understandable that when the user adjusts the projection window, the stack boundary size will also change. Therefore, it is necessary to determine whether the window focus signal triggered by the user is in the preset area of ​​the projection window through the touch coordinate position information and window parameter information.

[0094] It should be understood that when the window focus signal is in the preset area of ​​the projection window, the projection window is adjusted according to the recognized window focus signal. For example, when it is recognized that the window focus signal is to scale the projection window, the scaling adjustment information is converted into a projection data stream so that the display device can be adjusted in time to improve the user experience.

[0095] For specific implementation, please refer to Figure 7 Schematic diagram of the extended screen projection implementation process. When the mobile phone starts to project the screen, first confirm whether to enter the extended screen projection mode. If it is "No", the traditional mirror projection is used; if "Yes" is selected, the user is prompted to select the portrait mode or the landscape mode. When the user selects the portrait mode or the landscape mode, the mobile phone will set the stack boundary size of the portrait mode or the landscape mode, and then create a free window stack Freeform Stack according to the stack boundary size. At this time, the application management module has been created, and the user's screen projection application can be moved from the original mobile phone window from the FullScreenStack to the Freeform Stack through the moveTaskToStack method, and vice versa; then, register the touch event listener, and obtain the Stack where the focus is located by judging the touch coordinate position and the stack boundary size, so as to switch the focus between the mobile phone window and the projection window, and scale the projection window. At this time, the content of the projection window can be independent of the mobile phone window, and the user can switch and control it. Finally, the audio / video data stream of the projection window is projected to the projected device to complete the projection process.

[0096] This embodiment determines the window parameter information of the projection window of the first device when the current projection mode is switched to the extended projection mode. The projection window is a window independent of the display window of the first device. The projection application identifier is determined based on the selection instruction input by the user, and the window touch event triggered by the user based on the first device is monitored in real time; the window focus signal corresponding to the first device is determined according to the window touch event; the projection data stream corresponding to the projection window is determined according to the projection application identifier, the window focus signal and the window parameter information, and the projection data stream is transmitted to the display device. Since this embodiment achieves the expansion of the projection content by creating a projection window, compared with the single traditional projection method in the prior art, which leads to poor user experience, this embodiment achieves switching of projection modes in multiple scenarios without affecting the use of other applications, thereby improving the user experience.

[0097] Reference Figure 8 , Figure 8 The flowchart of the third embodiment of the screen projection control method of the present invention is based on the above Figure 3 The first embodiment shown proposes a third embodiment of the screen projection control method of the present invention.

[0098] In this embodiment, step S40: receiving a first control instruction sent by the second device, and forwarding the first control instruction to the display device.

[0099] It should be noted that the second device may be a device connected to the display device, such as a remote controller, and the first control instruction may refer to a control instruction issued by the second device.

[0100] Step S50: Generate a floating control in the display window according to the first control instruction, and determine whether the floating control is in a preset area to be clicked by the user in the display window of the first device.

[0101] It should be noted that the floating control refers to a control identifier that appears on the display device, which is mainly used to reversely control the first device and determine the area to be clicked by the user based on the position of the floating control on the projection window on the display device.

[0102] It is understandable that the preset area to be clicked by the user may refer to a pre-set area on the projection window that the user needs to click. For example, when the projection window is playing a video, the video can be paused by placing a floating control at the position of the pause button on the projection window.

[0103] Step S60: When the floating control is in the preset area, the coordinates of the floating control on the display device are converted into coordinates corresponding to the first device, and the first device is reversely controlled according to the coordinates corresponding to the first device.

[0104] It should be noted that the floating control is a control that appears on the display device. When the floating control is in the area on the display device that the user needs to click, the coordinates corresponding to the floating control on the display device are converted into coordinates corresponding to the first device, and the first device is reversely controlled according to the coordinates corresponding to the first device.

[0105] In a specific implementation, when a user uses a screen projector to play a video and needs to pause the video, a floating control can be generated through a control instruction issued by the second device, and the floating control can be moved to the pause key position in the projected screen on the display device, and the coordinates of the pause key position of the floating control on the display device are converted into coordinates corresponding to the first device, thereby realizing reverse control of the first device according to the coordinates corresponding to the first device to pause the video.

[0106] Furthermore, after step S60, the method further includes: when the floating control is not in the preset area and the control time exceeds a preset time, controlling the display device to exit the reverse control mode of the first device.

[0107] It should be noted that when the floating control is not in the preset area and the control duration exceeds the preset control recognition duration, it is determined that the user does not need to control and thus exits the anti-control mode.

[0108] This embodiment determines the window parameter information of the projection window of the first device when the current projection mode is switched to the extended projection mode, and the projection window is a window independent of the display window of the first device; determines the screen data stream to be projected corresponding to the projection window based on the selection instruction and window parameter information input by the user; and transmits the screen data stream to be projected to the display device. Receive the first control instruction sent by the second device, and forward the first control instruction to the display device; generate a floating control in the display window according to the first control instruction, and determine whether the floating control is in the preset area to be clicked by the user in the display window of the first device; when the floating control is in the preset area, convert the coordinates corresponding to the floating control in the display device into the coordinates corresponding to the first device, and reverse control the first device according to the coordinates corresponding to the first device. Since this embodiment realizes the expansion of the projection content by creating a projection window and adds a reverse control mode, compared with the single traditional projection method in the prior art, which leads to poor user experience, this embodiment realizes the switching of projection modes in multiple scenarios without affecting the use of other applications, thereby improving the user experience.

[0109] In addition, to achieve the above-mentioned purpose, the present invention also proposes a screen projector, which includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first device, the screen projection receiver is used to connect to a display device, and the screen projection transmitting component and the screen projection receiving component transmit data through a wireless network; the screen projector also includes: a memory, a processor, and a screen projection control program stored in the memory and runnable on the processor, and the screen projection control program is configured to implement the steps of screen projection control as described above.

[0110] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a screen projection control program is stored, and when the screen projection control program is executed by a processor, the steps of the screen projection control method described above are implemented.

[0111] Reference Fig. 9 , Fig. 9 This is a structural block diagram of the first embodiment of the screen projector of the present invention.

[0112] like Fig. 9 As shown, the screen projection device provided in the embodiment of the present invention includes:

[0113] A parameter determination module 10, used to determine window parameter information of a screen projection window of the first device when the current screen projection mode is switched to the extended screen projection mode, wherein the screen projection window is a window independent of the display window of the first device;

[0114] A data determination module 20, configured to determine a screen projection data stream corresponding to the projection window based on a selection instruction input by a user and the window parameter information;

[0115] The data transmission module 30 is used to transmit the data stream to be projected to the display device.

[0116] This embodiment determines the window parameter information of the projection window of the first device when the current projection mode is switched to the extended projection mode, wherein the projection window is a window independent of the display window of the first device; determines the data stream to be projected corresponding to the projection window based on the selection instruction input by the user and the window parameter information; and transmits the data stream to be projected to the display device. Since this embodiment achieves the expansion of the projection content by creating a projection window, compared with the single traditional projection method in the prior art, which leads to a poor user experience, this embodiment achieves switching of projection modes in multiple scenarios without affecting the use of other applications, thereby improving the user experience.

[0117] Furthermore, the parameter determination module 10 is also used to obtain a window mode selection instruction input by the user based on the first device when the current projection mode is switched to the extended projection mode; determine the stack boundary size of the projection window of the first device according to the window mode selection instruction; and determine the window parameter information corresponding to the projection window according to the stack boundary size.

[0118] Furthermore, the data determination module 20 is also used to determine the application identifier to be projected based on the selection instruction input by the user, and to monitor in real time the window touch event triggered by the user based on the first device; determine the window focus signal corresponding to the first device according to the window touch event; determine the data stream to be projected corresponding to the projection window according to the application identifier to be projected, the window focus signal and the window parameter information.

[0119] Furthermore, the data determination module 20 is further configured to obtain touch coordinate position information from the window touch event; and determine a window focus signal corresponding to the first device according to the touch coordinate position information.

[0120] Furthermore, the data determination module 20 is also used to determine whether the window focus signal triggered by the user is in the preset area of ​​the projection window based on the touch coordinate position information and the window parameter information; when the window focus signal is in the preset area of ​​the projection window, determine the projection window adjustment information based on the window focus signal; and determine the projection data stream corresponding to the projection window based on the application identifier to be projected, the projection window adjustment information and the parameter information.

[0121] Furthermore, the screen projector also includes: a reverse control module, which is used to receive a first control instruction sent by a second device and forward the first control instruction to the display device; generate a floating control in the display window according to the first control instruction, and determine whether the floating control is in a preset area to be clicked by the user in the display window of the first device; when the floating control is in the preset area, convert the coordinates of the floating control corresponding to the display device into coordinates corresponding to the first device, and reverse control the first device according to the coordinates corresponding to the first device.

[0122] Furthermore, the reverse control module is also used to control the display device to exit the reverse control mode of the first device when the floating control is not in the preset area and the control time exceeds a preset time.

[0123] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0124] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0125] In addition, for technical details that are not described in detail in this embodiment, please refer to the screen projection control method provided in any embodiment of the present invention, and will not be repeated here.

[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0127] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as names.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0129] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A screen projection control method, It is characterized in that The screen projection control method comprises the following steps: When the current screen projection mode is switched to the extended screen projection mode, determining window parameter information of a screen projection window of the first device, where the screen projection window is a window independent of a display window of the first device; Determine the screen data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information; Transmitting the screen projection data stream to a display device; The step of determining the window parameter information of the screen projection window of the first device when the current screen projection mode is switched to the extended screen projection mode, wherein the screen projection window is a window independent of the display window of the first device, comprises: When the current screen projection mode is switched to the extended screen projection mode, obtaining a window mode selection instruction input by the user based on the first device; Determine a stack boundary size of the screen projection window of the first device according to the window mode selection instruction; Determine window parameter information corresponding to the screen projection window according to the stack boundary size; After the step of transmitting the screen projection data stream to the display device, the method further includes: receiving a first control instruction sent by a second device, and forwarding the first control instruction to the display device; generating a floating control in the display window according to the first control instruction, and determining whether the floating control is in a preset area to be clicked by a user in the display window of the first device; When the floating control is in the preset area, the coordinates of the floating control on the display device are converted into coordinates corresponding to the first device, and the first device is reversely controlled according to the coordinates corresponding to the first device.

2. The screen projection control method according to claim 1, It is characterized in that The step of determining the screen projection data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information includes: Determine the identifier of the application to be projected based on the selection instruction input by the user, and monitor the window touch event triggered by the user based on the first device in real time; Determining a window focus signal corresponding to the first device according to the window touch event; The screen data stream to be projected corresponding to the screen projection window is determined according to the screen projection application identifier, the window focus signal and the window parameter information.

3. The screen projection control method according to claim 2, It is characterized in that The step of determining a window focus signal corresponding to the first device according to the window touch event comprises: Acquire touch coordinate position information from the window touch event; A window focus signal corresponding to the first device is determined according to the touch coordinate position information.

4. The screen projection control method according to claim 3, It is characterized in that The step of determining the screen data stream to be projected corresponding to the screen projection window according to the screen projection application identifier, the window focus signal and the window parameter information includes: Determining whether the window focus signal triggered by the user is in a preset area of ​​the projection window according to the touch coordinate position information and the window parameter information; When the window focus signal is in the preset area of ​​the projection window, determining the projection window adjustment information according to the window focus signal; Determine the screen data stream to be projected corresponding to the screen projection window according to the screen projection application identifier, the screen projection window adjustment information and the parameter information.

5. The screen projection control method according to claim 1, It is characterized in that After the step of converting the coordinates of the floating control corresponding to the display device into coordinates corresponding to the first device when the floating control is in the preset area, and reversely controlling the first device according to the coordinates corresponding to the first device, the method further includes: When the floating control is not in the preset area and the control time exceeds the preset time, the display device is controlled to exit the reverse control mode of the first device.

6. A screen projector, It is characterized in that The screen projector includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first device, the screen projection receiver is used to connect to a display device, and the screen projection transmitting component and the screen projection receiving component perform data transmission via a wireless network; the screen projector also includes: a memory, a processor, and a screen projection control program stored in the memory and executable on the processor, and when the screen projection control program is executed by the processor, it implements the screen projection control method described in any one of claims 1 to 5.

7. A storage medium, It is characterized in that The storage medium stores a screen projection control program, and when the screen projection control program is executed by the processor, the screen projection control method according to any one of claims 1 to 5 is implemented.

8. A screen projector, It is characterized in that The screen projector comprises: A parameter determination module, used to determine the window parameter information of the screen projection window of the first device when the current screen projection mode is switched to the extended screen projection mode, wherein the screen projection window is a window independent of the display window of the first device; A data determination module, used to determine the screen projection data stream to be projected corresponding to the screen projection window based on the selection instruction input by the user and the window parameter information; A data transmission module, used for transmitting the screen projection data stream to a display device; The step of determining the window parameter information of the screen projection window of the first device when the current screen projection mode is switched to the extended screen projection mode, wherein the screen projection window is a window independent of the display window of the first device, comprises: When the current screen projection mode is switched to the extended screen projection mode, obtaining a window mode selection instruction input by the user based on the first device; Determine a stack boundary size of the screen projection window of the first device according to the window mode selection instruction; Determine window parameter information corresponding to the screen projection window according to the stack boundary size; After the step of transmitting the screen projection data stream to the display device, the method further includes: receiving a first control instruction sent by a second device, and forwarding the first control instruction to the display device; generating a floating control in the display window according to the first control instruction, and determining whether the floating control is in a preset area to be clicked by a user in the display window of the first device; When the floating control is in the preset area, the coordinates of the floating control on the display device are converted into coordinates corresponding to the first device, and the first device is reversely controlled according to the coordinates corresponding to the first device.