Wireless communication scanning method and device, terminal equipment and readable storage medium

By controlling the second antenna to perform passive scanning when the first antenna of the terminal device meets the data transmission requirements, the continuity of data transmission and reception and energy consumption reduction during the wireless communication scanning process is achieved.

CN120301980APending Publication Date: 2025-07-11VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510439446.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

During the wireless communication scanning process, the data transmission and reception process is easily interrupted, and the prior art cannot perform wireless network scanning without interrupting data transmission.

Method used

When the first antenna of the terminal device meets the current data transmission needs, the second antenna is controlled to perform passive scanning, and wireless network scanning is performed using passive scanning, while the first antenna continues to perform data transmission.

Benefits of technology

It solves the problem of interruption in the data transmission and reception process during wireless communication scanning, and reduces the energy consumption of wireless communication scanning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120301980A_ABST
    Figure CN120301980A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless communication scanning method and device, terminal equipment and a readable storage medium, and belongs to the technical field of communication. The wireless communication scanning method is applied to the terminal, the terminal can work in a first frequency band, antennas corresponding to the first frequency band comprise a first antenna and a second antenna, and the method comprises the following steps: under the condition that the terminal is wirelessly connected with network side equipment, judging whether the first antenna can meet the current data transmission requirement or not; and under the condition that the first antenna meets the current data transmission requirement, controlling the second antenna to execute passive scanning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technologies, and particularly relates to a wireless communication scanning method, apparatus, terminal device, and readable storage medium. Background Art

[0002] A terminal (Station, STA) can connect to a wireless network through different access points (Access Point, AP). Before the STA connects to the wireless network, it needs to first perform a wireless communication scan on the current environment, confirm all currently connectable wireless networks, and select an optimal wireless network for connection by scoring different parameters according to a weighted algorithm to obtain an optimal user Internet access experience.

[0003] Wireless communication scanning can generally be divided into two types: active scanning and passive scanning:

[0004] For active scanning, the STA needs to broadcast a probe request (Probe Request, Probe Req) and wait for the surrounding APs to reply with a probe response (Probe Response, Probe Resp). The AP will provide network information in the response frame.

[0005] For passive scanning, the STA only needs to listen to the channel on which the AP sends beacon frames to determine the currently connectable wireless networks based on the listened beacon frames.

[0006] In the related art, the wireless communication scanning process and the data sending and receiving process are in a mutually exclusive state on the same link, that is, the wireless communication scanning process will interrupt the data sending and receiving process on the current STA. Summary of the Invention

[0007] The objective of the embodiments of this application is to provide a wireless communication scanning method, apparatus, terminal device, and readable storage medium, which can solve the problem that the data sending and receiving process on the terminal is interrupted during the wireless communication scanning process.

[0008] In a first aspect, the embodiments of this application provide a wireless communication scanning method, which is applied to a terminal. The terminal can operate in a first frequency band, and the antennas corresponding to the first frequency band include a first antenna and a second antenna. The method includes:

[0009] When the terminal is wirelessly connected to a network-side device, determine whether the first antenna can meet the current data transmission requirements;

[0010] When the first antenna meets the current data transmission requirements, control the second antenna to perform passive scanning.

[0011] Second aspect, embodiments of the present application provide a wireless communication scanning device for a terminal. The terminal can operate in a first frequency band. The antennas corresponding to the first frequency band include a first antenna and a second antenna. The device includes:

[0012] A judgment module, configured to judge whether the first antenna can meet the current data transmission requirements when the terminal is wirelessly connected to a network-side device;

[0013] A first control module, configured to control the second antenna to perform passive scanning when the first antenna meets the current data transmission requirements.

[0014] Third aspect, embodiments of the present application provide a terminal device. The terminal device includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0015] Fourth aspect, embodiments of the present application provide a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] Fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run a program or instruction to implement the method described in the first aspect.

[0017] Sixth aspect, embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement the method described in the first aspect.

[0018] In embodiments of the present application, the terminal can operate in a first frequency band. The antennas corresponding to the first frequency band include a first antenna and a second antenna. When the terminal is wirelessly connected to a network-side device, it is judged whether the first antenna can meet the current data transmission requirements; when the first antenna meets the current data transmission requirements, the second antenna is controlled to perform passive scanning. In this way, when the first antenna on the terminal can meet the current data transmission requirements of the first frequency band, among at least two antennas corresponding to the first frequency band on the terminal, at least one antenna is used for passive scanning, and the remaining antennas can be inoperative or used for data transceiver. For the same frequency band, data transceiver and passive scanning can be performed simultaneously, which can solve the problem that the data transceiver process on the terminal is interrupted during the wireless communication scanning process. Moreover, compared with active scanning, passive scanning can also reduce the energy consumption of wireless communication scanning. Description of the Drawings

[0019] Figure 1It is a flowchart of a wireless communication scanning method in some embodiments of the present application;

[0020] Figure 2a It is an antenna allocation diagram before the STA performs passive scanning;

[0021] Figure 2b It is an antenna allocation diagram when the STA performs passive scanning;

[0022] Figure 3 It is a schematic diagram of the interaction between the STA and the AP in some embodiments of the present application;

[0023] Figure 4 It is a theoretical rate table under the WiFi4 and WiFi5 standards;

[0024] Figure 5 It is a flowchart of a wireless communication scanning method in other embodiments of the present application;

[0025] Figure 6 It is a schematic structural diagram of a wireless communication scanning device in some embodiments of the present application;

