Method and device for starting wireless network in router and router

By directly selecting a non-DFS channel for Wi-Fi network startup after the router is turned on, the problem of excessively long time in the router startup process in the prior art is solved, the user experience is improved, and DFS channel scanning is performed when necessary to ensure channel security .

CN119255249AActive Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410111221.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-25
Publication Date
2025-01-03
Estimated Expiration
2044-01-25

AI Technical Summary

Technical Problem

The existing 160M bandwidth routers require dynamic frequency selection channel scanning when powering on, resulting in a long startup process and poor user experience.

Method used

After powering on, the router directly selects the channel of the first bandwidth from the non-dynamic frequency selection channel of the Wi-Fi channel for configuration, avoiding DFS channel scanning, thereby shortening the time-consuming of the startup process.

Benefits of technology

In this way, the router can quickly start the Wi-Fi network, improve the user experience, and perform DFS channel scanning when necessary to ensure channel security and availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255249A_ABST
    Figure CN119255249A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a starting method and device for a wireless network in a router and the router.The starting method for the wireless network in the router comprises the steps that after the router is started, a Wi-Fi driver is loaded, after the Wi-Fi driver is loaded, the router does not conduct DFS channel scanning, a channel of a first bandwidth is directly selected from non-DFS channels of Wi-Fi channels, and the channel of the first bandwidth is directly selected from the non-DFS channels of the Wi-Fi channels; according to the embodiment of the invention, the channel of the first bandwidth is configured to firmware of the router to complete startup of the Wi-Fi network, that is, the router does not start the Wi-Fi network on the DFS channel but starts the Wi-Fi network on the non-DFS channel, so that the router does not perform DFS channel scanning at first, time consumed in the startup process of the router can be shortened, the startup process of the Wi-Fi can be accelerated, and the startup efficiency of the Wi-Fi network can be improved. The speed of scanning the Wi-Fi network by the access device is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart terminal technology, and in particular to a method and device for starting a wireless network in a router, and a router. Background Art

[0002] In the existing related technology, for routers that support 160M bandwidth, since the available channels of the wireless fidelity (Wi-Fi) network overlap with the channels used by radar signals, the routers that support 160M bandwidth need to perform dynamic frequency selection (DFS) channel scanning when they are turned on to confirm whether there are radar signals on the channel, thereby avoiding the overlap of the channels selected by the Wi-Fi network and the channels used by radar signals.

[0003] The router can only complete startup after the DFS scan determines the optimal channel to use. The entire DFS scan takes 60 seconds. Combined with other time-consuming processes during the router startup process, the router startup process takes a long time and the user experience is poor. Summary of the Invention

[0004] Embodiments of the present application provide a method and apparatus for starting a wireless network in a router, and a router. Embodiments of the present application also provide a computer-readable storage medium to shorten the time consumption of the router startup process and improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a method for starting a wireless network in a router, comprising: after the router is powered on, loading a Wi-Fi driver; after the Wi-Fi driver is loaded, selecting a channel of a first bandwidth from a non-dynamic frequency selection channel of a Wi-Fi channel; and configuring the channel of the first bandwidth to the firmware of the router to complete the startup of the Wi-Fi network.

[0006] In the above-mentioned method for starting a wireless network in a router, after the router is powered on, the Wi-Fi driver is loaded. After the Wi-Fi driver is loaded, the router does not perform DFS channel scanning, but directly selects a channel with a first bandwidth from non-DFS channels of the Wi-Fi channel, and configures the channel with the first bandwidth to the router firmware to complete the startup of the Wi-Fi network. In other words, the router does not start the Wi-Fi network on a DFS channel, but instead starts the Wi-Fi network on a non-DFS channel. Therefore, the router does not need to perform DFS channel scanning first, thereby shortening the time taken for the router startup process, speeding up the Wi-Fi startup process, increasing the speed at which access devices scan for Wi-Fi networks, and improving the user experience.

[0007] In one possible implementation, after configuring the channel of the first bandwidth to the firmware of the router to complete the startup of the Wi-Fi network, the method further includes: determining whether an access device has accessed the Wi-Fi network; if no access device has accessed the Wi-Fi network, performing a dynamic frequency selection channel scan on the Wi-Fi channel; or, if an access device has accessed the Wi-Fi network but the access device is not performing any service, performing a dynamic frequency selection channel scan on the Wi-Fi channel.

