Device connection methods and equipment

By creating an additional virtual access point with the same network configuration when the multi-frequency merging function is detected to be disabled, the wireless network connection problem caused by different SSIDs in different frequency bands is solved, and fast multi-link connection between STA and AP in multiple frequency bands is realized.

CN119136337BActive Publication Date: 2025-11-14NOKIA TECHNOLOGIES OY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310699973.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2025-11-14
Estimated Expiration
2043-06-13

AI Technical Summary

Technical Problem

In multi-band connections between wireless access points and sites, if the multi-band merging function is disabled, the virtual access point service set identifiers for different frequency bands will be different, causing the STA and AP to be unable to establish wireless network connections on multiple frequency bands simultaneously.

Method used

When the multi-frequency merging function is detected to be disabled, an additional virtual access point with the same network configuration is created, allowing the device to establish network connections on different frequency bands and achieve multi-link connections through key negotiation.

Benefits of technology

This technology enables STA and AP to establish network connections across multiple frequency bands, even when the virtual access point service set identifiers differ across different frequency bands, thereby improving network access speed and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136337B_ABST
    Figure CN119136337B_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for device connection. The method can be applied to a first device including a first VAP and a second VAP. The method includes: when the first device detects an operation to disable multi-frequency merging functionality, creating a third VAP in a first frequency band and a fourth VAP in a second frequency band, wherein the network configuration of the third VAP is the same as that of the second VAP, and the network configuration of the fourth VAP is the same as that of the first VAP; receiving a request message from a second device requesting access to the first VAP; and after verifying the request message, allowing the second device to access both the first and fourth VAPs, thus establishing a multi-link connection with the second device. This technical solution allows the first device and the second device to establish wireless network connections across multiple frequency bands even when the SSIDs of the VAPs in different frequency bands are different.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and more specifically, to a method and apparatus for device connection. Background Technology

[0002] Currently, wireless access points (APs) and stations (STAs) can establish wireless connections across multiple frequency bands (e.g., 2.4GHz, 5GHz). In this case, it is necessary to create virtual access points (VAPs) on multiple frequency bands, and the VAPs on these multiple frequency bands need to have the same service set identifier (SSID).

[0003] APs typically offer a multi-band merging function. When this function is enabled, the SSIDs of the VAPs on multiple frequency bands of the AP will be combined into one SSID, making it easier for the wireless network connection between the STA and the AP to switch between multiple frequency bands.

[0004] Some users may disable the multi-frequency merging function. In this case, the SSIDs of the VAPs on different frequency bands of the AP are different, meaning there are multiple wireless LANs. When the STA configures the network for a device that implements AP functionality in software, the STA needs to establish a wireless network connection with the AP on the 2.4 GHz band. However, because the SSIDs of VAPs on different frequency bands are different, the STA and AP cannot establish wireless network connections on multiple frequency bands simultaneously. Summary of the Invention

[0005] This application provides a method and device for device connection, so that when the SSIDs of VAPs in different frequency bands are different, AP and STA can establish wireless network connections in multiple frequency bands.

[0006] A first aspect provides a method for device connection, the method being applied to a first device, the first device including a first Virtual Access Point (VAP) located in a first frequency band and a second VAP located in a second frequency band, wherein the Service Set Identifier (SSID) of the first VAP is different from the SSID of the second VAP, the method including: detecting an operation to disable multi-frequency merging function; creating a third VAP in the first frequency band and creating a fourth VAP in the second frequency band, wherein the network configuration of the third VAP is the same as the network configuration of the second VAP, and the network configuration of the fourth VAP is the same as the network configuration of the first VAP; receiving a request message sent by a second device, the request message being used to request access to the first VAP; after verifying that the request message is successful, allowing the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band.

[0007] Based on the embodiments of this application, the first device includes a first VAP in a first frequency band and a second VAP in a second frequency band. When the first device detects an operation to disable the multi-frequency merging function, it creates a third VAP with the same network configuration as the first VAP in the first frequency band and a fourth VAP with the same network configuration as the second VAP in the second frequency band. The first device also receives a request message from the second device requesting access to the first VAP. After verifying that the request message is successful, the first device allows the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishes a network connection with the second device in the first and second frequency bands.

[0008] In this way, even though the SSID of the first VAP in the first frequency band is different from the SSID of the second VAP in the second frequency band, the first device and the second device can still establish a multi-link connection in the first frequency band and the second frequency band.

[0009] In conjunction with the first aspect, in one implementation of the first aspect, the step of allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP after verifying that the request message has passed, and establishing a network connection with the second device in the first frequency band and the second frequency band, includes: allowing the second device to simultaneously access the first VAP and a fourth VAP with the same network configuration as the first VAP after verifying that the request message has passed, and simultaneously establishing a network connection with the second device in the first frequency band and the second frequency band.

[0010] Based on the embodiments of this application, after the verification request message is passed, the first device allows the second device to access the first VAP and the fourth VAP simultaneously, and establishes a network connection with the second device in the first frequency band and the second frequency band at the same time, thereby enabling the first device and the second device to quickly establish a multi-link connection.

[0011] In conjunction with the first aspect, in one implementation of the first aspect, the step of allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP after verifying the request message passes, and establishing a network connection with the second device in the first frequency band and the second frequency band, includes: allowing the second device to access the first VAP and establish a network connection with the second device in the first frequency band after verifying the request message passes; and allowing the second device to access the fourth VAP with the same network configuration as the first VAP and establish a network connection with the second device in the second frequency band after establishing a network connection with the second device in the first frequency band.

[0012] Based on the embodiments of this application, after the first device passes the verification request message, it allows the second device to access the first VAP and establishes a network connection with the second device in the first frequency band; subsequently, it allows the second device to access the fourth VAP with the same network configuration as the first VAP and establishes a network connection with the second device in the second frequency band. This enables the second device to access the network.

[0013] In conjunction with the first aspect, in one implementation of the first aspect, the SSID of the third VAP and the SSID of the fourth VAP are configured to be hidden.

[0014] Based on the embodiments of this application, the SSIDs corresponding to the third and fourth VAPs are configured to be hidden. Thus, although the first and second frequency bands each actually include two VAPs, from the user's perspective, each frequency band each includes only one VAP, avoiding any confusion for the user.

[0015] In conjunction with the first aspect, in one implementation of the first aspect, the network configuration includes at least an SSID, an encryption method, and an access password.

[0016] In conjunction with the first aspect, in one implementation of the first aspect, the first frequency band and the second frequency band are any two of the following frequency bands: 2.4G, 5G, 6G, 45G, and 60G.

[0017] In other cases, the frequency band may also include 5G low frequency and 5G high frequency.

[0018] In conjunction with the first aspect, in one implementation of the first aspect, the method further includes: when the verification of the request message fails, denying the second device access to the first VAP.

[0019] Based on the embodiments of this application, when the first device's verification request message fails, the second device can be denied access to the first VAP. This can improve the security of network access.

[0020] A second aspect provides a method for device connection, the method being applied to a first device, the method comprising: when the first device starts up, creating a first virtual access point (VAP) and a second VAP in a first frequency band, and creating a third VAP and a fourth VAP in a second frequency band, wherein the network configuration of the first VAP is the same as the network configuration of the fourth VAP, and the network configuration of the second VAP is the same as the network configuration of the third VAP; receiving a request message sent by a second device, the request message being used to request access to the first VAP; after verifying that the request message passes, allowing the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band.

[0021] Based on the embodiments of this application, when the first device starts up, the first device can create a first VAP and a second VAP in a first frequency band, and create a third VAP and a fourth VAP in a second frequency band; and receive a request message from the second device requesting access to the first VAP. After verifying that the request message is successful, the first device allows the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishes a network connection with the second device in the first frequency band and the second frequency band.

[0022] In this way, even though the SSID of the first VAP in the first frequency band is different from the SSID of the third VAP in the second frequency band, the first device and the second device can still establish a multi-link connection in the first frequency band and the second frequency band.

