Wireless communication method for device group

By synchronously switching the frequencies of auxiliary and main equipment in the equipment group, the problems of communication continuity and stability in the equipment group are solved, seamless frequency adjustment is achieved, and wireless communication performance is improved.

CN121645494APending Publication Date: 2026-03-10HARMAN INT IND INC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In a group of devices, existing technologies struggle to effectively manage and schedule the communication tasks of multiple devices when faced with limited spectrum resources, channel conflicts, and insufficient data transmission capabilities, which impacts communication continuity and stability.

Method used

By adjusting the operating frequency of the auxiliary device to the same frequency as the main device when the network connection frequency of the main device changes, the continuity of the wireless connection is maintained, avoiding disconnection and reconnection. Automatic frequency switching is achieved by using SCC technology.

Benefits of technology

It improved the wireless communication performance of the equipment group, reduced the delay and interruption caused by frequency switching, and ensured the stability and continuity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121645494A_ABST
    Figure CN121645494A_ABST
Patent Text Reader

Abstract

The invention provides a wireless communication method and apparatus for a device group, a device, a computer program product and a computer readable storage medium. According to the method, for a device group comprising a main device and one or more auxiliary devices, when the frequency of the network connection of the main device changes, the working frequencies of the auxiliary devices and the main device are jointly adjusted to the same frequency, and the same frequency is the changed frequency of the network connection of the main device or another frequency. The frequency of the wireless connection between the primary device and the secondary device is enabled to be correspondingly changed to the first frequency, thereby maintaining the wireless connection between the secondary device and the primary device without the wireless connection between the secondary device and the primary device being disconnected and reestablished in response to channel switching of the primary device. According to the method, the wireless communication channel between the auxiliary equipment and the main equipment can be correspondingly adjusted according to the channel change of the main equipment, so that the wireless communication channel between the auxiliary equipment and the main equipment can be automatically switched along with the channel change of the main equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of wireless communication, and more specifically, to a wireless communication method, apparatus, device, computer program product, and storage medium for a group of devices. Background Technology

[0002] Against the backdrop of the rapid development of wireless communication technology, multitasking in device groups faces a series of complex technical challenges. As users increasingly demand more efficient and flexible communication methods, the current communication environment presents challenges such as limited spectrum resources, channel conflicts, and the pursuit of higher data transmission capabilities, necessitating the optimization of existing communication strategies.

[0003] A device group typically consists of a master device and one or more slave devices. The master device is responsible for connecting to the network, while the slave devices interact with the master device through various connection methods. In this architecture, effectively managing and scheduling the communication tasks of multiple devices becomes crucial for improving overall performance. This is especially important in scenarios requiring simultaneous processing of multiple tasks, ensuring that each device operates under optimal conditions.

[0004] Therefore, a wireless communication method for device groups is needed to enable performance optimization of multitasking within device groups. Summary of the Invention

[0005] To address the aforementioned issues, this disclosure designs a system where, when the network connection frequency of the master device changes, the connection between the auxiliary device and the master device follows that frequency. This eliminates the need for disconnection and reconnection between the auxiliary device and the master device, thereby optimizing the performance of the device group.

[0006] Embodiments of this disclosure provide a wireless communication method, apparatus, device, computer program product, and computer-readable storage medium for a group of devices.

[0007] Embodiments of this disclosure provide a wireless communication method for a device group, the device group including a master device and a slave device, the master device being able to connect to the slave device and other access points in the same frequency channel, the method including: when the frequency of the wireless connection between the master device and another access point changes, switching the operating frequencies of the master device and the slave device to a first frequency, so as to change the frequency of the wireless connection between the master device and the slave device to the first frequency, wherein the first frequency is the changed frequency of the wireless connection between the master device and the other access point, or another frequency.

[0008] Embodiments of this disclosure provide a wireless communication method for a device group, the device group including a master device and a slave device, the master device being capable of connecting to the slave device and other access points in the same frequency channel, the method comprising: establishing a wireless connection with a second frequency between the master device and the slave device; determining a third frequency for the wireless connection between the master device and the first access point when the master device is about to establish a wireless connection with a first access point; switching the operating frequencies of the master device and the slave device to the third frequency when the third frequency is not equal to the second frequency, thereby changing the frequency of the wireless connection between the master device and the slave device to the third frequency; and establishing a wireless connection with the third frequency between the master device and the first access point.

[0009] According to an embodiment of this disclosure, establishing a wireless connection with a second frequency between the master device and the auxiliary device includes: setting the frequency accessed by the master device to the second frequency; and having the auxiliary device connect to the master device through a frequency channel corresponding to the second frequency; wherein the second frequency is the operating frequency of the master device.

[0010] According to an embodiment of this disclosure, determining the frequency of the wireless connection between the master device and the first access point as a third frequency includes: the master device determining the operating frequency of the first access point and setting the third frequency as the operating frequency of the first access point.

[0011] According to embodiments of this disclosure, when the third frequency is not equal to the second frequency, switching the operating frequencies of the main device and the auxiliary device to the third frequency to change the frequency of the wireless connection between the main device and the auxiliary device to the third frequency includes: setting the frequency accessing the main device to the third frequency; notifying the auxiliary device to set the frequency accessing the main device to the third frequency; and switching the operating frequencies of the main device and the auxiliary device together to the third frequency.

[0012] Embodiments of this disclosure provide a wireless communication method for a device group, the device group including a master device and a slave device, the master device being capable of connecting to the slave device and other access points in the same frequency channel, the method comprising: establishing a wireless connection with a fourth frequency between the master device and a second access point; establishing a wireless connection with the fourth frequency between the master device and the slave device; and, when the frequency of the wireless connection between the master device and the second access point is to change from the fourth frequency to a fifth frequency, switching the operating frequencies of the master device and the slave device to the fifth frequency to change the frequency of the wireless connection between the master device and the slave device to the fifth frequency, and switching the operating frequency of the second access point to the fifth frequency to change the frequency of the wireless connection between the master device and the second access point to the fifth frequency.