[0008] In one possible implementation, after performing dynamic frequency selection channel scanning on the Wi-Fi channel, the method further includes: if no radar signal exists on the Wi-Fi channel, then when no access device is connected to the Wi-Fi network, selecting a channel with a second bandwidth from the Wi-Fi channel; and configuring the second bandwidth channel to the router firmware. The second bandwidth is greater than the first bandwidth.

[0009] In one possible implementation, after performing dynamic frequency selection channel scanning on the Wi-Fi channel, the method further includes: if no radar signal exists on the Wi-Fi channel, then when an access device accesses the Wi-Fi network, and the access device accessing the Wi-Fi network includes an access device that does not support the second bandwidth, waiting for the access device accessing the Wi-Fi network to be idle, selecting a channel with the second bandwidth from the Wi-Fi channels, and configuring the second bandwidth channel to the router firmware. The second bandwidth is greater than the first bandwidth.

[0010] In one possible implementation, after performing dynamic frequency selection channel scanning on the Wi-Fi channel, the method further includes: if no radar signal exists on the Wi-Fi channel, notifying the access device of a bandwidth switching event when an access device accesses the Wi-Fi network and all access devices accessing the Wi-Fi network support the second bandwidth; receiving a message from the access device confirming bandwidth switching; selecting a channel with the second bandwidth from the Wi-Fi channel; and configuring the second bandwidth channel in the router firmware. The second bandwidth is greater than the first bandwidth.

[0011] In one possible implementation, after performing dynamic frequency selection channel scanning on the Wi-Fi channel, the method further includes: if no radar signal exists on the Wi-Fi channel, then when an access device accesses the Wi-Fi network and all access devices accessing the Wi-Fi network support a second bandwidth, determining that the access device is in a non-low latency scenario, selecting a channel with the second bandwidth from the Wi-Fi channels; and configuring the second bandwidth channel in the router firmware. The second bandwidth is greater than the first bandwidth.

[0012] In a second aspect, embodiments of the present application provide a device for activating a wireless network in a router. This device is included in the router and has the function of implementing the router behavior described in the first aspect and possible implementations of the first aspect. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions, such as a loading module, a selection module, and a configuration module.

[0013] In a third aspect, an embodiment of the present application provides a router, comprising: one or more processors; a memory; multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the router, cause the router to perform the method provided in the first aspect.

[0014] It should be understood that the second and third aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the first aspect.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method provided in the first aspect.

[0017] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a router startup process provided in the prior art;

[0019] Figure 2 A schematic diagram of the structure of a router provided in one embodiment of the present application;

[0020] Figure 3 A flowchart of a method for starting a wireless network in a router provided in one embodiment of the present application;

[0021] Figure 4 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application;

[0022] Figure 5 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application;

[0023] Figure 6 A flowchart of a method for starting a wireless network in a router provided in yet another embodiment of the present application;

[0024] Figure 7 A flowchart of a method for starting a wireless network in a router provided in yet another embodiment of the present application;

[0025] Figure 8 A flowchart of a method for starting a wireless network in a router provided in yet another embodiment of the present application;

[0026] Figure 9 A flowchart of a method for starting a wireless network in a router provided in yet another embodiment of the present application;

[0027] Figure 10 A schematic diagram of the structure of a router provided in another embodiment of the present application;

[0028] Figure 11 A schematic diagram of the structure of a router provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0029] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0030] In existing related technologies, the 802.11 protocol requires that routers that support 160M bandwidth must perform a DFS channel scan after powering on to confirm whether there are radar signals on the Wi-Fi channel to avoid overlapping between the channel selected by the router and the channel occupied by the radar signal.

[0031] Figure 1 The schematic diagram of the router startup process provided in the existing related technology is as follows: Figure 1As shown in the figure, after the router is powered on, it first performs system initialization, followed by loading the drivers for each module. After the Wi-Fi driver is loaded, a DFS channel scan begins, which ends after 60 seconds. If there are no radar signals on the Wi-Fi channel, the optimal full-band channel (160 Mbps bandwidth) is selected and configured for the firmware. If there are radar signals on the Wi-Fi channel, the optimal channel (80 Mbps bandwidth) is selected from non-DFS Wi-Fi channels and configured for the firmware. After the Wi-Fi channel is configured, Wi-Fi startup is complete.

[0032] As can be seen from the above description, after the router is powered on, a DFS scan must be performed to determine the last used channel and bandwidth. The DFS scan takes at least 60 seconds. Combined with other time consumed during the router's operating system startup process, this results in slow router startup and slow Wi-Fi startup, resulting in a poor user experience.

