Wireless communication method, electronic device and system
By using a switching mechanism between DFS and non-DFS channels in electronic devices, the problem of Wi-Fi band conflict in dual-band single-transmission mode is solved, enabling simultaneous operation of 5G and 2.4G services, expanding application scenarios and improving processing efficiency.
Patent Information
- Application Number
- CN202410475206.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-04-17
AI Technical Summary
When the Wi-Fi operating mode of electronic devices is dual-band single-transmission mode, Wi-Fi services on the 5G and 2.4G bands are prone to conflict, resulting in only single-band services being available, which limits the device's usage scenarios and service processing efficiency.
By establishing a 5G band Wi-Fi connection between the electronic device and the second electronic device, data is transmitted using the Dynamic Frequency Selection (DFS) channel, and when establishing a 2.4G band Wi-Fi connection, the device switches to a non-DFS channel, thus enabling simultaneous operation of services on different frequency bands.
It expands the application scenarios of electronic devices, improves business processing efficiency, avoids increased data transmission latency caused by frequent switching, and enhances the flexibility and efficiency of data transmission.
Smart Images

Figure CN119255406B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the terminal field, and in particular to a wireless communication method, an electronic device and a system. BACKGROUND
[0002] With the development of terminal technology, people use electronic devices to handle daily affairs more and more frequently. Currently, if the wireless fidelity (Wi-Fi) working mode of a first electronic device is a dual band single concurrent (DBSC) mode, instead of a dual band dual concurrent (DBDC) mode, in some application scenarios, the first electronic device performs 5G frequency band Wi-Fi service and 2.4G frequency band Wi-Fi service through time-division transmission, which is likely to cause conflict between the two frequency band Wi-Fi services. Therefore, in this application scenario, the first electronic device can only perform 5G frequency band Wi-Fi service or only perform 2.4G frequency band Wi-Fi service. SUMMARY
[0003] The present application provides a wireless communication method, an electronic device and a system, which realizes that after the electronic device 100 and the electronic device 200 establish a 5G frequency band Wi-Fi connection on a DFS channel, the electronic device 100 can still establish a 2.4G frequency band Wi-Fi connection with the AP device 300. In this way, the electronic device 100 can perform different services with different electronic devices through the 2.4G frequency band Wi-Fi connection and the 5G frequency band Wi-Fi connection, which expands the use scenario of the electronic device 100 and improves the service processing efficiency of the electronic device 100.
[0004] In a first aspect, the present application provides a wireless communication method applied to a first electronic device, wherein the wireless fidelity (Wi-Fi) working mode of the first electronic device is a dual band single concurrent (DBSC) mode, and the method comprises: the first electronic device establishes a first Wi-Fi connection with a second electronic device in a 5G frequency band, and the first electronic device establishes a second Wi-Fi connection with a third electronic device in a 2.4G frequency band. The first electronic device sends data to the second electronic device using a first channel on the first Wi-Fi connection. The first channel does not include a dynamic frequency selection (DFS) channel.
[0005] In a possible implementation, the first electronic device and the second electronic device establish the first Wi-Fi connection in the 5G frequency band, and the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, including: the first electronic device and the second electronic device establish the first Wi-Fi connection in the 5G frequency band. After the first electronic device and the second electronic device establish the first Wi-Fi connection in the 5G frequency band, the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band.
[0006] In a possible implementation, the first electronic device and the second electronic device establish the first Wi-Fi connection in the 5G frequency band, and the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, including: the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band. After the first electronic device and the second electronic device establish the first Wi-Fi connection in the 2.4G frequency band, the first electronic device and the second electronic device establish the first Wi-Fi connection in the 5G frequency band.
[0007] In a possible implementation, before the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, the method further includes: the first electronic device and the second electronic device use a second channel to send data to the second electronic device on the first Wi-Fi connection. The second channel includes a DFS channel.
[0008] In a possible implementation, the second channel does not include the first channel. Before the first electronic device uses the first channel to send data to the second electronic device on the first Wi-Fi connection, the method further includes: when the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, the first electronic device determines that the first electronic device and the second electronic device switch the channel of the first Wi-Fi connection from the second channel to the first channel.
[0009] In a possible implementation, the first electronic device switches the channel of the first Wi-Fi connection from the second channel to the first channel, specifically including: the first electronic device sends a first beacon frame. The first beacon frame includes the number of the first channel, the bandwidth of the first channel, and channel switching timing. The first beacon frame is used to trigger the second electronic device to switch the channel of the first Wi-Fi connection from the second channel to the first channel, and the channel switching timing is used to indicate the time when the channel switching occurs.
[0010] In a possible implementation, the second channel includes the first channel and a DFS channel. The first electronic device sends data to the second electronic device using the first channel on the first Wi-Fi connection, specifically including: when the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, the first electronic device sends data to the second electronic device using the first channel in the second channel.
[0011] In a possible implementation, the method further includes: the first electronic device sends a first physical frame to the second electronic device through the first Wi-Fi connection. The first physical frame includes a first identifier and data, and the first identifier is used to indicate that the first electronic device sends the data in the first physical frame using the first channel.
[0012] In a possible implementation, the method further includes: the first electronic device receives data sent by the second electronic device through the second channel on the first Wi-Fi connection.
[0013] In a possible implementation, the first electronic device establishes a first Wi-Fi connection with the second electronic device in the 5G frequency band, specifically including: the first electronic device scans one or more Wi-Fi channels in the 5G frequency band, the one or more Wi-Fi channels in the 5G frequency band including one or more non-DFS channels and a DFS channel, and the one or more non-DFS channels including the first channel. The first electronic device establishes the first Wi-Fi connection on the first channel in the non-DFS channel.
[0014] In a second aspect, the embodiments of the present application provide an electronic device, including one or more processors, and one or more memories. The one or more memories are coupled to the one or more processors, and are used to store a computer program. When the one or more processors execute the computer program, the method in any possible implementation of any of the above aspects is executed.
[0015] In a third aspect, the embodiments of the present application provide a computer readable storage medium, including a computer program. When the computer program is run on a processor of an electronic device, the method in any possible implementation of any of the above aspects is executed.
[0016] In a fourth aspect, the embodiments of the present application provide a chip system, including processing circuitry and interface circuitry. The interface circuitry is used to receive code instructions and transmit to the processing circuitry. The processing circuitry is used to run the code instructions to execute the method in any possible implementation of any of the above aspects.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, which comprises a computer program, and when the computer program runs, the method in any possible implementation manner of any aspect above is executed. BRIEF DESCRIPTION OF DRAWINGS
[0018] Figure 1 A system architecture diagram of a communication system 10 is provided for an embodiment of the present application;
[0019] Figure 2 A wireless fidelity 5GHz channel distribution diagram is provided for an embodiment of the present application;
[0020] Figure 3 A scene diagram of a wireless communication connection is provided for an embodiment of the present application;
[0021] Figure 4 A specific flow diagram of a wireless communication method is provided for an embodiment of the present application;
[0022] Figure 5 A beacon frame diagram is provided for an embodiment of the present application;
[0023] Figure 6 A specific flow diagram of another wireless communication method is provided for an embodiment of the present application;
[0024] Figure 7 A specific flow diagram of another wireless communication method is provided for an embodiment of the present application;
[0025] Figure 8 A hardware structure diagram of an electronic device 100 is provided for an embodiment of the present application;
[0026] Figure 9 A Wi-Fi device diagram is provided for an embodiment of the present application;
[0027] Figure 10 A structure diagram of a communication device 1000 is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0028] The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the description of the present application and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It also will be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. In the embodiments of the present application, the terms "first," "second," and the like, do not denote any absolute importance, but are used to distinguish one feature from another, and are used in the description and claims of this application to more particularly indicate certain features. Accordingly, a feature specified as "first," "second," etc. can include one or more such features, explicitly or implicitly, unless otherwise indicated in the description of the embodiments of the present application. In the description of the embodiments of the present application, the meaning of "a plurality" is two or more, unless otherwise specified.
[0029] Figure 1 A system architecture diagram of a communication system 10 is provided for the embodiments of the present application.
[0030] As shown in Figure 1 , the communication system 10 can include an electronic device 100 (which can be referred to as a first electronic device), an electronic device 200 (which can be referred to as a second electronic device), a wireless access point (AP) device 300, and the like. Among them:
[0031] The Wi-Fi working mode on the electronic device 100 can be a dual band single concurrent (DBSC) mode, not a dual band dual concurrent (DBDC) mode. Among them, the DBSC mode means that the electronic device 100 can contain two complete baseband processing modules and one complete radio frequency (RF) front end, which can be selected to work on the 2.4 GHz frequency band (referred to as 2.4G frequency band) or the 5 GHz frequency band (referred to as 5G frequency band). Although the baseband processing modules support the 2.4 GHz frequency band and the 5 GHz frequency band respectively, since the RF front end can only stably select one frequency band for work, the DBSC can only transmit the Wi-Fi service of the 2.4 GHz frequency band and the Wi-Fi service of the 5 GHz frequency band through time-division transmission. The DBDC mode means that if the electronic device contains two complete baseband processing modules and two complete RF front ends, the electronic device can simultaneously perform the Wi-Fi service of the 2.4 GHz frequency band and the Wi-Fi service of the 5 GHz frequency band.
[0032] The electronic device 100 can establish a wireless communication connection with the AP device 300. In the embodiments of the present application, the wireless communication connection established between the electronic device 100 and the AP device 300 can be a wireless fidelity (Wi-Fi) connection in the 2.4G frequency band.
[0033] The electronic device 100 can establish a wireless communication connection with the electronic device 200. In the embodiments of the present application, the wireless communication connection established between the electronic device 100 and the electronic device 200 can be a Wi-Fi connection in the 5G frequency band, and the Wi-Fi service in the 5G frequency band is based on the Wi-Fi connection in the 5G frequency band. For example, the electronic device 100 can perform a network sharing service (also referred to as a Wi-Fi hotspot service) with the electronic device 200, that is, the electronic device 100 converts the received cellular network signal (for example, a 3G cellular network signal, a 4G cellular network signal, etc.) into a Wi-Fi signal for external transmission, so that the electronic device 200 can connect to the Wi-Fi signal through the wireless communication module on the electronic device 200, and establish a Wi-Fi connection in the 5G frequency band with the electronic device 100, thereby accessing the Internet. For another example, the electronic device 100 can establish a WLAN direct connection in the 5G frequency band with the electronic device 200, that is, the electronic device 100 and the electronic device 200 can establish a Wi-Fi connection in the 5G frequency band without a wireless access point device, and perform a peer to peer (P2P) data transmission service (for example, a screen projection service, a keyboard and mouse sharing service, etc.) based on the WLAN direct connection.
[0034] In the embodiments of the present application, Figure 1 The present application is only illustratively explained and does not constitute any limitation on the present application. In other implementations, the AP device 300 can also be an electronic device of the same type as the electronic device 100 and the electronic device 200, and the present application does not limit this.
[0035] Figure 2 A wireless fidelity 5GHz channel distribution diagram is provided in the embodiments of the present application.
[0036] As Figure 2 shown, in actual applications, if all Wi-Fi devices use the same frequency band, they are easy to interfere with each other, so it is necessary to divide the frequency band into multiple channels (channels can also be referred to as passages, which are data signal transmission passages using electromagnetic waves as transmission carriers) to disperse the devices. The Institute of Electrical and Electronics Engineers (IEEE) has proposed a division standard. For example, according to the channel division rules in China, the channels in the 5GHz frequency band can be divided into licensed channels and unlicensed channels, and the division results can be referred to as Figure 1Each channel has a bandwidth of 20 MHz. The channels in the 5 GHz band also support link aggregation, and two channels or four channels can be aggregated into one channel, where the bandwidth of the aggregated channel can be 40 MHz or 80 MHz, and so on. Figure 1 The black blocks represent unlicensed channels, i.e., channels that can be used without obtaining a license. The frequency range of the unlicensed channels includes 5.17 GHz-5.33 GHz, and the channels in this frequency range include channel 36, channel 40, channel 44, channel 48, channel 52, channel 56, channel 60, and channel 64. The frequency range of the unlicensed channels also includes 5.735 GHz-5.825 GHz, and the available channels in this frequency range include channel 149, channel 153, channel 157, channel 161, and channel 165. Figure 1 The channels in the remaining frequency ranges (white blocks) are licensed channels, i.e., channels that can be used only after obtaining a license.
[0037] The unlicensed channels can include open channels (also referred to as general channels) and radar channels. The frequency range of the open channels can include 5.17 GHz-5.25 GHz, and the channels in this frequency range include channel 36, channel 40, channel 44, and channel 48. The frequency range of the open channels can also include 5.735 GHz-5.825 GHz, and the channels in this frequency range include channel 149, channel 153, channel 157, channel 161, and channel 165. The frequency range of the radar channels includes 5.25 GHz-5.33 GHz, and the channels in this frequency range include channel 52, channel 56, channel 60, and channel 64. A device that wants to use the radar channels must have a dynamic frequency selection (DFS) function, and can use the radar channels only after passing the DFS detection. In this embodiment of this application, the radar channels can be referred to as DFS channels.
[0038] In some countries and regions, the licensed channels and the unlicensed channels in the 5 GHz band are divided and classified differently. Figure 1 The unlicensed channels in the 5 GHz band can also include indoor channels. For example, the indoor channels can include channel 36, channel 40, channel 44, channel 48, channel 52, channel 56, channel 60, and channel 64. Since the indoor channels can be used by radar signals and the like, a device that wants to use the indoor channels must have a function of detecting whether the device is located indoors, and can use the indoor channels only after detecting that the device is located indoors. In this embodiment of this application, the wireless access device can use the indoor channels. In some countries and regions, the indoor channels in the 5 GHz band can also include the radar channels in the 5 GHz band, for example, channel 52-channel 64 are both indoor channels and radar channels.
[0039] DFS channels usually have priority to transmit designated radar signals, such as radar signals transmitted by military radars, satellite communications, and weather radars.
[0040] When the DFS channel is transmitting a radar signal, the electronic device 100 and the electronic device 200 should remain silent on the DFS channel and cannot transmit a 5G-band Wi-Fi signal on the DFS channel. When the DFS channel is not transmitting a radar signal, the electronic device 100 and the electronic device 200 can transmit a 5G-band Wi-Fi signal on the DFS channel.
[0041] Therefore, if the electronic device 100 and the electronic device 200 transmit a 5G-band Wi-Fi signal on a radar channel, radar signal detection and power control are required. The electronic device 100 and the electronic device 200 can detect a radar signal through a channel availability check process (CAC) to avoid electromagnetic interference with the radar signal when the DFS channel is used. For example, the electronic device 100, the parameters involved in radar signal detection should meet the regulations, as shown in Table 1 below:
[0042] Table 1
[0043]
[0044] As shown in Table 1, the channel availability detection time is 60 seconds, that is, the detection time of the electronic device 100 on the radar signal on the DFS channel lasts for 60 seconds; the channel migration time is 10 seconds, that is, the electronic device 100 should stop signal transmission on the DFS channel within 10 seconds after the radar signal on the DFS channel stops transmitting; the channel closed transmission time is 1 second, that is, from the start of the radar signal stop transmitting, the total time of the electronic device 100 transmitting a signal on the DFS channel cannot exceed 1 second; and the non-occupied period is 30 minutes, that is, the electronic device 100 cannot transmit a signal on the DFS channel within 30 minutes after detecting a radar signal on the DFS channel.
[0045] In the embodiments of the present application, the values of the parameters in Table 1 are only examples, and in other implementations, the parameters can have values different from those in Table 1, which are not limited in the present application.
[0046] Figure 3 A scene diagram of a wireless communication connection is provided in the embodiments of the present application.
[0047] As Figure 3As shown in (a) of FIG. 1, the electronic device 100 and the electronic device 200 can establish a Wi-Fi connection of the 5G frequency band on the DFS channel, and at this time, the electronic device 100 and the electronic device 200 can transmit signals on the DFS channel. If the electronic device 100 or the electronic device 200 needs to transmit a Wi-Fi signal of the 5G frequency band on the DFS channel, the sending end (i.e., the electronic device sending data, which can be the electronic device 100 or the electronic device 200) needs to perform radar signal detection on the DFS channel, and the parameter conditions involved in the radar signal detection need to meet the examples in Table 1.
[0048] As shown in (a) of FIG. 1, the electronic device 100 and the electronic device 200 can establish a Wi-Fi connection of the 5G frequency band on the DFS channel, and at this time, the electronic device 100 and the electronic device 200 can transmit signals on the DFS channel. If the electronic device 100 or the electronic device 200 needs to transmit a Wi-Fi signal of the 5G frequency band on the DFS channel, the sending end (i.e., the electronic device sending data, which can be the electronic device 100 or the electronic device 200) needs to perform radar signal detection on the DFS channel, and the parameter conditions involved in the radar signal detection need to meet the examples in Table 1. Figure 3 As shown in (b) of FIG. 1, after the electronic device 100 and the electronic device 200 establish a Wi-Fi connection of the 5G frequency band on the DFS channel, if the electronic device 100 and the AP device 300 establish a Wi-Fi connection of the 2.4G frequency band at this time, the electronic device 100 needs to transmit a Wi-Fi signal of the 2.4G frequency band and a Wi-Fi signal of the 5G frequency band in time, for example, the electronic device transmits a Wi-Fi signal of the 2.4G frequency band at T1, and transmits a Wi-Fi signal of the 5G frequency band at T2, and T1 and T2 are not the same time. The electronic device 100 transmits a Wi-Fi signal of the 2.4G frequency band, and needs to switch to a Wi-Fi channel of the 2.4G frequency band, in this case, the electronic device 100 cannot detect radar signals on the DFS channel, and thus cannot meet the above-mentioned parameter conditions, and thus in some application scenarios, if the electronic device 100 and the electronic device 200 establish a Wi-Fi connection of the 5G frequency band on the DFS channel, the electronic device 100 and the AP device 300 are not allowed to establish a Wi-Fi connection of the 2.4G frequency band.
[0049] For example, if the electronic device 100 transmits a Wi-Fi signal of the 2.4G frequency band on the Wi-Fi channel of the 2.4G frequency band at T3, and at this time, there is a radar signal on the DFS channel, the electronic device 100 cannot detect the radar signal at T3. At T4, the electronic device 100 switches back to the DFS channel to transmit a Wi-Fi signal of the 5G frequency band, and needs to detect a radar signal for 60 seconds. Generally, the switching between a Wi-Fi signal of the 2.4G frequency band and a Wi-Fi signal of the 5G frequency band is frequent, and if the electronic device 100 needs to detect a radar signal for 60 seconds every time it switches back to the DFS channel to transmit a Wi-Fi signal of the 5G frequency band, the data sending delay of the electronic device 100 will be long, and the time cost will be greatly increased, and thus in some application scenarios, if the electronic device 100 and the electronic device 200 establish a Wi-Fi connection of the 5G frequency band on the DFS channel, the electronic device 100 and the AP device 300 are not allowed to establish a Wi-Fi connection of the 2.4G frequency band.
[0050] Therefore, the application provides a wireless communication method, which comprises: when the electronic device 100 and the electronic device 200 establish a Wi-Fi connection on a 5G frequency band, the electronic device 100 can transmit data with the electronic device 200 using a DFS channel; when the electronic device 100 and the electronic device 200 establish a Wi-Fi connection on a 5G frequency band, and the electronic device 100 and the AP device 300 establish a Wi-Fi connection on a 2.4G frequency band, the electronic device 100 sends data to the electronic device 200 through a non-DFS channel. Alternatively, the electronic device 100 and the electronic device 200 establish a Wi-Fi connection on a 5G frequency band on a non-DFS channel.
[0051] The wireless communication method can be implemented to enable the electronic device 100 to establish a Wi-Fi connection on a 2.4G frequency band with the AP device 300 after the electronic device 100 and the electronic device 200 establish a Wi-Fi connection on a 5G frequency band on a DFS channel, so that the electronic device 100 can perform different services with different electronic devices through the Wi-Fi connection on a 2.4G frequency band and the Wi-Fi connection on a 5G frequency band, thereby expanding the use scenarios of the electronic device 100 and improving the service processing efficiency of the electronic device 100.
[0052] Figure 4 A specific flowchart of a wireless communication method provided by the application embodiment is shown.
[0053] As shown in Figure 4 , the specific flow of the wireless communication method can include:
[0054] S401: The electronic device 100 and the electronic device 200 establish a Wi-Fi connection on a 5G frequency band on a DFS channel.
[0055] The Wi-Fi connection on the 5G frequency band can also be referred to as the first Wi-Fi connection. In this flow, the DFS channel can be referred to as the second channel.
[0056] In some application scenarios, the DFS channel can be a 80MHz bandwidth channel composed of channels 52 to 64.
[0057] S402: The electronic device 100 and the electronic device 200 transmit data using the DFS channel.
[0058] At this time, the electronic device 100 can send data to the electronic device 200 using the DFS channel, or receive data sent by the electronic device 200 using the DFS channel.
[0059] S403: The electronic device 100 and the AP device 300 establish a Wi-Fi connection on a 2.4G frequency band.
[0060] The 2.4G frequency band Wi-Fi connection can also be referred to as a second Wi-Fi connection.
[0061] S404: The electronic device 100 determines that the electronic device 100 and the electronic device 200 switch the channel of the 5G frequency band Wi-Fi connection from a DFS channel to a non-DFS channel.
[0062] The non-DFS channel is a channel that does not include a radar channel. In this process, the non-DFS channel can also be referred to as a first channel.
[0063] For example, the non-DFS channel can be an 80Mhz bandwidth channel with channel 36 as the primary channel (such as a channel composed of channel 36 to channel 48), or an 80Mhz bandwidth channel with channel 149 as the primary channel (such as a channel composed of channel 149 to channel 161). In the 80Mhz bandwidth channel, the channels other than the primary channel are referred to as secondary channels or auxiliary channels (for example, channel 40, channel 44, channel 48, or channel 153, channel 157, channel 161). The primary channel is used to send management frames and control frames, and the secondary channel is used to send data frames.
[0064] S405: The electronic device 100 sends a first beacon frame. The first beacon frame is used to trigger the electronic device 200 to switch the channel of the 5G frequency band Wi-Fi connection from a DFS channel to a non-DFS channel.
[0065] Specifically, the electronic device 100 can switch the channel of the 5G frequency band Wi-Fi connection from a DFS channel to a non-DFS channel, and through the channel switch announcement (CSA) manner, the electronic device 200 also switches the channel of the 5G frequency band Wi-Fi connection from a DFS channel to a non-DFS channel. The electronic device 100 can send a first beacon frame to trigger the electronic device 200 to switch the channel of the 5G frequency band Wi-Fi connection from a DFS channel to a non-DFS channel.
[0066] For example, the electronic device 100 can send a first beacon frame to trigger the electronic device 200 to switch the channel of the 5G frequency band Wi-Fi connection from a DFS channel to a non-DFS channel. Figure 5As shown, the first beacon frame (Beacon) can include: an extended channel switch announcement information element (also referred to as ECSA element, extended channel switch announcement element format), a channel switch wrapper information element (also referred to as CSW element, channel switch element format), the CSW element can include a wide bandwidth channel switch sub-element (also referred to as WBCS element, wide bandwidth channel switch element format), and the like. Specifically:
[0067] 1. The ECSA element can include: an element ID (Element ID), 1 byte in length, used to indicate that the element is an ECSA element; an element length (Length), 1 byte in length, used to indicate the total length of the ECSA element; a channel switch mode (Channel Switch Mode), 1 byte in length, used to indicate any restrictions on the transmission mode before the channel switch; a new operating class field (New Operating Class), 1 byte in length, set to the operating class number after the channel switch, used to indicate the operating type after the channel switch; a new channel number (New Channel Number), 1 byte in length, used to indicate the number of the new channel after the channel switch (the new channel in the embodiment of the application is a non-DFS channel after the switch); a channel switch timing (Channel Switch Count), 1 byte in length, used to indicate the time when the channel switch occurs.
[0068] 2. The CSW element can include: an element ID (Element ID), 1 byte in length, used to indicate that the element is a CSW element; an element length (Length), 1 byte in length, used to indicate the total length of the CSW element; a new country sub-element (New Country subelement), variable length, used to indicate the country, operating type, and the like of the base station subsystem BSS after the channel switch; a wide bandwidth channel switch sub-element (Wide Bandwidth Channel Switch subelement), variable length, used to indicate the bandwidth and the like of the new channel; a new transmit power envelope sub-element (New Transmit Power Envelope subelement), variable length, used to indicate the power parameters for the BSS after the channel switch.
[0069] 3. The WBCS information element can include: an element ID, 1 byte in length, indicating that the information element is a WBCS information element; an element length, 1 byte in length, indicating the total length of the WBCS information element; a new channel width, 1 byte in length, indicating the bandwidth of the new channel; a new channel center frequency segment 0 and a new channel center frequency segment 1, each 1 byte in length, indicating the center frequency segment of the new channel.
[0070] S406: The electronic device 100 sends data to the electronic device 200 using the non-DFS channel.
[0071] In the embodiments of the present application, since the electronic device 100 sends data to the electronic device 200 using the non-DFS channel at this time, the electronic device 100 no longer needs to detect radar signals on the DFS channel. The electronic device 100 can perform different services with different electronic devices through the 2.4G frequency band Wi-Fi connection and the 5G frequency band Wi-Fi connection, thereby expanding the use scenarios of the electronic device 100 and improving the service processing efficiency of the electronic device 100.
[0072] In some implementations, if in the S401 step, the electronic device 100 and the electronic device 200 establish a 5G frequency band Wi-Fi connection on the channel A (i.e., the channel A is bundled by the DFS channel and the non-DFS channel) including but not limited to the DFS channel, when the electronic device 100 and the AP device 300 establish a 2.4G frequency band Wi-Fi connection, the electronic device 100 can also implement the described method. Figure 4 For example, if the electronic device 100 and the electronic device 200 establish a 5G frequency band Wi-Fi connection on the 160MHz bandwidth channel with the channel 36 as the main channel, the channels 36-48 (non-DFS channels) and the channels 52-64 (DFS channels) bundled, when the electronic device 100 and the AP device 300 establish a 2.4G frequency band Wi-Fi connection, the electronic device 100 can also implement the described method. Figure 4 For example, if the electronic device 100 and the electronic device 200 establish a 5G frequency band Wi-Fi connection on the 160MHz bandwidth channel with the channel 36 as the main channel, the channels 36-48 (non-DFS channels) and the channels 52-64 (DFS channels) bundled, when the electronic device 100 and the AP device 300 establish a 2.4G frequency band Wi-Fi connection, the electronic device 100 can also implement the described method.
[0073] Figure 6 Another specific flowchart of a wireless communication method provided by the embodiments of the present application is shown.
[0074] As Figure 6 shown, the specific flow of the wireless communication method can include:
[0075] S601: The electronic device 100 and the electronic device 200 establish a Wi-Fi connection on a 5G frequency band on channel 1. Wherein, the channel 1 can include DFS channels and non-DFS channels.
[0076] Wherein, the Wi-Fi connection on the 5G frequency band can also be referred to as the first Wi-Fi connection. In this flow, the channel 1 can be referred to as the second channel, and the non-DFS channel in the channel 1 can be referred to as the first channel.
[0077] Specifically, the channel 1 can include DFS channels and non-DFS channels, that is, the channel 1 is bundled by DFS channels and non-DFS channels, but the primary channel of the channel 1 is included in the non-DFS channel. For example, the channel 1 can be a 160MHz bandwidth channel with channel 36 as the primary channel, and channel 36~channel 48 (non-DFS channel) and channel 52~channel 64 (DFS channel) bundled.
[0078] S602: The electronic device 100 and the electronic device 200 transmit data using the channel 1.
[0079] At this time, the electronic device 100 can send data to the electronic device 200 using the DFS channel and / or the non-DFS channel in the channel 1, or receive data sent by the electronic device 200 using the DFS channel and / or the non-DFS channel in the channel 1. At this time, the sending end (that is, the electronic device sending data, which can be the electronic device 100 or the electronic device 200) needs to detect the radar signal on the DFS channel.
[0080] S603: The electronic device 100 and the AP device 300 establish a Wi-Fi connection on a 2.4G frequency band.
[0081] Wherein, the Wi-Fi connection on the 2.4G frequency band can also be referred to as the second Wi-Fi connection.
[0082] S604: The electronic device 100 sends data to the electronic device 200 through the non-DFS channel in the channel 1.
[0083] At this time, the electronic device 100 establishes a Wi-Fi connection on the 5G band with the electronic device 200 and a Wi-Fi connection on the 2.4G band with the AP device 300, in order to avoid the problem that the electronic device 100 cannot detect the radar signal when transmitting the Wi-Fi signal on the 2.4G band, resulting in the electronic device 100 switching back to channel 1 to select a DFS channel to transmit the Wi-Fi signal on the 5G band, thereby interfering with the radar signal. Therefore, in this scenario, the electronic device 100 transmits data to the electronic device 200 through a non-DFS channel in channel 1.
[0084] Specifically, the electronic device 100 can transmit a physical frame 1 (which can be referred to as a first physical frame) to the electronic device 200 through a non-DFS channel in channel 1, and the physical frame 1 can include an identifier 1 (which can be referred to as a first identifier) and data. The identifier 1 can be used to indicate that the electronic device 100 transmits the data in the physical frame 1 using the non-DFS channel in channel 1. For example, the physical frame 1 can be an HE SU PPDU, and the identifier 1 can be located in an HE-SIG-A field in the HE SU PPDU.
[0085] In different application scenarios, the identifier 1 can be located in different fields in the physical frame 1, for example, as shown in Tables 2, 3, and 4:
[0086] Table 2
[0087]
[0088] As can be seen from Table 2, the identifier 1 can be located in the VHT-SIG-A field, occupying B0-B1 bytes, with a length of 2 bytes. The value 0 represents a channel bandwidth of 20MHz, 1 represents a channel bandwidth of 40MHz, 2 represents a channel bandwidth of 80MHz, and 3 represents a channel bandwidth of 160MHz and 80+80MHz.
[0089] Table 3
[0090]
[0091]
[0092] From Table 3, the identification 1 can be located in the HE-SIG-A field, occupies B19-B20 bytes, length is 2 bytes, in the HE SU PPDU, the value 0 represents the channel bandwidth 20MHz, 1 represents the channel bandwidth 40MHz, 2 represents the channel bandwidth 80MHz, 3 represents the channel bandwidth 160MHz and 80+80MHz; in the HE ER SU PPDU, if it is 242-tone RU (i.e. a resource unit is composed of 242 subcarriers), it is set to 0, if it is 106-tone RU (a resource unit is composed of 106 subcarriers) in the main frequency 20MHz higher frequency, it is set to 1.
[0093] Table 4
[0094]
[0095]
[0096] From Table 4, the identification 1 can be located in the U-SIG-1 part of the U-SIG field, occupies B3-B5 bytes, length is 3 bytes, 0 represents 20MHz, 1 represents 40MHz, 2 represents 80MHz, 3 represents 160MHz, 4 represents 320MHz-1, 5 represents 320MHz-2, 6 and 7 are verification values. Among them, 320MHz-1 represents a channel with a bandwidth of 320MHz and a center frequency of 31MHz, 95MHz and 195MHz, and 320MHz-1 represents a channel with a bandwidth of 320MHz and a center frequency of 63MHz, 127MHz and 191MHz.
[0097] From the identification 1 shown in the above Table 2, Table 3 and Table 4, it can be seen that in the example of the embodiment of the application, the identification 1 directly identifies the bandwidth of the channel, and generally, taking the 160MHz bandwidth channel formed by bundling the main channel channel 36, channel 36~channel 48 (non-DFS channel) and channel 52~channel 64 (DFS channel) as an example, based on the Table 2 example, the value of the identification 1 can be set to 2, based on the Table 3 example, the value of the identification 1 can be set to 2, and based on the Table 4 example, the value of the identification 1 can be set to 2, indicating that the electronic device 100 sends data to the electronic device 200 through the 80MHz bandwidth channel. However, since the channel used by the electronic device must include the main channel, therefore, the 80MHz channel must include the channel 36 (main channel), that is, the 80MHz bandwidth channel is formed by bundling the channel 36~channel 48 (non-DFS channel), therefore, the identification 1 can indicate that the electronic device 100 sends data to the electronic device 200 through the non-DFS channel in the channel 1.
[0098] S605: The electronic device 100 receives the data sent by the electronic device 200 through the channel 1.
[0099] In this scenario, although the electronic device 100 sends data to the electronic device 200 through the non-DFS channel in the channel 1, the electronic device 100 can receive the data sent by the electronic device 200 through all channels included in the channel 1. At this time, the electronic device 100 does not detect the radar signal in the DFS channel, while the electronic device 200 detects the radar signal in the DFS channel.
[0100] In the embodiments of the present application, Tables 2, 3 and 4 are only used to exemplarily explain the present application and do not constitute any limitation.
[0101] Figure 7 The specific flowchart of another wireless communication method provided in the embodiments of the present application is shown.
[0102] As shown in the specific flowchart of the wireless communication method. Figure 7 The specific flowchart of the wireless communication method can include:
[0103] S701: The electronic device 100 scans one or more Wi-Fi channels of the 5G frequency band.
[0104] The one or more Wi-Fi channels of the 5G frequency band can include one or more non-DFS channels and DFS channels. The non-DFS channel and the DFS channel are described in the foregoing embodiments.
[0105] S702: The electronic device 100 establishes a 5G frequency band Wi-Fi connection with the electronic device 200 on the channel 3. The channel 3 is a non-DFS channel.
[0106] Specifically, in one implementation, the electronic device 100 can record the scanned one or more Wi-Fi channels of the 5G frequency band as a first record table, and then the electronic device 100 selects the non-DFS channel (for example, channel 3) with the lowest signal interference / highest signal strength in the first record table to establish a 5G frequency band Wi-Fi connection with the electronic device 200. In this process, the channel 3 can be referred to as the first channel.
[0107] In another implementation, the electronic device 100 can record the non-DFS channels in the scanned one or more Wi-Fi channels of the 5G frequency band as a first record table, and then the electronic device 100 selects the channel (for example, channel 3) with the lowest signal interference / highest signal strength in the first record table to establish a 5G frequency band Wi-Fi connection with the electronic device 200.
[0108] S703: The electronic device 100 and the AP device 300 establish a Wi-Fi connection on the 2.4G frequency band.
[0109] The Wi-Fi connection in this 2.4G band can also be referred to as the second Wi-Fi connection.
[0110] S704: Electronic device 100 transmits data with electronic device 200 through channel 3.
[0111] Since electronic device 100 establishes a 5G band Wi-Fi connection with electronic device 200 on a non-DFS channel, it does not need to detect radar signals on the DFS channel. Therefore, the establishment of a 2.4G band Wi-Fi connection between electronic device 100 and AP device 300 will not affect the Wi-Fi service between electronic device 100 and electronic device 200.
[0112] In some implementations, optionally, when electronic device 100 and AP device 300 establish a 2.4G band Wi-Fi connection, electronic device 100 can determine whether it supports DBDC. Specifically, if electronic device 100 reads identifier 2 corresponding to DBDC, it determines that electronic device 100 supports DBDC. If electronic device 100 reads identifier 3 corresponding to DBSC, it determines that electronic device 100 does not support DBDC, but rather DBSC. If electronic device 100 does not support DBDC, then electronic device 100 can implement the above... Figure 4 , Figure 6 or Figure 7 The process described above; if electronic device 100 supports DBDC, then electronic device 100 can simultaneously perform Wi-Fi services in the 2.4G band and the 5G band. At this time, electronic device 100 and electronic device 200 can still transmit data through the DFS channel.
[0113] In some implementations, electronic device 100 can first establish a 2.4GHz Wi-Fi connection with AP device 300, and then establish a 5GHz Wi-Fi connection with electronic device 200. In this case, electronic device 100 and electronic device 200 can implement... Figure 7 S701 to S702 and S704.
[0114] Figure 8 This is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application.
[0115] The hardware structure of electronic device 200 can be referred to the hardware structure of electronic device 100, and will not be described in detail here.
[0116] like Figure 8As shown, the electronic device 100 can include a processor 801, a memory 802, a wireless communication module 803, a display screen 804, a camera 805, an audio module 806 (optional), and a microphone 807 (optional), which can be connected through a bus.
[0117] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can also include more or fewer components than those shown, or combine certain components, or split certain components, or different component arrangements. Figure 8 It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can also include more or fewer components than those shown, or combine certain components, or split certain components, or different component arrangements. Figure 8 The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0118] The processor 801 can include one or more processor units, for example, the processor 801 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors. The controller can generate operation control signals according to instruction operation codes and timing signals, complete the control of fetching instructions and executing instructions.
[0119] The processor 801 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 801 is a cache memory. The memory can save instructions or data that the processor 801 has just used or repeatedly uses. If the processor 801 needs to use the instructions or data again, it can directly call from the memory. Avoiding repeated access, reducing the waiting time of the processor 801, thus improving the efficiency of the system.
[0120] In some embodiments, the processor 801 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc.
[0121] The memory 802 is coupled to the processor 801, for storing various software programs and / or sets of instructions. In specific implementations, the memory 802 can include a volatile memory, such as a random access memory (RAM), and can also include a non-volatile memory, such as a ROM, a flash memory, a Hard Disk Drive (HDD) or a Solid State Drive (SSD), or a combination of the above. The memory 802 can also store some program codes to facilitate the processor 801 to invoke the program codes stored in the memory 802 to implement the implementation methods of the embodiments of the present application in the electronic device 100. The memory 802 can store an operating system, such as an embedded operating system, e.g., uCOS, VxWorks, RTLinux, etc.
[0122] The wireless communication module 803 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 803 can be one or more devices integrating at least one communication processing module. The wireless communication module 803 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signal to the processor 801. The wireless communication module 803 can also receive signals to be transmitted from the processor 801, modulate and amplify them, and then convert them into electromagnetic waves for radiation via the antenna. In some embodiments, the electronic device 100 can also communicate via the Bluetooth module in the wireless communication module 803 (… Figure 8 (not shown), WLAN module ( Figure 8 (Not shown) The device transmits signals to detect or scan devices near electronic device 100 and establishes wireless communication connections with those devices to transmit data. The Bluetooth module can provide solutions for one or more Bluetooth communication methods, including basic rate / enhanced data rate (BR / EDR) or Bluetooth Low Energy (BLE), and the WLAN module can provide solutions for one or more WLAN communication methods, including Wi-Fi direct, Wi-Fi LAN, or Wi-Fi softAP.
[0123] The display screen 804 can be used to display images, videos, etc. The display screen 804 can include a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 can include 1 or N display screens 804, N being a positive integer greater than 1.
[0124] The camera 805 is used to capture still images or videos. An object generates an optical image through a lens and projects the optical image to a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to an ISP to convert into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into an image signal in a standard format such as RGB, YUV, etc. In some embodiments, the electronic device 100 can include 1 or N cameras 805, N being a positive integer greater than 1.
[0125] The audio module 806 can be used to convert digital audio information into an analog audio signal output, and can also be used to convert an analog audio input into a digital audio signal. The audio module 806 can also be used to encode and decode audio signals. In some embodiments, the audio module 806 can also be disposed in the processor 801, or some functional modules of the audio module 806 can be disposed in the processor 801.
[0126] Microphone 807, also known as a "microphone" or "voice transducer," is used to collect sound signals from the environment surrounding the electronic device. It then converts these sound signals into electrical signals, which are processed through a series of steps, such as analog-to-digital conversion, to obtain a digital audio signal that can be processed by the processor 801 of the electronic device. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to the microphone 807, inputting the sound signal into the microphone 807. The electronic device 100 may have at least one microphone 807. In some embodiments, the electronic device 100 may have two microphones 807, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, the electronic device 100 may have three, four, or more microphones 807, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions.
[0127] Electronic device 100 may also include a sensor module ( Figure 8 (Not shown in the image). The sensor module may include multiple sensor elements, such as a touch sensor (…). Figure 8 (Not shown in the image). A touch sensor can also be called a "touch device". A touch sensor can be placed on a display screen 804, and the touch sensor and the display screen 804 together form a touch screen, also called a "touchscreen". A touch sensor can be used to detect touch operations applied to or near it.
[0128] It should be noted that, Figure 8 The electronic device 100 shown is merely an illustrative explanation of the hardware structure of the electronic device provided in this application and does not constitute a specific limitation on this application.
[0129] Figure 9 This is a schematic diagram of a Wi-Fi device provided in an embodiment of this application.
[0130] The Wi-Fi device can be used in electronic device 100.
[0131] like Figure 9As shown, the Wi-Fi device can include a baseband processing module 1, a baseband processing module 2, and an RF front end. Among them, the baseband processing module 1 can be used to process the Wi-Fi signal of the 5G frequency band, the baseband processing module 2 can be used to process the Wi-Fi signal of the 2.4G frequency band, and the RF front end can include an antenna. The RF front end can select to work on the 2.4GHz frequency band (referred to as 2.4G frequency band) or the 5GHz frequency band (referred to as 5G frequency band). Although the baseband processing module 1 and the baseband processing module 2 support the 2.4GHz frequency band and the 5GHz frequency band respectively, since the RF front end can only stably select one frequency band to work, the Wi-Fi device can only receive / send the Wi-Fi signal of the 2.4GHz frequency band and the Wi-Fi signal of the 5GHz frequency band through time-sharing transmission.
[0132] In the embodiments of the present application, Figure 9 The present application is only used for exemplary explanation and does not constitute any limitation.
[0133] Figure 10 A structural schematic diagram of a communication device 1000 provided in the embodiments of the present application.
[0134] As Figure 10 shown, the communication device 1000 can be the electronic device 100, the electronic device 200 and / or the AP device 300 described in the embodiments of the present application, can be a component implementing the above method in the electronic device 100, the electronic device 200 and / or the AP device 300, or can be a chip applied in the electronic device 100, the electronic device 200 and / or the AP device 300.
[0135] As a possible product form, the communication device 1000 described in the embodiments of the present application can be realized by a general bus architecture.
[0136] As Figure 10As shown, the communication apparatus 1000 includes a processor 1001 and a transceiver 1002 connected with the processor internally. The processor 1001 is a general processor or a special processor, etc. For example, it can be a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processing unit can be used to control the communication apparatus (such as a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU, etc.), execute a computer program, and process data of the computer program. The transceiver 1002 can be referred to as a transceiving unit, a transceiver, or a transceiving circuit, etc., and is used to realize the transceiving function. The transceiver 1002 can include a receiver and a transmitter. The receiver can be referred to as a receiver or a receiving circuit, etc., and is used to realize the receiving function. The transmitter can be referred to as a transmitter or a transmitting circuit, etc., and is used to realize the transmitting function. Optionally, the communication apparatus 1000 can further include an antenna 1003 and / or a radio frequency unit (not shown). The antenna 1003 and / or the radio frequency unit can be located inside the communication apparatus 1000, or can be separated from the communication apparatus 1000, that is, the antenna 1003 and / or the radio frequency unit can be remotely deployed or distributedly deployed. Figure 10 The antenna 1003 and / or the radio frequency unit can be located inside the communication apparatus 1000, or can be separated from the communication apparatus 1000, that is, the antenna 1003 and / or the radio frequency unit can be remotely deployed or distributedly deployed.
[0137] Optionally, the communication apparatus 1000 can include one or more memories 1004, which can store instructions, that is, a computer program. The computer program can be run on the communication apparatus 1000, so that the communication apparatus 1000 executes the method described in the above method embodiments. Optionally, the memory 1004 can also store data. The communication apparatus 1000 and the memory 1004 can be separately arranged, or can be integrated together.
[0138] The processor 1001, the transceiver 1002, and the memory 1004 can be connected through a communication bus.
[0139] In a design, the processor 1001 can include a transceiver for realizing the receiving and transmitting functions. For example, the transceiver can be a transceiving circuit, or an interface, or an interface circuit. The transceiving circuit, the interface, or the interface circuit for realizing the receiving and transmitting functions can be separate, or can be integrated together. The transceiving circuit, the interface, or the interface circuit can be used for reading and writing of codes / data, or can be used for transmission or transfer of signals.
[0140] In a design, the processor 1001 can store instructions, that is, a computer program. The computer program can be run on the processor 1001, so that the communication apparatus 1000 executes the method described in the above method embodiments. The computer program can be fixed in the processor 1001, and in this case, the processor 1001 can be realized by hardware.
[0141] In an implementation, the communication apparatus 1000 can include circuitry that can implement the functions of transmitting or receiving or communicating in the foregoing method embodiments. The processor and transceiver described in the present application can be implemented on an integrated circuit (IC), an analog IC, an RFIC, a mixed-signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), positive channel metal oxide semiconductor (PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0142] The scope of the communication apparatus 1000 described in the present application is not limited thereto, and the structure of the communication apparatus 1000 can not be limited by Figure 10 The communication apparatus 1000 can be a standalone device or can be a part of a larger device. For example, the communication apparatus 1000 can be:
[0143] (1) a standalone integrated circuit (IC), or a chip, or a chip system or subsystem;
[0144] (2) a set of one or more ICs, optionally including a storage component for storing data, computer programs, etc.
[0145] (3) an ASIC, such as a Modem;
[0146] (4) a module that can be embedded within other devices;
[0147] (5) a receiver, a terminal, a smart terminal, a cellular phone, a wireless device, a handset, a mobile unit, a car device, a network device, a cloud device, an artificial intelligence device, etc.
[0148] (6) other, etc.
[0149] The processor in the embodiments of the present application can include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor, and various computing devices running software, each of which can include one or more cores for executing software instructions to perform operations or processing. The processor can be a separate semiconductor chip, or can be integrated with other circuits as a semiconductor chip, for example, it can form a SoC (System on Chip) with other circuits such as coding and decoding circuits, hardware acceleration circuits, or various bus and interface circuits, or it can be integrated as a built-in processor in an ASIC. The ASIC integrated with the processor can be packaged separately or packaged together with other circuits. In addition to including cores for executing software instructions to perform operations or processing, the processor can further include necessary hardware accelerators, such as field programmable gate arrays (FPGAs), PLDs (programmable logic devices), or logic circuits implementing special logic operations.
[0150] The memory in the embodiments of the present application can include at least one of the following types: read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, and electrically erasable programmable read-only memory (EEPROM). In some scenarios, the memory can also be a compact disc read-only memory (CDROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but not limited to.
[0151] In the above embodiments, the term "when" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "on determining" or "if detecting (a stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "on detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)" depending on the context.
[0152] In the above embodiments, all or some of the flowcharts or methods can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, the computer program product includes one or more computer instructions stored on a computer readable storage medium. When loaded and executed by a computer, the computer program instructions cause the computer to perform all or some of the flowcharts or methods described in the embodiments of the present application. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk), etc.
[0153] A person of ordinary skill in the art can understand that all or part of the flow of the above-mentioned embodiment method can be instructed by a computer program to complete the relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the flow of each method embodiment as described above. The aforementioned storage medium includes ROM or random storage memory RAM, magnetic disk or optical disk, and various program code storage media.
Claims
1. A method of wireless communication, the method comprising: Applied to a first electronic device, a wireless fidelity (Wi-Fi) working mode of the first electronic device is a dual-band single-chain (DBSC) mode, and the method comprises the following steps: The first electronic device and a second electronic device establish a first Wi-Fi connection on a second channel in a 5G frequency band; The first electronic device transmits data to the second electronic device using the second channel; The first electronic device and a third electronic device establish a second Wi-Fi connection in a 2.4G frequency band; If the second channel comprises a dynamic frequency selection (DFS) channel, when the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, the first electronic device sends data to the second electronic device on the first Wi-Fi connection using a first channel; wherein the first channel does not comprise the DFS channel.
2. The method of claim 1, wherein, The second channel does not comprise the first channel; Before the first electronic device sends data to the second electronic device on the first Wi-Fi connection using the first channel, the method further comprises the following steps: When the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, the first electronic device determines that the first electronic device and the second electronic device switch the channel of the first Wi-Fi connection from the second channel to the first channel.
3. The method of claim 2, wherein, The first electronic device switches the channel of the first Wi-Fi connection from the second channel to the first channel, specifically comprising the following steps: The first electronic device sends a first beacon frame; wherein the first beacon frame comprises the number of the first channel, the bandwidth of the first channel, and channel switching timing, the first beacon frame is used to trigger the second electronic device to switch the channel of the first Wi-Fi connection from the second channel to the first channel, and the channel switching timing is used to indicate the time when the channel switching occurs.
4. The method of claim 1, wherein, The second channel comprises the first channel and the DFS channel; The first electronic device transmits data to the second electronic device using the second channel, specifically comprising the following steps: The first electronic device transmits data to the second electronic device using the DFS channel on the second channel; The first electronic device sends data to the second electronic device on the first Wi-Fi connection using the first channel, specifically comprising the following steps: When the first electronic device and the third electronic device establish the second Wi-Fi connection in the 2.4G frequency band, the first electronic device sends data to the second electronic device using the first channel in the second channel.
5. The method of claim 4, wherein, The method further comprises the following steps: The first electronic device sends a first physical frame to the second electronic device through the first Wi-Fi connection; wherein the first physical frame comprises a first identifier and data, and the first identifier is used to indicate that the first electronic device sends the data in the first physical frame using the first channel.
6. The method according to claim 4 or 5, characterized in that, The method further comprises the following steps: The first electronic device receives data sent by the second electronic device on the second channel on the first Wi-Fi connection.
7. The method of claim 1, wherein, The method further comprises: If the second channel is a non-DFS channel, and the second channel is the same as the first channel, the first electronic device establishes a first wireless fidelity (Wi-Fi) connection with the second electronic device on the second channel in the 5G frequency band, and specifically comprises: The first electronic device scans one or more Wi-Fi channels in the 5G frequency band, wherein the one or more Wi-Fi channels in the 5G frequency band include one or more non-DFS channels and a DFS channel, and the one or more non-DFS channels include the first channel; The first electronic device establishes the first Wi-Fi connection on the first channel in the non-DFS channel.
8. An electronic device, comprising: comprise: one or more processors, one or more memories, the one or more memories being coupled to the one or more processors, and the one or more memories being configured to store a computer program, wherein the one or more processors are configured to implement a method according to any one of claims 1-7 when executing the computer program.
9. A computer-readable storage medium, characterized in that, comprise a computer program configured to implement a method according to any one of claims 1-7 when the computer program runs on a processor of an electronic device.
10. A chip system, characterized by comprise processing circuitry and interface circuitry, the interface circuitry being configured to receive code instructions and transmit the code instructions to the processing circuitry, and the processing circuitry being configured to run the code instructions to implement a method according to any one of claims 1-7.
11. A computer program product, characterised in that, The computer program product comprises a computer program configured to implement a method according to any one of claims 1-7 when the computer program runs.
Citation Information
Patent Citations
Multi-device cooperation method and related device
CN115348630A
Data transmission management method, electronic equipment and storage medium
CN117255434A