[0013] According to an embodiment of this disclosure, establishing a wireless connection with a fourth frequency between the master device and the second access point includes: the master device determining the operating frequency of the second access point and setting the fourth frequency as the operating frequency of the second access point; and the master device connecting to the second access point through a frequency channel corresponding to the fourth frequency.

[0014] According to an embodiment of this disclosure, establishing a wireless connection with the fourth frequency between the master device and the auxiliary device includes: after the master device determines the operating frequency of the second access point and sets the fourth frequency as the operating frequency of the second access point, setting the frequency for accessing the master device as the fourth frequency; and the auxiliary device connecting to the master device through a frequency channel corresponding to the fourth frequency.

[0015] According to an embodiment of this disclosure, when the frequency of the wireless connection between the master device and the second access point changes from the fourth frequency to the fifth frequency, switching the operating frequencies of the master device and the auxiliary device to the fifth frequency to change the frequency of the wireless connection between the master device and the auxiliary device to the fifth frequency includes: setting the frequency of access to the master device to the fifth frequency when the frequency of the wireless connection between the master device and the second access point changes from the fourth frequency to the fifth frequency; notifying the auxiliary device to set the frequency of access to the master device to the fifth frequency; and switching the operating frequencies of the master device and the auxiliary device together to the fifth frequency.

[0016] This disclosure provides a wireless communication method for a device group, the device group including a master device and a slave device, the master device being able to connect to the slave device and other access points in the same frequency channel, the method comprising: establishing a wireless connection with a sixth frequency between the master device and a third access point; establishing a wireless connection with the sixth frequency between the master device and the slave device; determining whether the sixth frequency corresponds to a dynamic frequency selection channel when the wireless connection between the master device and the third access point is disconnected; initiating a channel availability check when the sixth frequency is determined to correspond to a dynamic frequency selection channel to detect whether the master device receives a radar signal with the sixth frequency; and switching the operating frequencies of the master device and the slave device to a seventh frequency when the radar signal with the sixth frequency is detected to be received by the master device, wherein the seventh frequency corresponds to a non-dynamic frequency selection channel.

[0017] Embodiments of this disclosure provide a wireless communication apparatus for a group of devices, the group of devices including a master device and a slave device, the master device being able to connect to the slave device and other access points in the same frequency channel, the apparatus including one or more modules for implementing the wireless communication method for the group of devices as described above.

[0018] Embodiments of this disclosure provide a wireless communication device for a group of devices, including: one or more processors; and one or more memories, wherein the one or more memories store a computer-executable program that, when executed by the processor, performs a wireless communication method for a group of devices according to embodiments of this disclosure.

[0019] Embodiments of this disclosure provide a computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a processor, are used to implement the wireless communication method for a group of devices as described above.

[0020] Embodiments of this disclosure provide a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform a wireless communication method for a group of devices according to embodiments of this disclosure.

[0021] The method provided in the embodiments of this disclosure is for a device group including a master device and one or more auxiliary devices. When the network connection frequency of the master device changes, the operating frequencies of the auxiliary devices and the master device are adjusted to the same frequency, wherein the same frequency is the changed frequency of the master device's network connection or another frequency. This allows the frequency of the wireless connection between the master device and the auxiliary devices to change accordingly to a first frequency, thereby maintaining the wireless connection between the auxiliary devices and the master device without requiring the wireless connection between the auxiliary devices and the master device to be disconnected and re-established in response to the channel switching of the master device. The method of the embodiments of this disclosure can adjust the wireless communication channels of the auxiliary devices and the master device accordingly based on the channel changes of the master device, so that the wireless communication channels of the auxiliary devices and the master device can automatically switch in accordance with the channel changes of the master device. This avoids the disconnection and reconnection between the auxiliary devices and the master device to switch communication frequencies when the master device's wireless connection task hops, thus optimizing the wireless communication performance of the device group. Attached Figure Description

[0022] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some exemplary embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0023] Figure 1 This is a schematic diagram illustrating wireless communication between a master device and a slave device and other access points in a device group according to an embodiment of the present disclosure;

[0024] Figure 2 This is a flowchart illustrating a wireless communication method for a group of devices according to an embodiment of the present disclosure;

[0025] Figure 3 This is a flowchart illustrating a wireless communication method for a group of devices according to an embodiment of the present disclosure;

[0026] Figure 4 This is a schematic diagram illustrating a wireless communication method for a group of devices in a first wireless communication scenario according to an embodiment of the present disclosure;

[0027] Figure 5 This is a flowchart illustrating a wireless communication method for a group of devices according to an embodiment of the present disclosure;

[0028] Figure 6 This is a schematic diagram illustrating a wireless communication method for a group of devices in a second wireless communication scenario according to an embodiment of the present disclosure;

[0029] Figure 7This is a flowchart illustrating a wireless communication method for a group of devices according to an embodiment of the present disclosure;

[0030] Figure 8 This is a schematic diagram illustrating a wireless communication method for a group of devices in a third wireless communication scenario according to an embodiment of the present disclosure;

[0031] Figure 9 A schematic diagram of a wireless communication device for a device group according to an embodiment of the present disclosure is shown; and

[0032] Figure 10 A schematic diagram of the architecture of an exemplary computing device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.

[0034] In this specification and accompanying drawings, steps and elements that are substantially the same or similar are indicated by the same or similar reference numerals, and repeated descriptions of these steps and elements are omitted. Furthermore, in the description of this disclosure, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance or order.

[0035] In embodiments of this disclosure, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to limit the invention.