[0033] In view of the above problems, an embodiment of the present application provides a method for starting a wireless network in a router, which can shorten the time consumption of the router startup process, speed up the Wi-Fi startup process, and improve the user experience.

[0034] The method for starting a wireless network in a router provided in an embodiment of the present application can be applied to the router. For example, Figure 2 A schematic diagram of the structure of a router provided in one embodiment of the present application is shown in FIG. Figure 2 As shown, the router 200 may include one or more processors 210, a communication interface 220 and a memory 230; and one or more computer programs, wherein the one or more computer programs are stored in the memory 230, and the one or more computer programs include instructions. When the instructions are executed by the router 200, the router 200 executes the method for starting a wireless network in the router provided in the embodiment of the present application.

[0035] The processor 210, the communication interface 220 and the memory 230 can communicate with each other through an internal connection path to transmit control and / or data signals. The memory 230 is used to store computer programs, and the processor 210 is used to call and run the computer program from the memory 230.

[0036] The processor 210 and the memory 230 may be combined into a processing device, or more commonly, they are independent components, with the processor 210 being configured to execute program codes stored in the memory 230. In a specific implementation, the memory 230 may also be integrated into the processor 210 or independent of the processor 210.

[0037] Optionally, the router 200 may further include a power supply 250 for providing power to various devices or circuits in the router 200 .

[0038] It should be understood that Figure 2 The processor 210 in the router 200 shown may be a system on chip (SOC), which may include a central processing unit (CPU) and may further include other types of processors, such as a graphics processing unit (GPU).

[0039] For ease of understanding, the following examples of this application will be described with Figure 2 Taking the router with the structure shown as an example, the method for starting a wireless network in the router provided in the embodiment of the present application is specifically described in combination with the accompanying drawings and application scenarios.

[0040] Figure 3 A flowchart of a method for starting a wireless network in a router provided in one embodiment of the present application is shown in FIG. Figure 3 As shown, the method for starting a wireless network in the above router may include:

[0041] In step 301 , after the router 200 is powered on, the Wi-Fi driver is loaded.

[0042] Step 302: After the Wi-Fi driver is loaded, the router 200 selects a channel with a first bandwidth from non-DFS channels of the Wi-Fi channel.

[0043] The size of the first bandwidth may be set according to system performance and / or implementation requirements during specific implementation. This embodiment does not limit the size of the first bandwidth. For example, the first bandwidth may be 80M.

[0044] Specifically, since the frequency bands available for Wi-Fi channels are regulated, DFS channels can be used to expand the available frequency bands for Wi-Fi channels to improve wireless network performance. DFS channels typically include frequency bands reserved for radar signals. Thus, the Wi-Fi channels available to router 200 include both DFS and non-DFS channels. DFS channels may be occupied by radar signals, while non-DFS channels are not.

[0045] DFS dynamically adjusts the communication channel between router 200 and access devices in a wireless LAN. It is a mechanism that dynamically monitors radar signals and avoids interference. Because DFS channels can be occupied by radar signals, router 200 must first scan for DFS channels within Wi-Fi channels to ensure they are clear of radar signals. This time-consuming DFS channel scan can lead to slow Wi-Fi startup when the router is turned on.

[0046] In this embodiment, after the Wi-Fi driver is loaded, the router 200 does not perform DFS channel scanning, but directly selects a channel with the first bandwidth from the non-DFS channels of the Wi-Fi channel. In other words, the router 200 does not start the Wi-Fi network on the DFS channel, but starts the Wi-Fi network on the non-DFS channel. Therefore, there is no need to perform DFS channel scanning, which can reduce the startup time of the router 200 and speed up the speed at which the access device scans the Wi-Fi network.

[0047] In step 303 , the router 200 configures a channel of the first bandwidth to the firmware of the router 200 to complete the startup of the Wi-Fi network.

[0048] Specifically, the router 200 configuring the channel of the first bandwidth to the firmware of the router 200 may be: the router 200 configuring the channel of the first bandwidth to the Wi-Fi chip in the router 200 .

[0049] In the above-mentioned method for starting a wireless network in a router, after the router 200 is powered on, the Wi-Fi driver is loaded. After the Wi-Fi driver is loaded, the router 200 does not perform DFS channel scanning, but directly selects a channel with a first bandwidth from non-DFS channels of the Wi-Fi channel. The first bandwidth channel is configured to the firmware of the router 200 to complete the startup of the Wi-Fi network. In other words, the router 200 does not start the Wi-Fi network on the DFS channel, but instead starts the Wi-Fi network on a non-DFS channel. Therefore, the router 200 does not need to perform DFS channel scanning first, thereby shortening the startup time of the router 200, speeding up the Wi-Fi startup process, increasing the speed at which access devices scan for Wi-Fi networks, and improving the user experience.