[0026] Figure 7 It is a schematic structural diagram of a terminal device in some embodiments of the present application;

[0027] Figure 8 It is a schematic hardware structure diagram of an electronic device in some embodiments of the present application. Detailed implementation manners

[0028] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0029] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0030] To facilitate the understanding of the wireless communication scanning method in the embodiments of the present application, the technical terms or nouns related to the embodiments of the present application will be explained first:

[0031] STA: It can also be referred to as a wireless workstation, abbreviated as workstation. The STA is any terminal device that supports wireless communication, such as terminal devices like mobile phones and computers. For the convenience of description, in the embodiments of this application, the STA is referred to as a terminal.

[0032] AP: The AP is a device in a wireless network used for the STA to access the wireless network, such as a router. For the convenience of description, in the embodiments of this application, the AP is referred to as a network-side device, and in the embodiments of this application, it is usually exemplified by the network-side device being a WiFi router.

[0033] Wireless Mesh network: It can communicate in coordination with other networks. It is a dynamic and continuously expandable network architecture, and any two devices can maintain wireless interconnection.

[0034] Active scanning: The STA actively sends out broadcast frames and discovers the information of each AP in the current environment by receiving the responses feedback by the AP.

[0035] Passive scanning: The STA passively receives the beacon frames periodically sent by the AP in the current environment to discover the information of each AP in the current environment.

[0036] Frequency band: The range of the frequency of radio waves. The two main frequency bands of WiFi are 2.4 GHz and 5 GHz, and each frequency band is further divided into several channels.

[0037] Channel: It refers to the specific frequency used for data transmission within the above frequency range. For example, there are 13 commonly used channels within the 2.4G frequency band.

[0038] Multiple-Input Multiple-Output (MIMO): A technology in the field of wireless communication that uses multiple antennas to send and receive signals.

[0039] Next, in combination with the accompanying drawings, through specific embodiments and their application scenarios, the wireless communication scanning method, wireless communication scanning device, terminal device, and readable storage medium provided by the embodiments of this application will be described in detail.

[0040] The wireless communication scanning method provided by the embodiments of this application may have a terminal as its execution subject. The terminal can operate in a first frequency band, and the antennas corresponding to the first frequency band include a first antenna and a second antenna.

[0041] Refer to Figure 1 , and the wireless communication scanning method includes the following steps:

[0042] Step 101, when the terminal is wirelessly connected to the network-side device, determine whether the first antenna can meet the current data transmission requirements.

[0043] Step 102, when the first antenna meets the current data transmission requirement, control the second antenna to perform passive scanning.

[0044] In some embodiments, when the terminal is wirelessly connected to the network side device, determining whether the first antenna can meet the current data transmission requirement may be that the terminal establishes a wireless connection with the network side device, and when performing data transmission with the network side device on the first frequency band, it is determined whether the terminal can meet the current data transmission requirement of the first frequency band when only using the first antenna for data transmission and not using the second antenna for data transmission.

[0045] In some embodiments, the first antenna can meet the current data transmission requirement may be that the theoretical peak rate of the first antenna is greater than the actual data throughput, or the actual data throughput is less than or equal to a certain proportion of the theoretical peak rate of the first antenna.

[0046] For example: If the actual data throughput is greater than 70% of the theoretical peak rate of the first antenna, it means that the first antenna cannot meet the current data transmission requirement; if the actual data throughput is less than or equal to 70% of the theoretical peak rate of the first antenna, it means that the first antenna can meet the current data transmission requirement.

[0047] In some embodiments, when the first antenna meets the current data transmission requirement, controlling the second antenna to perform passive scanning may mean using the first antenna to perform data transmission with the network side device on the first frequency band, and using the second antenna to perform channel scanning of the first frequency band in a passive scanning manner.

[0048] In some embodiments, the wireless communication scanning in the embodiments of the present application may include wireless communication scanning in all connection scenarios of the terminal in the STA mode, and wireless communication scanning in the roaming scenario of the mesh network.

[0049] It should be noted that in the embodiments of the present application, there are usually at least two antennas for each frequency band on the terminal. At this time, the second antenna is part of the antennas corresponding to the first frequency band, and the remaining part may not work or may be used for data transmission of the first frequency band.

[0050] For the sake of convenience of description, in the embodiments of the present application, an example is given with two antennas for each frequency band. At this time, one antenna is used for passive scanning to obtain the AP information of the frequency band, and the other antenna may not work or may be used for data transmission of the frequency band.

[0051] In some embodiments, the first frequency band may include at least one of the 2G frequency band, 4G frequency band, 5G frequency band, and even 6G frequency band. Among them, when the terminal may include at least two operating frequency bands, that is, when the first frequency band includes at least two frequency bands, the antennas and wireless communication scanning processes of different frequency bands are independent of each other. For example: Taking the WiFi antenna as an example, generally two groups of a total of four WiFi antennas are included on the terminal, that is, there are two antennas for the 2G antenna and two antennas for the 5G antenna respectively. Among them, the frequency bands compatible with the 5G antenna include the 5G and 6G frequency bands. When the terminal is connected to the network-side device, the antennas of the same frequency band on the terminal and the network-side device are connected to each other. Suppose the two 2G antennas on the terminal are respectively marked as antenna 2-0 and antenna 2-1, and the two 5G antennas on terminal A are respectively marked as antenna 5-0 and antenna 5-1. At this time, the 2G and 5G antennas of the terminal can respectively perform channel scanning, and the channel scanning of the two frequency bands can be carried out simultaneously but without interference. If a group of co-frequency or cross-frequency antennas is added later to improve communication performance, in the embodiments of the present application, the newly added antennas can still be regarded as independent individuals for wireless communication scanning.