[0037] With the rapid development of wireless communication technology, Single Channel Concurrency (SCC) and Multi-Channel Concurrency (MCC) are widely used in various applications to support multitasking in wireless communication. MCC technology allows devices to operate multiple tasks on multiple different frequency bands, enabling simultaneous operation on multiple bands to process tasks in parallel, providing greater flexibility and improving overall system efficiency. However, this technology requires significant time for frequency switching, resulting in higher latency and impacting user experience. On the other hand, SCC technology allows devices to execute multiple tasks simultaneously on the same frequency channel, thereby improving channel utilization efficiency and reducing costs. However, if a task requires frequency hopping, this technology necessitates the device disconnecting its current connection with other devices and re-establishing a connection, which obviously affects the continuity and stability of communication.

[0038] For a group of devices operating as a single unit, there can be one master device and one or more slave devices. The master device is responsible for connecting to the network, while the slave devices interact with the master device through various connection methods. In this architecture, effectively managing and scheduling the communication tasks of multiple devices becomes crucial for improving overall performance. This is especially important in scenarios requiring simultaneous processing of multiple tasks, ensuring that each device operates under optimal conditions.

[0039] Figure 1 This is a schematic diagram illustrating wireless communication between a master device and a slave device and other access points in a device group according to an embodiment of the present disclosure.

[0040] For the master device in the device group, it can perform multiple wireless connection tasks simultaneously on the same frequency channel to improve channel utilization efficiency and reduce communication costs. For example, the master device can connect to a network (the connection type includes, but is not limited to, Wi-Fi), or it can connect to other auxiliary devices, the connection type of which can include, but is not limited to, P2P (peer-to-peer) / SoftAP (software access point) / UWB (ultra-wideband) connections.

