Channel scanning method and device, program product and medium

By using the NoA information mechanism for channel scanning in WiFi P2P transmission, packet loss problem during channel scanning is solved, data transmission efficiency is improved, and the impact on other WiFi networks is reduced, thereby achieving efficient channel management.

CN119316909APending Publication Date: 2025-01-14HENGXUAN TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411446774.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

During WiFi P2P transmission, packet loss caused by signal interference during channel scanning, which reduces communication efficiency. Although existing methods such as the CTS-to-self mechanism can avoid packet loss, it has a great impact on other WiFi networks and Data transmission efficiency.

Method used

The NoA information mechanism is adopted to periodically send absent notices through beacon frames to notify the group client of absence time, realize channel switching and scanning, ensuring that other WiFi networks can communicate normally during the scanning process, and improve data transmission efficiency.

Benefits of technology

It improves data transmission efficiency, has good compatibility and high reliability, avoiding the impact of CTS-to-self packets on other WiFi networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316909A_ABST
    Figure CN119316909A_ABST
Patent Text Reader

Abstract

The invention relates to a channel scanning method and device, a program product and a medium. The method is applied to a group management end, and comprises the following steps: in response to a received scanning request of a user, generating first NoA information based on a scanning type in the scanning request and the number of target channels corresponding to the scanning type; sending a beacon frame carrying the first NoA information to the group client, so that the group client obtains the absence time identified by the first NoA information; in response to the absence time identified by the first NoA information, switching from a channel communicating with the group client to a target channel, and scanning the target channel; and responding to scanning completion, switching back to the channel communicating with the group client, responding to the absent time identified by the first NoA information, switching from the channel communicating with the group client to the target channel, and scanning the target channel until each target channel is scanned. The data transmission efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing technology, and more specifically, to a channel scanning method, device, program product and medium. Background Art

[0002] When transmitting data via WiFi P2P (Peer to Peer, end-to-end), it is necessary to scan the channel. However, during the scanning process, packet loss may occur due to signal interference and other reasons, resulting in reduced communication efficiency.

[0003] In this regard, existing methods generally use a CTS-to-self (Clear To Send to Self) mechanism to set a relatively long duration to avoid the above phenomenon. Specifically, before each channel scan, a CTS-to-self packet is sent to notify other WiFi network channels around that the channel is busy.

[0004] However, this method has a great impact on other WiFi networks on the same channel, because after receiving the CTS-to-self packet, other WiFi networks cannot communicate within the duration declared by the CTS-to-self packet, thereby affecting the data transmission efficiency. Therefore, a channel scanning method is urgently needed to improve the data transmission efficiency. Summary of the invention

[0005] The present application is provided to solve the above problems existing in the prior art. According to the channel scanning method, device, program product and medium of the embodiments of the present application, data transmission efficiency can be improved.

[0006] In a first aspect, an embodiment of the present application provides a channel scanning method, which is applied to a group management terminal, including:

[0007] In response to receiving a scan request from a user, generating first NoA (Notification of Absence) information based on a scan type in the scan request and the number of target channels corresponding to the scan type; wherein the first NoA information includes: a value of a first counter, a first start time, a first period, and a first duration; the first period and the first start time are determined by the period of the beacon frame, the value of the first counter is determined by the scan type and the number of target channels, and the first duration is determined by the scan type;

[0008] Sending a beacon frame carrying the first NoA information to a group client, so that the group client obtains the absence time identified by the first NoA information;

[0009] In response to reaching the absence time identified by the first NoA information, switching from the channel communicating with the group of clients to the target channel, and scanning the target channel;

[0010] In response to the scanning being completed, switching back to the channel for communicating with the group of clients, executing the step of switching from the channel for communicating with the group of clients to the target channel in response to reaching the absence time identified by the first NoA information, and scanning the target channel until all target channels have been scanned.

[0011] In a second aspect, an embodiment of the present application provides a group management terminal, including:

[0012] A generating module, configured to generate first NoA information in response to receiving a scanning request from a user, based on a scanning type in the scanning request and the number of target channels corresponding to the scanning type; wherein the first NoA information includes: a value of a first counter, a first start time, a first period, and a first duration; the first period and the first start time are determined by the period of the beacon frame, the value of the first counter is determined by the scanning type and the number of target channels, and the first duration is determined by the scanning type;

[0013] a sending module, configured to send a beacon frame carrying the first NoA information to a group client, so that the group client obtains the absence time identified by the first NoA information;