[0052] For ease of explanation, in the embodiments of the present application, it is usually exemplified that the first frequency band includes the 2G frequency band and the 5G frequency band, and antenna 2-0 and antenna 2-1 are idle, and antenna 5-0 and antenna 5-1 are already connected. At this time, in the general connection state, as Figure 2a shown, the two 5G antennas of the terminal and the two 5G antennas of the network-side device achieve MIMO transmission.

[0053] In some embodiments, the method of the embodiments of the present application further includes:

[0054] When triggering the wireless communication scanning of the first frequency band, controlling the first antenna or the second antenna to perform passive scanning; among them, the ways to trigger the channel scanning of the first frequency band may include at least one of the following:

[0055] The antennas of the first frequency band, that is, the first antenna and the second antenna, are in the idle state. At this time, the terminal is not connected to the network-side device that can operate in the first frequency band;

[0056] Based on the user operation, the wireless connection function is turned on, such as turning on the WiFi search function, or waking up the terminal in the power-saving mode (such as the screen-off state).

[0057] It should be noted that the embodiments of the present application can be applied to at least the following three scenarios:

[0058] Scenario 1: When the terminal device is connected to the network-side device, the terminal device can periodically scan the current environment to search for the best connected network. During this process, the second antenna is used for passive scanning, and the remaining first antenna is used for data transmission and reception.

[0059] For example: As Figure 2a shown, assume that the terminal includes two 5G antennas, labeled as: STA 5-0 and STA 5-1 respectively, and the network-side device also includes two 5G antennas, labeled as: AP 5-0 and AP 5-1 respectively. Before the terminal performs passive scanning, STA 5-0 and STA 5-1 perform MIMO data transmission with AP 5-0 and AP 5-1 respectively; as Figure 2b shown, during the passive scanning of the terminal, only STA 5-0 performs single-antenna data transmission with AP 5-0, and STA 5-1 is used to receive beacon frames sent by each network-side device in the current environment to discover the AP information of each network-side device in the current environment.

[0060] It is worth noting that in the related art, the scanning process and the data sending and receiving process are mutually exclusive states on the same link, that is, the scanning process will interrupt the current data sending and receiving process. When the user is using the terminal normally, the terminal will still perform the scanning of the current environment irregularly to search for the best connected network, and this action may cause network lag that the user can feel. In the embodiments of the present application, some antennas of the network-side device, that is, the first antenna, can be used for passive scanning, and the remaining antennas, that is, the second antenna, can be used for data sending and receiving, reducing the probability of data interruption caused by channel scanning and alleviating the network lag situation that the user can feel caused by wireless communication scanning. The wireless communication scanning in the embodiments of the present application includes this channel scanning.

[0061] Scenario 2: When the terminal device is in the sleep power-saving state (such as when the user returns home from outdoors), in order to enable the user to achieve a seamless WiFi connection process when starting to use the terminal device, the terminal device uses a single antenna for passive scanning to establish a WiFi connection.

[0062] It is worth noting that in the related art, when the terminal device is in the sleep power-saving state (such as when the user returns home from outdoors), in order to enable the user to achieve a seamless WiFi connection process when starting to use the terminal device, the terminal device will actively scan the current environment regularly according to the established logic to obtain the connectable wireless network and automatically connect. The frequent startup of this process will cause multiple chips inside the terminal device to frequently start active scanning, increasing power consumption. In the embodiments of the present application, the terminal device can achieve a seamless WiFi connection process for the user based on passive scanning, which can reduce the power consumption of the terminal device.

[0063] Scenario 3: When the terminal moves in a wireless mesh network coverage scenario, the terminal performs wireless roaming. Specifically, when the terminal is wirelessly connected to a network-side device and moves to the critical area of the coverage range of the network-side device and a new network-side device, the terminal associates with the new network-side device and disconnects from the original network-side device, and during this process, the terminal associates with the new network-side device based on passive scanning.

[0064] It is worth noting that in the related art, before the terminal is associated with a new network-side device, the terminal needs to perform a roaming scan to find a network-side device with a higher signal strength for connection. During the roaming scan process of the terminal device, data transmission will be interrupted. In the embodiments of the present application, the terminal device uses a single antenna for passive scanning to associate with the new network-side device, and the remaining other antenna can continue to be used for data transmission, so there is no need for terminal data transmission. The wireless communication scan in the embodiments of the present application includes this roaming scan.

[0065] It should be noted that passive scanning also exists during the waiting period of the terminal's active scan. Since active scanning requires actively sending data outwards, this action not only has one more operation step than passive scanning, but also needs to wake up the entire wireless communication system. Therefore, its power consumption is much greater than that of passive scanning. In the embodiments of the present application, based on single-antenna passive scanning, the energy consumption of the terminal can be saved.

[0066] In addition, taking the WiFi connection rate as an example, a single WiFi antenna can reach a peak rate of 150 Mbps under the 40 MHz protocol of the WiFi4 standard. After subtracting the 30% air interface transmission attenuation, it can directly match the 100 Mbps bandwidth network used by ordinary user households. Moreover, most mobile terminal devices can now support up to 160 MHz transmission under the WiFi7 standard, and its peak rate of two antennas can reach 2883 Mbps, and the peak rate of a single antenna can reach 1441 Mbps. Therefore, in the embodiments of the present application, using a single antenna for data transmission can also meet the data transmission rate requirements in the vast majority of application scenarios.