[0041] like Figure 1 As shown, the main device can utilize a Wi-Fi chip (e.g., Figure 1 The diagram illustrates the use of a Wi-Fi RF0 chip to wirelessly connect to other access points (e.g., adapters) in frequency band A and channel X, and connect to the network through these other access points. Other auxiliary devices can also utilize the main device's Wi-Fi chip (e.g., Wi-Fi adapter) in the same frequency band A and channel X via their own adapters (e.g., Wi-Fi adapters). Figure 1The diagram shows a connection to a host device using a Wi-Fi RF1 chip, wherein the Wi-Fi chip of the host device can be driven by the Wi-Fi chip driver component in the host device's operating system (OS).

[0042] To achieve high-performance multitasking in a device group, this disclosure proposes a solution based on SCC technology. Specifically, this disclosure proposes a wireless communication method for a device group comprising a master device and one or more auxiliary devices. When the network connection frequency of the master device changes, the operating frequencies of the auxiliary devices and the master device are adjusted to the same frequency, wherein the same frequency is the changed frequency of the master device's network connection, or another frequency. This allows the frequency of the wireless connection between the master device and the auxiliary devices to change accordingly to a first frequency, thereby maintaining the wireless connection between the auxiliary devices and the master device without requiring the wireless connection between the auxiliary devices and the master device to be disconnected and re-established in response to channel switching by the master device.

[0043] The wireless communication method disclosed herein can adjust the wireless communication channels between the auxiliary device and the main device according to the channel changes of the main device, so that the wireless communication channels between the auxiliary device and the main device can automatically switch with the channel changes of the main device. This avoids the disconnection and reconnection between the auxiliary device and the main device to switch communication frequencies when the main device's wireless connection task hops, thereby optimizing the wireless communication performance of the device group.

[0044] Figure 2 This is a flowchart illustrating a wireless communication method 200 for a group of devices according to an embodiment of the present disclosure.

[0045] According to embodiments of this disclosure, the device group may include a master device and a slave device, wherein the master device is capable of connecting to the slave device and other access points on the same frequency channel. As described above, the wireless communication method for the device group of this disclosure can be based on SCC technology, which allows devices to perform multiple tasks simultaneously on the same frequency channel to improve channel utilization efficiency and reduce costs. For example, the master device in the device group of this disclosure can simultaneously perform multiple wireless connection tasks on the same frequency channel to connect to other access points and slave devices in the device group.

[0046] In step S202, if the frequency of the wireless connection between the main device and the other access point changes, the operating frequency of the main device and the auxiliary device can be switched to a first frequency to change the frequency of the wireless connection between the main device and the auxiliary device to the first frequency. The first frequency can be the changed frequency of the wireless connection between the main device and the other access point, or another frequency.

[0047] As mentioned above, when a task of the master device requires frequency hopping, the SCC technology requires the master device to disconnect its current connection with other devices and re-establish connections with them, which causes a significant impact on the continuity and stability of communication.

[0048] Therefore, in the embodiments of this disclosure, when a task of the master device requires frequency hopping, the operating frequencies of the master device and the auxiliary device can be switched together so that the auxiliary device in the device group follows the channel of the master device.

[0049] Specifically, the wireless communication methods disclosed herein will be described in detail below for various wireless communication scenarios of the device group.

[0050] Figure 3 This is a flowchart illustrating a wireless communication method 300 for a group of devices according to an embodiment of the present disclosure. Figure 4 This is a schematic diagram illustrating a wireless communication method for a group of devices in a first wireless communication scenario according to an embodiment of the present disclosure.

[0051] like Figure 4 As shown, the first wireless communication scenario of this disclosure corresponds to a communication scenario where a secondary device first connects to a primary device via frequency X, and the primary device subsequently connects to an access point (AP) via frequency Y. As described above, the primary device can be driven and controlled by its Wi-Fi chip, connecting to the AP using a STA (Station) adapter. This connection method allows the primary device to access the Internet or other network resources. Simultaneously, the primary device can also establish a connection with the secondary device via P2P mode, where the primary device can act as the initiator (GO) of the P2P group or communicate with the secondary device as a SoftAP. The secondary device can also be driven and controlled by its Wi-Fi chip, enabling wireless communication through its Wi-Fi chip. For example, it can correspondingly adopt P2P client mode (GC) or STA mode to connect with the primary device. This configuration allows the secondary device to receive data and instructions from the primary device, forming a complete communication link. Note that in this disclosure, Wi-Fi connection is used as an example to describe the wireless communication of a device group, but this is not intended to limit the wireless communication method of this disclosure. The wireless communication method of this disclosure can also employ other communication technologies, such as, but not limited to, Zigbee.

[0052] In step S302, a wireless connection with a second frequency can be established between the master device and the auxiliary device.

[0053] First, such as Figure 4As shown in the “STA or GC connection SoftAP or GO procedure”, this connection procedure allows the establishment of a connection between the master device and the slave device with a second frequency (i.e., Figure 4 Wireless connection at frequency X).

[0054] Specifically, according to embodiments of this disclosure, establishing a wireless connection with a second frequency between the main device and the auxiliary device may include: setting the frequency accessed by the main device to the second frequency; and having the auxiliary device connect to the main device through a frequency channel corresponding to the second frequency; wherein the second frequency may be the operating frequency of the main device.

[0055] like Figure 4 As shown, the master device's P2P(GO) / SoftAP connection can add access points with an access frequency of X. That is, the access frequency of the master device is set to frequency X to allow the slave device to communicate at that frequency. Optionally, this access frequency X can be the same as the master device's operating frequency. Based on this setting, the slave device's P2P(GC) / STA connection can determine the master device by scanning and finding access points. After sending a probe request, the slave device can obtain a probe response from the master device. If the probe request is confirmed, the slave device can successfully join the group communication. Therefore, the master device and the slave device can establish a stable wireless connection on frequency X and begin data transmission.

[0056] To maintain and optimize connection quality, the master device can periodically send beacon frames to the slave device. These beacon frames can contain not only network status information but also connection parameters, time synchronization, and other control information. This allows the slave device to adjust its communication strategy based on this information, ensuring the reliability and efficiency of data transmission.

[0057] In step S304, if the master device is about to establish a wireless connection with the first access point, the frequency of the wireless connection between the master device and the first access point can be determined to be the third frequency.

[0058] Optionally, after the main device has established a communication connection with the auxiliary device, the main device can also connect to the access point (AP), and its connection frequency can be set based on the operating frequency of the access point.

[0059] According to embodiments of this disclosure, determining the frequency of the wireless connection between the master device and the first access point as a third frequency may include: the master device determining the operating frequency of the first access point and setting the third frequency as the operating frequency of the first access point.

[0060] like Figure 4As shown, the master device can establish a connection with the AP through the "STA connects to AP process". Specifically, the master device can perform an AP search while communicating with the slave device. After finding an available AP, it can send a probe request to the AP and obtain a probe response from the AP if the probe request is acknowledged. Optionally, the probe response can inform the master device of basic AP information, such as, but not limited to, operating frequency information. Based on this, the master device can analyze and determine the AP's operating frequency as frequency Y based on the probe response, and thus determine the frequency of its wireless connection with the AP as frequency Y.

[0061] In step S306, if the third frequency is not equal to the second frequency, the operating frequency of the main device and the auxiliary device can be switched to the third frequency to change the frequency of the wireless connection between the main device and the auxiliary device to the third frequency.

[0062] Therefore, when the frequency at which the master device establishes a wireless connection with the AP differs from the original communication frequency between the master device and the auxiliary device (e.g., frequency Y is not equal to frequency X), in embodiments of this disclosure, to ensure continuous communication between the master device and the auxiliary device without disconnection and reconnection while the master device switches its network connection frequency, the STA adapter in the master device can, as shown in the example... Figure 4 The “Notification Channel Follow” process shown sets the determined AP’s operating frequency Y to the master device’s P2P connection to execute the “Automatic Channel Follow Process”.

[0063] According to embodiments of this disclosure, when the third frequency is not equal to the second frequency, switching the operating frequencies of the master device and the auxiliary device to the third frequency to change the frequency of the wireless connection between the master device and the auxiliary device to the third frequency may include: setting the frequency accessing the master device to the third frequency; notifying the auxiliary device to set the frequency accessing the master device to the third frequency; and switching the operating frequencies of the master device and the auxiliary device together to the third frequency.

[0064] Optionally, during the "automatic channel following process", the master device can notify the auxiliary device of the frequency switching action via a P2P connection, for example, by sending a frequency switching synchronization message to the auxiliary device using a beacon frame, and periodically sending beacon frames to synchronize the frequency switching.

[0065] Optionally, the secondary device can wait for the frequency switching time point based on the received synchronization information. For example, the GC can wait to receive multiple cycles of beacon frames, and its synchronization switching frequency is specified by the GO. Therefore, when the predetermined switching time point arrives, the primary and secondary devices can synchronously perform frequency switching, for example, synchronously switching their operating frequencies to frequency Y. Based on this synchronous switching, the primary and secondary devices can still maintain a continuous wireless connection. Both the primary and secondary devices switch to operating on frequency Y and continue data transmission on frequency Y without needing to disconnect and reconnect.

[0066] In step S308, a wireless connection with the third frequency can be established between the master device and the first access point.

[0067] Optionally, after the frequency switching between the master device and the slave device is completed, a message indicating that the frequency switching is complete can be sent to the STA adapter in the master device to instruct the master device and the AP to complete the wireless connection through authentication and association.

[0068] Based on this, the master device and the AP can transmit data on the Y frequency.

[0069] As described above, the first wireless communication scenario of this disclosure corresponds to the situation where the frequency of the wireless connection between the master device and another access point changes from non-existent to frequency Y (i.e., the master device establishes a connection with another access point). In this first wireless communication scenario, the master device does not establish a connection with another access point before connecting to the auxiliary device, and the connection with the other access point (i.e., access point AP) causes the frequency of the wireless connection between the master device and the auxiliary device to switch.

[0070] By employing the aforementioned wireless communication method, communication delays and interruptions caused by frequency switching of the master device can be effectively reduced in this first wireless communication scenario, thereby improving the overall performance and reliability of the system. Through seamless frequency switching, the system can better cope with frequency changes and interference in dynamic environments, ensuring the stability and continuity of data transmission.

[0071] Corresponding to the first wireless communication scenario described above, the following will introduce scenarios where the main device has already established a connection with another access point before connecting to the auxiliary device, and the frequency of the wireless connection with the other access point changes after connecting to the auxiliary device; namely, the second and third wireless communication scenarios. The second wireless communication scenario corresponds to the case where the frequency of the wireless connection between the main device and the other access point changes from one frequency (e.g., frequency X) to another frequency (e.g., frequency Y) (i.e., the main device maintains a connection with the other access point but switches frequencies), while the third wireless communication scenario corresponds to the case where the frequency of the wireless connection between the main device and the other access point changes from one frequency (e.g., frequency X) to none (i.e., the main device disconnects from the other access point).

[0072] Figure 5 This is a flowchart illustrating a wireless communication method 500 for a group of devices according to an embodiment of the present disclosure. Figure 6 This is a schematic diagram illustrating a wireless communication method for a group of devices in a second wireless communication scenario according to an embodiment of the present disclosure.

[0073] like Figure 5 As shown, in step S502, a wireless connection with a fourth frequency can be established between the main device and the second access point.

[0074] According to embodiments of this disclosure, establishing a wireless connection with a fourth frequency between the master device and the second access point may include: the master device determining the operating frequency of the second access point and setting the fourth frequency as the operating frequency of the second access point; and the master device connecting to the second access point through a frequency channel corresponding to the fourth frequency.

[0075] like Figure 6 As shown, the master device can establish a connection with the access point AP via the "STA connects to AP process" using a fourth frequency (i.e., Figure 6 Wireless connection at frequency X).

[0076] Optionally, similar to the description of step S304 above, the master device may first perform a search for the AP. After finding an available AP, it may send a probe request to the AP and obtain a probe response from the AP if the probe request is acknowledged. Optionally, the probe response may inform the master device of basic information about the AP, such as, but not limited to, operating frequency information. Based on this, the master device may analyze and determine the operating frequency of the AP as frequency X based on the probe response, and thus determine the frequency (i.e., the fourth frequency) of its wireless connection with the AP as frequency X.

[0077] Therefore, after determining the AP's operating frequency, the master device and the AP can establish a wireless connection through authentication and association, and begin data transmission on that fourth frequency (e.g., frequency X). Optionally, during communication between the master device and the AP, the AP can periodically send beacon frames to the master device. These beacon frames can contain network status information, and can also convey connection parameters, time synchronization, and other control information, allowing the master device to adjust its communication strategy based on this information to ensure the reliability and efficiency of data transmission.

[0078] In step S504, a wireless connection with the fourth frequency can be established between the master device and the auxiliary device.

[0079] Optionally, in order to enable other wireless connection tasks of the master device to be performed on the same frequency channel, the STA adapter in the master device can set the determined AP operating frequency to the master device's P2P connection, so that other wireless connections of the master device can be performed at the same frequency.

[0080] According to embodiments of this disclosure, establishing a wireless connection with the fourth frequency between the master device and the auxiliary device may include: after the master device determines the operating frequency of the second access point and sets the fourth frequency as the operating frequency of the second access point, setting the frequency for accessing the master device as the fourth frequency; and the auxiliary device connecting to the master device through a frequency channel corresponding to the fourth frequency.

[0081] Optionally, such as Figure 6 As shown, the master device's P2P(GO) / SoftAP connection can add access points based on its access frequency, i.e., its access frequency is the AP frequency, allowing the slave device to communicate on that frequency. Based on this setting, the slave device's P2P(GC) / STA connection can identify the master device by scanning and searching for access points. After sending a probe request, the slave device can obtain a probe response from the master device. If the probe request is confirmed, the slave device can successfully join the group communication. Therefore, the master device and the slave device can establish a stable wireless connection on this frequency X and begin data transmission.

[0082] In step S506, if the frequency of the wireless connection between the main device and the second access point changes from the fourth frequency to the fifth frequency, the operating frequencies of the main device and the auxiliary device can be switched to the fifth frequency to change the frequency of the wireless connection between the main device and the auxiliary device to the fifth frequency, and the operating frequency of the second access point can be switched to the fifth frequency to change the frequency of the wireless connection between the main device and the second access point to the fifth frequency.

[0083] Optionally, in this second wireless communication scenario, after the master device, access point (AP), and auxiliary device have been communicating wirelessly on the same frequency channel (e.g., frequency X) for a period of time, the AP will switch to another frequency channel. Therefore, in this case, the AP can notify the master device of its upcoming frequency switching action via a Channel Switching Notification (CSA). For example, the AP can use a beacon frame to notify the master device of the frequency switching information and synchronization period.

[0084] According to embodiments of this disclosure, when the frequency of the wireless connection between the master device and the second access point changes from the fourth frequency to the fifth frequency, switching the operating frequencies of the master device and the auxiliary device to the fifth frequency to change the frequency of the wireless connection between the master device and the auxiliary device to the fifth frequency may include: setting the frequency of access to the master device to the fifth frequency when the frequency of the wireless connection between the master device and the second access point changes from the fourth frequency to the fifth frequency; notifying the auxiliary device to set the frequency of access to the master device to the fifth frequency; and switching the operating frequencies of the master device and the auxiliary device together to the fifth frequency.

[0085] Optionally, after receiving the frequency switching information, the master device can analyze and determine that the AP frequency will change to another frequency, and therefore can, for example, Figure 6 The “Notification Channel Follow” process shown assigns the other frequency to the master device’s P2P connection to perform the “Automatic Channel Follow Process”, so that the wireless connection between the master device and the slave device continues on the same other frequency.

[0086] Optionally, during the "automatic channel following process", the master device can notify the auxiliary device of the frequency switching action via a P2P connection, for example, by sending a frequency switching synchronization message to the auxiliary device using a beacon frame, and periodically sending beacon frames to synchronize the frequency switching.

[0087] Optionally, the secondary device can wait for the frequency switching time point based on the received synchronization information. For example, the GC can wait to receive multiple cycles of beacon frames, and its synchronization switching frequency is specified by the GO. Furthermore, the primary device, upon receiving a beacon frame from the AP indicating the synchronization switching frequency (i.e.,... Figure 6 After the “Switch Synchronization Frame” in the AP, you can also wait for the frequency switching time point based on the synchronization switching frequency specified by the AP.

[0088] Therefore, when the predetermined switching time arrives, such as Figure 6As shown, the AP, master device, and slave device can synchronously perform frequency switching, for example, synchronously switching their operating frequencies to frequency Y. Based on this synchronous switching, the AP and master device, as well as the master device and slave device, can still maintain continuous wireless connections. The AP, master device, and slave device all switch to frequency Y and continue data transmission on frequency Y without the need for the AP and master device, or the master device and slave device, to disconnect and reconnect.

[0089] As described above, the second wireless communication scenario describes a wireless communication method in which the frequency of the wireless connection between the master device and another access point is changed from frequency X to frequency Y. By synchronously switching the operating frequencies of the AP, master device and auxiliary device to the same frequency, a continuous communication connection can be maintained between the AP and the master device, and between the master device and the auxiliary device. This effectively reduces communication delays and interruptions caused by frequency switching between the AP and the master device, and ensures the stability and continuity of data transmission.

[0090] The following illustrates a third wireless communication scenario related to the DFS (Dynamic Frequency Selection) channel. Similar to the second wireless communication scenario, the master device first establishes a connection with another access point, and after connecting to the slave device, the connection between the master device and that other access point is disconnected.

[0091] Figure 7 This is a flowchart illustrating a wireless communication method 700 for a group of devices according to an embodiment of the present disclosure. Figure 8 This is a schematic diagram illustrating a wireless communication method for a group of devices in a third wireless communication scenario according to an embodiment of the present disclosure.

[0092] In step S702, a wireless connection with a sixth frequency can be established between the master device and the third access point.

[0093] Optionally, similar to the description of step S502 above, the master device may first connect to the AP. For example, it may first perform a search for the AP, and after finding an available AP, it may send a probe request to the AP and obtain a probe response from the AP if the probe request is acknowledged. Optionally, the probe response may inform the master device of basic information about the AP, such as, but not limited to, operating frequency information. Based on this, the master device may analyze and determine the operating frequency of the AP as frequency X based on the probe response, and thus determine the frequency (i.e., the sixth frequency) of its wireless connection with the AP as frequency X. Therefore, after determining the operating frequency of the AP, the master device and the AP can complete the wireless connection through authentication and association, and begin data transmission on the sixth frequency (e.g., frequency X).

[0094] In step S704, a wireless connection with the sixth frequency can be established between the master device and the auxiliary device.

[0095] Optionally, in order to enable other wireless connection tasks of the master device to be performed on the same frequency channel, the STA adapter in the master device can set the determined AP operating frequency to the master device's P2P connection, so that other wireless connections of the master device can be performed at the same frequency.

[0096] Optionally, such as Figure 8 As shown, the master device's P2P(GO) / SoftAP connection can add access points based on its access frequency, i.e., its access frequency is the AP frequency, allowing the slave device to communicate on that frequency. Based on this setting, the slave device's P2P(GC) / STA connection can identify the master device by scanning and searching for access points. After sending a probe request, the slave device can obtain a probe response from the master device. If the probe request is confirmed, the slave device can successfully join the group communication. Therefore, the master device and the slave device can establish a stable wireless connection on this frequency X and begin data transmission.

[0097] In step S706, it can be determined whether the sixth frequency corresponds to the dynamic frequency selection channel if the wireless connection between the master device and the third access point is disconnected.

[0098] Optionally, the STA adapter of the main device can monitor its connection status with the AP, such as continuously checking whether it has lost connection with the AP.

[0099] Optionally, after the STA adapter of the master device determines that it has disconnected from the AP through the above checks, it can notify the master device of the AP disconnection event via P2P(GO) / SoftAP connection.

[0100] Optionally, the master device may check whether its current operating frequency (i.e., the sixth frequency) corresponds to a Dynamic Frequency Selection (DFS) channel in response to the AP disconnection event.

[0101] In step S708, if it is determined that the sixth frequency corresponds to a dynamic frequency selection channel, a channel availability check can be initiated to detect whether the master device receives a radar signal with the sixth frequency.

[0102] Optionally, if the current operating frequencies of the primary and secondary devices correspond to a dynamically selected frequency channel, a CAC (Channel Availability Check) monitor can be activated to detect radar signals and determine whether other devices are communicating on the current operating frequency. The CAC monitor can focus on receiving radar signals at frequency X and its neighboring frequencies to ensure that no radar signals exist on that channel.

[0103] In step S710, if the master device detects that it has received a radar signal with the sixth frequency, the operating frequency of the master device and the auxiliary device can be switched to the seventh frequency to change the frequency of the wireless connection between the master device and the auxiliary device to the seventh frequency, wherein the seventh frequency corresponds to the non-dynamic frequency selection channel.

[0104] Optionally, when the master device detects a radar signal on this channel, it indicates that frequency X is being used. Therefore, in this case, the master device and all auxiliary devices can switch to another available non-DFS channel to protect the normal operation of the radar system and avoid interference.

[0105] This mechanism allows the master device to react promptly when a network connection is lost, maintaining the stability of the wireless network while complying with legal requirements regarding the use of DFS channels. It enables the master device to check and utilize available DFS channels when it disconnects from other network connections. This dynamic switching not only ensures the continuity and reliability of network connections but also avoids interference with critical radar systems.

[0106] As described above, using three different wireless communication scenarios as examples rather than limitations, the wireless communication method disclosed herein can be applied to wireless connection frequency checking and tracking of a group of devices in various scenarios. That is, when the network connection frequency of the master device changes, by adjusting the operating frequencies of the auxiliary device and the master device to the same frequency, wherein the same frequency is the changed frequency of the master device's network connection, or another frequency, the frequency of the wireless connection between the master device and the auxiliary device can be changed accordingly to a first frequency, thereby maintaining the wireless connection between the auxiliary device and the master device without requiring the wireless connection between the auxiliary device and the master device to be disconnected and rebuilt in response to the channel switching of the master device.

[0107] The wireless communication method described above can adjust the wireless communication channels between the auxiliary device and the main device according to the channel changes of the main device. This allows the wireless communication channels between the auxiliary device and the main device to automatically switch in response to the channel changes of the main device. This avoids the disconnection and reconnection that the auxiliary device and the main device need to perform in order to switch communication frequencies when the main device's wireless connection task hops frequency, thus optimizing the wireless communication performance of the device group.

[0108] According to another aspect of this disclosure, a wireless communication apparatus for a group of devices is provided. The wireless communication apparatus may include one or more modules for implementing the wireless communication method as described above. Optionally, these modules may perform the operations described above with reference to steps S202, S302-S308, S502-S506, and S702-S710, which will not be repeated here.

[0109] According to another aspect of this disclosure, a wireless communication device for a group of devices is also provided. Figure 9 A schematic diagram of a wireless communication device 2000 for a device group according to an embodiment of the present disclosure is shown.

[0110] like Figure 9 As shown, the wireless communication device 2000 for a group of devices may include one or more processors 2010 and one or more memories 2020. The memories 2020 store computer-readable code that, when executed by the one or more processors 2010, can perform the wireless communication method for a group of devices as described above.

[0111] The processor in the embodiments of this disclosure can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor, and can be based on an x86 architecture or an ARM architecture.

[0112] In general, the various exemplary embodiments of this disclosure can be implemented in hardware or dedicated circuitry, software, firmware, logic, or any combination thereof. Some aspects can be implemented in hardware, while others can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device. When aspects of embodiments of this disclosure are illustrated or described as block diagrams, flowcharts, or using some other graphical representation, it will be understood that the blocks, apparatuses, systems, techniques, or methods described herein can be implemented as non-limiting examples in hardware, software, firmware, dedicated circuitry or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof.

[0113] For example, the method or apparatus according to embodiments of this disclosure can also be used by means of Figure 10 The architecture of the computing device 3000 shown is used for implementation. For example... Figure 10As shown, the computing device 3000 may include a bus 3010, one or more CPUs 3020, a read-only memory (ROM) 3030, a random access memory (RAM) 3040, a communication port 3050 connected to a network, an input / output component 3060, a hard disk 3070, etc. The storage devices in the computing device 3000, such as the ROM 3030 or the hard disk 3070, may store various data or files used for processing and / or communication in the wireless communication method for the device group provided in this disclosure, as well as program instructions executed by the CPU. The computing device 3000 may also include a user interface 3080. Of course, Figure 10 The architecture shown is merely exemplary and can be omitted as needed when implementing different devices. Figure 10 One or more components in the computing device shown.

[0114] According to another aspect of this disclosure, a computer-readable storage medium is also provided. The computer storage medium stores computer-readable instructions. When the computer-readable instructions are executed by a processor, a wireless communication method for a group of devices according to embodiments of this disclosure, as described with reference to the above-drawn figures, can be performed. The computer-readable storage medium in the embodiments of this disclosure may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory used in the methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0115] Embodiments of this disclosure also provide a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform a wireless communication method for a group of devices according to embodiments of this disclosure.

[0116] Embodiments of this disclosure provide a wireless communication method, apparatus, device, computer program product, and computer-readable storage medium for a group of devices.

[0117] The method provided in the embodiments of this disclosure is for a device group including a master device and one or more auxiliary devices. When the network connection frequency of the master device changes, the operating frequencies of the auxiliary devices and the master device are adjusted to the same frequency, wherein the same frequency is the changed frequency of the master device's network connection or another frequency. This allows the frequency of the wireless connection between the master device and the auxiliary devices to change accordingly to a first frequency, thereby maintaining the wireless connection between the auxiliary devices and the master device without requiring the wireless connection between the auxiliary devices and the master device to be disconnected and re-established in response to the channel switching of the master device. The method of the embodiments of this disclosure can adjust the wireless communication channels of the auxiliary devices and the master device accordingly based on the channel changes of the master device, so that the wireless communication channels of the auxiliary devices and the master device can automatically switch in accordance with the channel changes of the master device. This avoids the disconnection and reconnection between the auxiliary devices and the master device to switch communication frequencies when the master device's wireless connection task hops, thus optimizing the wireless communication performance of the device group.

[0118] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing at least one executable instruction for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0119] In general, the various exemplary embodiments of this disclosure can be implemented in hardware or dedicated circuitry, software, firmware, logic, or any combination thereof. Some aspects can be implemented in hardware, while others can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device. When aspects of embodiments of this disclosure are illustrated or described as block diagrams, flowcharts, or using some other graphical representation, it will be understood that the blocks, apparatuses, systems, techniques, or methods described herein can be implemented as non-limiting examples in hardware, software, firmware, dedicated circuitry or logic, general-purpose hardware or controllers or other computing devices, or some combination thereof.