[0014] A scanning module is configured to switch from a channel communicating with the group client to the target channel in response to the absence time identified by the first NoA information, and scan the target channel; in response to the end of scanning, switch back to the channel communicating with the group client, and execute the switching from the channel communicating with the group client to the target channel in response to the absence time identified by the first NoA information, and scan the target channel until all target channels have been scanned.

[0015] In a third aspect, an embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements a method as described in any of the above embodiments.

[0016] In a fourth aspect, an embodiment of the present application provides a non-temporary computer-readable storage medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a processor, the method described in any of the above embodiments is implemented.

[0017] By using the channel scanning method according to each embodiment of the present application, the existing NoA mechanism of the WiFi protocol is used to notify the group client of the absence information. Since all WiFi devices support the protocol, the method has good compatibility. The NoA information is sent in a periodic manner. Even if the group client does not receive the NoA information in one period, the group client can obtain the absence information of the group management end through the NoA information of other periods. Therefore, the reliability of the method is high. During the channel scanning process, other basic service sets on the same channel can communicate normally. Compared with sending CTS-to-self packets, this method can improve data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar parts. The accompanying drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, are used to illustrate the disclosed embodiments. When appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.

[0019] Figure 1 is a flow chart of a channel scanning method provided by an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of a channel scanning process provided by an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a channel scanning process provided by another embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a channel scanning process provided by another embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of a group management terminal provided by an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the technical solution of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific embodiments, but are not intended to limit the present application. The terms "first", "second" and "third" used in the present application are only intended to distinguish the corresponding features, do not represent the need for such an order, and do not necessarily represent only the singular form.

[0025] like Figure 1 As shown, an embodiment of the present application provides a channel scanning method, which is applied to a group management terminal, including:

[0026] Step 101: In response to receiving a scan request from a user, first NoA information is generated based on a scan type in the scan request and the number of target channels corresponding to the scan type.

[0027] Among them, the first NoA information includes: the value of the first counter, the first start time, the first period and the first duration; the first period and the first start time are determined by the period of the beacon frame, the value of the first counter is determined by the scan type and the number of target channels, and the first duration is determined by the scan type.

[0028] Step 102: Send a beacon frame carrying the first NoA information to the group client, so that the group client obtains the absence time identified by the first NoA information.

[0029] Step 103: In response to reaching the absence time identified by the first NoA information, the channel for communicating with the group client is switched to the target channel, and the target channel is scanned.

[0030] Through the first NoA information, the group client can learn when the group manager is in the absent state. When the group manager is in the absent state, the group client stops sending data to the group manager.

[0031] Step 104: In response to the scanning being completed, switching back to the channel for communicating with the group client, executing in response to reaching the absence time identified by the first NoA information, switching from the channel for communicating with the group client to the target channel, scanning the target channel until all target channels have been scanned.

[0032] The embodiment of the present application utilizes the existing NoA mechanism of the WiFi protocol to notify the group client of absence information. Since all WiFi devices support this protocol, the method has good compatibility. The NoA information is sent in a periodic manner. Even if the group client does not receive the NoA information in one period, the group client can obtain the absence information of the group management end through the NoA information of other periods. Therefore, the reliability of this method is relatively high. During the channel scanning process, other basic service sets on the same channel can communicate normally. Compared with sending CTS-to-self packets, this method can improve data transmission efficiency.

[0033] In actual application scenarios, the parameter setting in the NoA information mainly faces two problems: one is how to ensure that the normal transmission of beacon frames is not affected during scanning, and the other is how to set parameters so as not to affect the transmission of beacon frames when active scanning and passive scanning exist at the same time. For example, the duration of active scanning is 40 milliseconds, the duration of passive scanning is 110 milliseconds, and the packet transmission interval of beacon frames is 102.4 milliseconds. The duration of passive scanning is greater than the packet transmission interval of beacon frames, which is bound to affect the transmission of beacon frames.

[0034] In order not to affect the transmission of the beacon frame during the scanning period, the first start time, the sum of the first start time and the first duration need to fall between the two beacon frames at the same time, and the first period is equal to the period of the beacon frame, both of which are 102.4 milliseconds. Figure 2 As shown in the figure, Beacon is used to represent the beacon frame, Presence is used to represent the presence time, which corresponds to the absence time. chx is the abbreviation of channel x, which is used to represent the channel, such as ch1 is channel 1.

