Screen transmission equipment
By setting up a controller in the WIFI module of the screen transfer device and independently performing WIFI protocol interaction, the problem of the long startup time of the screen transfer device is solved, and a faster startup process and a better user experience is achieved.
Patent Information
- Application Number
- CN202311175767.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2025-03-14
AI Technical Summary
After powering on, existing screen transmission devices need to be connected through system startup, wireless connection and upper-layer applications, resulting in a long startup preparation time and poor user experience.
Design a screen transmission device, including a processor and a WIFI module, and a controller is set up in the WIFI module. When the controller recognizes that it is connected to an electronic device, it will independently perform the WIFI protocol interaction process, so as to quickly access the wireless LAN after the system is started successfully.
By independently performing WIFI protocol interaction in advance, the time for the processor to access the wireless LAN is reduced, the startup time of the screen transmission device is significantly shortened, and the user experience is improved.
Smart Images

Figure CN119620977A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to display technology, and more specifically, to a screen transmission device. Background Art
[0002] Screen transmission devices can transmit the content on the display screen of the user's electronic device (for example, laptops, tablets, desktop computers, and mobile phones, etc.) to the large screen, and are important media devices in screen transmission scenarios.
[0003] Currently, after the screen mirroring device is powered on, it needs to go through system startup, wireless fidelity (Wi-Fi) connection and upper-layer application connection establishment before it can prompt the user that it is ready. The startup preparation time of the screen mirroring device is long, and the user experience is not good. Summary of the invention
[0004] An exemplary embodiment of the present application provides a screen transmission device, which can reduce the startup preparation time of the screen transmission device, thereby improving the user experience.
[0005] In a first aspect, the present application provides a screen transmission device, the screen transmission device comprising a processor and a WIFI module, the WIFI module comprising a controller and a memory;
[0006] The memory is configured to: store first pairing information of a display device; the first pairing information is used to access a wireless local area network constructed by the display device;
[0007] The controller is configured to:
[0008] When identifying the connection to the electronic device, reading the first pairing information from the memory;
[0009] Performing WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result;
[0010] When the processor successfully loads the driver of the WIFI module, sending the WIFI protocol interaction result to the processor;
[0011] The processor is configured to: when identifying the connection to the electronic device, after successfully loading the driver of the WIFI module, access the wireless local area network according to the WIFI protocol interaction result.
[0012] In one embodiment, the processor is configured to:
[0013] After identifying and connecting to the display device, receiving the first pairing information sent by the display device; the first pairing information includes the first wireless local area network information of the display device and the identification of the display device;
[0014] The first pairing information is written into the memory.
[0015] In one embodiment, if the memory supports storing multiple pairing information, the processor is configured to:
[0016] determining, according to the identifier of the display device in the first pairing information, whether there is second pairing information with the same identifier in the memory;
[0017] If yes, update the second wireless local area network information in the second pairing information according to the first wireless local area network information; or use the second pairing information as the first pairing information;
[0018] If not, the first pairing information is written into the memory.
[0019] In one embodiment, the controller is configured to:
[0020] Scanning broadcast signals of surrounding wireless local area networks; the broadcast signals carry the identification of the wireless local area networks;
[0021] According to the broadcast signal and the pairing information stored in the memory, acquiring an identification of at least one display device matching the pairing information;
[0022] displaying, by the electronic device, the identification of the at least one display device;
[0023] Acquire an identification of a target display device from the identification of the at least one display device;
[0024] The pairing information corresponding to the target display device is used as the first pairing information.
[0025] In one embodiment, the controller is configured to:
[0026] If the identifier of the display device matching the pairing information is not obtained according to the broadcast signal and the pairing information stored in the memory, a prompt message indicating that the pairing information is missing is output.
[0027] In one embodiment, if the memory supports storing pairing information, the processor is configured to:
[0028] If it is determined that there is third pairing information in the memory that is different from the identifier of the display device in the first pairing information, the first pairing information is used to overwrite the third pairing information;
[0029] If it is determined that fourth pairing information identical with the identifier of the display device in the first pairing information exists in the memory, the third wireless LAN information in the fourth pairing information is updated according to the first wireless LAN information; or, the fourth pairing information is used as the first pairing information.
[0030] In one embodiment, the controller is configured to:
[0031] Scan the broadcast signals of surrounding wireless LANs;
[0032] If the broadcast signal corresponding to the first pairing information is not scanned, outputting a prompt message indicating that no display device capable of screen transmission is found;
[0033] Scan the broadcast signals of the surrounding wireless local area networks again until the WIFI protocol interaction with the display device is completed according to the first pairing information.
[0034] In one embodiment, the controller is configured to:
[0035] If the broadcast signal corresponding to the first pairing information is not scanned within the preset time, the scanning of the broadcast signal of the surrounding wireless local area network is stopped.
[0036] In one embodiment, the processor is configured to:
[0037] According to the WIFI protocol interaction result, obtaining the IP address of the display device;
[0038] Establishing a wireless connection with the display device based on the IP address;
[0039] A screen transmission channel is established with the display device based on a screen transmission protocol.
[0040] In a second aspect, the present application provides a screen transmission device, the screen transmission device comprising a processor and a WIFI module;
[0041] The processor is configured to: load the driver of the WiFi module after startup;
[0042] The WiFi module is configured to: when the processor executes kernel startup, perform WiFi protocol interaction with the display device according to the first pairing information to obtain a WiFi protocol interaction result; the first pairing information is used to access the wireless local area network constructed by the display device;
[0043] When the processor successfully loads the driver of the WIFI module, sending the WIFI protocol interaction result to the processor;
[0044] Wherein, when the processor is started, the WiFi module is started at the same time;
[0045] When the processor loads the driver of the WiFi module, the WiFi module interacts with the display device using a WiFi protocol.
[0046] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0047] In a fourth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0048] The screen transmission device and screen transmission method provided by the present application, the screen transmission device includes a processor and a WIFI module, the WIFI module includes a controller and a memory; the memory is configured to: store the first pairing information of the display device; the first pairing information is used to access the wireless local area network constructed by the display device; the controller is configured to: read the first pairing information from the memory when identifying the connection to the electronic device; perform WIFI protocol interaction with the display device according to the first pairing information to obtain the WIFI protocol interaction result; when the processor successfully loads the driver of the WIFI module, the WIFI protocol interaction result is sent to the processor; the processor is configured to: when identifying the connection to the electronic device, after successfully loading the driver of the WIFI module, access the wireless local area network according to the WIFI protocol interaction result. When the controller of the WIFI module identifies the connection to the electronic device, it autonomously executes the WIFI protocol interaction process in advance, thereby reducing the time for the processor to access the wireless local area network and reducing the startup time of the screen transmission device. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.
[0050] Figure 1 A schematic diagram of a screen transmission scenario provided for this application;
[0051] Figure 2 A schematic diagram of the hardware configuration of a display device provided in this application;
[0052] Figure 3A schematic diagram of the hardware configuration of a screen transmission device provided in this application;
[0053] Figure 4 Schematic diagram of the current screen transmission device startup process provided for this application;
[0054] Figure 5 A flowchart of a method for starting a screen transmission device provided in this application;
[0055] Figure 6 A comparative diagram of the screen transmission device startup process provided for this application;
[0056] Figure 7 A schematic diagram of the pairing process between the screen transmission device and the display device provided in this application;
[0057] Figure 8 Schematic diagram of the process of writing the first pairing information into the memory provided by this application Figure 1 ;
[0058] Fig. 9 Schematic diagram of the process of WiFi protocol interaction with the display device provided in this application Figure 1 ;
[0059] Fig.10 A schematic diagram of the interface for displaying prompt information provided for this application;
[0060] Fig.11 Schematic diagram of the process of writing the first pairing information into the memory provided by this application Figure 2 ;
[0061] Fig.12 Schematic diagram of the process of WiFi protocol interaction with the display device provided in this application Figure 2 ;
[0062] Fig.13 A schematic diagram of the structure of a screen transmission device provided in this application. DETAILED DESCRIPTION
[0063] 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, rather than all the embodiments.
[0064] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0065] In addition, the terms "include" 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 products or devices.
[0066] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0067] The screen transmission device can transmit the content on the display screen of the user's electronic device (for example, laptop computer, tablet computer, desktop computer and mobile phone, etc.) to the device with large screen display, and is an important media device in the screen transmission scenario.
[0068] Currently, since the screen mirroring device is a hot-swappable device, after the screen mirroring device is powered on, it needs to execute the system startup, Wi-Fi connection, and upper-layer application connection in sequence before it can prompt the user that it is ready for use.
[0069] The startup time of existing screen transmission devices is generally around 10 seconds, and the startup preparation time is relatively long, causing many users who use screen transmission devices for the first time to think that they can use the screen transmission devices directly after plugging them in without knowing it. They press the screen transmission button of the transmission device multiple times but fail to transmit the screen, resulting in a poor user experience.
[0070] In view of the above-mentioned problems existing in the prior art, the present application provides a screen transmission device, which can reduce the startup preparation time of the screen transmission device, thereby improving the user experience.
[0071] The following will describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems in conjunction with the accompanying drawings and specific embodiments. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0072] Figure 1 A schematic diagram of a screen transmission scenario provided in an embodiment of the present application, such as Figure 1 As shown, it includes an electronic device 100, a display device 200, and a screen transmission device 300.
[0073] When the screen transmission device 300 is connected to the electronic device 100 and starts up, the screen transmission device 300 can be connected to the wireless local area network (Wireless Local Area Network, Wlan) constructed by the display device 200, and transmit the display content on the display screen of the electronic device 100 to the display device 200 for display through the wireless local area network. The display content can be any type of display content such as video, image, presentation, etc. The wireless local area network constructed by the device 200 can also become the hotspot of the display device 200.
[0074] When the screen transmission device 300 is connected to the wireless LAN constructed by the display device 200, it is necessary to obtain information about the wireless LAN constructed by the display device 200, such as the name and password of the wireless LAN. The name of the wireless LAN can also be called the wireless LAN identifier or service set identifier (SSID), and the password is used for identity and authority verification when accessing the wireless LAN.
[0075] In some embodiments, when the screen transmission device 300 is connected to the wireless local area network constructed by the display device 200, it is also necessary to obtain the identification of the display device to be connected in order to connect to the desired display device.
[0076] Among them, the screen transmission device provided in the embodiment of the present application can also be a screen projection device, a screen projector, a wireless screen projector or a screen transmitter, a screen transmission treasure, etc. The screen transmission device can be connected to an electronic device (for example, a laptop) through an input / output interface (for example, a Universal Serial Bus (USB) interface, a USB Type-C interface, referred to as a type-C interface, etc.). When the screen transmission device is connected to an electronic device, it can be powered directly through the interface of the electronic device.
[0077] The electronic device provided in the embodiments of the present application may have a variety of implementation forms, for example, a laptop computer, a tablet computer, a desktop computer, and a mobile phone, etc., which is not limited in the embodiments of the present application.
[0078] The display device provided in the embodiment of the present application may have various implementation forms, for example, it may be a television, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc., and the embodiment of the present application is not limited to this.
[0079] The following introduces the possible hardware configurations of the display device and screen transmission device mentioned above.
[0080] Figure 2A possible hardware configuration diagram of a display device provided in this application. Figure 2 As shown, in some embodiments, the display device 200 may include 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.
[0081] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.
[0082] The display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from the controller, and display video content, image content, and menu control interface components and user control UI interface.
[0083] The display 260 can be a liquid crystal display, an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diode (QLED), and a projection display, etc. It can also be a projection device and a projection screen.
[0084] The communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0085] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.).
[0086] The detector 230 is used to collect signals from the external environment or the external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0087] The external device interface 240 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0088] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0089] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0090] 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. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0091] In some embodiments, the controller includes a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM Random Access Memory (RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0092] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0093] "User interface" is the medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users. The commonly used form of user interface is the Graphical User Interface (GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0094] Figure 3 A possible hardware configuration diagram of a screen transmission device provided in this application. Figure 2 As shown, in some embodiments, the screen transmission device 300 includes at least one of a signal input / output interface 310 , a processor 320 , a WIFI module 330 , and a user input / output interface 340 .
[0095] In some embodiments, the input / output interface 310 is used to connect external devices, such as electronic devices, display devices, etc., and may include one or more interfaces such as a USB interface, a type-C interface, a High Definition Multimedia Interface (HDMI) interface, etc.
[0096] The processor 320 can also be called the main control chip of the screen transmission device. It controls the operation of the screen transmission device and responds to user operations through various software control programs stored in the memory.
[0097] In some embodiments, the processor 320 interacts with other units in the screen transmission device through different interfaces to realize the screen transmission function. For example, the processor 320 interacts with the signal input / output interface 310 through the USB interface to obtain the signal input by the external device, and interacts with the WIFI module 330 through the secure digital input and output (SDIO) interface to connect to the wireless local area network.
[0098] In some embodiments, the processor 320 also includes multiple buses and interfaces for processing different types of signal transmissions, such as the Mobile Industry Processor Interface (MIPI), the Inter-Integrated Circuit (I2C), the Inter-IC Sound (I2S), etc.
[0099] In some embodiments, a signal converter is further provided between the processor 320 and the input / output interface 310. For example, when the input / output interface 310 is a type-C interface, the signal collected through the type-C interface can be converted to form a signal that can be recognized by the processor 320. For example, it can be converted into a MIPI type signal.
[0100] The WIFI module 330 is used to access the wireless local area network of the display device, transmit screen content, etc., and may include a WiFi module, a controller and a memory.
[0101] In some embodiments, the controller may be a microcontroller unit (MCU) for performing WiFi protocol interaction with the display device.
[0102] The user input / output interface 340 is used to receive user input commands and transmit information to the user, and may include a screen transmission control button, a light board, a screen transmission selection button, etc. For example, the screen transmission control button receives the user's screen transmission start command, and the light board transmits the screen transmission device start completion information to the user.
[0103] The above introduces the hardware configuration of the device involved in the embodiment of the present application. The following introduces the startup process of the screen transmission device in the prior art.
[0104] Figure 4 This is a schematic diagram of the startup process of the current screen transmission device, such as Figure 4 As shown, the startup of the screen transmission device mainly includes system startup, WIFI connection, upper-layer broadcast discovery and other steps.
[0105] When the screen transmission device is connected to the electronic device, the screen transmission device performs system startup. After the system is started, the processor of the screen transmission device executes the loading of the WiFi driver and the power-on process of the WiFi module.
[0106] The system startup includes Bootrom loading Bootloader, Bootloader loading Kernel, Kernel initializing power supply and clock, mounting file system, running inittrd and other steps before the system starts successfully.
[0107] After the WiFi module is powered on, the processor controls the WiFi module to perform WIFI connection, that is, to interact with the display device and connect to the wireless local area network constructed by the display device.
[0108] Among them, the WIFI connection includes the steps of configuration file reading, Wifi802.11 protocol interaction (hereinafter referred to as Wifi protocol interaction), and dynamic acquisition of IP by Dynamic Host Configuration Protocol (DHCP).
[0109] The configuration file reading may be for reading information such as the name and password of the local area network constructed for connecting the display device, and the Wifi802.11 protocol interaction may be for performing an identity authentication process for accessing the wireless local area network.
[0110] After the WIFI connection is successful, the processor can establish a screen transmission channel by interacting with the display device. The screen transmission device is ready and the startup process is completed.
[0111] Through the analysis of the startup process of the screen transmission device, the above startup process is based on the system being powered on, the system starting to start, and after the system startup is completed, the WIFI connection is executed. After the WIFI connection is successful, the upper-layer broadcast discovery is executed, and each step is executed in sequence to complete the startup of the screen transmission device.
[0112] During the startup of the screen transmission device, system startup is the first step of the entire startup process, which cannot be bypassed. The WIFI connection process is the longest process in the entire startup process. WIFI connection is actually the main control controlling the WIFI module to interact with the display device according to the WIFI protocol, and the connection with the display device is realized after the interaction is successful. If the time consumption of the WIFI connection process can be shortened, the startup time of the entire screen transmission device can be effectively reduced.
[0113] Based on the above analysis process, an embodiment of the present application provides a screen transmission device and a screen transmission method. By setting a controller in the WiFi module, after the screen transmission device is powered on, the WiFi module autonomously executes the WiFi protocol interaction process. After the system is successfully started, the processor can quickly connect to the wireless network constructed by the display device according to the WiFi protocol interaction results, thereby shortening the startup time of the entire screen transmission device and improving the user experience.
[0114] The technical solution of the present application will be described in detail below in conjunction with specific embodiments.
[0115] Figure 5 A flowchart of a method for starting a screen transmission device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method includes the following steps:
[0116] S501: When identifying that the device is connected to an electronic device, the controller reads first pairing information from a memory.
[0117] In the embodiment of the present application, the controller can be a microcontroller unit (MCU), also known as a single chip microcomputer or a single chip microcomputer, which appropriately reduces the frequency and specifications of the CPU, and integrates peripheral interfaces such as memory, counter, USB, A / D conversion, UART, PLC, DMA, and even LCD drive circuits on a single chip to form a chip-level computer.
[0118] The pairing information may be information used to establish a connection with the display device, and is usually used to find a communicating peer device. For example, the pairing information may include the name and password of the wireless local area network constructed by the display device.
[0119] In some embodiments, the pairing information may also include an identification of the display device, for example, a unique identification code of the display device.
[0120] The first pairing information may be pre-written into the memory. For example, before accessing the electronic device, the screen transmitter is connected to the display device, and the processor obtains the first pairing information from the display device and writes it into the memory.
[0121] The controller is provided with a relevant thread for identifying whether the connected device is an electronic device. For example, the controller is provided with a pairing detection thread. After the controller is powered on, the pairing detection thread executes to obtain pairing information. If the pairing information is not obtained, it is determined that the connected device is an electronic device, that is, it is identified that the device is connected to an electronic device. The controller reads the first pairing information from the memory.
[0122] S502: The controller performs WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result.
[0123] In the embodiment of the present application, the WIFI protocol interaction with the display device may be a process of identity authentication and authority authentication before joining the wireless local area network constructed by the display device, which is the longest step in the WiFi connection.
[0124] Exemplarily, when the controller obtains the first pairing information, it can scan the broadcast signal of the wireless local area network constructed by the display device, and perform WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result.
[0125] The WIFI protocol interaction with the display device complies with the international standard 802.11a standard protocol, which will not be described in detail in the embodiment of the present application.
[0126] S503: When the processor successfully loads the driver of the WIFI module, the controller sends the WIFI protocol interaction result to the processor.
[0127] In the embodiment of the present application, the controller can monitor the execution progress of the processor, and when it is monitored that the processor has completed the execution of the driver for loading the WIFI module, the WIFI protocol interaction result is sent to the processor.
[0128] S504: When the processor identifies that the device is connected to an electronic device and successfully loads the driver of the WIFI module, the processor accesses the wireless local area network according to the WIFI protocol interaction result.
[0129] In the embodiment of the present application, the processor is provided with a related thread, which is used to identify whether the connected device is an electronic device after power-on.
[0130] In some embodiments, the process of the controller identifying the connection to the electronic device can be executed by the processor, that is, when the processor identifies the connection to the electronic device, the identification result can be sent to the controller to reduce the power consumption of the screen transmission device.
[0131] In an embodiment of the present application, when the processor identifies that the device is connected to an electronic device, it executes a WiFi connection process after loading a driver for the WIFI module, and can quickly access the display device wireless LAN based on the WIFI protocol interaction result fed back by the controller.
[0132] The screen transmission method provided by the embodiment of the present application is that when the controller identifies that it is connected to an electronic device, it reads the first pairing information from the memory, and the controller performs WIFI protocol interaction with the display device according to the first pairing information to obtain the WIFI protocol interaction result. When the processor successfully loads the driver of the WIFI module, the controller sends the WIFI protocol interaction result to the processor, and when the processor identifies that it is connected to the electronic device, after successfully loading the driver of the WIFI module, it accesses the wireless local area network according to the WIFI protocol interaction result. When the controller of the WIFI module identifies that it is connected to the electronic device, it autonomously executes the WIFI protocol interaction process in advance, thereby reducing the time for the processor to access the wireless local area network and reducing the startup time of the screen transmission device.
[0133] Based on the above embodiment, the startup process of the screen transmission device provided in the embodiment of the present application is further introduced below, including:
[0134] S1. After starting up, the processor loads the driver of the WiFi module.
[0135] S2. When the processor executes kernel startup, the WiFi module performs WiFi protocol interaction with the display device according to the first pairing information to obtain a WiFi protocol interaction result; the first pairing information is used to access the wireless local area network constructed by the display device.
[0136] S3. When the processor successfully loads the driver of the WIFI module, the WiFi module sends the WIFI protocol interaction result to the processor.
[0137] Wherein, when the processor is started, the WiFi module is started at the same time;
[0138] When the processor loads the driver of the WiFi module, the WiFi module interacts with the display device using a WiFi protocol.
[0139] For example, Figure 6 As shown, the startup sequence of a conventional screen transmission device is as follows: when the screen transmission device is connected to an electronic device, the kernel starts to start, the processor executes WiFi driver loading, and controls the WiFi module to power on. After the WiFi driver is loaded successfully, the processor controls the WiFi module to execute the WiFi connection process. The WiFi connection process includes the WiFi module executing the processor command to execute the WiFi protocol interaction, joining the wireless LAN of the display device according to the WiFi protocol interaction result, completing the WiFi connection, and the processor constructs a screen transmission channel based on the screen transmission protocol.
[0140] The startup timing of the screen transmission device provided in the embodiment of the present application is as follows: when the screen transmission device is connected to the electronic device, the processor starts to execute the kernel startup, and the WiFi module is powered on synchronously. After the WiFi module is powered on, the controller of the WiFi module executes the WiFi protocol interaction, and after the processor loads the WiFi driver, the WiFi protocol interaction result is fed back to the processor. The processor completes the WiFi connection according to the WiFi protocol interaction result, and the processor builds a screen transmission channel based on the screen transmission protocol.
[0141] Depend on Figure 6 It can be seen that by setting a controller in the WiFi module, after the screen transmitter is powered on, the WiFi module can autonomously perform the power-on and WiFi protocol interaction process when the processor executes the kernel startup. Executing the WiFi protocol interaction process in advance by the WiFi module can reduce the time for the processor to execute the WiFi connection, thereby shortening the overall startup readiness time of the screen transmitter device.
[0142] It should be understood that the first pairing information can be obtained during the synchronous power-on process of the WiFi module. The WiFi module is powered on, which can be executed when the WiFi module recognizes that it is connected to an electronic device; the processor executes kernel startup, which can be executed when the processor recognizes that it is connected to an electronic device.
[0143] Based on the above embodiment, the process of obtaining the first pairing information will be introduced below.
[0144] Exemplarily, after identifying the connection to the display device, the processor receives the first pairing information sent by the display device; the first pairing information includes the first wireless local area network information of the display device and the identification of the display device; and the first pairing information is written into the memory.
[0145] Among them, the process of the processor (screen transmission device) obtaining the first pairing information can be called a pairing procedure with the display device.
[0146] Figure 7 A schematic diagram of the pairing process of the screen transmission device and the display device provided in the embodiment of the present application, such as Figure 7 As shown, the screen transmission device can be connected to the display device through a signal input / output interface (eg, a USB interface).
[0147] The display device has a corresponding device identification program. After detecting that the screen transmission device is connected, it obtains the wireless LAN information constructed by itself, and uses the device identification to generate the first pairing information, which is sent to the processor of the screen transmission device. After receiving the first pairing information, the processor of the screen transmission device can save the first pairing information and verify the first pairing information, for example, whether the first pairing information is complete and correct.
[0148] For example, whether the first pairing information is complete may include whether the first pairing information includes the name and password of the wireless local area network, and displays the device identification. Whether the first pairing information is correct may include whether the corresponding wireless local area network can be accessed normally.
[0149] After the verification is successful, the processor of the screen transmission device can communicate with the WiFi module through the I2C interface and write the first pairing information into the memory of the WiFi module. If the verification fails, the processor of the screen transmission device can feed back the verification failure message to the display device.
[0150] In some embodiments, writing the first pairing information into the memory of the WiFi module may be writing the first pairing information into the non-volatile memory of the WiFi module, so that when the screen transmission device is powered off, the stored first pairing information will not be lost.
[0151] In some embodiments, when writing the first pairing information into the memory of the WiFi module, the processor can directly write the first pairing information into the memory of the WiFi module, or send the first pairing information to the controller of the WiFi module. When the controller of the WiFi module receives the first pairing information, it can write the first pairing information into the memory of the WiFi module.
[0152] After writing the first pairing information into the memory, the processor may feed back a message indicating that the writing is successful to the display device, and the display device displays that the pairing is successful, and the pairing process ends.
[0153] The screen transmission device provided in the embodiment of the present application may have a memory that supports storing one pairing information, or may support storing multiple pairing information. The following will respectively describe the process of writing pairing information in scenarios where one pairing information is supported, and where the memory supports storing multiple pairing information, as well as the process of performing WiFi protocol interaction based on the stored pairing information.
[0154] Figure 8 When the memory provided in the embodiment of the present application can support storing multiple pairing information, a flowchart of writing the first pairing information into the memory is shown as follows: Figure 8 As shown, including:
[0155] S801. Determine, based on an identifier of a display device in the first pairing information, whether there is second pairing information with the same identifier in the memory.
[0156] In an embodiment of the present application, when the processor obtains the first pairing information, it can compare the identifier of the display device included in the second pairing information in the memory according to the identifier of the display device in the first pairing information to determine whether the pairing information of the same display device has been written into the memory.
[0157] S802: If yes, update the second wireless local area network information in the second pairing information according to the first wireless local area network information; or, use the second pairing information as the first pairing information.
[0158] In the embodiment of the present application, if there is second pairing information with the same identifier, it indicates that the wireless LAN information of the display device has been written, and the processor can compare the first wireless LAN information in the first pairing information with the second wireless LAN information in the second pairing information, and if the first wireless LAN information is different from the second wireless LAN information, the second wireless LAN information in the second pairing information is updated according to the first wireless LAN information. That is, the second wireless LAN information is updated.
[0159] If the first wireless local area network information is the same as the second wireless local area network information, the second pairing information is used as the first pairing information, and the pairing information is not written this time.
[0160] S803: If not, write the first pairing information into the memory.
[0161] In the embodiment of the present application, if there is no second pairing information with the same identifier, it means that the first pairing information is brand new pairing information, and the processor can write the first pairing information into the memory.
[0162] It should be understood that if the execution subject for writing the first pairing information into the memory is a controller, the controller performs the above-mentioned updating or writing action after receiving the first pairing information sent by the processor.
[0163] The screen transmission method provided in the embodiment of the present application can prevent duplicate pairing information from being written into the memory by comparing the pairing information in the memory, thereby reducing information conflicts that may occur during subsequent WiFi protocol interactions.
[0164] Based on the above embodiment, the following describes a process in which the controller interacts with the display device using the WiFi protocol according to the pairing information when multiple pairing information is stored in the memory.
[0165] Fig. 9 A schematic diagram of a process in which a controller according to an embodiment of the present application interacts with a display device through a WiFi protocol according to multiple pairing information, such as Fig. 9 As shown, including:
[0166] S901. Scan broadcast signals of surrounding wireless local area networks; the broadcast signals carry an identifier of the wireless local area network.
[0167] In an embodiment of the present application, when reading the pairing information stored in the memory, the controller can use the WiFi module in the WiFi module to scan the broadcast signal of the wireless local area network constructed by the display device around the screen transmission device, and obtain the identification of the wireless local area network carried in the surrounding broadcast signal.
[0168] Exemplarily, the identifier of the wireless local area network may be the name of the wireless local area network.
[0169] S902: Acquire, according to the broadcast signal and the pairing information stored in the memory, an identification of at least one display device that matches the pairing information.
[0170] In an embodiment of the present application, when the controller scans a broadcast signal of at least one wireless local area network, it can match the identifier of the wireless local area network signal carried in the scanned broadcast signal with the read pairing information to obtain the identifier of at least one display device that matches the pairing information.
[0171] Exemplarily, the controller scans broadcast signals of three wireless LANs, whose corresponding identifiers are Axxxxx, Bxxxxx and Cxxxx, and the memory stores four pairing information, whose corresponding wireless LAN identifiers are Axxxxx, Cxxxxx, Dxxxx and Fxxxx.
[0172] The controller may compare the above identifications with the identifications of the wireless local area network included in the pairing information, determine that the identifications Axxxxx and Cxxxx corresponding to the scanned broadcast signals of the wireless local area network are the same as the identifications in the pairing information, and can access the corresponding wireless local area network.
[0173] The screen transmission device is usually connected to a display device for screen transmission. The controller can obtain the identifier of the display device corresponding to the same wireless LAN identifier from the pairing information, so that the user can choose which display device to transmit the screen to.
[0174] In some embodiments, if it is determined that there is only one pairing information that matches the identifier of the scanned wireless local area network signal, the pairing information can be used as the first pairing information. That is, there is only one pairing information available in the memory.
[0175] In some embodiments, if the identifier of the display device matching the pairing information is not obtained according to the broadcast signal and the pairing information stored in the memory, a prompt message indicating that the pairing information is missing is output.
[0176] Exemplarily, the controller scans three wireless LAN signals, whose corresponding identifiers are Axxxxx, Bxxxxx and Cxxxx, and the memory stores four pairing information, whose corresponding wireless LAN identifiers are Exxxxx, Fxxxxx, Gxxxx and Hxxxx.
[0177] Then the pairing information does not match the broadcast signal, and there is no pairing information that can be used to access the wireless local area network of the display device. The controller can output a prompt message of missing pairing information through the electronic device to enable the user to write the pairing information.
[0178] In some embodiments, the prompt information may also include a scanned broadcast signal, so that the user can find the reason for the lack of pairing information according to the broadcast signal. For example, the display device that the user expects to transmit the screen is E, and the corresponding broadcast signal is Exxxxx. After the output is scanned to the broadcast, the user can easily know that the wireless LAN of the display device E is not turned on.
[0179] S903: Displaying the identification of the at least one display device through the electronic device.
[0180] S904: Acquire an identifier of a target display device from the identifier of the at least one display device.
[0181] In the embodiment of the present application, the controller can display the identification of the display device that can transmit the screen on the display interface of the electronic device.
[0182] For example, Fig.10As shown, in the display interface of the electronic device, display interface 101 and display interface 101 display the identification of the display device that can be screen-transmitted, and a check box is set in front of each display device identification. The electronic device can respond to the user's instruction to select the check box through the corresponding control device, and mark the display device corresponding to the check box as a selected state. The display device in the selected state is the display device selected by the user to be screen-transmitted.
[0183] If the electronic device receives a trigger instruction from the user to the "confirm" control in the display interface 101 through the control device, the electronic device uses the display device identifier selected by the user as the target display device to be transmitted.
[0184] S905: Use the pairing information corresponding to the target display device as the first pairing information.
[0185] S906. Perform WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result.
[0186] In the embodiment of the present application, when the controller determines the target display device, it can obtain the pairing information corresponding to the target display device from the pairing information, and use the pairing information as the first pairing information.
[0187] It should be understood that if the screen transmission device can transmit the screen to multiple display devices, the process of determining the pairing information is similar to the above process, which will not be repeated here.
[0188] The specific implementation manner in which the controller performs WIFI protocol interaction with the display device according to the first pairing information to obtain the WIFI protocol interaction result is similar to the implementation manner in the above embodiment, which will not be repeated here.
[0189] The screen mirroring method provided in the embodiment of the present application can display the identifications of the display devices that can perform screen mirroring to the user when there are multiple display devices for screen mirroring, and based on the user's selection of the display device, quickly connect to the wireless local area network of the display device to prompt the user's usage experience.
[0190] The following describes a process of writing pairing information in a scenario where the memory only supports storing one pairing information, and a process of performing WiFi protocol interaction according to the stored pairing information.
[0191] Fig.11 A schematic diagram of a process of writing the first pairing information into the memory when the memory provided in the embodiment of the present application only supports storing one pairing information, such as Fig.11 As shown, including:
[0192] S1101: If it is determined that third pairing information different from the identifier of the display device in the first pairing information exists in the memory, the first pairing information is used to overwrite the third pairing information.
[0193] In an embodiment of the present application, if the memory only supports storing one pairing information, when the processor obtains the first pairing information, it can determine whether the pairing information of the display device has been written into the memory based on the identifier of the display device in the first pairing information; if third pairing information is stored in the memory, and the identifier of the display device in the third pairing information is different from the identifier of the display device in the first pairing information, the processor can determine that the first pairing information is new pairing information.
[0194] The memory only supports storing one pairing information, and the processor can use the first pairing information to overwrite the third pairing information and write the first pairing information into the memory.
[0195] S1102: If it is determined that fourth pairing information identical with the identifier of the display device in the first pairing information exists in the memory, update the third wireless LAN information in the fourth pairing information according to the first wireless LAN information; or, use the fourth pairing information as the first pairing information.
[0196] In an embodiment of the present application, if fourth pairing information is stored in the storage, and the identifier of the display device in the fourth pairing information is the same as the identifier of the display device in the first pairing information, it indicates that the wireless LAN information of the display device has been written. The processor can compare the first wireless LAN information in the first pairing information with the third wireless LAN information in the fourth pairing information. If the first wireless LAN information is different from the fourth wireless LAN information, the third wireless LAN information in the fourth pairing information is updated according to the first wireless LAN information.
[0197] If the first wireless local area network information is the same as the third wireless local area network information, the fourth pairing information is used as the first pairing information, and the pairing information is not written this time.
[0198] It should be understood that if there is no pairing information in the memory, the processor may directly write the first pairing information.
[0199] The screen transmission method provided in the embodiment of the present application improves the writing efficiency of pairing information when the memory only supports storing one pairing information by comparing the pairing information in the memory.
[0200] Based on the above embodiment, the following describes a process in which the controller interacts with the display device using the WiFi protocol according to the pairing information when the pairing information is stored in the memory.
[0201] Fig.12 A schematic diagram of a process in which a controller according to an embodiment of the present application interacts with a display device through a WiFi protocol according to pairing information, such as Fig.12 As shown, including:
[0202] S1201: Scan the broadcast signals of surrounding wireless local area networks.
[0203] The specific implementation method of S1201 in the embodiment of the present application is similar to the specific implementation method of S901 in the above embodiment, and will not be repeated here.
[0204] S1202: If a broadcast signal corresponding to the first pairing information is not scanned, output a prompt message indicating that no display device capable of screen transmission is found.
[0205] In the embodiment of the present application, the controller can determine whether there is a display device that can perform WiFi protocol interaction according to the first pairing information based on the scanned broadcast signal, that is, whether there is a broadcast signal corresponding to the first pairing information.
[0206] Exemplarily, the controller scans wireless local area network broadcast signals constructed by three display devices, the corresponding identifiers are Axxxxx, Bxxxxx and Cxxxx respectively, and the identifier of the wireless local area network corresponding to the pairing information stored in the memory is Fxxxx.
[0207] The controller can determine that there is no broadcast signal corresponding to the first pairing information, and WiFi protocol interaction cannot be performed. The controller can output a prompt message that no display device capable of screen transmission is found, and display the prompt message through an electronic device, so that the user can make corresponding adjustments according to the prompt message. For example, the wireless local area network of the display device corresponding to the wireless local area network identified as Fxxxx is turned on, and the pairing information writing process is re-executed.
[0208] It should be understood that if a broadcast signal corresponding to the first pairing information is scanned, the controller can control the WiFi module to execute the WiFi interaction protocol to obtain a WiFi protocol interaction result.
[0209] S1203: Scan the broadcast signals of the surrounding wireless local area networks again until the WIFI protocol interaction with the display device is completed according to the first pairing information.
[0210] In an embodiment of the present application, after the controller outputs the prompt information, the process of scanning the broadcast signals of the surrounding wireless local area network can be re-executed until a broadcast signal matching the first pairing information is found, and the WIFI protocol interaction is completed with the corresponding display device to obtain the WiFi protocol interaction result.
[0211] In some embodiments, in order to reduce the power consumption of the screen transmission device, when scanning the surrounding broadcast signals, the screen transmission device can scan according to the method shown below.
[0212] Exemplarily, if the broadcast signal corresponding to the first pairing information is not scanned within a preset time, scanning of the broadcast signals of the surrounding wireless local area networks is stopped.
[0213] Among them, the preset time can be set according to actual needs, for example, 5 minutes, 10 minutes, etc., and the embodiment of the present application is not limited to this.
[0214] If the controller fails to scan the broadcast signal corresponding to the first pairing information within the preset time, it may mean that WiFi protocol interaction cannot be performed using the first pairing information, that is, the corresponding screen transmission function cannot be implemented. If the scanning is continued, the power consumption of the screen transmission device will be higher, thereby reducing the service life of the screen transmission device.
[0215] In some embodiments, when the controller stops scanning the broadcast signals of the surrounding wireless LAN, a prompt message to stop scanning can be displayed through the electronic device so that the user can understand the current status of the screen transmission device, and facilitate the user's subsequent adjustments (for example, turning on the wireless LAN of the relevant display device, etc.), and can quickly perform related settings operations for screen transmission (for example, reopening screen transmission, etc.).
[0216] In some embodiments, after completing the WiFi protocol interaction with the display device, the processor can access the local area network constructed by the display device according to the WiFi protocol interaction result.
[0217] Exemplarily, according to the WIFI protocol interaction result, the IP address of the display device is obtained; based on the IP address, a wireless connection is established with the display device; based on the screen transmission protocol, a screen transmission channel with the display device is established.
[0218] In an embodiment of the present application, the controller can obtain the IP address of the display device from the WIFI protocol interaction result, access the wireless local area network constructed by the display device based on the IP address, and establish a wireless connection with the display device.
[0219] After establishing a wireless connection with the display device, the processor can recommend a screen transmission channel with the display device based on the screen transmission protocol.
[0220] Exemplarily, the processor can send a screen broadcast based on the screen broadcast protocol. When the display device obtains the screen broadcast, it can respond to the screen broadcast device with the corresponding display device information. When the processor receives the display device information, it confirms the information, the screen transmission channel is built, and the screen transmission device is successfully started. The process of building a screen transmission channel is similar to the handshake in the WiFi protocol interaction process.
[0221] An embodiment of the present application also provides a screen transmission device, which can be applied to the screen transmission device in any of the above embodiments.
[0222] Fig.13 A schematic diagram of the structure of the screen transmission device 130 provided in the embodiment of the present application is shown in FIG. Fig.13 As shown, including:
[0223] The reading module 1301 is used to read the first pairing information when identifying the connection to the electronic device; the first pairing information is used to access the wireless local area network constructed by the display device.
[0224] An interaction module 1302 is configured to perform a WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result;
[0225] The screen transmission module 1303 is used to access the wireless local area network according to the WIFI protocol interaction result when the driver of the WIFI module is successfully loaded.
[0226] In some embodiments, the interaction module 1302 is also used to receive the first pairing information sent by the display device after identifying the connection to the display device; the first pairing information includes the first wireless local area network information of the display device and the identification of the display device; and write the first pairing information into the memory.
[0227] In some embodiments, the interaction module 1302 is also used to determine whether there is second pairing information with the same identifier in the memory based on the identifier of the display device in the first pairing information; if so, update the second wireless LAN information in the second pairing information based on the first wireless LAN information; or use the second pairing information as the first pairing information; if not, write the first pairing information into the memory.
[0228] In some embodiments, the screen transmission module 1303 is also used to scan the broadcast signal of the surrounding wireless local area network; the broadcast signal carries the identification of the wireless local area network; according to the broadcast signal and the pairing information stored in the memory, the identification of at least one display device matching the pairing information is obtained; the identification of the at least one display device is displayed through the electronic device; the identification of the target display device is obtained from the identification of the at least one display device; and the pairing information corresponding to the target display device is used as the first pairing information.
[0229] In some embodiments, the interaction module 1302 is further configured to output a prompt message indicating that pairing information is missing if an identifier of a display device matching the pairing information is not obtained according to the broadcast signal and the pairing information stored in the memory.
[0230] In some embodiments, the interaction module 1302 is further used to, if it is determined based on the identifier of the display device in the first pairing information that there is third pairing information in the memory that is different from the identifier, use the first pairing information to overwrite the third pairing information; if it is determined based on the identifier of the display device in the first pairing information that there is fourth pairing information in the memory that is the same as the identifier, update the third wireless LAN information in the fourth pairing information based on the first wireless LAN information; or, use the fourth pairing information as the first pairing information.
[0231] In some embodiments, the screen transmission module 1303 is also used to scan the broadcast signals of the surrounding wireless local area network; if the broadcast signal corresponding to the first pairing information is not scanned, a prompt message is output that no display device that can transmit the screen is found; and the broadcast signals of the surrounding wireless local area network are scanned again until the WIFI protocol interaction is completed with the display device according to the first pairing information.
[0232] In some embodiments, the screen transmission module 1303 is further used to stop scanning the broadcast signals of the surrounding wireless local area network if the broadcast signal corresponding to the first pairing information is not scanned within a preset time.
[0233] In some embodiments, the screen transmission module 1303 is also used to obtain the IP address of the display device according to the WIFI protocol interaction result; establish a wireless connection with the display device based on the IP address; and establish a screen transmission channel with the display device based on the screen transmission protocol.
[0234] The screen transmission device provided in the present application is used to execute the technical solution of the screen transmission method provided in any of the aforementioned embodiments. Its implementation principle and technical effect are similar and will not be described in detail.
[0235] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.
[0236] The present application also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one control module of the display device can read the execution instruction from the readable storage medium, and at least one control module executes the execution instruction so that the display device implements the screen transmission method provided by the various embodiments described above.
[0237] 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 it. 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 replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0238] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0239] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0240] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or 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 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 screen transmission device, characterized in that: The screen transmission device includes a processor and a WIFI module, and the WIFI module includes a controller and a memory; The memory is configured to: store first pairing information of the display device; The first pairing information is used to access the wireless local area network constructed by the display device; The controller is configured to: When identifying the connection to the electronic device, reading the first pairing information from the memory; Performing WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result; When the processor successfully loads the driver of the WIFI module, sending the WIFI protocol interaction result to the processor; The processor is configured to: when identifying the connection to the electronic device, after successfully loading the driver of the WIFI module, access the wireless local area network according to the WIFI protocol interaction result.
2. The screen transmission device according to claim 1, characterized in that: The processor is configured to: After identifying and connecting to the display device, receiving the first pairing information sent by the display device; the first pairing information includes the first wireless local area network information of the display device and the identification of the display device; The first pairing information is written into the memory.
3. The screen transmission device according to claim 2, characterized in that: If the memory supports storing multiple pairing information, the processor is configured to: determining, according to the identifier of the display device in the first pairing information, whether there is second pairing information with the same identifier in the memory; If yes, update the second wireless local area network information in the second pairing information according to the first wireless local area network information; Alternatively, the second pairing information is used as the first pairing information; If not, the first pairing information is written into the memory.
4. The screen transmission device according to claim 3, characterized in that: The controller is configured to: Scanning broadcast signals of surrounding wireless local area networks; the broadcast signals carry the identification of the wireless local area networks; According to the broadcast signal and the pairing information stored in the memory, acquiring an identification of at least one display device matching the pairing information; displaying, by the electronic device, the identification of the at least one display device; Acquire an identification of a target display device from the identification of the at least one display device; The pairing information corresponding to the target display device is used as the first pairing information.
5. The screen transmission device according to claim 4, characterized in that: The controller is configured to: If the identifier of the display device matching the pairing information is not obtained according to the broadcast signal and the pairing information stored in the memory, a prompt message indicating that the pairing information is missing is output.
6. The screen transmission device according to claim 2, characterized in that: If the memory supports storing pairing information, the processor is configured to: If it is determined that there is third pairing information in the memory that is different from the identifier of the display device in the first pairing information, the first pairing information is used to overwrite the third pairing information; If it is determined that fourth pairing information identical with the identifier of the display device in the first pairing information exists in the memory, the third wireless local area network information in the fourth pairing information is updated according to the first wireless local area network information; Alternatively, the fourth pairing information is used as the first pairing information.
7. The screen transmission device according to claim 6, characterized in that: The controller is configured to: Scan the broadcast signals of surrounding wireless LANs; If the broadcast signal corresponding to the first pairing information is not scanned, outputting a prompt message indicating that no display device capable of screen transmission is found; Scan the broadcast signals of the surrounding wireless local area networks again until the WIFI protocol interaction with the display device is completed according to the first pairing information.
8. The screen transmission device according to claim 7, characterized in that: The controller is configured to: If the broadcast signal corresponding to the first pairing information is not scanned within the preset time, the scanning of the broadcast signal of the surrounding wireless local area network is stopped.
9. The screen transmission device according to any one of claims 1 to 8, characterized in that: The processor is configured to: According to the WIFI protocol interaction result, obtaining the IP address of the display device; Establishing a wireless connection with the display device based on the IP address; A screen transmission channel is established with the display device based on a screen transmission protocol.
10. A screen transmission device, characterized in that: The screen transmission device includes a processor and a WIFI module; The processor is configured to: after startup, load the driver of the WIFI module; The WIFI module is configured to: when the processor executes kernel startup, perform WIFI protocol interaction with the display device according to the first pairing information to obtain a WIFI protocol interaction result; the first pairing information is used to access the wireless local area network constructed by the display device; When the processor successfully loads the driver of the WIFI module, sending the WIFI protocol interaction result to the processor; Wherein, when the processor is started, the WIFI module is started at the same time; When the processor loads the driver of the WIFI module, the WIFI module interacts with the display device using a WIFI protocol.