[0120] The exemplary embodiments of this disclosure described in detail above are merely illustrative and not restrictive. Those skilled in the art will understand that various modifications and combinations can be made to these embodiments or their features without departing from the principles and spirit of this disclosure, and such modifications should fall within the scope of this disclosure.

Claims

1. A method of wireless communication for a device group comprising a master device and a secondary device, the master device being capable of connecting to the secondary device and other access points in a same frequency channel, the method comprising: switching operating frequencies of the master device and the secondary device to a first frequency to change a frequency of a wireless connection between the master device and the secondary device to the first frequency in a case that a frequency of a wireless connection between the master device and another access point changes. 2.A method of wireless communication for a device group comprising a master device and a secondary device, the master device being capable of connecting to the secondary device and other access points in a same frequency channel, the method comprising: establishing a wireless connection between the master device and the secondary device with a second frequency; determining that a frequency of a wireless connection between the master device and a first access point is a third frequency in a case that the master device establishes a wireless connection with the first access point; switching operating frequencies of the master device and the secondary device to the third frequency to change the frequency of the wireless connection between the master device and the secondary device to the third frequency in a case that the third frequency is not equal to the second frequency; and establishing a wireless connection between the master device and the first access point with the third frequency. Establishing a wireless connection between the master device and the secondary device with a second frequency comprises: setting a frequency of accessing the master device to the second frequency; and connecting, by the secondary device, to the master device through a frequency channel corresponding to the second frequency; wherein the second frequency is an operating frequency of the master device. Determining that a frequency of a wireless connection between the master device and a first access point is a third frequency comprises: determining, by the master device, an operating frequency of the first access point, and setting the third frequency to the operating frequency of the first access point. Switching operating frequencies of the master device and the secondary device to the third frequency to change the frequency of the wireless connection between the master device and the secondary device to the third frequency in a case that the third frequency is not equal to the second frequency comprises: setting the frequency of accessing the master device to the third frequency; notifying the secondary device of setting the frequency of accessing the master device to the third frequency; and switching the operating frequencies of the master device and the secondary device to the third frequency together. 6.A method of wireless communication for a device group comprising a master device and a secondary device, the master device being capable of connecting to the secondary device and other access points in a same frequency channel, the method comprising: establishing a wireless connection between the master device and a second access point with a fourth frequency; and establishing a wireless connection between the master device and the secondary device with the fourth frequency. ​ 3. The wireless communication method of claim 2, wherein, ​ ​ ​ ​ 4. The wireless communication method of claim 2, wherein, ​ ​ 5. The wireless communication method of claim 2, wherein, ​ ​ ​ ​ ​ ​ ​ In a case where a frequency of the wireless connection between the master device and the second access point is to be changed from the fourth frequency to a fifth frequency, switching the operating frequencies of the master device and the secondary device to the fifth frequency to change the frequency of the wireless connection between the master device and the secondary device to the fifth frequency, and switching the operating frequency of the second access point to the fifth frequency to change the frequency of the wireless connection between the master device and the second access point to the fifth frequency.