[0067] In the embodiments of the present application, the terminal can operate in a first frequency band. The antennas corresponding to the first frequency band include a first antenna and a second antenna. When the terminal is wirelessly connected to the network-side device, it determines whether the first antenna can meet the current data transmission requirements; when the first antenna meets the current data transmission requirements, it controls the second antenna to perform passive scanning. In this way, among at least two antennas corresponding to the first frequency band on the terminal, at least one antenna is used for passive scanning, and the remaining antennas can either not work or be used for data transceiver. For the same frequency band, data transceiver and passive scanning can be performed simultaneously, which can solve the problem that the data transceiver process on the terminal is interrupted during the wireless communication scan process, and compared with active scanning, passive scanning can also reduce the energy consumption of the wireless communication scan.

[0068] As an optional implementation manner, the terminal can operate in a second frequency band, which is different from the first frequency band. The antennas corresponding to the second frequency band include a third antenna and a fourth antenna. The method further includes:

[0069] When the third antenna and the fourth antenna are in an idle state, control the third antenna or the fourth antenna to perform passive scanning.

[0070] In some embodiments, when triggering channel scanning of a second frequency band and the third antenna and the fourth antenna are in an idle state, use one of the third antenna and the fourth antenna to perform passive scanning.

[0071] In this embodiment, when triggering channel scanning of the second frequency band, if it is found that the antenna of the second frequency band is in an idle state, that is, not connected to the network side device, passive scanning can be directly performed based on a single antenna. In this way, when the second frequency band antenna of the terminal is in an idle state, passive scanning is performed based on a single antenna, reducing the energy consumption of the terminal for wireless communication scanning.

[0072] As an alternative embodiment, before controlling the second antenna to perform passive scanning, the method further includes:

[0073] Send a first message to the network side device, where the first message is used to indicate switching to a single antenna data transmission mode in the first frequency band;

[0074] Receive an acknowledgement message sent by the network side device.

[0075] In some embodiments, the first message is used to notify the network side device to switch the data transmission of the terminal in the first frequency band to a single antenna data transmission mode. In this way, after receiving the first message, the network side device can use a single antenna corresponding to the first antenna on the network side device to perform data interaction with the terminal.

[0076] For example: as Figure 3 shown, taking the first frequency band as a single frequency band as an example, before the terminal performs channel scanning, the terminal and the WiFi router perform MIMO data transmission. When the terminal triggers WiFi scanning, the terminal sends an Action frame to the WiFi router. At this time, the Action frame carries the first message. In this way, after receiving the Action frame, the WiFi router can send an acknowledgement (ACK) to the terminal as the acknowledgement message and perform single-input single-output (SISO) data transmission with the terminal according to the first message.

[0077] In some embodiments, taking the WiFi4 standard as an example, the above Action frame carries the first information, which can be modifying the Static Spatial Multiplexing Power Save (SMPS) field in the HT Capabilities element of the Action frame to 0, for informing the WiFi router to switch to the single-antenna data transmission mode.

[0078] It should be noted that for different standards of WiFi communication, the fields, elements or signaling carrying the first information can be different. For example: for the WiFi5 standard, the first information can be a field in the VHT Capabilities element of the Action frame; for the WiFi6 standard, the first information can be a field in the HE Capabilities element of the Action frame; for the WiFi7 standard, the first information can be a field in the BE Capabilities element of the Action frame.

[0079] In addition, in addition to the Action frame, the first information can also be the information carried in an additional newly added signaling, which is not specifically limited here.

[0080] Among them, the single-antenna data transmission mode can also be called the SMPS mode, that is, the power-saving mode in the multi-antenna mode. In this mode, the terminal can choose to turn off the redundant antennas to achieve the purpose of power saving.

[0081] It is worth noting that in the scenario where the terminal performs MIMO transmission with the network-side device, before the terminal uses the second antenna for passive scanning and uses the first antenna for data transmission, the terminal cannot determine whether the network-side device sends data to the terminal in the form of multiple spatial streams or in the form of a single spatial stream. At this time, if the network-side device uses multiple streams to send downlink data and the terminal uses the single-antenna data transmission mode, then the terminal will not be able to correctly receive the data sent by the network-side device.

[0082] In addition, active scanning requires the terminal to broadcast and send a Probe Req frame, and to send this frame, a Medium Access Control (MAC) address must be bound, otherwise the network-side device cannot unicast a ProbeResp frame to the terminal. And the first antenna and the second antenna in the same frequency band can only correspond to one MAC address. At this time, the second antenna saved by the above SMPS cannot perform active scanning. Since passive scanning only needs to receive data, and the network-side device will regularly broadcast Beacon frames into the environment, this broadcast frame can be easily received by using passive scanning, so as to achieve single-antenna passive scanning to obtain the scanning result.

[0083] In this embodiment, before the terminal enables the single-antenna data transmission mode, it also sends first information to the network-side device, so that the network-side device performs SISO data transmission with the terminal in the form of a single spatial stream based on the first information. In this way, the reliability of data transmission between the terminal and the network-side device can be improved.

[0084] As an alternative embodiment, when the terminal is wirelessly connected to the network-side device, determining whether the first antenna can meet the current data transmission requirements includes:

[0085] Obtaining the actual data throughput of data transmission in the first frequency band;

[0086] When the actual data throughput is less than or equal to the first threshold, it is determined that the first antenna can meet the current data transmission requirements;

