Wireless hotspot enabling method, set-top box, communication system and storage medium
By searching and optimizing wireless hotspot configuration parameters in the set-top box, the problem of unstable wireless hotspot performance is solved, efficient communication network performance is improved, and the configuration process is simplified.
Patent Information
- Application Number
- PCT/CN2023/130876
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2023-11-10
- Publication Date
- 2024-09-06
AI Technical Summary
The performance of the wireless hotspot provided by the set-top box is unstable, and it is difficult to balance the transmission rate and penetration capability at the same time, and it cannot automatically update the wireless hotspot configuration parameters, resulting in a decrease in communication network performance.
By searching for the target routing device, perform wireless compatible networking, obtain and optimize hotspot configuration parameters, generate hotspot driver parameters, and turn on the wireless hotspot of the set-top box based on these parameters to ensure automatic synchronization of parameters.
It improves the wireless hotspot performance of the set-top box in the Easymesh environment, improves the overall performance of the communication network, avoids signal imbalance and configuration parameter synchronization problems, and simplifies the user configuration process.
Smart Images

Figure CN2023130876_06092024_PF_FP
Abstract
Description
Wireless hotspot activation method, set-top box, communication system and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on Chinese patent application 202310217095.1 filed on February 27, 2023, entitled “Wireless hotspot activation method, set-top box, communication system and storage medium”, and claims the priority of the patent application, and all the disclosed contents are incorporated into this disclosure by reference. Technical Field
[0003] The present disclosure relates to the field of communication technology, and in particular to a method for activating a wireless hotspot, a set-top box, a communication system, and a storage medium. Background Art
[0004] With the advancement of communication technology, set-top boxes (STBs) can now provide users with wireless hotspots. This allows STBs to communicate and network with routing devices, providing users with high-speed wireless hotspots and expanding the coverage area of wireless signals to further improve the network environment. However, STBs' wireless hotspots are typically single-band, making it difficult to balance transmission speed and penetration capabilities. Furthermore, after the STB activates the wireless hotspot, it cannot automatically update the configuration parameters of the hotspot, resulting in wasted wireless resources. Therefore, STBs are unable to provide high-performance wireless hotspots in communication networks, potentially leading to a decline in the overall performance of the communication network.
[0005] Summary of the Invention
[0006] The main purpose of the present disclosure is to provide a wireless hotspot activation method, a set-top box, a communication system and a storage medium, which are used to improve the performance of the wireless hotspot provided by the set-top box in an Easymesh environment.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for activating a wireless hotspot, which is applied to a set-top box. The set-top box supports wireless compatible networking with multiple routing devices. The method includes: searching for a target routing device, and performing wireless compatible networking with the target routing device, where the target routing device is one of multiple routing devices; obtaining hotspot configuration parameters of the target routing device; obtaining a target communication channel of the current communication environment of the set-top box, and obtaining channel parameters; optimizing the hotspot configuration parameters according to the target communication channel and channel parameters, and generating hotspot driving parameters; and activating the wireless hotspot of the set-top box based on the hotspot driving parameters.
[0008] In a second aspect, an embodiment of the present disclosure provides a set-top box, which includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the wireless hotspot activation method as described in any one of the embodiments of the present disclosure are implemented.
[0009] In a third aspect, an embodiment of the present disclosure provides a communication system, the communication system including a routing device and a set-top box, and the set-top box is any one of the set-top boxes in the embodiments of the present disclosure.
[0010] In a fourth aspect, an embodiment of the present disclosure provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the wireless hotspot activation method as described in any one of the embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a schematic structural diagram of a communication system provided by an embodiment of the present disclosure;
[0012] FIG2 is a schematic flow chart of a method for enabling a wireless hotspot according to an embodiment of the present disclosure;
[0013] FIG3 is a schematic flow chart of a networking method provided in an embodiment of the present disclosure;
[0014] FIG4 is a schematic flow chart of a method for updating hotspot configuration parameters provided by an embodiment of the present disclosure;
[0015] FIG5 is a diagram of a communication environment scanning result provided by an embodiment of the present disclosure;
[0016] FIG6 is a schematic flow chart of a method for enabling a wireless hotspot according to an embodiment of the present disclosure;
[0017] FIG7 is a structural block diagram of a set-top box provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the heat dissipation device and base station equipment provided by the present disclosure are described in detail below with reference to the accompanying drawings.
[0019] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the scope of this disclosure to those skilled in the art.
[0020] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0021] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0022] The terms used herein are used only to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, they specify the presence of the features, wholes, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups thereof.
[0023] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined as such herein.
[0024] Easymesh is a Wi-Fi certification standard that enables hardware compatibility between network devices from different manufacturers. Multiple Easymesh-supported network devices can share the same network name and connection password. Mobile devices connected to any of these network devices are considered part of the same communication network, and mobile devices can seamlessly switch between different network devices.
[0025] With the development of wireless hotspot technology for set-top boxes, the wireless chip of the set-top box can be used to provide a wireless hotspot when it is idle. At the same time, the set-top box can also support Easymesh and can be connected to the Easymesh communication network to expand the signal coverage area of the communication network. However, the performance of the wireless hotspot provided by the set-top box is unstable. If a dual-band wireless signal that can meet high speed and strong penetration is to be continuously provided, it may affect the playback ability of the set-top box itself. Therefore, connecting a set-top box to the communication network may cause the overall capability of the communication network to decline.
[0026] As shown in Figure 1, an embodiment of the present disclosure provides a communication system, which includes multiple network devices, and the network devices include routing devices and set-top boxes. The routing devices and set-top boxes are networked for communication through Easymesh. After networking, one of the routing devices serves as the target routing device to manage the entire communication network.
[0027] The disclosed embodiments provide a method for activating a wireless hotspot, which is applied to a set-top box to improve the wireless signal transmission capability of the set-top box, thereby better playing the role of the set-top box in the communication network and improving the overall performance of the communication network.
[0028] As shown in FIG2 , a method for enabling a wireless hotspot is applied to a set-top box. The set-top box supports wireless compatible networking with multiple routing devices, wherein the wireless compatible networking is implemented through Easymesh. The method includes: S101-S105.
[0029] S101. Search for a target routing device and establish a wireless compatible network with the target routing device, where the target routing device is one of multiple routing devices.
[0030] For example, among the multiple routing devices forming a communication network using the Easymesh standard, there are master and slave routing devices. Because the master and slave routing devices rarely exchange information, when the master routing device has multiple configuration parameters that need to be synchronized and sent, the slave routing device cannot determine whether the master routing device has sent all the configuration parameters based on the master routing device's messages. Furthermore, when a slave routing device activates a wireless hotspot, the master routing device is unaware of it and cannot manage the slave routing device's wireless hotspot.
[0031] It should be noted that the master routing device is one of multiple routing devices. Typically, when establishing a communication network, one of the multiple routing devices is set as the master routing device through user settings. While the routing devices included in a communication network are typically set by the user, adding a set-top box to the communication network requires a more flexible networking approach.
[0032] In the present disclosure, the set-top box supports the IEEE 1905 protocol and implements automatic discovery, automatic configuration, roaming and other information collection functions in the communication network through the IEEE 1905 protocol. The set-top box communicates with the target routing device through the IEEE 1905 protocol, and the target routing device is the main routing device.
[0033] Specifically, the set-top box can automatically perform network detection through the IEEE1905 protocol. If there is a routing device that supports Easymesh in the current communication environment, it will initiate a network joining request to the target routing device among the detected routing devices to obtain the network name, connection password and other wireless hotspot configurations of the communication network. It can also be updated in time after the target routing device updates the configuration parameters.
[0034] In some embodiments, when the set-top box searches for a target routing device and establishes a wireless compatible network with the target routing device, it specifically performs the networking method shown in FIG3 . The specific steps of the networking method include: S201 to S204 . Specifically, as follows:
[0035] S201. Broadcast a first authentication message (Topology Discover) to a routing device, and use the routing device that replies to the first authentication message as a target routing device.
[0036] S202: After receiving the first query message (Topology Query) replied by the target routing device, send a first handshake message (Topology Response) to the target routing device to complete the one-way authentication with the target routing device.
[0037] S203: Receive a second authentication message sent by the target routing device, and reply a second query message to the target routing device.
[0038] S204: Receive a second handshake message from the target routing device, complete two-way authentication with the target routing device, and perform wireless compatible networking with the target routing device.
[0039] It should be noted that among the multiple routing devices in the communication network, only the target routing device can reply to the first authentication message. When the target routing device sends the first handshake message, it also sends the second authentication message to trigger a one-way authentication with the set-top box.
[0040] Through the above networking method, the set-top box can complete two-way authentication with the target routing device, thereby automatically and quickly joining the communication network where the target routing device is located.
[0041] In some embodiments, after wireless compatible networking with the target routing device is established, it also includes: sending a configuration compatibility request (AP autoconfiguration search) to the target routing device; after receiving the compatible permission message (AP autoconfiguration response) replied by the target routing device, establishing a configuration compatibility relationship with the target routing device, and the set-top box synchronously updates the hotspot configuration parameters of the target routing device based on the configuration compatibility relationship.
[0042] Specifically, a set-top box that joins the communication network can obtain the configuration parameters of the wireless hotspot sent by the target routing device, but it is still possible that the obtained configuration parameters are not the latest. Therefore, in the embodiment of the present disclosure, the set-top box realizes the synchronous update of the latest configuration parameters by actively requesting compatible configuration. The set-top box sends a configuration compatibility request to the target routing device, and the target routing device replies with a compatible permission message after receiving it. After receiving the compatible permission message, the set-top box allows the target routing device to automatically update the configuration parameters of the wireless hotspot of the set-top box. In this way, the occurrence of the inability to synchronize the configuration parameters can be prevented, the coordination of the system is improved, and the signal imbalance in the communication network is prevented, thereby improving the overall communication performance of the communication network.
[0043] S102: Obtain hotspot configuration parameters of the target routing device.
[0044] For example, based on the Easymesh standard, a set-top box serving as a slave routing device needs to enable a wireless hotspot according to hotspot configuration parameters sent by a target routing device.
[0045] In some embodiments, when the set-top box executes to obtain the hotspot configuration parameters of the target routing device, it specifically performs: sending a parameter acquisition request to the target routing device, obtaining the hotspot configuration parameters replied by the target routing device, and the hotspot configuration parameters are used to turn on the wireless hotspot of the target routing device.
[0046] Specifically, the set-top box sends a parameter acquisition request (AP autoconfiguration WSC(M1) message) to the target routing device to request the exchange of wireless hotspot configuration parameters with the target routing device. Upon receiving the parameter acquisition request, the target routing device replies with multiple hotspot configuration parameters (AP autoconfiguration WSC(M2) message), including at least the SSID, security mechanism, and encryption key used by the target routing device on multiple frequency bands such as 2.4G and 5G / 6G. The set-top box parses the AP autoconfiguration WSC(M2) message and extracts the SSID, security mechanism, and encryption key.
[0047] In some embodiments, hotspot configuration parameters (AP autoconfiguration WSC(M2) message) need to be encrypted to prevent decryption and improve the security of the communication network. Encryption is performed using a preset encryption module (Encrypted Settings), for example, using the AES-128-CBC algorithm. The encrypted hotspot configuration parameters are then sent to the set-top box, which decrypts them to obtain the hotspot configuration parameters.
[0048] In this way, the problem of the set-top box obtaining hotspot configuration parameters from the target routing device is solved, the efficiency of information interaction between the set-top box and the target routing device is improved, and the security of information interaction is ensured.
[0049] In some embodiments, the target routing device replies with the hotspot configuration parameters once every preset time period. When the set-top box sends a parameter acquisition request to the target routing device and obtains the hotspot configuration parameters replied by the target routing device, it also executes: if the hotspot configuration parameters are not obtained again after the preset time period, the parameter acquisition request is sent to the target device again.
[0050] Specifically, if the set-top box doesn't receive a new AP autoconfiguration WSC(M2) message after a preset period of time, it proactively initiates a second AP autoconfiguration WSC(M1) message, again requesting the target routing device to deliver the wireless hotspot configuration. This way, in an Easymesh network, the set-top box can update the wireless hotspot configuration based on changes in the upstream environment.
[0051] In some embodiments, if the hotspot configuration parameters of the target routing device are updated, for example, the 5G hotspot bandwidth is switched from 80 MHz to 40 MHz, then the set-top box will obtain the updated hotspot configuration parameters to restart the wireless hotspot.
[0052] Specifically, as shown in FIG4 , the method for updating hotspot configuration parameters includes the following steps: S301 to S304 .
[0053] S301: Send a configuration update message to a set-top box.
[0054] S302: After receiving the configuration update message, send a parameter acquisition request to the target routing device.
[0055] S303: Upon receiving the parameter acquisition request, the updated hotspot configuration parameters are sent to the set-top box.
[0056] S304: Restart the wireless hotspot according to the updated hotspot configuration parameters.
[0057] Through the above process, the process of Easymesh automatic configuration stage is optimized, which can avoid the occurrence of insufficient or missed hotspot configuration parameters, ensure that the hotspot configuration parameters received by the set-top box are the latest, improve the fault tolerance and stability of the communication network, and enhance the user experience.
[0058] S103: Acquire a target communication channel of the current communication environment of the set-top box and acquire channel parameters.
[0059] For example, the set-top box has a wireless scanning function. After receiving the wireless hotspot configuration, it will scan the current environment, select the channel with the least interference, the bandwidth with the best rate, the best transmission power, etc. in multiple frequency bands such as 2.4GHz and 5GHz / 6GHz, and integrate them into the wireless hotspot configuration.
[0060] In some embodiments, when the set-top box executes to obtain the target communication channel of the current communication environment of the set-top box, it specifically performs: scanning multiple communication channels in the communication environment, obtaining the number of wireless hotspots on each communication channel and the signal strength of each wireless hotspot; determining the weighted value of each communication channel based on the number and signal strength of the wireless hotspots; and determining the target channel based on the weighted value.
[0061] Specifically, the set-top box scans the current communication environment through the wireless scanning function. The scanning results are shown in Figure 5. On communication channels 1-13 in the current communication environment, the number of wireless hotspots on communication channel 1, communication channel 6, and communication channel 9 is greater than or equal to a preset number, for example, the preset number is 2. The set-top box determines the target communication channel among communication channels 1, 6, and 9. The set-top box calculates the weighted value of each communication channel using the channel occupancy formula and determines the communication channel with the smallest weighted value as the target communication channel. The channel occupancy formula is:
[0062] a=∑(-100 / d);
[0063] Where a is the weighted value of the communication channel, and d is the average signal strength of the communication channel. Using the channel occupancy formula, we find that the weighted values for communication channels 1, 6, and 9 are 7.3, 7.9, and 6.6, respectively. Therefore, the set-top box selects channel 9 as the target communication channel.
[0064] S104: Optimize hotspot configuration parameters according to the target communication channel and channel parameters to generate hotspot driving parameters.
[0065] For example, after the set-top box receives the hotspot configuration parameters sent by the target routing device, since the hotspot configuration parameters are wireless hotspot configuration parameters generated by the target routing device based on its own communication environment, if they are directly used in the set-top box, it may not necessarily enable the set-top box to turn on a high-performance wireless hotspot. Therefore, the set-top box does not need to directly turn on the wireless hotspot based on the hotspot configuration parameters, but needs to optimize the hotspot configuration parameters based on the quality of each communication channel in the current communication environment, and then turn on the wireless hotspot based on the optimized hotspot configuration parameters (i.e., hotspot driving parameters).
[0066] The set-top box is run through the Android system. The Android system can provide fewer channel parameters, which may result in the inability to fully utilize the capabilities of the wireless chip of the set-top box to start a higher-performance wireless hotspot.
[0067] In some embodiments, the native HIDL (High Integrity Data Link) in the Android system only supports sending parameters such as communication channel and frequency band to the set-top box's AP authentication component hostapd, which is used to implement wireless scanning. Therefore, by adding two parameter types, ChannelWidth (wireless bandwidth) and TxPower (wireless transmit power), to the native HIDL and expanding the support of Android's native external interface, hostapd can receive more wireless hotspot parameters.
[0068] After determining the target communication channel, the set-top box receives the corresponding channel parameters through hostapd. The channel parameters include at least ChannelWidth (wireless bandwidth) and TxPower (wireless transmit power). After receiving the channel parameters, hostapd first parses them and generates a config file to pass to the hostapd main program. For example, if ChannelWidth=40 is sent, it is then parsed through an algorithm into the parameters required by the underlying WiFi driver. For example, (HT)_capab=[HT40-][HT40+] and vht_oper_chwidth=0 are used to set the HT scanning mode and operating bandwidth, respectively. These are then used in subsequent processes to optimize hotspot configuration parameters to generate hotspot driver parameters.
[0069] In some embodiments, when the set-top box optimizes the hotspot configuration parameters according to the target communication channel and channel parameters, it specifically performs the following steps: comparing the hotspot configuration parameters obtained last time with the hotspot configuration parameters obtained last time; when the comparison result is the same, generating the hotspot driving parameters according to the hotspot configuration parameters and channel parameters obtained last time; when the comparison result is different, resending the parameter acquisition request to the target device.
[0070] The hotspot driving parameters of the set-top box are optimized through the above process, so that the set-top box can open a high-performance wireless hotspot to take into account both information transmission rate and signal penetration capability.
[0071] S105: Turn on the wireless hotspot of the set-top box based on the hotspot driving parameters.
[0072] Specifically, the set-top box activates the wireless hotspot in bridge mode. Hostapd first establishes a network bridge based on the hotspot driver parameters and adds the network port specified in the hotspot driver parameters to the network bridge. It also detects currently available Ethernet ports and adds them to the network bridge, thereby establishing a communication link between the set-top box's internal network and the external network, providing network access for connected devices. After the network bridge is established, hostapd issues corresponding instructions to the wireless hotspot hardware driver based on the various sub-parameters in the hotspot driver parameters, thereby activating the wireless hotspot. After the wireless hotspot is activated, the set-top box sends an AP autoconfiguration UP message to the routing device, indicating that the set-top box's wireless hotspot has been properly activated and reporting the performance of the set-top box's wireless hotspot. By activating the wireless hotspot in bridge mode, the set-top box can transfer the management of connected wireless devices to the target router, thereby improving the management efficiency of the communication network and enhancing the smoothness of wireless devices switching between wireless hotspots on different routing devices.
[0073] In some embodiments, the set-top box activates wireless hotspots at 2.4 GHz and 5 GHz / 6 GHz respectively according to the hotspot driving parameters for access by other wireless devices, for example, the wireless devices are mobile devices.
[0074] In some embodiments, when a mobile device is within the wireless hotspot range of a set-top box and the signal strength of the set-top box is better in the communication network, if the mobile device is not connected to the wireless hotspot provided by the set-top box, the set-top box will notify the target routing device and ask the target routing device to issue a command to transfer the mobile device to the wireless hotspot provided by the set-top box.
[0075] In some embodiments, after other wireless devices access the communication network, the set-top box actively collects the wireless capabilities of the other wireless devices and reports them to the target routing device so that the target routing device can manage the communication network.
[0076] In some embodiments, after the wireless hotspot of the target routing device is restarted, a Beacon Frame is broadcasted. If the SSID has not changed and the mobile device has accessed the wireless hotspot, the mobile device can automatically reconnect to the wireless hotspot.
[0077] In some embodiments, the set-top box turns on a dual-band wireless hotspot, which includes a first-channel wireless hotspot and a second-frequency-band wireless hotspot. For example, the first-channel wireless hotspot is a 2.4G wireless hotspot and the second-frequency-band wireless hotspot is a 5G wireless hotspot. When the set-top box detects a change in the hotspot configuration parameters sent by the target routing device, if the changed hotspot configuration parameters correspond to either the first-channel wireless hotspot or the second-frequency-band wireless hotspot, the corresponding first-channel wireless hotspot or the second-frequency-band wireless hotspot is individually closed, and the system is restarted according to the latest hotspot configuration parameters. If the changed hotspot configuration parameters both correspond to the first-channel wireless hotspot and the second-frequency-band wireless hotspot, the first-channel wireless hotspot and the second-frequency-band wireless hotspot are all closed, and the system is restarted according to the latest hotspot configuration parameters. After restarting, the set-top box sends an AP autoconfiguration UP to the target routing device, notifying the target routing device that the wireless hotspot of the set-top box has been turned on normally.
[0078] The wireless hotspot activation method provided by the embodiment of the present disclosure enables the set-top box to automatically and synchronously update the hotspot configuration parameters of the target routing device, avoiding the need to reconfigure the set-top box after the hotspot of the target router device is changed, simplifying the parameter configuration process, improving the user experience, and enabling the set-top box to configure high-performance communication channels and channel parameters based on the current communication environment, thereby improving the communication transmission rate and signal quality of the set-top box, thereby better playing the role of the set-top box in the communication network and improving the overall performance of the communication network.
[0079] It should be noted that the wireless hotspot activation method provided in the embodiments of the present disclosure is not only applicable to set-top boxes, but also to network devices such as routing devices used to activate wireless hotspots.
[0080] In order to more clearly introduce the technical solution of the present disclosure, the technical solution of the present disclosure will be introduced through a specific embodiment below. It should be noted that this specific embodiment is used to expand the technical solution of the present disclosure, but is not intended to limit the present disclosure.
[0081] Please refer to Figure 6, which shows a schematic flow chart of a method for opening a wireless hotspot. As shown in Figure 6, the set-top box and the target routing device form a communication network, and opening a wireless hotspot under the communication network requires four processes: networking process (1), automatic configuration request (2), automatic configuration issuance (3) and starting the wireless hotspot (4). In the networking process (1), the set-top box sends a first authentication message (Topology Discover) to the target routing device. After receiving the first authentication message, the target routing device replies with a first query message (Topology Query). After receiving the first query message, the set-top box replies with a first handshake message (Topology Response) to the target routing device. After receiving the first handshake message, the target routing device sends a second authentication message (Topology Discover) to the set-top box. After receiving the second authentication message, the set-top box replies with a second query message (Topology Query). After receiving the second query message, the target routing device replies with a second handshake message (Topology Response), thereby completing two-way authentication between the set-top box and the target routing device and forming a network. In the automatic configuration request (2), the set-top box sends a configuration compatibility request (AP autoconfiguration search) to the target routing device, and the target routing device replies with a compatible permission message (AP autoconfiguration response) to the set-top box. In the automatic configuration delivery (3), the set-top box sends a parameter acquisition request (AP autoconfiguration WSC(M1)) to the target routing device. After receiving the parameter acquisition request, the target routing device replies with multiple hotspot configuration parameters (for example, AP autoconfiguration WSC(M2)(2.4G) and AP autoconfiguration WSC(M2)(5G)), so that the set-top box can synchronously update the hotspot configuration parameters of the target routing device. In the process of starting the wireless hotspot (4), the set-top box generates hotspot driving parameters based on the hotspot configuration parameters of the target routing device and the scanning results of the current environment, and starts wireless hotspots on multiple frequency bands, such as 2.4G hotspot and 5G hotspot, according to the hotspot driving parameters. After the wireless hotspot is turned on, it sends AP autoconfiguration UP to notify the target routing device. In this way, the set-top box can open a high-performance wireless hotspot when forming a communication network with the target routing device based on Easymesh.
[0082] The wireless hotspot activation method provided by the above embodiment enables the set-top box to automatically and synchronously update the hotspot configuration parameters of the target routing device, avoiding the need to reconfigure the set-top box after the hotspot of the target router device is changed, simplifying the parameter configuration process, improving the user experience, and allowing the set-top box to configure high-performance communication channels and channel parameters based on the current communication environment, thereby improving the communication transmission rate and signal quality of the set-top box, thereby better playing the role of the set-top box in the communication network and improving the overall performance of the communication network.
[0083] Please refer to Figure 7, which shows a block diagram of a set-top box. As shown in Figure 7, the present embodiment provides a set-top box 20, which includes a memory 21, a processor 22, a program stored in the memory and executable on the processor, and a data bus 23 for implementing communication between the processor 21 and the memory 22. When the program is executed by the processor, the steps of the wireless hotspot activation method as described in any one of the embodiments of the present disclosure are implemented.
[0084] Specifically, for example, the following specific steps are implemented as shown in Figure 2: searching for a target routing device, establishing a wireless compatible network with the target routing device, where the target routing device is one of multiple routing devices; obtaining hotspot configuration parameters of the target routing device; obtaining the target communication channel of the current communication environment of the set-top box, and obtaining the channel parameters; optimizing the hotspot configuration parameters according to the target communication channel and the channel parameters, and generating hotspot driving parameters; and turning on the wireless hotspot of the set-top box based on the hotspot driving parameters.
[0085] In some embodiments, when the processor 22 is used to search for a target routing device and perform wireless compatible networking with the target routing device, it is specifically used to implement: broadcasting a first authentication message to the routing device, and taking the routing device that replies to the first authentication message as the target routing device; after receiving the first query message replied by the target routing device, sending a first handshake message to the target routing device to complete one-way authentication with the target routing device; receiving a second authentication message sent by the target routing device, and replying a second query message to the target routing device; receiving a second handshake message from the target routing device, completing two-way authentication with the target routing device, and performing wireless compatible networking with the target routing device.
[0086] In some embodiments, after the processor 22 is used to implement wireless compatible networking with the target routing device, it is also specifically used to implement: sending a configuration compatibility request to the target routing device; after receiving the compatible permission message replied by the target routing device, establishing a configuration compatible relationship with the target routing device, and the set-top box synchronously updates the hotspot configuration parameters of the target routing device based on the configuration compatible relationship.
[0087] In some embodiments, the processor 22 is used to obtain the target communication channel of the current communication environment of the set-top box, specifically to implement: scanning multiple communication channels in the communication environment, obtaining the number of wireless hotspots on each communication channel and the signal strength of each wireless hotspot; determining the weighted value of each communication channel according to the number and signal strength of the wireless hotspots; and determining the target channel according to the weighted value.
[0088] In some embodiments, the processor 22 is used to obtain the hotspot configuration parameters of the target routing device, specifically to implement: sending a parameter acquisition request to the target routing device, obtaining the hotspot configuration parameters replied by the target routing device, and the hotspot configuration parameters are used to turn on the wireless hotspot of the target routing device.
[0089] In some embodiments, the target routing device replies with the hotspot configuration parameters once every preset time period. The processor 22 is used to send a parameter acquisition request to the target routing device and obtain the hotspot configuration parameters replied by the target routing device. It is also specifically used to implement: if the hotspot configuration parameters are not obtained again after the preset time period, the parameter acquisition request is sent to the target device again.
[0090] In some embodiments, the processor 22 is used to optimize the hotspot configuration parameters according to the target communication channel and channel parameters, specifically to implement: comparing the hotspot configuration parameters obtained last time with the hotspot configuration parameters obtained last time; when the comparison result is the same, generating the hotspot driving parameters according to the hotspot configuration parameters and channel parameters obtained last time; when the comparison result is different, resending the parameter acquisition request to the target device.
[0091] An embodiment of the present disclosure provides a communication system, which includes a routing device and a set-top box. The set-top box is any one of the set-top boxes provided in the embodiments of the present disclosure.
[0092] An embodiment of the present disclosure provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of the wireless hotspot activation methods provided in the embodiments of the present disclosure.
[0093] The exemplary embodiments of the present disclosure are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present disclosure. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present disclosure shall fall within the scope of the present disclosure.
Claims
1. A method for opening a wireless hotspot, applied to a set-top box, wherein the set-top box supports wireless compatible networking with multiple routing devices, and the method comprises: Searching for a target routing device and establishing a wireless compatible network with the target routing device, wherein the target routing device is one of the multiple routing devices; Obtain hotspot configuration parameters of the target routing device; Obtaining a target communication channel of a current communication environment of the set-top box and obtaining channel parameters; Optimize the hotspot configuration parameters according to the target communication channel and the channel parameters to generate hotspot driving parameters; The wireless hotspot of the set-top box is enabled based on the hotspot driving parameters.
2. The wireless hotspot activation method according to claim 1, wherein: The searching for the target routing device and performing wireless compatible networking with the target routing device include: Broadcasting a first authentication message to the routing device, and taking the routing device that replies to the first authentication message as the target routing device; After receiving the first query message replied by the target routing device, sending a first handshake message to the target routing device to complete the one-way authentication with the target routing device; receiving a second authentication message sent by the target routing device, and replying a second query message to the target routing device; Receive the second handshake message of the target routing device, complete the two-way authentication with the target routing device, and perform wireless compatible networking with the target routing device.
3. The wireless hotspot activation method according to claim 1 or 2, wherein: After the wireless compatible networking with the target routing device is performed, the method further includes: Sending a configuration compatibility request to the target routing device; After receiving the compatible permission message replied by the target routing device, a configuration compatibility relationship is established with the target routing device, and the set-top box synchronously updates the hotspot configuration parameters of the target routing device based on the configuration compatibility relationship.
4. The wireless hotspot activation method according to claim 1, wherein: The step of obtaining a target communication channel of a current communication environment of the set-top box includes: Scan multiple communication channels in the communication environment to obtain the number of wireless hotspots on each of the communication channels and the signal strength of each of the wireless hotspots; Determining a weighted value of each of the communication channels according to the number of the wireless hotspots and the signal strength; A target channel is determined according to the weighted value.
5. The wireless hotspot activation method according to claim 1, wherein: The obtaining of hotspot configuration parameters of the target routing device includes: A parameter acquisition request is sent to the target routing device to obtain the hotspot configuration parameters replied by the target routing device, where the hotspot configuration parameters are used to enable the wireless hotspot of the target routing device.
6. The wireless hotspot activation method according to claim 5, wherein: The target routing device replies with the hotspot configuration parameters once every preset time period, and the sending of a parameter acquisition request to the target routing device to acquire the hotspot configuration parameters replied by the target routing device further includes: If the hotspot configuration parameters are not obtained again after the preset time period, the target device is resent. The parameters of the acquisition request.
7. The wireless hotspot activation method according to claim 6, wherein: The step of optimizing the hotspot configuration parameters according to the target communication channel and the channel parameters includes: Compare the hotspot configuration parameters obtained last time with the hotspot configuration parameters obtained last time; When the comparison result is the same, generating hotspot driving parameters according to the hotspot configuration parameters and the channel parameters obtained last time; When the comparison result is not the same, the parameter acquisition request is resent to the target device.
8. A set-top box, the device comprising a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein the program, when executed by the processor, implements the steps of the wireless hotspot activation method as described in any one of claims 1 to 7.
9. A communication system, comprising a routing device and a set-top box, wherein the set-top box is the set-top box according to claim 8.
10. A storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the wireless hotspot activation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Set top box and method for realizing wireless AP (access point) sharing thereof
CN103974386A
Hotspot sharing method, readable storage medium and hotspot sharing device
CN107370621A
AP hotspot channel automatic selection method and device, storage medium and terminal equipment
CN111935754A
Hotspot management and configuration interaction method, set top box, access device and storage medium
CN112839330A
Easymesh configuration of AP using IEEE 1905.1
WO2021161225A1