[0023] In conjunction with the second aspect, in one implementation of the second aspect, the step of allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP after verifying that the request message has passed, and establishing a network connection with the second device in the first frequency band and the second frequency band, includes: allowing the second device to simultaneously access the first VAP and a fourth VAP with the same network configuration as the first VAP after verifying that the request message has passed, and simultaneously establishing a network connection with the second device in the first frequency band and the second frequency band.

[0024] Based on the embodiments of this application, in one embodiment of this application, after the verification request message passes, the first device allows the second device to access the first VAP and the fourth VAP simultaneously, and establishes a network connection with the second device in the first frequency band and the second frequency band at the same time, thereby enabling the first device and the second device to quickly establish a multi-link connection.

[0025] In conjunction with the second aspect, in one implementation of the second aspect, the step of allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP after verifying the request message passes, and establishing a network connection with the second device in the first frequency band and the second frequency band, includes: after verifying the request message passes, allowing the second device to access the first VAP and establishing a network connection with the second device in the first frequency band; and after establishing a network connection with the second device in the first frequency band, allowing the second device to access the fourth VAP with the same network configuration as the first VAP and establishing a network connection with the second device in the second frequency band.

[0026] Based on the embodiments of this application, in one embodiment, after the first device verifies the request message, it allows the second device to access the first VAP and establishes a network connection with the second device in the first frequency band; subsequently, it allows the second device to access the fourth VAP with the same network configuration as the first VAP and establishes a network connection with the second device in the second frequency band. This enables the second device to access the network.

[0027] In conjunction with the second aspect, in one implementation of the second aspect, the SSID of the second VAP and the SSID of the fourth VAP are configured to be hidden.

[0028] In this way, although the first and second frequency bands each actually include two VAPs, from the user's perspective, the first and second frequency bands each include one VAP, thus avoiding confusion for the user.

[0029] In conjunction with the second aspect, in one implementation of the second aspect, the network configuration includes at least SSID, encryption method, and access password.

[0030] In conjunction with the second aspect, in one implementation of the second aspect, the first frequency band and the second frequency band are any two of the following frequency bands: 2.4G, 5G, 6G, 45G, and 60G.

[0031] In conjunction with the second aspect, in one implementation of the second aspect, the method further includes: when the verification of the request message fails, denying the second device access to the first VAP.

[0032] Based on the embodiments of this application, when the first device's verification request message fails, the second device can be denied access to the first VAP. This can improve the security of network access.

[0033] A third aspect provides an apparatus comprising: one or more processors; one or more memories; said one or more memories storing one or more programs that, when executed by said one or more processors, cause a method of apparatus connectivity as described in the first aspect and any possible implementation thereof to be performed.

[0034] The fourth aspect provides an apparatus comprising: one or more processors; one or more memories; said one or more memories storing one or more programs that, when executed by said one or more processors, cause a method of apparatus connectivity as described in the second aspect and any possible implementation thereof to be performed.

[0035] The fifth aspect provides an apparatus including modules for implementing device connectivity as described in the first aspect, the second aspect, and any possible implementation thereof.

[0036] A sixth aspect provides an apparatus comprising a processor and a communication interface for receiving and transmitting signals to the processor, the processor processing the signals such that a device connection method as described in the first aspect and any possible implementation thereof is performed.

[0037] The seventh aspect provides an apparatus comprising a processor and a communication interface for receiving a signal and transmitting the signal to the processor, the processor processing the signal such that a device connection method as described in the second aspect and any possible implementation thereof is performed.

[0038] The device in the sixth and seventh aspects can be a chip. For example, the chip can be a chip system or a standalone chip, etc.

[0039] The eighth aspect provides a readable storage medium storing instructions that, when executed on a device, cause the device connection method as described in the first aspect and any possible implementation thereof to be performed.

[0040] A ninth aspect provides a readable storage medium storing instructions that, when executed on a device, cause the device connection method as described in the second aspect and any possible implementation thereof to be performed.

[0041] The tenth aspect provides a program product including program code that, when run on a device, causes a device connection method as described in the first aspect and any possible implementation thereof to be executed.

[0042] The eleventh aspect provides a program product comprising program code that, when run on a device, causes the device connection method as described in the second aspect and any possible implementation thereof to be executed. Attached Figure Description

[0043] Figure 1 This is a schematic diagram of the structure of a device.

[0044] Figure 2 This is a schematic diagram illustrating the scenarios in which the device connection method provided in this application embodiment can be applied.

[0045] Figure 3 This is a schematic diagram illustrating another scenario to which the device connection method provided in this application embodiment can be applied.

[0046] Figure 4 This is a schematic interactive diagram illustrating a device connection method provided in an embodiment of this application.

[0047] Figure 5 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application.

[0048] Figure 6 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application.

[0049] Figure 7 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application.

[0050] Figure 8 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application.

[0051] Figure 9 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application.

[0052] Figure 10 This is a schematic flowchart illustrating a device connection method provided in an embodiment of this application.

[0053] Figure 11 This is a schematic flowchart illustrating another device connection method provided in an embodiment of this application.

[0054] Figure 12 This is a schematic block diagram of a device provided in an embodiment of this application. Detailed Implementation

[0055] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0056] The device connection method in this application embodiment can be applied to devices, network devices, etc.

[0057] The devices in the embodiments of this application can be mobile phones, tablets, laptops, smart TVs, etc., or IoT devices, etc.

[0058] The network devices in this application embodiment may be routers, customer premise equipment (CPE), gateways, switches, optical modems, relay stations, access points, vehicle-mounted equipment, 5G networks, and network devices in future communication networks, etc., and this application embodiment is not limited to these.

[0059] Before introducing the technical solution of this application, the following is a brief introduction to some technical terms that may be involved in this application.

[0060] A wireless access point (AP) is the creator of a wireless network and its central node. For example, an AP can be a router, optical modem, CPE, etc.

[0061] A virtual access point (VAP) is a service function entity virtualized on an access point (AP) device. Multiple virtual APs can be created on a single physical AP; each virtual AP is a VAP, and each VAP provides the same functionality as the physical AP. In this embodiment, multiple VAPs can be created within a single frequency band.

[0062] Station (STA): A device connected to a wireless network can be called a station. For example, an STA can be a smartphone, tablet, personal computer, or even a router.

[0063] Service Set Identifier (SSID): The SSID is usually broadcast by the access point (AP). Simply put, the SSID is the name of a wireless local area network (WLAN).

[0064] Basic Service Set Identifier (BSSID): Used to identify the basic service set. In this application, BSSID can be understood as the media access control (MAC) address of the VAP.

[0065] Figure 1 This is a structural diagram of a device. For example, this device could be a router. Figure 1As shown, the device 100 may include a processor 110, a memory 120, a wireless communication circuit 130, an antenna 132, and a network port 140.

[0066] The illustrated structures in this application do not constitute a specific limitation on device 100. In other embodiments of this application, device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0067] Memory 120 can be used to store instructions and data. Processor 110 can recall the instructions or data stored in memory 120. Network port 140 may include a wired network interface, which can be configured to connect to the Internet via a wired network such as broadband, and can provide Internet access for multiple terminals. Network port 140 may also include a mobile communication module, which can be configured to connect to the core network via wireless communication technology. Wireless communication circuit 130 can be configured to communicate via a wireless local area network standard such as Wi-Fi. Wireless communication circuit 130 may be one or more devices integrating at least one communication processing module. Wireless communication circuit 130 can receive electromagnetic waves via antenna 132, frequency modulate and filter the electromagnetic wave signal, and send the processed signal to processor 110. The wireless communication module can also receive the signal to be transmitted from processor 110, frequency modulate and amplify it, and convert it into electromagnetic waves for radiation via antenna 132.

[0068] Figure 2 , Figure 3 This is a schematic diagram illustrating the scenarios in which the device connection method provided in this application embodiment can be applied.

