A wireless screen projection control method and system, and a wireless screen projection device
By introducing an exclusive mechanism into the display device to detect the maximum number of connected and supported screen-casting devices, the problem of unstable screen-casting quality is solved, and the transmission rate and stability during the screen-casting process are improved.
Patent Information
- Application Number
- CN202210609293.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Existing screen mirroring methods can lead to unstable screen mirroring quality when the projector is connected to the device to be mirrored as a hotspot, as other devices can affect the mirroring quality.
By introducing an exclusive mechanism, the display device detects the number of connected projection devices and the maximum number of supported connected devices, and decides whether to establish a Wi-Fi connection with the terminal to be added to the network, preventing redundant terminals from affecting the projection quality.
It effectively prevents the impact of extra terminals on the screen projection quality, improves the transmission rate and stability during the screen projection process, and ensures the screen projection quality.
Smart Images

Figure CN117201750B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless screen projection technology, specifically to a wireless screen projection control method, system, and device. Background Technology
[0002] With the rapid development of internet technology, wireless screen mirroring technology has been widely used. Simply put, wireless screen mirroring is projecting content from one screen to another. Currently, the most commonly used wireless screen mirroring protocols are AirPlay, DNLA, and Miracast. AirPlay is a wireless technology developed by Apple, primarily used to support iOS devices, including iPhones, iPads, and MacBooks, to transmit images, audio, and video to AirPlay-compatible display devices via Wi-Fi. DNLA was established by Sony, Intel, Microsoft, and others. Miracast is a wireless display standard based on Wi-Fi Direct, developed by the Wi-Fi Alliance in 2012. Screen mirroring modes can be divided into push mode and mirror mode. In push mode, the phone can be turned off after mirroring, but the TV will not stop playing. Mirror mode mirrors the phone screen or the computer screen, i.e., displaying the same screen.
[0003] When projecting content, if the projector itself acts as a hotspot connected to the device to be projected, other devices will affect the projection quality between the projector and the device being projected, even while the projector is displaying the content being projected.
[0004] In summary, traditional screen mirroring methods suffer from inconsistent mirroring quality. Summary of the Invention
[0005] In view of this, the present invention provides a wireless screen projection control method, system and wireless screen projection device, which solves the problem of unstable screen projection quality in traditional screen projection methods by improving the data processing method of screen projection information.
[0006] To address the above problems, the technical solution of this invention is to employ a wireless screen projection control method, comprising: when receiving a network access request sent by a terminal to be connected to the network based on a broadcast message, obtaining screen projection connection information, wherein the screen projection connection information includes the number of already connected screen projection devices and the maximum number of connected screen projection devices supported by the display device, and the broadcast message is configured to be sent by the display device through a Wi-Fi module; if the number of already connected screen projection devices is less than the maximum number of connected screen projection devices, then controlling the establishment of a Wi-Fi connection with the terminal to be connected to the network and updating the number of already connected screen projection devices; when the updated number of already connected screen projection devices is equal to the maximum number of connected screen projection devices, controlling the Wi-Fi module to stop sending broadcast messages.
[0007] Optionally, the wireless screen projection control method further includes: the display device displaying a screen projection management page to the projection interface, wherein the screen projection management page is used to obtain the following screen projection management information: whether to display in split-screen mode and the number of split screens; and determining the maximum number of connected screen projection devices based on the screen projection management page.
[0008] Optionally, the wireless screen projection control method further includes: when a split-screen activation command is detected, determining whether to display split-screen projection indication information and displaying a screen projection service type selection page, wherein the screen projection service type selection page includes multiple service type buttons, wherein one service type button corresponds to one screen projection service type; responding to a trigger operation for a target service type option button, displaying a split-screen number configuration page, wherein the split-screen number configuration page includes a maximum split-screen number prompt, wherein the maximum split-screen number prompt is determined based on the screen projection service type corresponding to the target service type option button; obtaining the number of split screens with reference to the maximum split-screen number prompt on the split-screen number configuration page; determining the indication information and the number of split screens as screen projection management information, and determining the maximum number of connected screen projection devices based on the screen projection management information.
[0009] Optionally, the method for determining the maximum number of split screens based on the screen casting service type corresponding to the target service type option button includes: determining a reference number of split screens matching the target screen casting service type according to a pre-established correspondence between screen casting service types and the maximum number of split screens; and determining the maximum number of split screens prompt information according to the reference number of split screens.
[0010] Optionally, the display device is a projector, and the maximum number of split screens prompt information is determined based on the target projection service type corresponding to the target service type option button, including: obtaining the current projection screen size of the display device; determining a reference number of split screens matching the target projection service type according to the projection screen size and the target projection service type; and determining the maximum number of split screens prompt information based on the reference number of split screens.
[0011] Optionally, the wireless projection control method further includes: when the display device has been configured as a wireless access point and there are terminals connected to the display device via Wi-Fi, if the projection management information changes, the projection connection information is updated. Specifically, when the number of connected devices is less than the maximum number of connected devices in the updated projection connection information, the Wi-Fi module is controlled to send a broadcast message; when the number of connected devices is greater than or equal to the maximum number of connected devices in the updated projection connection information, the Wi-Fi module is controlled to stop sending broadcast messages; and when the number of connected devices in the updated projection connection information is greater than the maximum number of connected devices, an over-limit message is output to the projection interface.
[0012] Optionally, the wireless screen projection control method further includes: after controlling the Wi-Fi module to stop sending broadcast messages, continuously detecting the Wi-Fi communication status between the display device and the network-connected terminal; if, within any detection period, the network-connected terminal and the display device do not have data interaction, then disconnecting the Wi-Fi connection between the terminal and the display device, and controlling the Wi-Fi module to resend the broadcast message.
[0013] Optionally, the method for detecting the Wi-Fi communication between the display device and the network-connected terminal includes: detecting whether the display device receives control signaling or user data from the network-connected terminal.
[0014] Optionally, the wireless projection control method further includes: after controlling the Wi-Fi module to stop sending broadcast messages, continuously detecting the Wi-Fi communication status between the display device and the network-connected terminal; if the network-connected terminal actively disconnects the Wi-Fi connection with the display device within any detection period, then outputting a broadcast start command to the Wi-Fi module to restart the broadcast.
[0015] Accordingly, the present invention provides a wireless screen projection control method, comprising: when receiving a network access request sent by a terminal to be connected to the network based on a broadcast message, obtaining screen projection connection information, wherein the screen projection connection information includes the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device, and the broadcast message is configured to be sent by the display device through a Wi-Fi module; if the number of connected screen projection devices is less than the maximum number of connected screen projection devices, then controlling the establishment of a Wi-Fi connection with the terminal to be connected to the network and updating the number of connected screen projection devices; if the number of connected screen projection devices is equal to the maximum number of connected screen projection devices, then refusing to establish a Wi-Fi connection with the terminal to be connected to the network.
[0016] Accordingly, the present invention provides a wireless screen projection control system, comprising: a terminal for establishing a Wi-Fi connection with a display device and outputting the projected screen image; the display device, when receiving a network access request sent by a terminal to be connected to the network based on a broadcast message, acquiring screen projection connection information, the screen projection connection information including the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device, the broadcast message being configured to be sent by the display device through a Wi-Fi module; if the number of connected screen projection devices is less than the maximum number of connected screen projection devices, then controlling the establishment of a Wi-Fi connection with the terminal to be connected to the network and updating the number of connected screen projection devices; when the updated number of connected screen projection devices is equal to the maximum number of connected screen projection devices, controlling the Wi-Fi module to stop sending broadcast messages.
[0017] Accordingly, the present invention provides a wireless screen projection device, comprising: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of the above-described wireless screen projection control method.
[0018] The primary improvement of this invention is the wireless screen projection control method provided. By introducing an exclusive mechanism and constructing screen projection connection information, when there is a terminal waiting to join the network, the display device can determine whether to establish a Wi-Fi connection with the terminal waiting to join the network by detecting the relationship between the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device. This prevents redundant terminals from affecting the screen projection quality and solves the problem of unstable screen projection quality in traditional screen projection methods. Attached Figure Description
[0019] Figure 1 This is a simplified flowchart of a wireless screen projection control method according to the present invention;
[0020] Figure 2 This is a simplified example diagram of the screen mirroring management page of the present invention;
[0021] Figure 3 This is a simplified example diagram of a preferred embodiment of the screen mirroring management page of the present invention;
[0022] Figure 4 This is a simplified example diagram of the maximum preset screen number index table of the present invention;
[0023] Figure 5 This is a simplified example diagram of a preferred embodiment of the maximum preset screen number index table of the present invention;
[0024] Figure 6 This is a simplified module connection diagram of a wireless screen projection control system according to the present invention;
[0025] Figure 7 This is a simplified example diagram of a preferred embodiment of the split-screen configuration page of the present invention. Detailed Implementation
[0026] To enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] like Figure 1 As shown, this application proposes a wireless screen projection control method, which can be executed by a display device, such as a projector, smart TV, etc. The method includes:
[0028] S1: When a network access request is received from a terminal to be connected to the network based on a broadcast message, screen projection connection information is obtained. The screen projection connection information includes the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device. The broadcast message is configured to be sent by the display device through the Wi-Fi module.
[0029] In one embodiment, before the projector step S1, a hotspot can be enabled and screen projection management information can be configured based on the application layer of the display device. Then, screen projection connection information can be generated and a Wi-Fi mode update command can be output. The Wi-Fi module of the display device configures the display device as a wireless access point based on the Wi-Fi mode update command and enables broadcasting.
[0030] Furthermore, when the Wi-Fi module configures the display device as a wireless access point and enables broadcasting based on the Wi-Fi mode update instruction, it can reply with response information to the application layer, where the status code value is success.
[0031] Furthermore, the specific process of the network access request sent by the terminal to be connected to the network based on the broadcast message includes: after the terminal to be connected to the network receives the broadcast sent by the Wi-Fi module, if it wants to connect to the display device for wireless screen projection, it can send a connection request to the Wi-Fi module of the display device. After receiving the connection request, the Wi-Fi module can send a connection query request to the application layer. The application layer obtains the screen projection connection information based on the connection query request to determine whether to instruct the Wi-Fi module to establish a Wi-Fi connection with the terminal to be connected to the network.
[0032] S2: If the number of connected screen-projection devices is less than the maximum number of connected screen-projection devices, then control the establishment of a Wi-Fi connection with the terminal to be connected to the network, and update the number of connected screen-projection devices.
[0033] Furthermore, when the number of connected screen-projection devices is less than the maximum number of connected screen-projection devices, the application layer sends a first response message to the Wi-Fi module. The first response message is used to instruct the Wi-Fi module to establish a Wi-Fi connection with the terminal to be connected to the network.
[0034] S3: When the updated number of connected screen-projection devices equals the maximum number of connected screen-projection devices, control the Wi-Fi module to stop sending broadcast messages.
[0035] Furthermore, when the updated number of connected projection devices equals the maximum number of connected projection devices, the application layer sends a broadcast shutdown command to the Wi-Fi module, instructing the Wi-Fi module to pause broadcasting, preventing other devices from discovering and connecting to the projector. This prioritizes the transmission rate between network-connected terminals and display devices during wireless projection, preventing other devices from affecting the projection quality between network-connected terminals and display devices.
[0036] This invention introduces an exclusive mechanism and constructs screen projection connection information, enabling the display device to determine whether to establish a Wi-Fi connection with a terminal waiting to join the network when there is a terminal waiting to join the network. This is achieved by detecting the relationship between the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device. This prevents redundant terminals from affecting the screen projection quality and solves the problem of unstable screen projection quality in traditional screen projection methods.
[0037] Furthermore, the wireless screen projection control method also includes: Figure 2 As shown, the display device displays a screen mirroring management page to the projection interface. The screen mirroring management page includes at least a hotspot management interface 100, a split-screen management interface 200, and a split-screen configuration page 300. After outputting the hotspot management interface 100 to the projection interface and detecting a hotspot activation command, the split-screen management interface 200 is displayed. Upon detecting a split-screen activation command, the user is redirected to the split-screen configuration page 300 to determine whether to display a split-screen projection and to configure the number of split screens. The maximum number of connected screen mirroring devices is generated based on the screen mirroring management information obtained from the screen mirroring management page. The screen mirroring management information includes information on whether split-screen projection is supported and the number of split screens. When split-screen projection is supported, the number of split screens is equal to the maximum number of connected devices in the screen mirroring connection information; when split-screen projection is not supported, the maximum number of connected devices in the screen mirroring connection information is 1. Among them, the hotspot activation command is a command used to activate a hotspot. The input method of this command can be clicking, pressing, swiping, voice, etc. This application does not make specific limitations on the input method of this command; the split-screen activation command is a command used to activate a split screen. The input method of this command can be clicking, pressing, swiping, voice, etc. This application does not make specific limitations on the input method of this command.
[0038] Meanwhile, due to bandwidth limitations, the more links connected, the slower the communication speed of each link will be. If users blindly pursue a high number of split-screen devices, it may affect the projection quality of each link. For wireless projection, latency is a crucial metric; for example, games have high latency requirements. Therefore, this solution introduces projection service types and maximum split-screen count prompts. Projection service types are pre-classified into: document projection, static image projection, video projection, game projection, etc., and combined with display device test data, user habits, and display effects, a maximum split-screen count prompt is generated by setting the correspondence between projection service types and the maximum number of split-screen devices. Thus, the method for generating the maximum number of connected projection devices provided by this invention also includes: Figure 3 As shown, the split-screen configuration page 300 includes a screen projection service type selection page and a split-screen configuration page. When the split-screen management interface 200 is output, a split-screen start command is detected, an indication of whether to display split-screen projection is determined, and the screen projection service type selection page is displayed. The screen projection service type selection page includes multiple service type buttons, where each service type button corresponds to a screen projection service type. In response to a trigger operation on the target service type option button, the split-screen configuration page is displayed. The split-screen configuration page includes a maximum split-screen number prompt, which is determined based on the screen projection service type corresponding to the target service type option button. The number of split screens is obtained on the split-screen configuration page with the maximum split-screen number prompt as a reference input. The indication information and the number of split screens are determined as screen projection management information, and the maximum number of connected screen projection devices is determined based on the screen projection management information. This invention, by setting a maximum split-screen number prompt, can effectively guide users to set a reasonable number of split screens, thereby ensuring screen projection quality. Specifically, the triggering operation for the target business type option button can be: triggering the business type option button by clicking, pressing, sliding, voice, etc.
[0039] Furthermore, the method for determining the maximum number of split-screen prompts based on the casting service type corresponding to the target service type option button includes: determining a reference number of split-screens matching the target casting service type based on a pre-established correspondence between casting service types and maximum number of split-screens; and determining the maximum number of split-screen prompts according to the reference number of split-screens. Specifically, as shown... Figure 4As shown, the pre-established correspondence between screen casting service types and the maximum number of screens is presented in the form of a maximum preset screen number index table. For example, when the screen casting service type is document screen casting, the reference number of screens is 2; when the screen casting service type is video screen casting, the reference number of screens is 1. It should be noted that the maximum preset screen number index table is only for illustrating the method of generating the maximum screen number prompt information in this application. This application does not specifically limit the method and presentation of the pre-established correspondence between screen casting service types and the maximum number of screens.
[0040] To facilitate understanding of the method for configuring screen mirroring management information in this case, please refer to the example provided. Figure 3 and Figure 4 When a user activates split-screen mode via the split-screen management interface 200, the display device can show a screen mirroring service type selection page. This page includes service type buttons for video services, game services, and document / image services. When a click, press, swipe, or voice-triggered operation is detected on the document / image service type button, combined with... Figure 4 Based on the corresponding relationship, the reference number of split screens is determined to be 2, and the split screen configuration page is displayed. This page shows the prompt message "For this type of service, the maximum number of split screens supported by this machine is 2 (i.e., x = 2)". Users can refer to this prompt message and set a number of split screens greater than 1 and less than or equal to 2.
[0041] In one embodiment, the maximum split-screen count prompt may not only display a reference split-screen count; instead, it may be determined based on the correspondence between the screen casting service type and the maximum split-screen count. In this case, when a user is detected to have enabled split-screen functionality via the split-screen management interface 200 (i.e., a split-screen enable command is detected), the screen casting service type selection page can be skipped, and the split-screen count configuration page can be displayed directly. The maximum split-screen count prompt, determined based on the correspondence between the screen casting service type and the maximum split-screen count, can then be displayed on the split-screen count configuration page. For example, the split-screen count configuration page may be as follows: Figure 7 As shown, users can set an appropriate number of screens based on the business type of the data they want to deploy.
[0042] Furthermore, since projectors differ from general display devices, the display size is affected by projection distance and image scaling, resulting in a variable screen size. Therefore, when the display device is a projector, further subdividing the maximum number of screens corresponding to different display sizes under each projection service type provides more accurate reference information when dividing the number of screens. Thus, when the display device is a projector, the maximum number of screens prompt can be determined based on the target projection service type corresponding to the target service type option button, including: obtaining the current projection screen size of the display device; determining the reference number of screens matching the target projection service type based on the projection screen size and the target projection service type, according to a pre-established correspondence between projection service type, projection screen size, and maximum number of screens; and determining the maximum number of screens prompt based on the reference number of screens. Specifically, automatically obtaining the current projection screen size can be achieved by: collecting the projector's projection distance, obtaining the projector's own throw ratio, and then determining the projection size based on the projection distance and throw ratio. Alternatively, the projection screen can be directly captured by a camera to determine the projection screen area, thereby determining the projection size. Specifically, as... Figure 5 As shown, the pre-established correspondence between screen casting service type, projection screen size and maximum number of split screens is presented in the form of a maximum preset number of split screen index table. For example, when the screen casting service type is document casting and the projection screen size is less than 50 inches, the reference number of split screens is 1; when the screen casting service type is game casting and the projection screen size is less than 50 inches, the reference number of split screens is 1.
[0043] Furthermore, to simplify user operation, this invention also provides a method for generating the maximum number of connected screen-casting devices without user intervention: after generating the screen-casting service type based on the current screen detection information, the number of sub-screens is directly generated based on the screen-casting service type and the maximum preset sub-screen number index table, and the maximum number of connected screen-casting devices is generated, wherein the number of sub-screens is the same as the maximum number of connected screen-casting devices; the screen-casting service type in this method for automatically generating the maximum number of connected screen-casting devices includes dynamic screen-casting and static screen-casting; the independent variable in the maximum preset sub-screen number index table in this method for automatically generating the maximum number of connected screen-casting devices can be the screen-casting service type, or the screen-casting service type and screen size.
[0044] Specifically, the method for generating the screen projection service type based on the current screen detection information can be as follows: Within a unit detection period, check whether the screen projection screen change rate exceeds a first threshold. If the screen projection screen change rate exceeds the first threshold, the screen projection screen is determined to be dynamic; if the screen projection screen change rate does not exceed the first threshold, the screen projection screen is determined to be static. The first threshold can be set by developers based on the display device parameters, combined with the display device's test data and user habits.
[0045] Furthermore, the wireless projection control method further includes: when the display device has been configured as a wireless access point and there are terminals connected to the display device via Wi-Fi, if the projection management information changes, the projection connection information is updated. Specifically, when the number of connected devices is less than the maximum number of connected devices in the updated projection connection information, the Wi-Fi module is controlled to send a broadcast message; when the number of connected devices is greater than or equal to the maximum number of connected devices in the updated projection connection information, the Wi-Fi module is controlled to stop sending broadcast messages; and when the number of connected devices in the updated projection connection information is greater than the maximum number of connected devices, an over-limit message is output to the projection interface. When the display device is already in use for screen mirroring, this invention updates the broadcast status by re-evaluating the relationship between the number of connected devices and the maximum number of connected devices in the updated screen mirroring connection information after the screen mirroring management information changes. This effectively avoids the deterioration in screen mirroring quality caused by changes in the maximum number of connected devices due to changes in screen mirroring management information. For example, if the initial maximum number of connected devices is 5 and the number of connected devices is 4, and the broadcast is enabled, if the maximum number of connected devices is updated to 3 after the screen mirroring management information changes, the broadcast should be disabled and an over-limit message should be output to prompt the user to reduce the number of connected terminals, thereby ensuring screen mirroring quality. However, if... If the screen mirroring management information is changed without a re-evaluation, the screen mirroring quality cannot be guaranteed, and the display device will remain in the broadcast enabled state until a new terminal requests network access, causing the Wi-Fi module to generate useless broadcast power consumption waste. The initial maximum number of connected devices is 3, and the number of connected devices is 3. At this time, the broadcast is disabled. After the screen mirroring management information is changed, if the maximum number of connected devices is updated to 5, the broadcast should be enabled to ensure the normal use of the screen mirroring function. However, if the screen mirroring management information is changed without a re-evaluation, the Wi-Fi module's broadcast function will be abnormally disabled, affecting the normal use of the screen mirroring function.
[0046] Furthermore, the wireless screen projection control method also includes: after controlling the Wi-Fi module to stop sending broadcast messages, continuously detecting the Wi-Fi communication status between the display device and the network-connected terminal; if, within any detection period, the network-connected terminal and the display device do not interact with each other, then disconnecting the Wi-Fi connection between the terminal and the display device, and controlling the Wi-Fi module to resend the broadcast message. Specifically, the method for detecting the Wi-Fi communication status between the display device and the network-connected terminal includes: detecting whether the display device receives control signaling or user data from the network-connected terminal. The duration of the detection period can be defined by the developer / user.
[0047] Furthermore, the wireless screen projection control method also includes: after controlling the Wi-Fi module to stop sending broadcast messages, continuously monitoring the Wi-Fi communication between the display device and the network-connected terminal; if, within any monitoring period, the network-connected terminal actively disconnects the Wi-Fi connection from the display device, then controlling the Wi-Fi module to resend the broadcast message. The duration of the monitoring period can be defined by the developer / user.
[0048] Accordingly, the present invention provides a wireless screen projection control method, comprising: when receiving a network access request sent by a terminal to be connected to the network based on a broadcast message, obtaining screen projection connection information, wherein the screen projection connection information includes the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device, and the broadcast message is configured to be sent by the display device through a Wi-Fi module; if the number of connected screen projection devices is less than the maximum number of connected screen projection devices, then controlling the establishment of a Wi-Fi connection with the terminal to be connected to the network and updating the number of connected screen projection devices; if the number of connected screen projection devices is equal to the maximum number of connected screen projection devices, then refusing to establish a Wi-Fi connection with the terminal to be connected to the network.
[0049] Furthermore, when the number of connected screen-projection devices is less than the maximum number of connected screen-projection devices, the application layer sends a first response message to the Wi-Fi module. The first response message is used to instruct the Wi-Fi module to establish a Wi-Fi connection with the terminal to be connected to the network.
[0050] Furthermore, when the number of connected screen-projection devices equals the maximum number of connected screen-projection devices, the application layer sends a second response message to the Wi-Fi module. The second response message is used to instruct the Wi-Fi module to refuse to establish a Wi-Fi connection with the terminal to be connected to the network.
[0051] Correspondingly, such as Figure 6 As shown, this invention provides a wireless screen projection control system, comprising: a terminal for establishing a Wi-Fi connection with a display device and outputting a projected screen image; the display device, upon receiving a network access request sent by a terminal to be connected to the network based on a broadcast message, acquiring screen projection connection information, the screen projection connection information including the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device; the broadcast message is configured to be sent by the display device through a Wi-Fi module; if the number of connected screen projection devices is less than the maximum number of connected screen projection devices, the display device controls the establishment of a Wi-Fi connection with the terminal to be connected to the network and updates the number of connected screen projection devices; when the updated number of connected screen projection devices equals the maximum number of connected screen projection devices, the display device controls the Wi-Fi module to stop sending broadcast messages. The projected screen image is image data / video stream data output by the terminal for display on the display device.
[0052] Furthermore, the display device includes at least an application layer and a lower network service layer. After the application layer enables a hotspot and configures screen projection management information, it generates screen projection connection information and outputs a Wi-Fi mode update command. The Wi-Fi module of the lower network service layer configures the display device as a wireless access point based on the Wi-Fi mode update command and enables broadcasting.
[0053] Furthermore, the underlying network service layer also includes a communication monitoring module. After the broadcast is turned off, the communication monitoring module continuously monitors the Wi-Fi communication between the display device and the network-connected terminal. If there is no data interaction between the network-connected terminal and the display device within any monitoring period, the Wi-Fi connection between the terminal and the display device is disconnected, and a broadcast enable command is output to the Wi-Fi module to re-enable the broadcast.
[0054] Furthermore, the communication monitoring module can also be configured to: after the broadcast is turned off, periodically detect the Wi-Fi communication status between the display device and the network-connected terminal; if the network-connected terminal actively disconnects the Wi-Fi connection with the display device within any detection period, then output a broadcast start command to the Wi-Fi module to restart the broadcast.
[0055] Accordingly, the present invention provides a wireless screen projection device, comprising: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of the above-described wireless screen projection control method.
[0056] The foregoing has provided a detailed description of a wireless screen projection control method, system, and device according to embodiments of the present invention. The various embodiments are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
[0057] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0058] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
Claims
1. A wireless screen projection control method, characterized in that, include: When a network access request is received from a terminal to be connected to the network based on a broadcast message, the screen projection connection information is obtained. The screen projection connection information includes the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device. The broadcast message is configured to be sent by the display device through the Wi-Fi module. If the number of connected screen-sharing devices is less than the maximum number of connected screen-sharing devices, then control the establishment of a Wi-Fi connection with the terminal to be connected to the network, and update the number of connected screen-sharing devices; When the updated number of connected screen-casting devices equals the maximum number of connected screen-casting devices, the Wi-Fi module is controlled to stop sending broadcast messages; When a split-screen start command is detected, the system determines whether to display a split-screen projection indication and displays a screen projection service type selection page. The screen projection service type selection page includes multiple service type buttons, where each service type button corresponds to a screen projection service type. In response to the trigger operation of the target service type option button, the split-screen configuration page is displayed. The split-screen configuration page includes a maximum split-screen prompt, wherein the maximum split-screen prompt is determined based on the screen casting service type corresponding to the target service type option button. On the split-screen configuration page, obtain the number of split screens input with reference to the maximum split-screen prompt information; The instruction information and the number of split screens are defined as screen projection management information, and the maximum number of connected screen projection devices is determined based on the screen projection management information; When the display device is a projector, the maximum number of split screens prompt information is determined based on the target screen casting service type corresponding to the target service type option button, including: Get the current projected screen size of the display device; Based on the projected screen size and the target projection service type, determine the reference number of split screens that match the target projection service type; The prompt message indicates that the maximum number of split screens is determined based on the reference number of split screens.
2. The wireless screen projection control method according to claim 1, characterized in that, The wireless screen projection control method also includes: The display device displays the screen projection management page to the projection interface. The screen projection management page is used to obtain the following screen projection management information: whether to display in split-screen mode and the number of split-screen modes; and to determine the maximum number of connected screen projection devices based on the screen projection management page.
3. The wireless screen projection control method according to claim 1, characterized in that, The method for determining the maximum number of split screens based on the screen casting service type corresponding to the target service type option button includes: Based on the pre-established correspondence between screen casting service types and the maximum number of split screens, determine the reference number of split screens that matches the target screen casting service type; The maximum number of split screens is determined based on the reference number of split screens, and a prompt message is displayed.
4. The wireless screen projection control method according to claim 1, characterized in that, The wireless screen projection control method also includes: When the display device has been configured as a wireless access point and there are terminals connected to the display device via Wi-Fi, if the screen projection management information changes, the screen projection connection information is updated, wherein... When the number of connected screen-sharing devices is less than the maximum number of connected screen-sharing devices specified in the updated screen-sharing connection information, the Wi-Fi module is controlled to send a broadcast message. When the number of connected projection devices is greater than or equal to the maximum number of connected projection devices in the updated projection connection information, the Wi-Fi module is controlled to stop sending broadcast messages, and when the number of connected projection devices in the updated projection connection information is greater than the maximum number of connected projection devices, an over-limit message is output to the projection interface.
5. The wireless screen projection control method according to claim 1, characterized in that, The wireless screen projection control method also includes: After controlling the Wi-Fi module to stop sending broadcast messages, the system continuously monitors the Wi-Fi communication between the display device and the network-connected terminals. If, within any monitoring period, the network-connected terminal and the display device do not interact with each other, the system disconnects the Wi-Fi connection between the terminal and the display device and controls the Wi-Fi module to resend the broadcast messages.
6. The wireless screen projection control method according to claim 5, characterized in that, The method for detecting the Wi-Fi communication between the display device and the network-connected terminal includes: Detect whether the display device receives control signaling or user data from the network-connected terminal.
7. The wireless screen projection control method according to claim 1, characterized in that, The wireless screen projection control method also includes: After controlling the Wi-Fi module to stop sending broadcast messages, the system continuously monitors the Wi-Fi communication between the display device and the network-connected terminals. If, within any monitoring period, the network-connected terminal actively disconnects the Wi-Fi connection from the display device, the system controls the Wi-Fi module to resend the broadcast messages.
8. A wireless screen projection control method, characterized in that, include: When a network access request is received from a terminal to be connected to the network based on a broadcast message, the screen projection connection information is obtained. The screen projection connection information includes the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device. The broadcast message is configured to be sent by the display device through the Wi-Fi module. If the number of connected screen-sharing devices is less than the maximum number of connected screen-sharing devices, then control the establishment of a Wi-Fi connection with the terminal to be connected to the network, and update the number of connected screen-sharing devices; If the number of connected screen-sharing devices is equal to the maximum number of connected screen-sharing devices, then the establishment of a Wi-Fi connection with the terminal to be connected to the network will be refused. When a split-screen start command is detected, the system determines whether to display a split-screen projection indication and displays a screen projection service type selection page. The screen projection service type selection page includes multiple service type buttons, where each service type button corresponds to a screen projection service type. In response to the trigger operation of the target service type option button, the split-screen configuration page is displayed. The split-screen configuration page includes a maximum split-screen prompt, wherein the maximum split-screen prompt is determined based on the screen casting service type corresponding to the target service type option button. On the split-screen configuration page, obtain the number of split screens input with reference to the maximum split-screen prompt information; The instruction information and the number of split screens are defined as screen projection management information, and the maximum number of connected screen projection devices is determined based on the screen projection management information; When the display device is a projector, the maximum number of split screens prompt information is determined based on the target screen casting service type corresponding to the target service type option button, including: Get the current projected screen size of the display device; Based on the projected screen size and the target projection service type, determine the reference number of split screens that match the target projection service type; The prompt message indicates that the maximum number of split screens is determined based on the reference number of split screens.
9. A wireless screen projection control system, characterized in that, include: The terminal is used to establish a Wi-Fi connection with the display device and output the projected screen image; When the display device receives a network access request sent by a terminal to be connected to the network based on a broadcast message, it obtains screen projection connection information. The screen projection connection information includes the number of connected screen projection devices and the maximum number of connected screen projection devices supported by the display device. The broadcast message is configured to be sent by the display device through the Wi-Fi module. If the number of connected screen projection devices is less than the maximum number of connected screen projection devices, the display device controls the establishment of a Wi-Fi connection with the terminal to be connected to the network and updates the number of connected screen projection devices. When the updated number of connected screen projection devices is equal to the maximum number of connected screen projection devices, the display device controls the Wi-Fi module to stop sending broadcast messages. When the system detects a split-screen activation command, it determines whether to display a split-screen projection indication and displays a projection service type selection page. The projection service type selection page includes multiple service type buttons, where each service type button corresponds to a projection service type. In response to the trigger operation of the target service type option button, the split-screen configuration page is displayed. The split-screen configuration page includes a maximum split-screen prompt, wherein the maximum split-screen prompt is determined based on the screen casting service type corresponding to the target service type option button. On the split-screen configuration page, obtain the number of split screens input with reference to the maximum split-screen prompt information; The instruction information and the number of split screens are defined as screen projection management information, and the maximum number of connected screen projection devices is determined based on the screen projection management information; When the display device is a projector, the maximum number of split screens prompt information is determined based on the target screen casting service type corresponding to the target service type option button, including: Get the current projected screen size of the display device; Based on the projected screen size and the target projection service type, determine the reference number of split screens that match the target projection service type; The prompt message indicates that the maximum number of split screens is determined based on the reference number of split screens.
10. A wireless screen projection device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the wireless screen projection control method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
All-in-one machine with screen projection function and screen projection control method
CN111901645A
Wireless screen mirroring method and device based on IP network connection
CN113099438A
Screen projection method and apparatus, electronic device, and storage medium
WO2021217964A1