[0035] In order to solve the second problem, the embodiment of the present application splits the passive scan. Passive scanning is different from active scanning. Active scanning requires sending a probe request and waiting for the probe response of the surrounding access points, so the active scanning time must be continuous. Passive scanning only monitors the scanned channel and waits to receive the beacon frames broadcast by the surrounding access points, so it can be split.

[0036] In order to ensure that the scanning duration is consistent when active scanning and passive scanning exist at the same time, the embodiment of the present application sets the first duration to be the same as the duration of active scanning, for example, 40 milliseconds. Passive scanning is divided into three stages, each stage is 40 milliseconds, which is slightly longer than the original 110 milliseconds. Figure 3 As shown. By performing active scanning in stages, the requirements of scanning not affecting the transmission of beacon frames and the duration being consistent are met at the same time. Since the passive scanning is split, the value of the first counter is the sum of three times the number of passive scanning channels and the number of actively scanned channels. Among them, Duration is the first duration, and Period is the first period.

[0037] In some cases, in order to find the surrounding WiFi hotspots as quickly as possible, the active scan time needs to be set to a longer time, which is equivalent to completing active and passive scans at the same time, and those hidden WiFi hotspots can also be scanned. However, when the duration of active scanning exceeds the beacon interval, it will inevitably affect the transmission of beacon frames. In order to reduce the impact on beacon frames, the second NoA information is added on the basis of the first NoA information, so as to achieve alternating scanning. Alternating scanning is to avoid the device connected to the group management end from being disconnected due to not receiving beacon frames for a long time.

[0038] Since the duration of active scanning exceeds the beacon frame interval, the first period is the length of two beacon frame intervals, that is, 204.8ms. The first duration is still set to the scanning duration, and the value of the first counter is the number of scanned channels, such as Figure 4 As shown. As specified in the 802.11 protocol, the priority of beacon frame transmission is higher than that of periodic NoA, that is, when the beacon frame is transmitted, the group client connected to the group management end will still receive the beacon frame from the group management end, which causes the group client to be unable to enter the power saving mode well during the scanning period. Among them, Single NoA is the second NoA information.

[0039] To solve this problem, a second NoA message needs to be added to the previous beacon frame to inform the group client connected to the group management end that the next beacon frame will not be sent, so that the group client will not receive the beacon frame from the group management end, thereby achieving the purpose of saving more power.

[0040] The following will describe in detail the values ​​of the parameters in the first NoA information in combination with different scanning scenarios.

[0041] Scenario 1: The scanning type includes only active scanning, and the duration of the active scanning is less than the period of the beacon frame.

[0042] At this time, the first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, the value of the first counter is the number of target channels, and the first duration is the duration of active scanning.

[0043] For example, the first start time is later than the end time of beacon frame No. 1 and earlier than the difference between the start time of beacon frame No. 2 and the duration of active scanning. The first period is the interval between beacon frames, and the value of the first counter is the number of scanned channels. The end time of the beacon frame window is the start time of the beacon frame plus 10 milliseconds. Of course, in other application scenarios, 10 milliseconds can also be replaced by other durations.

[0044] Scenario 2: The scanning type includes only passive scanning, the duration of passive scanning is greater than the period of the beacon frame, and the duration of passive scanning is less than twice the period of the beacon frame.

[0045] At this time, the method further includes: generating second NoA information based on the first NoA information.

[0046] Sending a beacon frame carrying the first NoA information to the group client includes: sending a beacon frame carrying the first NoA information and the second NoA information to the group client.

[0047] The second NoA information is used to notify the group client that the next beacon frame adjacent to the beacon frame will not be sent.

[0048] The second NoA information includes: the value of the second counter, the second start time, the second period, and the second duration; the value of the second counter is 1, the second period is 0, the absence time identified by the second NoA information is within the absence time range identified by the first NOA information, and the sending time window of the skipped beacon frame needs to be within the absence time range identified by the second NOA information;

[0049] The first period is twice the period of the beacon frame.

[0050] In this scenario, the first NoA information is used to ensure the smooth progress of the scanning process, and the second NoA information is used to indicate that a certain beacon frame will not be sent. For example, the first start time is later than the end time of beacon frame No. 1, and earlier than the difference between the start time of beacon frame No. 3 and the duration of passive scanning. Beacon frames No. 1, No. 2, and No. 3 are sent sequentially. The window time of the beacon frame can be adjusted according to actual business needs.

[0051] Scenario 3: The scanning type includes only passive scanning, and the duration of the passive scanning is greater than the period of the beacon frame and less than twice the period of the beacon frame.

[0052] s1=c×d.