[0050] Figure 4 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application is shown in FIG. Figure 4 As shown, this application Figure 3 In the illustrated embodiment, after step 303, the following steps may also be included:

[0051] In step 401, the router 200 determines whether any access device has accessed the Wi-Fi network.

[0052] The access device may be an electronic device connected to the router 200, such as a smart phone, a tablet computer, a laptop computer, a personal computer (PC), a smart speaker, a smart screen or other electronic devices.

[0053] In step 402, if no access device has accessed the Wi-Fi network, the router 200 performs a DFS channel scan on the Wi-Fi channel; or, if an access device has accessed the Wi-Fi network but the access device is not performing any service, the router 200 performs a DFS channel scan on the Wi-Fi channel.

[0054] That is, in this embodiment, the router 200 performs DFS channel scanning only after completing the startup of the Wi-Fi network, thereby speeding up the startup process of the Wi-Fi network and shortening the startup time of the router 200. In addition, before the router 200 performs DFS channel scanning, it is necessary to first determine whether there is an access device connected to the above-mentioned Wi-Fi network. If an access device is connected to the above-mentioned Wi-Fi network, the router 200 will not perform DFS channel scanning first. When no access device is connected to the above-mentioned Wi-Fi network, or when an access device is connected to the above-mentioned Wi-Fi network but the access device is not performing any service, the router 200 performs DFS channel scanning again, thereby avoiding the impact of DFS channel scanning on the service of the access device.

[0055] Figure 5 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application is shown in FIG. Figure 5 As shown, this application Figure 4 In the illustrated embodiment, after step 402, the following steps may also be included:

[0056] Step 501: If there is no radar signal on the Wi-Fi channel, and when no access device has accessed the Wi-Fi network, the router 200 selects a channel with a second bandwidth from the Wi-Fi channel.

[0057] Among them, the second bandwidth is greater than the first bandwidth. The size of the second bandwidth can be set according to system performance and / or implementation requirements during specific implementation. This embodiment does not limit the size of the second bandwidth, but it is required that the second bandwidth is greater than the first bandwidth. For example, the second bandwidth can be 160M.

[0058] In step 502 , the router 200 configures the second bandwidth channel to the firmware of the router 200 .

[0059] Figure 6 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application is shown in FIG. Figure 6 As shown, this application Figure 4 In the illustrated embodiment, after step 402, the following steps may also be included:

[0060] In step 601, if no radar signal exists on the Wi-Fi channel, when an access device accesses the Wi-Fi network, and the access device accessing the Wi-Fi network includes an access device that does not support the second bandwidth, the router 200 waits for the access device accessing the Wi-Fi network to be idle before selecting a channel with the second bandwidth from the Wi-Fi channels.

[0061] Among them, the second bandwidth is greater than the first bandwidth. The size of the second bandwidth can be set according to system performance and / or implementation requirements during specific implementation. This embodiment does not limit the size of the second bandwidth, but it is required that the second bandwidth is greater than the first bandwidth. For example, the second bandwidth can be 160M.

[0062] Specifically, when an access device accesses the Wi-Fi network of router 200, it sends an association message to router 200, which includes the bandwidth capabilities supported by the access device. In other words, the access device includes its ability to support 40M bandwidth, 80M bandwidth, or 160M bandwidth in the association message. After receiving the association message from the access device, router 200 can store the bandwidth capabilities supported by the access device.

[0063] In this embodiment, when there is no radar signal on the Wi-Fi channel, an access device has been connected to the Wi-Fi network, and the access device connected to the Wi-Fi network includes an access device that does not support the second bandwidth, the router 200 first maintains the channel of the first bandwidth unchanged, waits until all access devices connected to the Wi-Fi network are in an idle state, and then performs bandwidth switching and selects a channel of the second bandwidth from the Wi-Fi channels, thereby avoiding affecting the services of the access devices.

[0064] In step 602 , the router 200 configures the second bandwidth channel to the firmware of the router 200 .

[0065] Figure 7 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application is shown in FIG. Figure 7 As shown, this application Figure 4 In the illustrated embodiment, after step 402, the following steps may also be included:

