Display device and network connection method of display device
By using the dual-band concurrent DBS service in the display device, parallel connection and authentication of the primary and secondary Wifi nodes are realized, which solves the problem of network stability when dual Wifi is connected and improves the reliability and user experience of the network connection.
Patent Information
- Application Number
- CN202410683660.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-27
AI Technical Summary
Existing display devices have poor network stability when dual Wifi is connected, are easily disconnected after secondary Wifi is connected, and cannot directly access the domain name system, which affects the network experience.
By introducing dual-band concurrent DBS services into the display device, it receives and responds to Wifi connection requests, obtains and enables secondary Wifi nodes, and uses the maintenance process for authentication and connection to achieve parallel independent data sending and receiving of primary and secondary Wifi nodes.
It improves the network stability of the display device when dual Wifi is connected, ensuring that two Wifi signals are connected at the same time and can transmit data independently, which enhances the reliability and user experience of the network connection.
Smart Images

Figure CN118555685A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and more specifically, to a display device and a network connection method of the display device. Background Art
[0002] At present, display devices can achieve dual Wifi connection. The main Wifi is connected normally through the Wifi process, but the auxiliary Wifi is connected through the command line. Then the Internet is accessed by setting the route. However, this method has defects. The route is unstable after setting. There is a problem of disconnection after a period of time. In addition, the corresponding domain name system (Domain Name System, DNS) cannot be set using the command line, resulting in the inability of the auxiliary network to directly access the domain name. Therefore, how to improve the network stability when connecting dual Wifi on display devices has become an urgent problem to be solved. Summary of the invention
[0003] An exemplary embodiment of the present application provides a display device and a network connection method for the display device, which are used to improve the network stability when the display device is connected to dual Wifi.
[0004] The technical solutions provided by the embodiments of this application are as follows:
[0005] In a first aspect, an embodiment of the present application provides a display device, including: a controller configured to:
[0006] When the display device is connected to the first target Wifi signal, a connection request for a second target Wifi signal is received; the first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process;
[0007] In response to the connection request of the second target Wifi signal, obtaining an auxiliary Wifi node; the state of the auxiliary Wifi node is disabled by default;
[0008] Based on the dual-band concurrent DBS service, converting the state of the auxiliary Wifi node from disabled to enabled;
[0009] For the auxiliary Wifi node, a second target Wifi signal is authenticated and connected to the auxiliary Wifi node through a second maintenance process.
[0010] When the display device is turned on, load the Wifi driver component;
[0011] After the Wifi driver component is loaded successfully, the primary Wifi node and the secondary Wifi node are obtained; the status of the primary Wifi node and the secondary Wifi node are both disabled by default.
[0012] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:
[0013] Receive a connection request from a first target Wi-Fi signal;
[0014] In response to the connection request of the first target Wifi signal, the state of the main Wifi node is converted from disabled to enabled, and the main Wifi node is connected to the network through the first maintenance process.
[0015] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:
[0016] Obtain a second scan list; the second scan list includes Wifi signals of different frequency bands from the first target Wifi signal; the second scan list is used to provide the user with a Wifi signal to which the auxiliary Wifi node can connect;
[0017] A connection request of the second target Wifi signal is received; the connection request of the second target Wifi signal carries an identifier of the second target Wifi signal.
[0018] As an optional implementation of the embodiment of the present disclosure, for the auxiliary Wifi node, the second target Wifi signal is authenticated and connected to the auxiliary Wifi node through a second maintenance process, and the controller is further configured to:
[0019] Determine the second target Wifi signal from the second scan list based on the identifier of the second target Wifi signal carried in the connection request of the second target Wifi signal;
[0020] The second target Wifi signal of the auxiliary Wifi node is authenticated and connected to the auxiliary Wifi node by using the second maintenance process.
[0021] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:
[0022] Obtain a first scanning list; the first scanning list includes the first target Wifi signal and the second target Wifi signal; the first scanning list includes Wifi signals of at least two frequency bands;
[0023] A second scan list is generated based on the first scan list, where the second scan list includes the second target Wi-Fi signal.
[0024] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:
[0025] Obtain a first signal frequency band of the first target Wi-Fi signal;
[0026] Based on the first signal frequency band, all Wi-Fi signals except the first signal frequency band are filtered out from the first scan list to generate the second scan list.
[0027] In a second aspect, an embodiment of the present application provides a network connection method for a display device, comprising:
[0028] When the display device is connected to the first target Wifi signal, a connection request for a second target Wifi signal is received; the first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process;
[0029] In response to the connection request of the second target Wifi signal, obtaining an auxiliary Wifi node; the state of the auxiliary Wifi node is disabled by default;
[0030] Based on the dual-band concurrent DBS service, converting the state of the auxiliary Wifi node from disabled to enabled;
[0031] For the auxiliary Wifi node, a second target Wifi signal is authenticated and connected to the auxiliary Wifi node through a second maintenance process.
[0032] As an optional implementation of the embodiment of the present disclosure, when the display device is connected to the first target Wifi signal, before receiving a connection request for the second target Wifi signal, the method further includes:
[0033] When the display device is turned on, load the Wifi driver component;
[0034] After the Wifi driver component is loaded successfully, the primary Wifi node and the secondary Wifi node are obtained; the status of the primary Wifi node and the secondary Wifi node are both disabled by default.
[0035] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computing device, the computing device implements the network connection method for a display device described in any embodiment of the first aspect.
[0036] In a fourth aspect, the present invention provides a computer program product. When the computer program product runs on a computer, the computer implements the network connection method for the display device described in the second aspect or any embodiment of the second aspect.
[0037] It can be seen from the above technical solutions that the display device and the network connection method of the display device provided in the embodiment of the present application include: when the display device is connected to the first target Wifi signal, receiving a connection request of the second target Wifi signal; the first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process; in response to the connection request of the second target Wifi signal, obtaining the auxiliary Wifi node; the state of the auxiliary Wifi node is disabled by default; based on the dual-band concurrent DBS service, the state of the auxiliary Wifi node is converted from disabled to enabled; for the auxiliary Wifi node, the second target Wifi signal is authenticated and connected to the auxiliary Wifi node through the second maintenance process. The embodiment of the present application utilizes the dual-band concurrent DBS service of the display device to realize the authentication and connection of the auxiliary Wifi node and the second target Wifi signal, so that the display device can be connected to two Wifi signals at the same time, and can realize authentication and connection based on the corresponding daemon process, and can independently send and receive data in parallel, thereby improving the stability of the display device when connecting two Wifi signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] 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.
[0039] Figure 1 A scenario architecture diagram showing a network connection method for a display device in some embodiments;
[0040] Figure 2 A hardware configuration block diagram of a control device in some embodiments is shown;
[0041] Figure 3 A hardware configuration block diagram of a display device in some embodiments is shown;
[0042] Figure 4 A diagram showing a software configuration in a display device in some embodiments is shown;
[0043] Figure 5 A system architecture diagram showing a network connection method for a display device in some embodiments;
[0044] Figure 6 A flowchart showing a method for connecting a display device to a network according to an embodiment of the present invention is shown;
[0045] Figure 7A flowchart showing the steps of another method for connecting a display device to a network provided by an embodiment of the present invention is shown;
[0046] Figure 8 A flowchart showing the steps of another method for connecting a display device to a network provided by an embodiment of the present invention is shown;
[0047] Fig. 9 A flowchart showing the steps of another method for connecting a display device to a network provided by an embodiment of the present invention is shown;
[0048] Fig.10 The embodiment of the present invention provides a Fig. 9 The diagram shows a Wifi settings interface of a display device. DETAILED DESCRIPTION
[0049] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method 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.
[0050] 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.
[0051] The terms "comprises," "comprising," and "having," 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 all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0052] Figure 1 A schematic diagram of a scenario architecture of a network connection method for a display device provided in an embodiment of the present application. Figure 1 As shown, the scenario architecture provided by the embodiment of the present application includes: a server 400, a display device 300, a smart device 200 and a control device 100.
[0053] The display device 300 provided in the embodiment of the present application can have various implementation forms, for example, it can be a smart speaker, a television, a refrigerator, a washing machine, an air conditioner, a smart curtain, a router, a set-top box, a mobile phone, a personal computer (PC) smart TV, a laser projection device, a monitor, an electronic whiteboard, a wearable device, a vehicle-mounted device, an electronic table, etc.
[0054] In some embodiments, a user can operate the display device 300 through a smart device 200 or a control device 100. When the display device 300 receives an audio signal, it can communicate data with a server 400, wherein the display device 300 can be allowed to communicate with the server 400 through a local area network (LAN) or a wireless local area network (WLAN).
[0055] The server 400 may be a server that provides various services, such as a server that provides support for audio data collected by the terminal device 200. The server may analyze and process the received audio data, and feed back the processing results (such as endpoint information) to the terminal device. The server 400 may be a server cluster or multiple server clusters, and may include one or more types of servers.
[0056] The display device 300 can be hardware or software. When the display device 300 is hardware, it can be various electronic devices with sound collection functions, including but not limited to smart speakers, smart phones, TVs, tablet computers, e-book readers, smart watches, players, computers, AI devices, robots, smart vehicles, etc. When the display device 300 is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, for providing sound collection services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0057] It should be noted that the network connection method of the display device provided in the embodiment of the present application can be executed by the server 400, can also be executed by the display device 300, and can also be executed by the server 400 and the display device 300 together, and the present application does not limit this.
[0058] Figure 2 FIG. 4 shows a hardware configuration block diagram of a display device 300 according to an exemplary embodiment. Figure 2 The display device 300 shown includes at least one of 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, an audio processor, a RAM, a ROM, and first to nth interfaces for input / output.
[0059] 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, other network communication protocol chips or a near field communication protocol chip, and an infrared receiver. The display device 300 can establish transmission and reception of control signals and data signals with the server 400 through the communicator 220.
[0060] The user interface 280 may be used to receive external control signals.
[0061] 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.
[0062] The sound collector can be a microphone, also known as a "microphone" or "microphone", which can be used to receive the user's voice and convert the sound signal into an electrical signal. The display device 300 can be provided with at least one microphone. In other embodiments, the display device 300 can be provided with two microphones, which can not only collect sound signals but also realize the noise reduction function. In other embodiments, the display device 300 can also be provided with three, four or more microphones to realize the collection of sound signals, noise reduction, identification of the sound source, and realization of directional recording functions, etc.
[0063] In addition, the microphone may be built into the display device 300, or the microphone may be connected to the display device 300 by wire or wirelessly. Of course, the embodiment of the present application does not limit the position of the microphone on the display device 300. Alternatively, the display device 300 may not include a microphone, that is, the microphone is not provided in the display device 300. The display device 300 may be connected to an external microphone (also referred to as a microphone) through an interface (such as a USB interface 130). The external microphone may be fixed to the display device 300 by an external fixing (such as a camera bracket with a clip).
[0064] The controller 250 controls the operation of the display device 300 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 300.
[0065] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a RAM Random Access Memory (RAM), a ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0066] In some embodiments, Figure 3The display device includes at least one of a tuner 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 .
[0067] In some embodiments, the controller 250 includes a processor, a video processor, an audio processor, a graphic processor, RAM, ROM, and first to nth interfaces for input / output.
[0068] 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.
[0069] The display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
[0070] 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 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.
[0071] The user interface may be used to receive control signals input by the user through the control device 100 (eg, an infrared remote controller, etc.) or through touch or gesture.
[0072] 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.
[0073] The external device interface 240 may include, but is not limited to, any one or more of the following interfaces: 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.
[0074] 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.
[0075] 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.
[0076] 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. 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.
[0077] 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.
[0078] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user 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 interface recognizes the sound or gesture through a sensor to receive the user input command.
[0079] "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.
[0080] In some embodiments, the controller is configured to receive a connection request for a second target Wifi signal when the display device is connected to a first target Wifi signal; the first target Wifi signal is connected and authenticated through a primary Wifi node using a first maintenance process; in response to the connection request for the second target Wifi signal, an auxiliary Wifi node is acquired; the state of the auxiliary Wifi node is disabled by default; based on a dual-band concurrent DBS service, the state of the auxiliary Wifi node is converted from disabled to enabled; for the auxiliary Wifi node, the second target Wifi signal is authenticated and connected to the auxiliary Wifi node through a second maintenance process.
[0081] In some embodiments, the controller is further configured to load a Wifi driver component when the display device is turned on; after the Wifi driver component is successfully loaded, obtain the primary Wifi node and the secondary Wifi node; the status of the primary Wifi node and the secondary Wifi node are both disabled by default.
[0082] In some embodiments, the controller is further configured to receive a connection request from a first target Wifi signal; in response to the connection request from the first target Wifi signal, convert the state of the master Wifi node from disabled to enabled, and establish a network connection to the master Wifi node through the first maintenance process.
[0083] In some embodiments, the controller is further configured to: determine the second target Wifi signal based on the connection request of the second target Wifi signal, and connect the second target Wifi signal to the auxiliary Wifi node based on the second maintenance process.
[0084] In some embodiments, the controller is further configured to obtain a second scan list; the second scan list includes Wifi signals in a different frequency band from the first target Wifi signal; the second scan list is used to provide the user with a Wifi signal to which the auxiliary Wifi node can connect; receive a connection request for the second target Wifi signal; the connection request for the second target Wifi signal carries an identifier of the second target Wifi signal.
[0085] In some embodiments, for the auxiliary Wifi node, the auxiliary Wifi node is authenticated and connected to the second target Wifi signal through a second maintenance process, and the controller is further configured to: determine the second target Wifi signal from the second scan list based on the identifier of the second target Wifi signal carried in the connection request of the second target Wifi signal; and authenticate and connect the second target Wifi signal to the auxiliary Wifi node through the auxiliary Wifi node using the second maintenance process.
[0086] In some embodiments, the controller is further configured to: obtain a first scan list; the first scan list includes the first target Wifi signal and the second target Wifi signal; the first scan list includes Wifi signals of at least two frequency bands; based on the first scan list, generate a second scan list, and the second scan list includes the second target Wifi signal.
[0087] In some embodiments, a first signal frequency band of the first target Wifi signal is obtained; based on the first signal frequency band, all Wifi signals except the first signal frequency band are filtered out from the first scan list to generate the second scan list.
[0088] See also Figure 4 In some embodiments, the operating system of the display device is divided into two parts, an application layer and a native layer. The application layer is the application layer (Applications) layer (referred to as the "application layer"), and the native layer is, from top to bottom, the native application framework (Application Framework) layer (referred to as the "framework layer"), the Android runtime (Android runtime) and the system library layer (referred to as the "system runtime library layer"), and the kernel layer.
[0089] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0090] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0091] like Figure 4 As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to applications currently installed on the device; a notification manager (Notification Manager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0092] In some embodiments, the activity manager is used to manage the life cycle of each application and the common navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).
[0093] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0094] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, Wifi driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0095] It should be noted that, in conjunction with the network connection method of the display device provided in this application, refer to Figure 5 As shown, the system architecture of the display device is set based on the framework of the Android system, including: an application layer 51, a framework layer 52, a driver layer 53, a kernel layer 54 and a hardware layer 54.
[0096] Application layer 51, users can interact with the application layer, including various applications and user interfaces. Through this layer, users can start and stop Wifi, connect to a specific network, view available networks, etc. In this application, the application layer will include connection entries that support connecting to the primary network and the secondary network.
[0097] Framework layer 52: plays a connecting role, and is mainly responsible for managing and coordinating the interaction between the application layer 51 and the bottom layer. In terms of Wifi, it provides APIs for application layer calls through Wifi Manager and Wifi Service. The HSP in this layer is the core service platform of service terminal capabilities set for display devices in this application. This is a platform-level technology platform for realizing automatic discovery, automatic networking, and interconnection of multiple devices. Based on this platform, applications can easily realize cross-device calls and complete special business functions (relay function, virtual camera, XR streaming). At the same time, it also provides the upper-layer application with the ability to directly call the underlying driver interface.
[0098] Driver layer 53: used to process the instructions sent by the framework layer 52, such as identifying the Wifi chip in the current system and loading the corresponding driver. The Vendor HAL layer (Vendor Hardware Abstraction Layer) included in this layer: This layer is the hardware abstraction layer, which provides a unified API interface for the upper framework and shields the differences between different hardware devices. In terms of Wifi, it provides a complete set of Wifi client functions through wpa_supplicant. Supplicant is mainly responsible for handling the authentication and association process of Wifi. It is part of wpa_supplicant and is an open source Wifi client that supports most Wifi security protocols.
[0099] Kernel layer 54: This layer is the core part of the operating system, responsible for managing hardware resources and providing low-level services. In terms of Wifi, it provides basic operations on Wifi hardware, such as sending and receiving data packets, setting hardware parameters, etc. through modules such as mac80211 and cfg80211.
[0100] Wifi chip layer 55: This layer is the Wifi hardware itself, including the Wifi chip and related firmware. It is responsible for implementing the functions of the Wifi physical layer and data link layer, such as modulation and demodulation, signal processing, and the sending and receiving of data frames.
[0101] Figure 6 The flowchart of the network connection method of the display device provided in the embodiment of the present application is shown as an example. Figure 6 As shown, the network connection method of the display device provided in the embodiment of the present application includes the following steps:
[0102] S601. When the display device is connected to the first target Wifi signal, receive a connection request of the second target Wifi signal.
[0103] The first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process.
[0104] In some embodiments, the display device takes a television as an example. When the television has been connected to the first target Wifi signal through the Wifi setting interface, the user can choose whether to connect to the second target Wifi signal according to the current signal strength.
[0105] Specifically, the second target Wifi signal can be connected by the user entering the Wifi setting interface again, entering the connection interface of the auxiliary network through the touch module corresponding to the network enhancement switch set in the embodiment of the present application, and then implementing the sending of the connection request of the second target Wifi signal in the connection interface of the auxiliary network. After receiving the connection request of the second target Wifi signal, the display device can authenticate and connect the second target Wifi signal through the second daemon process described below.
[0106] It should be noted that, in the embodiment of the present application, the first target Wifi signal and the second target Wifi signal are respectively connected to corresponding Wifi nodes, the first target Wifi signal corresponds to the primary Wifi node, and the second target Wifi signal corresponds to the secondary Wifi node.
[0107] Therefore, in the embodiment of the present application, when the display device is connected to the first target Wifi signal, before receiving the connection request of the second target Wifi signal, refer to Figure 6 As shown, the network connection method of the display device further includes the following steps S6011 and S6012:
[0108] S6011. When the display device is turned on, load a Wifi driver component.
[0109] At present, any display device can only provide users with a rich and efficient interactive experience when it is connected to the network. Therefore, network connection has become an indispensable prerequisite for the use of current display devices. Furthermore, in the embodiment of the present application, once the display device is powered on, the initialization of the Wifi process will be started inside the system for subsequent network connection.
[0110] In an embodiment of the present application, the initialization of the Wifi process includes: enabling the Wifi module after the display device is turned on, the Wifi service starts the Wifi process, Wifihal identifies the Wifi module, and loads the Wifi driver for connecting the first target Wifi signal and the second target Wifi signal.
[0111] Among them, Wifi HAL (Hardware Abstraction Layer) is a component in the Android system, which is used to abstract the functions of the underlying hardware driver and provide it to the upper-level application to control and manage the Wifi function.
[0112] The Wifi driver can be a Wifi driver generated based on the "Wifi_7921.ko" driver file, which is usually loaded to drive a specific Wifi hardware device. The ".ko" file is the extension of the Linux kernel module, which can be dynamically loaded and unloaded when the system is running to provide specific functions or support specific hardware. This driver module enables the operating system to recognize and correctly use the Wifi device, including functions such as connecting to a wireless network, sending and receiving data, etc.
[0113] S6022: After the Wifi driver component is loaded successfully, obtain the primary Wifi node and the secondary Wifi node.
[0114] The states of the primary Wifi node and the secondary Wifi node are both disabled by default.
[0115] In some embodiments, as the Wifi driver component is successfully loaded, the main Wifi node and the auxiliary Wifi node are generated in the display device, the main Wifi node is used to connect to the first target Wifi signal, and the auxiliary Wifi node is used to connect to the second target Wifi signal.
[0116] S602: In response to the connection request of the second target Wi-Fi signal, obtain an auxiliary Wi-Fi node.
[0117] In some embodiments, after receiving the connection request of the second target Wifi signal, the display device will determine that two Wifi signals need to be connected based on the connection status of the current Wifi signal, that is, the first target Wifi signal is currently connected and the second target Wifi signal needs to be connected. In this case, support for dual-band concurrent DBS service is required to enable the display device to connect to two Wifi signals at the same time.
[0118] It should be noted that, in the embodiment of the present application, the first target Wifi signal and the second target Wifi signal are respectively connected to corresponding Wifi nodes, the first target Wifi signal corresponds to the primary Wifi node, and the second target Wifi signal corresponds to the secondary Wifi node.
[0119] S603: Based on the dual-band concurrent DBS service, convert the state of the auxiliary Wi-Fi node from disabled to enabled.
[0120] In the embodiment of the present application, the dual-band concurrent DBS service is implemented by a DBS chip. Therefore, the DBS chip capability is added to the Wifi module of the display device, so that the display device can be connected to two Wifi signals at the same time, one 2.4G hotspot and one 5G hotspot. There is no interference between different frequency bands, and data can be sent and received independently in parallel. Therefore, in the embodiment of the present application, when the first target Wifi signal is a Wifi signal in the 2.4G frequency band, the second target Wifi signal can only be a Wifi signal in the 5G frequency band; similarly, when the first target Wifi signal is a Wifi signal in the 5G frequency band, the second target Wifi signal can only be a Wifi signal in the 2.4G frequency band.
[0121] Among them, the dual-band simultaneous DBS service (Dual-band simultaneous, DBS) is a specific dual-band working mode, and the dual-band concurrent DBS can also be a dual-band dual-transmission (Dual Band Dual Concurrent, DBDC) technology, which integrates 2 complete pathways, including 2 complete baseband processing + 2 RF front ends. Since it has two independent pathways, it means that DBDC can support both 2.4GHz and 5GHz frequency bands. The dual-band concurrent service includes 2 complete baseband processing modules + 1 RF front end, and this RF front end can choose to work on the 2.4GHz frequency band or the 5GHz frequency band. Among them, the RF front end refers to the part of the wireless communication device responsible for processing the radio frequency signal, including the reception, amplification, filtering, modulation and other functions of the radio frequency signal. It is the part of the wireless communication system that interacts most closely with the outside world, and carries the important task of connecting users and the network.
[0122] S604: For the auxiliary Wifi node, authenticate and connect the second target Wifi signal to the auxiliary Wifi node through a second maintenance process.
[0123] In some embodiments, a corresponding daemon process service is configured for both the primary Wifi node and the secondary Wifi node to support authentication and connection between the primary Wifi node, the secondary Wifi node and the corresponding Wifi signal.
[0124] Specifically, the supplicant process service usually refers to the software running on the Wifi client device for authentication and connection with the Wifi access point. In the Linux system, the WPASupplicant application is usually used to implement the Wifi authentication and connection functions. WPA Supplicant is an open source software used to implement the IEEE 802.1X authentication protocol and WPA / WPA2 encryption protocol to ensure the security of Wifi connections. It usually runs as a background process and is responsible for handling the authentication and connection process with the Wifi access point.
[0125] It should be noted that in the embodiment of the present application, in order to distinguish the independence of the network communication of the main Wifi node and the auxiliary Wifi node, two supplicant processes will be started to maintain them respectively. Specifically, the global control interfaces of / data / system / wpa_supplicant / wlan0 and / data / system / wpa_supplicant / wlan1 will be created respectively to communicate with other processes in the network. Among them, the wlan0 field represents the main Wifi node, and the wlan1 field represents the auxiliary Wifi node.
[0126] It can be seen from the above technical solutions that the display device and the network connection method of the display device provided in the embodiment of the present application include: when the display device is connected to the first target Wifi signal, receiving a connection request of the second target Wifi signal; the first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process; in response to the connection request of the second target Wifi signal, obtaining the auxiliary Wifi node; the state of the auxiliary Wifi node is disabled by default; based on the dual-band concurrent DBS service, the state of the auxiliary Wifi node is converted from disabled to enabled; for the auxiliary Wifi node, the second target Wifi signal is authenticated and connected to the auxiliary Wifi node through the second maintenance process. The embodiment of the present application utilizes the dual-band concurrent DBS service of the display device to realize the authentication and connection of the auxiliary Wifi node and the second target Wifi signal, so that the display device can be connected to two Wifi signals at the same time, and can realize authentication and connection based on the corresponding daemon process, and can independently send and receive data in parallel, thereby improving the stability of the display device when connecting two Wifi signals.
[0127] As an extension and refinement of the above embodiment, the present application embodiment also provides a network connection method for a display device, referring to Figure 8 As shown, the specific steps include the following steps S801 to S801:
[0128] S801: Receive a connection request from a first target Wi-Fi signal.
[0129] In some embodiments, the description of step 1 under step S601 of the above embodiment: after the initialization of the Wifi process, wait for the Wifi driver component to be loaded successfully, and obtain the primary Wifi node and the secondary Wifi node. At this time, the primary Wifi node and the secondary Wifi node are both disabled by default.
[0130] Then, after receiving the connection request of the first target Wifi signal, that is, receiving the connection request of the first target Wifi signal sent by the user, it can be clear that the current main Wifi node needs to establish a connection with the first target Wifi signal. At this time, it is necessary to execute the following step S802 in which the state of the main Wifi node is converted from disabled to enabled to realize the connection between the main Wifi node of the display device and the first target Wifi signal.
[0131] S802: In response to the connection request of the first target Wifi signal, convert the state of the master Wifi node from disabled to enabled, and connect the master Wifi node to a network through the first maintenance process.
[0132] Following the embodiment of step S801, in this step, it is necessary to connect the main Wifi node to the network through the first supplicant process to achieve authentication and connection between the main Wifi node and the first target Wifi signal.
[0133] S803: Receive a connection request from a second target Wi-Fi signal.
[0134] In the embodiment of the present application, before receiving the connection request of the second target Wifi signal, the following steps 1 and 2 are also included:
[0135] Step 1: Obtain a second scan list.
[0136] The second scanning list includes Wifi signals of a different frequency band from the first target Wifi signal; and the second scanning list is used to provide the user with a Wifi signal to which the auxiliary Wifi node can connect.
[0137] Since the display device can only connect to a 2.4G band Wifi signal and a 5G band Wifi signal at the same time when using dual Wifi connection. Therefore, it is necessary to timely adjust the frequency band of the connectable Wifi signal of the auxiliary Wifi node according to the frequency band of the Wifi signal connected to the main Wifi node. Therefore, in an embodiment of the present application, by obtaining the second scan list, which includes Wifi signals of different frequency bands from the first target Wifi signal, it is possible to connect the main Wifi node and the auxiliary Wifi node to Wifi signals of different frequency bands.
[0138] Step 2: Receive a connection request from the second target Wi-Fi signal.
[0139] The connection request of the second target Wifi signal carries the identifier of the second target Wifi signal.
[0140] In an embodiment of the present application, the second scan list may be when the user wants to connect to a second Wifi signal after the display device has been connected to the first target Wifi signal, and then enters the Wifi setting interface of the display device again and turns on the network enhancement switch. At this time, the second scan list will be displayed on the display screen of the display device, thereby showing the user multiple second Wifi signals that can currently support connection.
[0141] When the user selects the second Wi-Fi signal to be connected, that is, the second target Wi-Fi signal, from the second scanning list through a remote control or other control methods, a connection request for the second target Wi-Fi signal may be generated. After receiving the connection request for the second target Wi-Fi signal, the following step S806 may be performed on the premise that the state of the auxiliary Wi-Fi node is changed from disabled to enabled.
[0142] S804: In response to the connection request of the second target Wi-Fi signal, obtain an auxiliary Wi-Fi node.
[0143] The status of the auxiliary Wi-Fi node is disabled by default.
[0144] S805 . Based on the dual-band concurrent DBS service, convert the state of the auxiliary Wi-Fi node from disabled to enabled.
[0145] S806: Determine the second target Wifi signal from the second scan list based on the identifier of the second target Wifi signal carried in the connection request of the second target Wifi signal.
[0146] S807: Authenticate and connect the second target Wifi signal to the auxiliary Wifi node by using the second maintenance process through the auxiliary Wifi node.
[0147] In some embodiments, reference Fig. 9 As shown, the method for generating the second scan list includes the following steps S901 and S902:
[0148] S901: Obtain a first scan list.
[0149] The first scanning list includes the first target Wifi signal and the second target Wifi signal; the first scanning list includes Wifi signals of at least two frequency bands.
[0150] In an embodiment of the present application, before receiving a connection request for the first target Wifi signal, all Wifi signals currently supported for connection are also provided to the user. That is, the present application sets the first scan list and displays the first scan list display device on the display screen for the user to select. Then, the connection request for the first target Wifi signal is received, so that it is clear which Wifi signal the user wants to connect to.
[0151] It should be noted that when the main Wifi node connects to the Wifi signal, the first scan list provided to the user will include all Wifi signals that can support connection in the 2.4G and 5G frequency bands. After receiving the connection request of the first target Wifi signal, it can be clear which frequency band of the Wifi signal the current main node is connected to. When the second scan list is subsequently generated, it will be filtered to filter out all Wifi signals except the first signal frequency band from the first scan list to generate the second scan list.
[0152] S902: Generate a second scan list based on the first scan list.
[0153] The second scanning list includes the second target Wi-Fi signal.
[0154] In some embodiments, based on the first scan list, a specific method for generating a second scan list includes the following steps S9011 and S9012:
[0155] S9011. Obtain a first signal frequency band of the first target Wi-Fi signal.
[0156] S9012. Based on the first signal frequency band, filter out all Wi-Fi signals except the first signal frequency band from the first scan list to generate the second scan list.
[0157] Exemplarily, when the signal frequency band of the first target Wifi signal is 2.4G, that is, the first signal frequency band is 2.4G, then the second scan list can only include Wifi signals of other 5G frequency bands in the first scan list.
[0158] For another example, when the signal frequency band of the first target Wi-Fi signal is 5G, that is, the first signal frequency band is 5G, then the second scanning list can only include other Wi-Fi signals in the 2.4G frequency band in the first scanning list.
[0159] In an embodiment of the present application, when setting the auxiliary Wifi node, it is also necessary to monitor the connection status of the auxiliary Wifi node through the Wifi framework layer. When the link up status is monitored, it proves that the daemon process of the auxiliary Wifi node is successfully connected, and the next step of obtaining the IP address can be performed. Here, the IP address is the IP address of the auxiliary network. In the Wifi connection process, after the link layer is connected, it is necessary to obtain the IP address in the corresponding local area network. The TV initiates a DHCP request, and the DHCPserver in the local area network assigns the IP address corresponding to the TV. Only after the IP address is successfully obtained can the network be accessed. At this time, the framework layer binds the auxiliary Wifi node and creates an Ipclient (monitoring software) to obtain the IP address. After the IP address is obtained, a Networkagent belonging to the auxiliary Wifi node is created.
[0160] Among them, Networkagent is the agent of the link network, and is the messenger between CS (ConnectivityService) and the link network manager (such as WifiStateMachine). Networkagent is created after the network connection of the auxiliary Wifi node is successful. Through Networkagent, WifiStateMachine can achieve two-way communication with CS. Specifically, WifiStateMachine can provide CS with: network status NetworkInfo, link configuration LinkProperties, network capabilities NetworkCapabilities; CS can update WifiStateMachine with network validity (i.e., network detection results of NetworkMonitor), prohibit automatic connection, and actively disconnect the network due to reasons such as network inaccessibility (disconnected, connecting, connected, etc.) and other information exchanges.
[0161] It should be noted that in the embodiments of the present application, reference is made to Fig.10As shown, when the user wants to connect the display device to two Wifi signals, it is necessary to enter the Wifi setting interface 101 of the display device. After turning on the network enhancement switch, the second scanning list will be provided to the user. The user then selects a Wifi signal from the second scanning list as the second target Wifi signal, and then authenticates and connects the second target Wifi signal.
[0162] In some embodiments, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computing device, the computing device implements the network connection method for the display device described in any of the above embodiments.
[0163] In some embodiments, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, the computer implements the network connection method for the display device described in the second aspect or any embodiment of the second aspect.
[0164] 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.
[0165] 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 display device, characterized in that: include: The controller is configured as: When the display device is connected to the first target Wifi signal, a connection request for a second target Wifi signal is received; the first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process; In response to the connection request of the second target Wifi signal, obtaining an auxiliary Wifi node; the state of the auxiliary Wifi node is disabled by default; Based on the dual-band concurrent DBS service, converting the state of the auxiliary Wifi node from disabled to enabled; For the auxiliary Wifi node, a second target Wifi signal is authenticated and connected to the auxiliary Wifi node through a second maintenance process.
2. The display device according to claim 1, characterized in that The controller is further configured to: When the display device is turned on, load the Wifi driver component; After the Wifi driver component is loaded successfully, the primary Wifi node and the secondary Wifi node are obtained; The states of the primary Wifi node and the secondary Wifi node are both disabled by default.
3. The display device according to claim 2, characterized in that The controller is further configured to: Receive a connection request from a first target Wi-Fi signal; In response to the connection request of the first target Wifi signal, the state of the main Wifi node is converted from disabled to enabled, and the main Wifi node is connected to the network through the first maintenance process.
4. The display device according to claim 1, characterized in that The controller is further configured to: Obtain a second scan list; the second scan list includes Wifi signals of different frequency bands from the first target Wifi signal; the second scan list is used to provide the user with Wifi signals to which the auxiliary Wifi node can connect; A connection request of the second target Wifi signal is received; the connection request of the second target Wifi signal carries an identifier of the second target Wifi signal.
5. The display device according to claim 4, characterized in that The controller is further configured to authenticate and connect the secondary Wifi node with a second target Wifi signal through a second maintenance process for the secondary Wifi node: Determine the second target Wifi signal from the second scan list based on the identifier of the second target Wifi signal carried in the connection request of the second target Wifi signal; The second target Wifi signal of the auxiliary Wifi node is authenticated and connected to the auxiliary Wifi node by using the second maintenance process.
6. The display device according to claim 1, characterized in that The controller is further configured to: Obtain a first scanning list; the first scanning list includes the first target Wifi signal and the second target Wifi signal; the first scanning list includes Wifi signals of at least two frequency bands; A second scan list is generated based on the first scan list, where the second scan list includes the second target Wi-Fi signal.
7. The display device according to claim 4, characterized in that The controller is further configured to: Obtain a first signal frequency band of the first target Wi-Fi signal; Based on the first signal frequency band, all Wi-Fi signals except the first signal frequency band are filtered out from the first scan list to generate the second scan list.
8. A network connection method for a display device, characterized in that: include: When the display device is connected to the first target Wifi signal, a connection request for a second target Wifi signal is received; the first target Wifi signal is connected and authenticated through the main Wifi node using the first maintenance process; In response to the connection request of the second target Wifi signal, obtaining an auxiliary Wifi node; the state of the auxiliary Wifi node is disabled by default; Based on the dual-band concurrent DBS service, converting the state of the auxiliary Wifi node from disabled to enabled; For the auxiliary Wifi node, a second target Wifi signal is authenticated and connected to the auxiliary Wifi node through a second maintenance process.
9. The network connection method of a display device according to claim 8, characterized in that: When the display device is connected to the first target Wifi signal, before receiving a connection request for the second target Wifi signal, the method further includes: When the display device is turned on, load the Wifi driver component; After the Wifi driver component is loaded successfully, the primary Wifi node and the secondary Wifi node are obtained; the status of the primary Wifi node and the secondary Wifi node are both disabled by default.
10. A computer-readable storage medium, characterized in that: include: A computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the network connection method for a display device as described in any one of claims 8 to 9 is implemented.
