A display device and a USB-based contactless network control method
By setting up a wired network card in the split-type smart TV and using USB network sharing service to receive hotspot information from the dock, seamless network pairing is automatically achieved, solving the user experience problem when the display screen and the dock are separated and improving the convenience of network connection.
Patent Information
- Application Number
- CN202111164455.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2041-09-30
AI Technical Summary
When a split-type smart TV is separated from its base, users need to manually operate the wireless network connection process, resulting in a poor user experience and making it impossible to achieve seamless network configuration.
Configure a first wired network card and a second wired network card in the display device, and connect them to the dock via a USB network interface. Start the USB network sharing connection service to receive hotspot information from the dock, create a listening service to monitor the access status, and automatically start the network card hotspot connection when not connected to achieve seamless network configuration.
When the display is detached from the base, it automatically connects to the network via USB, avoiding a complicated wireless network connection process and improving the user's network experience for foreground applications.
Smart Images

Figure CN115914707B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display device technology, and more specifically, to a display device and a seamless network configuration control method based on a USB path. Background Technology
[0002] With the development of smart technology and industry, smart TVs have replaced traditional forms with new display formats. For example, the new generation of smart TVs consists of two parts: a display screen and a stand.
[0003] In some network connectivity implementations, when the display is connected to the dock, it can join a wired network via the dock's wired network interface to access the internet. When the display is detached from the dock, it connects to the dock via a USB cable. Based on the Android system's remote network driver interface protocol, the display can share the wired network connected to the dock via the USB cable.
[0004] For split-type smart TVs already connected to a regular network link, in some application scenarios, the display screen and base will inevitably be separated during use for ease of operation. For example, when using video intercom, the display screen may be moved away from its fixed position on the base for easier operation. However, when the display screen is separated from the base, the wired network connection to the base is disconnected, and the user needs to operate the wireless network connection process on the display screen, which is cumbersome and cannot achieve seamless network configuration, resulting in a poor user experience. Summary of the Invention
[0005] To address the issue that smart TVs, when separated from their base, require cumbersome wireless network connection procedures via the display screen, resulting in a poor user experience, this application provides a display device and a USB-based method for seamless network configuration control.
[0006] The embodiments of this application are implemented as follows:
[0007] A first aspect of this application provides a display device, including: a display for displaying a user interface containing an application; a dock connected to the display via a USB network interface; a network interface card (NIC), including a first wired NIC, a second wired NIC, and a wireless NIC; and a controller configured to: when the first wired NIC and the second wired NIC are connected to the dock via a network link, control the dock to receive hotspot information of the first wired NIC and the second wired NIC obtained from a hotspot storage class by starting a USB network sharing connection service, wherein the hotspot information includes a hotspot name and a hotspot password; create a first service for monitoring USB network nodes, the first service being able to monitor the connection status of the display and the dock; and when no USB network node is detected, control the first service to start a hotspot connection of the NIC, so that the application can access the network link corresponding to the first wired NIC and the second wired NIC via the hotspot information when the display is not connected to the dock.
[0008] A second aspect of this application provides a seamless network configuration control method based on a USB path, the method comprising:
[0009] When the first wired network card and the second wired network card are connected to the dock through a network link, the control receives the hotspot information of the first wired network card and the second wired network card obtained by the dock from the hotspot storage class by starting the USB network sharing connection service. The hotspot information includes the hotspot name and the hotspot password.
[0010] Create a first service for listening to USB network nodes, which can monitor the connection status of the monitor and the dock;
[0011] When the USB network node is not detected, the first service is controlled to start the hotspot connection of the network card, so that the application can access the network links corresponding to the first wired network card and the second wired network card through the hotspot information when the display is not connected to the dock.
[0012] The beneficial effects of this application are as follows: A first wired network card and a second wired network card are installed on the base of a split-type smart TV. When the monitor is connected to the base via a USB network interface, the first wired network card and the second wired network card hotspot information obtained by the base from a hotspot storage class are received by activating a wireless network connection service. Furthermore, a first service is created to monitor USB network nodes, simultaneously monitoring the connection status of both the monitor and the base. Moreover, when no USB network node is detected, the first service is controlled to activate the hotspot connection of the network cards. This allows the monitor to access the network links corresponding to the first and second wired network cards via hotspot information even when the monitor is not connected to the base. This avoids the need for the monitor to be separated from the base, allowing access to the network only through a complex wireless network connection process on the display screen, achieving seamless network configuration and improving the user's network experience for playing foreground applications. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device according to one or more embodiments of this application;
[0015] Figure 2 This is a hardware configuration block diagram of a display device 200 according to one or more embodiments of this application;
[0016] Figure 3 This is a hardware configuration block diagram of a control device 100 according to one or more embodiments of this application;
[0017] Figure 4 This is a schematic diagram of the software configuration in a display device 200 according to one or more embodiments of this application;
[0018] Figure 5 This is a schematic diagram showing the icon control interface of an application in a display device 200 according to one or more embodiments of this application;
[0019] Figure 6 A schematic diagram of the structure of a split-type smart TV according to an embodiment of this application is shown;
[0020] Figure 7 This application shows a schematic diagram illustrating an application scenario of a smart TV according to an embodiment of the present application;
[0021] Figure 8A schematic diagram of the boot screen of a smart TV according to an embodiment of this application is shown;
[0022] Figure 9 A schematic diagram of the user interface of a smart TV according to an embodiment of this application is shown;
[0023] Figure 10 A schematic diagram of the user interface of a smart TV according to another embodiment of this application is shown;
[0024] Figure 11 A schematic diagram of the user interface of a smart TV according to another embodiment of this application is shown;
[0025] Figure 12 A schematic diagram of the user interface of a smart TV according to another embodiment of this application is shown;
[0026] Figure 13 A schematic diagram of the user interface of a smart TV according to another embodiment of this application is shown;
[0027] Figure 14 A schematic diagram of the user interface of a smart TV according to another embodiment of this application is shown;
[0028] Figure 15 A schematic diagram of a USB connection service process according to an embodiment of this application is shown;
[0029] Figure 16 This illustration shows a schematic diagram of the connection process between the base end and the display end according to another embodiment of this application;
[0030] Figure 17 A schematic flowchart of another embodiment of the present application of a seamless network distribution control method based on a USB path is shown. Detailed Implementation
[0031] To make the objectives, implementation methods and advantages of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only some embodiments of this application, and not all embodiments.
[0032] Based on the exemplary embodiments described in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the appended claims. Furthermore, although the disclosures in this application are presented by way of one or more exemplary examples, it should be understood that each aspect of these disclosures can constitute a complete implementation on its own. It should be noted that the brief descriptions of terminology in this application are merely for the convenience of understanding the embodiments described below, and are not intended to limit the implementation of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0033] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device according to one or more embodiments of this application, such as... Figure 1 As shown, a user can operate the display device 200 via a mobile terminal 300 and a control device 100. The control device 100 can be a remote control, and communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. In some embodiments, a mobile terminal, tablet computer, computer, laptop computer, and other smart devices can also be used to control the display device 200.
[0034] In some embodiments, the mobile terminal 300 can install software applications with the display device 200 to achieve connection and communication via network communication protocols, enabling one-to-one control operations and data communication. Audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 for synchronous display. The display device 200 also communicates with the server 400 via various communication methods. The display device 200 can communicate via a local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 can provide various content and interactive features to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, or a projection display device. In addition to providing broadcast television reception functions, the display device 200 can also be equipped with a smart network television function that provides computer support.
[0035] Figure 2 An exemplary block diagram of the configuration of the control device 100 according to an exemplary embodiment is shown. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input commands and convert them into commands that the display device 200 can recognize and respond to, acting as an intermediary for interaction between the user and the display device 200. The communication interface 130 is used for external communication and includes at least one of a Wi-Fi chip, a Bluetooth module, NFC, or a replacement module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, buttons, or a replacement module.
[0036] Figure 3 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown. For example... Figure 3The display device 200 shown includes at least one of the following: a tuner / demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to nth interface for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner / demodulator 210 receives broadcast television signals via wired or wireless reception and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals. The detector 230 is used to collect signals from the external environment or signals interacting with the external environment. The controller 250 and the tuner / demodulator 210 can be located in different separate devices; that is, the tuner / demodulator 210 can also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0037] The communicator 220 may include multiple communication modules, which may include one or more of the following types: Wi-Fi module, Bluetooth module, wired Ethernet module, etc. Each of these modules may consist of one or more modules. For example, the communicator 220 may include at least two wired Ethernet modules and one Wi-Fi module. Different communication modules can be used to connect to the same network or to connect to different networks. Each communication module can perform data transmission independently or collaboratively. For example, multiple communication modules can be used simultaneously for independent data transmission, different communication modules can be used for data transmission in different application scenarios, or one communication module can be used for partial data transmission while another communication module or external device interface is used for the remaining data transmission. The data transmission method of each network module can be controlled by the controller 250.
[0038] In some embodiments, multiple communication modules (e.g., two wired Ethernet modules, two Wi-Fi modules, or one wired Ethernet module and one Wi-Fi module, etc.) can be connected to the home network simultaneously to enable wide area network access. Each of these communication modules can be independently configured with a different IP address, and each can independently complete data transmission, or each can transmit a portion of the data, thereby coordinating to complete data transmission.
[0039] In other embodiments, at least one communication module (e.g., a wired Ethernet module or a Wi-Fi module) may be connected to the community network for calling elevators or video doorbell intercoms; alternatively, a communication module (e.g., a Bluetooth module) or an external device interface (e.g., USB or HDMI) may be used to connect to other smart devices (e.g., smart home appliances or smart sensors) to enable data transmission or control between smart devices. Data transmission between smart devices can be achieved using both a communication module and an external device interface, and this application does not limit this approach.
[0040] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200. The user can input user commands through a graphical user interface (GUI) displayed on the monitor 260, and the user input interface receives the user input commands through the GUI. Alternatively, the user can input user commands by inputting specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.
[0041] In some embodiments, a "user interface" is the medium through which an application or operating system interacts and exchanges information with a user, enabling the conversion between the internal form of information and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include at least one of the visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0042] Figure 4 This is a schematic diagram of the software configuration in a display device 200 according to one or more embodiments of this application, such as... Figure 4 As shown, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Layer"), and the kernel layer. The kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, Wi-Fi driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0043] Figure 5 This is a schematic diagram showing the icon control interface of an application in a display device 200 according to one or more embodiments of this application, such as... Figure 5 As shown, the application layer contains at least one application whose corresponding icon control can be displayed on the screen, such as: live TV application icon control, video-on-demand application icon control, media center application icon control, application center icon control, game application icon control, etc. Live TV applications can provide live television from different signal sources. Video-on-demand applications can provide video from different storage sources. Unlike live TV applications, video-on-demand provides video display from certain storage sources. Media center applications can provide applications for playing various multimedia content. The application center can provide storage for various applications.
[0044] In some embodiments, the smart terminal is equipped with a WiFi module that complies with the IEEE 802.11 protocol specification, loads the corresponding driver, and provides the corresponding interface for processes above the framework layer to call.
[0045] In one application, there's a desire to enable the same smart terminal's WiFi module to operate simultaneously in both site and hotspot modes. This allows the smart terminal to connect to the external network in site mode and then provide access and network sharing services to other WiFi devices in hotspot mode. In reality, smart terminals based on Windows, Android, or iOS can utilize the functionality provided by their WiFi modules to virtually operate as two devices: a site device and a hotspot device. This allows the smart terminal to simultaneously connect to a wireless hotspot and act as a wireless hotspot for other WiFi devices to access.
[0046] With the development of smart terminal technology, smart terminals have become important tools in people's lives. As a display device, a smart terminal can connect to the network through a smart gateway. Therefore, a smart gateway can realize the interconnection between terminals within a home network and communication with external networks. Android-based smart terminals include smart TVs, mobile phones, tablets, dashcams, wearable watches, glasses, and more.
[0047] With the development of smart terminal technology, a new type of smart home has gradually emerged, replacing traditional home appliances, such as the Brilliant Remote Control, the Magic Cube Screen, and the Magic Cube Screen Pro. Taking the Magic Cube Screen as an example, as a new type of smart home, it is equipped with a smart software system. This system can realize multiple functions and pre-install various applications, providing users with rich content services.
[0048] The embodiments of this application can be applied to various types of display devices (including but not limited to: smart TVs, LCD TVs, etc.).
[0049] In some application scenarios, based on different user needs, new structural improvements have been proposed for smart TVs, such as the split-type smart TV, which consists of a display screen and a stand. Each display screen and stand has its own independent operating system. Both the display screen and the stand are equipped with wireless network cards. In some application scenarios, to use a dedicated network link, the stand is usually equipped with a network cable interface for network access. The display screen, while displaying the user interface for the first and second applications, also has a USB network interface on its back or bottom for connecting to the stand's network link via a USB network card. The display screen can connect to the stand via a 12-pin connector or a USB cable to share the stand's wired network. The display screen can also connect to Wi-Fi via its built-in Android system. When the display is connected to the base, it can directly connect to the wired network on the base via a wired network card connected to the base, or it can connect to the wireless network through its own system. When the display is separated from the base, it connects to the base via a USB cable and shares the wired network on the base via the USB cable, or it can connect to the wireless network through the wireless network card configured in its own system. The network connection process can be achieved by the user performing the network connection operation on the screen.
[0050] However, for split-type smart TVs, in application, it is often necessary to achieve seamless network pairing when the screen is removed from the base. Users do not need to manually perform a series of network connection operations on the screen to achieve network connection, which is undoubtedly a better network experience for users.
[0051] Based on this, the following text will take a smart TV as an example to describe the display device provided in this embodiment and the seamless network configuration control method based on the USB channel.
[0052] In some embodiments, please refer to the appendix. Figure 6 The smart TV includes: a display for displaying a user interface containing applications; a stand connected to the display via a USB network interface; and a network card, including a first wired network card, a second wired network card, and a wireless network card. The display is connected to the stand via a USB cable and is connected to a wired network accessed on the stand via a USB connection.
[0053] In some embodiments, the network card includes a first wired network card, a second wired network card, and a wireless network card; wherein the first wired network card and the second wired network card of the smart TV can simultaneously access different network links, or the first wired network card and the wireless network card of the display device can simultaneously access different network links, so that the display device can simultaneously access the first network link and the second network link. Specifically, the smart TV also includes a first network cable interface connected to the first wired network card and a second network cable interface connected to the second wired network card, disposed on the base. It should be noted that both the monitor and the base are equipped with wireless network cards. The wireless network card on the monitor is used to access a dedicated network link when separated from the base, so that the monitor can access the internet independently when separated from the base. The wireless network card on the base is used to release a hotspot when the monitor shares the wired network of the base through a USB network path, so as to achieve seamless network configuration.
[0054] In some application scenarios, for smart TVs that are already connected to a regular network link, if certain applications must obtain data through a dedicated network link to run, such as running a community video doorbell or community video clinic application on a smart TV via a community dedicated network, then for split-type smart TVs, the base should be equipped with at least two wired network link access points: one for accessing a dedicated network link and the other for accessing a regular network link.
[0055] In some embodiments, the smart TV can be used as such Figure 7 The application scenario shown is that the smart TV acts as the hub of home smart devices. One network communication channel can be used to connect to the network router within the community LAN, so it can communicate with the door station, property management machine, and community server, and access the wide area network through the first wired network card corresponding to the first network link; the other network communication channel can be used to connect to the home network router connected to the Internet, including wired and wireless networks, so games, audio and video applications that require Internet connection can be used, and access the wide area network through the second wired network card or wireless network corresponding to the second network link.
[0056] In some embodiments, when the display starts up, a user-sent application launch command is received; upon receiving the user-sent application launch command, the network segment to which the application data belongs is determined, so that different applications can access the local area network through different network links based on different routing rules.
[0057] In some embodiments, the smart TV receives a user-sent command to launch an application when the display is turned on. Figure 8 This shows the display interface when the device is powered on on a smart TV monitor.
[0058] Figure 9A schematic diagram of the user interface of a smart TV according to an embodiment of this application is shown, such as... Figure 9 As shown, the smart TV display has a first application installed for community network applications, including an intercom doorbell application, a community video clinic application, and an elevator or smart lock calling application; it also has a second application installed for general network applications, namely a first video application, a second video application, and a third video application for video playback.
[0059] In some embodiments, the smart TV provided in this application can play live channels or video programs through installed applications on the foreground user interface when the smart TV is playing a live channel or a video program. If the user launches multiple applications for video playback, these multiple applications can run in the background if they are not displayed on the foreground user interface.
[0060] In some embodiments, community network applications include data generated during the use of applications such as video intercom, elevator calling, or smart door locks. For example, when the elevator calling application is opened on a smart TV, the relevant interface of the elevator calling application is displayed on the screen, and the elevator is successfully called by the user's input command. When the user launches a first application on the display interface (the first application is a general term including community network applications), the controller, upon receiving the launch command, controls the data generated by the relevant application to communicate via the first wired network card corresponding to its corresponding first link network. For example, when the controller detects that the relevant function of the video intercom application has been activated, it controls the display to show the video intercom screen on the display interface. During the use of such community applications, the data generated by the relevant application is controlled to communicate via the first wired network card corresponding to its corresponding first link network. For example, when the smart TV dock connects to the first wired network card via the first network cable interface, the USB connection service is activated to receive the network card hotspot information obtained by the dock from the hotspot storage class. When the smart TV display receives the hotspot information corresponding to the first wired network card, it connects to the first network link corresponding to the first wired network card through the hotspot information. When only the intercom doorbell application is launched, the controller will control the first wired network card to drive its corresponding first network link through the hotspot access, providing data communication for the first application playing a video program in the foreground user interface. It can also be understood that the intercom doorbell application launched in the foreground user interface at this moment communicates via the smart TV's first wired network card, such as... Figure 10 As shown in the image.
[0061] In some application scenarios, smart TVs connect to the intercom doorbell at the user's door via a dedicated link network. When the intercom doorbell is activated, because the smart TV is a split type, the base can be disconnected from the display without affecting the normal use of the network. Users can then establish a connection with the doorbell device through the display from a distance from the base, thereby improving the user experience. This avoids the problem of traditional all-in-one display devices where the screen and base are fixedly connected, and users can only use the display device when they reach a specific location, thus enhancing the user experience.
[0062] In some embodiments, ordinary application data refers to commonly used internet data, such as when an application on a smart TV needs to connect to the internet to access media resources, browse the web, or play videos. The user launches these applications through the smart TV desktop. Figure 9 The second application shown, if it is not a community network application, will control the data generated by the application to communicate via the second wired or wireless network card corresponding to its second network link after the second application is launched. For example, when the second wired or wireless network card is connected to the smart TV dock via a second network cable interface, the USB connection service is activated to receive the hotspot information of the second wired or wireless network card obtained from the hotspot storage class by the dock. When the smart TV display receives the hotspot information corresponding to the second wired or wireless network card, it accesses the second network link corresponding to the second wired or wireless network card through the hotspot information. When the smart TV only launches the first video application, the controller will control the second wired or wireless network card to drive its corresponding second network link through the hotspot access, providing data communication for the second application playing a video program in the foreground user interface. It can also be understood that the video program in the foreground user interface at this moment communicates via the smart TV's second wired network card, such as... Figure 11 As shown in the diagram, or, when the smart TV only launches the first video application, the controller will control the wireless network card to drive its corresponding second network link, providing data communication for the second application playing the video program in the foreground user interface. This can also be understood as the video program in the foreground user interface communicating via the smart TV's wireless network card at this moment. Figure 12 As shown in the image.
[0063] In some embodiments, when a smart TV can use multiple networks, its first wired network card and second wired network card can simultaneously access different network links. While playing a video application in a second application via the network link accessed by the second wired network card, the smart TV can also simultaneously control a community application to perform corresponding operations via the first wired network card. For example, while playing the first video application on the smart TV, the user can use an elevator call application to call the elevator, or receive a doorbell call from the outside world via a smart door lock application. Figure 13As shown.
[0064] In some embodiments, the first wired network card and the wireless network card of the smart TV can simultaneously access different network links, so that the display device can simultaneously access the first network link and the second network link. Although the network cards accessed are different, the smart TV interface display is the same as when both the first and second wired network cards are connected, such as... Figure 14 As shown. When a smart TV obtains hotspot information by activating the USB connection service, it can simultaneously obtain hotspot information corresponding to different network card devices. In practical applications, it can select the appropriate hotspot based on the specific application. For example, if the data to be transmitted for the first application belongs to the network segment corresponding to the first wired network card, the control system accesses the first network link through the obtained hotspot information of the first wired network card, enabling the first application to communicate via the first wired network card corresponding to the first link network. If the data to be transmitted for the second application belongs to the network segment corresponding to the second wired network card, the control system accesses the second network link through the obtained hotspot information of the second wired network card, enabling the second application to communicate via the second wired network card corresponding to the second link network.
[0065] Therefore, if an application does not select the appropriate network for transmission during use, it cannot perform its functions. For example, in this embodiment, community-type applications communicate via the first wired network card eth1 corresponding to the first link network, while non-community-type applications, i.e., traditional network data resource transmission applications, communicate via the second network card (including the second wired network card and the wireless network card) corresponding to the second network link. If the network is not configured with the appropriate network channel as required during setup, the aforementioned proprietary network transmission cannot be achieved, and the relevant applications cannot start.
[0066] In some embodiments, for example, when a first wired network card is connected to the dock of a smart TV via a first network cable interface, a wireless network card is also connected to the dock, allowing an access point (AP) hotspot to be opened simultaneously with the wired connection. Therefore, once the network link of the first wired network is established, the control system kernel sends a notification to the network daemon process via an event mechanism. Upon receiving the notification, the network daemon process sends a notification to the network process service, thereby notifying the network sharing service. The network process then listens for this notification and, upon receiving it, initiates the USB connection service.
[0067] After starting the USB connection service, the system's USB service is first obtained. Then, the device list is retrieved, devices are enumerated, and the device corresponding to the first wired network card is matched and recorded. The device interface is then located using this recorded device and recorded. Next, endpoints are assigned through the device interface. There are two types of endpoints: output endpoints and input endpoints. Output endpoints are used to send data, and input endpoints are used to receive data. Finally, a device connection is established using the device open function, allowing the display to send and receive data through the endpoints assigned by the device interface, using different output and input endpoints. Figure 15 As shown.
[0068] In some embodiments, after a device connection is established between the display and the base, the control base connects to the wireless network server through the wireless network management class, obtains the hotspot configuration class from the hotspot storage class, obtains the hotspot name and hotspot password from the hotspot configuration class, and controls the transmission of the hotspot name and password to the display screen through the USB connection service mentioned above.
[0069] In some embodiments, the display needs to create a first service for listening to the USB network node, the network node / sys / class / net / usb0, which can monitor the connection status of the display and the dock.
[0070] If the node is detected, it indicates that the node exists, meaning that there is a normal connection between the display screen and the base, and application data is transmitted through the network link corresponding to the preset wired or wireless network.
[0071] If the node is not detected, it indicates that the node does not exist, meaning the USB connection between the monitor and the dock is disconnected. In this case, a connection needs to be initiated, which involves controlling the monitor to connect to the wireless network server via the wireless network management class, and then initiating the underlying Wi-Fi connection by calling the client of the underlying network service through the Wi-Fi client mode class. After successful connection, the monitor is registered in the connection management service class. This enables seamless network configuration between the monitor and the dock by receiving hotspot information from the dock when the monitor is detached from the dock.
[0072] In some embodiments, in order to enable the display device to simultaneously obtain the IP addresses of the first wired network and the second wired network, as well as the IP addresses of the first wired network and the wireless network, the following method is typically used:
[0073] In some embodiments, when a wired network accesses a device, the network daemon notifies the Ethernet tracing class, which then obtains an IP address through the Internet Protocol controller in the Ethernet factory class. After obtaining the IP address, both wired networks generate network proxy objects and register them with the network connection management service. Finally, the network connection management service scores the connections to determine which network to connect to and then notifies the kernel. If both wired networks have the same score, the later-connected wired network will be discarded.
[0074] In some embodiments, when obtaining IP addresses for a dual-wired network, a service for the first wired network to obtain an IP address will be designed. First, this service will check if the first wired network node exists. If it exists, it means the network node is ready, and then the first wired network interface card (NIC) will be started. Then, the IP address will be obtained through a Dynamic Host Configuration Protocol (DHCP) client. Upon receiving the request, the DHCP server will obtain the IP address and then write the IP address and other information to the NIC.
[0075] The second wired network obtains its IP address through the same process described above. When the second wired network connects to a device, the network daemon notifies the Ethernet tracing class to create a factory class that retrieves the IP address through the Internet Protocol controller. After obtaining the IP address, the second wired network generates a network proxy object and registers it with the network connection management service. The network connection management service is then written into the kernel and network interface card (NIC) to facilitate subsequent operations.
[0076] Figure 17 A flowchart of a USB-based seamless network configuration control method according to some embodiments is illustrated. An embodiment of the present invention provides a USB-based seamless network configuration control method, executed by a controller configured in a smart TV provided in the foregoing embodiments, the method comprising:
[0077] S1. When the first wired network card and the second wired network card are connected to the dock through the network link, the control receives the hotspot information of the first wired network card and the second wired network card obtained by the dock from the hotspot storage class by starting the USB network sharing connection service. The hotspot information includes the hotspot name and the hotspot password.
[0078] S2. Create a first service for monitoring wireless network card nodes, wherein the first service can monitor the connection status of the display and the dock.
[0079] S3. When no USB network node is detected, control the first service to start the hotspot connection of the wireless network card, so that the application can access the network links corresponding to the first wired network card and the second wired network card through the hotspot information when the display is not connected to the dock.
[0080] In some embodiments, the first wired network card and the second wired network card can simultaneously access different network links, or the first wired network card and the wireless network card can simultaneously access different network links, so that the display device can simultaneously access the first network link and the second network link.
[0081] In some embodiments, initiating the USB network tethering connection service includes:
[0082] When the USB network is connected to the kernel, the control kernel sends a notification to the network service through an event mechanism to notify the network process, so that the network process can start the USB network service after listening to the notification.
[0083] After USB network service is enabled, a device connection is established between the dock network and the display network through USB network sharing service;
[0084] The receiver obtains the network card's hotspot information from the end hotspot storage class.
[0085] In some embodiments, the network card hotspot information obtained by the receiving dock from the hotspot storage class includes the controller:
[0086] The control base terminal wireless network management class connects to the wireless network server so that the wireless network server can obtain the hotspot configuration class from the hotspot storage class, wherein the hotspot configuration class includes the hotspot information of the first wired network card and the second wired network card.
[0087] In some embodiments, the application includes a first application and a second application, and the controller is configured to:
[0088] When the first wired network card is connected to the dock through the first network link, the hotspot information shared by the USB network is used to access the first network link, so that the first application can access the wide area network through the first network link connected by the first wired network card.
[0089] When the second wired network card accesses the base via the second network link, it accesses the second network link through the hotspot information shared by the wireless network, so that the second application can access the wide area network through the second wired network card and the second network link accessed by the wireless network card.
[0090] The first network link and the second network link can be simultaneously connected to the wide area network.
[0091] As can be seen from the above technical solutions, the display device and the seamless network configuration control method based on USB channels provided in this embodiment are equipped with a first wired network card and a second wired network card at the base of the split smart TV. These are used to receive the network card hotspot information obtained by the base from the hotspot storage class by activating a wireless network connection service when the wireless network card connects the display to the base via a network link. Furthermore, a first service is created to monitor USB network nodes, which can simultaneously monitor the access status of the display and the base. Further, when no USB network node is detected, the first service is controlled to activate the hotspot connection of the wireless network card. This allows the display application to access the network links corresponding to the first and second wired network cards via hotspot information when the display is not connected to the base. This avoids the separation of the display and the base, allowing access to the network only through the complex wireless network connection process operated on the display screen, thus achieving seamless network configuration and improving the user's network experience for playing foreground applications.
[0092] The solution provided in this embodiment allows the display to obtain the dock's hotspot information via a USB path in some feasible ways. When the USB path is disconnected, it can automatically connect to the dock's hotspot, achieving a seamless network configuration effect and improving the user experience.
[0093] The following paragraphs will compare and list the Chinese terms used in the application specification and their corresponding English terms to facilitate reading and understanding.
[0094] Event mechanism: uevent;
[0095] Network daemon: netd;
[0096] Network process service: Nmservice
[0097] Network sharing: tethering
[0098] Network process: (TetherSettings)
[0099] USB service: (usbservice)
[0100] Get Device List: getDeviceList
[0101] Equipment Supplier ID: VendorID;
[0102] Equipment Product ID: ProductID;
[0103] Equipment: device;
[0104] Device interface: Interface;
[0105] Endpoint;
[0106] Output endpoint: out;
[0107] Input endpoint: in;
[0108] Open the device: openDevice;
[0109] Device connection: deviceConnection;
[0110] Wireless network management class: WifiManager;
[0111] Hotspot storage class: WifiApConfigStore;
[0112] Hotspot configuration class: WifiConfiguration;
[0113] Hotspot name: SSID;
[0114] Hotspot password: preSharedKey
[0115] WifiManager (Wireless Network Management App)
[0116] Wireless network server: WifiService
[0117] WiFi client mode class: ClientModeImpl
[0118] Underlying network services: supplicant
[0119] Underlying network service client: SupplicantStaIfaceHal;
[0120] Management service class: ConnectivityService;
[0121] Ethernet tracing class: EthernetTracker;
[0122] Ethernet Factory Class: EthernetFactory;
[0123] Internet Protocol Controller: IPClient;
[0124] Network proxy class: NetworkAgent;
[0125] Network connectivity management service: connectivityservice;
[0126] Network connectivity management service: connectivityservice;
[0127] Kernel: kerner;
[0128] Dynamic Host Configuration Protocol (DHCP) client: udhcpc;
[0129] Dynamic Host Configuration Protocol (DHCP) server: udhcpd.
[0130] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the discussion in some embodiments above is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various different variations of the embodiments suitable for specific application considerations.
Claims
1. A display device, characterized in that, include: A display used to show the user interface containing the application; The base connects to the display via a USB network interface; The network interface card (NIC) includes a first wired NIC, a second wired NIC, and a wireless NIC; wherein the wireless NIC is respectively disposed in the display and the base; the wireless NIC disposed in the display is used to access a network link when the display is separated from the base; the wireless NIC disposed in the base is used to release a hotspot when the display is connected to the base; the first wired NIC and the second wired NIC are disposed in the base. The controller is configured as follows: When the first wired network card and the second wired network card are connected to the dock through a network link, the control receives the hotspot information of the first wired network card and the second wired network card obtained by the dock from the hotspot storage class by starting the USB network sharing connection service. The hotspot information includes the hotspot name and the hotspot password. Create a first service for listening to USB network nodes, which can monitor the connection status of the monitor and the dock; When the USB network node is not detected, the first service is controlled to start the hotspot connection of the wireless network card set in the display, so that the application can access the network links corresponding to the first wired network card and the second wired network card through the hotspot information when the display is not connected to the dock.
2. The display device according to claim 1, characterized in that, The first wired network card and the second wired network card can simultaneously access different network links, or the first wired network card and the wireless network card can simultaneously access different network links, so that the display device can simultaneously access the first network link and the second network link.
3. The display device according to claim 1, characterized in that, The USB network tethering service is started. Including the controller: When the USB network is connected to the kernel, the control kernel sends a notification to the network service through an event mechanism to notify the network process, so that the network process can start the USB network service after listening to the notification. After USB network service is enabled, a device connection is established between the dock network and the display network through USB network sharing service; The receiver obtains the network card's hotspot information from the end hotspot storage class.
4. The display device according to claim 3, characterized in that, The receiving base obtains the network card hotspot information from the hotspot storage class, including the controller: The control base terminal wireless network management class connects to the wireless network server so that the wireless network server can obtain the hotspot configuration class from the hotspot storage class, wherein the hotspot configuration class includes the hotspot information of the first wired network card and the second wired network card.
5. The display device according to claim 2, characterized in that, The application includes a first application and a second application, and the controller is configured to: When the first wired network card is connected to the dock through the first network link, the hotspot information shared by the USB network is used to access the first network link, so that the first application can access the wide area network through the first network link connected by the first wired network card. When the second wired network card is connected to the dock through the second network link, the hotspot information shared by the USB network is used to access the second network link, so that the second application can access the wide area network through the second wired network card and the second network link accessed by the wireless network card. The first network link and the second network link can be simultaneously connected to the wide area network.
6. A seamless network distribution control method based on a USB path, characterized in that, An application is made to a display device, the display device including a monitor, a stand, and a network interface card (NIC); the NIC includes a first wired NIC, a second wired NIC, and a wireless NIC; wherein the wireless NIC is respectively disposed in the monitor and the stand; the wireless NIC disposed in the monitor is used to access a network link when the monitor is separated from the stand; the wireless NIC disposed in the stand is used to release a hotspot when the monitor is connected to the stand; the first wired NIC and the second wired NIC are disposed in the stand; the method includes: When the first wired network card and the second wired network card are connected to the dock through a network link, the control receives the hotspot information of the first wired network card and the second wired network card obtained by the dock from the hotspot storage class by starting the USB network sharing connection service. The hotspot information includes the hotspot name and the hotspot password. Create a first service for listening to USB network nodes, which can monitor the connection status of the monitor and the dock; When the USB network node is not detected, the first service is controlled to start the hotspot connection of the wireless network card set in the display, so that the application can access the network links corresponding to the first wired network card and the second wired network card through the hotspot information when the display is not connected to the dock.
7. The seamless network distribution control method based on USB path according to claim 6, characterized in that, The first wired network card and the second wired network card can access different network links simultaneously, or the first wired network card and the wireless network card can access different network links simultaneously, so as to access the first network link and the second network link at the same time.
8. The seamless network distribution control method based on USB path according to claim 6, characterized in that, The process of activating the USB network tethering service includes: When the USB network is connected to the kernel, the control kernel sends a notification to the network service through an event mechanism to notify the network process, so that the network process can start the USB network service after listening to the notification. After USB network service is enabled, a device connection is established between the dock network and the display network through USB network sharing service; The receiver obtains the network card's hotspot information from the end hotspot storage class.
9. The seamless network distribution control method based on USB path according to claim 8, characterized in that, The network card hotspot information obtained by the receiving base from the hotspot storage class includes: The control base terminal wireless network management class connects to the wireless network server so that the wireless network server can obtain the hotspot configuration class from the hotspot storage class, wherein the hotspot configuration class includes the hotspot information of the first wired network card and the second wired network card.
10. The seamless network distribution control method based on USB path according to claim 7, characterized in that, The application includes a first application and a second application, including: When the first wired network card is connected to the dock through the first network link, the hotspot information shared by the USB network is used to access the first network link, so that the first application can access the wide area network through the first network link connected by the first wired network card. When the second wired network card is connected to the dock through the second network link, the hotspot information shared by the USB network is used to access the second network link, so that the second application can access the wide area network through the second wired network card and the second network link accessed by the wireless network card. The first network link and the second network link can be simultaneously connected to the wide area network.
Citation Information
Patent Citations
Service combined identification code switching control method and wireless access equipment
CN101420759A
Interactive multimedia demonstration system and method based on multiple control mode
CN101477753A