[0087] When the actual data throughput is greater than the first threshold, it is determined that the first antenna cannot meet the current data transmission requirements;

[0088] Wherein, the first threshold has an associated relationship with the theoretical peak rate corresponding to the first antenna.

[0089] In some embodiments, the actual data throughput of data transmission in the first frequency band can reflect the actual data transmission volume between the terminal and the network-side device in the first frequency band. When the terminal can meet the actual data transmission requirements between the terminal and the network-side device in the first frequency band by using single-antenna transmission, the terminal and the network-side device are allowed to use a single antenna for data transmission in the first frequency band, that is, the data transmission mode between the terminal and the network-side device in the first frequency band is switched to the single-antenna data transmission mode.

[0090] In some embodiments, the first threshold has an associated relationship with the theoretical peak rate corresponding to the first antenna, which may be: the first threshold is determined based on the theoretical transmission rate of the first antenna. For example, the first threshold is 70% of the peak rate of the first antenna. Wherein, the peak rate of the first antenna can be obtained by looking up the theoretical rate table for Figure 4 shown in the WiFi4 and WiFi5 standards.

[0091] It should be noted that Figure 4 In, the unselected area is the theoretical rate data under the WiFi4 standard, and the selected area is the theoretical rate data that WiFi5 adds compared to WiFi4, that is, the WiFi4 data set is a subset of the WiFi5 data set.

[0092] In the present embodiment, the first antenna is controlled to perform data transmission in the first frequency band only when it is determined that the first antenna can meet the current data transmission demand. In this way, it can avoid the situation where the data throughput of the terminal in the first frequency band decreases due to switching to SISO data transmission when the first antenna is not sufficient to meet the current data transmission demand, thereby improving the data transmission stability of the terminal.

[0093] As an optional implementation, when the first antenna does not meet current data transmission requirements, the method further includes: waiting for a preset time period.

[0094] In some implementations, the preset duration may be preset by a user, or indicated by a network-side device, or pre-configured at the factory, which is not specifically limited here.

[0095] It should be noted that the data throughput on the terminal may fluctuate. Although the first antenna does not meet the current data transmission requirements at the moment of triggering the wireless communication scan, the actual data throughput on the terminal may decrease at the next moment, so that the first antenna can meet the current data transmission requirements.

[0096] In some implementations, during the connection between the terminal and the network side device, if the actual data throughput of the terminal in the first frequency band is greater than the first threshold, it can indicate that the channel status of the terminal and the current connection is good and there is no need to perform channel scanning immediately.

[0097] In some embodiments, when a wireless communication connection is established between a terminal and a network side device, when the actual data throughput of the terminal is greater than a first threshold, the passive scanning action can be suspended until the actual data throughput of the terminal is less than or equal to the first threshold, and then the passive scanning is performed. This can avoid the peak period of data transmission of the terminal and perform channel scanning that is not perceived by the user, thereby reducing the impact of channel scanning on the data transmission of the terminal.

[0098] In this embodiment, when it is determined that the first antenna does not meet the current data transmission demand, the action of controlling the first antenna to perform data transmission and controlling the second antenna to perform passive scanning is suspended, and the actual data throughput of the terminal in the first frequency band is waited for to decrease. Until the first antenna can meet the current data transmission demand, the action of controlling the first antenna to perform data transmission and controlling the second antenna to perform passive scanning is executed; or, until the waiting time expires or the waiting is terminated by the terminal, a wireless communication scan is triggered. In this way, the triggering probability of controlling the second antenna to perform passive scanning can be improved.

[0099] In some implementations, after the terminal establishes a wireless communication connection with the network-side device and determines that the current actual data throughput of the terminal is greater than a first threshold, the terminal may be triggered to immediately perform a scan based on other events.

[0100] For example, the method further includes any one of the following:

[0101] After waiting for the preset duration, if the first antenna still cannot meet the current data transmission requirement, control the first antenna and the second antenna to perform active scanning;

[0102] During the waiting for the preset duration, if the terminal receives a wireless connection setting from the user, control the first antenna and the second antenna to perform active scanning;

[0103] During the waiting for the preset duration, if the first antenna and the second antenna switch to the idle state, control the first antenna or the second antenna to perform passive scanning.

[0104] In one implementation, after waiting times out, directly control the first antenna and the second antenna to perform active scanning.

[0105] In this way, when the actual data throughput of the first frequency band has not dropped to a level that can be supported by the first antenna for a long time, for example, after triggering a channel scan of the first frequency band, if the actual data throughput of the first frequency band is still greater than the upper limit of the data throughput that the first antenna data transmission mode can support after waiting for 5 seconds, then active scanning can be directly performed after waiting for 5 seconds. In this way, it is possible to avoid the situation where the actual data throughput cannot be dropped to a level that can be supported by the first antenna for a long time, resulting in the inability to perform wireless communication scanning, thereby improving the efficiency and reliability of discovering network-side devices with better communication quality.

[0106] In another implementation, during the waiting for the actual data throughput of the first frequency band to drop, due to the user's wireless connection setting, such as the user opening the WiFi settings interface on the terminal, directly control the first antenna and the second antenna to perform active scanning.

[0107] In this way, the waiting time for the user's wireless communication scanning can be reduced, improving the user experience.

[0108] In still another implementation, during the waiting for the actual data throughput of the first frequency band to drop, if the first antenna and the second antenna switch to the idle state, such as the terminal disconnecting the WiFi connection, at this time, directly control the first antenna and the second antenna to perform active scanning.