[0066] In step 701, if there is no radar signal on the Wi-Fi channel, when an access device accesses the Wi-Fi network and all the access devices accessing the Wi-Fi network support the second bandwidth, the router 200 notifies the access device of a bandwidth switching event.

[0067] Step 702: The router 200 receives a message from the access device confirming to switch the bandwidth.

[0068] In step 703 , the router 200 selects a channel with a second bandwidth from the aforementioned Wi-Fi channels.

[0069] In step 704 , the router 200 configures the second bandwidth channel to the firmware of the router 200 .

[0070] Among them, the second bandwidth is greater than the first bandwidth. The size of the second bandwidth can be set according to system performance and / or implementation requirements during specific implementation. This embodiment does not limit the size of the second bandwidth, but it is required that the second bandwidth is greater than the first bandwidth. For example, the second bandwidth can be 160M.

[0071] In this embodiment, when there is no radar signal on the above-mentioned Wi-Fi channel, and an access device is connected to the above-mentioned Wi-Fi network, and the access devices connected to the above-mentioned Wi-Fi network all support the second bandwidth, the router 200 can notify the above-mentioned access device of the bandwidth switching event through an action frame. After receiving the action frame, the access device can vote to determine whether to perform bandwidth switching. After the access device determines to perform bandwidth switching, the access device sends a message to the router 200 to determine whether to perform bandwidth switching. It is easy to imagine that the access device will only perform bandwidth switching after determining that the bandwidth switching has no impact or little impact on its own business. Therefore, in this embodiment, the bandwidth switching event is notified to the access device, and the access device determines to perform bandwidth switching, which can reduce the impact on the access device's own business.

[0072] After the router 200 receives the message confirming bandwidth switching, the router 200 selects a channel of the second bandwidth from the above-mentioned Wi-Fi channels, configures the above-mentioned channel of the second bandwidth to the firmware of the router 200, and can switch the access device accessing the above-mentioned Wi-Fi network from the channel of the first bandwidth to the channel of the second bandwidth through the channel switch announcement (CSA) process.

[0073] Figure 8 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application is shown in FIG. Figure 8As shown, this application Figure 4 In the illustrated embodiment, after step 402, the following steps may also be included:

[0074] In step 801, if no radar signal exists on the Wi-Fi channel, when an access device accesses the Wi-Fi network and all access devices accessing the Wi-Fi network support the second bandwidth, the router 200 determines that the access device is in a non-low-latency scenario and selects a channel with the second bandwidth from the Wi-Fi channels.

[0075] Among them, the second bandwidth is greater than the first bandwidth. The size of the second bandwidth can be set according to system performance and / or implementation requirements during specific implementation. This embodiment does not limit the size of the second bandwidth, but it is required that the second bandwidth is greater than the first bandwidth. For example, the second bandwidth can be 160M.

[0076] In this embodiment, when there is no radar signal on the above-mentioned Wi-Fi channel, and an access device is connected to the above-mentioned Wi-Fi network, and all access devices connected to the above-mentioned Wi-Fi network support the second bandwidth, the router 200 can make a judgment on its own. When all access devices connected to the above-mentioned Wi-Fi network are in a non-low latency scenario, the router 200 can trigger bandwidth switching on its own and select a channel with the second bandwidth from the above-mentioned Wi-Fi channels.

[0077] In step 802 , the router 200 configures a channel of the second bandwidth to the firmware of the router 200 .

[0078] This application Figures 5 to 8 In the illustrated embodiment, the router 200 configuring the second bandwidth channel to the firmware of the router 200 may be: the router 200 configuring the second bandwidth channel to the Wi-Fi chip in the router 200 .

[0079] In addition, this application Figures 5 to 8 In the illustrated embodiment, after the router 200 performs a DFS channel scan on the Wi-Fi channel, if no radar signal exists on the Wi-Fi channel, the router 200 may first determine whether the channel quality of the second bandwidth channel is higher than the channel quality of the first bandwidth channel currently used by the router 200. If so, the router 200 continues to perform the bandwidth switching process. If the channel quality of the second bandwidth channel is lower than or equal to the channel quality of the first bandwidth channel currently used, the router 200 may determine that the second bandwidth channel has greater interference and does not perform bandwidth switching.

[0080] It should be noted that this application Figures 5 to 8In the illustrated embodiment, after step 402 , if a radar signal exists on the Wi-Fi channel, the current process ends, that is, the router 200 still maintains using the channel with the first bandwidth.