[0069] like Figure 2 As shown, this scenario can include at least device 200a and device 200b. With support for Wireless Fidelity (Wi-Fi) protocol 7, the AP and STA can establish wireless connections across multiple frequency bands. For example, device 200a and device 200b can establish wireless connections on multiple frequency bands (e.g., 2.4GHz, 5GHz, 6GHz, etc.), meaning device 200a and device 200b can establish a multilink connection. This allows device 200a and device 200b to exchange data across multiple frequency bands, thereby reducing packet latency and improving download speeds.

[0070] In this case, device 200a needs to create a VAP in multiple frequency bands, and the VAPs in these multiple frequency bands need to have the same SSID.

[0071] In other scenarios, see Figure 3 This scenario can include at least device 200a, device 200c, and device 200b. In a multi-level network configuration supported by Wi-Fi Protocol 7, device 200a can establish wireless connections with device 200c on multiple frequency bands (e.g., 2.4GHz, 5GHz, 6GHz, etc.). Similarly, device 200c can establish wireless connections with device 200b on multiple frequency bands (e.g., 2.4GHz, 5GHz, 6GHz, etc.). In this case, device 200c can act as both a STA device for device 200a and an AP device for device 200b.

[0072] In this case, devices 200a and 200c need to create a VAP in multiple frequency bands, and the VAPs in these multiple frequency bands need to have the same SSID.

[0073] Taking the establishment of a wireless connection between device 200a and device 200b in the 2.4GHz and 5GHz bands as an example, device 200a can create VAP1 in the 2.4GHz band and VAP2 in the 5GHz band. When device 200b requests access to VAP1, it can send a connection request to device 200a. After device 200a verifies the connection request, it allows device 200b to access VAP1, and device 200a and device 200b establish a wireless network connection. It can be understood that after device 200a verifies the connection request, device 200a and device 200b can negotiate a key, allowing them to use this key for data communication in the 5GHz band as well. This enables device 200a to allow device 200b to access VAP2, thus allowing device 200a to establish a wireless network connection with device 200b in the 5GHz band as well.

[0074] It should be understood that when device 200a and device 200b establish a wireless network connection in a certain frequency band, it can be understood that device 200a and device 200b can use the negotiated key to conduct data communication in that certain frequency band.

[0075] Devices 200a and 200c typically offer multi-frequency merging functionality. When this feature is enabled, the SSIDs of VAPs on multiple frequency bands of device 200a or 200c are combined into a single SSID. This facilitates seamless switching between multiple frequency bands for wireless network connections between device 200b and device 200a or 200c. For example, when devices 200b and 200a are close together, they can establish a wireless network connection on the 5GHz band for data exchange; when they are far apart, they can establish a wireless network connection on the 2.4GHz band for data exchange.

[0076] Devices that implement AP functionality in software generally only support operation in the 2.4 GHz band. When device 200b establishes a wireless network connection with device 200a or device 200c in the 5 GHz band, device 200b will be unable to configure the network for devices that implement AP functionality in software.

[0077] Some users may disable the multi-frequency merging function. In this case, the SSIDs of the VAPs on different frequency bands of device 200a or device 200c will be different, meaning multiple wireless LANs exist. When device 200b is configuring the network for the aforementioned devices that implement AP functionality in software, device 200b needs to establish a wireless network connection with device 200a or device 200c on the 2.4GHz frequency band. However, because the SSIDs of the VAPs on different frequency bands are different, device 200b cannot establish a wireless network connection with device 200a or device 200c simultaneously on multiple frequency bands.

[0078] In view of this, this application provides a method for device connection so that when the SSIDs of VAPs in different frequency bands are different, AP and STA can still establish multi-link connections.

[0079] In this embodiment of the application, the AP device can support operation in multiple frequency bands. For example, the AP device can support operation in two frequency bands, three frequency bands, or more than three frequency bands.

[0080] The following will combine Figure 4-9 This application provides a detailed technical solution for the device connection method.

[0081] In this application, the example of a first device supporting operation in two different frequency bands is used for illustration. For instance, the first device can be a dual-band router, supporting operation in a first frequency band and a second frequency band. The first and second frequency bands can be any two of the following frequency bands: 2.4GHz, 5GHz, 6GHz, 45GHz, 60GHz, low-frequency 5GHz, and high-frequency 5GHz. Similarly, the second device also supports operation in both the first and second frequency bands.

[0082] In some examples, the channel range for 5G low frequencies can be: 36, 40, 44, 48, 52, 56, 64.

[0083] The 5G high-frequency channel range can be: 149, 153, 157, 161, 165.

[0084] It should be understood that the channel ranges for 5G low frequency and 5G high frequency described above are merely exemplary. In other examples, the channel ranges for 5G low frequency and 5G high frequency can also be other values.

[0085] Figure 4 This is a schematic interactive diagram illustrating a device connection method provided in an embodiment of this application. Figure 4As shown, the method 300 may include steps 310 to 330.

[0086] 310. When the first device starts up, VAP1 and VAP2 are created in the first frequency band, and VAP3 and VAP4 are created in the second frequency band. VAP1 and VAP3 have the same network configuration, and VAP2 and VAP4 have the same network configuration.

[0087] For example, the startup of the first device can be understood as connecting to a power source and starting to work. The first frequency band can be the 2.4 GHz band, and the second frequency band can be the 5 GHz band.

[0088] VAP1 and VAP3 have the same network configuration, which means that VAP1 and VAP3 have the same SSID, the same encryption method, and the same access password.

[0089] For example, if VAP1's SSID is "LSLDXA", its encryption method is Wi-Fi protected access (WPA)2, and its access password is "12345678", then VAP3's SSID is also set to "LSLDXA", its encryption method is set to WPA2, and its access password is set to "12345678".

[0090] Similarly, VAP2 and VAP4 have the same network configuration, which can be understood as VAP2 and VAP4 having the same SSID, the same encryption method, and the same access password.

[0091] It is understandable that the network configurations of VAP1 and VAP2 can be different, and the network configurations of VAP3 and VAP4 can be different.

[0092] In some examples, the first device can configure VAP1 and VAP3, which have the same network configuration, as one group of VAPs, and VAP2 and VAP4, which have the same network configuration, as another group of VAPs.

[0093] In other examples, the SSID corresponding to VAP2 is hidden, and the SSID corresponding to VAP3 is also hidden. Thus, from the user's perspective, there is a visible SSID1 for VAP1 in the first frequency band and a visible SSID4 for VAP4 in the second frequency band. This avoids confusing users by showing multiple identical BSSIDs in the advanced options of the WLAN list.

[0094] 320, the second device sends a request message 1 to the first device to connect to VAP1. Correspondingly, the first device receives this request message 1.

[0095] It should be understood that for the second device to establish a multi-link connection with the first device, the second device also needs to support operation in multiple frequency bands. For example, the second device may include wireless interfaces for both the first and second frequency bands.

[0096] For example, when the second device establishes a network connection with the first device, the user can choose to initiate the association first in the first frequency band or the second frequency band.

[0097] For example, if a user clicks on SSID1 corresponding to VAP1 in the list of available WLANs on the second device, enters the access password, and clicks connect, this can be considered as triggering the second device to send a connection request message 1 to the first device for VAP1, so that the first device can verify the connection.

[0098] The request message 1 may include the first frequency band supported by the second device, the capability information of the first frequency band (e.g., supported protocol modes, extended rates, etc.), encryption mode, SSID1, and access password; since the second device needs to establish network connections with the first device in multiple frequency bands, the request message 1 may also include the capability information of the second frequency band supported by the second device (e.g., supported protocol modes, extended rates, etc.), encryption mode, etc., so that the first device can verify the information.

[0099] 330. After the first device verifies the request message 1, it allows the second device to access VAP1 and VAP3 and establishes a network connection with the second device in the first frequency band and the second frequency band.

[0100] For example, after receiving request message 1, the first device can verify whether the various information in request message 1 is correct or compatible. If the verification is successful, the first device negotiates a key A with the second device. The first device stores key A in the storage location or storage space corresponding to VAP1, and then stores key A in the storage location or storage space corresponding to VAP3. Similarly, the second device stores key A in the storage location or storage space corresponding to the wireless interface of the first frequency band, and then stores key A in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the first and second devices to use key A to transmit data in the first and second frequency bands. Thus, it can be understood that the second device accesses VAP1 and VAP3, and the first and second devices establish a network connection in the first and second frequency bands.

