Wireless hotspot opening method, set top box, communication system and storage medium
By searching for and wirelessly compatible networking with the target routing device in the set-top box, the hotspot configuration parameters are optimized, the problem of unstable wireless hotspot performance is solved, efficient communication transmission and signal quality improvement are achieved, the configuration process is simplified, and communication is improved. The overall performance of the network.
Patent Information
- Application Number
- CN202310217095.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-03
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 target routing devices, perform wireless compatible networking, obtain and optimize hotspot configuration parameters, generate hotspot driver parameters, automatically update wireless hotspot configurations synchronously, and enable high-performance wireless hotspots based on the current communication environment.
It improves the transmission rate and signal quality of the set-top box in the communication network, simplifies the parameter configuration process, and improves the user experience and the overall performance of the communication network.
Smart Images

Figure CN118590908A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a wireless hotspot activation method, a set-top box, a communication system and a storage medium. Background Art
[0002] With the development of communication technology, set-top boxes can provide users with wireless hotspots. As a result, the set-top box can communicate and network with the routing device, provide users with high-speed wireless hotspots, and expand the coverage area of the wireless signal to further improve the network environment. However, the wireless hotspot of the set-top box is usually a single-band wireless hotspot, which makes it difficult to take into account both the transmission rate and penetration capability. At the same time, after the set-top box turns on the wireless hotspot, it cannot automatically update the configuration parameters of the wireless hotspot, resulting in a waste of idle wireless resources. Therefore, the set-top box cannot provide a high-performance wireless hotspot in the communication network, which may cause the overall performance of the communication network to decline. Summary of the invention
[0003] The main purpose of the present application 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.
[0004] In a first aspect, an embodiment of the present application provides a method for enabling a wireless hotspot, which is 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 networking with the target routing device, wherein the target routing device is one of the 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 the channel parameters, and generating hotspot driving parameters; and enabling the wireless hotspot of the set-top box based on the hotspot driving parameters.
[0005] In a second aspect, an embodiment of the present application provides 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 a method for enabling a wireless hotspot as described in any one of the embodiments of the present application.
[0006] In a third aspect, an embodiment of the present application provides a communication system, the communication system comprising a routing device and a set-top box, and the set-top box is the set-top box described in any one of the embodiments of the present application.
[0007] In a fourth aspect, an embodiment of the present application 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 application.
[0008] The embodiment of the present application provides a method for opening 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 wireless compatible networking with the target routing device, wherein 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 hotspot configuration parameters according to the target communication channel and channel parameters, and generating hotspot drive parameters; and opening the wireless hotspot of the set-top box based on the hotspot drive parameters. Through the wireless hotspot opening method of the present application, the set-top box can automatically and synchronously update the hotspot configuration parameters of the target routing device, 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 communication networking, so as to improve the overall performance of communication networking. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a structural diagram of a communication system provided in an embodiment of the present application;
[0010] Figure 2 is a schematic flow chart of a method for opening a wireless hotspot provided in an embodiment of the present application;
[0011] Figure 3 is a schematic flow chart of a networking method provided in an embodiment of the present application;
[0012] Figure 4 is a schematic flow chart of a method for updating hotspot configuration parameters provided in an embodiment of the present application;
[0013] Figure 5 is a communication environment scanning result diagram provided by an embodiment of the present application;
[0014] Figure 6 is a schematic flow chart of a method for opening a wireless hotspot provided in an embodiment of the present application;
[0015] Figure 7 It is a structural block diagram of a set-top box provided in an embodiment of the present application. DETAILED DESCRIPTION
[0016] 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 in conjunction with the accompanying drawings.
[0017] Example embodiments will be described more fully below 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. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0018] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0019] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0020] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, 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, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.
[0021] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those 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 explicitly defined as such herein.
[0022] Easymesh is a Wi-Fi certification standard. Network devices from different manufacturers can achieve hardware compatibility through Easymesh. Multiple network devices that support Easymesh can share the same network name and connection password. Mobile terminal devices connected to any of the network devices belong to the same communication network. Mobile terminal devices can also seamlessly switch connections between different network devices.
[0023] With the development of wireless hotspot technology for set-top boxes, the wireless chip of the set-top box can be used to provide wireless hotspots when idle. At the same time, the set-top box can also support Easymesh and can be connected to the communication network of Easymesh 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 a communication network may cause the overall capability of the communication network to decline.
[0024] like Figure 1 As shown, an embodiment of the present application provides a communication system, which includes multiple network devices, and the network devices include routing devices and set-top boxes. The routing devices and the set-top boxes are networked for communication through Easymesh. After networking, one of the routing devices serves as a target routing device to manage the entire communication network.
[0025] The embodiment of the present application provides a wireless hotspot activation method, 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.
[0026] like Figure 2 As shown, a method for opening a wireless hotspot is applied to a set-top box, and the set-top box supports wireless compatible networking with multiple routing devices, wherein the wireless compatible networking is implemented through Easymesh, and the method includes: S101-S105.
[0027] S101, searching for a target routing device, and establishing wireless compatible networking with the target routing device, where the target routing device is one of a plurality of routing devices.
[0028] For example, among the multiple routing devices that form a communication network through the Easymesh standard, there are master routing devices and slave routing devices. Since there is less information exchange between the master routing device and the slave routing device, when the master routing device has multiple configuration parameters that need to be sent synchronously, the slave routing device cannot determine whether the master routing device has sent all the configuration parameters through the message of the master routing device. Moreover, after the slave routing device turns on the wireless hotspot, the master routing device cannot know and cannot manage the wireless hotspot of the slave routing device.
[0029] It should be noted that the main routing device is one of multiple routing devices. Usually, when performing communication networking, one of the multiple routing devices is set as the main routing device through user settings. The routing devices included in the communication networking are usually set by the user, and the addition of the set-top box to the communication networking requires a more flexible networking method.
[0030] In this application, the set-top box supports the IEEE1905 protocol, and realizes automatic discovery, automatic configuration, roaming and other information collection functions in the communication network through the IEEE1905 protocol. The set-top box communicates with the target routing device through the IEEE1905 protocol, and the target routing device is the main routing device.
[0031] 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 wireless hotspot configuration such as the network name and connection password of the communication network. It can also be updated in time after the target routing device updates the configuration parameters.
[0032] In some embodiments, when the set-top box searches for the target routing device and establishes a wireless compatible network with the target routing device, the set-top box specifically performs the following steps: Figure 3 The networking method shown in the figure includes the following specific steps: S201-S204.
[0033] 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.
[0034] 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.
[0035] S203: Receive a second authentication message sent by the target routing device, and reply a second query message to the target routing device.
[0036] 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.
[0037] 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 will also send a second authentication message to trigger a one-way authentication with the set-top box.
[0038] 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.
[0039] 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 a 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.
[0040] Specifically, the 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 application, 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 the set-top box receives the compatible permission message, the target routing device is allowed to automatically update the configuration parameters of the wireless hotspot of the set-top box. In this way, the configuration parameters can be prevented from being unable to be updated synchronously, 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.
[0041] S102: Obtain hotspot configuration parameters of the target routing device.
[0042] Exemplarily, 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.
[0043] 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.
[0044] Specifically, the set-top box sends a parameter acquisition request (AP autoconfiguration WSC (M1) message) to the target routing device to request to exchange the configuration parameters of the wireless hotspot with the target routing device. When the target routing device receives the parameter acquisition request, it 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 APautoconfiguration WSC (M2) message and extracts the SSID, security mechanism and encryption key.
[0045] In some embodiments, the hotspot configuration parameters (AP autoconfiguration WSC (M2) message) need to be encrypted to prevent being cracked by others and to improve the security of the communication network. Encryption is performed through a preset encryption module (EncryptedSettings), for example, using the AES-128-CBC algorithm to encrypt, and the encrypted hotspot configuration parameters are sent to the set-top box, which decrypts the received hotspot configuration parameters to obtain the hotspot configuration parameters.
[0046] 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.
[0047] In some embodiments, the target routing device replies with 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, then the parameter acquisition request is sent to the target device again.
[0048] Specifically, after a preset period of time, if the set-top box does not receive a new AP autoconfiguration WSC (M2) message again, it will actively initiate a second AP autoconfiguration WSC (M1) message and request the target routing device to send the wireless hotspot configuration again. In this way, in the Easymesh network, the set-top box can update the wireless hotspot configuration according to the changes in the uplink environment.
[0049] In some embodiments, if the hotspot configuration parameters of the target routing device are updated, for example, the 5G hotspot bandwidth is switched from 80MHz to 40MHz, then the set-top box will obtain the updated hotspot configuration parameters to restart the wireless hotspot.
[0050] Specifically, Figure 4 As shown, the specific steps of the method for updating the hotspot configuration parameters include: S301-S304. Specifically as follows:
[0051] S301. Send a configuration update message to a set-top box.
[0052] S302: After receiving the configuration update message, send a parameter acquisition request to the target routing device.
[0053] S303: After receiving the parameter acquisition request, the updated hotspot configuration parameters are sent to the set-top box.
[0054] S304: Restart the wireless hotspot according to the updated hotspot configuration parameters.
[0055] 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.
[0056] S103: Acquire a target communication channel of the current communication environment of the set-top box, and acquire channel parameters.
[0057] Exemplarily, 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.
[0058] 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 a 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.
[0059] Specifically, the set-top box scans the current communication environment through the wireless scanning function, and the scanning results are as follows: Figure 5 As shown, on the communication channels 1-13 in the current communication environment, the number of wireless hotspots on the communication channel 1, the communication channel 6 and the communication channel 9 is greater than or equal to the preset number, for example, the preset number is 2, and the set-top box determines the target communication channel among the communication channels 1, 6 and 9. The set-top box calculates the weighted value of each communication channel through the channel occupancy formula, and determines the communication channel with the smallest weighted value as the target communication channel. The channel occupancy formula is:
[0060] a=∑(-100 / d);
[0061] Where a is the weighted value of the communication channel, and d is the average signal strength on the communication channel. After calculation by the channel occupancy formula, the weighted values of communication channels 1, 6, and 9 are 7.3, 7.9, and 6.6, respectively. Therefore, the set-top box determines communication channel 9 as the target communication channel.
[0062] S104: Optimize hotspot configuration parameters according to the target communication channel and channel parameters to generate hotspot driving parameters.
[0063] 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 for the set-top box, it may not necessarily enable the set-top box to enable a high-performance wireless hotspot. Therefore, the set-top box does not need to directly enable 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 enable the wireless hotspot based on the optimized hotspot configuration parameters (i.e., hotspot driving parameters).
[0064] The set-top box is run through the Android system, and 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.
[0065] In some embodiments, the native HIDL (High Integrity Data link) in the Android system only supports sending communication channel, communication frequency band and other parameters to the AP authentication component hostapd of the set-top box, and the AP authentication component hostapd is used to implement the wireless scanning function. Therefore, by adding two parameter types, ChannelWidth (wireless bandwidth) and TxPower (wireless transmission power), in the native HIDL, and expanding the support of the Android native external interface, hostapd can receive more wireless hotspot parameters.
[0066] After determining the target communication channel, the set-top box receives the channel parameters corresponding to the target communication channel through hostapd, and the channel parameters include at least ChannelWidth (wireless bandwidth) and TxPower (wireless transmission power). After receiving the channel parameters, hostapd first parses them and generates a config file to pass to the hostapd main program, such as sending ChannelWidth=40, and then parses it into the parameters required by the underlying WiFi driver through an algorithm, for example, (HT)_capab=[HT40-][HT40+], vht_oper_chwidth=0, which are used to set the HT scanning mode and working bandwidth respectively, and are used to optimize the hotspot configuration parameters in the subsequent process to generate hotspot driver parameters.
[0067] 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: comparing 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 channel parameters obtained last time; when the comparison result is not the same, resending the parameter acquisition request to the target device.
[0068] 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.
[0069] S105: Turn on the wireless hotspot of the set-top box based on the hotspot driving parameters.
[0070] Specifically, the set-top box turns on the wireless hotspot through the bridge mode. Hostapd first establishes a network bridge according to the hotspot driver parameters, and adds the network port set in the hotspot driver parameters to the network bridge. At the same time, it detects the currently available Ethernet port and adds it to the network bridge, thereby building a communication link between the internal network of the set-top box and the external network, providing network access capabilities for the downstream devices. After the network bridge is established, hostapd sends corresponding instructions to the hardware driver of the wireless hotspot according to each sub-parameter in the hotspot driver parameters, thereby turning on the wireless hotspot; after the wireless hotspot is turned on, the set-top box sends APautoconfiguration UP to the routing device, indicating that the wireless hotspot of the set-top box has been turned on normally, and reports the performance of the wireless hotspot of the set-top box. After the wireless hotspot is turned on through the bridge mode, the set-top box can hand over the downstream wireless devices to the target router for management, thereby improving the management efficiency of the communication network, thereby improving the smoothness of the wireless devices switching between the wireless hotspots of different routing devices.
[0071] In some embodiments, the set-top box activates the wireless hotspot 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 device is a mobile device.
[0072] 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.
[0073] In some embodiments, after other wireless devices access the communication network, the set-top box actively collects the wireless capabilities of other wireless devices and reports them to the target routing device so that the target routing device can manage the communication network.
[0074] 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.
[0075] In some embodiments, the set-top box turns on a dual-band wireless hotspot, which includes a first-channel wireless hotspot and a second-band wireless hotspot. For example, the first-channel wireless hotspot is a 2.4G wireless hotspot and the second-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 any one of the first-channel wireless hotspot and the second-band wireless hotspot, the corresponding first-channel wireless hotspot or the second-band wireless hotspot is closed separately, and restarted according to the latest hotspot configuration parameters. If the changed hotspot configuration parameters all correspond to the first-channel wireless hotspot and the second-band wireless hotspot, all the first-channel wireless hotspot and the second-band wireless hotspot are closed, and restarted according to the latest hotspot configuration parameters. After restarting, the set-top box sends AP autoconfiguration UP to the target routing device to notify the target routing device that the wireless hotspot of the set-top box has been turned on normally.
[0076] Through the wireless hotspot activation method provided in the embodiment of the present application, the set-top box can 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 networking, so as to improve the overall performance of the communication networking.
[0077] It should be noted that the wireless hotspot activation method provided in the embodiment of the present application is not only applicable to set-top boxes, but also to network devices such as routing devices used to activate wireless hotspots.
[0078] In order to more clearly introduce the technical solution of the present application, the technical solution of the present application will be introduced through a specific embodiment below. It should be noted that the specific embodiment is used to expand the technical solution of the present application, but is not intended to limit the present application.
[0079] See also Figure 6 , Figure 6 A schematic flow chart of a method for opening a wireless hotspot is shown. Figure 6As shown, the set-top box forms a communication network with the target routing device, 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, and the target routing device replies with a first query message (Topology Query) after receiving the first authentication message. The set-top box replies with a first handshake message (Topology Response) to the target routing device after receiving the first query message. The target routing device sends a second authentication message (Topology Discover) to the set-top box after receiving the first handshake message. The set-top box replies with a second query message (Topology Query) after receiving the second authentication message. The target routing device replies with a second handshake message (Topology Response) after receiving the second query message, 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 hotspots and 5G hotspots, 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.
[0080] The wireless hotspot activation method provided by the above embodiment allows 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 networking, so as to improve the overall performance of the communication networking.
[0081] See also Figure 7 , Figure 7 The structural block diagram of a set-top box is shown. Figure 7 As shown, an embodiment of the present application proposes 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 realizing connection and 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 application are realized.
[0082] Specifically, for example, the following Figure 2 The specific steps shown are: 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 a target communication channel of the current communication environment of the set-top box, and obtaining channel parameters; optimizing hotspot configuration parameters according to the target communication channel and channel parameters, and generating hotspot driving parameters; and turning on the wireless hotspot of the set-top box based on the hotspot driving parameters.
[0083] 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 a 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 a two-way authentication with the target routing device, and performing wireless compatible networking with the target routing device.
[0084] 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 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.
[0085] 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.
[0086] 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.
[0087] In some embodiments, the target routing device replies with hotspot configuration parameters once every preset time period. The processor 22 is used to implement sending a parameter acquisition request to the target routing device to 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, a parameter acquisition request is sent to the target device again.
[0088] In some embodiments, the processor 22 is used to optimize the hotspot configuration parameters according to the target communication channel and channel parameters, and is specifically used 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 not the same, resending the parameter acquisition request to the target device.
[0089] An embodiment of the present application provides a communication system, the communication system includes a routing device and a set-top box, and the set-top box is any one of the set-top boxes provided in the embodiments of the present application.
[0090] An embodiment of the present application 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 application.
[0091] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the present application is not limited thereby. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present application shall be within the scope of the present application.
Claims
1. A method for opening a wireless hotspot, characterized in that: Applied to a set-top box, the set-top box supports wireless compatible networking with multiple routing devices, and the method includes: 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, characterized in that: 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, characterized in that: 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 the 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, characterized in that: 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 parameter acquisition request is resent to the target device.
7. The wireless hotspot activation method according to claim 6, characterized in that: 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, characterized in that: The device 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 claims 1 to 7 are realized.
9. A communication system, characterized in that: The communication system comprises a routing device and a set-top box, and the set-top box is the set-top box according to claim 8.
10. A storage medium for computer-readable storage, characterized in that: 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 claims 1-7.
Citation Information
Cited By
Wireless hotspot enabling method, set-top box, communication system and storage medium
EP4651542A1