[0081] Figure 9 A flowchart of a method for starting a wireless network in a router provided in another embodiment of the present application is shown in FIG. Figure 9 As shown, the method for starting a wireless network in the above router may include:

[0082] Step 901: After the router 200 is powered on, the Wi-Fi driver is loaded.

[0083] Step 902: After the Wi-Fi driver is loaded, the router 200 selects a channel with a first bandwidth from non-DFS channels of the Wi-Fi channel.

[0084] In step 903 , the router 200 configures a channel of the first bandwidth to the firmware of the router 200 to complete the startup of the Wi-Fi network.

[0085] In step 904, the router 200 determines whether any access device has accessed the Wi-Fi network. If not, step 906 is executed; if yes, that is, an access device has accessed the Wi-Fi network, step 905 is executed.

[0086] Step 905 , determining whether the access device connected to the above-mentioned Wi-Fi network is performing a service; if so, wait until the service is completed and then execute step 906 ; if not, that is, the access device connected to the above-mentioned Wi-Fi network is not performing a service, then execute step 906 .

[0087] In step 906 , the router 200 performs a DFS channel scan on the Wi-Fi channel.

[0088] Step 907: DFS channel scanning ends.

[0089] Generally speaking, a DFS channel scan takes 60 seconds.

[0090] Step 908: Determine whether there is a radar signal on the Wi-Fi channel. If so, the process ends, i.e., the router 200 continues to use the channel with the first bandwidth. If not, i.e., there is no radar signal on the Wi-Fi channel, then step 909 is executed.

[0091] Step 909 determines whether the channel quality of the second bandwidth channel is higher than the channel quality of the first bandwidth channel currently used by router 200. If so, step 911 is executed; if not, that is, the channel quality of the second bandwidth channel is lower than or equal to the channel quality of the first bandwidth channel currently used, step 910 is executed.

[0092] In step 910, the router 200 determines that the channel interference of the second bandwidth is relatively large and does not perform bandwidth switching.

[0093] Step 911: Determine whether any access device has accessed the Wi-Fi network. If not, proceed to step 915; if yes, that is, an access device has accessed the Wi-Fi network, proceed to step 912.

[0094] Step 912: Determine whether the access devices accessing the Wi-Fi network include an access device that does not support the second bandwidth. If not, that is, all the access devices accessing the Wi-Fi network support the second bandwidth, execute step 913. If yes, that is, the access devices accessing the Wi-Fi network include an access device that does not support the second bandwidth, execute step 914.

[0095] In step 913 , the router 200 notifies the access device of the bandwidth switching event and receives a message from the access device confirming bandwidth switching; or the router 200 determines that the access device is in a non-low latency scenario. Then, step 915 is executed.

[0096] In step 914 , the router 200 waits for the access device connected to the Wi-Fi network to be in an idle state.

[0097] In step 915 , the router 200 selects a channel with a second bandwidth from the aforementioned Wi-Fi channels.

[0098] In step 916 , the router 200 configures the second bandwidth channel to the firmware of the router 200 .

[0099] and Figure 1 By comparison, it can be seen that in the method for starting a wireless network in a router provided in this embodiment, after the Wi-Fi driver is loaded, the router 200 does not perform DFS channel scanning. Instead, it selects a channel with the first bandwidth from non-DFS channels in the Wi-Fi channels and configures the channel with the first bandwidth to the firmware of the router 200 to complete the startup of the Wi-Fi network. In other words, the router 200 does not start the Wi-Fi network on the DFS channel, but starts the Wi-Fi network on the non-DFS channel. Therefore, the router 200 does not need to perform DFS channel scanning first, thereby shortening the startup time of the router 200, speeding up the Wi-Fi startup process, increasing the speed at which the access device scans the Wi-Fi network, and improving the user experience.

[0100] After the Wi-Fi network is started, the router 200 performs DFS channel scanning to expand the bandwidth of the Wi-Fi channel, thereby improving wireless access performance. When expanding the bandwidth of the Wi-Fi channel, the router 200 chooses to do so without affecting the services of the connected devices, thereby avoiding affecting the services of the connected devices.

[0101] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.

[0102] It is understandable that, in order to implement the above functions, the router includes hardware and / or software modules that perform the corresponding functions. In combination with the algorithm steps of each example described in the embodiments disclosed in this application, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in hardware or in a computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0103] This embodiment can divide the router into functional modules based on the above-mentioned method embodiment. For example, each functional module can be divided into corresponding functional modules, or two or more functions can be integrated into a single module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents a logical functional division. In actual implementation, other division methods may be used.