[0053] Wherein, s1 is used to represent the value of the first counter, c is used to represent the number of target channels of passive scanning, and d is used to represent the rounding up of the quotient of the duration of passive scanning divided by the first duration; the first duration is half of the duration of passive scanning. For example, the duration of passive scanning is 110ms, and the first duration is 55ms.

[0054] The first start time and the sum of the first start time and the first duration are both located between the end time of a previous beacon frame and the start time of a next beacon frame, and the first period is equal to the period of the beacon frame.

[0055] Scenario 4: The scanning types include passive scanning and active scanning. The duration of active scanning is less than the period of beacon frames, and the duration of passive scanning is greater than the period of beacon frames.

[0056] At this time, s2=e×f+g.

[0057] Wherein, s2 is used to represent the value of the first counter, e is used to represent the number of target channels of passive scanning, f is used to represent the rounding up of the quotient of the duration of passive scanning divided by the duration of active scanning, and g is used to represent the number of channels of active scanning.

[0058] The first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, and the first duration is equal to the duration of active scanning.

[0059] Scenario 5: The scanning type includes only active scanning, the duration of active scanning is greater than the period of the beacon frame, and the duration of active scanning is less than 2 times the period of the beacon frame.

[0060] At this time, the method further includes: generating second NoA information based on the first NoA information.

[0061] Sending a beacon frame carrying the first NoA information to the group client includes: sending a beacon frame carrying the first NoA information and the second NoA information to the group client.

[0062] The second NoA information is used to notify the group client that the next beacon frame adjacent to the beacon frame will not be sent.

[0063] The second NoA information includes: the value of the second counter, the second start time, the second period and the second duration; the value of the second counter is 1, the second period is 0, the absence time identified by the second NoA information is within the absence time range identified by the first NOA information, and the sending time window of the skipped beacon frame needs to be within the absence time range identified by the second NOA information.

[0064] The first period is twice the period of the beacon frame.

[0065] Similar to scenario 2, in this scenario, the first NoA information is used to ensure the smooth progress of the scanning process, and the second NoA information is used to indicate that a certain beacon frame will not be sent. For example, the first start time is later than the end time of beacon frame No. 1, and earlier than the difference between the start time of beacon frame No. 3 and the duration of active scanning. Beacon frames No. 1, No. 2, and No. 3 are sent sequentially. The window time of the beacon frame can be adjusted according to actual business needs.

[0066] It should be noted that if the scanning request sent by the user includes both active scanning and passive scanning, the active scanning duration of a single channel is less than the beacon frame interval, and the passive scanning duration of a single channel is greater than the beacon frame interval, the scanning process can skip the sending of beacon frames. At this time, the scanning requests can be classified, active scanning is classified into one category, and the NoA setting is consistent with scenario 1, and passive scanning is classified into one category, and the NoA setting is consistent with scenario 2.

[0067] like Figure 5 As shown, an embodiment of the present application provides a group management terminal, including:

[0068] The generating module 501 is configured to generate first NoA information in response to receiving a scanning request from a user, based on a scanning type in the scanning request and the number of target channels corresponding to the scanning type; wherein the first NoA information includes: a value of a first counter, a first start time, a first period, and a first duration; the first period and the first start time are determined by the period of the beacon frame, the value of the first counter is determined by the scanning type and the number of target channels, and the first duration is determined by the scanning type;

[0069] The sending module 502 is configured to send a beacon frame carrying the first NoA information to the group client, so that the group client obtains the absence time identified by the first NoA information;

[0070] The scanning module 503 is configured to switch from the channel communicating with the group client to the target channel in response to the absence time identified by the first NoA information, and scan the target channel; in response to the end of the scan, switch back to the channel communicating with the group client, and execute the switch from the channel communicating with the group client to the target channel in response to the absence time identified by the first NoA information, and scan the target channel until all target channels have been scanned.

[0071] In one embodiment of the present application, when the scanning type only includes active scanning and the duration of the active scanning is less than the period of the beacon frame, the first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, the value of the first counter is the number of target channels, and the first duration is the duration of the active scanning.

[0072] In one embodiment of the present application, when the scanning type includes only passive scanning, the duration of the passive scanning is greater than the period of the beacon frame, and the duration of the passive scanning is less than 2 times the period of the beacon frame, the method further includes: generating second NoA information based on the first NoA information;

[0073] Sending a beacon frame carrying the first NoA information to the group client includes: sending a beacon frame carrying the first NoA information and the second NoA information to the group client;