[0109] In this way, the network disconnection duration of the terminal can be shortened, and the wireless communication connection between the terminal and the network-side device can be restored in a timely manner based on the wireless communication scanning, improving the wireless communication reliability of the terminal.

[0110] Refer to Figure 5, an embodiment of the present application further provides another wireless communication scanning method. The execution subject of this wireless communication scanning method is a terminal, which can operate in a first frequency band. The wireless communication scanning method includes the following steps:

[0111] Step 501, trigger wireless communication scanning.

[0112] Step 502, determine whether the antenna corresponding to the first frequency band is connected to the network side device.

[0113] Among them, when the judgment result in step 502 is "no", step 503 is executed; when the judgment result in step 502 is "yes", step 504 is executed.

[0114] In some embodiments, the first frequency band includes at least two non-overlapping frequency bands. For each frequency band, channel scanning can be performed separately according to the wireless communication scanning method of the embodiment of the present application, and the wireless communication scanning of different frequency bands does not interfere with each other.

[0115] For example: taking the first frequency band of the terminal including the 2G frequency band and the 5G frequency band as an example, there are a total of four connection state combinations for these two frequency bands. The wireless communication scanning process corresponding to each connection state combination is as follows:

[0116] If the connection state combination of 2G and 5G is 2G idle and 5G connected, the wireless communication scanning of 2G jumps to step 503 after executing step 502, and the wireless communication scanning of 5G jumps to step 504 after executing step 502;

[0117] If the connection state combination of 2G and 5G is 2G connected and 5G idle, the wireless communication scanning of 2G jumps to step 504 after executing step 502, and the wireless communication scanning of 5G jumps to step 503 after executing step 502;

[0118] If the connection state combination of 2G and 5G is both 2G and 5G connected, the wireless communication scanning of 2G and 5G jumps to step 504 after executing step 502;

[0119] If the connection state combination of 2G and 5G is both 2G and 5G idle, the wireless communication scanning of 2G and 5G jumps to step 503 after executing step 502.

[0120] Another example: taking the connection state combination of 2G idle and 5G connected as an example, if the current frequency band to be scanned is the 2G frequency band, since antennas 2-0 and 2-1 are both in the idle state, passive scanning can be directly performed; if the current frequency band to be scanned is the 5G frequency band, since antennas 5-0 and 5-1 are in the connected state and there may be data transmission, in the embodiment of the present application, step 504 needs to be jumped to after step 502 to reduce the impact of scanning on data transmission.

[0121] Step 503: Perform passive scanning.

[0122] After this step, step 511 is performed.

[0123] Step 504: Determine whether the single antenna of the first frequency band meets the transmission requirements of the current actual data throughput of the first frequency band.

[0124] Among them, when the judgment result in step 504 is "no", step 505 is performed; when the judgment result in step 504 is "yes", step 508 is performed.

[0125] Step 505: Wait for the data throughput of the first frequency band to decrease.

[0126] Step 506: Determine whether a preset event is detected.

[0127] Optionally, the preset event includes the waiting timeout of step 505, as well as other special situations, such as the antenna of the first frequency band switching to the idle state, the user opening the wireless connection settings interface, etc.

[0128] Among them, when the judgment result in step 506 is "yes", step 507 is performed; when the judgment result in step 506 is "no", step 508 is performed.

[0129] Step 507: Perform active scanning.

[0130] Step 508: Send the first information to the network-side device through an Action frame.

[0131] Among them, the first information has the same meaning and function as the first information in the method embodiment shown in Figure 1 and will not be elaborated here.

[0132] Step 509: Control the first antenna to continue data transmission.

[0133] Step 510: Control the second antenna to perform passive scanning.

[0134] Step 511: Obtain the scanning result.

[0135] In this step, the current channel scanning can be completed based on step 503, step 507, and step 510, the data of each router in the current environment can be obtained, a scanning result can be generated, and the wireless communication scanning process can be ended.

[0136] In the wireless communication scanning method provided by the embodiment of the present application, the execution subject can be a wireless communication scanning device. In the embodiment of the present application, taking the wireless communication scanning device executing the wireless communication scanning method as an example, the wireless communication scanning device provided by the embodiment of the present application is described.

[0137] Refer toFigure 6 , the wireless communication scanning device 600 provided by the embodiment of the present application can be a device in a terminal. The terminal can operate in a first frequency band. The antennas corresponding to the first frequency band include a first antenna and a second antenna. As Figure 6 shown, the wireless communication scanning device 600 includes the following modules:

[0138] A judgment module 601, configured to judge whether the first antenna can meet the current data transmission requirement when the terminal is wirelessly connected to a network-side device;

[0139] A first control module 602, configured to control the second antenna to perform passive scanning when the first antenna meets the current data transmission requirement.

[0140] In some embodiments, the wireless communication scanning device 600 further includes:

[0141] A sending module, configured to send first information to the network-side device, where the first information is used to indicate switching to a single-antenna data transmission mode in the first frequency band;

[0142] A receiving module, configured to receive confirmation information sent by the network-side device.

[0143] In some embodiments, the wireless communication scanning device 600 further includes:

[0144] A waiting module, configured to wait for a preset duration when the first antenna does not meet the current data transmission requirement.

[0145] In some embodiments, the wireless communication scanning device 600 further includes any one of the following:

[0146] A second control module, configured to control the first antenna and the second antenna to perform active scanning if the first antenna still cannot meet the current data transmission requirement after waiting for the preset duration;