7. The wireless communication method of claim 6, wherein, The establishing of the wireless connection between the master device and the second access point with the fourth frequency includes: determining, by the master device, an operating frequency of the second access point, and setting the fourth frequency as the operating frequency of the second access point; connecting, by the master device, to the second access point through a frequency channel corresponding to the fourth frequency.

8. The wireless communication method of claim 7, wherein, The establishing of the wireless connection between the master device and the secondary device with the fourth frequency includes: after determining, by the master device, the operating frequency of the second access point and setting the fourth frequency as the operating frequency of the second access point, setting a frequency of accessing the master device to the fourth frequency; connecting, by the secondary device, to the master device through a frequency channel corresponding to the fourth frequency.

9. The wireless communication method of claim 8, wherein, In a case where a frequency of the wireless connection between the master device and the second access point is to be changed from the fourth frequency to a fifth frequency, switching the operating frequencies of the master device and the secondary device to the fifth frequency to change the frequency of the wireless connection between the master device and the secondary device to the fifth frequency includes: setting a frequency of accessing the master device to the fifth frequency in a case where a frequency of the wireless connection between the master device and the second access point is to be changed from the fourth frequency to a fifth frequency; informing the secondary device of setting the frequency of accessing the master device to the fifth frequency; switching the operating frequencies of the master device and the secondary device to the fifth frequency together.