[0101] It should be understood that the wireless interface for each frequency band of the second device involved in this application can be a STA interface. For example, the wireless interface for the first frequency band can be a STA1 interface, the wireless interface for the second frequency band can be a STA2 interface, and the wireless interface for the third frequency band can be a STA3 interface. References to the wireless interface in the following text can be found in the description herein.

[0102] In this embodiment, the first device can further configure VAP1 and VAP3 with the same network configuration as one group of VAPs, and VAP2 and VAP4 with the same network configuration as another group of VAPs. After the first device verifies the request message 1 and negotiates key A, the first device stores key A in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores key A in the storage location or storage space corresponding to VAP3. Similarly, the second device stores key A in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores key A in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the second device to also communicate with VAP3 in the second frequency band based on key A. Thus, the second device can access a group of VAPs and establish a multi-link connection with the first device.

[0103] In other examples, the first device can deny access to VAP1 and VAP3 when the first device fails to verify request message 1.

[0104] In one embodiment of this application, when the first device starts up, it can create VAP1 and VAP2 in a first frequency band and VAP3 and VAP4 in a second frequency band, with VAP1 and VAP3 having the same network configuration, and VAP2 and VAP4 having the same network configuration. When the first device receives a connection request message from the second device for VAP1, it can allow the second device to access VAP1 and VAP3 with the same network configuration after successful verification, thus establishing a network connection with the second device in both the first and second frequency bands. In this way, even though the SSIDs corresponding to the different VAPs in the first and second frequency bands are different, the first device and the second device can still establish a network connection in both the first and second frequency bands.

[0105] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1 and establish a network connection with it in the first frequency band. Then, the first device stores the negotiated key in the storage location or storage space corresponding to VAP3, and the second device stores the negotiated key in the storage location or storage space corresponding to the wireless interface in the second frequency band. This allows the second device to access VAP3, which has the same network configuration as VAP1, and the first and second devices establish a network connection in the second frequency band. This allows the second device to access the network as quickly as possible.

[0106] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1 and establish a network connection with the second device in the first frequency band. Then, the first device requests access to VAP3 using the same encryption method and access password as in the previous request message. After successful verification, the first device is allowed to access VAP3, and a network connection is established between the first and second devices in the second frequency band. This allows the second device to access the network as quickly as possible.

[0107] Figure 5 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application. For example... Figure 5 As shown, the method 400 may include steps 410 to 430.

[0108] 410. When the first device starts up, VAP1 and VAP2 are created in the first frequency band, and VAP3 and VAP4 are created in the second frequency band. VAP1 and VAP3 have the same network configuration, and VAP2 and VAP4 have the same network configuration.

[0109] It should be understood that step 410 can be referred to in the relevant description in step 310, and for the sake of brevity, it will not be repeated.

[0110] 420, the second device sends a request message 2 to the first device to connect to VAP4. Correspondingly, the first device receives this request message 2.

[0111] When the second device establishes a network connection with the first device, the user can choose to initiate the association first in the first frequency band or the second frequency band.

[0112] For example, when a user clicks on SSID4 corresponding to VAP4 in the list of available WLANs on the second device, enters the access password, and clicks connect, it can be considered that the second device sends a request message 2 to the first device to connect to VAP4 for the first device to verify.

[0113] The request message 2 may include the second frequency band supported by the second device, the capability information of the second frequency band (e.g., supported protocol modes, extended rates, etc.), encryption mode, SSID4, and access password; since the second device needs to establish network connections with the first device in multiple frequency bands, the request message 2 may also include the capability information of the first frequency band supported by the second device (e.g., supported protocol modes, extended rates, etc.), encryption mode, etc., so that the first device can verify the information.

[0114] 430. After the first device passes the verification request message 2, it allows the second device to access VAP4 and VAP2 and establishes a network connection with the second device in the second frequency band and the first frequency band.

[0115] For example, after receiving request message 2, the first device can verify whether the various information in request message 2 is correct or compatible. If the verification is successful, the first device negotiates a key B with the second device. The first device stores key B in the storage location or storage space corresponding to VAP4, and then stores key B in the storage location or storage space corresponding to VAP2. Similarly, the second device stores key B in the storage location or storage space corresponding to the wireless interface of the second frequency band, and then stores key B in the storage location or storage space corresponding to the wireless interface of the first frequency band. This allows the first and second devices to use key B to transmit data in the first and second frequency bands. Thus, it can be understood that the second device accesses VAP4 and VAP2, and the first and second devices establish a network connection in the first and second frequency bands.

[0116] In other examples, the first device can deny access to VAP4 to the second device if the verification request message 2 fails.

[0117] In one embodiment of this application, when the first device starts up, it can create VAP1 and VAP2 in the first frequency band and VAP3 and VAP4 in the second frequency band. VAP1 and VAP3 have the same network configuration, as do VAP2 and VAP4. When the first device receives a connection request message from the second device for VAP4, it can allow the second device to access VAP4 and VAP2, which have the same network configuration, after successful verification, thus establishing a network connection with the second device in both the first and second frequency bands. In this way, even though the SSIDs corresponding to the different VAPs in the first and second frequency bands are different, the first device and the second device can still establish network connections in both the first and second frequency bands.

[0118] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP4 and establish a network connection with it on the second frequency band. Then, the first device stores the negotiated key in the storage location or storage space corresponding to VAP2, and the second device stores the negotiated key in the storage location or storage space corresponding to the wireless interface on the first frequency band. This enables the second device to access VAP2, and the first and second devices establish a network connection on the first frequency band. This allows the second device to access the network as quickly as possible.

[0119] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP4, establishing a network connection with the second device in the second frequency band. Then, the first device requests access to VAP2 using the same encryption method and access password as in the previous request message. After successful verification, the first device is allowed to access VAP2, and a network connection is established between the first and second devices in the first frequency band. This allows the second device to access the network as quickly as possible.

[0120] The above text combined Figure 4-5 This paper introduces a technical solution where, upon startup, the first device directly creates two VAPs with different network configurations in the first frequency band and two more VAPs with different network configurations in the second frequency band. In some cases, after startup, the first device can also create one VAP1 in the first frequency band and one VAP2 in the second frequency band; when the first device detects that the user has disabled the multi-frequency merging function, it can additionally create one VAP3 in the first frequency band and one VAP4 in the second frequency band. The following section will combine... Figure 6-7 This technical solution will be introduced.

[0121] Figure 6 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application. For example... Figure 6 As shown, the method 500 may include steps 510 to 540.

[0122] 510. When the first device starts up, VAP1 is created in the first frequency band and VAP2 is created in the second frequency band.

[0123] The network configurations for VAP1 and VAP2 can be different. For example, VAP1 can have an SSID of SSID1, and VAP2 can have an SSID of SSID2.

[0124] It should be understood that the startup of the first device can be referred to in the relevant description above.

[0125] 520, the first device detects the operation of disabling the multi-frequency merging function, creates VAP3 in the first frequency band, and creates VAP4 in the second frequency band. VAP3 has the same network configuration as VAP2, and VAP4 has the same network configuration as VAP1.

[0126] For example, the first device may include a button to turn off multi-frequency merging, and the operation of turning off the multi-frequency merging function can be an operation of the user pressing the button. Alternatively, the control application or control webpage of the first device may have a function option to turn off multi-frequency merging, and the operation of turning off the multi-frequency merging function can be an operation of the user clicking the function option to turn off multi-frequency merging.

[0127] After detecting the operation of disabling the multi-frequency merging function, the first device can create VAP3 in the first frequency band and VAP4 in the second frequency band. The network configuration of VAP3 is the same as the network configuration of VAP2 that originally existed in the second frequency band, and the network configuration of VAP4 is the same as the network configuration of VAP1 that originally existed in the first frequency band.