[0147] A third control module, configured to control the first antenna and the second antenna to perform active scanning if the terminal receives a wireless connection setting of a user during the waiting for the preset duration;

[0148] A fourth control module, configured to control the first antenna or the second antenna to perform passive scanning if the first antenna and the second antenna switch to an idle state during the waiting for the preset duration.

[0149] In some embodiments, the judgment module 601 includes:

[0150] An obtaining unit, configured to obtain the actual data throughput of data transmission in the first frequency band;

[0151] A first determination unit, configured to determine that the first antenna can meet the current data transmission requirement when the actual data throughput is less than or equal to a first threshold;

[0152] A second determination unit, configured to determine that the first antenna cannot meet the current data transmission requirement when the actual data throughput is greater than the first threshold;

[0153] Wherein, the first threshold has an associated relationship with the theoretical peak rate corresponding to the first antenna.

[0154] In some embodiments, the first threshold is 70% of the theoretical peak rate of the first antenna.

[0155] In some embodiments, the terminal can operate in a second frequency band, which is different from the first frequency band. The antennas corresponding to the second frequency band include a third antenna and a fourth antenna. The wireless communication scanning device 600 further includes:

[0156] A fifth control module, configured to control the third antenna or the fourth antenna to perform passive scanning when the third antenna and the fourth antenna are in an idle state.

[0157] The wireless communication scanning device 600 according to the embodiment of the present application can implement each process implemented by the method embodiment as shown in Figure 1 and can achieve the same beneficial effects as the method embodiment as shown in Figure 1 To avoid repetition, details are not described herein again.

[0158] The wireless communication scanning device 600 in the embodiment of the present application may be a terminal device or a component in a terminal device, such as an integrated circuit or a chip. Exemplarily, the terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiment of the present application does not make a specific limitation.

[0159] The wireless communication scanning device 600 in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

[0160] Optionally, as Figure 7 shown, the embodiments of the present application further provide a terminal device 700, including a processor 701 and a memory 702, and a program or instruction that can run on the processor 701 is stored on the memory 702.

[0161] Among them, the terminal device 700 can operate in a first frequency band, and the antennas corresponding to the first frequency band include a first antenna and a second antenna.

[0162] In the embodiments of the present application, when the program or instruction is executed by the processor 701, it implements the steps of the above-mentioned wireless communication scanning method embodiments or transmission method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0163] Figure 8 It is a schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.

[0164] The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.

[0165] Those skilled in the art can understand that the electronic device 800 can also include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 810 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 8 The structure of the electronic device shown in

[0166] In this embodiment, the electronic device 800 can operate in a first frequency band, and the antennas corresponding to the first frequency band include a first antenna and a second antenna.

[0167] Among them, the processor 810 is used to judge whether the first antenna can meet the current data transmission requirements when the electronic device 800 is wirelessly connected to the network side device;

[0168] A processor 810, configured to control the second antenna to perform passive scanning when the first antenna meets the current data transmission requirements.

[0169] In some embodiments, before the processor 810 controls the second antenna to perform passive scanning, the radio frequency unit 801 is configured to:

[0170] Send first information to the network-side device, where the first information is used to indicate switching to a single-antenna data transmission mode in the first frequency band;

[0171] Receive confirmation information sent by the network-side device.

[0172] In some embodiments, when the first antenna does not meet the current data transmission requirements, the processor 810 is further configured to wait for a preset duration.

[0173] In some embodiments, the processor 810 is further configured to perform any one of the following:

[0174] After the processor 810 finishes waiting for the preset duration, if the first antenna still cannot meet the current data transmission requirements, control the first antenna and the second antenna to perform active scanning;

[0175] During the period when the processor 810 is waiting for the preset duration, if the electronic device 800 receives a user's wireless connection setting, control the first antenna and the second antenna to perform active scanning;

[0176] During the period when the processor 810 is waiting for the preset duration, if the first antenna and the second antenna switch to the idle state, control the first antenna or the second antenna to perform passive scanning.

[0177] In some embodiments, when the electronic device 800 is wirelessly connected to the network-side device, the processor 810 determines whether the first antenna can meet the current data transmission requirements, including:

[0178] Obtain the actual data throughput of data transmission in the first frequency band;

[0179] When the actual data throughput is less than or equal to a first threshold, determine that the first antenna can meet the current data transmission requirements;

[0180] When the actual data throughput is greater than the first threshold, determine that the first antenna cannot meet the current data transmission requirements;

[0181] Wherein, the first threshold has an associated relationship with the theoretical peak rate corresponding to the first antenna.

[0182] In some embodiments, the first threshold is 70% of the theoretical peak rate of the first antenna.

[0183] In some embodiments, the electronic device 800 can operate in a second frequency band, which is different from the first frequency band. The antennas corresponding to the second frequency band include a third antenna and a fourth antenna;

[0184] The processor 810 is further configured to control the third antenna or the fourth antenna to perform passive scanning when the third antenna and the fourth antenna are in an idle state.

[0185] The electronic device provided by the embodiments of the present application can implement passive scanning based on the second antenna when the first antenna on the electronic device can meet the current data transmission requirements of the first frequency band. On the one hand, it can reduce the energy consumption of channel scanning. On the other hand, it can also use the first antenna for data transmission while scanning, so as not to interrupt the data transmission of the first frequency band. It has the same beneficial effects as the foregoing embodiments of the wireless communication scanning method of the present application. To avoid repetition, it will not be elaborated here.

[0186] It should be understood that in the embodiments of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The graphics processing unit 8041 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. The other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.