10. A wireless communication method for a device group, the device group including a master device and a secondary device, the master device being capable of connecting to the secondary device and other access points in a same frequency channel, the method comprising: establishing a wireless connection with a sixth frequency between the master device and a third access point; establishing a wireless connection with the sixth frequency between the master device and the secondary device; in a case where the wireless connection between the master device and the third access point is disconnected, determining whether the sixth frequency corresponds to a dynamic frequency selection channel; in a case where it is determined that the sixth frequency corresponds to a dynamic frequency selection channel, starting a channel availability check to detect whether the master device receives a radar signal with the sixth frequency; in a case where it is detected that the master device receives a radar signal with the sixth frequency, switching the operating frequencies of the master device and the secondary device to a seventh frequency to change the frequency of the wireless connection between the master device and the secondary device to the seventh frequency, wherein the seventh frequency corresponds to a non-dynamic frequency selection channel.

11. A wireless communication apparatus for a group of devices, the group of devices comprising a master device and a secondary device, the master device being capable of connecting to the secondary device, as well as other access points, in the same frequency channel, the apparatus comprising one or more means for implementing the method of any of claims 1-10.

12. A wireless communication device for a group of devices, comprising: one or more processors; and one or more memories having computer-executable program portions stored therein, the computer-executable program portions, when executed by the processors, performing the method of any of claims 1-10.

13. A computer program product, the computer program product being stored on a computer-readable storage medium and comprising computer instructions that, when executed by a processor, cause a computer device to perform the method of any of claims 1-10.

14. A computer-readable storage medium having computer-executable instructions stored thereon, the instructions, when executed by a processor, being used to implement the method of any of claims 1-10. ​