Channel scanning method and electronic equipment
By configuring scanning links and data links of different frequency bands between the wireless communication module and the target network device, the problem of data transmission interruption caused by channel scanning is solved, and the parallel execution of channel scanning and data transmission is realized, thus improving the user experience.
Patent Information
- Application Number
- CN202511787157.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-03
AI Technical Summary
Existing channel scanning schemes require the wireless communication module to interrupt communication with the current network device during the scanning operation, resulting in data transmission interruption and affecting user experience.
By configuring a scanning link and a data link between the wireless communication module and the target network device, they can operate on different communication frequency bands. The scanning link jumps to different channels for channel scanning, while the data link maintains uninterrupted data transmission.
It enables parallel execution of channel scanning and data transmission, avoiding data transmission interruptions and improving the user experience in application scenarios with high network continuity requirements.
Smart Images

Figure CN121604075A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a channel scanning method and electronic device. Background Technology
[0002] With the development of wireless communication technology, electronic devices need to periodically perform channel scanning operations to discover available network devices in the vicinity or to assess network quality. However, existing channel scanning schemes require the wireless communication module to interrupt communication with the currently connected network device and switch to the channel to be scanned during the scanning operation. This forces the user's data transmission to be interrupted throughout the scanning process, thus affecting the user experience. Summary of the Invention
[0003] In view of this, this application provides a channel scanning method and an electronic device.
[0004] According to a first aspect of this application, a channel scanning method is provided, comprising: configuring a scanning link and a data link from a communication link between a wireless communication module of an electronic device and a target network device in response to satisfying a channel scanning trigger condition; controlling the scanning link to jump to a target channel different from the current channel to perform a channel scanning operation in the target frequency band; and controlling the data link to perform data transmission between the wireless communication module and the target network device to maintain uninterrupted data transmission between the two; wherein the scanning link and the data link are in different communication frequency bands.
[0005] A second aspect of this application provides an electronic device, comprising: a wireless communication module; the wireless communication module being used to establish a communication link with a target network device, the wireless communication module supporting the establishment of communication links on at least two different communication frequency bands; and a controller being used to: configure a scanning link and a data link from the communication link between the wireless communication module of the electronic device and the target network device in response to satisfying a channel scanning trigger condition; control the scanning link to jump to a target channel different from the current channel to perform a channel scanning operation under the target frequency band; and control the data link to perform data transmission between the wireless communication module and the target network device to maintain uninterrupted data transmission between them; wherein the scanning link and the data link are in different communication frequency bands.
[0006] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0007] The above and other objects, features and advantages of this application will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0008] Figure 1 The illustration shows an application scenario of a channel scanning method and electronic device provided in the embodiments of this application;
[0009] Figure 2 A flowchart illustrating a channel scanning method provided in an embodiment of this application is shown;
[0010] Figure 3 This illustration schematically shows a flowchart of configuring a scanning link and a data link from a communication link according to an embodiment of this application;
[0011] Figure 4 This illustration schematically depicts a process for switching from an enhanced multi-link single-radio mode to a spatial multiplexing transmission mode and performing flow control, as provided in an embodiment of this application.
[0012] Figure 5 This illustration schematically shows a process of switching from enhanced multi-link single-radio mode to multi-link single-radio mode according to an embodiment of this application.
[0013] Figure 6 This illustration schematically shows a process diagram of performing channel scanning in a multi-link single-radio mode according to an embodiment of this application;
[0014] Figure 7 This illustration schematically shows a process diagram of performing a single-channel scan in a spatial multiplexing transmission mode according to an embodiment of this application;
[0015] Figure 8 This is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0016] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of this application for ease of explanation. However, it will be apparent that one or more embodiments may be implemented without these specific details. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.
[0017] In the embodiments of this application, the collection, updating, analysis, processing, use, transmission, provision, disclosure, and storage of data (e.g., including but not limited to user personal information) comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures have been taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.
[0018] Figure 1 The illustration shows an application scenario of a channel scanning method and electronic device provided in the embodiments of this application.
[0019] like Figure 1 As shown, the application scenario according to this embodiment may include a first terminal device 101, a second terminal device 102, a first network device 103, and a second network device 104. The first network device 103 and the second network device 104 are used to provide wireless network access services to the first terminal device 101 and the second terminal device 102. The first network device 103 and the second network device 104 may include various types of wireless access point devices, such as Wireless Fidelity (Wi-Fi) routers, wireless hotspots, base stations, or repeaters, etc.
[0020] Users can use the first terminal device 101 and the second terminal device 102 to establish a communication link with the first network device 103 or the second network device 104 through their wireless communication modules to perform network applications such as web browsing, video calls, online games, and file transfer. Various applications can be installed on the first terminal device 101 and the second terminal device 102.
[0021] In one application scenario, a user is using a first terminal device 101 to conduct video conferencing or online gaming through a first network device 103, applications requiring high network continuity. The first terminal device 101 needs to periodically perform channel scanning operations to discover other available network devices in the surrounding environment, such as a second network device 104, or to assess the current network quality with the first network device 103. A communication link is established between the wireless communication module of the first terminal device 101 and the first network device 103. When the channel scanning trigger condition is met, the first terminal device 101 configures a scanning link and a data link from this communication link, where the scanning link and data link operate in different communication frequency bands. The first terminal device 101 controls the scanning link to jump to a target channel different from the current channel to perform a channel scanning operation in the target frequency band, thereby monitoring the signals of the second network device 104 or other available network devices. Simultaneously, the first terminal device 101 controls the data link to continue data transmission with the first network device 103, thus maintaining uninterrupted data transmission for the user's ongoing video conferencing or online gaming applications.
[0022] For example, the first terminal device 101 and the second terminal device 102 can be various electronic devices with wireless communication capabilities and support for multi-link operation, including but not limited to smartphones, tablets, desktop computers, smart wearable devices, etc.
[0023] For example, the first network device 103 and the second network device 104 may be network devices that provide wireless network access services, such as routers or access points that support Wi-Fi 6, Wi-Fi 7, or other wireless communication protocols. The first network device 103 establishes a communication link with the first terminal device 101. This communication link may include multiple links operating in different communication frequency bands, such as a 2.4 GHz band link and a 5 GHz band link, or a 5 GHz band link and a 6 GHz band link. The first terminal device 101 may configure scanning links and data links from these links according to the needs of channel scanning and data transmission, so as to achieve parallel execution of channel scanning operations and data transmission.
[0024] It should be noted that the channel scanning method provided in this application embodiment can be executed by the wireless communication module of the first terminal device 101, or by the controller or dedicated chip of the first terminal device 101, or by the wireless communication module and the controller working together. For example, the determination of the channel scanning trigger condition and the configuration of the scanning link and the data link can be executed by the controller, while the channel hopping of the scanning link and the data transmission of the data link can be executed by the wireless communication module. Furthermore, when the wireless communication module integrates a dedicated channel scanning control unit, the determination of the channel scanning trigger condition, the configuration of the scanning link and the data link, and the execution of the channel scanning operation can all be completed within the wireless communication module.
[0025] It should be understood that Figure 1 The number of terminal devices and network devices shown is merely illustrative. Depending on implementation needs, any number of terminal devices and network devices can be included. Furthermore, the first network device 103 can also be a cluster of network devices supporting multi-link operation or a distributed network system to provide wider coverage and higher network capacity.
[0026] The following will be based on Figure 1 The scenario described below will be further described in detail with reference to the channel scanning method of this application embodiment.
[0027] Figure 2 A flowchart illustrating a channel scanning method provided in an embodiment of this application is shown.
[0028] like Figure 2 As shown, the channel scanning method may specifically include the following operations.
[0029] Operation S210, in response to the satisfaction of the channel scanning trigger condition, configures a scanning link and a data link in the communication link between the wireless communication module of the electronic device and the target network device; wherein the scanning link and the data link are in different communication frequency bands;
[0030] Operation S220 controls the scanning link to jump to a target channel different from the current channel in order to perform channel scanning operation in the target frequency band;
[0031] Operation S230 controls the data link to perform data transmission between the wireless communication module and the target network device to maintain uninterrupted data transmission between them.
[0032] In operation S210, the channel scan trigger condition refers to the preset conditions or events that initiate the channel scan operation, used to determine under what circumstances to initiate the detection and evaluation of the surrounding wireless network environment. The channel scan trigger condition can be set based on various factors such as time, network quality, user behavior, or device status to adapt to the scanning needs of different application scenarios.
[0033] Optionally, channel scanning operations can be performed periodically at preset time intervals to continuously monitor changes in the surrounding network environment.
[0034] Optionally, a channel scan operation can be triggered when the network quality parameters of the currently connected network are detected to be lower than a preset threshold. Network quality parameters may include received signal strength indication, signal-to-noise ratio, packet loss rate, round-trip time, or data transmission rate.
[0035] Optionally, channel scanning can be triggered when a user actively initiates a network search or refresh operation through the user interface. For example, a user can click the "Refresh" button in the wireless network settings interface, or select the "Search for available networks" function when the network connection status is abnormal.
[0036] Optionally, a channel scan operation can be triggered when the device's location is detected to have moved via a positioning system, base station positioning, or wireless network positioning. For example, if the device's geographic coordinates change by more than a preset distance threshold, it is considered that the device has moved from one area to another, and a rescan of available network devices in the current area is required.
[0037] Optionally, a channel scan operation can be triggered when a specific type of application is launched or run. For example, when a user launches an online game application, because games have high requirements for network latency and stability, the electronic device can trigger a channel scan to find network devices with lower latency and better signal quality and switch connections. As another example, when a user launches a wireless screen mirroring application, the electronic device can trigger a channel scan to find network frequency bands that are on the same network as the display device or have less signal interference, thereby ensuring smooth screen mirroring.
[0038] Optionally, when a currently connected network device is detected to be overloaded, a channel scan is triggered to find other network devices with lower loads. Network load can be assessed using metrics such as channel utilization, number of connected devices, or data transmission congestion.
[0039] It should be noted that the above channel scanning trigger conditions can be used individually or in combination. For example, both periodic scanning and network quality degradation trigger conditions can be set simultaneously, and a channel scanning operation will be triggered when either condition is met. In addition, different trigger conditions can correspond to different scanning priorities or scanning strategies. For example, a full-band scan can be performed when the user actively triggers the scan, while only the current frequency band can be scanned during periodic scanning to reduce power consumption.
[0040] It should be noted that the channel scanning method in this application embodiment is performed on the premise that the wireless communication module of the electronic device and the target network device have established a communication link.
[0041] Among them, the wireless communication module refers to the hardware module in an electronic device that is responsible for wireless communication functions. It can be understood as a communication component that integrates radio frequency front-end circuits, baseband processing units, and protocol stack processing functions, and is used to realize wireless data transmission between electronic devices and external network devices.
[0042] For example, the wireless communication module can support one or more wireless communication protocols, such as Wi-Fi, Bluetooth, or 5G. In the embodiments of this application, the wireless communication module is preferably a communication module that supports the Wi-Fi protocol, and more preferably a Wi-Fi 7 communication module or a Wi-Fi 6E communication module that supports Multi-Link Operation (MLO).
[0043] The hardware architecture of a wireless communication module directly determines its supported communication capabilities. Specifically, a wireless communication module may include one or more radio frequency (RF) transceiver units, each of which can operate independently in a different communication frequency band. For example, a wireless communication module may include a first RF transceiver unit and a second RF transceiver unit, where the first RF transceiver unit is used for wireless communication in the 2.4 GHz band, and the second RF transceiver unit is used for wireless communication in the 5 GHz or 6 GHz band. In a wireless communication module supporting Multi-Link Optimization (MLO), multiple RF transceiver units can simultaneously establish communication links with the same network device, thereby achieving multi-link concurrent transmission or multi-link collaborative operation.
[0044] Corresponding to a wireless communication module, a target network device refers to a network device that provides wireless network access services to electronic devices. It can be understood as the peer device for electronic devices to conduct wireless communication, used to forward data traffic between the electronic device and the Internet or local area network. Target network devices can be various types of wireless access point devices, including but not limited to Wi-Fi routers, wireless hotspot devices, wireless access points (APs), base stations, repeaters, or other electronic devices that support wireless sharing functions (such as the hotspot function of a mobile phone).
[0045] In a network environment supporting Multi-Link Optimization (MLO), the target network device can be a multi-band router or access point that supports establishing communication links on multiple frequency bands simultaneously. For example, the target network device can simultaneously support wireless communication in three frequency bands: 2.4 GHz, 5 GHz, and 6 GHz, and can establish multiple communication links with electronic devices on different frequency bands. The target network device can dynamically schedule the transmission of data packets on different links based on the channel quality, load, and data transmission requirements of each communication link, thereby improving overall network throughput and transmission reliability. Furthermore, the target network device can also be a cluster of network devices or a distributed network system that supports multi-link operation. For example, in a mesh network, multiple network devices can work collaboratively to provide wireless network coverage and access services for electronic devices.
[0046] Based on the communication link established between the wireless communication module and the target network device, the embodiments of this application can further configure scanning links and data links from these established links to achieve parallel execution of channel scanning and data transmission.
[0047] The scanning link refers to the communication link configured to perform channel hopping and signal listening tasks during channel scanning operations. It is used to send probe request frames, receive probe response frames, and collect signal information from other network devices.
[0048] When performing a channel scan, a scanning link needs to leave the currently operating channel, jump to the target channel to be scanned, and stay on the target channel for a certain period of time to listen for signals from other network devices. A scanning link can operate in any communication frequency band supported by the wireless communication module of an electronic device, such as the 2.4 GHz band, 5 GHz band, or 6 GHz band.
[0049] During channel hopping and signal monitoring, the scanning link is temporarily unusable for normal data transmission. This is the root cause of data transmission interruptions caused by channel scanning methods in related technologies. To address this issue, embodiments of this application introduce a data link.
[0050] A data link refers to a communication link configured to maintain data transmission between an electronic device and a target network device during a channel scan operation. It can be understood as a dedicated working link for carrying user data traffic. During a channel scan operation, the data link remains on its current working channel without channel hopping, thus enabling continuous reception and transmission of data packets.
[0051] It should be noted that the communication frequency band of the data link is different from that of the scanning link to ensure that the two links can operate independently on their respective frequency bands without interfering with each other. For example, when the scanning link operates in the 2.4 GHz band and switches to a different channel for scanning, the data link can operate in the 5 GHz or 6 GHz band to continue performing data transmission tasks.
[0052] Since different communication frequency bands use different radio frequency ranges, when the scanning link performs channel switching and signal monitoring on its operating frequency band, it will not affect the normal data transmission and reception of the data link on another communication frequency band.
[0053] Furthermore, different communication frequency bands have different channel characteristics and transmission features. The embodiments of this application can flexibly configure the communication frequency bands used for scanning links and data links according to data transmission and channel scanning requirements. For example, when scanning the 2.4GHz band to find network devices with wider coverage, the link operating in the 2.4GHz band can be configured as the scanning link, and the link operating in the 5GHz or 6GHz band can be configured as the data link, thereby utilizing the high-speed characteristics of the 5GHz or 6GHz band to ensure data transmission quality during scanning.
[0054] In practical applications, configuring scanning links and data links from established communication links can be achieved through various implementation methods depending on the current link status and configuration strategy of the electronic device.
[0055] In one feasible implementation, among the multiple communication links already established between the wireless communication module of the electronic device and the target network device, one link can be directly selected as a scanning link and another link can be selected as a data link, based on the communication frequency band and channel status currently in operation of each link.
[0056] In another feasible implementation, when the channel scanning trigger condition is met, the current communication operation mode of the wireless communication module of the electronic device can be determined first, and then the corresponding configuration strategy can be adopted according to the different communication operation modes to configure the scanning link and data link from the established communication links.
[0057] By adopting corresponding configuration strategies according to different communication operation modes, the embodiments of this application can adapt to various hardware architectures and working modes, and can achieve effective parallel channel scanning and data transmission in different scenarios.
[0058] It should be noted that in the above implementation, the roles of the scanning link and data link are not fixed, but can be dynamically adjusted according to scanning requirements. After completing a channel scan of a certain communication frequency band, the electronic device can reconfigure the scanning link and data link to scan other communication frequency bands.
[0059] After completing the configuration of the scanning link and data link in operation S210, the next step is to control the scanning link to perform the actual channel scanning action.
[0060] In operation S220, the target channel refers to the specific wireless channel that the scanning link needs to hop to when performing channel scanning operation. It can be understood as the channel location to be detected, used to listen for the presence of signals from other network devices on the channel or to assess the quality of the channel.
[0061] Optionally, the determination of the target channel can take into account scanning strategies and frequency band characteristics. In wireless communication protocols, each communication frequency band is divided into multiple channels, with different channels occupying different frequency ranges.
[0062] Optionally, the scanning link hops to each channel sequentially according to the channel number to scan, thereby determining the target channel.
[0063] It is important to emphasize that the target channel must be different from the current channel; this is a fundamental requirement for channel scanning. If the scanning link remains on the current channel without hopping, it will be unable to detect network device signals on other channels, thus failing to achieve a complete channel scanning function. Therefore, in each scanning operation, the scanning link needs to hop to at least one target channel different from the current channel.
[0064] Similarly, the target frequency band refers to the communication frequency band covered by the scanning link when performing channel scanning operations. It can be understood as the frequency range of channel scanning, used to define which frequency bands the scanning link needs to probe in the wireless network environment. The target frequency band can be a single communication frequency band or a combination of multiple communication frequency bands.
[0065] In one feasible implementation, the scanning link can be sequentially controlled to jump to each target channel within the target frequency band according to the channel number order, and a channel scanning operation of a preset duration can be performed on each target channel to complete the full-band scanning of the target frequency band.
[0066] In another feasible implementation, a subset of channels can be selected from multiple available channels in the target frequency band as target channels based on preset channel priorities. The scanning link can then be controlled to jump only to these selected target channels to perform channel scanning operations, thereby discovering important network devices while ensuring scanning efficiency.
[0067] Based on the two implementation methods described above, the scanning parameters of the scanning link can be dynamically adjusted according to the data transmission status of the data link to achieve the optimal balance between channel scanning efficiency and data transmission quality.
[0068] It should be noted that when an electronic device needs to perform channel scanning on multiple communication frequency bands, it can dynamically switch the roles of the scanning link and the data link to complete the scanning of each frequency band in sequence.
[0069] In operation S230, during channel scanning operations on the scanning link, the data traffic that the wireless communication module needs to send and receive can be scheduled to be transmitted on the data link.
[0070] In another feasible implementation, corresponding transmission resources and priorities can be allocated to different types of data traffic on the data link according to the quality of service requirements of the data traffic.
[0071] It's important to note that throughout the entire channel scan, the data link remains on its operating channel without channel hopping, which is fundamental to ensuring uninterrupted data transmission. By continuously operating on a fixed channel, the data link maintains a stable communication connection with the target network device. Since the data link and the scanning link operate in different frequency bands, channel hopping operations of the scanning link do not interfere with the data link's operating channel. For example, while the scanning link is hopping between multiple channels in the 2.4 GHz band to perform a scan, the data link can stably operate on channel 1 in the 5 GHz band to continuously transmit data.
[0072] By adopting the technical solution of this application, when the channel scanning trigger condition is met, a scanning link and a data link are configured in the communication link between the wireless communication module of the electronic device and the target network device. By utilizing the characteristic that the scanning link and the data link are in different communication frequency bands, the scanning link is controlled to jump to a target channel different from the current channel to perform channel scanning operation in the target frequency band. At the same time, the data link can continue to perform data transmission between the wireless communication module and the target network device, thereby realizing the parallel execution of channel scanning operation and data transmission.
[0073] Compared to related technologies where wireless communication modules must interrupt communication with currently connected network devices when performing channel scanning operations, this application effectively solves the problem of forced data transmission interruption caused by the scanning process in related technologies by dividing the communication link into a scanning link and a data link according to function and making them operate in different communication frequency bands.
[0074] Because the data link can maintain uninterrupted data transmission with the target network device during channel hopping and scanning monitoring, users will not experience screen stuttering, connection drops, or transmission pauses due to channel scanning operations when conducting network applications such as video conferencing, online games, and file downloads. This improves the user experience in various application scenarios with high requirements for network continuity.
[0075] Figure 3 The illustration shows a flowchart of configuring a scanning link and a data link from a communication link, as provided in an embodiment of this application.
[0076] Based on the above embodiments, as an optional embodiment, in order to adapt to the channel scanning requirements of different hardware architectures and operating modes, and to fully utilize the multi-link operation capabilities supported by the wireless communication module, such as... Figure 3 As shown, the above operation S210 may further include the following operations.
[0077] Operate S310 to determine the current communication operation mode of the wireless communication module of the electronic device;
[0078] In operation S320, when the communication operation mode is multi-link single-radio mode, based on the first configuration strategy, configure the first communication link as a scanning link and the second communication link as a data link from at least two communication links between the wireless communication module and the target network device; or,
[0079] In operation S330, when the communication operation mode is spatial multiplexing transmission mode, based on the second configuration strategy, configure the first communication link as a data link and the second communication link as a scanning link from at least two communication links between the wireless communication module and the target network device; or,
[0080] Operation S340, when the communication operation mode is enhanced multi-link single radio mode, controls the wireless communication module to switch from enhanced multi-link single radio mode to multi-link single radio mode or spatial multiplexing transmission mode based on the third configuration strategy, so as to configure scanning link and data link from communication link;
[0081] In the above operations S320 to S340, the first communication link and the second communication link operate in different communication frequency bands.
[0082] In operation S310, the communication operation mode refers to the working mode adopted by the wireless communication module when performing multi-link operation. It is used to characterize the relationship between various communication links in terms of radio frequency resource usage, data transmission, and power consumption control. The communication operation mode directly determines the number of links that the wireless communication module can activate simultaneously, the working mode of each link, and the resource allocation strategy between links.
[0083] In wireless communication systems that support multi-link operation, wireless communication modules can operate in different communication operation modes. Different communication operation modes have their own characteristics in terms of radio frequency resource consumption, transmission capacity, and power consumption, and are suitable for different application scenarios and hardware configurations.
[0084] For example, the communication operation modes may include Multi-Link Single Radio (MLSR), Simultaneous Transmit and Receive (STR), and Enhanced Multi-Link Single Radio (eMLSR).
[0085] Among them, the multi-link single-radio mode refers to the working mode in which the wireless communication module uses a single radio frequency transceiver unit to perform time-division switching between multiple communication links, which is used to realize multi-link communication capability under the condition of limited hardware resources.
[0086] In multi-link single-RF mode, only one communication link of the wireless communication module is active and occupies the RF transceiver unit at any given time, while other communication links are in sleep or standby mode.
[0087] The wireless communication module can quickly switch the operating frequency band and channel of the radio frequency transceiver unit between different links according to service requirements, so that multiple links can take turns transmitting data. In this mode, all communication links are completely equal at the radio frequency level, without distinguishing between primary and secondary links, and the activation and dormancy states of each link can be dynamically adjusted.
[0088] Correspondingly, spatial multiplexing transmission mode refers to the working mode of wireless communication modules using multiple radio frequency transceiver units to simultaneously transmit and receive data on multiple communication links. It can be understood as a multi-link operation mode that works in parallel, and is used to make full use of multi-radio frequency hardware architecture to achieve high-throughput data transmission.
[0089] In spatial multiplexing transmission mode, each radio frequency transceiver unit of the wireless communication module can operate independently, transmitting and receiving data simultaneously on different communication frequency bands and channels, without interference between communication links at the radio frequency level. Spatial multiplexing transmission mode enables concurrent transmission across multiple links, improving the overall data throughput of the wireless communication module, but it places relatively high demands on hardware resources and power consumption.
[0090] Correspondingly, the enhanced multi-link single-radio mode refers to a working mode that introduces the distinction between the main link and the auxiliary link based on the multi-link single-radio mode. It can be understood as a multi-link operation mode with link priority management, which is used to provide multi-link communication capabilities while maintaining low power consumption.
[0091] In the enhanced multi-link single-RF mode, the wireless communication module configures one communication link as the primary link. The RF transceiver unit of this primary link remains on most of the time, responsible for monitoring all major communications from the target network device. Other communication links are configured as auxiliary links. The RF transceiver units of these auxiliary links are mostly off or in a low-power monitoring state, only activating to transmit data when a specific wake-up signal from the target network device is received or when preset activation conditions are met. The enhanced multi-link single-RF mode achieves a good balance between multi-link operation capability and power consumption control.
[0092] Optionally, the current communication operation mode of the wireless communication module can be negotiated and determined when establishing a multi-link connection with the target network device, or it can be dynamically selected by the wireless communication module based on its own hardware capabilities, current service requirements, or power consumption strategies. In different application scenarios, the wireless communication module can switch between different communication operation modes to adapt to changing network environments and service requirements.
[0093] After determining the current communication operation mode of the wireless communication module, the electronic device can adopt corresponding configuration strategies according to different communication operation modes, and configure scanning links and data links from the established communication links.
[0094] In operation S320, when the communication operation mode is multi-link single-radio mode, the wireless communication module uses a single radio transceiver unit to perform time-division switching between multiple communication links. In this case, the electronic device can configure the first communication link as a scanning link and the second communication link as a data link from at least two communication links between the wireless communication module and the target network device based on a first configuration strategy.
[0095] The first configuration strategy refers to the scheme for determining the configuration of scanning links and data links in multi-link single-radio mode, and is used to allocate scanning tasks and data transmission tasks among multiple available communication links.
[0096] In one feasible implementation, the first configuration strategy can determine the link role configuration based on the current data transmission load.
[0097] In another feasible implementation, the first configuration strategy can determine the link role configuration scheme based on the priority of the electronic device's data transmission needs.
[0098] In another feasible implementation, the first configuration strategy can employ preset link selection rules. For example, a default random selection strategy can be used, randomly selecting one link from the available communication links as the scanning link, with the remaining links serving as data links. Alternatively, a default frequency band priority strategy can be used, selecting scanning links sequentially according to a preset frequency band priority order, for example, prioritizing links in the 2.4GHz band, then links in the 5GHz band, and finally links in the 6GHz band.
[0099] Under the above operating mode, the scanning link and data link use radio frequency transceiver units alternately in the time domain and operate in different communication frequency bands in the frequency domain, thereby minimizing the impact of scanning operations on data transmission.
[0100] In operation S330, when the communication operation mode is spatial multiplexing transmission mode, the wireless communication module has multiple radio frequency transceiver units, each of which can independently operate on different communication frequency bands to simultaneously transmit and receive data. In this case, the electronic device can configure the first communication link as a data link and the second communication link as a scanning link from at least two communication links between the wireless communication module and the target network device based on a second configuration strategy.
[0101] The second configuration strategy refers to the scheme for determining the configuration of data links and scanning links in the spatial multiplexing transmission mode, which is used to reasonably allocate data transmission tasks and scanning tasks among multiple communication links that work in parallel.
[0102] In spatial multiplexing transmission mode, since each communication link can work independently at the same time, electronic devices can schedule all or most of the data traffic to the first communication link for transmission, while keeping the second communication link idle or carrying a small amount of data traffic in order to perform channel scanning operations.
[0103] In one feasible implementation, the second configuration strategy can perform link matching based on the characteristic information of data packets.
[0104] In another feasible implementation, the second configuration strategy can employ traffic identifier matching. Electronic devices can assign traffic identifiers to different data streams; these traffic identifiers indicate the target transmission link that the data stream should use.
[0105] Figure 4 This illustration shows a process of switching from an enhanced multi-link single-radio mode to a spatial multiplexing transmission mode and performing flow control, as provided in an embodiment of this application.
[0106] like Figure 4 As shown, the process consists of three stages. In the first stage, the wireless communication module operates in eMLSR mode. Link1 and Link2 are time-division multiplexed through an "OR" logical relationship. The main link is responsible for the main communication, while the auxiliary link is in a low-power state.
[0107] In the second phase, the electronic device switches from eMLSR mode to STR mode based on the third configuration strategy. After the switch is completed, the working relationship between the two links becomes "AND" logic, and the radio frequency transceiver units of each link are fully activated, enabling them to work independently on different communication frequency bands simultaneously.
[0108] In the third stage, under STR mode, the electronic device performs flow control through data feature matching technology, scheduling all data traffic to Link2 to make it a data link, while keeping Link1 idle as a scanning link to prepare for channel scanning operations.
[0109] Through the aforementioned mode switching and flow control, electronic devices can achieve effective separation and parallel operation of scanning links and data links on different communication frequency bands.
[0110] In operation S340, when the communication operation mode is enhanced multi-link single-radio mode, the wireless communication module has a distinction between the main link and the auxiliary link. The radio transceiver unit of the auxiliary link is in a powered-off or low-power state most of the time. In this case, the electronic device can control the wireless communication module to switch from enhanced multi-link single-radio mode to multi-link single-radio mode or spatial multiplexing transmission mode based on a third configuration strategy, and then configure the scanning link and data link from the communication links.
[0111] The third configuration strategy refers to the strategy used to determine the target operating mode and link configuration scheme in the enhanced multi-link single-radio mode, and to convert the enhanced multi-link single-radio mode into an operating mode that is more suitable for performing channel scanning operations.
[0112] The third configuration strategy is mainly based on the hardware configuration of the wireless communication module and the timeliness requirements of current data transmission.
[0113] Specifically, the electronic device can obtain the number of radio frequency transceiver units and antenna configuration information of the wireless communication module. When the wireless communication module is configured with multiple radio frequency transceiver units and multiple antennas, supporting parallel transmission on multiple frequency bands simultaneously, the third configuration strategy can select to switch the enhanced multi-link single-radio mode to the spatial multiplexing transmission mode. After switching to the spatial multiplexing transmission mode, the radio frequency transceiver units of the auxiliary links, which were originally in a low-power state, are fully activated, and each communication link can work independently. Thus, one link can be configured specifically for data transmission, and another link can be configured specifically for channel scanning.
[0114] When the wireless communication module is configured with only a single RF transceiver unit or a dual-antenna configuration, and cannot support fully parallel operation of multiple links, the third configuration strategy can choose to switch from the enhanced multi-link single-RF mode to the multi-link single-RF mode. After switching to the multi-link single-RF mode, the original distinction between the main link and auxiliary links is eliminated, and each communication link becomes completely equal at the RF level. The RF transceiver unit can be used alternately through time-division multiplexing, thereby configuring the scanning link and data link to occupy the RF transceiver unit in different time periods to perform their respective tasks.
[0115] In addition to hardware configuration, the third configuration strategy can also consider the timeliness requirements of current data transmission. When the electronic device is currently performing a data transmission task with low latency sensitivity, switching to multi-link single-radio mode can be prioritized because this mode has advantages in power consumption control, maintaining relatively low power consumption while completing channel scanning. When the electronic device is currently performing a data transmission task with high latency and bandwidth requirements, switching to spatial multiplexing transmission mode should be prioritized because this mode can ensure that data transmission is completely unaffected by scanning operations.
[0116] It should be noted that in the aforementioned operations S320, S330, and S340, the key technical feature for effectively separating the scanning operation from data transmission is that the first and second communication links operate on different communication frequency bands. Different communication frequency bands use different frequency ranges, making the first and second communication links independent in the frequency domain. Whether in multi-link single-radio mode using time-division multiplexing to share the radio transceiver unit, or in spatial multiplexing transmission mode using independent radio transceiver units, the first and second communication links always operate on different communication frequency bands, thereby avoiding inter-link interference that may result from channel hopping within the frequency band.
[0117] By adopting the above technical solution, an appropriate configuration strategy can be flexibly selected based on the current communication operation mode of the wireless communication module, and scanning links and data links can be rationally configured from the established communication links. This method of differentiated configuration based on communication operation mode is applicable to electronic devices with different hardware architectures and operating modes, and can achieve effective parallel operation of scanning operations and data transmission in various application scenarios, thereby ensuring the continuity and stability of user network applications.
[0118] The above embodiments introduce the multi-link single-radio mode, the spatial multiplexing transmission mode, and the enhanced multi-link single-radio mode.
[0119] Based on the above embodiments, the following provides a detailed description of the jump control of the scanning link in the multi-link single-radio mode.
[0120] Specifically, the operation of controlling the scanning link to switch to a target channel different from the current channel in operation S220 may also include the following operations.
[0121] Operation S410, after controlling the wireless communication module to switch from enhanced multi-link single-radio mode to multi-link single-radio mode, announces to the target network device that the scanned link has entered a sleep state; and,
[0122] Operate S420 to control the scanning link to switch to the first channel, which is a different channel from the current channel in the first frequency band where the scanning link is currently located.
[0123] In operation S410, after the wireless communication module completes the switch from enhanced multi-link single-radio mode to multi-link single-radio mode, the electronic device needs to announce to the target network device that the scan link has entered a sleep state.
[0124] The declaration of a scan link entering a dormant state is used to inform the target network device that the scan link will temporarily cease normal communication on the current channel. By declaring a dormant state to the target network device, the target network device can be informed of the change in the scan link's operating status, thereby avoiding transmission failures or unnecessary retransmissions caused by the target network device sending data packets to the link during channel hopping.
[0125] Optionally, electronic devices can send power management frames to the target network device to announce that the scanned link has entered a sleep state. A power management frame is a control frame in the wireless LAN protocol used to indicate the power status of a site. Electronic devices can set corresponding status flags in the power management frame to indicate that the wireless interface corresponding to the scanned link will enter a sleep or low-power state.
[0126] It is important to note that announcing the scanning link to enter a dormant state to the target network device is a crucial preparation for performing channel scanning in multi-link single-radio mode. Because multi-link single-radio mode uses a single radio transceiver unit to perform time-division switching between multiple links, the scanning link will be unable to receive data from the target network device on its original channel while hopping to another channel for scanning operations. If the target network device is not announced to enter a dormant state beforehand, it may continue to send data packets to the original channel where the scanning link is located. These data packets will be unreceived because the scanning link has hopped to another channel, resulting in data loss and wasted network resources.
[0127] Figure 5 The illustration shows a schematic diagram of a process for switching from enhanced multi-link single-radio mode to multi-link single-radio mode according to an embodiment of this application.
[0128] like Figure 5 As shown, in eMLSR mode, the wireless communication module of the electronic device establishes two links with the target network device (AP) in the 2.4GHz and 5GHz frequency bands, and the two links are time-division multiplexed through an "OR" logical relationship.
[0129] When a channel scanning operation is triggered, the electronic device controls the wireless communication module to switch from eMLSR mode to MLSR mode based on a third configuration strategy. After the switch is completed, the original distinction between the primary and secondary links is eliminated, and the two links become equal at the radio frequency level, allowing the radio frequency transceiver units to be used alternately in the time domain.
[0130] Subsequently, the electronic device notifies the target network device that one of its links has entered a dormant state. For example... Figure 5 As shown on the right, Link1, which operates in the 2.4 GHz band, is declared to be in sleep mode and configured as a scanning link, while Link2, which operates in the 5 GHz band, continues to carry out data transmission tasks and is configured as a data link.
[0131] Through the aforementioned mode switching and link sleep announcement, the electronic device can achieve functional separation of the scanning link and data link within a single RF transceiver unit hardware architecture.
[0132] In operation S420, after announcing to the target network device that the scan link has entered a dormant state, the electronic device controls the scan link to switch to the first channel.
[0133] The first channel refers to the target scanning channel that the scanning link jumps to when performing a channel scanning operation. It can be understood as the specific channel location to be detected, used to monitor the signals of other network devices on that channel or to assess the quality of that channel. The first channel is a channel in the first frequency band that the scanning link is currently in, which is different from the current channel.
[0134] Correspondingly, the first frequency band refers to the communication frequency band currently operating on the scanning link, which can be understood as the frequency range used by the scanning link. In wireless communication systems, each communication frequency band is divided into multiple non-overlapping or partially overlapping channels, with different channels occupying different frequency ranges within that band.
[0135] Optionally, the first frequency band can be the 2.4 GHz band. Within the 2.4 GHz band, wireless LAN protocols define multiple available channels. For example, in some countries and regions, the 2.4 GHz band includes channels 1 through 13, each with a center frequency spacing of 5 MHz and a channel bandwidth typically of 20 MHz or 22 MHz. When the scanning link is currently operating on channel 1 of the 2.4 GHz band, the first channel can be channel 2, channel 3, or any other channel within that band.
[0136] It should be noted that the first channel must be different from the current channel of the scanning link. If the first channel is the same as the current channel, the scanning link will remain on the existing channel and will be unable to detect network device signals on other channels.
[0137] Optionally, the electronic device can determine the first channel according to a preset channel scanning order. For example, the channels to be scanned can be selected sequentially in ascending order of channel number. When the scanning link is currently operating on channel 1, the first channel can be determined as channel 2; after scanning channel 2 is completed, the next first channel can be determined as channel 3, and so on.
[0138] Optionally, the electronic device can determine the selection priority of the first channel based on historical scan records or network quality assessment results.
[0139] When controlling the scanning link to switch to the first channel, the electronic device needs to adjust the operating parameters of the RF transceiver unit used by the scanning link to switch it from the center frequency of the current channel to the center frequency of the first channel. Since only one RF transceiver unit performs time-division switching between multiple links in multi-link single-RF mode, the electronic device can allocate control of the RF transceiver unit to the scanning link after the data link completes the current data transmission or enters a waiting state, enabling the scanning link to occupy the RF transceiver unit to perform the channel switching operation.
[0140] By adopting the above technical solution, after the wireless communication module switches from enhanced multi-link single-radio mode to multi-link single-radio mode, it announces to the target network device that the scanning link has entered a dormant state, enabling the target network device to adjust its data transmission strategy in a timely manner and avoid transmission failure caused by sending data to the scanning link that is about to switch channels.
[0141] Based on the above embodiments, as an optional embodiment, in order to realize active channel scanning and ensure the continuity of data transmission in multi-link single-radio mode, the channel scanning operation in the target frequency band in operation S220 may further include the following operations.
[0142] Operation S510 controls the data link to switch to the first channel to send a probe request frame, and after sending, controls the data link to switch back to the initial channel to continue data transmission;
[0143] Operate S520 to control the scanning link to listen for probe responses on the first channel in order to complete the scanning operation of the first channel.
[0144] In operation of S510, the electronic device controls the data link to briefly switch to the first channel to send a probe request frame.
[0145] The Probe Request frame is a management frame used for active scanning in a wireless LAN, triggering network devices on that channel to reply with their basic service information. The Probe Request frame is actively sent by the scanning device to inquire about network devices within its wireless coverage area. The Probe Request frame can be a broadcast frame or a targeted probe frame specifying a particular network name.
[0146] In multi-link single-RF mode, because the scanning link and data link share the same RF transceiver unit, the scanning link's transmission capability on the first channel is limited after it hops to the first channel and declares sleep mode. In order to send a probe request frame on the first channel to trigger a response from network devices on that channel, the electronic device can briefly hop to the first channel using the data link to perform a transmission operation.
[0147] Optionally, the electronic device can control the data link to switch to the first channel when there is an idle gap in data transmission. During this idle period, the electronic device controls the radio frequency transceiver unit to switch from the initial channel currently in operation of the data link to the first channel, enabling the data link to obtain a transmission opportunity on the first channel.
[0148] It should be noted that the data link switching to the first channel is a brief, temporary operation. The data link only stays on the first channel for a very short time to complete the transmission of the probe request frame, and immediately switches back to the initial channel after transmission is complete.
[0149] After the control data link switches back to the initial channel, the data link resumes normal data transmission on the initial channel. Since the data link only stays on the first channel briefly to send probe request frames, its time away from the initial channel is extremely short, thus having minimal impact on data transmission.
[0150] In operation of S520, after the data link completes the transmission of the probe request frame and switches back to the initial channel, the scanning link continues to listen for probe responses on the first channel.
[0151] In this context, a probe response refers to the management frame sent by a network device after receiving a probe request frame. It can be understood as a reply message to a probe query, used to inform the scanning device of network parameters such as the network device's basic service set identifier, supported data rates, channel information, and encryption methods. The probe response frame is sent by the network device that received the probe request frame, carrying detailed configuration and capability information of the network device, enabling the scanning device to understand the characteristics of the network device and determine whether a connection is suitable.
[0152] Optionally, the listening duration of the scanning link on the first channel can be set according to actual needs. During this listening time, the scanning link receives and parses all probe response frames received on the first channel, extracting information about each network device from them.
[0153] During link scanning, electronic devices can parse and extract information from received probe response frames. Narrative The information is recorded and stored in the scan results list for subsequent network selection and connection decisions.
[0154] It should be noted that while the scanning link is listening for probe responses on the first channel, the data link has already switched back to the initial channel and continues data transmission. Since the scanning link and data link operate in different communication frequency bands, the scanning link's operation of listening for probe responses on the first channel of the first frequency band will not affect the data transmission performed by the data link on the initial channel of the other communication frequency band. For example, when the scanning link operates in the 2.4 GHz band and listens for probe responses on the first channel of that band, the data link can continuously transmit and receive data on the initial channel of the 5 GHz or 6 GHz band. The two links operate independently on their respective frequency bands without interference.
[0155] It should be noted that the target frequency band includes the current frequency band and other frequency bands. The current frequency band refers to the communication frequency band in which the scanning link is currently performing a scanning operation, i.e., the first frequency band. Other frequency bands refer to communication frequency bands supported by the electronic equipment and target network equipment but not yet scanned. For example, when the scanning link is currently performing channel scanning in the 2.4 GHz band, the 2.4 GHz band is the current frequency band, while the 5 GHz and 6 GHz bands are other frequency bands. After completing the scanning of all channels in the current frequency band, the electronic equipment can control the scanning link and data link to switch roles, allowing the scanning link to jump to other frequency bands to continue performing channel scanning operations, thereby achieving comprehensive scanning of multiple communication frequency bands.
[0156] Figure 6 The illustration shows a schematic diagram of a process for performing channel scanning in a multi-link single-radio mode according to an embodiment of this application.
[0157] like Figure 6 As shown, the process consists of three phases. In the first phase, after the electronic device completes the switch from eMLSR mode to MLSR mode, it announces to the target network device that the scanned link has entered a dormant state. For example... Figure 6 As shown on the left, Link1, which operates in the 2.4 GHz band, is declared to be in a dormant state and will switch to the channel to be scanned to perform the scanning operation; Link2, which operates in the 5 GHz band, continues to carry out data transmission tasks as a data link.
[0158] In the second phase, the data link briefly switches to the channel to be scanned where the scanning link is located to send a probe request frame. For example... Figure 6 As shown in the middle, Link2 switches from its initial channel to the channel where Link1 is located, sending a Probe Request frame to trigger a response from the network device on that channel. After completing the Probe Request frame transmission, Link2 immediately switches back to the initial channel to continue data transmission. This switching and transmission operation typically takes less than 1 to 5 milliseconds.
[0159] In the third phase, the scanning link listens for probe responses on the channel to be scanned. For example... Figure 6 As shown on the right, after Link1 completes the transmission of the probe request frame on the data link, it continues to listen for probe responses from network devices on the same channel. The listening time is typically 30 to 100 milliseconds. During this period, Link2 has switched back to the initial channel and continues to perform data transmission. The two links operate independently on different communication frequency bands, realizing the parallel execution of scanning operations and data transmission.
[0160] By adopting the above technical solution, efficient coordination between the scanning link and the data link is achieved in multi-link single-radio mode. By controlling the data link to briefly switch to the first channel to send a probe request frame and quickly switch back to the initial channel, and by controlling the scanning link to continuously listen for probe responses on the first channel, active scanning of the first channel is achieved, while the time for the data link to leave the initial channel is controlled within milliseconds. This minimizes the impact on data transmission while completing the channel scanning operation.
[0161] Based on the above embodiments, as an optional embodiment, in order to achieve a complete scan of multiple communication frequency bands and ensure the continuity of data transmission throughout the scanning process, the above channel scanning method may further include the following operations.
[0162] Operation S610, after completing the scanning operation of the first channel, repeatedly executes the steps of controlling the scanning link to jump to the remaining channels under the first frequency band, controlling the data link to jump to the remaining channels to send probe request frames, and controlling the scanning link to listen for the corresponding probe responses, until the scanning operation of all channels under the first frequency band is completed; and / or,
[0163] After completing the scanning operation of all channels in the first frequency band, the S620 controls the switching between the scanning link and the data link to perform a channel scanning operation in the second frequency band where the data link is located.
[0164] In operation S610, after completing the scanning operation of the first channel, the electronic device continues to scan other channels under the first frequency band.
[0165] The remaining channels refer to the available channels in the first frequency band that have not yet been scanned, excluding the first channel.
[0166] Optionally, the electronic device can determine the remaining channels sequentially according to the ascending order of the channel numbers. Optionally, the electronic device can determine the scanning order of the remaining channels according to a preset channel priority order.
[0167] By repeatedly executing the above operation process, the scanning link can traverse every channel within the first frequency band, comprehensively collecting information on all network devices within that band. Throughout the entire traversal scan, the data link maintains its data transmission capability on its initial channel, only briefly switching to the corresponding remaining channel when a probe request frame needs to be sent. After sending the request frame, it immediately switches back to the initial channel to continue data transmission, thus ensuring that the continuity of data transmission is not affected by the channel traversal scan within the frequency band.
[0168] In operation of S620, after completing the scanning operation of all channels in the first frequency band, the electronic device controls the switching of the scanning link and the data link.
[0169] Specifically, after completing a scan of the first frequency band, the scanning link operating in the first frequency band has finished its scanning task, while the frequency band where the data link operating in the second frequency band is located has not yet undergone a scanning operation. To scan the second frequency band, the electronic device can reconfigure the data link in the second frequency band as a scanning link, enabling it to hop to different channels within the second frequency band to perform scanning operations. Correspondingly, the electronic device reconfigures the scanning link in the first frequency band as a data link, restoring its normal data transmission function in the first frequency band.
[0170] The second frequency band refers to the communication frequency band currently in operation of the data link, which can be understood as the target frequency band for which channel scanning has not yet been performed. Unlike the first frequency band, the second frequency band belongs to another communication frequency band supported by electronic devices and target network equipment.
[0171] For example, when the first frequency band is the 2.4 GHz band, the second frequency band can be the 5 GHz band. After completing the scan of all channels in the 2.4 GHz band, the electronic device controls the data link originally operating in the 5 GHz band to become a scanning link. This link then begins to hop to different channels within the 5 GHz band to perform scanning operations. Simultaneously, the scanning link originally operating in the 2.4 GHz band becomes a data link, carrying data transmission tasks on the 2.4 GHz band.
[0172] For example, when the first frequency band is the 2.4 GHz band, the second frequency band can be the 6 GHz band. The 6 GHz band is a newly opened band for wireless local area network (WLAN) communication, providing a large number of available channels and wider channel bandwidth. After completing the scan of the 2.4 GHz band, the electronic device can control the data link originally operating in the 6 GHz band to switch to a scanning link, performing scanning operations on each channel within the 6 GHz band, while the scanning link originally operating in the 2.4 GHz band becomes the data link to continue data transmission.
[0173] After the link switch is completed, the new scanning link begins scanning the channels in the second frequency band. The specific procedure for this scanning operation is the same as that for the scanning operation in the first frequency band, that is, repeatedly executing the steps of controlling the scanning link to switch to each channel in the second frequency band, controlling the data link to switch to send probe request frames, and controlling the scanning link to listen for probe responses, until all channels in the second frequency band are scanned.
[0174] It should be noted that operations S610 and S620 can be executed individually or in combination. When only operation S610 is executed, the electronic device ends the channel scanning process after completing a full scan of the first frequency band. When only operation S620 is executed, the electronic device switches links to scan the second frequency band after completing the scan of the first channel, without scanning other channels in the first frequency band. When operations S610 and S620 are executed in combination, the electronic device first completes a traversal scan of all channels in the first frequency band, and then switches links to continue performing a full scan of the second frequency band, thereby achieving comprehensive channel scanning across multiple frequency bands.
[0175] By adopting the above technical solutions, after scanning a single channel or frequency band, a complete scan of all channels within that frequency band can be achieved by repeatedly executing the scanning process. Furthermore, continuous scanning of multiple frequency bands can be achieved through link role switching. Throughout the entire multi-channel, multi-band scanning process, the data link always remains on its initial channel within its operating frequency band, carrying data transmission tasks. It only briefly switches and quickly switches back when a probe request frame needs to be sent, thus achieving comprehensive network environment detection while minimizing the impact on data transmission.
[0176] The above embodiments describe the channel scanning operation in multi-link single-radio mode. Based on the above embodiments, the channel scanning operation in spatial multiplexing transmission mode will be described in detail below.
[0177] Specifically, operation S210 may also include the following operations.
[0178] Operating S710, in the communication operation mode of spatial multiplexing transmission mode, controls the data link to maintain data transmission and controls the scanning link to enter a connection-keeping state with the target network device; and...
[0179] Operate S720 to control the scanning link to switch to the second channel, which is a different channel from the current channel in the third frequency band where the scanning link is currently located.
[0180] Operate the S730 to control the scanning link to send probe request frames on the second channel and listen for the corresponding probe responses to complete the scanning operation on the second channel.
[0181] In operation of S710, when the communication operation mode of the wireless communication module is spatial multiplexing transmission mode, each communication link uses its own independent radio frequency transceiver unit, enabling simultaneous data transmission and reception operations on different communication frequency bands. In this operating mode, the electronic device can simultaneously control the data link to maintain data transmission and control the scanning link to enter a connection hold state.
[0182] In one feasible implementation, an electronic device can indicate that the scanned link is currently in a keep-alive state by sending a Link State Advertisement (LSA) frame to the target network device. The LSA frame can be a management frame or a control frame defined in a wireless LAN protocol, used to convey the working status information of the scanned link to the target network device. Upon receiving the LSA frame, the target network device can mark the scanned link as being in a keep-alive state. In this state, the target network device will not schedule data packets requiring an immediate response to the scanned link, but will continue to maintain the link's connection validity.
[0183] In another feasible implementation, the electronic device can adjust the traffic scheduling priority of the scanning link so that the data traffic generated by the wireless communication module is preferentially scheduled to the data link for transmission, and is not allocated to the scanning link.
[0184] It should be noted that in spatial multiplexing transmission mode, since the data link and scanning link use independent radio frequency transceiver units, the two operations of maintaining data transmission in the data link and entering the connection hold state in the scanning link can be performed simultaneously without affecting each other. The radio frequency transceiver unit of the data link continuously operates on the communication frequency band and channel of the data link, handling data transmission and reception tasks; the radio frequency transceiver unit of the scanning link is prepared to perform channel hopping and scanning operations.
[0185] In S720 operation, after the scan link enters the connection hold state, the electronic device controls the scan link to switch to the second channel.
[0186] The second channel refers to the target scanning channel that the scanning link jumps to when performing a channel scanning operation. The second channel is a channel in the third frequency band where the scanning link is currently located, which is different from the current channel.
[0187] Correspondingly, the third frequency band refers to the communication frequency band currently operating on the scanning link, which can be understood as the frequency range used by the scanning link. The third frequency band is different from the communication frequency band operating on the data link to ensure that the channel hopping operation of the scanning link will not interfere with the normal data transmission of the data link.
[0188] For example, when the data link operates in the 2.4 GHz band, the third band can be the 5 GHz band. In the 5 GHz band, the WLAN protocol defines multiple available channels, and the number and numbering of available channels may vary in different countries and regions. For example, the 5 GHz band may include multiple channels such as channel 36, channel 40, and channel 161. When scanning the link currently operating on channel 36 in the 5 GHz band, the second channel can be channel 40 or any other channel in that band.
[0189] For example, when the data link operates in the 2.4 GHz band, the third band can also be the 6 GHz band. The 6 GHz band offers more available channels and a wider selection of channel bandwidths, enabling higher data transmission rates and lower channel congestion. In the 6 GHz band, the number of available channels can reach dozens, providing a broader detection range for channel scanning.
[0190] Alternatively, the electronic device may determine the second channel sequentially according to the channel number order.
[0191] Alternatively, the electronic device may determine the second channel based on a preset channel priority list.
[0192] When the control scan link switches to the second channel, the electronic device adjusts the operating parameters of the RF transceiver unit used by the scan link, switching it from the center frequency of the current channel to the center frequency of the second channel. Since the scan link has its own independent RF transceiver unit, this channel switching operation can be performed at any time without waiting for data transmission gaps in the data link or coordinating the switching of RF resources.
[0193] In operation of S730, after the scanning link switches to the second channel, the electronic device controls the scanning link to send a probe request frame on the second channel and listens for the corresponding probe response to complete the scanning operation of the second channel.
[0194] In one feasible implementation, the scanning link can immediately send a probe request frame after hopping to the second channel. The probe request frame is sent by the radio frequency transceiver unit of the scanning link on the second channel to trigger network devices within the coverage area of that channel to reply with a probe response frame.
[0195] After sending a probe request frame, the scanning link continues to listen on the second channel, receiving probe response frames from other network devices. The listening duration can be configured according to actual needs. During this listening time, the scanning link receives and parses all probe response frames received on the second channel, extracting information such as the service set identifier, supported data rates, encryption methods, and signal strength of each network device.
[0196] In another feasible implementation, after hopping to the second channel, the scanning link can briefly passively listen to receive beacon frames actively sent by other network devices on that channel. Beacon frames are management frames periodically broadcast by network devices to announce their presence and basic configuration information. By passively listening to beacon frames, the scanning link can discover some network devices without sending probe request frames. After passively listening for a certain period, the scanning link then sends probe request frames to trigger undiscovered network devices to respond to the probe, thus combining the advantages of passive and active scanning to improve the comprehensiveness and efficiency of channel scanning.
[0197] It should be noted that the target frequency band includes the current frequency band and other frequency bands. The current frequency band refers to the communication frequency band in which the scanning link is currently performing a scanning operation, i.e., the third frequency band. Other frequency bands refer to communication frequency bands supported by the electronic equipment and target network equipment but not yet scanned. After completing the scanning of all channels under the current frequency band, the electronic equipment can control the scanning link and data link to switch roles, allowing the scanning link to jump to other frequency bands to continue performing channel scanning operations, thereby achieving comprehensive scanning of multiple communication frequency bands.
[0198] Figure 7The illustration shows a flowchart of performing a single-channel scan in a spatial multiplexing transmission mode according to an embodiment of this application.
[0199] like Figure 7 As shown, the single-channel scanning process consists of three stages. In the first stage, the electronic device completes the state configuration of the scanning link and the data link. The scanning link Link1 operates in the 2.4GHz band, and the data link Link2 operates in the 5GHz band. The electronic device controls the scanning link to enter a connection-keeping state with the target network device (AP), while simultaneously controlling the data link to maintain data transmission. Since the two links use their own independent radio frequency transceiver units, the above two operations can be performed simultaneously without affecting each other.
[0200] In the second phase, the scanning link switches to the second channel to be scanned and sends a probe request frame. For example... Figure 7 As shown in the middle, scanning link Link1 switches from the current channel to the second channel (CH1) and sends a probe request frame (CH1TX Probe Request) on that channel. Since the scanning link has an independent RF transceiver unit, this channel switching and probe request frame transmission operation does not require waiting for data transmission gaps in the data link and can be performed independently at any time. During this period, data link Link2 continues to transmit data on the initial channel in the 5GHz band, unaffected by the scanning link operation.
[0201] In the third phase, the scanning link listens for probe responses on the second channel. For example... Figure 7 As shown on the right, the scanning link (Link1) maintains a listening state on the second channel (CH1 Listen), receiving probe response frames from network devices. The listening duration is typically 30 to 100 milliseconds. Throughout the listening period, the data link (Link2) continues to transmit data on the initial channel. The scanning link's listening operation does not affect the operation of the data link.
[0202] By adopting the above technical solution, in the spatial multiplexing transmission mode, the data link is controlled to maintain data transmission, the scanning link is controlled to enter a connection-keeping state, and the independent radio frequency transceiver unit of the scanning link is used to send probe request frames and listen for probe responses on the second channel, thus realizing the parallel operation of the scanning link and the data link. Compared with the multi-link single-radio mode, where the data link needs to briefly hop to the scanning channel to send probe request frames, the scanning operation in the spatial multiplexing transmission mode is completed independently by the scanning link, and the data link does not need to leave its operating channel at all, thereby achieving channel scanning operation with low impact on data transmission.
[0203] Based on the above embodiments, as an optional embodiment, in order to achieve complete scanning of multiple communication frequency bands and fully utilize the independent operating capabilities of scanning links and data links in spatial multiplexing transmission mode, the above channel scanning method may further include the following operations.
[0204] Operation S810, after completing the scanning operation of the second channel, repeatedly executes the steps of controlling the scanning link to jump to the remaining channels under the third frequency band, sending probe request frames, and listening to the corresponding probe responses, until the scanning operation of all channels under the third frequency band is completed; and / or,
[0205] After completing the scanning operation of all channels in the third frequency band, the S820 controls the switching between the scanning link and the data link to perform a channel scanning operation in the fourth frequency band where the data link is located.
[0206] In operation S810, after completing the scanning operation of the second channel, the electronic device continues to scan other channels in the third frequency band.
[0207] Optionally, the electronic device may determine the remaining channels in ascending or descending order of channel number.
[0208] After determining the remaining channels, the electronic device repeatedly executes the following steps: controlling the scan link to switch to the remaining channels, sending probe request frames on the remaining channels, and listening for the corresponding probe responses. For each remaining channel, the scan link adjusts the operating frequency of its radio frequency transceiver unit to switch to that channel, sends probe request frames on that channel to trigger a response from the network device, and receives and parses probe response frames within a preset listening duration, extracting network device information and recording it in the scan results.
[0209] By repeatedly executing the above operation process, the scanning link can traverse every available channel within the third frequency band, comprehensively collecting signal information and configuration parameters of all network devices within that band. Throughout the entire traversal scanning process, since the scanning link uses an independent RF transceiver unit to operate on the third frequency band, the data link continues to use its independent RF transceiver unit to continuously transmit data on different communication frequency bands. The scanning operation and data transmission are executed completely in parallel and do not interfere with each other.
[0210] It should be noted that in spatial multiplexing transmission mode, when the scanning link hops to different channels within the third frequency band to perform scanning, it does not need to rely on the data link to assist in sending probe request frames, as in multi-link single-radio mode. The scanning link can independently complete all operations of channel hopping, probe request frame transmission, and probe response monitoring, and the data link does not need to change its operating state or operating channel throughout the entire third frequency band scan.
[0211] In S820 operation, after completing the scanning operation of all channels in the third frequency band, the electronic device controls the switching of the scanning link and the data link.
[0212] Specifically, after completing the scan of the third frequency band, the scanning link operating in the third frequency band has completed its scanning task, while the frequency band of the data link operating in the fourth frequency band has not yet undergone scanning. To scan the fourth frequency band, the electronic device can reconfigure the data link in the fourth frequency band as a scanning link, enabling it to hop to different channels within the fourth frequency band to perform scanning operations. Correspondingly, the electronic device reconfigures the scanning link in the third frequency band as a data link, enabling it to carry data transmission tasks on the third frequency band.
[0213] The fourth frequency band refers to the communication frequency band currently in operation of the data link, which can be understood as the target frequency band for which channel scanning has not yet been performed. Unlike the third frequency band, the fourth frequency band is another communication frequency band supported by electronic devices and target network equipment.
[0214] For example, when the third frequency band is the 5GHz band, the fourth frequency band can be the 2.4GHz band. After completing the scan of all channels in the 5GHz band, the electronic device controls the data link originally operating in the 2.4GHz band to become a scanning link. This link then begins to hop between different channels within the 2.4GHz band to perform scanning operations. Simultaneously, the scanning link originally operating in the 5GHz band becomes a data link, carrying data transmission tasks on the 5GHz band. Through the above link switching operation, the electronic device can sequentially complete channel scanning of multiple communication frequency bands while maintaining uninterrupted data transmission.
[0215] In one feasible implementation, after completing the link role switch, the electronic device can continue to perform the scanning operation of the fourth frequency band according to the same procedure as the third frequency band scan. The new scanning link jumps to each channel in the fourth frequency band in order of channel sequence or priority, sends a probe request frame on each channel and listens for probe responses, until the traversal scan of all channels in the fourth frequency band is completed.
[0216] It should be noted that operations S810 and S820 can be executed individually or in combination. When only operation S810 is executed, the electronic device completes a full scan of the third frequency band and then ends the channel scanning process, obtaining only information about network devices within the third frequency band. When only operation S820 is executed, the electronic device performs a link role switch to scan the fourth frequency band after completing the scan of the second channel, without scanning other channels in the third frequency band. In this case, the scanning operation covers multiple frequency bands, but only a portion of the channels within each band are scanned. When operations S810 and S820 are executed in combination, the electronic device first completes a traversal scan of all channels in the third frequency band, and then performs a link role switch to continue performing a full scan of the fourth frequency band, thereby achieving a comprehensive channel scan across multiple frequency bands and obtaining the most complete network device distribution information in the wireless environment.
[0217] By adopting the above technical solution, in the spatial multiplexing transmission mode, a complete traversal of a single frequency band is achieved by repeatedly executing channel hopping and scanning operations within the same frequency band on the scanning link; and by controlling the switching between the scanning link and the data link, continuous scanning of multiple frequency bands is achieved. Throughout the entire multi-channel, multi-band scanning process, the scanning link and the data link always use their own independent radio frequency transceiver units to work in parallel on different communication frequency bands. The data link does not need to change its operating channel or pause data transmission, thus achieving a full-band channel scanning operation that has no impact on data transmission.
[0218] The above embodiments describe channel scanning operations in spatial multiplexing transmission mode. Based on these embodiments, the following provides a detailed description of the flow control method for data transmission in spatial multiplexing transmission mode.
[0219] As an optional embodiment, in order to achieve precise scheduling of data traffic to the data link in spatial multiplexing transmission mode, and to ensure that the scanning link can focus on channel scanning operations without being interfered with by data transmission tasks, the operation S230, which controls the data link to perform data transmission between the wireless communication module and the target network device, may further include the following operations.
[0220] When operating S910 in the spatial multiplexing transmission mode, the characteristic information of the data packet to be transmitted is obtained. The characteristic information of the data packet includes at least one of the following: the application identifier that initiated the data packet, the service type to which the data packet belongs, and the five-tuple information of the data packet.
[0221] The S920 is operated to determine whether the data packet meets the data link transmission conditions based on the feature information.
[0222] Operation S930: In response to the data packet meeting the data link transmission conditions, add a flow identifier corresponding to the data link to the data packet. The flow identifier is used to indicate the target transmission link of the data packet.
[0223] The S940 operates by scheduling data packets to the corresponding transmission queue of the data link based on the traffic identifier.
[0224] Operate the S950 to control the data link to retrieve and send data packets from the transmission queue.
[0225] In operation S910, when the communication operation mode of the wireless communication module is spatial multiplexing transmission mode, the electronic device extracts feature information from the data packets to be transmitted.
[0226] The data packet to be transmitted refers to the data unit that the wireless communication module needs to send to the target network device through the communication link. It can be understood as a network layer or transport layer data packet that carries user data or control information.
[0227] For example, the data packets to be transmitted can originate from various applications running on an electronic device, including but not limited to web browsing applications, video playback applications, instant messaging applications, file transfer applications, or online game applications.
[0228] Correspondingly, feature information refers to identifying parameters that can characterize the source, attributes, and transmission requirements of data packets.
[0229] According to an embodiment of this application, the characteristic information of the data packet includes at least one of the following: the application identifier that initiated the data packet, the service type to which the data packet belongs, and the five-tuple information of the data packet.
[0230] The application identifier that initiates the data packet is a unique identifier for the application that generates or sends the data packet. It can be understood as an identity marker for the application from which the data packet originates, used to identify which application's data stream the data packet belongs to. The application identifier can be the application's process identifier, application package name, or a unique identifier registered by the application in the operating system. By obtaining the application identifier, electronic devices can identify whether the data packet was generated by a video playback application, an online game application, or a background download application, and thus allocate appropriate transmission resources to the data packets of different applications.
[0231] Correspondingly, the service type to which the data packet belongs refers to the classification category of the service traffic carried by the data packet, used to distinguish data streams with different service quality requirements. Service types can include, but are not limited to: real-time voice services, real-time video services, web browsing services, file download services, or background data synchronization services, etc.
[0232] Correspondingly, the 5-tuple information of a data packet refers to a combination of five key parameters that uniquely identify a network data stream. It can be understood as the network layer and transport layer address information of the data packet, used to identify the communication session to which the data packet belongs. The 5-tuple information includes the source Internet Protocol (IP) address, destination IP address, source port number, destination port number, and transport layer protocol type. Using the 5-tuple information, electronic devices can identify which specific network connection or data stream a data packet belongs to, thereby selecting the same transmission link for all data packets within the same data stream.
[0233] Alternatively, electronic devices can obtain the characteristic information of data packets through the network packet processing interface provided by the operating system.
[0234] Optionally, electronic devices can use Deep Packet Inspection (DPI) technology to analyze the payload content of data packets and identify the application protocol type and service characteristics to which the data packets belong.
[0235] In operation of S920, the electronic device determines whether the data packet meets the data link transmission conditions based on the acquired feature information.
[0236] Data link transmission conditions refer to the criteria used to determine whether data packets should be transmitted via the data link. These conditions can be set based on factors such as application priority, service quality requirements for the service type, or the transmission characteristics of the data stream.
[0237] In one feasible implementation, the electronic device can maintain an application priority list, which records the correspondence between each application and the transmission link. When a data packet's application identifier is marked as a high-priority application or an application requiring stable transmission in the list, the data packet is deemed to meet the data link transmission conditions. For example, video conferencing applications, online gaming applications, or real-time navigation applications can be configured as high-priority applications, and the data packets generated by these applications should be transmitted through the data link to ensure transmission continuity and low latency.
[0238] In another feasible implementation, the electronic device can determine whether the data link transmission conditions are met based on the service type to which the data packet belongs.
[0239] In another feasible implementation, the electronic device can perform data stream identification and matching based on the five-tuple information of the data packet.
[0240] It should be noted that the above-mentioned judgment methods can be used individually or in combination. For example, a preliminary screening can be performed based on the application identifier, followed by a secondary judgment based on the business type, thereby improving the accuracy of matching data packets with data links.
[0241] In operation S930, when the judgment result is that the data packet meets the data link transmission conditions, the electronic device adds the traffic identifier corresponding to the data link to the data packet.
[0242] Traffic identification refers to the tagging information attached to data packets, which indicates which communication link the data packet should be transmitted through. Traffic identification can be an identification field added to the Media Access Control (MAC) layer header, network layer header, or metadata field of the data packet. This identification field carries the link identifier or link number of the data link.
[0243] In one feasible implementation, the electronic device can add a traffic identification field to the MAC layer header of the data packet. In wireless LAN protocols that support multi-link operation, the MAC layer header of the data packet can include a link identification field to indicate which link the data packet should be transmitted through.
[0244] In operation of S940, electronic devices schedule data packets to the corresponding transmission queue of the data link based on the traffic identifier carried by the data packets.
[0245] In this context, the transmission queue refers to the buffered data structure in the wireless communication module used to buffer data packets to be transmitted, managing the transmission order and timing of data packets. In wireless communication modules that support multi-link operation, each communication link can be configured with an independent transmission queue. The transmission queues of different links are independent of each other, each managing the data packets transmitted through that link.
[0246] Specifically, the network protocol stack or wireless communication module of the electronic device reads the traffic identifier of the data packet and determines which link's transmission queue the data packet should be sent to based on the traffic identifier. When the traffic identifier indicates that the target transmission link of the data packet is a data link, the transmission scheduling module inserts the data packet into the transmission queue corresponding to the data link. The position of the data packet in the transmission queue can be determined based on its priority, arrival time, or other scheduling strategies.
[0247] In operation of S950, the electronic device controls the data link to retrieve and send data packets from its corresponding transmission queue.
[0248] Specifically, the data link's transmission processing module periodically, or when transmission conditions are met, retrieves data packets from the transmission queue and sends them to the target network device via the radio frequency transceiver unit used by the data link. When transmitting data packets, the data link follows the channel access rules of the wireless LAN protocol, sending the data packets through the air interface when it detects an idle channel or obtains a transmission opportunity.
[0249] By adopting the above technical solution, in the spatial multiplexing transmission mode, the identification and filtering of data traffic to the data link is achieved by acquiring the characteristic information of data packets and determining whether the data packets meet the data link transmission conditions based on the characteristic information. By adding traffic identifiers to data packets that meet the conditions and scheduling the data packets to the corresponding sending queue of the data link based on the traffic identifiers, the directional routing of data traffic to the data link is achieved. By controlling the data link to acquire and send data packets from the sending queue, it is ensured that the data link can continuously perform data transmission tasks, while the scanning link can focus on channel scanning operations.
[0250] Based on the above embodiments, as an optional embodiment, in order to present the network environment information obtained by channel scanning to the user, enabling the user to understand the distribution of currently available network devices and make network selections, the above channel scanning method may further include the following operations.
[0251] After completing the target channel scanning operation under the target frequency band, channel scanning result information is generated; the channel scanning result information is displayed based on the display interface; the display interface includes at least one of the following: the wireless network settings interface of the operating system, the information pop-up window generated by the operating system, or the information box superimposed on the screen display layer.
[0252] Channel scan results information refers to structured descriptive data of the scanned network devices and their related parameters, used to provide users or applications with detailed information about available network devices. Channel scan results information may include parameters such as the service set identifier, basic service set identifier, operating channel, signal strength, encryption method, supported data rates, and network device manufacturer information for each scanned network device.
[0253] In one feasible implementation, the electronic device can arrange the scanned network devices in order of signal strength from strongest to weakest.
[0254] After generating the channel scan results, the electronic device displays the channel scan results to the user through the display interface.
[0255] Optionally, the display interface includes at least one of the following: the operating system's wireless network settings interface, the information pop-up window generated by the operating system, and the information box superimposed on the screen display layer.
[0256] The wireless network settings interface of an operating system refers to the system settings page provided by the operating system for managing and configuring wireless network connections. In mobile operating systems, the wireless network settings interface is usually located in the Network & Internet or Wi-Fi settings options of the system settings application.
[0257] Correspondingly, the information pop-up generated by the operating system refers to a temporary notification window that appears on the screen to display channel scan results without interrupting the user's current operation.
[0258] Correspondingly, the information box superimposed on the screen display layer refers to the information prompt box that is displayed as a floating window without changing the content displayed by the current application. It can be understood as a notification component that floats above the application interface and is used to synchronously display the channel scan results when the user is using other applications.
[0259] In one feasible implementation, the electronic device can trigger a channel scanning operation when the user actively opens the wireless network settings interface, and directly display the channel scanning result information on the interface after the scan is completed.
[0260] In another feasible implementation, the electronic device can periodically perform channel scanning operations in the background, and when a new network device is detected or the signal quality of an already connected network device changes significantly, it can proactively notify the user through a pop-up window or information box.
[0261] By adopting the above technical solution, structured channel scanning result information is generated after the channel scanning operation is completed. The scanning results are then displayed to the user through various display interfaces such as the wireless network settings interface of the operating system, information pop-ups, or overlay information boxes. This allows the user to understand the surrounding network environment in a timely manner, making it easier for the user to select appropriate network devices for connection or optimize the configuration of the connected network.
[0262] This application also discloses an electronic device, including:
[0263] Wireless communication module; The wireless communication module is used to establish a communication link with the target network device. The wireless communication module supports establishing a communication link on at least two different communication frequency bands.
[0264] The controller is configured to: configure a scanning link and a data link in the communication link between the wireless communication module of the electronic device and the target network device in response to the satisfaction of the channel scanning trigger condition; control the scanning link to jump to a target channel different from the current channel to perform channel scanning operation in the target frequency band; and control the data link to perform data transmission between the wireless communication module and the target network device to maintain uninterrupted data transmission between them; wherein the scanning link and the data link are in different communication frequency bands.
[0265] Figure 8 This is a block diagram of an electronic device provided in an embodiment of this application. Figure 8 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0266] like Figure 8 As shown, an electronic device according to an embodiment of this application includes a controller 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a memory 808 into a random access memory (RAM) 803. The controller 801 may include, for example, a general-purpose microcontroller (e.g., a CPU), an instruction set controller and / or an associated chipset and / or a special-purpose microcontroller (e.g., an application-specific integrated circuit (ASIC)), etc. The controller 801 may also include onboard memory for caching purposes. The controller 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of this application.
[0267] RAM 803 stores various programs and data required for the operation of the electronic device. Controller 801, ROM 802, and RAM 803 are interconnected via bus 804. Controller 801 executes various operations of the method flow according to embodiments of this application by executing programs in ROM 802 and / or RAM 803. It should be noted that the programs may also be stored in one or more memories other than ROM 802 and RAM 803. Controller 801 may also execute various operations of the method flow according to embodiments of this application by executing programs stored in said one or more memories.
[0268] According to embodiments of this application, the electronic device may further include an input / output (I / O) interface 806, and an input / output (I / O) interface 804 is also connected to a bus 804. The electronic device may also include one or more of the following components connected to the input / output (I / O) interface 804: an input device 806 including a keyboard, mouse, etc.; an output device 807 including a cathode ray tube (CRT), liquid crystal display (LCD), display screen, etc., and a speaker, etc.; a memory 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A driver 810 is also connected to the input / output (I / O) interface 804 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the driver 810 as needed so that computer programs read from it can be installed into the memory 808 as needed.
[0269] The embodiments of this application have been described above. However, these embodiments are merely illustrative and not intended to limit the scope of this application. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this application is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this application, and all such substitutions and modifications should fall within the scope of this application.
Claims
1. A channel scanning method, comprising: In response to the fulfillment of the channel scan triggering conditions, a scan link and a data link are configured in the communication link between the wireless communication module of the electronic device and the target network device; The scanning link is controlled to jump to a target channel different from the current channel in order to perform a channel scanning operation in the target frequency band; The data link is controlled to perform data transmission between the wireless communication module and the target network device to maintain uninterrupted data transmission between them; The scanning link and the data link operate in different communication frequency bands.
2. The method according to claim 1, wherein configuring a scanning link and a data link in the communication link between the wireless communication module of the electronic device and the target network device comprises: Determine the current communication operation mode of the wireless communication module of the electronic device; When the communication operation mode is multi-link single-radio mode, based on a first configuration strategy, the first communication link is configured as a scanning link and the second communication link as a data link from at least two communication links between the wireless communication module and the target network device; or, When the communication operation mode is spatial multiplexing transmission mode, based on the second configuration strategy, the first communication link is configured as a data link and the second communication link is configured as a scanning link from at least two communication links between the wireless communication module and the target network device; or, When the communication operation mode is the enhanced multi-link single radio mode, the wireless communication module is controlled to switch from the enhanced multi-link single radio mode to the multi-link single radio mode or the spatial multiplexing transmission mode based on the third configuration strategy, so as to configure the scanning link and the data link from the communication link. The first communication link and the second communication link operate in different communication frequency bands.
3. The method according to claim 1 or 2, wherein, Controlling the scanning link to jump to a target channel different from the current channel includes: After controlling the wireless communication module to switch from enhanced multi-link single-radio mode to multi-link single-radio mode, the target network device is notified that the scanning link has entered a sleep state; and, The scanning link is controlled to switch to a first channel, which is a different channel from the current channel in the first frequency band where the scanning link is currently located.
4. The method according to claim 3, wherein, Perform channel scanning operations in the target frequency band, including: The data link is controlled to switch to the first channel to send a probe request frame, and after sending, the data link is controlled to switch back to the initial channel to continue data transmission; The scanning link is controlled to listen for probe responses on the first channel in order to complete the scanning operation of the first channel.
5. The method according to claim 4, further comprising: After completing the scanning operation of the first channel, the steps of controlling the scanning link to jump to the remaining channels under the first frequency band, controlling the data link to jump to the remaining channels to send probe request frames, and controlling the scanning link to listen to the corresponding probe responses are repeated until the scanning operation of all channels under the first frequency band is completed. And / or, After completing the scanning operation of all channels in the first frequency band, the scanning link and the data link are switched to perform a channel scanning operation in the second frequency band where the data link is located.
6. The method according to claim 1 or 2, controlling the scanning link to jump to a target channel different from the current channel to perform a channel scanning operation in the target frequency band, comprising: When the communication operation mode is spatial multiplexing transmission mode, the data link is controlled to maintain data transmission and the scanning link is controlled to enter a connection-keeping state with the target network device. as well as, The scanning link is controlled to switch to a second channel, which is a different channel from the current channel in the third frequency band where the scanning link is currently located; The scanning link is controlled to send probe request frames on the second channel and listen for the corresponding probe responses to complete the scanning operation on the second channel.
7. The method according to claim 6, further comprising: After completing the scanning operation of the second channel, the steps of controlling the scanning link to jump to the remaining channels under the third frequency band and sending probe request frames and listening to the corresponding probe responses are repeated until the scanning operation of all channels under the third frequency band is completed. And / or, After completing the scanning operation of all channels in the third frequency band, the scanning link and the data link are switched to perform a channel scanning operation in the fourth frequency band where the data link is located.
8. The method according to claim 1 or 2, wherein, Controlling the data link to perform data transmission between the wireless communication module and the target network device includes: When the communication operation mode is spatial multiplexing transmission mode, the characteristic information of the data packet to be transmitted is obtained; the characteristic information of the data packet includes at least one of the following: the application identifier that initiated the data packet, the service type to which the data packet belongs, and the five-tuple information of the data packet; In response to the data packet satisfying the data link transmission conditions, a traffic identifier corresponding to the data link is added to the data packet, the traffic identifier being used to indicate the target transmission link of the data packet; Based on the traffic identifier, the data packet is scheduled to the sending queue corresponding to the data link; The data link is controlled to retrieve and send the data packets from the sending queue.
9. The method according to claim 1, further comprising: After completing the target channel scanning operation under the target frequency band, channel scanning result information is generated; The channel scanning results information is displayed on the display interface; The display interface includes at least one of the following: the wireless network settings interface of the operating system, the information pop-up window generated by the operating system, or the information box superimposed on the screen display layer.
10. An electronic device, comprising: Wireless communication module; The wireless communication module is used to establish a communication link with the target network device, and the wireless communication module supports establishing a communication link on at least two different communication frequency bands; Controller, used for: In response to the fulfillment of the channel scan triggering conditions, a scan link and a data link are configured in the communication link between the wireless communication module of the electronic device and the target network device; The scanning link is controlled to jump to a target channel different from the current channel in order to perform a channel scanning operation in the target frequency band; The data link is controlled to perform data transmission between the wireless communication module and the target network device to maintain uninterrupted data transmission between them; The scanning link and the data link operate in different communication frequency bands.