Method and device for starting wireless network in router, and router

By directly selecting a non-DFS channel and configuring the bandwidth after the router is turned on, DFS channel scanning is avoided, solving the problem of long router startup time, achieving fast startup and efficient Wi-Fi network access, and improving the user experience.

CN119255249BActive Publication Date: 2025-10-17HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing routers that support 160M bandwidth need to perform DFS channel scanning when they are turned on, which results in a time-consuming startup process and a poor user experience.

Method used

After the router is powered on and the Wi-Fi driver is loaded, the firmware is directly configured with the first bandwidth channel from the non-DFS channels to avoid DFS channel scanning. Then, necessary DFS channel scanning and bandwidth adjustment are performed according to the connected device situation.

Benefits of technology

This shortens the time it takes to start up a router, speeds up Wi-Fi network startup, improves user experience, and avoids impacting services on connected devices when expanding Wi-Fi channel bandwidth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255249B_ABST
    Figure CN119255249B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of router in wireless network starting method, device and router, in the router in wireless network starting method, router is powered on, loads Wi-Fi driver, after the completion of Wi-Fi driver loading, router does not carry out DFS channel scanning, directly selects the channel of the first bandwidth from the non-DFS channel of Wi-Fi channel, the channel of the first bandwidth is configured to the firmware of router, to complete the starting of Wi-Fi network, that is, router does not start Wi-Fi network on DFS channel, but starts Wi-Fi network on non-DFS channel, so router can not carry out DFS channel scanning first, to shorten the time consumption of router starting process, speed up the starting process of Wi-Fi, improve the speed of access equipment scanning to Wi-Fi network, improve user experience.
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 the first bandwidth channel is configured to the firmware of the router to complete the startup of the Wi-Fi network, the method further includes: determining whether there is an access device accessing the Wi-Fi network; if there is no access device accessing the Wi-Fi network, performing a dynamic frequency selection channel scan on the Wi-Fi channel; or if there is an access device accessing the Wi-Fi network, but the access device does not perform service, performing a dynamic frequency selection channel scan on the Wi-Fi channel.

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

[0009] In one possible implementation, after the dynamic frequency selection channel scan on the Wi-Fi channel, the method further includes: if there is no radar signal on the Wi-Fi channel, when there is an access device accessing 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 until the access device accessing the Wi-Fi network is in an idle state, and then selecting the second bandwidth channel from the Wi-Fi channel; and configuring the second bandwidth channel to the firmware of the router. The second bandwidth is greater than the first bandwidth.

[0010] In one possible implementation, after the dynamic frequency selection channel scan on the Wi-Fi channel, the method further includes: if there is no radar signal on the Wi-Fi channel, when there is an access device accessing the Wi-Fi network, and the access device accessing the Wi-Fi network all support the second bandwidth, notifying the access device of a bandwidth switching event; receiving a message sent by the access device that determines to perform bandwidth switching; selecting the second bandwidth channel from the Wi-Fi channel; and configuring the second bandwidth channel to the firmware of the router. 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 structure diagram of a router provided by an embodiment of the present application;

[0020] Figure 3 A flow chart of a wireless network starting method in a router provided by an embodiment of the present application;

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

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

[0023] Figure 6 A flow chart of a wireless network starting method in a router provided by another embodiment of the present application;

[0024] Figure 7 A flow chart of a wireless network starting method in a router provided by another embodiment of the present application;

[0025] Figure 8 A flow chart of a wireless network starting method in a router provided by another embodiment of the present application;

[0026] Figure 9 A flow chart of a wireless network starting method in a router provided by another embodiment of the present application;

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

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

[0029] The terms used in the embodiment part of the present application are only used for explaining the specific embodiments of the present application, and are not intended to limit the present application.

[0030] In the prior related art, the 802.11 protocol requires that a router supporting 160M bandwidth needs to perform DFS channel scanning after starting, to confirm whether there is a radar signal in the Wi-Fi channel, so as to avoid that the channel selected by the router overlaps with the channel occupied by the radar signal.

[0031] Figure 1 A router starting process diagram provided by the prior related art is as follows, Figure 1As shown, after the router is powered on, the system is first initialized, then the module driver is loaded, after the Wi-Fi driver is loaded, the DFS channel scanning is started, and after 60 seconds, the DFS channel scanning is ended. If there is no radar signal in the Wi-Fi channel, the full-band optimal channel (bandwidth 160M) is selected and configured to the firmware; if there is a radar signal in the Wi-Fi channel, the optimal channel (bandwidth 80M) is selected from the non-DFS channel of the Wi-Fi channel and configured to the firmware. After the Wi-Fi channel is configured, the Wi-Fi startup is completed.