[0104] Figure 10 A schematic diagram of the structure of a router provided in another embodiment of the present application, in which each functional module is divided into corresponding functional modules, Figure 10 A possible schematic diagram of the composition of the router 1000 involved in the above embodiment is shown. Figure 10 As shown, the router 1000 may include: a loading module 1001, a selection module 1002 and a configuration module 1003;

[0105] The loading module 1001 is used to load the Wi-Fi driver after the router is turned on.

[0106] A selection module 1002 is configured to select a channel of a first bandwidth from non-DFS channels of the Wi-Fi channel after the Wi-Fi driver is loaded;

[0107] The configuration module 1003 is configured to configure a channel of the first bandwidth to the firmware of the router to complete the startup of the Wi-Fi network.

[0108] It should be noted that this application Figure 3 All relevant contents of each step involved in the illustrated method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0109] The router 1000 provided in this embodiment is used to execute the present application Figure 3 The method for starting a wireless network in a router provided in the illustrated embodiment can therefore achieve the same effect as the above method.

[0110] Figure 11 A schematic diagram of a router structure provided in another embodiment of the present application, Figure 10 Compared with the router shown in FIG. 1 , the difference is that the router 1000 may further include: a judgment module 1004 and a scanning module 1005;

[0111] A determination module 1004 is configured to determine whether an access device has accessed the Wi-Fi network after the configuration module 1003 configures the first bandwidth channel to the firmware of the router to complete the startup of the Wi-Fi network;

[0112] The scanning module 1005 is configured to perform a DFS channel scan on the Wi-Fi channel when no access device is connected to the Wi-Fi network; or to perform a DFS channel scan on the Wi-Fi channel when an access device is connected to the Wi-Fi network but the access device is not performing any service.

[0113] In some examples, the selection module 1002 is further configured to, after the scanning module 1005 performs a DFS channel scan on the Wi-Fi channel, select a channel with a second bandwidth from the Wi-Fi channel when no radar signal exists on the Wi-Fi channel and no access device is connected to the Wi-Fi network;

[0114] In some examples, the selection module 1002 is further configured to, after the scanning module 1005 performs a DFS channel scan on the Wi-Fi channel, select a channel with the second bandwidth from the Wi-Fi channels after waiting for the access devices accessing the Wi-Fi network to be idle when no radar signal exists on the Wi-Fi channel, an access device has accessed the Wi-Fi network, and the access devices accessing the Wi-Fi network include an access device that does not support the second bandwidth.

[0115] In some examples, the router 1000 may further include: a notification module 1006 and a receiving module 1007;

[0116] a notification module 1006 configured to notify the access device of a bandwidth switching event if, after the scanning module 1005 performs a DFS channel scan on the Wi-Fi channel, no radar signal exists on the Wi-Fi channel, an access device accesses the Wi-Fi network, and all the access devices accessing the Wi-Fi network support the second bandwidth;

[0117] A receiving module 1007 is configured to receive a message sent by the access device to confirm bandwidth switching;

[0118] The selection module 1002 is further configured to select a channel with a second bandwidth from the Wi-Fi channels.

[0119] In some examples, the selection module 1002 is further configured to, after the scanning module 1005 performs a DFS channel scan on the Wi-Fi channel, select a channel with the second bandwidth from the Wi-Fi channel after determining that the access device is in a non-low latency scenario when no radar signal exists on the Wi-Fi channel, an access device has accessed the Wi-Fi network, and all access devices accessing the Wi-Fi network support the second bandwidth.

[0120] The configuration module 1003 is further configured to configure the channel of the second bandwidth to the firmware of the router.

[0121] It should be noted that this application Figures 3 to 8 All relevant contents of each step involved in the illustrated method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0122] The router 1000 provided in this embodiment is used to execute the present application Figures 3 to 8 The method for starting a wireless network in a router provided in the illustrated embodiment can therefore achieve the same effect as the above method.

[0123] It should be understood that the router 1000 may correspond to Figure 2 The functions of the loading module 1001, the selecting module 1002, the configuring module 1003, the judging module 1004 and the scanning module 1005 can be realized by Figure 2 The processor 210 in the router 200 shown in FIG. 1 is implemented; the functions of the notification module 1006 and the receiving module 1007 can be implemented by Figure 2 The processor 210 and the communication interface 220 in the router 200 are shown to be implemented.