[0074] The second NoA information is used to notify the group client that the next beacon frame adjacent to the beacon frame will not be sent;

[0075] The second NoA information includes: the value of the second counter, the second start time, the second period, and the second duration; the value of the second counter is 1, the second period is 0, the absence time identified by the second NoA information is within the absence time range identified by the first NOA information, and the sending time window of the skipped beacon frame needs to be within the absence time range identified by the second NOA information;

[0076] The first period is twice the period of the beacon frame.

[0077] In one embodiment of the present application, when the scanning type includes only passive scanning, and the duration of the passive scanning is greater than the period of the beacon frame and less than 2 times the period of the beacon frame, s1=c×d;

[0078] Wherein, s1 is used to represent the value of the first counter, c is used to represent the number of target channels of passive scanning, and d is used to represent the rounding up of the quotient of the duration of passive scanning divided by the first duration; the first duration is half of the duration of passive scanning;

[0079] The first start time and the sum of the first start time and the first duration are both located between the end time of a previous beacon frame and the start time of a next beacon frame, and the first period is equal to the period of the beacon frame.

[0080] In one embodiment of the present application, when the scanning type includes passive scanning and active scanning, the duration of active scanning is less than the period of the beacon frame, and the duration of passive scanning is greater than the period of the beacon frame, s2=e×f+g;

[0081] Wherein, s2 is used to represent the value of the first counter, e is used to represent the number of target channels for passive scanning, f is used to represent the upward rounding of the quotient of the duration of passive scanning divided by the duration of active scanning, and g is used to represent the number of channels for active scanning;

[0082] The first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, and the first duration is equal to the duration of active scanning.

[0083] In one embodiment of the present application, when the scan type includes only active scanning, the duration of the active scanning is greater than the period of the beacon frame, and the duration of the active scanning is less than 2 times the period of the beacon frame, the method further includes: generating second NoA information based on the first NoA information;

[0084] Sending a beacon frame carrying the first NoA information to the group client includes: sending a beacon frame carrying the first NoA information and the second NoA information to the group client;

[0085] The second NoA information is used to notify the group client that the next beacon frame adjacent to the beacon frame will not be sent;

[0086] The second NoA information includes: the value of the second counter, the second start time, the second period, and the second duration; the value of the second counter is 1, the second period is 0, the absence time identified by the second NoA information is within the absence time range identified by the first NOA information, and the sending time window of the skipped beacon frame needs to be within the absence time range identified by the second NOA information;

[0087] The first period is twice the period of the beacon frame.

[0088] An embodiment of the present application provides a computer program product, including a computer program / instruction, which implements a method as described in any of the above embodiments when the computer program / instruction is executed by a processor.

[0089] An embodiment of the present application provides a non-temporary computer-readable storage medium on which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, a method as described in any of the above embodiments is implemented.

[0090] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. Although several embodiments are listed and described for the wireless communication method and the wireless communication component, it should be noted that the method details involved in the description of the wireless communication component can also be incorporated into the various embodiments of the wireless communication method, and vice versa.

[0091] The elements in the claims are to be interpreted broadly based on the language employed in the claims and are not limited to the examples described in this specification or during the prosecution of the application, which examples are to be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, with the true scope and spirit being indicated by the claims and the full scope of their equivalents.

[0092] The order of each step in the present application is merely exemplary and not restrictive. Without affecting the implementation of the present application (without destroying the required logical relationship between the steps), the execution order of the steps can be adjusted, and the various embodiments obtained after the adjustment still fall within the scope of the present application.

[0093] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present invention may be less than all the features of a specific disclosed embodiment. Thus, the claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present invention should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

Claims

1. A channel scanning method, characterized in that: Applicable to group management, including: In response to receiving a scan request from a user, generating first absence notification NoA information based on a scan type in the scan request and the number of target channels corresponding to the scan type; wherein the first NoA information includes: a value of a first counter, a first start time, a first period, and a first duration; the first period and the first start time are determined by a period of a beacon frame, the value of the first counter is determined by the scan type and the number of target channels, and the first duration is determined by the scan type; Sending a beacon frame carrying the first NoA information to a group client, so that the group client obtains the absence time identified by the first NoA information; In response to reaching the absence time identified by the first NoA information, switching from the channel communicating with the group of clients to the target channel, and scanning the target channel; In response to the scanning being completed, switching back to the channel for communicating with the group of clients, executing the step of switching from the channel for communicating with the group of clients to the target channel in response to reaching the absence time identified by the first NoA information, and scanning the target channel until all target channels have been scanned.