[0128] 530, the second device sends a request message 3 to the first device to connect to VAP1. Correspondingly, the first device receives the request message 3.

[0129] The description of request message 3 can be found in the previous description of request message 1.

[0130] 540. After the first device passes the verification request message 3, it allows the second device to access VAP1 and VAP4 and establishes a network connection with the second device in the first frequency band and the second frequency band.

[0131] For example, after receiving request message 3, the first device can verify whether the various information in request message 3 is correct or compatible. If the verification is successful, the first device negotiates a key C with the second device. The first device stores key C in the storage location or storage space corresponding to VAP1, and then stores key C in the storage location or storage space corresponding to VAP4. Similarly, the second device stores key C in the storage location or storage space corresponding to the wireless interface of the first frequency band, and then stores key C in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the first and second devices to use key C to transmit data in the first and second frequency bands. Thus, it can be understood that the second device accesses VAP1 and VAP4, and the first and second devices establish a network connection in the first and second frequency bands.

[0132] In other examples, the first device can refuse access to VAP1 to the second device if the verification request message 3 fails.

[0133] In this embodiment, the first device can further configure VAP1 and VAP4, which have the same network configuration, as one group of VAPs, and VAP2 and VAP3, which have the same network configuration, as another group of VAPs. After the first device verifies the request message 3 and negotiates the key C, it stores the key C in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores the key C in the storage location or storage space corresponding to VAP4. Similarly, the second device stores the key C in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores the key C in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the second device to also communicate with VAP4 in the second frequency band based on the key C. Thus, the second device can access a group of VAPs and establish a multi-link connection with the first device.

[0134] The embodiments of this application do not limit the specific execution order of steps 510 to 540 described above. In other examples, some steps in steps 510 to 540 may be omitted or replaced by other steps. For example, step 510 may be an optional step and may not be executed. In this case, the initial state of the first device may be that VAP1 has been created in the first frequency band and VAP2 has been created in the second frequency band, and the method 500 can start execution from step 520.

[0135] In one embodiment of this application, when the first device starts up, it can create VAP1 in the first frequency band and VAP2 in the second frequency band. After detecting an operation to disable the multi-frequency merging function, it creates VAP3 in the first frequency band and VAP4 in the second frequency band, with VAP3 having the same network configuration as VAP2, and VAP4 having the same network configuration as VAP1. When the first device receives a connection request message from the second device for VAP1, it can allow the second device to access VAP1 and VAP4, which have the same network configuration, after successful verification, and establish a network connection with the second device in both the first and second frequency bands. In this way, even though the SSIDs corresponding to the different VAPs of the first device in the first and second frequency bands are different, the first device and the second device can still establish a network connection in both the first and second frequency bands.

[0136] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1 and establish a network connection with it in the first frequency band. Then, the first device stores the negotiated key in the storage location or storage space corresponding to VAP4, and the second device stores the negotiated key in the storage location or storage space corresponding to the wireless interface in the second frequency band, enabling the second device to access VAP4 and establishing a network connection between the first and second devices in the second frequency band. This allows the second device to access the network as quickly as possible.

[0137] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1 and establish a network connection with the second device in the first frequency band. Then, the first device uses the same encryption method and access password as in the previous request message to request access to VAP4. After successful verification, the first device is allowed to access VAP4, and a network connection is established between the first and second devices in the second frequency band. This allows the second device to access the network as quickly as possible.

[0138] Figure 7 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application. For example... Figure 7 As shown, the method 600 may include steps 610 to 640.

[0139] 610. When the first device starts up, VAP1 is created in the first frequency band and VAP2 is created in the second frequency band.

[0140] 620, the first device detects the operation of disabling the multi-frequency merging function, creates VAP3 in the first frequency band and VAP4 in the second frequency band. VAP3 has the same network configuration as VAP2, and VAP4 has the same network configuration as VAP1.

[0141] It should be understood that steps 610-620 can be referred to in the relevant description of steps 510-520 above, and will not be repeated here for the sake of brevity.

[0142] 630, the second device sends a request message 4 to the first device to connect to VAP2. Correspondingly, the first device receives the request message 4.

[0143] The description of request message 4 can be found in the previous description of request message 1.

[0144] 640. After the first device passes the verification request message 4, it allows the second device to access VAP2 and VAP3 and establishes a network connection with the second device in the second frequency band and the first frequency band.

[0145] For example, after receiving request message 4, the first device can verify whether the various information in request message 4 is correct or matches. If the verification is successful, the first device negotiates a key D with the second device. The first device stores key D in the storage location or storage space corresponding to VAP2, and then stores key D in the storage location or storage space corresponding to VAP3. Similarly, the second device stores key D in the storage location or storage space corresponding to the wireless interface of the second frequency band, and then stores key D in the storage location or storage space corresponding to the wireless interface of the first frequency band. This allows the first device and the second device to use key D to transmit data in the first and second frequency bands. Thus, it can be understood that the second device accesses VAP2 and VAP3, and the first device and the second device establish a network connection in the first and second frequency bands.

[0146] In other examples, the first device can deny access to VAP2 to the second device if the first device fails the verification request message 4.

[0147] The embodiments of this application do not limit the specific execution order of steps 610 to 640 described above. In other examples, some steps in steps 610 to 640 may be omitted or replaced by other steps. For example, step 610 may be an optional step and may not be executed. In this case, the initial state of the first device may be that VAP1 has been created in the first frequency band and VAP2 has been created in the second frequency band, and the method 600 can start execution from step 620.

[0148] In one embodiment of this application, when the first device starts up, it can create VAP1 in the first frequency band and VAP2 in the second frequency band. After detecting an operation to disable the multi-frequency merging function, it creates VAP3 in the first frequency band and VAP4 in the second frequency band, with VAP3 having the same network configuration as VAP2, and VAP4 having the same network configuration as VAP1. When the first device receives a request message from the second device to connect to VAP2, it can allow the second device to access VAP2 and VAP3 with the same network configuration after successful verification, and establish network connections with the second device in both the first and second frequency bands. In this way, even though the SSIDs corresponding to the different VAPs of the first device in the first and second frequency bands are different, the first device and the second device can still establish network connections in both the first and second frequency bands.

[0149] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP2 and establish a network connection with it in the second frequency band. Then, the first device stores the negotiated key in the storage location or storage space corresponding to VAP3, and the second device stores the negotiated key in the storage location or storage space corresponding to the wireless interface in the first frequency band, enabling the second device to access VAP3 and establishing a network connection between the first and second devices in the first frequency band. This allows the second device to access the network as quickly as possible.

[0150] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP2 and establish a network connection with the second device in the second frequency band. Then, the first device requests access to VAP3 using the same encryption method and access password as in the previous request message. After successful verification, the first device is allowed to access VAP3, and a network connection is established between the first and second devices in the first frequency band. This allows the second device to access the network as quickly as possible.

[0151] The above text combined Figure 4-7 The technical solution for supporting the first device to operate in two frequency bands was introduced. The following text will combine... Figure 8-9 This paper introduces the technical solution for the first device to support operation in three frequency bands.

[0152] For example, the first device can also be a tri-band router, simultaneously supporting operation on the first, second, and third frequency bands. The first and second frequency bands can be any three of the following: 2.4GHz, 5GHz, 6GHz, 45GHz, 60GHz, low-frequency 5GHz, and high-frequency 5GHz. Similarly, the second device also supports operation on the first, second, and third frequency bands.

[0153] Figure 8 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application. For example... Figure 8 As shown, the method 700 may include steps 710 to 730.

[0154] 710. When the first device starts up, VAP1, VAP2 and VAP3 are created in the first frequency band, VAP4, VAP5 and VAP6 are created in the second frequency band, and VAP7, VAP8 and VAP9 are created in the third frequency band. Among them, VAP1 has the same network configuration as VAP5 and VAP8, VAP4 has the same network configuration as VAP2 and VAP9, and VAP7 has the same network configuration as VAP3 and VAP6.