[0187] The memory 809 can be used to store software programs and various data. The memory 809 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 can include volatile memory or non-volatile memory, or the memory 809 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 809 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

[0188] The processor 810 can include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 810.

[0189] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the method embodiment as Figure 1 or Figure 5 shown, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0190] Among them, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs, etc.

[0191] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the Figure 1 or Figure 5 various processes of the method embodiment shown, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0192] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0193] The embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the Figure 1 or Figure 5 various processes of the method embodiment shown, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0194] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.

[0195] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0196] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative rather than restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. A wireless communication scanning method, which is executed by a terminal, characterized in that The terminal can operate in a first frequency band. The antenna corresponding to the first frequency band includes a first antenna and a second antenna. The method includes: When the terminal is wirelessly connected to a network-side device, determining whether the first antenna can meet the current data transmission requirement; When the first antenna meets the current data transmission requirement, controlling the second antenna to perform passive scanning.

2. The method according to claim 1, wherein Before controlling the second antenna to perform passive scanning, the method further includes: Sending a first message to the network-side device, the first message being used to indicate switching to a single-antenna data transmission mode in the first frequency band; Receiving an acknowledgment message sent by the network-side device.

3. The method according to claim 1, wherein When the first antenna does not meet the current data transmission requirement, the method further includes: waiting for a preset duration.

4. The method according to claim 3, wherein The method further includes any one of the following: After waiting for the preset duration, if the first antenna still cannot meet the current data transmission requirement, controlling the first antenna and the second antenna to perform active scanning; During the waiting for the preset duration, if the terminal receives a user's wireless connection setting, controlling the first antenna and the second antenna to perform active scanning; During the waiting for the preset duration, if the first antenna and the second antenna switch to the idle state, controlling the first antenna or the second antenna to perform passive scanning.

5. The method according to any one of claims 1 to 4, characterized in that When the terminal is wirelessly connected to a network-side device, determining whether the first antenna can meet the current data transmission requirement includes: Obtaining the actual data throughput of data transmission in the first frequency band; When the actual data throughput is less than or equal to a first threshold, determining that the first antenna can meet the current data transmission requirement; When the actual data throughput is greater than the first threshold, determining that the first antenna cannot meet the current data transmission requirement; Wherein, the first threshold has an associated relationship with the theoretical peak rate corresponding to the first antenna.

6. The method according to claim 5, characterized in that The first threshold is 70% of the theoretical peak rate of the first antenna.

7. The method according to claim 1, wherein The terminal can operate in a second frequency band, the second frequency band is different from the first frequency band, and the antenna corresponding to the second frequency band includes a third antenna and a fourth antenna. The method further includes: When the third antenna and the fourth antenna are in the idle state, controlling the third antenna or the fourth antenna to perform passive scanning.

8. A wireless communication scanning device, characterized in that, Applied to a terminal, the terminal can operate in a first frequency band, and the antenna corresponding to the first frequency band includes a first antenna and a second antenna. The apparatus includes: A determination module, configured to determine whether the first antenna can meet the current data transmission requirement when the terminal is wirelessly connected to a network-side device; A first control module, configured to control the second antenna to perform passive scanning when the first antenna meets the current data transmission requirement.

9. The device according to claim 8, wherein The apparatus further includes: A sending module, configured to send a first message to the network-side device, the first message being used to indicate switching to a single-antenna data transmission mode in the first frequency band; A receiving module, configured to receive an acknowledgment message sent by the network-side device.

10. The device according to claim 8, characterized in that The apparatus further includes: A waiting module, configured to wait for a preset duration when the first antenna fails to meet the current data transmission requirement.

11. The device according to claim 10, wherein, The device further includes any one of the following: A second control module, configured to control the first antenna and the second antenna to perform active scanning if the first antenna still fails to meet the current data transmission requirement after waiting for the preset duration. A third control module, configured to control the first antenna and the second antenna to perform active scanning if the terminal receives a user's wireless connection setting during the waiting for the preset duration. A fourth control module, configured to control the first antenna or the second antenna to perform passive scanning if the first antenna and the second antenna switch to the idle state during the waiting for the preset duration.

12. The device according to any one of claims 8 to 11, characterized in that, The determining module includes: An obtaining unit, configured to obtain the actual data throughput of data transmission in the first frequency band. A first determining unit, configured to determine that the first antenna can meet the current data transmission requirement when the actual data throughput is less than or equal to a first threshold. A second determining unit, configured to determine that the first antenna cannot meet the current data transmission requirement when the actual data throughput is greater than the first threshold. Wherein, the first threshold has an associated relationship with the theoretical peak rate corresponding to the first antenna.

13. The device according to claim 12, wherein The first threshold is 70% of the theoretical peak rate of the first antenna.

14. The device according to claim 8, characterized in that, The terminal can operate in a second frequency band, which is different from the first frequency band. The antennas corresponding to the second frequency band include a third antenna and a fourth antenna. The device further includes: A fifth control module, configured to control the third antenna or the fourth antenna to perform passive scanning when the third antenna and the fourth antenna are in the idle state.

15. A terminal device, characterized in that, Comprising a processor and a memory, the memory stores a program or instruction that can be run on the processor. When the program or instruction is executed by the processor, the steps of the wireless communication scanning method according to any one of claims 1 to 7 are implemented.

16. A readable storage medium, characterized in that, The program or instruction is stored on the readable storage medium. When the program or instruction is executed by the processor, the steps of the wireless communication scanning method according to any one of claims 1 to 7 are implemented.