Display device and screen projection connection method
By adjusting the channel usage strategy on the display device, the network fluctuation problem of compatible Android and IOS screen projection protocols was solved, and stable transmission and display effects were achieved.
Patent Information
- Application Number
- CN202211189123.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-09-28
AI Technical Summary
Existing display devices are difficult to be compatible with the screen projection protocols of both Android and IOS operating systems, resulting in network fluctuations, playback freezes, screen distortion or disconnection.
By adopting different channel usage strategies on the display device to monitor detection requests and adjust the port's channel usage duration, we can ensure rapid discovery of mobile devices and stable data transmission, and establish screen projection connections with Android and iOS devices respectively.
It enables the display device to be compatible with both Android and IOS operating systems, improves the performance of the two screen projection methods, and ensures the stability of data transmission and the continuity of display.
Smart Images

Figure CN115696277B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of screen projection control technology, and in particular to a display device and a screen projection connection method. Background Art
[0002] With the continuous development of screen projection technology, screen projection has brought great convenience to people's work and life. Currently, the most commonly used operating systems for mobile devices are Android and iOS. The most commonly used screen projection protocol for Android is Miracast, and the most commonly used screen projection protocol for iOS is AirPlay. Therefore, display devices will support both protocols.
[0003] The Miracast screen projection protocol is based on peer-to-peer (P2P) monitoring to complete the discovery of mobile devices. However, due to the coexistence of P2P and wireless local area network (WLAN), network resources will be occupied to a certain extent, resulting in network fluctuations and even network speed drops. For screen projection protocols such as AirPlay that rely on local area network transmission, this will have a significant negative impact on AirPlay-based screen projection connections, such as playback lag, screen distortion, and even disconnection. Therefore, it is particularly important to find a compatible screen projection method for both Android and iOS systems on the same display device. Summary of the Invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display device and a screen projection connection method, which can be compatible with the screen projection methods corresponding to the two operating systems, and can ensure that the second mobile device can quickly discover the display device, and after receiving the detection request of the first mobile device, it can ensure that the first mobile device can stably transmit data, and the corresponding display device can also stably display the screen projection data sent by the first mobile device, thereby achieving the effect of improving the performance of the two screen projection methods.
[0005] In a first aspect, the present disclosure provides a display device, the display device comprising:
[0006] The controller is configured as:
[0007] Monitoring a probe request using a first channel usage policy, wherein a channel usage duration of a first port in the first channel usage policy is less than a channel usage duration of a second port, the probe request is used to request discovery of the display device, the first port is used for communication between a first mobile device and the display device, the second port is used for communication between a second mobile device and the display device, and the first mobile device and the second mobile device have different operating systems;
[0008] After receiving a probe request from the first mobile device through the first port, sending a probe response to the first mobile device and adjusting data transmission to a second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port;
[0009] Based on the screen projection protocol of the first mobile device and the first port, a first screen projection connection is established between the display device and the first mobile device, and based on the first screen projection connection, the screen projection data sent by the first mobile device is received.
[0010] In a second aspect, the present disclosure provides a screen projection connection method, comprising:
[0011] Monitoring a probe request using a first channel usage policy, wherein a channel usage duration of a first port in the first channel usage policy is less than a channel usage duration of a second port, the probe request is used to request discovery of a display device, the first port is used for communication between a first mobile device and the display device, the second port is used for communication between a second mobile device and the display device, and the first mobile device and the second mobile device have different operating systems;
[0012] After receiving a probe request from the first mobile device through the first port, sending a probe response to the first mobile device and adjusting data transmission to a second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port;
[0013] Based on the screen projection protocol of the first mobile device and the first port, a first screen projection connection is established between the display device and the first mobile device, and based on the first screen projection connection, the screen projection data sent by the first mobile device is received.
[0014] In a third aspect, the present disclosure provides a computer-readable storage medium, including: a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the screen projection connection method shown in the second aspect is implemented.
[0015] In a fourth aspect, the present disclosure provides a computer program product, comprising: when the computer program product is run on a computer, enabling the computer to implement the screen projection connection method shown in the second aspect.
[0016] The technical solution provided by the embodiments of the present disclosure has the following advantages over the prior art: the controller of the display device first monitors a probe request using a first channel usage policy, wherein the channel usage time of the first port in the first channel usage policy is less than the channel usage time of the second port, the probe request is used to request discovery of the display device, the first port is used for communication between a first mobile device and the display device, and the second port is used for communication between a second mobile device and the display device, and the operating systems of the first mobile device and the second mobile device are different. Then, after receiving the probe request from the first mobile device through the first port, the controller sends a probe response to the first mobile device and adjusts the data transmission to the second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port. Finally, based on the screen projection protocol of the first mobile device and the first port, a first screen projection connection is established between the display device and the first mobile device, and screen projection data sent by the first mobile device is received based on the first screen projection connection. Through the above technical solution, the screen projection modes corresponding to the two operating systems can be compatible, ensuring that the second mobile device can quickly discover the display device, and after receiving the probe request from the first mobile device, ensuring that the first mobile device can stably transmit data, and the corresponding display device can also stably display the screen projection data sent by the first mobile device, thereby achieving the effect of improving the performance of the two screen projection modes. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0018] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1A A schematic diagram of an operation scenario between a display device, a control device, and a mobile device according to one or more embodiments of the present disclosure;
[0020] Figure 1B This is a schematic diagram of the time when a P2P port and a WLAN port use a channel in the related art;
[0021] Figure 2 is a hardware configuration block diagram of a control device according to one or more embodiments of the present disclosure;
[0022] Figure 3A is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present disclosure;
[0023] Figure 3B A schematic diagram of software configuration in a display device according to one or more embodiments of the present disclosure;
[0024] Figure 3C A schematic diagram showing an icon control interface of an application in a display device according to one or more embodiments of the present disclosure;
[0025] Figure 4A A system framework diagram for screen projection connection according to one or more embodiments of the present disclosure;
[0026] Figure 4B This is an architectural diagram of screen projection connection according to one or more embodiments of the present disclosure;
[0027] Figure 5A A flowchart of a screen projection connection method provided in an embodiment of the present disclosure;
[0028] Figure 5B A schematic diagram of an interaction process between a first mobile device and a display device provided in an embodiment of the present disclosure;
[0029] Figure 6A A flowchart of another screen projection connection method provided in an embodiment of the present disclosure;
[0030] Figure 6B A schematic diagram of an interaction process between a second mobile device and a display device provided in an embodiment of the present disclosure;
[0031] Figure 6C A schematic diagram of time allocation in the first channel usage strategy provided in an embodiment of the present disclosure;
[0032] Figure 6D A schematic diagram of time allocation in the second channel usage strategy provided in an embodiment of the present disclosure;
[0033] Figure 6E A schematic diagram of a process for issuing a monitoring probe request instruction provided in an embodiment of the present disclosure;
[0034] Figure 7 A schematic diagram of an interaction process between a first mobile device, a second mobile device, and a display device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0036] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0037] The terms "first" and "second" in this disclosure are used to distinguish different objects rather than to describe a specific order of objects. For example, the first processing result and the second processing result are used to distinguish different processing results rather than to describe a specific order of processing results.
[0038] Currently, there are two commonly used operating systems for mobile devices: Android and IOS. For example, if a mobile device uses the Android operating system and uses the Miracast protocol for screen projection, in order to ensure that the display device (i.e., the device to which the mobile device wants to project the screen) can quickly discover the mobile device, the display device needs to enable the P2P monitoring service, which requires the use of the P2P port. Since the P2P port will seize the resources of the WLAN port, the network will fluctuate regularly at this time. The AirPlay protocol is a screen projection protocol that comes with mobile devices using the IOS operating system. Running on the IOS system, the mobile device and the display device need to be connected to the same local area network and rely on the local area network for transmission. Therefore, if the mobile device uses the IOS operating system and uses the AirPlay protocol to transmit data in real time, since the AirPlay protocol is more dependent on network quality, it has very high requirements for network stability. When the network speed fluctuates slightly, problems such as screen freezes, screen distortion, or even disconnection may occur during screen projection. In summary, the Miracast screen projection protocol and the AirPlay protocol are mutually exclusive in performance. How to make the above two screen projection methods compatible on the same TV device becomes particularly important.
[0039] Figure 1A The present invention is a schematic diagram of an operation scenario between a display device, a control device, and a mobile device according to one or more embodiments of the present disclosure. Figure 1A The system includes: a control device 100, a display device 200, a first mobile device 301, a second mobile device 302 and a server 400, wherein the first mobile device and the second mobile device have different operating systems. Figure 1A In the example of two mobile devices, the first mobile device 301 and the second mobile device 302 can both initiate a screen projection connection to the display device, thereby transmitting their own playback data to the display device 200 for playback and display. However, the display device 200 can only display the projection data of one mobile device at a time. The control device 100 (such as a remote control) of the display device can be used to control the display device 200.
[0040] In some embodiments, the control device 100 may be a remote control, and communication between the remote control and the display device 200 may include infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods, etc., and the display device 200 can be controlled through the above communication methods. The user can control the display device 200 by inputting user commands through buttons on the remote control, voice input, and control panel input.
[0041] In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices may also be used to control the display device 200 .
[0042] In some embodiments, the display device 200 may not use the aforementioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0043] In some embodiments, the display device 200 can also be controlled in ways other than control devices and smart devices. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0044] In some embodiments, the mobile terminal can install software applications with the display device 200, and achieve connection communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal can also be transmitted to the display device 200 to achieve a synchronous display function. The display device 200 can also communicate data with the server 400 through a variety of communication methods, allowing the display device 200 to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. The server 400 can be a cluster or multiple clusters, and can include one or more types of servers. The server 400 can provide various content and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display or a projection display device, etc. In addition to providing a broadcast receiving television function, the display device 200 can also provide an additional intelligent network TV function that provides computer support functions.
[0045] For example, Figure 1B Schematic diagram of the time when the P2P port and the WLAN port use the channel in the related art. Figure 1B As shown, the channel used by the P2P port is different from the channel used by the WLAN port. Since the P2P port and the WLAN port are mutually exclusive when using resources, when the P2P port uses a channel, the WLAN port cannot use the channel. Figure 1BIn the figure, T0 indicates the time that the WLAN port uses the channel, T1 indicates the time that the P2P port uses the channel, T2 indicates the time required to switch from the channel used by the WLAN port to the channel used by the P2P port; T3 indicates the time required to switch from the channel used by the P2P port to the channel used by the WLAN port. Figure 1B It can be seen that the main factor affecting the discovery speed of mobile devices based on the Miracast screen projection protocol is the duty cycle corresponding to the time the P2P port uses the channel. When the duty cycle is large, the discovery speed of mobile devices based on the Miracast screen projection protocol is also faster. For Wi-Fi, the time that affects the conversion between the P2P port and the WLAN port occurs in channel switching.
[0046] In order to solve the above problems, the embodiment of the present disclosure proposes a screen projection connection method, which first monitors the detection request with the first channel usage strategy to ensure that the mobile device can be quickly discovered, and then after receiving the detection request of the first mobile device through the first port, sends a detection response to the first mobile device, and adjusts the data transmission with the second channel usage strategy. Finally, based on the screen projection protocol and the first port of the first mobile device, a first screen projection connection is established between the display device and the first mobile device, and the screen projection data sent by the first mobile device is received based on the first screen projection connection to ensure the stability of the first mobile device when transmitting data, avoiding problems such as screen freeze, screen distortion, and even disconnection. Through the above process, the display device can be compatible with the screen projection methods corresponding to the two operating systems at the same time, thereby improving the performance of the two screen projection methods.
[0047] Figure 2 FIG. 1 is a block diagram of a hardware configuration of a control device according to one or more embodiments of the present disclosure. Figure 2 As shown, the control device includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device can receive user input commands and convert them into commands that the display device 200 can recognize and respond to, acting as an intermediary for interaction between the user and the display device 200. The communication interface 130 is used for external communication and includes at least one of a Wi-Fi chip, a Bluetooth module, NFC, or alternative modules. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button, or alternative modules.
[0048] Figure 3A FIG. 1 is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present disclosure. Figure 3AThe display device 200 shown includes at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface (i.e., a user input interface) 280. The controller 250 includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and first to nth interfaces for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner and demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals. The communicator 220 is a component used to communicate with servers according to various communication protocol types. For example, the communicator can include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chips or near-field communication protocol chips, as well as an infrared receiver. The display device 200 can establish a communication channel for sending and receiving control signals and data signals with the server 400 via the communicator 220. The detector 230 is used to collect signals from the external environment or external interactions. The controller 250 and the tuner 210 can be located in different separate devices. That is, the tuner 210 can also be located in an external device to the main device where the controller 250 is located, such as an external set-top box. The user interface 280 can be used to receive control signals from a control device (such as an infrared remote control).
[0049] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. The user can enter user commands through the graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI). Alternatively, the user can enter user commands by inputting specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.
[0050] In some embodiments, the "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an interface element such as an icon, window, and control displayed on the display screen of an electronic device, where the control can include at least one of the visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0051] Figure 3B FIG. 1 is a schematic diagram of software configuration in a display device according to one or more embodiments of the present disclosure, such as Figure 3B As shown in the figure, the system is divided into four layers, from top to bottom: the application layer (referred to as the "application layer"), the application framework layer (referred to as the "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as the "system runtime library layer"), and the kernel layer.
[0052] In some embodiments, at least one application program runs in the application layer. These applications can be window programs, system settings programs, clock programs, etc. that come with the operating system, or applications developed by third-party developers. In specific implementations, the applications in the application layer include but are not limited to the above examples.
[0053] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0054] In some embodiments, the kernel layer is a layer between hardware and software, and includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0055] Figure 3C FIG. 1 is a schematic diagram showing an icon control interface of an application in a display device according to one or more embodiments of the present disclosure. Figure 3CAs shown in , the application layer includes at least one application that can display corresponding icon controls on the display, such as: live TV application icon controls, video on demand application icon controls, media center application icon controls, application center icon controls, game application icon controls, etc. The live TV application can provide live TV through different signal sources. The video on demand application can provide videos from different storage sources. Unlike the live TV application, video on demand provides video display from certain storage sources. The media center application can provide applications for playing various multimedia content. The application center can provide storage for various applications.
[0056] In some embodiments, the display device is a terminal device with a display function, such as a television, a mobile phone, a computer, a learning machine, etc. In the display device:
[0057] an output interface (display 260 and / or audio output interface 270 ), configured to output user interaction information;
[0058] The communicator 220 is used to communicate with the server 400;
[0059] The controller 250 is configured to: monitor a probe request using a first channel usage policy, wherein a channel usage duration of a first port in the first channel usage policy is less than a channel usage duration of a second port, the probe request is used to request discovery of the display device, the first port is used for communication between a first mobile device and the display device, the second port is used for communication between a second mobile device and the display device, and the first mobile device and the second mobile device have different operating systems;
[0060] After receiving a probe request from the first mobile device through the first port, sending a probe response to the first mobile device and adjusting data transmission to a second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port;
[0061] Based on the screen projection protocol of the first mobile device and the first port, a first screen projection connection is established between the display device and the first mobile device, and based on the first screen projection connection, the screen projection data sent by the first mobile device is received.
[0062] In some embodiments, the controller 250 is further configured to:
[0063] After receiving a probe request from the second mobile device through the second port, sending a probe response to the second mobile device and performing data transmission using the first channel usage policy;
[0064] Based on the screen projection protocol of the second mobile device and the second port, a second screen projection connection is established between the display device and the second mobile device, and the screen projection data sent by the second mobile device is received based on the second screen projection connection.
[0065] In some embodiments, the first channel usage strategy includes:
[0066] Based on a preset period during which the display device sends the monitoring detection request, determining a first proportion of the preset period as a usage duration of a target channel, where the target channel is: a channel corresponding to the network connection when the display device establishes a network connection, and the target channel is a channel commonly used by the first port and the second port;
[0067] The remaining duration in the preset period is determined as the usage duration of a preset channel used by the second port, where the preset channel is different from the target channel.
[0068] In some embodiments, the second channel usage strategy includes:
[0069] Based on the preset period, determining a second proportion of the duration in the preset period as a channel usage duration of the first port;
[0070] The remaining duration in the preset period is determined as the channel usage duration of the second port, the second proportion of the duration is greater than the remaining duration, and the channel of the first port is different from the channel of the second port.
[0071] In some embodiments, the controller 250 is further configured to:
[0072] After the screen projection switch of the display device is turned on, periodically sending the monitoring detection request instruction to the target driver based on the preset period, so that the target driver applies for a channel of the target port based on the monitoring detection request instruction, wherein the target port is one of the first port and the second port;
[0073] Within the holding time of the channel of the target port, detecting whether the detection request sent by the target mobile device is received.
[0074] In some embodiments, the controller 250 is further configured to:
[0075] When it is detected that the holding time of the channel of the target port has been reached, the channel of the target port is released.
[0076] In some embodiments, the controller 250 is further configured to:
[0077] After receiving the detection request of the first mobile device through the first port, it is determined that the display of the display device displays the projection data sent by the third mobile device, then the projection connection between the display device and the third mobile device is disconnected, wherein the operating system of the third mobile device is one of the operating system of the first mobile device and the operating system of the second mobile device.
[0078] In some embodiments, the operating system of the first mobile device is an iOS operating system, and the operating system of the second mobile device is an Android operating system.
[0079] In summary, the present disclosure executes the above-mentioned screen projection connection method on the display device. The controller of the display device first monitors the detection request with the first channel usage strategy, wherein the channel usage time of the first port in the first channel usage strategy is less than the channel usage time of the second port. The detection request is used to request to discover the display device. The first port is used for the first mobile device to communicate with the display device, and the second port is used for the second mobile device to communicate with the display device. The operating systems of the first mobile device and the second mobile device are different. Then, after receiving the detection request of the first mobile device through the first port, a detection response is sent to the first mobile device, and data transmission is adjusted to the second channel usage strategy, wherein the channel usage time of the first port in the second channel usage strategy is greater than the channel usage time of the second port. Finally, based on the screen projection protocol of the first mobile device and the first port, a first screen projection connection is established between the display device and the first mobile device, and the screen projection data sent by the first mobile device is received based on the first screen projection connection. Through the above-mentioned technical solution, the display device can be compatible with the screen projection methods corresponding to the two operating systems at the same time, thereby improving the performance of the two screen projection methods.
[0080] Figure 4A A system framework diagram for screen projection connection according to one or more embodiments of the present disclosure is shown as follows: Figure 4AAs shown, the system may include a monitoring module 401, an adjustment module 402, and a receiving module 403. In the system, the monitoring module 401 is used to monitor a probe request using a first channel usage policy, wherein the channel usage time of the first port in the first channel usage policy is less than the channel usage time of the second port, the probe request is used to request discovery of a display device, the first port is used for communication between a first mobile device and the display device, the second port is used for communication between a second mobile device and the display device, and the operating systems of the first mobile device and the second mobile device are different; the adjustment module 402 is used to, after receiving the probe request from the first mobile device through the first port, send a probe response to the first mobile device and adjust the data transmission to a second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port; and the receiving module 403 is used to establish a first projection connection between the display device and the first mobile device based on the projection protocol of the first mobile device and the first port, and receive projection data sent by the first mobile device based on the first projection connection. Through the above technical solution, the display device can be compatible with the projection modes corresponding to the two operating systems at the same time, thereby improving the performance of the two projection modes.
[0081] Figure 4B This is an architectural diagram of screen projection connection according to one or more embodiments of the present disclosure. Based on the above system framework, the implementation of the present disclosure in the Android system is as follows: Figure 4B As shown, the Android system mainly includes the application layer, framework layer, system runtime layer and kernel layer. The implementation logic is mainly reflected in the application layer, which includes a monitoring module, an adjustment module and a receiving module. The functions of each module have been described in detail in the above embodiments. In order to avoid repetition, they will not be repeated here.
[0082] In order to explain the screen projection connection scheme in this embodiment in more detail, the following will be combined with the following examples in an exemplary manner. Figure 5A To explain, it is understandable that Figure 5A The steps involved may include more steps or fewer steps in actual implementation, and the order of these steps may also be different, subject to the ability to implement the screen projection connection method provided in the embodiment of the present disclosure, and the embodiment of the present disclosure does not limit it.
[0083] Figure 5A This is a flow chart of a screen projection connection method provided by an embodiment of the present disclosure. This embodiment can be applied to illustrate the process of stable screen projection between a first mobile device and a display device. Figure 5A As shown, the screen projection connection method specifically includes the following steps:
[0084] S510, monitor the probe request with a first channel usage strategy, wherein the channel usage time of the first port in the first channel usage strategy is less than the channel usage time of the second port, the probe request is used to request to discover the display device, the first port is used for a first mobile device to communicate with the display device, the second port is used for a second mobile device to communicate with the display device, and the first mobile device and the second mobile device have different operating systems.
[0085] In order to solve the problem of compatible screen projection methods corresponding to two operating systems on the same display device, in this embodiment, since the display device communicates with the second mobile device through the second port, and the channel usage time of the second port in the first channel usage policy is longer than the channel usage time of the first port, when the controller of the display device monitors the probe request (probe request) with the first channel usage policy, it can ensure that the controller has more time to monitor whether the second mobile device has sent a probe request, thereby ensuring that the second mobile device has more time to discover the display device. That is: when the controller monitors the probe request with the first channel usage policy, the second mobile device has a higher priority than the first mobile device when projecting the screen, which is conducive to improving the speed at which the second mobile device discovers the display device.
[0086] In some embodiments, optionally, the operating system of the first mobile device may be an iOS operating system, and the operating system of the second mobile device may be an Android operating system, wherein the first port is a WLAN port, and the second port is a P2P port.
[0087] Miracast is a wireless display standard developed by the Wi-Fi Alliance and based on Wi-Fi Direct. Devices supporting this standard can share video images wirelessly. For example, mobile devices supporting the Miracast protocol can use the Miracast protocol to transmit resources such as videos and photos to a display device for playback, without the need for cables or wireless access points (APs).
[0088] Specifically, when the operating system of the first mobile device is the IOS operating system and the operating system of the second mobile device is the Android operating system, since screen projection based on the Miracast protocol requires the use of the P2P port, when the controller monitors the detection request with the first channel usage strategy, since the usage time of the P2P port is greater than the usage time of the WLAN port, the speed of the second mobile device discovering the display device can be guaranteed.
[0089] In some embodiments, optionally, the operating system of the first mobile device may be an Android operating system, and the operating system of the second mobile device may be an IOS operating system, wherein the first port is a P2P port, and the second port is a WLAN port.
[0090] Among them, AirPlay can be understood as a playback technology that can transfer files (including videos, photos and mirrors) on iOS or later versions to devices that support airplay.
[0091] Specifically, when the operating system of the first mobile device is the Android operating system and the operating system of the second mobile device is the IOS operating system, since screen projection based on the AirPlay protocol requires the use of a WLAN port, when the controller monitors the detection request with the first channel usage strategy, since the usage time of the WLAN port is greater than the usage time of the P2P port, the speed of the second mobile device discovering the display device can be guaranteed.
[0092] S520, after receiving the detection request of the first mobile device through the first port, sending a detection response to the first mobile device, and adjusting the data transmission to the second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port.
[0093] After receiving the probe request from the first mobile device through the first port, the controller sends a probe response to the first mobile device, thereby completing the process of the first mobile device discovering the display device. At the same time, since the second mobile device has a higher priority than the first mobile device when projecting the screen in the first channel usage policy, in order to ensure the stability of data transmission between the first mobile device and the display device and avoid being affected by network fluctuations, it is necessary to adjust to the second channel usage policy for data transmission. Specifically, since the channel usage time of the first port in the second channel usage policy is longer than the channel usage time of the second port, it is convenient for the subsequent first mobile device to send the projection data to the display device through the first port.
[0094] In some embodiments, optionally, when the operating system of the first mobile device is an IOS operating system, the operating system of the second mobile device is an Android operating system, the first port is a WLAN port, and the second port is a P2P port, since the controller monitors the detection request using the first channel usage policy, the second mobile device has a higher priority than the first mobile device when projecting the screen. Therefore, after the controller receives the detection request from the first mobile device through the first port, since the screen projection using the AirPlay protocol is easily affected by network fluctuations, in order to ensure the stability of subsequent data transmission between the first mobile device and the display device and avoid being affected by network fluctuations, it is necessary to adjust to the second channel usage policy for data transmission, that is: when the channel usage time of the WLAN port is greater than the channel usage time of the P2P port, the network stability can be improved to prevent the subsequent display device from experiencing problems such as freezes, screen distortion, or even disconnection when displaying the projection data sent by the first mobile device.
[0095] In some embodiments, optionally, when the operating system of the first mobile device is an Android operating system, the operating system of the second mobile device is an IOS operating system, the first port is a P2P port, and the second port is a WLAN port, since the controller monitors the detection request with the first channel usage policy, the second mobile device has a higher priority than the first mobile device when casting the screen. Therefore, after the controller receives the detection request from the first mobile device through the first port, in order to ensure the data transmission speed when casting the screen using the Miracast protocol, it is necessary to adjust to data transmission with the second channel usage policy, that is: when the channel usage time of the P2P port is longer than the channel usage time of the WLAN port, it is beneficial to improve the speed of screen casting data transmission between the display device and the first mobile device.
[0096] S530, based on the screen projection protocol and the first port of the first mobile device, establish a first screen projection connection between the display device and the first mobile device, and receive the screen projection data sent by the first mobile device based on the first screen projection connection.
[0097] The projection data sent by the first mobile device may be content played in the first mobile device, such as video, music, or variety show, etc., which is not limited in this embodiment.
[0098] After the controller adjusts the data transmission policy to the second channel, based on the screen projection protocol and the first port of the first mobile device, the first mobile device sends a screen projection connection request to the controller of the display device. After receiving the screen projection connection request, the corresponding controller sends a screen projection connection response to the first mobile device. At this time, the first screen projection connection between the display device and the first mobile device is successfully established. Afterwards, based on the first screen projection connection, the first mobile device can send screen projection data to the controller of the display device, so that after receiving the screen projection data sent by the first mobile device, the controller can control the display of the display device to display the screen projection data.
[0099] In this embodiment, through the above process, the screen projection methods corresponding to the two operating systems can be compatible, which not only ensures that the second mobile device can quickly discover the display device, but also ensures that the first mobile device can stably transmit data after receiving the detection request from the first mobile device, and the corresponding display device can also stably display the screen projection data sent by the first mobile device, thereby achieving the effect of improving the performance of the two screen projection methods.
[0100] For example, Figure 5B A schematic diagram of an interaction process between a first mobile device and a display device provided in an embodiment of the present disclosure. Figure 5B The process of realizing the screen projection connection between the first mobile device and the display device based on the interaction between the first mobile device and the display device shown in has been described in detail in the above embodiments. In order to avoid repetition, it will not be repeated here.
[0101] Figure 6A A flowchart of another screen projection connection method provided by an embodiment of the present disclosure. This embodiment is optimized based on the above embodiment. Optionally, this embodiment can be applied to illustrate the screen projection process between the second mobile device and the display device. Figure 6A As shown, the screen projection connection method specifically includes the following steps:
[0102] S610, monitor the probe request with a first channel usage strategy, wherein the channel usage time of the first port in the first channel usage strategy is less than the channel usage time of the second port, the probe request is used to request to discover the display device, the first port is used for a first mobile device to communicate with the display device, the second port is used for a second mobile device to communicate with the display device, and the first mobile device and the second mobile device have different operating systems.
[0103] S620: After receiving the probe request from the second mobile device through the second port, send a probe response to the second mobile device and perform data transmission using the first channel usage policy.
[0104] After receiving the probe request from the second mobile device through the second port, the controller sends a probe response to the second mobile device, thereby completing the process of the second mobile device discovering the display device. At the same time, because the second mobile device has a higher priority than the first mobile device when casting the screen in the first channel usage policy, the controller continues to transmit data using the first channel usage policy, which can ensure stable and fast data transmission between the first mobile device and the display device.
[0105] In some embodiments, optionally, when the operating system of the first mobile device is an IOS operating system, the operating system of the second mobile device is an Android operating system, the first port is a WLAN port, and the second port is a P2P port, since the controller monitors the detection request using the first channel usage policy, the second mobile device has a higher priority than the first mobile device when projecting the screen. Therefore, after the controller receives the detection request from the second mobile device through the second port, it continues to transmit data using the first channel usage policy, thereby ensuring stable and fast data transmission between the second mobile device and the display device.
[0106] In some embodiments, optionally, when the operating system of the first mobile device is an Android operating system, the operating system of the second mobile device is an IOS operating system, the first port is a P2P port, and the second port is a WLAN port, since the controller monitors the detection request using the first channel usage policy, the second mobile device has a higher priority than the first mobile device when projecting the screen. Therefore, after the controller receives the detection request from the second mobile device through the second port, it continues to transmit data using the first channel usage policy, which can ensure stable and fast transmission of data between the second mobile device and the display device, avoid being affected by network fluctuations, improve network stability, and prevent subsequent display devices from experiencing problems such as freezes, screen distortion, or even disconnection when displaying the projection data sent by the second mobile device.
[0107] S630, based on the screen projection protocol and the second port of the second mobile device, establish a second screen projection connection between the display device and the second mobile device, and receive the screen projection data sent by the second mobile device based on the second screen projection connection.
[0108] The projection data sent by the second mobile device can be content played on the second mobile device, such as video, music, or variety shows, and this embodiment does not limit this. The projection data sent by the second mobile device can be the same as or different from the projection data sent by the first mobile device, and this embodiment does not specifically limit this.
[0109] During the process of data transmission using the first channel usage strategy, the controller sends a screen projection connection request to the controller of the display device based on the screen projection protocol and second port of the second mobile device. After receiving the screen projection connection request, the corresponding controller sends a screen projection connection response to the second mobile device. At this time, the second screen projection connection between the display device and the second mobile device is successfully established. Afterwards, based on the second screen projection connection, the second mobile device can send screen projection data to the controller of the display device, so that after receiving the screen projection data sent by the second mobile device, the controller can control the display of the display device to display the screen projection data.
[0110] In this embodiment, through the above process, it is possible to ensure that the second mobile device can quickly discover the display device, and stably and quickly transmit the projection data of the second mobile device to the display device. The corresponding display device can also quickly and stably display the projection data sent by the second mobile device, thereby achieving the effect of improving the projection performance of the second mobile device.
[0111] For example, Figure 6B A schematic diagram of an interaction process between a second mobile device and a display device provided in an embodiment of the present disclosure. Figure 6B The process of realizing the screen projection connection between the second mobile device and the display device based on the interaction between the second mobile device and the display device shown in has been described in detail in the above embodiments. In order to avoid repetition, it will not be repeated here.
[0112] In some embodiments, optionally, the first channel usage strategy may specifically include:
[0113] Based on a preset period during which the display device sends the monitoring detection request, determining a first proportion of the preset period as a usage duration of a target channel, where the target channel is: a channel corresponding to the network connection when the display device establishes a network connection, and the target channel is a channel commonly used by the first port and the second port;
[0114] The remaining duration in the preset period is determined as the usage duration of a preset channel used by the second port, where the preset channel is different from the target channel.
[0115] The preset period can be pre-set, for example, 500ms, or can be determined based on specific circumstances, which is not limited in this embodiment. The first ratio can be pre-set, for example, 80%, or can be determined based on specific circumstances, which is not limited in this embodiment. The network connection can be a Wi-Fi connection, and the corresponding target channel is the channel used by the WLAN port. The preset channel can be one of multiple channels that the second port can use as specified in the protocol.
[0116] Specifically, in order to improve the speed at which the second mobile device discovers the display device, it is necessary to ensure that the channel usage time of the second port is greater than the channel usage time of the first port. Therefore, the controller obtains the preset period for the display device to send a monitoring detection request. Based on the preset period, when the display device establishes a network connection, the first proportion of the duration in the preset period is determined as the usage time of the channel used jointly by the first port and the second port, and the remaining duration in the preset period other than the first proportion is determined as the usage time of the preset channel used by the second port. Since the preset channel is different from the target channel, it can be seen that in a preset period, the total channel usage time of the second port is greater than the total channel usage time of the first port.
[0117] In this embodiment, through the above process, it is possible to ensure that the channel usage time of the first port is shorter than the channel usage time of the second port.
[0118] For example, Figure 6C This is a schematic diagram of the duration allocation in the first channel usage strategy provided by the embodiment of the present disclosure. Since the target channel is a channel used by the first port and the second port, the preset channel used by the second port exclusively occupies the remaining duration in the preset period. Figure 6C It is obvious that the channel usage time of the first port is shorter than the channel usage time of the second port.
[0119] For example, assuming that the operating system of the first mobile device is an iOS operating system, the operating system of the second mobile device is an Android operating system, the first port is a WLAN port, and the second port is a P2P port, Figure 6C The target channel usage duration is the duration of time the WLAN port and the P2P port share the corresponding channel for the network connection. The preset channel usage duration used by the second port is the duration of time the P2P port uses its corresponding channel. If the preset period is 500ms, the target channel usage duration can be 400ms, and the preset channel usage duration used by the P2P port can be 100ms. This means that the total channel usage duration for the P2P port is 500ms, and the total channel usage duration for the WLAN port is 400ms.
[0120] For example, assuming that the operating system of the first mobile device is an Android operating system, the operating system of the second mobile device is an IOS operating system, the first port is a P2P port, and the second port is a WLAN port, Figure 6CThe target channel usage duration is the duration of time the WLAN port and the P2P port share the corresponding channel for the network connection. The preset channel usage duration used by the second port is the duration of time the WLAN port uses its corresponding channel. If the preset period is 500ms, the target channel usage duration can be 400ms, and the preset channel usage duration used by the second port can be 100ms. This means that the total WLAN channel usage duration is 500ms, and the total P2P channel usage duration is 400ms.
[0121] It should be noted that: Figure 6C The first channel usage strategy is described using two preset periods as an example, and is not intended to limit it.
[0122] In some embodiments, multiple mobile devices are monitored for detection requests using the first channel usage strategy, and the time to complete device discovery is counted, and the following conclusions are obtained: the time it takes for a mobile device to discover a display device is about 2.5s (compatible with various types of mobile device phones, and the average value is taken from 100 groups of tests), and the shortest time is about 1s.
[0123] Accordingly, as the speed at which the mobile device discovers the display device increases, the problem of large network fluctuations arises. Specific methods for testing whether the network is fluctuating can refer to methods in related technologies, which are not limited in this embodiment.
[0124] In some embodiments, optionally, the second channel usage strategy may specifically include:
[0125] Based on the preset period, determining a second proportion of the duration in the preset period as a channel usage duration of the first port;
[0126] The remaining duration in the preset period is determined as the channel usage duration of the second port, the second proportion of the duration is greater than the remaining duration, and the channel of the first port is different from the channel of the second port.
[0127] The second ratio can be preset, for example, 60%, or can be determined according to specific circumstances, which is not limited in this embodiment. The second ratio and the first ratio can be the same or different, which is not limited in this embodiment.
[0128] Specifically, to ensure the stability of data transmission between the first mobile device and the display device and to avoid being affected by network fluctuations, the channel usage duration of the first port needs to be greater than the channel usage duration of the second port. Therefore, the controller determines the second proportion of the duration in the preset period as the channel usage duration of the first port, and determines the remaining duration of the preset period other than the second proportion as the channel usage duration of the second port. If the second proportion of the duration is greater than the remaining duration, and the channels of the first port and the second port are different, it can be determined that: in a preset period, the total channel usage duration of the first port is greater than the total channel usage duration of the second port.
[0129] In this embodiment, through the above process, it is possible to ensure that the channel usage time of the first port is longer than the channel usage time of the second port.
[0130] For example, Figure 6D This is a schematic diagram of the duration allocation in the second channel usage strategy provided by the embodiment of the present disclosure. Since the channel usage duration of the first port is exclusive to the channel of the first port, and the channel usage duration of the second port is exclusive to the channel of the second port, therefore, Figure 6D It is obvious that the channel usage time of the first port is longer than the channel usage time of the second port.
[0131] For example, assuming that the operating system of the first mobile device is an iOS operating system, the operating system of the second mobile device is an Android operating system, the first port is a WLAN port, and the second port is a P2P port, Figure 6D The first port's channel usage duration is the duration of the channel used by the WLAN port, and the second port's channel usage duration is the duration of the channel used by the P2P port. If the preset period is 500ms, the WLAN port's channel usage duration can be 300ms, and the P2P port's channel usage duration can be 200ms.
[0132] For example, assuming that the operating system of the first mobile device is an Android operating system, the operating system of the second mobile device is an IOS operating system, the first port is a P2P port, and the second port is a WLAN port, Figure 6D The first port's channel usage duration is the duration of the channel used by the P2P port, and the second port's channel usage duration is the duration of the channel used by the WLAN port. If the preset period is 500ms, the P2P port's channel usage duration can be 300ms, and the WLAN port's channel usage duration can be 200ms.
[0133] It should be noted that: Figure 6D The first channel usage strategy is described using two preset periods as an example, and is not intended to limit it.
[0134] In some embodiments, optionally, the method may further specifically include:
[0135] After the screen projection switch of the display device is turned on, periodically sending the monitoring detection request instruction to the target driver based on the preset period, so that the target driver applies for a channel of the target port based on the monitoring detection request instruction, wherein the target port is one of the first port and the second port;
[0136] Within the holding time of the channel of the target port, detecting whether the detection request sent by the target mobile device is received.
[0137] The target port may be one of the first port and the second port, which is not limited in this embodiment. The target driver may be a WIFI driver in the display device, or other driver, which is not limited in this embodiment. The target mobile device may be a mobile device with the same operating system as the first mobile device, or a mobile device with the same operating system as the second mobile device, which is not limited in this embodiment.
[0138] In this embodiment, after the screen projection switch of the display device is turned on, the controller can periodically send a monitoring detection request instruction to the target driver based on a preset period. After receiving the instruction, the target driver can apply for the channel of the target port based on the instruction. At the same time, within the channel retention time after the target port application is successful, it is detected whether the detection request sent by the target mobile device is received. Through the above process, it is possible to continuously determine whether the display device receives the detection request sent by the target mobile device within the preset period, which facilitates the subsequent display device discovery process, and after receiving the detection request, the controller executes the subsequent screen projection connection process according to the specific type of the operating system of the target mobile device.
[0139] In some embodiments, optionally, the method may further specifically include:
[0140] When it is detected that the holding time of the channel of the target port has been reached, the channel of the target port is released.
[0141] In this embodiment, when the controller detects that the holding time of the channel of the target port has been reached, the channel of the target port is released, so that other ports can use the channel, thereby reasonably using and allocating resources.
[0142] In some embodiments, optionally, the method may further specifically include:
[0143] After receiving the detection request of the first mobile device through the first port, it is determined that the display of the display device displays the projection data sent by the third mobile device, then the projection connection between the display device and the third mobile device is disconnected, wherein the operating system of the third mobile device is one of the operating system of the first mobile device and the operating system of the second mobile device.
[0144] Specifically, after the controller receives the detection request from the first mobile device through the first port, when it determines that the display of the display device displays the projection data sent by the third mobile device, it needs to disconnect the projection connection between the display device and the third mobile device to avoid affecting the subsequent projection connection between the first mobile device and the display device.
[0145] In this embodiment, through the above method, the screen projection connection that has been established before the detection request from the first mobile device is received through the first port can be automatically disconnected without affecting the normal use of the screen projection function.
[0146] In some embodiments, optionally, the method may further specifically include:
[0147] After receiving the detection request of the second mobile device through the second port, it is determined that the display of the display device displays the projection data sent by the fourth mobile device, then the projection connection between the display device and the fourth mobile device is disconnected, wherein the operating system of the fourth mobile device is one of the operating system of the first mobile device and the operating system of the second mobile device.
[0148] Specifically, after the controller receives the detection request from the second mobile device through the second port, when it determines that the display of the display device displays the projection data sent by the fourth mobile device, it needs to disconnect the projection connection between the display device and the fourth mobile device to avoid affecting the subsequent projection connection between the second mobile device and the display device.
[0149] In this embodiment, through the above method, the screen projection connection that has been established before the detection request from the second mobile device is received through the second port can be automatically disconnected without affecting the normal use of the screen projection function.
[0150] Figure 6E This is a schematic diagram of a process for issuing a monitoring probe request instruction provided by an embodiment of the present disclosure. For example, this process is described using a P2P port as an example:
[0151] 1. After the display device turns on the screen projection switch, the application layer sends a monitoring detection request instruction to the framework layer;
[0152] 2. The framework layer sends the monitoring probe request instruction to the network transition layer (wpa_supplicant);
[0153] 3. The network transition layer sends a monitoring probe request instruction to the target driver, which is willing to include the duration of this monitoring (assuming it is T) and the monitored channel;
[0154] 4. After receiving the monitoring probe request, the target driver applies for the channel of the target port. After the application is successful, it stays on the channel for a period of time T and notifies the network transition layer to start staying on the channel.
[0155] 5. In the channel maintenance phase, if the target driver receives a detection request sent by the target mobile device, it sends a detection response to the target mobile device, and the target mobile device successfully requests to discover the display device;
[0156] 6. The target driver ends the channel hold after the channel hold time T and notifies the network transition layer to end the hold;
[0157] 7. The network transition layer continues to send monitoring probe request instructions.
[0158] Specifically, Figure 6E The process shown in has been described in detail in the above embodiment and will not be repeated here.
[0159] Figure 7 A schematic diagram of an interaction process between a first mobile device, a second mobile device and a display device provided in an embodiment of the present disclosure. Figure 7 As shown, the display device first establishes a first screen projection connection with the first mobile device. Subsequently, after the controller receives a detection request from the second mobile device through the second port, it sends a detection response to the second mobile device and disconnects the first screen projection connection between the display device and the first mobile device, so as to facilitate the subsequent establishment of a second screen projection connection between the display device and the second mobile device, and finally continues to monitor the detection request using the first channel usage strategy. Figure 7 The remaining steps have been described in detail in the above embodiment and will not be repeated here.
[0160] In summary, the present disclosure performs the above-mentioned screen projection connection method on the display device, and the controller of the display device first monitors the detection request with the first channel usage strategy, wherein the channel usage time of the first port in the first channel usage strategy is less than the channel usage time of the second port, and the detection request is used to request to discover the display device, the first port is used for the first mobile device to communicate with the display device, and the second port is used for the second mobile device to communicate with the display device, and the operating systems of the first mobile device and the second mobile device are different. Then, after receiving the detection request of the first mobile device through the first port, a detection response is sent to the first mobile device, and the data transmission is adjusted to the second channel usage strategy, wherein , the channel usage time of the first port in the second channel usage strategy is greater than the channel usage time of the second port, and finally, based on the screen projection protocol of the first mobile device and the first port, a first screen projection connection is established between the display device and the first mobile device, and the screen projection data sent by the first mobile device is received based on the first screen projection connection. Through the above technical solution, it is possible to be compatible with the screen projection methods corresponding to the two operating systems, which not only ensures that the second mobile device can quickly discover the display device, but also ensures that the first mobile device can stably transmit data after receiving the detection request from the first mobile device, and the corresponding display device can also stably display the screen projection data sent by the first mobile device, thereby achieving the effect of improving the performance of the two screen projection methods.
[0161] An embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned screen projection connection method and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0162] The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0163] The present disclosure provides a computer program product, comprising: when the computer program product is run on a computer, the computer is enabled to implement the above-mentioned screen projection connection method.
[0164] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion of some embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: The controller is configured as: Monitoring a probe request using a first channel usage policy, wherein a channel usage duration of a first port in the first channel usage policy is less than a channel usage duration of a second port, the probe request is used to request discovery of the display device, the first port is used for communication between a first mobile device and the display device, the second port is used for communication between a second mobile device and the display device, and the first mobile device and the second mobile device have different operating systems; After receiving a probe request from the first mobile device through the first port, sending a probe response to the first mobile device and adjusting data transmission to a second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port; Establishing a first screen projection connection between the display device and the first mobile device based on the screen projection protocol of the first mobile device and the first port, and receiving screen projection data sent by the first mobile device based on the first screen projection connection; The first channel usage strategy includes: Based on a preset period during which the display device sends the monitoring detection request, determining a first proportion of the preset period as a usage duration of a target channel, where the target channel is: a channel corresponding to the network connection when the display device establishes a network connection, and the target channel is a channel commonly used by the first port and the second port; The remaining duration in the preset period is determined as the usage duration of a preset channel used by the second port, where the preset channel is different from the target channel.
2. The display device according to claim 1, wherein The controller is further configured to: After receiving a probe request from the second mobile device through the second port, sending a probe response to the second mobile device and performing data transmission using the first channel usage policy; Based on the screen projection protocol of the second mobile device and the second port, a second screen projection connection is established between the display device and the second mobile device, and the screen projection data sent by the second mobile device is received based on the second screen projection connection.
3. The display device according to claim 1, wherein The second channel usage strategy includes: Based on the preset period, determining a second proportion of the duration in the preset period as a channel usage duration of the first port; The remaining duration in the preset period is determined as the channel usage duration of the second port, the second proportion of the duration is greater than the remaining duration, and the channel of the first port is different from the channel of the second port.
4. The display device according to claim 3, wherein The controller is further configured to: After the screen projection switch of the display device is turned on, periodically sending the monitoring detection request instruction to the target driver based on the preset period, so that the target driver applies for a channel of the target port based on the monitoring detection request instruction, wherein the target port is one of the first port and the second port; Within the holding time of the channel of the target port, detecting whether the detection request sent by the target mobile device is received.
5. The display device according to claim 4, wherein: The controller is further configured to: When it is detected that the holding time of the channel of the target port has been reached, the channel of the target port is released.
6. The display device according to claim 1, wherein The controller is further configured to: After receiving the detection request of the first mobile device through the first port, it is determined that the display of the display device displays the projection data sent by the third mobile device, then the projection connection between the display device and the third mobile device is disconnected, wherein the operating system of the third mobile device is one of the operating system of the first mobile device and the operating system of the second mobile device.
7. The display device according to any one of claims 1 to 6, characterized in that: The operating system of the first mobile device is an iOS operating system, and the operating system of the second mobile device is an Android operating system.
8. A screen projection connection method, characterized in that: include: Monitoring a probe request using a first channel usage policy, wherein a channel usage duration of a first port in the first channel usage policy is less than a channel usage duration of a second port, the probe request is used to request discovery of a display device, the first port is used for communication between a first mobile device and the display device, the second port is used for communication between a second mobile device and the display device, and the first mobile device and the second mobile device have different operating systems; After receiving a probe request from the first mobile device through the first port, sending a probe response to the first mobile device and adjusting data transmission to a second channel usage policy, wherein the channel usage time of the first port in the second channel usage policy is greater than the channel usage time of the second port; Establishing a first screen projection connection between the display device and the first mobile device based on the screen projection protocol of the first mobile device and the first port, and receiving screen projection data sent by the first mobile device based on the first screen projection connection; The first channel usage strategy includes: Based on a preset period during which the display device sends the monitoring detection request, determining a first proportion of the preset period as a usage duration of a target channel, where the target channel is: a channel corresponding to the network connection when the display device establishes a network connection, and the target channel is a channel commonly used by the first port and the second port; The remaining duration in the preset period is determined as the usage duration of a preset channel used by the second port, where the preset channel is different from the target channel.
9. The method according to claim 8, characterized in that The method further comprises: After receiving a probe request from the second mobile device through the second port, sending a probe response to the second mobile device and performing data transmission using the first channel usage policy; Based on the screen projection protocol of the second mobile device and the second port, a second screen projection connection is established between the display device and the second mobile device, and the screen projection data sent by the second mobile device is received based on the second screen projection connection.
Citation Information
Patent Citations
Display device and display method
CN112954419A
Screen projection processing method and device based on multi-protocol coexistence, intelligent terminal and medium
CN114125547A