[0155] In this embodiment, the network configurations of VAP1, VAP2, and VAP3 in the first frequency band are different; the network configurations of VAP4, VAP5, and VAP6 in the second frequency band are different; and the network configurations of VAP7, VAP8, and VAP9 in the third frequency band are different. However, VAP1 has the same network configuration as VAP5 and VAP8, VAP4 has the same network configuration as VAP2 and VAP9, and VAP7 has the same network configuration as VAP3 and VAP6. That is, for a VAP in a certain frequency band, there are VAPs with the same network configuration in other frequency bands.

[0156] In other examples, in the first frequency band, the SSID corresponding to VAP1 is visible, while the SSIDs corresponding to VAP2 and VAP3 are hidden; in the second frequency band, the SSID corresponding to VAP4 is visible, while the SSIDs corresponding to VAP5 and VAP6 are hidden; and in the third frequency band, the SSID corresponding to VAP7 is visible, while the SSIDs corresponding to VAP8 and VAP9 are hidden.

[0157] In this way, each frequency band has a visible SSID, avoiding the confusion caused by users seeing multiple identical BSSIDs in the advanced options of the WLAN list.

[0158] 720, the second device sends a request message 5 to the first device to connect to VAP1. Correspondingly, the first device receives the request message 5.

[0159] When the second device establishes a network connection with the first device, the user can choose to initiate the association first in the first frequency band, the second frequency band, or the third frequency band.

[0160] For example, if a user clicks on SSID1 corresponding to VAP1 in the list of available WLANs on the second device, enters the access password, and clicks connect, it can be considered that the second device sends a request message 5 to the first device to connect to VAP1 for the first device to verify.

[0161] It should be understood that since the second device needs to establish a multi-link connection with the first device, the request message 5 may include information about the first frequency band, the second frequency band, and the third frequency band supported by the second device, as detailed in the previous description.

[0162] 730. After the first device passes the verification request message 5, it allows the second device to access VAP1, VAP5 and VAP8 and establishes network connections with the second device in the first frequency band, the second frequency band and the third frequency band.

[0163] For example, after receiving request message 5, the first device can verify whether the various information in request message 5 is correct or compatible. If the verification is successful, the first device negotiates a key E with the second device. The first device stores key E in the storage location or storage space corresponding to VAP1, and then stores key E in the storage locations or storage spaces corresponding to VAP5 and VAP8. Similarly, the second device stores key E in the storage location or storage space corresponding to the wireless interface of the first frequency band, and then stores key E in the storage locations or storage spaces corresponding to the wireless interfaces of the second and third frequency bands. This allows the first device and the second device to use key E to transmit data in the first, second, and third frequency bands. Thus, it can be understood that the second device accesses VAP1, VAP5, and VAP8, and the first device and the second device establish network connections in the first, second, and third frequency bands.

[0164] In this embodiment, the first device can further configure VAP1, VAP5, and VAP8 with the same network configuration as one group of VAPs, VAP2, VAP4, and VAP9 with the same network configuration as another group of VAPs, and VAP3, VAP6, and VAP7 with the same network configuration as yet another group of VAPs. After the first device verifies the request message 5 and negotiates the key E, it stores the key E in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores the key E in the storage locations or storage spaces corresponding to VAP5 and VAP8. Similarly, the second device stores the key E in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores the key E in the storage locations or storage spaces corresponding to the wireless interfaces of the second and third frequency bands. This allows the second device to communicate with VAP5 in the second frequency band and with VAP8 in the third frequency band based on the key E. This enables the second device to access a group of VAPs and establish a multi-link connection with the first device.

[0165] In other examples, the first device can deny access to VAP1 to the second device if the verification request message 5 fails.

[0166] In other examples, when the second device first requests to connect to VAP4 in the second frequency band, the first device may, after the verification request message passes, allow the second device to access VAP4 and VAP2 and VAP9, which have the same network configuration as VAP4, and establish network connections with the second device in the second, first, and third frequency bands.

[0167] In other examples, when the second device first requests to connect to VAP7 in the third frequency band, the first device may, after the verification request message passes, allow the second device to access VAP7 and VAP3 and VAP6, which have the same network configuration as VAP7, and establish network connections with the second device in the first, second, and third frequency bands.

[0168] In this way, when the second device first connects to a VAP in a certain frequency band of a group of VAPs, the first device also allows the second device to connect to VAPs in other frequency bands of the same group of VAPs, enabling the first device and the second device to establish network connections in multiple frequency bands.

[0169] In other examples, when a second device first requests to connect to VAP1 in the first frequency band, the first device may, after verifying the request message, first allow the second device to access VAP1 and establish a network connection with the second device in the first frequency band. Subsequently, the first device may be allowed to access VAP5 and VAP8, which have the same network configuration as VAP1, and establish network connections with the second device in the second and third frequency bands. This allows the second device to access the network as quickly as possible. It should be understood that when a second device first requests to connect to a VAP in a different frequency band, the above description applies.

[0170] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1, establishing a network connection with the second device in the first frequency band. Then, the first device uses the same encryption method and access password as in the previous request message to request access to VAP5 and VAP8. After successful verification, the first device is allowed to access VAP5 and VAP8, and network connections are established between the first and second devices in the second and third frequency bands. This allows the second device to access the network as quickly as possible.

[0171] In one embodiment of this application, although the SSIDs corresponding to different VAPs of the first device in the first frequency band, the second frequency band and the third frequency band are different, the first device and the second device can also establish network connections in the first frequency band, the second frequency band and the third frequency band.

[0172] Figure 9 This is a schematic interactive diagram illustrating another device connection method provided in an embodiment of this application. For example... Figure 9 As shown, the method 800 may include steps 810 to 840.

[0173] 810, when the first device starts up, create VAP1 in the first frequency band, create VAP2 in the second frequency band, and create VAP3 in the third frequency band.

[0174] The network configurations of VAP1, VAP2, and VAP3 can be different.

[0175] 820, An operation to disable the multi-frequency merging function was detected. VAP4 and VAP5 were created in the first frequency band, VAP6 and VAP7 were created in the second frequency band, and VAP8 and VAP9 were created in the third frequency band. Among them, VAP6 and VAP8 have the same network configuration as VAP1, VAP4 and VAP9 have the same network configuration as VAP2, and VAP5 and VAP7 have the same network configuration as VAP3.

[0176] In this embodiment of the application, for a VAP in a certain frequency band, there are VAPs with the same network configuration in other frequency bands.

[0177] In other examples, in the first frequency band, the SSID corresponding to VAP1 is visible, while the SSIDs corresponding to VAP4 and VAP5 are hidden; in the second frequency band, the SSID corresponding to VAP2 is visible, while the SSIDs corresponding to VAP6 and VAP7 are hidden; and in the third frequency band, the SSID corresponding to VAP3 is visible, while the SSIDs corresponding to VAP8 and VAP9 are hidden.

[0178] In this way, from the user's perspective, each frequency band has a visible SSID, avoiding the user seeing multiple identical BSSIDs in the WLAN list, which would cause confusion.

[0179] At 830, the second device sends a request message 6 to the first device to connect to VAP1. Correspondingly, the first device receives the request message 6.

[0180] This step 830 can be found in the relevant description above.

[0181] 840. After the first device passes the verification request message 6, it allows the second device to access VAP1, VAP6 and VAP8 and establishes network connections with the second device in the first frequency band, the second frequency band and the third frequency band.

[0182] It should be understood that step 840 can be found in the description of step 730.

[0183] In some examples, the first device can configure VAP1, VAP6, and VAP8 with the same network configuration as a group of VAPs; configure VAP2, VAP4, and VAP9 with the same network configuration as another group of VAPs; and configure VAP3, VAP5, and VAP7 with the same network configuration as yet another group of VAPs.

[0184] After the first device verifies the second device's request message and negotiates the key, the first device stores the key in the storage location or storage space corresponding to VAP1. Since the network configurations of VAP6 and VAP8 are the same as VAP1, the first device also stores the key in the storage locations or storage spaces corresponding to VAP6 and VAP8. Similarly, the second device stores the key in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores the key in the storage locations or storage spaces corresponding to the wireless interfaces of the second and third frequency bands. In this way, the second device can access a group of VAPs and establish a multi-link connection with the first device.