[0032] As can be seen from the above description, after the router is powered on, the DFS scanning needs to be performed first, so as to determine the finally used channel and bandwidth, and the DFS scanning needs at least 60 seconds, and in addition to other time-consuming in the operating system startup process of the router, thereby causing the problem of slow router startup and slow Wi-Fi startup, and poor user experience.

[0033] Based on the above problems, an embodiment of the present application provides a wireless network startup method 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 wireless network startup method in the router provided by the embodiment of the present application can be applied to a router, and an example is shown in the following. Figure 2 The structure schematic diagram of the router provided by an embodiment of the present application is shown in the following. Figure 2 As shown, the router 200 can 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 wireless network startup method in the router provided by the embodiment of the present application.

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

[0036] The above processor 210 and the memory 230 can be integrated into one processing device, and more commonly, they are independent components, and the processor 210 is used to execute the program code stored in the memory 230. In specific implementation, the memory 230 can also be integrated in the processor 210, or independent of the processor 210.

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

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

[0039] For ease of understanding, the following embodiments of the present application will be described with reference to a router having Figure 2 The router with the structure shown will be taken as an example, and the starting method of the wireless network in the router provided by the embodiments of the present application will be described in detail in combination with the drawings and application scenarios.

[0040] Figure 3 The flowchart of the starting method of the wireless network in the router provided by an embodiment of the present application is shown in Figure 3 The starting method of the wireless network in the router can include the following steps:

[0041] 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 the non-DFS channels of the Wi-Fi channels.

[0043] The size of the first bandwidth can be set according to system performance and / or implementation requirements, etc. in specific implementation, and the embodiments of the present application do not limit the size of the first bandwidth. For example, the first bandwidth can be 80M.

[0044] Specifically, since the frequency band available for the Wi-Fi channel is regulated, in order to improve the performance of the wireless network, the DFS channel can be used to expand the frequency band available for the Wi-Fi channel, and the DFS channel usually includes the frequency band reserved for radar signals. In this way, the Wi-Fi channel available for the router 200 includes the DFS channel and the non-DFS channel, the DFS channel can be occupied by the radar signal, and the non-DFS channel will not be occupied by the radar signal.

[0045] DFS is used to dynamically adjust the communication channel between the router 200 and the access device in the wireless local area network, and is a mechanism that can dynamically monitor radar signals and avoid interfering with radar signals. Since the DFS channel may be occupied by a radar signal, if the router 200 wants to use the DFS channel in the Wi-Fi channel, the router 200 must first perform DFS channel scanning to determine that there is no radar signal on the DFS channel, and then the router 200 can use the DFS channel. Since the DFS channel scanning takes a long time, it causes the router to start up and the Wi-Fi to start slowly.

[0046] In the embodiment, the router 200 does not perform DFS channel scanning after the Wi-Fi driver is loaded, and directly selects a channel of the first bandwidth from the non-DFS channel of the Wi-Fi channel. That is, 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, so DFS channel scanning is not required, thereby reducing the time consumption of the startup process of the router 200 and speeding up the scanning of the access device to the Wi-Fi network.

[0047] In step 303, the router 200 configures the 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 can be that the router 200 configures the channel of the first bandwidth to the Wi-Fi chip in the router 200.

[0049] In the above method for starting a wireless network in a router, after the router 200 is started, the Wi-Fi driver is loaded, and after the Wi-Fi driver is loaded, the router 200 does not perform DFS channel scanning, but directly selects a channel of the first bandwidth from the non-DFS channel of the Wi-Fi channel. The channel of the first bandwidth is configured to the firmware of the router 200 to complete the startup of the Wi-Fi network. That is, 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, so the router 200 can not perform DFS channel scanning, thereby shortening the time consumption of the startup process of the router 200, speeding up the startup process of the Wi-Fi, improving the scanning speed of the access device to the Wi-Fi network, and improving the user experience.

[0050] Figure 4 The flowchart of the method for starting a wireless network in a router according to another embodiment of the present application is shown in FIG. 3B. Figure 4 As shown in the embodiment of the present application shown in FIG. 3B, after step 303, the method can further include: Figure 3

