Set top box, electronic equipment and wireless network configuration method of set top box
By introducing the inductive distribution module and one -click distribution network SDK in the OTT set -top box, using the QR code recognition and connection channel to achieve a sensorless distribution network connection, solving the cumbersome and error -prone problems in the existing technologies, improved the problem of complicated and error errors, and improved, improved, improved, and improved. The convenience and accuracy of the configuration.
Patent Information
- Application Number
- CN202411598851.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-01-28
AI Technical Summary
The wireless network configuration methods of existing OTT set-top boxes are cumbersome and error-prone, especially in complex home network environments, making it difficult to achieve convenient and efficient configuration.
Using a sensorless distribution module, a two -dimensional code is generated by calling a one -click with the SDK. After the electronic device recognizes the QR code, set up a connection channel with the set -top box to send connectable wireless network information to achieve the inductive distribution network connection.
With the user's unsightly, the wireless network configuration of the set -top box is achieved, simplifying the configuration process, improving convenience and accuracy, and reducing configuration complexity.
Smart Images

Figure CN119383761A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a set-top box, an electronic device, and a wireless network configuration method for the set-top box. Background Art
[0002] With the rise of smart home devices in recent years, some leading smart device manufacturers such as Xiaomi, Huawei and telecom operators are vigorously developing their own smart home device ecosystems and building home smart home device control centers. As one of the core devices of the home entertainment system, the convenience and efficiency of the wireless network configuration process of the OTT (Over-The-Top) set-top box directly affects the overall user experience. The traditional OTT set-top box wireless network configuration method usually relies on users to manually enter network parameters such as SSID (Service Set Identifier) and password with a remote control. Entering the SSID password with a remote control is not only cumbersome but also easy to make mistakes. With the complexity of the home network environment, such as the use of multi-band wireless routers, the hiding of network names, and the setting of complex passwords, it has further increased the difficulty of users configuring wireless networks.
[0003] Therefore, how to develop a more intelligent, convenient and universal wireless network rapid configuration method for OTT set-top boxes has become an important issue that needs to be urgently solved in the current field of smart home network communication technology. Summary of the invention
[0004] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defect that the prior art lacks a more intelligent, convenient and universal wireless network rapid configuration method for OTT set-top boxes.
[0005] The present application provides a set-top box, the set-top box comprising a sensorless network distribution module;
[0006] When the seamless network configuration module is triggered, the one-click network configuration SDK is called to generate a QR code for display according to the terminal information of the local top box, and after the electronic device recognizes the QR code, at least one connectable wireless network is sent to the local top box through the connection channel established with the local top box, and a network connection is established based on at least one of the connectable wireless networks.
[0007] Optionally, when the non-sensing network configuration module is triggered, the one-key network configuration SDK is called to generate a QR code for display according to the terminal information of the local top box, including:
[0008] When the senseless network configuration module is triggered, the one-key network configuration SDK is called to encrypt the terminal information of the local top box to generate an encrypted string, and a QR code corresponding to the encrypted string is generated for display.
[0009] Optionally, when there are multiple connectable wireless networks, the senseless network configuration module establishes a network connection according to at least one of the connectable wireless networks, including:
[0010] The senseless network configuration module sorts the connectable wireless networks in reverse order according to the SSID strength corresponding to each connectable wireless network, traverses each connectable wireless network in turn, and establishes a network connection with one of the connectable wireless networks.
[0011] Optionally, the one-key network configuration SDK is also used to monitor the network connection status of the local top box, and after the network connection is successful, prompt the user that the network connection is successful.
[0012] The present application also provides an electronic device, the electronic device comprising a code scanning module and a device linking module;
[0013] The code scanning module is used to identify the QR code displayed in the set-top box after receiving the code scanning instruction sent by the user, and obtain the terminal information of the set-top box;
[0014] The device link module is used to establish a connection channel with the set-top box according to the terminal information, and send at least one connectable wireless network to the set-top box through the connection channel so that the set-top box can perform network connection.
[0015] Optionally, the code scanning module identifies the QR code displayed in the set-top box and obtains the terminal information of the set-top box, including:
[0016] The code scanning module recognizes the two-dimensional code displayed in the set-top box through image recognition technology, obtains relevant information in the two-dimensional code, and then decrypts the relevant information to obtain the terminal information of the set-top box.
[0017] Optionally, the device link module establishes a connection channel with the set-top box according to the terminal information, including:
[0018] The device link module uses a Bluetooth connection method and establishes a connection channel with the set-top box according to the terminal information.
[0019] Optionally, the device link module sends at least one connectable wireless network to the set-top box through the connection channel, including:
[0020] The device link module calls the Internet of Things platform to obtain the latest wireless network collected under the home device, and after using the obtained wireless network as a connectable wireless network, sends at least one connectable wireless network to the set-top box through the connection channel.
[0021] The present application also provides a wireless network configuration method for a set-top box, which is applied to the set-top box described in any one of the above embodiments and the electronic device described in any one of the above embodiments, and the method includes:
[0022] When the senseless network configuration module in the set-top box is triggered, the one-key network configuration SDK is called to generate a QR code for display according to the terminal information of the set-top box;
[0023] After receiving the code scanning instruction sent by the user, the code scanning module in the electronic device identifies the QR code displayed in the set-top box and obtains the terminal information of the set-top box;
[0024] The device link module in the electronic device establishes a connection channel with the set-top box according to the terminal information, and sends at least one connectable wireless network to the set-top box through the connection channel;
[0025] The senseless network configuration module receives at least one of the connectable wireless networks and establishes a network connection according to the at least one of the connectable wireless networks.
[0026] Optionally, the senseless network configuration module establishes a network connection according to at least one of the connectable wireless networks, including:
[0027] The senseless network configuration module sorts the connectable wireless networks in reverse order according to the SSID strength corresponding to each connectable wireless network, traverses each connectable wireless network in turn, and establishes a network connection with one of the connectable wireless networks.
[0028] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0029] The present application provides a set-top box, an electronic device, and a wireless network configuration method for a set-top box, wherein the set-top box of the present application includes a senseless network configuration module. When the senseless network configuration module is triggered, the one-key network configuration SDK can be called to generate a QR code according to the terminal information of the local top box and then send it to the electronic device, and after the electronic device recognizes the QR code, at least one connectable wireless network is sent to the local top box through the connection channel established between the local top box, and a network connection is established based on at least one connectable wireless network. The present application can realize the set-top box network configuration without the user's perception through the above operations, without the need for manual secondary selection and intervention, which greatly improves the convenience and accuracy of the set-top box network configuration, and also greatly reduces the complexity of the set-top box network configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0031] Figure 1 A data interaction diagram between a set-top box and an electronic device provided in an embodiment of the present application;
[0032] Figure 2 Another data interaction diagram between a set-top box and an electronic device provided in an embodiment of the present application;
[0033] Figure 3 A flowchart of a wireless network configuration method for a set-top box provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] In one embodiment, Figure 1 As shown, Figure 1 A data interaction diagram between a set-top box and an electronic device provided in an embodiment of the present application; the present application provides a set-top box, which may include a senseless network distribution module.
[0036] When the seamless network configuration module is triggered, the one-click network configuration SDK is called to generate a QR code for display according to the terminal information of the local top box, and after the electronic device recognizes the QR code, at least one connectable wireless network is sent to the local top box through the connection channel established with the local top box, and a network connection is established based on at least one of the connectable wireless networks.
[0037] In this embodiment, before configuring the set-top box, a one-click configuration SDK can be developed. The default startup page of the one-click configuration SDK pops up a QR code, operation prompts, and a skip button. Specifically, the one-click configuration SDK of this application can obtain the terminal information such as the Bluetooth MAC address of the set-top box and CTEI (China Telecom Equipment Identity), where the CTEI code is pre-allocated by China Telecom and preset in the set-top box device in advance, and then use the QR code generation technology to generate a QR code corresponding to the terminal information of the set-top box, which can be scanned and identified by the user using an electronic device.
[0038] Furthermore, this application can also develop a unified setting APK (short for Android application package) and integrate the one-click network configuration SDK developed above. At the same time, this application can also set the action attribute of the APK to Settings.ACTION_SETTINGS, and uniformly set up the function modules such as senseless network configuration, network measurement, resolution setting, memory management, and user information to provide to the set-top box manufacturer. The set-top box manufacturer will pre-install it in the / system / priv-app directory of the set-top box ROM to replace the original default setting APK. In this way, when the user enters the set-top box settings-senseless network configuration module, the senseless network configuration module will call the one-click network configuration SDK by default. The one-click network configuration SDK executes the internal logic to generate the binding QR code and prompts the user with the operation steps of one-click network configuration.
[0039] It is understandable that when the present application sets the action attribute of the APK to Settings.ACTION_SETTINGS in the set-top box, it usually triggers the opening of the system settings interface of the set-top box, which allows users to easily access and adjust various setting options of the set-top box, such as network settings, display settings, sound settings, application management, etc. For developers, by setting this action attribute, a shortcut can be provided in the APK, allowing users to quickly enter the system settings without having to find the settings icon in the main interface of the set-top box.
[0040] In a specific implementation method, when the user turns on the set-top box and clicks on the APK, the seamless network configuration module can be directly triggered. The module can call the one-click network configuration SDK to generate a QR code for display based on the terminal information of the set-top box. At this time, the user can use an electronic device to identify the QR code. The electronic device is pre-installed with a smart home control center APP. The QR code can be quickly identified through the APP, and a connection channel can be established with the set-top box based on the identification result, and at least one connectable wireless network can be sent to the set-top box. After the seamless network configuration module receives at least one connectable wireless network, it can establish a network connection according to the pre-set network configuration method, thereby realizing seamless network configuration.
[0041] In addition, during the connection process, the set-top box of the present application can also automatically perform troubleshooting, display error messages or solution prompts on the TV screen, and even provide a one-click repair function, thereby reducing the complex troubleshooting and repair work that users need to perform due to network problems.
[0042] In the above embodiment, the set-top box of the present application includes a senseless network configuration module. When the senseless network configuration module is triggered, the one-key network configuration SDK can be called to generate a QR code according to the terminal information of the local set-top box and then send it to the electronic device, and after the electronic device recognizes the QR code, at least one connectable wireless network is sent to the local set-top box through the connection channel established with the local set-top box, and a network connection is established based on at least one connectable wireless network. Through the above operation, the present application can realize the set-top box network configuration without the user's perception, without manual secondary selection and intervention, which greatly improves the convenience and accuracy of the set-top box network configuration, and also greatly reduces the complexity of the set-top box network configuration.
[0043] In one embodiment, when the non-sensing network configuration module is triggered, calling the one-key network configuration SDK to generate a QR code for display according to the terminal information of the local top box may include:
[0044] When the senseless network configuration module is triggered, the one-key network configuration SDK is called to encrypt the terminal information of the local top box to generate an encrypted string, and a QR code corresponding to the encrypted string is generated for display.
[0045] In this embodiment, since the one-click network configuration SDK of this application can obtain terminal information such as the Bluetooth MAC address of the set-top box and CTEI (China Telecom Equipment Identity), a QR code generation technology is used to generate a QR code corresponding to the terminal information of the set-top box.
[0046] Therefore, when the sensorless network configuration module is triggered, the one-click network configuration SDK can be called to encrypt the terminal information of the set-top box to generate an encrypted string, and generate a QR code corresponding to the encrypted string for display. Specifically, after the one-click network configuration SDK of this application obtains the terminal information such as the Bluetooth mac address and CTEI (China Telecom Equipment Identity) of the set-top box, it can call the C++ development encryption and decryption so library through JNI to generate an encrypted string, and then call the zxing technical library to generate a QR code corresponding to the encrypted string. In this way, after the smart home control center APP in the electronic device scans and recognizes the QR code, it can obtain the relevant information contained in the QR code.
[0047] In one embodiment, when there are multiple connectable wireless networks, the senseless network configuration module establishes a network connection according to at least one of the connectable wireless networks, which may include:
[0048] The senseless network configuration module sorts the connectable wireless networks in reverse order according to the SSID strength corresponding to each connectable wireless network, traverses each connectable wireless network in turn, and establishes a network connection with one of the connectable wireless networks.
[0049] In this embodiment, when the electronic device sends multiple connectable wireless networks, when the seamless network configuration module of the present application establishes a network connection based on at least one connectable wireless network, it can first determine the SSID strength corresponding to each connectable wireless network, and then sort the connectable wireless networks in reverse order according to the SSID strength, traverse each connectable wireless network in turn, and establish a network connection with one of the connectable wireless networks.
[0050] Specifically, when the non-sensing network configuration module of the present application receives multiple connectable wireless networks, it can traverse the SSID objects of each wireless network and sort them in reverse order by strength. It is understandable that the SSID object usually represents the name of a wireless network (Service Set Identifier). After obtaining a series of SSID objects through an electronic device, the present application can sort them in reverse order by signal strength, which also means that the present application will give priority to trying to connect to wireless networks with high signal strength. The purpose of this is to increase the probability of successful connection and the stability of the connection.
[0051] Furthermore, after the application traverses the SSID objects of each wireless network and sorts them in reverse order by strength, the addNetwork method of WifiManager can be called. WifiManager is a class used to manage wireless network connections in the Android system. The addNetwork method is used to add a new wireless network configuration and return a network ID. This method can usually accept a WifiConfiguration object containing wireless network configuration information as a parameter. The configuration object can include information such as SSID, password, encryption method, etc.
[0052] The specific process of establishing a network connection is as follows:
[0053] (1) Traverse the SSID objects arranged in descending order of strength. For each SSID object, create a corresponding WifiConfiguration object and set the network name, password and other information.
[0054] (2) Call the addNetwork method to add network configuration and obtain the returned network ID;
[0055] (3) Use the enableNetwork method to enable the network connection corresponding to the above network ID and try to connect to the wireless network.
[0056] Through the above connection process, you can automatically try to connect to available wireless networks on your Android device, and give priority to networks with high signal strength.
[0057] In one embodiment, the one-key network configuration SDK is also used to monitor the network connection status of the set-top box, and after the network connection is successful, it prompts the user that the network connection is successful, and the network configuration of the set-top box is completed. In this process, the user only needs to scan the code and confirm the connection, and the rest of the process is automated, the user is completely unaware, and there is no need to select SSID, enter password and other complex operations.
[0058] In one embodiment, Figure 2 As shown, Figure 2 Another data interaction diagram between a set-top box and an electronic device provided in an embodiment of the present application; an electronic device is also provided, and the electronic device may include a code scanning module and a device link module.
[0059] The code scanning module is used to identify the two-dimensional code displayed in the set-top box after receiving the code scanning instruction sent by the user, and obtain the terminal information of the set-top box.
[0060] The device link module is used to establish a connection channel with the set-top box according to the terminal information, and send at least one connectable wireless network to the set-top box through the connection channel so that the set-top box can perform network connection.
[0061] In this embodiment, a smart home control center APP is pre-installed in the electronic device. The QR code can be quickly identified through the APP, and a connection channel can be established with the set-top box based on the identification result, and at least one connectable wireless network can be sent to the set-top box. After the seamless network configuration module receives at least one connectable wireless network, it can establish a network connection according to the pre-set network configuration method, thereby realizing seamless network configuration.
[0062] To elaborate, the smart home control center APP installed in the electronic device of the present application may include a scanning module and a device link module, wherein the scanning module can receive a scanning instruction sent by a user, and identify the QR code displayed in the set-top box according to the scanning instruction, and then obtain the terminal information of the set-top box according to the identification result; and the device link module can establish a connection channel with the set-top box according to the terminal information, and send at least one connectable wireless network to the set-top box through the connection channel for the set-top box to connect to the network.
[0063] The above processes all achieve set-top box network configuration without the user's awareness, without the need for manual secondary selection and intervention, thereby greatly improving the convenience and accuracy of set-top box network configuration and greatly reducing the complexity of set-top box network configuration.
[0064] In one embodiment, the code scanning module recognizes the QR code displayed in the set-top box and obtains the terminal information of the set-top box, which may include:
[0065] The code scanning module recognizes the two-dimensional code displayed in the set-top box through image recognition technology, obtains relevant information in the two-dimensional code, and then decrypts the relevant information to obtain the terminal information of the set-top box.
[0066] In this embodiment, when identifying the QR code displayed in the set-top box or obtaining the terminal information of the set-top box, the code scanning module can first identify the QR code displayed in the set-top box through image recognition technology to obtain relevant information in the QR code. Then, the code scanning module can decrypt the relevant information to obtain the terminal information of the set-top box.
[0067] Among them, when decrypting the relevant information, the code scanning module of this application can call the C++ development encryption and decryption so library, and obtain the plaintext Bluetooth mac address and CTEI information in the relevant information through the C++ development encryption and decryption so library. The specific development process of the C++ development encryption and decryption so library can refer to the development process of the C++ development encryption and decryption so library in the prior art, which will not be repeated here.
[0068] In one embodiment, the device link module establishes a connection channel with the set-top box according to the terminal information, which may include:
[0069] The device link module uses a Bluetooth connection method and establishes a connection channel with the set-top box according to the terminal information.
[0070] In this embodiment, since current mobile smart devices and OTT set-top boxes are equipped with Bluetooth modules when leaving the factory, the device link module of this application can establish a connection channel with the set-top box by using Bluetooth connection when establishing a connection channel with the set-top box according to the terminal information.
[0071] In a specific implementation process, since the QR code of this application carries the terminal information of the set-top box, the terminal information includes but is not limited to the Bluetooth MAC address of the set-top box, CTEI (China Telecom Equipment Identity), etc. Therefore, the device link module of this application can construct a BluetoothDevice object through code, and then identify the uniqueness of the Bluetooth device through the Bluetooth device MAC. Remember that this application calls createRfcommSocketToServiceRecord(CTEI) of BluetoothDevice, creates and returns a BluetoothSocket according to CTEI, thereby establishing a connection channel between the set-top box and the electronic device, and monitoring the connection binding status at the same time.
[0072] It is understandable that this application constructs a BluetoothDevice object through the MAC address of the Bluetooth device. This step is to identify a specific Bluetooth device, such as a set-top box. In Bluetooth communication, each Bluetooth device has a unique MAC address, through which a specific Bluetooth device can be accurately found and interacted with. After this application finds the set-top box based on the MAC address of the Bluetooth device, it can try to create a Bluetooth socket through the specified UUID to communicate with a specific service on the device, such as communicating with the sensorless network configuration module in the set-top box.
[0073] In one embodiment, the device link module sends at least one connectable wireless network to the set-top box through the connection channel, which may include:
[0074] The device link module calls the Internet of Things platform to obtain the latest wireless network collected under the home device, and after using the obtained wireless network as a connectable wireless network, sends at least one connectable wireless network to the set-top box through the connection channel.
[0075] In this embodiment, when the device link module sends at least one connectable wireless network to the set-top box, it can first call the Internet of Things platform to obtain the latest wireless networks collected under the home devices in the area where the set-top box is located, and after obtaining the connectable wireless networks, send at least one connectable wireless network to the set-top box through the connection channel.
[0076] For example, the device link module of the present application can call the HIOT platform to obtain the SSID, SSID password, SSID strength and other information of the latest gateway or router collected under the home device. After obtaining the SSID and other related information of the gateway or router, it can be sent to the set-top box side through the BluetoothCommunication object so that a network connection can be established between the set-top box and one of the wireless networks.
[0077] In one embodiment, Figure 3 As shown, Figure 3 A flow chart of a wireless network configuration method for a set-top box provided in an embodiment of the present application; the present application also provides a wireless network configuration method for a set-top box, which is applied to the set-top box in any one of the above embodiments and the electronic device in any one of the above embodiments, and the method may include:
[0078] S110: When the senseless network configuration module in the set-top box is triggered, the one-key network configuration SDK is called to generate a QR code for display according to the terminal information of the set-top box.
[0079] S120: After receiving the code scanning instruction sent by the user, the code scanning module in the electronic device identifies the QR code displayed in the set-top box and obtains the terminal information of the set-top box.
[0080] S130: The device link module in the electronic device establishes a connection channel with the set-top box according to the terminal information, and sends at least one connectable wireless network to the set-top box through the connection channel.
[0081] S140: The sensorless network configuration module receives at least one connectable wireless network, and establishes a network connection according to the at least one connectable wireless network.
[0082] In this embodiment, when the user turns on the set-top box and clicks on the APK, the seamless network configuration module can be directly triggered. The module can call the one-click network configuration SDK to generate a QR code for display based on the terminal information of the set-top box. At this time, the user can use an electronic device to identify the QR code. The electronic device is pre-installed with a smart home control center APP. The APP may include a scanning module and a device link module. The scanning module can receive a scanning instruction sent by the user, and identify the QR code displayed in the set-top box according to the scanning instruction, and then obtain the terminal information of the set-top box according to the identification result; the device link module can establish a connection channel with the set-top box according to the terminal information, and send at least one connectable wireless network to the set-top box through the connection channel. After the seamless network configuration module receives at least one connectable wireless network, it can establish a network connection according to the pre-set network configuration method, thereby realizing seamless network configuration.
[0083] In the above embodiment, the present application can realize set-top box network configuration without user perception through the above operation, without the need for manual secondary selection and intervention, which greatly improves the convenience and accuracy of set-top box network configuration and also greatly reduces the complexity of set-top box network configuration.
[0084] In one embodiment, the senseless network configuration module establishes a network connection according to at least one of the connectable wireless networks, which may include:
[0085] The senseless network configuration module sorts the connectable wireless networks in reverse order according to the SSID strength corresponding to each connectable wireless network, traverses each connectable wireless network in turn, and establishes a network connection with one of the connectable wireless networks.
[0086] In this embodiment, when the electronic device sends multiple connectable wireless networks, when the seamless network configuration module of the present application establishes a network connection based on at least one connectable wireless network, it can first determine the SSID strength corresponding to each connectable wireless network, and then sort the connectable wireless networks in reverse order according to the SSID strength, traverse each connectable wireless network in turn, and establish a network connection with one of the connectable wireless networks.
[0087] Specifically, when the non-sensing network configuration module of the present application receives multiple connectable wireless networks, it can traverse the SSID objects of each wireless network and sort them in reverse order by strength. It is understandable that the SSID object usually represents the name of a wireless network (Service Set Identifier). After obtaining a series of SSID objects through an electronic device, the present application can sort them in reverse order by signal strength, which also means that the present application will give priority to trying to connect to wireless networks with high signal strength. The purpose of this is to increase the probability of successful connection and the stability of the connection.
[0088] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0089] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0090] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A set-top box, characterized in that: The set-top box includes a sensorless network distribution module; When the seamless network configuration module is triggered, the one-click network configuration SDK is called to generate a QR code for display according to the terminal information of the local top box, and after the electronic device recognizes the QR code, at least one connectable wireless network is sent to the local top box through the connection channel established with the local top box, and a network connection is established based on at least one of the connectable wireless networks.
2. The set-top box according to claim 1, characterized in that: When the non-sensing network configuration module is triggered, the one-key network configuration SDK is called to generate a QR code for display according to the terminal information of the local top box, including: When the senseless network configuration module is triggered, the one-key network configuration SDK is called to encrypt the terminal information of the local top box to generate an encrypted string, and a QR code corresponding to the encrypted string is generated for display.
3. The set-top box according to claim 1, characterized in that: When there are multiple connectable wireless networks, the senseless network configuration module establishes a network connection according to at least one of the connectable wireless networks, including: The senseless network configuration module sorts the connectable wireless networks in reverse order according to the SSID strength corresponding to each connectable wireless network, traverses each connectable wireless network in turn, and establishes a network connection with one of the connectable wireless networks.
4. A set-top box according to any one of claims 1 to 3, characterized in that: The one-key network configuration SDK is also used to monitor the network connection status of the local top box, and after the network connection is successful, prompt the user that the network connection is successful.
5. An electronic device, characterized in that: The electronic device comprises a code scanning module and a device linking module; The code scanning module is used to identify the QR code displayed in the set-top box after receiving the code scanning instruction sent by the user, and obtain the terminal information of the set-top box; The device link module is used to establish a connection channel with the set-top box according to the terminal information, and send at least one connectable wireless network to the set-top box through the connection channel so that the set-top box can perform network connection.
6. The electronic device according to claim 5, characterized in that: The code scanning module identifies the QR code displayed in the set-top box and obtains the terminal information of the set-top box, including: The code scanning module recognizes the two-dimensional code displayed in the set-top box through image recognition technology, obtains relevant information in the two-dimensional code, and then decrypts the relevant information to obtain the terminal information of the set-top box.
7. The electronic device according to claim 5, characterized in that: The device link module establishes a connection channel with the set-top box according to the terminal information, including: The device link module uses a Bluetooth connection method and establishes a connection channel with the set-top box according to the terminal information.
8. The electronic device according to claim 5, characterized in that: The device link module sends at least one connectable wireless network to the set-top box through the connection channel, including: The device link module calls the Internet of Things platform to obtain the latest wireless network collected under the home device, and after using the obtained wireless network as a connectable wireless network, sends at least one connectable wireless network to the set-top box through the connection channel.
9. A wireless network configuration method for a set-top box, applied to the set-top box according to any one of claims 1 to 4 and the electronic device according to any one of claims 5 to 8, characterized in that: The method comprises: When the senseless network configuration module in the set-top box is triggered, the one-key network configuration SDK is called to generate a QR code for display according to the terminal information of the set-top box; After receiving the code scanning instruction sent by the user, the code scanning module in the electronic device identifies the QR code displayed in the set-top box and obtains the terminal information of the set-top box; The device link module in the electronic device establishes a connection channel with the set-top box according to the terminal information, and sends at least one connectable wireless network to the set-top box through the connection channel; The senseless network configuration module receives at least one of the connectable wireless networks and establishes a network connection according to the at least one of the connectable wireless networks.
10. The wireless network configuration method of a set-top box according to claim 9, characterized in that: The senseless network configuration module establishes a network connection according to at least one of the connectable wireless networks, including: The senseless network configuration module sorts the connectable wireless networks in reverse order according to the SSID strength corresponding to each connectable wireless network, traverses each connectable wireless network in turn, and establishes a network connection with one of the connectable wireless networks.