[0185] In other examples, when the first device first requests to connect to VAP2 in the second frequency band, the first device may, after the verification request message passes, allow the second device to access VAP2, VAP4 and VAP9 which have the same network configuration as VAP2, and establish network connections with the second device in the first, second and third frequency bands.

[0186] In other examples, when the first device first requests to connect to VAP3 in the third frequency band, the first device may, after the verification request message passes, allow the second device to access VAP3, VAP5 and VAP7 which have the same network configuration as VAP3, and establish network connections with the second device in the first, second and third frequency bands.

[0187] In this way, when the second device first connects to a VAP in a certain frequency band of a group of VAPs, the first device also allows the second device to connect to VAPs in other frequency bands of the same group of VAPs, enabling the first device and the second device to establish network connections in multiple frequency bands.

[0188] In other examples, when a second device first requests to connect to VAP1 in the first frequency band, the first device may, after verifying the request message, initially allow the second device to access VAP1 and establish a network connection with the second device in the first frequency band. Subsequently, the first device may be allowed to access VAP6 and VAP8, which have the same network configuration as VAP1, to establish network connections with the second device in the second and third frequency bands. This allows the second device to access the network as quickly as possible. It should be understood that when a second device first requests to connect to a VAP in a different frequency band, the above description applies.

[0189] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1, establishing a network connection with the second device in the first frequency band. Then, the first device uses the same encryption method and access password as in the previous request message to request access to VAP6 and VAP8. After successful verification, the first device is allowed to access VAP6 and VAP8, and network connections are established between the first and second devices in the second and third frequency bands. This allows the second device to access the network as quickly as possible.

[0190] In one embodiment of this application, although the SSIDs corresponding to different VAPs of the first device in the first frequency band, the second frequency band and the third frequency band are different, the first device and the second device can also establish network connections in the first frequency band, the second frequency band and the third frequency band.

[0191] The embodiments of this application do not limit the specific execution order of steps 810 to 840 described above. In other examples, some steps in steps 810 to 840 may be omitted or replaced by other steps. For example, step 810 may be an optional step and may not be executed. In this case, the initial state of the first device may be that VAP1 has been created in the first frequency band, VAP2 has been created in the second frequency band, and VAP3 has been created in the third frequency band. The method 800 can start execution from step 820.

[0192] It should be understood that if the first device and the second device support operation in more than three frequency bands, their technical solutions may be similar to those described above, and such technical solutions should not be considered to be outside the scope of protection of this application.

[0193] Figure 10 This is a schematic flowchart illustrating a device connection method provided in an embodiment of this application. Figure 10 As shown, the method 900 can be applied to a first device, which includes a first VAP located in a first frequency band and a second VAP located in a second frequency band. The SSID of the first VAP is different from that of the second VAP. The method 900 may include steps 910 to 930.

[0194] 910, the first device detects the operation of disabling the multi-frequency merging function, creates a third VAP in the first frequency band, and creates a fourth VAP in the second frequency band. The network configuration of the third VAP is the same as that of the second VAP, and the network configuration of the fourth VAP is the same as that of the first VAP.

[0195] For instructions on disabling the multi-frequency merging function, please refer to the relevant description above.

[0196] It should be understood that the first device includes a first VAP located in the first frequency band and a second VAP located in the second frequency band. This can be understood as the first device creating a first VAP in the first frequency band and a second VAP in the second frequency band when it starts up.

[0197] In some examples, the network configuration described above may include at least the VAP's SSID, encryption method, and access password.

[0198] In some examples, the SSIDs corresponding to the third and fourth VAPs are configured to be hidden. This way, although the first and second frequency bands each actually include two VAPs, it appears to the user that each band includes only one VAP, thus avoiding confusion for the user.

[0199] 920, the first device receives a request message sent by the second device. The request message is used to request access to the first VAP.

[0200] The contents of this request message can be found in the relevant description in Request Message 1 above.

[0201] 930. After the verification request message passes, the first device allows the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishes a network connection with the second device in the first frequency band and the second frequency band.

[0202] After the first device passes the verification request message, it can negotiate a key with the second device, enabling the first and second devices to use the key to transmit data in the first and second frequency bands, as detailed in the previous description.

[0203] In other examples, the request message can also be used to request access to a second VAP. In this case, after the first device verifies that the request message is successful, it can allow the second device to access both the second and third VAPs, establishing network connections with the second device in both the first and second frequency bands.

[0204] In one embodiment of this application, the first device includes a first VAP in a first frequency band and a second VAP in a second frequency band. When the first device detects an operation to disable the multi-frequency merging function, it creates a third VAP with the same network configuration as the first VAP in the first frequency band and a fourth VAP with the same network configuration as the second VAP in the second frequency band. The first device also receives a request message from the second device requesting access to the first VAP. After verifying that the request message is successful, the first device allows the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishes a network connection with the second device in the first and second frequency bands.

[0205] In this way, even though the SSID of the first VAP in the first frequency band is different from the SSID of the second VAP in the second frequency band, the first device and the second device can still establish a multi-link connection in the first frequency band and the second frequency band.

[0206] In some embodiments, the first frequency band and the second frequency band are any two of the following frequency bands: 2.4G, 5G, 6G, 45G, and 60G.

[0207] In other examples, the first frequency band and the second frequency band may also include 5G low frequency, 5G high frequency, etc., which are not limited in this application.

[0208] In some embodiments, after the verification request message passes, allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band includes:

[0209] After the verification request message passes, the second device is allowed to simultaneously access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establish network connections with the second device in the first frequency band and the second frequency band simultaneously.

[0210] In one embodiment of this application, after the first device passes the verification request message, it allows the second device to access the first VAP and the fourth VAP simultaneously, and establishes network connections with the second device in the first frequency band and the second frequency band at the same time, thereby enabling the first device and the second device to quickly establish a multi-link connection.

[0211] In some embodiments, after the verification request message passes, the second device is allowed to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the first frequency band and the second frequency band, including:

[0212] After the verification request message is passed, the second device is allowed to access the first VAP and establish a network connection with the second device in the first frequency band;

[0213] After establishing a network connection with the second device in the first frequency band, the second device is allowed to access the fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the second frequency band.

[0214] In one embodiment of this application, after the first device verifies the request message, it allows the second device to access the first VAP and establishes a network connection with the second device in the first frequency band. Then, it allows the second device to access a fourth VAP with the same network configuration as the first VAP and establishes a network connection with the second device in the second frequency band. This enables the second device to access the network.

[0215] In some embodiments, the method 900 may further include:

[0216] If the verification request message fails, the second device is denied access to the first VAP.

[0217] If the first device's authentication request message fails, the second device can be denied access to the first VAP. This can improve the security of network access.

[0218] Figure 11 This is a schematic flowchart illustrating a device connection method provided in an embodiment of this application. Figure 11 As shown, the method 1000 may include steps 1010 to 1030.

[0219] 1010. When the first device starts up, the first device creates a first VAP and a second VAP in the first frequency band, and a third VAP and a fourth VAP in the second frequency band. The network configuration of the first VAP is the same as that of the fourth VAP, and the network configuration of the second VAP is the same as that of the third VAP.

[0220] The SSID of the first VAP can be different from the SSID of the third VAP.

[0221] The first device starting up can be understood as the first device being connected to power and in a state where it can work normally.

[0222] In some examples, the network configuration described above may include at least the VAP's SSID, encryption method, and access password.

[0223] In some examples, the SSIDs corresponding to the second and fourth VAPs are configured to be hidden. This way, although the first and second frequency bands each actually include two VAPs, it appears to the user that each band includes only one VAP, thus avoiding confusion for the user.

[0224] 1020, the first device receives a request message sent by the second device. The request message is used to request access to the first VAP.

[0225] The request message can be found in the relevant description above.

[0226] 1030, after the verification request message passes, the first device allows the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishes a network connection with the second device in the first frequency band and the second frequency band.