[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 The flow chart of the method for starting the wireless network in the router according to another embodiment of the present application is shown in Figure 6 Figure 4 In the embodiment shown in

[0060] If there is no radar signal on the Wi-Fi channel, the router 200 waits until the access devices accessing the Wi-Fi network are idle, and then selects a channel of the second bandwidth from the Wi-Fi channel.

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

[0062] Specifically, in the process of accessing the Wi-Fi network of the router 200, the access device sends an association message to the router 200, and carries the bandwidth capability supported by the access device in the association message. That is, the access device carries the capability of supporting 40M bandwidth, 80M bandwidth or 160M bandwidth in the association message. After receiving the association message sent by the access device, the router 200 can save the bandwidth capability supported by the access device.

[0063] In the embodiment, when there is no radar signal on the Wi-Fi channel, and there are access devices accessing the Wi-Fi network, and the access devices accessing the Wi-Fi network include access devices that do not support the second bandwidth, the router 200 keeps the channel of the first bandwidth unchanged, waits until the access devices accessing the Wi-Fi network are idle, and then performs bandwidth switching to select a channel of the second bandwidth from the Wi-Fi channel, thereby avoiding affecting the service of the access device.

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

[0065] Figure 7 The flow chart of the method for starting the wireless network in the router according to another embodiment of the present application is shown in Figure 7 Figure 4 In the embodiment shown in​​

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

[0067] Step 702, the router 200 receives the message sent by the access device that determines to switch the bandwidth.

[0068] Step 703, the router 200 selects a channel of the second bandwidth from the Wi-Fi channel.

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

[0070] Wherein, the second bandwidth is greater than the first bandwidth, and the size of the second bandwidth can be set according to system performance and / or implementation requirements in specific implementation, and the embodiment does not limit the size of the second bandwidth, but needs to meet the condition that the second bandwidth is greater than the first bandwidth. For example, the second bandwidth can be 160M.

[0071] In the embodiment, when there is no radar signal on the Wi-Fi channel, and there is an access device accessing the Wi-Fi network, and the access device accessing the Wi-Fi network all support the second bandwidth, the router 200 can inform the 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 switch the bandwidth. After the access device determines to switch the bandwidth, the access device sends a message to the router 200 that determines to switch the bandwidth. It is easy to think that the access device will switch the bandwidth only after determining that the bandwidth switching has no or little impact on its own business. Therefore, the embodiment informs the access device of the bandwidth switching event, and the access device determines to switch the bandwidth, which can reduce the impact on the business of the access device.

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

[0073] Figure 8 The flowchart of the method for starting a wireless network in a router provided by another embodiment of the present application is as follows: Figure 8As shown in the present application Figure 4 As shown in the embodiment, after step 402, the method can further include:

[0074] Step 801, if there is no radar signal on the Wi-Fi channel, when there is an access device accessing the Wi-Fi network, and the access devices accessing the Wi-Fi network all support the second bandwidth, the router 200 determines that the access devices are in a non-low latency scenario, and then selects a channel of the second bandwidth from the Wi-Fi channel.

[0075] Wherein, the second bandwidth is greater than the first bandwidth, and the size of the second bandwidth can be set according to system performance and / or implementation requirements in specific implementation, and the embodiment does not limit the size of the second bandwidth, but needs to meet the condition that the second bandwidth is greater than the first bandwidth. For example, the second bandwidth can be 160M.

[0076] In the embodiment, when there is no radar signal on the Wi-Fi channel, and there is an access device accessing the Wi-Fi network, and the access devices accessing the Wi-Fi network all support the second bandwidth, the router 200 can determine by itself, when the access devices accessing the Wi-Fi network are all in a non-low latency scenario, the router 200 can trigger bandwidth switching by itself, and select a channel of the second bandwidth from the Wi-Fi channel.

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

[0078] As shown in the present application Figures 5-8 In the embodiment, the router 200 can configure the channel of the second bandwidth to the firmware of the router 200, which can be: the router 200 configures the channel of the second bandwidth to the Wi-Fi chip in the router 200.

[0079] In addition, as shown in the present application Figures 5-8 In the embodiment, after the router 200 performs DFS channel scanning on the Wi-Fi channel, when there is no radar signal on the Wi-Fi channel, the router 200 can first determine whether the channel quality of the channel of the second bandwidth is higher than the channel quality of the channel of the first bandwidth currently used by the router 200. If yes, the router 200 continues to execute the bandwidth switching process; and if the channel quality of the channel of the second bandwidth is less than or equal to the channel quality of the channel of the first bandwidth currently used, the router 200 can determine that the channel of the second bandwidth has large interference, and does not perform bandwidth switching.

[0080] It should be noted that, as shown in the present application Figures 5-8In the embodiment shown, after step 402, if there is a radar signal on the Wi-Fi channel, the process ends, i.e. the router 200 still uses the channel with the first bandwidth.

[0081] Figure 9 The flowchart of the method for starting a wireless network in a router according to another embodiment of the present application is shown in FIG. 9. Figure 9 The method for starting a wireless network in a router according to the embodiment shown can 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 the first bandwidth from the non-DFS channels of the Wi-Fi channels.

[0084] Step 903, the router 200 configures the channel with the first bandwidth to the firmware of the router 200 to complete the starting of the Wi-Fi network.

[0085] Step 904, the router 200 determines whether there is an access device accessing the Wi-Fi network. If not, step 906 is performed; if yes, i.e. there is an access device accessing the Wi-Fi network, step 905 is performed.

[0086] Step 905, it is determined whether the access device accessing the Wi-Fi network is performing a service. If yes, step 906 is performed after the service is completed; if not, i.e. the access device accessing the Wi-Fi network is not performing a service, step 906 is performed.

[0087] Step 906, the router 200 performs DFS channel scanning on the Wi-Fi channel.

[0088] Step 907, the DFS channel scanning is completed.

[0089] Generally, the DFS channel scanning takes 60 seconds.

[0090] Step 908, it is determined whether there is a radar signal on the Wi-Fi channel. If yes, 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, step 909 is performed.

[0091] Step 909, it is determined whether the channel quality of the channel with the second bandwidth is higher than the channel quality of the channel with the first bandwidth currently used by the router 200. If yes, step 911 is performed; if not, i.e. the channel quality of the channel with the second bandwidth is less than or equal to the channel quality of the channel with the first bandwidth currently used, step 910 is performed.

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

[0093] In step 911, it is determined whether there is an access device accessing the Wi-Fi network. If not, step 915 is performed; if yes, i.e., there is an access device accessing the Wi-Fi network, step 912 is performed.

[0094] In step 912, it is determined whether the access device accessing the Wi-Fi network includes an access device that does not support the second bandwidth. If not, i.e., all the access devices accessing the Wi-Fi network support the second bandwidth, step 913 is performed; if yes, i.e., the access device accessing the Wi-Fi network includes an access device that does not support the second bandwidth, step 914 is performed.

[0095] In step 913, the router 200 notifies the access device of the bandwidth switching event, receives a message sent by the access device that determines to perform bandwidth switching, or determines that the access device is in a non-low latency scenario. Then, step 915 is performed.

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

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

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

[0099] Compared with the prior art, Figure 1 It can be seen that, in the method for starting a wireless network in a router provided in the embodiment, after the Wi-Fi driver is loaded, the router 200 does not perform DFS channel scanning, but selects a channel of a first bandwidth from a non-DFS channel in the Wi-Fi channels, configures the channel of the first bandwidth to the firmware of the router 200, and completes the starting of the Wi-Fi network, that is, the router 200 starts the Wi-Fi network on a non-DFS channel instead of a DFS channel, so that the router 200 can not perform DFS channel scanning, thereby shortening the time consumption of the starting process of the router 200, accelerating the starting process of the Wi-Fi, improving the speed of scanning the Wi-Fi network by the access device, and improving the user experience.

[0100] After the Wi-Fi network is started, the router 200 performs DFS channel scanning, expands the bandwidth of the Wi-Fi channel, thereby improving the wireless access performance, and when the bandwidth of the Wi-Fi channel is expanded, the router 200 selects to perform under the premise of not affecting the service of the accessed device, thereby avoiding affecting the service of the accessed device.

[0101] It can be understood that part or all of the steps or operations in the above embodiments are only examples, and the embodiments of the present application can also perform other operations or various modifications of the operations. In addition, each step can be performed in a different order from the above-described embodiments, and it is possible that not all the operations in the above-described embodiments are performed.

[0102] It can be understood that the router includes hardware and / or software modules corresponding to each function in order to implement the above functions. The algorithm steps of each example described in combination with the embodiments disclosed in the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware 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 beyond the scope of the present application.

[0103] The present embodiment can divide the function modules of the router according to the above method embodiments, for example, each function module can be divided according to each function, or two or more functions can be integrated in one module. The integrated module can be implemented in the form of hardware. It should be noted that the division of the modules in the present embodiment is illustrative, and is only a logical function division. Actual implementation can have another division manner.

[0104] Figure 10 The structure schematic diagram of the router provided for another embodiment of the present application is shown in the case of dividing each function module corresponding to each function, Figure 10 A possible composition schematic diagram of the router 1000 involved in the above embodiments is shown, as Figure 10 The router 1000 can include a loading module 1001, a selection module 1002, and a configuration module 1003.

[0105] The loading module 1001 is configured to load a Wi-Fi driver after the router is powered on.

[0106] The selection module 1002 is configured to select a channel with a first bandwidth from non-DFS channels of the Wi-Fi channel after the loading of the Wi-Fi driver is completed.

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

[0108] It should be noted that the embodiments of the application Figure 3 The embodiments of the method shown herein are all related to the function description of the corresponding function modules, and will not be repeated here.

[0109] The router 1000 provided by the embodiments of the application is configured to perform the method of the application Figure 3 The embodiments of the application provide a starting method of the wireless network of the router, and thus the same effect as the above method can be achieved.

[0110] Figure 11 The structural schematic diagram of the router provided by another embodiment of the application is similar to the router shown in Figure 10 Compared with the router shown in the above, the router 1000 further comprises a judgment module 1004 and a scanning module 1005.

[0111] The judgment module 1004 is configured to judge whether there is an access device accessing the Wi-Fi network after the configuration module 1003 configures the channel of the first bandwidth to the firmware of the router to complete the starting of the Wi-Fi network.

[0112] The scanning module 1005 is configured to perform DFS channel scanning on the Wi-Fi channel when there is no access device accessing the Wi-Fi network, or perform DFS channel scanning on the Wi-Fi channel when there is an access device accessing the Wi-Fi network but the access device is not in business.

[0113] In some examples, the selection module 1002 is further configured to select the channel of the second bandwidth from the Wi-Fi channel after the scanning module 1005 performs DFS channel scanning on the Wi-Fi channel when there is no radar signal on the Wi-Fi channel and no access device accesses the Wi-Fi network.

[0114] In some examples, the selection module 1002 is further configured to select the channel of the second bandwidth from the Wi-Fi channel after the scanning module 1005 performs DFS channel scanning on the Wi-Fi channel when there is no radar signal on the Wi-Fi channel and there is an access device accessing the Wi-Fi network, and the access device accessing the Wi-Fi network includes an access device that does not support the second bandwidth, and wait for the access device accessing the Wi-Fi network to be in an idle state.

[0115] In some examples, the router 1000 further comprises 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-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-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 configured to control and manage the actions of the router 1000, for example, can be configured to support the router 1000 to perform the steps performed by the modules described above. The storage unit can be configured to support the router 1000 to store program codes and data, etc. The communication unit can be configured to support the router 1000 to communicate with other devices.

[0126] The processing unit can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure. The processor can also be a combination of computing functions, such as one or more microprocessor combinations, digital signal processing (DSP) and microprocessor combinations, etc. The storage unit can be a memory. The communication unit can be a device for interacting 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 the embodiment can be a device with the structure as shown in the figure. Figure 2

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

[0129] The embodiment of the present application also provides a computer program product, which includes a computer program, and when the computer program is run on a computer, the computer is caused to execute the method provided by the embodiment of the present application. Figures 3-8

[0130] In the embodiment of the present application, "at least one" means one or more, and "multiple" means two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Wherein A and B can be singular or plural. The character " / " generally represents that the associated objects before and after it are in an "or" relationship. "At least one of the following" and similar expressions mean any combination of these items, including any combination of single or multiple 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, wherein a, b, c can be single or multiple.

[0131] ​​​Those skilled in the art can clearly understand that the units and algorithm steps described in the embodiments disclosed herein can be realized by electronic hardware, computer software and a combination of the two. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0132] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.

[0133] In several embodiments provided in the present application, any function realized in the form of a software function unit and sold or used as an independent product can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part of the technical solutions that make contributions to the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing 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 methods described in the embodiments of the present application. The foregoing storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0134] The above is merely specific implementation of the present application, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. The protection scope of the present application should be subject to the protection scope 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; configuring the first bandwidth channel to the firmware of the router to complete the startup of the Wi-Fi network; After configuring the first bandwidth channel 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, 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; After performing dynamic frequency selection channel scanning 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 access devices accessing the Wi-Fi network support the 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 confirming to perform bandwidth switching; selecting a channel of the second bandwidth from the Wi-Fi channels; and configuring the channel of the second bandwidth to the firmware of the router; or, 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, 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; and configure the channel with the second bandwidth to the firmware of the router.

2. The method according to claim 1, characterized in that 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, when no access device has accessed the Wi-Fi network, selecting a channel with a 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.

3. The method according to claim 1, characterized in that 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, 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, wait until the access device accessing the Wi-Fi network is in an idle state, and then 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.

4. 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, which, when executed by the router, enable the router to perform the method according to any one of claims 1 to 3.

5. 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 3.

Citation Information

Patent Citations

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

    CN114423057A