2. The method according to claim 1, characterized in that When the scan type only includes active scanning and the duration of the active scanning is less than the period of the beacon frame, the first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, the value of the first counter is the number of target channels, and the first duration is the duration of the active scan.

3. The method according to claim 1, characterized in that When the scanning type includes only passive scanning, the duration of the passive scanning is greater than the period of the beacon frame, and the duration of the passive scanning is less than 2 times the period of the beacon frame, the method further includes: generating second NoA information based on the first NoA information; Sending a beacon frame carrying the first NoA information to the group client includes: sending a beacon frame carrying the first NoA information and the second NoA information to the group client; The second NoA information is used to notify the group of clients that a subsequent beacon frame adjacent to the beacon frame will not be sent; The second NoA information includes: a value of a second counter, a second start time, a second period, and a second duration; the value of the second counter is 1, the second period is 0, the absence time identified by the second NoA information is within the absence time range identified by the first NOA information, and the sending time window of the skipped beacon frame needs to be within the absence time range identified by the second NOA information; The first period is twice the period of the beacon frame.

4. The method according to claim 1, characterized in that: When the scanning type includes only passive scanning, and the duration of the passive scanning is greater than the period of the beacon frame and less than 2 times the period of the beacon frame, s1=c×d; Wherein, s1 is used to represent the value of the first counter, c is used to represent the number of target channels of the passive scan, and d is used to represent the rounding up of the quotient of the duration of the passive scan divided by the first duration; the first duration is half of the duration of the passive scan; The first start time and the sum of the first start time and the first duration are both located between the end time of the previous beacon frame and the start time of the next beacon frame, and the first period is equal to the period of the beacon frame.

5. The method according to claim 1, characterized in that When the scanning type includes passive scanning and active scanning, the duration of the active scanning is less than the period of the beacon frame, and the duration of the passive scanning is greater than the period of the beacon frame, s2=e×f+g; Wherein, s2 is used to represent the value of the first counter, e is used to represent the number of target channels of the passive scan, f is used to represent the upward rounding of the quotient of the duration of the passive scan divided by the duration of the active scan, and g is used to represent the number of channels of the active scan; The first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, and the first duration is equal to the duration of the active scan.

6. The method according to claim 1, characterized in that When the scanning type includes only active scanning, the duration of the active scanning is greater than the period of the beacon frame, and the duration of the active scanning is less than 2 times the period of the beacon frame, the method further includes: generating second NoA information based on the first NoA information; Sending a beacon frame carrying the first NoA information to the group client includes: sending a beacon frame carrying the first NoA information and the second NoA information to the group client; The second NoA information is used to notify the group of clients that a subsequent beacon frame adjacent to the beacon frame will not be sent; The second NoA information includes: a value of a second counter, a second start time, a second period, and a second duration; the value of the second counter is 1, the second period is 0, the absence time identified by the second NoA information is within the absence time range identified by the first NOA information, and the sending time window of the skipped beacon frame needs to be within the absence time range identified by the second NOA information; The first period is twice the period of the beacon frame.

7. A group management terminal, characterized in that: include: A generating module, configured to generate first NoA information in response to receiving a scanning request from a user, based on a scanning type in the scanning request and the number of target channels corresponding to the scanning type; wherein the first NoA information includes: a value of a first counter, a first start time, a first period, and a first duration; the first period and the first start time are determined by a period of a beacon frame, the value of the first counter is determined by the scanning type and the number of target channels, and the first duration is determined by the scanning type; a sending module, configured to send a beacon frame carrying the first NoA information to a group client, so that the group client obtains the absence time identified by the first NoA information; A scanning module is configured to switch from a channel communicating with the group client to the target channel in response to the absence time identified by the first NoA information, and scan the target channel; in response to the end of scanning, switch back to the channel communicating with the group client, and execute the switching from the channel communicating with the group client to the target channel in response to the absence time identified by the first NoA information, and scan the target channel until all target channels have been scanned.

8. The group management terminal according to claim 7, characterized in that: When the scan type only includes active scanning and the duration of the active scanning is less than the period of the beacon frame, the first start time and the sum of the first start time and the first duration are both between the end time of the previous beacon frame and the start time of the next beacon frame, the first period is equal to the period of the beacon frame, the value of the first counter is the number of target channels, and the first duration is the duration of the active scan.

9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A non-transitory computer-readable storage medium having computer-executable instructions stored thereon, wherein when the computer-executable instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.