[0124] In the case of adopting an integrated unit, the router 1000 may include a processing unit, a storage unit, and a communication unit.

[0125] The processing unit can be used to control and manage the operations of the router 1000. For example, it can be used to support the router 1000 in executing the steps performed by the modules above. The storage unit can be used to support the router 1000 in storing program codes and data. The communication unit can be used to support the communication between the router 1000 and other devices.

[0126] Among them, the processing unit can be a processor or a controller, which can implement or execute the various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage unit can be a memory. The communication unit can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip and / or a Wi-Fi chip.

[0127] In one embodiment, when the processing unit is a processor and the storage unit is a memory, the router 1000 involved in this embodiment can be a Figure 2 Device with the structure shown.

[0128] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, which, when executed on a computer, enables the computer to execute the present application. Figures 3 to 8 The method provided by the illustrated embodiment.

[0129] The present invention also provides a computer program product, which includes a computer program that, when executed on a computer, enables the computer to execute the present invention. Figures 3 to 8 The method provided by the illustrated embodiment.

[0130] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.

[0131] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0132] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0133] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0134] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.

Claims

1. A method for starting a wireless network in a router, characterized in that: include: After the router is turned on, load the Wi-Fi driver; After the Wi-Fi driver is loaded, selecting a channel of the first bandwidth from a non-dynamic frequency selection channel of the Wi-Fi channel; The channel of the first bandwidth is configured to the firmware of the router to complete the startup of the Wi-Fi network.

2. The method according to claim 1, characterized in that After configuring the channel of the first bandwidth to the firmware of the router to complete the startup of the Wi-Fi network, the method further includes: Determine whether there is an access device connected to the Wi-Fi network; If no access device has accessed the Wi-Fi network, a dynamic frequency selection channel scan is performed on the Wi-Fi channel; or, if an access device has accessed the Wi-Fi network but the access device is not performing any service, a dynamic frequency selection channel scan is performed on the Wi-Fi channel.

3. The method according to claim 2, characterized in that After the dynamic frequency selection channel scanning is performed on the Wi-Fi channel, the method further includes: If there is no radar signal on the Wi-Fi channel, when no access device accesses the Wi-Fi network, selecting a channel with a second bandwidth from the Wi-Fi channel; wherein the second bandwidth is greater than the first bandwidth; The channel of the second bandwidth is configured to the firmware of the router.

4. The method according to claim 2, characterized in that: After the dynamic frequency selection channel scanning is performed on the Wi-Fi channel, the method further includes: If there is no radar signal on the Wi-Fi channel, when an access device accesses the Wi-Fi network, and the access device accessing the Wi-Fi network includes an access device that does not support the second bandwidth, after waiting for the access device accessing the Wi-Fi network to be in an idle state, a channel with the second bandwidth is selected from the Wi-Fi channels; wherein the second bandwidth is greater than the first bandwidth; The channel of the second bandwidth is configured to the firmware of the router.

5. The method according to claim 2, characterized in that: After the dynamic frequency selection channel scanning is performed on the Wi-Fi channel, the method further includes: If there is no radar signal on the Wi-Fi channel, when an access device accesses the Wi-Fi network and all the access devices accessing the Wi-Fi network support a second bandwidth, notifying the access device of a bandwidth switching event; wherein the second bandwidth is greater than the first bandwidth; Receiving a message sent by the access device to determine to switch the bandwidth; Selecting a channel of the second bandwidth from the Wi-Fi channels; The channel of the second bandwidth is configured to the firmware of the router.

6. The method according to claim 2, characterized in that After the dynamic frequency selection channel scanning is performed on the Wi-Fi channel, the method further includes: If there is no radar signal on the Wi-Fi channel, when an access device accesses the Wi-Fi network and all the access devices accessing the Wi-Fi network support the second bandwidth, after determining that the access device is in a non-low-latency scenario, select a channel with the second bandwidth from the Wi-Fi channels; wherein the second bandwidth is greater than the first bandwidth; The channel of the second bandwidth is configured to the firmware of the router.

7. A router, characterized in that: include: one or more processors; Memory; Multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the router, the router performs the method according to any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Communication method and device in home wireless network and computer readable storage medium

    CN110839288A

  • Bypassing radar in wide dynamic frequency selection (DFS) channels utilizing puncturing

    CN112385254A

  • Channel switching method and device, AP equipment and storage medium

    CN114423057A

  • Assisted dynamic frequency scan for wi-fi access points

    US20180332583A1