[0227] After the first device passes the verification request message, it can negotiate a key with the second device, enabling the first and second devices to use the key to transmit data in the first and second frequency bands, as detailed in the previous description.

[0228] In other examples, the request message can also be used to request access to a third VAP. In this case, after the first device verifies that the request message is successful, it can allow the second device to access the third VAP and the second VAP, establishing a network connection with the second device in the first and second frequency bands.

[0229] In one embodiment of this application, when the first device starts up, the first device can create a first VAP and a second VAP in a first frequency band, and a third VAP and a fourth VAP in a second frequency band; and receive a request message from the second device requesting access to the first VAP. After verifying that the request message is successful, the first device allows the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishes a network connection with the second device in the first and second frequency bands.

[0230] In this way, even though the SSID of the first VAP in the first frequency band is different from the SSID of the third VAP in the second frequency band, the first device and the second device can still establish a multi-link connection in the first frequency band and the second frequency band.

[0231] In some embodiments, the first frequency band and the second frequency band are any two of the following frequency bands: 2.4G, 5G, 6G, 45G, and 60G.

[0232] In other examples, the first frequency band and the second frequency band may also include 5G low frequency, 5G high frequency, etc., which are not limited in this application.

[0233] In some embodiments, after the verification request message passes, allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band includes:

[0234] After the verification request message passes, the second device is allowed to simultaneously access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establish network connections with the second device in the first frequency band and the second frequency band simultaneously.

[0235] In one embodiment of this application, after the first device passes the verification request message, it allows the second device to access the first VAP and the fourth VAP simultaneously, and establishes network connections with the second device in the first frequency band and the second frequency band at the same time, thereby enabling the first device and the second device to quickly establish a multi-link connection.

[0236] In some embodiments, after the verification request message passes, the second device is allowed to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the first frequency band and the second frequency band, including:

[0237] After the verification request message is passed, the second device is allowed to access the first VAP and establish a network connection with the second device in the first frequency band;

[0238] After establishing a network connection with the second device in the first frequency band, the second device is allowed to access the fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the second frequency band.

[0239] In one embodiment of this application, after the first device verifies the request message, it allows the second device to access the first VAP and establishes a network connection with the second device in the first frequency band. Then, it allows the second device to access a fourth VAP with the same network configuration as the first VAP and establishes a network connection with the second device in the second frequency band. This enables the second device to access the network.

[0240] In some embodiments, the method 900 may further include:

[0241] If the verification request message fails, the second device is denied access to the first VAP.

[0242] If the first device's authentication request message fails, the second device can be denied access to the first VAP. This can improve the security of network access.

[0243] Figure 12 This is a schematic block diagram of a device provided in an embodiment of this application. For example... Figure 12 As shown, the device 1100 may include one or more processors 1110; one or more memories 1120; the one or more memories 1120 storing one or more instructions that, when executed by one or more processors 1110, cause the device connection method as described in any of the possible implementations above to be performed.

[0244] For example, the device 1100 may be the device 100, device 200a, device 200c or the first device mentioned above.

[0245] This application also provides an apparatus including a processor and a communication interface. The communication interface is used to receive signals and transmit the signals to the processor. The processor processes the signals so that the device connection method described in any of the possible implementations above is executed.

[0246] The device can be a chip. For example, the chip can be a chip system or a standalone chip.

[0247] This embodiment also provides a readable storage medium storing instructions that, when executed on a device, cause the device to perform the aforementioned method steps to implement the device connection method described above.

[0248] This embodiment also provides a program product that, when run on a device, causes the device to perform the aforementioned steps to realize the device connection method described in the above embodiment.

[0249] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store instructions, and when the apparatus is running, the processor may execute the instructions stored in the memory to cause the apparatus to perform the device connection methods in the above method embodiments.

[0250] In this embodiment, the device, readable storage medium, program product or apparatus are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0251] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0252] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for connecting devices, characterized in that, The method is applied to a first device, the first device including a first Virtual Access Point (VAP) located in a first frequency band and a second VAP located in a second frequency band, wherein the Service Set Identifier (SSID) of the first VAP is different from the SSID of the second VAP, and the method includes: Upon detecting an operation to disable the multi-frequency merging function, a third VAP is created in the first frequency band, and a fourth VAP is created in the second frequency band. The network configuration of the third VAP is the same as that of the second VAP, and the network configuration of the fourth VAP is the same as that of the first VAP. Receive a request message sent by the second device, the request message being used to request access to the first VAP; After verifying the request message, the second device is allowed to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the first frequency band and the second frequency band.

2. The method according to claim 1, characterized in that, After verifying the request message, allowing the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band includes: After verifying the request message, the second device is allowed to simultaneously access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establish network connections with the second device in both the first and second frequency bands.

3. The method according to claim 1, characterized in that, After verifying the request message, the step of allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band, includes: After verifying that the request message is successful, the second device is allowed to access the first VAP and establish a network connection with the second device in the first frequency band; After establishing a network connection with the second device in the first frequency band, the second device is allowed to access a fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the second frequency band.

4. The method according to any one of claims 1-3, characterized in that, The SSIDs of the third VAP and the fourth VAP are configured to be hidden.

5. The method according to any one of claims 1-3, characterized in that, The network configuration includes at least the SSID, encryption method, and access password.

6. The method according to any one of claims 1-3, characterized in that, The first frequency band and the second frequency band are any two of the following frequency bands: 2.4G, 5G, 6G, 45G, 60G.

7. The method according to any one of claims 1-3, characterized in that, The method further includes: If the verification of the request message fails, the second device is denied access to the first VAP.

8. A method for connecting devices, characterized in that, The method is applied to a first device, and the method includes: When the first device starts up, a first virtual access point (VAP) and a second VAP are created in the first frequency band, and a third VAP and a fourth VAP are created in the second frequency band. The network configuration of the first VAP is the same as that of the fourth VAP, and the network configuration of the second VAP is the same as that of the third VAP. Receive a request message sent by the second device, the request message being used to request access to the first VAP; After verifying the request message, the second device is allowed to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the first frequency band and the second frequency band.

9. The method according to claim 8, characterized in that, After verifying the request message, allowing the second device to access the first VAP and the fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band includes: After verifying the request message, the second device is allowed to simultaneously access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establish network connections with the second device in both the first and second frequency bands.

10. The method according to claim 8, characterized in that, After verifying the request message, the step of allowing the second device to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and establishing a network connection with the second device in the first frequency band and the second frequency band, includes: After verifying that the request message is successful, the second device is allowed to access the first VAP and establish a network connection with the second device in the first frequency band; After establishing a network connection with the second device in the first frequency band, the second device is allowed to access a fourth VAP with the same network configuration as the first VAP, and establish a network connection with the second device in the second frequency band.

11. The method according to any one of claims 8-10, characterized in that, The SSID of the second VAP and the SSID of the fourth VAP are configured to be hidden.

12. The method according to any one of claims 8-10, characterized in that, The network configuration includes at least the SSID, encryption method, and access password.

13. The method according to any one of claims 8-10, characterized in that, The first frequency band and the second frequency band are any two of the following frequency bands: 2.4G, 5G, 6G, 45G, 60G.

14. The method according to any one of claims 8-10, characterized in that, The method further includes: If the verification of the request message fails, the second device is denied access to the first VAP.

15. A device, characterized in that, include: One or more processors; One or more memories; the one or more memories storing one or more programs that, when executed by one or more processors, cause the method of device connection as described in any one of claims 1-14 to be performed.

16. An apparatus, characterized in that, The device includes a processor and a communication interface for receiving signals and transmitting the signals to the processor, which processes the signals such that the device connection method as described in any one of claims 1-14 is executed.

17. A readable storage medium, characterized in that, The readable storage medium stores instructions that, when executed on the device, cause the device connection method as described in any one of claims 1-14 to be performed.

Citation Information

Patent Citations

  • Wireless communication method

    CN115226248A

  • Multi-link aggregation link management

    US20200359259A1