Display device and screen projection processing method
By switching between the wireless LAN and peer-to-peer network of the display device in the Miracast scenario, obtaining the wireless LAN channel to reduce channel switching, the problems of slow screen projection device discovery and poor performance in the Miracast scenario are solved, and more efficient screen projection performance and user experience are achieved.
Patent Information
- Application Number
- CN202111146963.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2041-09-28
AI Technical Summary
In existing Miracast scenarios, the offline screen projection method cannot achieve normal network communication, while the time-sharing and uninterrupted screen projection method requires frequent channel switching during device discovery, resulting in slow screen projection device discovery, poor performance, and poor user experience.
The display device obtains the wireless LAN channel by switching between the wireless LAN and the peer-to-peer network, and enables the peer-to-peer network to access the wireless LAN channel during the switching process, reducing the number of channel switching times and improving the speed of screen projection device discovery.
Without disconnecting the network, the channel switching time is reduced, the discovery speed and performance of the projection device are improved, and the user experience is enhanced.
Smart Images

Figure CN115883625B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to communication technology, and more specifically, to a display device and a screen projection processing method. Background Art
[0002] With the development of screen projection technology, users have placed greater demands on display devices for their screen projection capabilities. Wireless-Fidelity (Wi-Fi) peer-to-peer (P2P) technology is the foundation of wireless screen projection, Miracast. P2P technology enables multiple Wi-Fi devices to form a P2P group and communicate with each other without being connected to the Internet. In Miracast applications, after a P2P-enabled mobile terminal successfully pairs with a P2P-enabled display device, it can transmit its screen or media resources to the TV for display or playback.
[0003] Currently, there are two main ways to discover screen projection devices in the Miracast scenario. One is the offline screen projection method. After entering the Miracast application, the normal network connection is disconnected. The mobile terminal and display device discover and connect to the screen projection device through the P2P specific channel in the Miracast scenario when the network is disconnected. The other is the online screen projection method, which adopts the P2P+Wireless Local Area Network (WLAN) time-sharing multiplexing mechanism. During the screen projection device search process, the network connection and the screen projection process coexist through channel time-sharing multiplexing and switching.
[0004] However, the offline screen casting method in the related technology cannot achieve normal network communication during the screen casting device discovery process, while the time-sharing and uninterrupted screen casting method requires the coexistence of P2P and WLAN during the device discovery process, and requires frequent channel switching, resulting in technical problems such as slow screen casting device discovery speed and poor performance, and poor user experience. Summary of the Invention
[0005] The exemplary implementation of the present application provides a display device and a screen projection processing method to solve the technical problems of the offline screen projection method in the related technology, in which normal network communication cannot be achieved during the screen projection device discovery process, and the time-sharing and uninterrupted screen projection method, in which P2P and WLAN coexist during the device discovery process and frequent channel switching is required, resulting in slow screen projection device discovery speed, poor performance, and poor user experience.
[0006] In a first aspect, an embodiment of the present application provides a display device, including:
[0007] The controller is configured as:
[0008] In response to a screen projection operation triggered by a user, entering a first working mode in which a wireless local area network and a peer-to-peer network are switched between each other;
[0009] In any first working mode, when the wireless local area network switches to the peer-to-peer network, obtaining a wireless local area network channel to which the wireless local area network is connected, and accessing the peer-to-peer network to the wireless local area network channel;
[0010] After completing the switch from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the wireless local area network channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
[0011] The display connected to the controller is used to display the projection content of the mobile terminal after establishing a projection connection with the mobile terminal.
[0012] Here, an embodiment of the present application provides a display device, including a controller and a display connected to the controller. After the user triggers the screen projection operation, the controller of the display device can realize the screen projection function without disconnecting the network by switching between the wireless local area network and the peer-to-peer network. For the first time, when the wireless local area network (WLAN) switches to the peer-to-peer network (P2P), the wireless local area network channel currently connected to the WLAN port is obtained, and the P2P port is connected to the wireless local area network channel so that P2P can follow the network channel of the WLAN. Therefore, when the display device realizes the switching from the WLAN port to the P2P port, there is no need for the internal controller of the display device to switch channels, thereby avoiding the time consumed by the controller switching from the radio frequency (RF) unit controlling the 5G channel of the WLAN to the 2.4G RF unit controlling the original P2P, thereby improving the discovery speed of the screen projection device, improving the screen projection performance, and further improving the user experience.
[0013] In one possible design, after the controller monitors the screen projection request on the wireless local area network channel connected through the peer-to-peer network to discover the mobile terminal to be projected, it is further configured to:
[0014] After a preset number of first working modes, the wireless local area network and the peer-to-peer network are switched to a second working mode;
[0015] In any second operating mode, accessing the peer-to-peer network to a 2.4 GHz channel;
[0016] After completing the switch from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
[0017] In one possible design, the controller is further configured to:
[0018] If a screen projection request sent by a mobile terminal is monitored, a screen projection reply is sent according to the screen projection request, so that the mobile terminal establishes a screen projection connection according to the screen projection reply.
[0019] In one possible design, the controller is further configured to:
[0020] If no screen projection request sent by the mobile terminal is monitored within the first preset time, the process of switching from the wireless local area network to the peer-to-peer network is stopped.
[0021] In a second aspect, an embodiment of the present application provides a mobile terminal, including:
[0022] The sending unit is used to send a screen projection request;
[0023] A monitoring unit is used to monitor screen projection replies, wherein the screen projection reply is a display device entering a first working mode of switching between a wireless local area network and a peer-to-peer network in response to a screen projection operation triggered by a user; within any first working mode, when the wireless local area network switches to the peer-to-peer network, the wireless local area network channel connected to the wireless local area network is obtained, and the peer-to-peer network is connected to the wireless local area network channel; after completing the switching from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the wireless local area network channel connected to the peer-to-peer network; if a screen projection request sent by a mobile terminal is monitored, a screen projection reply is sent according to the screen projection request.
[0024] Among them, the mobile terminal provided in the embodiment of the present application is used to send a screen projection request after the screen projection function is turned on, so that the display device sends a screen projection reply after receiving the screen projection request, thereby realizing the screen projection connection between the mobile terminal and the display device. When the screen projection function is turned on, the display device here controls the p2p listening channel (listen channel) used for listening to screen projection requests to follow the WLAN network channel, and there is no need for the display device controller to switch channels, which shortens the time for the mobile terminal with the screen projection function turned on and the display device to discover each other, further improves the efficiency of discovery between projection devices, and improves the user experience.
[0025] In a third aspect, an embodiment of the present application provides a screen projection processing method, which is applied to a display device, including:
[0026] In response to a screen projection operation triggered by a user, entering a first working mode in which a wireless local area network and a peer-to-peer network are switched between each other;
[0027] In any first working mode, when the wireless local area network switches to the peer-to-peer network, obtaining a wireless local area network channel to which the wireless local area network is connected, and accessing the peer-to-peer network to the wireless local area network channel;
[0028] After completing the switch from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the wireless local area network channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
[0029] In one possible design, after monitoring a screen projection request on a wireless local area network channel connected via the peer-to-peer network to discover a mobile terminal to be projected, the method further includes:
[0030] After a preset number of first operating modes, entering a second operating mode in which the wireless local area network and the peer-to-peer network are switched; in any second operating mode, accessing the peer-to-peer network to a 2.4 GHz channel;
[0031] After completing the switch from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
[0032] In one possible design, the method further includes:
[0033] If a screen projection request sent by a mobile terminal is monitored, a screen projection reply is sent according to the screen projection request, so that the mobile terminal establishes a screen projection connection according to the screen projection reply.
[0034] In one possible design, the method further includes:
[0035] If no screen projection request sent by the mobile terminal is monitored within the first preset time, the process of switching from the wireless local area network to the peer-to-peer network is stopped.
[0036] In a fourth aspect, an embodiment of the present application provides a screen projection processing method, which is applied to a mobile terminal, including:
[0037] Send screen projection request;
[0038] Listen for screen projection replies, wherein the screen projection reply is the display device entering a first working mode of switching between the wireless LAN and the peer network in response to the screen projection operation triggered by the user; in any first working mode, when the wireless LAN switches to the peer network, obtain the wireless LAN channel connected to the wireless LAN, and connect the peer network to the wireless LAN channel; after completing the switching from the wireless LAN to the peer network, monitor the screen projection request through the wireless LAN channel connected to the peer network; if the screen projection request sent by the mobile terminal is monitored, send a screen projection reply according to the screen projection request.
[0039] The display device and screen projection processing method provided in the embodiments of the present application can realize the screen projection function without disconnecting the network by switching between the wireless local area network and the peer-to-peer network after the user triggers the screen projection operation. For the first time, when the wireless local area network (WLAN) is switched to the peer-to-peer network (P2P), the wireless local area network channel currently connected to the WLAN port is obtained, and the P2P port is connected to the wireless local area network channel so that P2P can follow the network channel of the WLAN. Therefore, when the display device realizes the switching from the WLAN port to the P2P port, there is no need for the internal controller of the display device to switch channels, thereby avoiding the time consumption caused by the controller switching from the radio frequency (RF) unit controlling the 5G channel of the WLAN to the 2.4G RF unit controlling the original P2P, thereby improving the discovery speed of the screen projection device, improving the screen projection performance, and further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the implementation methods in the embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0041] Figure 1 Schematic diagram illustrating an operation scenario between a display device and a control device according to some embodiments;
[0042] Figure 2 exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0043] Figure 3 exemplarily shows a hardware configuration block diagram of the control device 100 according to some embodiments;
[0044] Figure 4 exemplarily shows a schematic diagram of software configuration in the display device 200 according to some embodiments;
[0045] Figure 5 exemplarily shows a schematic diagram of an icon control interface display of an application in a display device 200 according to some embodiments;
[0046] Figure 6 The flowchart of the screen projection processing method according to some embodiments is shown in FIG. Figure 1 ;
[0047] Figure 7The figure shows an exemplary diagram of the network and channel switching structure of the display device in the screen casting discovery phase according to some embodiments. Figure 1 ;
[0048] Figure 8 The figure shows an exemplary diagram of the network and channel switching structure of the display device in the screen casting discovery phase according to some embodiments. Figure 2 ;
[0049] Figure 9 The flowchart of the screen projection processing method according to some embodiments is shown in FIG. Figure 2 ;
[0050] Figure 10 The interactive process diagram of the screen projection processing method according to some embodiments is shown in FIG. Figure 1 . DETAILED DESCRIPTION
[0051] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0052] All other embodiments derived by persons of ordinary skill in the art based on the exemplary embodiments described herein without inventive effort are within the scope of protection of the claims appended hereto. Furthermore, although the disclosure herein is presented based on one or more exemplary embodiments, it should be understood that each aspect of the disclosure may constitute a complete embodiment on its own.
[0053] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.
[0054] In the specification and claims of this application and the drawings, the terms "first," "second," "third," etc. are used to distinguish similar or similar objects or entities, and are not necessarily intended to limit a particular order or precedence, unless otherwise indicated. It should be understood that the terms used in this manner are interchangeable under appropriate circumstances, for example, they can be implemented in an order other than those given in the drawings or descriptions of the embodiments of this application.
[0055] In addition, the terms "comprise" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0056] The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0057] As used herein, the term "remote control" refers to a component of an electronic device (such as the display device disclosed herein) that is capable of wirelessly controlling the electronic device, typically over a short distance. It typically connects to the electronic device using infrared and / or radio frequency (RF) signals and / or Bluetooth, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors. For example, a handheld touch remote control replaces most of the physical built-in hard keys found in conventional remote controls with a touchscreen user interface.
[0058] The term "gesture" used in this application refers to a user's behavior of expressing an intended idea, action, purpose, or result through a change in hand shape or hand movement.
[0059] Figure 1 is a schematic diagram of an operation scenario between a display device and a control device according to one or more embodiments of the present application, such as Figure 1 As shown, a user can operate the display device 200 through a mobile terminal 300 and a control device 100. The control device 100 can be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, etc. In some embodiments, a mobile terminal, tablet computer, computer, laptop computer, and other smart devices can also be used to control the display device 200.
[0060] In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and 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 300 can also be transmitted to the display device 200 to achieve a synchronous display function. The display device 200 also communicates data with the server 400 through a variety of communication methods. The display device 200 can be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. 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. In addition to providing a broadcast receiving television function, the display device 200 can also provide an intelligent network TV function that provides computer support functions.
[0061] Figure 2 FIG. 1 exemplarily shows a configuration block diagram of the control device 100 according to an exemplary embodiment. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 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.
[0062] Figure 3 FIG. 2 shows a hardware configuration block diagram of a display device 200 according to an exemplary embodiment. Figure 3The 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 280. The controller includes a central processing unit (CPU), 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 (LCD), an OLED display, a touch display, and a projection display, and can also be a projection device and 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 detector 230 is used to collect signals from the external environment or external interactions. The controller 250 and tuner and demodulator 210 can be located in different separate devices, that is, the tuner and demodulator 210 can also be located in a device external to the main device where the controller 250 is located, such as an external set-top box.
[0063] 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.
[0064] In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user. It enables the conversion between the internal form of information and a form acceptable to the user. A common form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed graphically. It can be an interface element such as an icon, window, or control displayed on the display of an electronic device. A control can include at least one of the following visual interface elements: an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, widget, etc.
[0065] Figure 4 FIG. 1 is a schematic diagram of software configuration in a display device 200 according to one or more embodiments of the present application. Figure 4As shown, the system is divided into four layers: from top to bottom, the Applications layer (referred to as the "Application layer"), the Application Framework layer (referred to as the "Framework layer"), the Android runtime and system library layer (referred to as the "System Runtime Library layer"), and the Kernel layer. The Kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, Wi-Fi driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver.
[0066] Figure 5 FIG. 1 is a schematic diagram showing an icon control interface of an application in a display device 200 according to one or more embodiments of the present application. Figure 5 As 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.
[0067] In Miracast applications, after a P2P-enabled mobile terminal successfully pairs with a P2P-enabled display device, it can transmit its screen or media resources to the TV for display or playback. With P2P technology, direct connections between Wi-Fi devices greatly expand the use cases of Wi-Fi technology. Currently, devices can achieve screen projection connection through the Miracast application. After entering the Miracast application, the normal network connection is disconnected, related network tasks are terminated, and the display device receives and sends the mobile terminal's screen projection signal through the P2P port. However, this method cannot achieve normal network communication during the screen projection device discovery process.
[0068] To ensure screen projection without losing network connection, related technologies have proposed continuous network projection technology, which allows users to complete screen projection at any time while using the network. However, this places high demands on the performance of the Wi-Fi module. Current continuous network projection technology requires frequent channel switching, resulting in slow screen projection device detection, poor performance, and a poor user experience.
[0069] In order to solve the above problems, an embodiment of the present application provides a display device and a screen projection processing method, wherein the method mainly targets the screen projection device discovery stage, and reduces the frequent channel switching by following the WLAN through the P2P channel, thereby increasing the occupancy time of the P2P port in disguise, thereby improving the screen projection device discovery speed and screen projection performance.
[0070] The following specific embodiments are used to describe the technical solution of the present application in detail. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0071] First, some of the special terms that appear in the embodiments of this application are explained:
[0072] Peer to Peer (P2P): A peer-to-peer network, also known as a peer-to-peer computer network, is a distributed application architecture that distributes tasks and workloads among peers. It is a networking or network form formed by the peer-to-peer computing model at the application layer.
[0073] Wireless Local Area Network (WLAN): It is a very convenient data transmission system that uses radio frequency (RF) technology and electromagnetic waves for network transmission.
[0074] 5GHz wireless technology: It is a new wireless protocol with much stronger frequency, speed and anti-interference than 2.4GHz. Although the wireless signal is different, devices that support 2.4GHz can generally be searched today.
[0075] 2.45GHz wireless technology: is a short-range wireless transmission technology. 2.4GHz refers to an operating frequency band. 2.4GHz is a publicly and generally used wireless frequency band and is a technology used for short-range wireless transmission and conduction.
[0076] The screen projection between a mobile terminal and a display device needs to go through two processes: device discovery and device connection. Users can project the display content of the mobile terminal to the display device through the mobile terminal or control device to obtain a better user experience. Taking P2P screen projection technology as an example, the user opens the screen projection application in the display device, and the P2P port of the display device begins to scan and listen alternately. At this time, the user opens the search screen projection device function in the mobile terminal, and the mobile terminal begins to scan and listen alternately. When the mobile terminal is scanning, the display device happens to be listening in the same channel, and the display device will respond to the request of the mobile terminal. At this time, the logo of the display device will appear on the user's mobile phone interface. The user clicks to connect to realize the screen projection connection between the mobile terminal and the display device, and the content of the user's mobile terminal can also be displayed on the display device accordingly. During the device discovery phase, the relevant technology adopts a P2P+WLAN time-sharing multiplexing mechanism. During a device discovery, that is, the process of searching for mobile terminals that can be connected for screen projection, the P2P port and the WLAN port occupy module resources in a certain proportion over a period of time. In this way, during normal WLAN use, P2P-related work can be carried out in the background, so that there is no need to use a specific Miracast projection APP as the projection entrance and disconnect the normal wireless network connection. The network can still remain connected while Miracast projection is being performed, and network downloads and other operations can continue in the background.
[0077] In related technologies, when the display device is in a normal network connection state and the WLAN connection is at 5GHz, if the display device triggers the screen projection function, the display device enters the screen projection device discovery phase, and needs to discover the screen projection device through the P2P port. The P2P protocol requires a device discovery phase (Discovery phase), and the network monitors and scans on 2.4GHz channels 1, 6, and 11. When the display device switches the network from WLAN to P2P, it needs to implement channel conversion, switching the controller of the display device from the RF radio unit that controls the 5G channel to the RF radio unit that controls the 2.4G channel. During the network time-division multiplexing phase, the frequent channel switching of the display device increases the device discovery time and reduces the P2P performance.
[0078] For example, if the WLAN is connected to a 5GHz channel (here, channel 149 in the 5GHz channel is taken as an example, in actual application scenarios, it can be any channel in the 5GHz channel), when switching from WLAN to P2P, the network channel needs to be switched from channel 149 to the 2.4GHz P2P monitoring channel (here, channel 6 in the 2.4GHz channel is taken as an example, in actual application scenarios, it can be any channel in the 2.4GHz channel). The module needs to switch the controller from the RF unit controlling channel 149 to the RF radio frequency unit controlling channel 6. During this process, the display device needs to perform a channel switch, and when switching the network from P2P to WLAN, another channel switch is required. Similarly, frequent channel switching is required in the P2P+WLAN time-sharing multiplexing stage. Therefore, the embodiment of the present application solves the time loss caused by continuous network projection by avoiding frequent channel switching.
[0079] Figure 6 The flowchart of the screen projection processing method according to some embodiments is shown in FIG. Figure 1 , the execution subject of this embodiment can be Figure 1 The display device 200 or the controller of the display device 200 in the embodiment shown. Figure 6 As shown, the method includes:
[0080] S601: In response to a screen projection operation triggered by a user, enter a first working mode in which a wireless local area network and a peer-to-peer network are switched between each other.
[0081] In some embodiments, the user can trigger the screen projection operation through the display interface of the display device, or trigger the screen projection function through a control device connected to the display device, such as a remote control, or trigger the screen projection operation through language wake-up.
[0082] Among them, in the embodiment of the present application, after the user triggers the screen projection operation, the display device can enter the first working mode of switching between WLAN and P2P. In this first working mode, the display device realizes normal network connection through network switching in WLAN to ensure uninterrupted network connection of the display device. When the network switches to P2P, the screen projection request is monitored through the P2P channel to realize the screen projection function.
[0083] S602: In any first working mode, when the wireless local area network switches to the peer-to-peer network, obtain a wireless local area network channel connected to the wireless local area network, and connect the peer-to-peer network to the wireless local area network channel.
[0084] The wireless local area network channel of the WLAN connection is a 5GHz frequency band channel. Here, for example, channel 149 is used. If the current WLAN connection is channel 149, when switching networks, the P2P connection is first connected to channel 149. When the P2P connection is on channel 149, when the display device switches from WLAN to P2P, it only needs to switch networks, not channels, saving time.
[0085] Among them, when the display device provided in the embodiment of the present application switches from WIAN to P2P network, it first obtains the wireless local area network channel of the WLAN connection, and directly connects P2P to this wireless local area network channel to realize the switching of the display device network. Under this operation, the P2P channel always follows the WLAN channel, and the display device does not need to switch the network channel.
[0086] exemplary, Figure 7 The figure shows an exemplary diagram of the network and channel switching structure of the display device in the screen casting discovery phase according to some embodiments. Figure 1 ,like Figure 7 As shown, taking the three first working modes of the display device performing screen casting discovery as an example, in a first working mode, the WLAN network accesses the wireless LAN channel. When the WLAN network switches to the P2P network, the P2P network also accesses the wireless LAN channel and implements the monitoring of the screen casting request on the wireless LAN channel. After the end of a first working mode, the P2P network switches to the WLAN network. In the next first working mode, the process of switching from the WLAN network to the P2P network is still executed, as shown in FIG. Figure 7 As shown, even if the network of the display device switches between WLAN and P2P, the channel of the display device is always connected to the wireless LAN channel. The controller of the display device does not need to perform RF adjustment and channel switching. Therefore, the time loss caused by frequent channel switching is reduced, the occupancy time of the P2P port is increased, and the discovery speed of the projection device is improved.
[0087] In some embodiments, in the first working mode, the display device may switch the network from WLAN to P2P every first preset occupancy time, and switch the network from P2P to WLAN every second preset occupancy time.
[0088] In some embodiments, to further ensure network quality, the first preset occupancy time is greater than the second preset occupancy time to increase the occupancy time of the WLAN.
[0089] In some embodiments, in order to increase the discovery speed of the screen projection device, the first preset occupancy time is less than the second preset occupancy time to increase the P2P occupancy time.
[0090] It can be understood that the first preset occupancy time and the second preset occupancy time here can be determined according to actual conditions, and the embodiment of the present application does not impose any specific limitations.
[0091] S603: After completing the switch from the wireless local area network to the peer-to-peer network, monitor the screen projection request through the wireless local area network channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
[0092] In an embodiment of the present application, the display device monitors screen projection requests when each P2P port occupies the network to detect screen projection requests.
[0093] In some embodiments, the display device monitors the screen projection request when each P2P port occupies the network, so that the mobile terminal can discover the display device through this screen projection request, further improving the success rate of screen projection.
[0094] In some embodiments, the method further comprises:
[0095] After every preset number of first working modes, the second working mode in which the wireless LAN and the peer network are switched between each other is entered; in any second working mode, the peer network is connected to the 2.4 GHz channel; after completing the switching from the wireless LAN to the peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer network to discover the mobile terminal to be projected.
[0096] Here, the embodiment of the present application also provides a second way of network switching of the display device. In the second working mode, when the network is switched from WLAN to P2P, P2P is connected to the 2.4GHz channel according to the original P2P channel, so that it can be compatible with mobile terminals that do not support the 5GHz frequency band, and can receive screen projection requests sent by mobile terminals that do not support the 5G frequency band. This solves the problem that some mobile terminals do not support the 5GHz frequency band, while the WLAN of the display device is connected to the 5G channel, and P2P follows the WLAN channel, causing the mobile terminal to be unable to detect the display device. This further improves the compatibility and reliability of the screen projection function of the display device and improves the user experience.
[0097] The preset number can be determined according to actual conditions, for example, the second working mode can be entered once every first working mode, or the second working mode can be entered once every five first working modes. This embodiment of the present application does not impose any specific restrictions on this.
[0098] In some embodiments, after the screen projection function is enabled, the display device may first enter a first operating mode, and if no screen projection request is received within a preset scan time, enter a second operating mode. The preset scan time can be determined based on actual conditions and is not specifically limited in the present embodiment.
[0099] In some embodiments, the display device can alternately enter the first working mode and the second working mode after turning on the screen projection function. For example, after executing the first working mode for the first few times, it executes the second working mode for the second few times, then executes the first working mode for the third few times, then executes the second working mode for the fourth few times, and so on. The first number, the second number, the third number and the fourth number can be determined according to actual conditions, and the first number, the second number, the third number and the fourth number can be the same or different, and the comparison in the embodiments of the present application does not impose specific restrictions.
[0100] exemplary, Figure 8 The figure shows an exemplary diagram of the network and channel switching structure of the display device in the screen casting discovery phase according to some embodiments. Figure 2 ,like Figure 8 As shown, taking the screen projection device executing 3 switching cycles as an example, in the first switching cycle, the process of the first working mode is executed, the WLAN network accesses the wireless LAN channel, and when the WLAN network switches to the P2P network, the P2P network also accesses the wireless LAN channel and implements monitoring of screen projection requests in the wireless LAN channel. After the end of the first working mode, the P2P network switches to the WLAN network. In the next switching cycle, the process of the second working mode is executed. If the WLAN is in the wireless LAN channel at this time, when the network is switched from WLAN to P2P, P2P accesses the 2.4GHz channel and implements monitoring of screen projection requests at 2.4GHz, so that the screen projection requests sent by mobile terminals that do not support the 5GHz frequency band can be identified. After the second switching cycle ends, the P2P network switches to the WLAN network. In the next switching cycle, the first working mode is still executed, which not only reduces the frequent switching of channels, improves the efficiency of screen projection device discovery, but also achieves compatibility.
[0101] The screen projection processing method provided in the embodiment of the present application can realize the screen projection function without disconnecting the network by switching between the wireless local area network and the peer-to-peer network after the user triggers the screen projection operation. For the first time, when the wireless local area network (Wireless Local Area Networks; WLAN) switches to the peer-to-peer network (Peer to Peer, P2P), the wireless local area network channel currently connected to the WLAN port is obtained, and the P2P port is connected to the wireless local area network channel so that P2P can follow the network channel of the WLAN. Therefore, when the display device realizes the switching from the WLAN port to the P2P port, there is no need for the internal controller of the display device to switch channels, thereby avoiding the time-consuming switching of the controller from the radio frequency (Radio Frequency, RF) unit that controls the 5G channel of the WLAN to the 2.4G RF unit that controls the original P2P, thereby improving the discovery speed of the screen projection device, improving the screen projection performance, and further improving the user experience.
[0102] In some embodiments, if the display device monitors a screen projection request sent by a mobile terminal, it sends a screen projection reply according to the screen projection request, so that the mobile terminal establishes a screen projection connection according to the screen projection reply.
[0103] Among them, in order to enable the mobile terminal requesting screen projection to discover the display device, the display device sends a screen projection reply according to the received screen projection request. After receiving the screen projection reply, the mobile terminal can establish a screen projection connection with the display device to complete the screen projection process.
[0104] In some embodiments, if no screen projection request sent by the mobile terminal is monitored within the first preset time, the process of switching from the wireless local area network to the peer-to-peer network is stopped.
[0105] It is understandable that the first preset time here can be determined according to actual conditions, and is not specifically limited in comparison with the embodiments of the present application.
[0106] In order to save energy consumption of the display device and ensure the quality of the display device network, if the screen projection request cannot be monitored within a certain period of time, the display device can automatically turn off the screen projection function and fix the network connection to the WLAN port, avoiding power consumption and network delays caused by the inability to project screen or the lack of mobile terminal projection, further improving the user experience.
[0107] Figure 9 The flowchart of the screen projection processing method according to some embodiments is shown in FIG. Figure 2 , the execution subject of this embodiment can be Figure 1 The mobile terminal 300 or the processor of the mobile terminal 300 in the embodiment shown. Figure 9 As shown, the method includes:
[0108] S901: Send screen projection request.
[0109] S902: Monitor the screen projection response.
[0110] Among them, the screen projection reply is that the display device responds to the screen projection operation triggered by the user and enters the first working mode of switching between the wireless LAN and the peer network; in any first working mode, when the wireless LAN is switched to the peer network, the wireless LAN channel connected to the wireless LAN is obtained, and the peer network is connected to the wireless LAN channel; after completing the switching from the wireless LAN to the peer network, the screen projection request is monitored through the wireless LAN channel connected to the peer network; if the screen projection request sent by the mobile terminal is monitored, the screen projection reply is sent according to the screen projection request.
[0111] Figure 10 The interactive process diagram of the screen projection processing method according to some embodiments is shown in FIG. Figure 1 ,like Figure 10 As shown, the method includes:
[0112] S1001: The display device enters a first working mode of switching between a wireless local area network and a peer-to-peer network in response to a screen projection operation triggered by a user.
[0113] S1002: The display device, in any first working mode, obtains a wireless local area network channel connected to the wireless local area network when the wireless local area network switches to a peer-to-peer network, and connects the peer-to-peer network to the wireless local area network channel.
[0114] S1003: The mobile terminal sends a screen projection request.
[0115] S1004: After completing the switch from the wireless local area network to the peer-to-peer network, the display device monitors the screen projection request through the wireless local area network channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
[0116] S1005: The mobile terminal monitors the screen projection response.
[0117] After step S1005, the method further includes:
[0118] If the display device monitors the screen projection request sent by the mobile terminal, it will send a screen projection response according to the screen projection request.
[0119] The mobile terminal receives the screen projection reply and establishes a screen projection connection based on the screen projection reply.
[0120] In some embodiments, the order of the above steps S1003, S1004 and step S1005 can be replaced, and the mobile terminal can send a screen projection request and listen for a screen projection reply at any time. The embodiments of the present application do not impose any specific restrictions.
[0121] An embodiment of the present application further provides a display device, including: a controller and a display connected to the controller.
[0122] Among them, the controller is configured to: enter a first working mode in which the wireless LAN and the peer network switch between each other in response to a screen projection operation triggered by the user; in any first working mode, when the wireless LAN switches to the peer network, obtain the wireless LAN channel connected to the wireless LAN and connect the peer network to the wireless LAN channel; after completing the switching from the wireless LAN to the peer network, monitor the screen projection request through the wireless LAN channel connected to the peer network to discover the mobile terminal to be projected.
[0123] The display connected to the controller is used to display the projection content of the mobile terminal after establishing a projection connection with the mobile terminal.
[0124] In some embodiments, after the controller monitors the screen projection request through the wireless local area network channel connected by the peer-to-peer network to discover the mobile terminal to be projected, it is also used to: enter the second working mode in which the wireless local area network and the peer-to-peer network are switched between each other every preset number of first working modes; in any second working mode, connect the peer-to-peer network to the 2.4 GHz channel; and after completing the switching from the wireless local area network to the peer-to-peer network, monitor the screen projection request through the 2.4 GHz channel connected by the peer-to-peer network to discover the mobile terminal to be projected.
[0125] In some embodiments, the controller is also used to send a screen projection response according to the screen projection request if it monitors a screen projection request sent by the mobile terminal, so that the mobile terminal establishes a screen projection connection according to the screen projection response.
[0126] In some embodiments, the controller is further configured to stop executing the process of switching from the wireless local area network to the peer-to-peer network if no screen projection request sent by the mobile terminal is monitored within a first preset time.
[0127] An embodiment of the present application also provides a mobile terminal, including: a sending unit and a monitoring unit.
[0128] Among them, the sending part is used to send a screen projection request.
[0129] The monitoring unit is used to monitor the screen projection response.
[0130] Among them, the screen projection reply is that the display device responds to the screen projection operation triggered by the user and enters the first working mode of switching between the wireless LAN and the peer network; in any first working mode, when the wireless LAN is switched to the peer network, the wireless LAN channel connected to the wireless LAN is obtained, and the peer network is connected to the wireless LAN channel; after completing the switching from the wireless LAN to the peer network, the screen projection request is monitored through the wireless LAN channel connected to the peer network; if the screen projection request sent by the mobile terminal is monitored, the screen projection reply is sent according to the screen projection request.
[0131] The mobile terminal provided in the embodiment of the present application is used to send a screen projection request after the screen projection function is turned on, so that the display device sends a screen projection reply after receiving the screen projection request, thereby realizing the screen projection connection between the mobile terminal and the display device. When the screen projection function is turned on, the display device here controls the p2p listening channel (listen channel) used for listening to screen projection requests to follow the WLAN network channel, and there is no need for the display device controller to switch channels, which shortens the time for the mobile terminal with the screen projection function turned on and the display device to discover each other, further improves the efficiency of discovery between projection devices, and improves the user experience.
[0132] The mobile terminal provided in the embodiment of the present application can be used in conjunction with the above-mentioned display device embodiment to implement screen projection processing. The implementation principles and technical effects are similar and will not be repeated here in this embodiment.
[0133] An embodiment of the present application also provides a screen projection processing method, which is applied to the display device of the above embodiment, and the method includes: in response to a screen projection operation triggered by a user, entering a first working mode in which the wireless local area network and the peer network switch each other; in any first working mode, when the wireless local area network switches to the peer network, obtaining a wireless local area network channel connected to the wireless local area network, and connecting the peer network to the wireless local area network channel; after completing the switching from the wireless local area network to the peer network, monitoring the screen projection request through the wireless local area network channel connected to the peer network to discover the mobile terminal to be projected.
[0134] The screen projection processing method provided in the embodiment of the present application can be applied to the above-mentioned display device embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.
[0135] An embodiment of the present application also provides a screen projection processing method, which is applied to the mobile terminal of the above embodiment, including: sending a screen projection request; listening for a screen projection reply, wherein the screen projection reply is the display device responding to the screen projection operation triggered by the user, entering a first working mode of switching between the wireless local area network and the peer network; in any first working mode, when the wireless local area network is switched to the peer network, obtaining a wireless local area network channel connected to the wireless local area network, and connecting the peer network to the wireless local area network channel; after completing the switching from the wireless local area network to the peer network, monitoring the screen projection request through the wireless local area network channel connected to the peer network; if the screen projection request sent by the mobile terminal is monitored, sending a screen projection reply according to the screen projection request.
[0136] The screen projection processing method provided in the embodiment of the present application can be applied to the above-mentioned mobile terminal embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.
[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
[0138] For ease of explanation, the above description has been presented in conjunction with specific embodiments. However, the above exemplary discussion 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 are possible. The above embodiments have been selected and described to better explain the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: The controller is configured as: In response to a screen projection operation triggered by a user, entering a first operating mode in which a wireless local area network and a peer-to-peer network are switched between each other; within any first operating mode, when the wireless local area network is switched to the peer-to-peer network, obtaining a wireless local area network channel connected to the wireless local area network, and connecting the peer-to-peer network to the wireless local area network channel; After completing the wireless LAN switch to the peer-to-peer network, monitor the screen projection request through the wireless LAN channel connected to the peer-to-peer network to discover the mobile terminal to be projected; wherein the wireless LAN channel is a channel in the 5GHz frequency band; A display connected to the controller, configured to display the projection content of the mobile terminal after establishing a projection connection with the mobile terminal; After monitoring the screen projection request on the wireless local area network channel connected via the peer-to-peer network to discover the mobile terminal to be projected, the controller is further configured to: After a preset number of first working modes, the wireless local area network and the peer-to-peer network are switched to a second working mode; In any second operating mode, accessing the peer-to-peer network to a 2.4 GHz channel; After completing the switch from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
2. The display device according to claim 1, wherein The controller is also used to: If a screen projection request sent by a mobile terminal is monitored, a screen projection reply is sent according to the screen projection request, so that the mobile terminal establishes a screen projection connection according to the screen projection reply.
3. The display device according to claim 1, wherein The controller is also used to: If no screen projection request sent by the mobile terminal is monitored within the first preset time, the process of switching from the wireless local area network to the peer-to-peer network is stopped.
4. A mobile terminal, characterized in that: include: The sending unit is used to send a screen projection request; A monitoring unit is used to monitor screen projection replies, wherein the screen projection reply is a display device entering a first working mode in which the wireless LAN and the peer-to-peer network are switched in response to a screen projection operation triggered by a user; in any first working mode, when the wireless LAN is switched to the peer-to-peer network, the wireless LAN channel connected to the wireless LAN is obtained, and the peer-to-peer network is connected to the wireless LAN channel; after completing the switching from the wireless LAN to the peer-to-peer network, the screen projection request is monitored through the wireless LAN channel connected to the peer-to-peer network; after every preset number of first working modes, a second working mode in which the wireless LAN and the peer-to-peer network are switched is entered; in any second working mode, the peer-to-peer network is connected to a 2.4 GHz channel; after completing the switching from the wireless LAN to the peer-to-peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer-to-peer network; if a screen projection request sent by a mobile terminal is monitored, a screen projection reply is sent according to the screen projection request, wherein the wireless LAN channel is a channel in the 5 GHz frequency band.
5. A screen projection processing method, characterized in that: Applied to display devices, including: In response to a screen projection operation triggered by a user, entering a first working mode in which a wireless local area network and a peer-to-peer network are switched between each other; In any first working mode, when the wireless local area network switches to the peer-to-peer network, obtaining a wireless local area network channel to which the wireless local area network is connected, and accessing the peer-to-peer network to the wireless local area network channel; After completing the wireless LAN switch to the peer-to-peer network, monitor the screen projection request through the wireless LAN channel connected to the peer-to-peer network to discover the mobile terminal to be projected; wherein the wireless LAN channel is a channel in the 5GHz frequency band; After monitoring the screen projection request through the wireless local area network channel connected through the peer-to-peer network to discover the mobile terminal to be projected, the method further includes: After a preset number of first working modes, the wireless local area network and the peer-to-peer network are switched to a second working mode; In any second operating mode, accessing the peer-to-peer network to a 2.4 GHz channel; After completing the switch from the wireless local area network to the peer-to-peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer-to-peer network to discover the mobile terminal to be projected.
6. The method according to claim 5, characterized in that Also includes: If a screen projection request sent by a mobile terminal is monitored, a screen projection reply is sent according to the screen projection request, so that the mobile terminal establishes a screen projection connection according to the screen projection reply.
7. The method according to claim 5, characterized in that Also includes: If no screen projection request sent by the mobile terminal is monitored within the first preset time, the process of switching from the wireless local area network to the peer-to-peer network is stopped.
8. A screen projection processing method, characterized in that: Applied to mobile terminals, including: Send screen projection request; Listen for screen projection replies, wherein the screen projection reply is the display device entering a first working mode in which the wireless LAN and the peer network are switched in response to a screen projection operation triggered by the user; in any first working mode, when the wireless LAN is switched to the peer network, the wireless LAN channel connected to the wireless LAN is obtained, and the peer network is connected to the wireless LAN channel; after completing the switching from the wireless LAN to the peer network, the screen projection request is monitored through the wireless LAN channel connected to the peer network; after every preset number of first working modes, the second working mode in which the wireless LAN and the peer network are switched is entered; in any second working mode, the peer network is connected to the 2.4 GHz channel; after completing the switching from the wireless LAN to the peer network, the screen projection request is monitored through the 2.4 GHz channel connected to the peer network; if a screen projection request sent by the mobile terminal is monitored, a screen projection reply is sent according to the screen projection request, wherein the wireless LAN channel is a channel in the 5 GHz frequency band.
Citation Information
Patent Citations
Channel determination method and device, terminal equipment and computer readable storage medium
CN112702803A
Miracast background resident channel following method
CN112954447A