Equipment connection method and equipment

By creating additional VAPs in each frequency band and allowing STA access, the problem that STA and AP cannot establish wireless network connections in a multi-band environment is solved, and the multi-link connection between STA and AP and network access speed is improved.

CN119136337AActive Publication Date: 2024-12-13NOKIA TECHNOLOGIES OY
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In a multi-band environment, STA and AP cannot establish wireless network connections at the same time because VAPs in different frequency bands have different SSIDs, which makes it impossible for the device to establish wireless network connections in multiple frequency bands.

Method used

Multi-link connection is established by creating additional VAPs in each band that are the same network configuration as the primary VAP and allowing STAs to access these additional VAPs, although the SSIDs of the primary VAP and the additional VAP are different.

Benefits of technology

The wireless network connection between STA and AP in multiple frequency bands is realized, which improves the network access speed and security of the device and avoids the trouble of users seeing multiple identical BSSIDs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136337A_ABST
    Figure CN119136337A_ABST
Patent Text Reader

Abstract

The invention provides an equipment connection method and equipment. The method can be applied to a first device comprising a first VAP and a second VAP, and comprises the following steps: when the first device detects an operation of closing a multi-frequency integrated function, a third VAP is created in a first frequency band, a fourth VAP is created in a second frequency band, 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 which is sent by the second equipment and is used for requesting to access the first VAP; and after the verification request message passes, allowing the second device to access the first VAP and the fourth VAP, and establishing a multi-link connection with the second device. According to the technical scheme, when the SSIDs of the VAPs in different frequency bands are different, the first equipment and the second equipment can still establish wireless network connection in multiple frequency bands.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of electronic technology, and more specifically, to a method and device for connecting devices. Background Art

[0002] Currently, wireless access points (APs) and stations (STAs) can establish wireless connections in multiple frequency bands (e.g., 2.4G, 5G). In this case, virtual access points (VAPs) need to be created in multiple frequency bands, and the VAPs on the multiple frequency bands need to have the same service set identifier (SSID).

[0003] AP generally provides the function of combining multiple frequencies into one. When the function is enabled, the SSIDs of VAPs of multiple frequency bands of the AP are combined into one SSID to facilitate the switching of the wireless network connection between the STA and the AP between multiple frequency bands.

[0004] Some users also turn off the multi-frequency integration function. In this case, the SSIDs of the VAPs of multiple frequency bands of the AP are different, that is, there are multiple wireless LANs. When the STA configures the network for the device that implements the AP function in software mode, the STA and the AP need to establish a wireless network connection in the 2.4G frequency band. However, since the SSIDs of VAPs in different frequency bands are different, the STA and the AP cannot establish a wireless network connection in multiple frequency bands at the same time. Summary of the invention

[0005] The embodiments of the present application provide a method and a device for connecting devices, so that when the SSIDs of VAPs in different frequency bands are different, an AP and a STA can establish a wireless network connection in multiple frequency bands.

[0006] A first aspect provides a method for connecting devices, the method being applied to a first device, the first device comprising a first virtual access point VAP located in a first frequency band and a second VAP located in a second frequency band, the service set identifier SSID of the first VAP being different from the SSID of the second VAP, the method comprising: detecting an operation of turning off a multi-frequency integration function, creating a third VAP in the first frequency band, and creating a fourth VAP in the second frequency band, wherein a network configuration of the third VAP is the same as a network configuration of the second VAP, and a network configuration of the fourth VAP is the same as a 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 passes, allowing the second device to access the first VAP and the fourth VAP having 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 an embodiment of the present application, a 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 turn off the multi-frequency integration function, a third VAP with the same network configuration as the first VAP is created in the first frequency band, and a fourth VAP with the same network configuration as the second VAP is created in the second frequency band; and a request message sent by the second device requesting access to the first VAP is received. After verifying that the request message is passed, 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.

[0008] In this way, although 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 combination with the first aspect, in an implementation method of the first aspect, after verifying that the request message is passed, 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 that the request message is passed, allowing the second device to simultaneously 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.

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

[0011] In combination with the first aspect, in an implementation method of the first aspect, after verifying that the request message is passed, 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, including: after verifying that the request message is passed, allowing the second device to access the first VAP, and establishing 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, 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.

[0012] Based on the embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP, and first establishes a network connection with the second device in the first frequency band; then, the second device is allowed 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. In this way, the second device can access the network.

[0013] With reference to the first aspect, in an implementation manner of the first aspect, the SSID of the third VAP and the SSID of the fourth VAP are configured to be in a hidden state.

[0014] Based on the embodiment of the present application, the SSIDs corresponding to the third VAP and the fourth VAP are configured to be hidden. In this way, although the first frequency band and the second frequency band actually each include two VAPs, to the user, the first frequency band and the second frequency band each include one VAP, thus avoiding confusion for the user.

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

[0016] In combination with the first aspect, in an implementation manner 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 combination with the first aspect, in an implementation manner of the first aspect, the method further includes: when the verification request message fails, denying the second device access to the first VAP.

[0019] Based on the embodiment of the present application, when the first device authentication request message fails, the second device may be denied access to the first VAP, thereby improving the security of network access.

[0020] A second aspect provides a method for connecting devices, which is applied to a first device, and includes: when the first device is started, 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, wherein the request message is used to request access to the first VAP; after verifying that the request message is passed, 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 the present application, when the first device is started, the first device can create a first VAP and a second VAP in the first frequency band, and create a third VAP and a fourth VAP in the second frequency band; and receive a request message sent by the second device requesting access to the first VAP. After verifying that the request message is passed, 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, although 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 combination with the second aspect, in an implementation method of the second aspect, after verifying that the request message is passed, 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 that the request message is passed, allowing the second device to simultaneously 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.

[0024] Based on the embodiments of the present application, in one embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP and the fourth VAP at the same time, and establishes a network connection with the second device in the first frequency band and the second frequency band at the same time, so that the first device and the second device can quickly establish a multi-link connection.

[0025] In combination with the second aspect, in an implementation method of the second aspect, after verifying that the request message is passed, 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, including: after verifying that the request message is passed, allowing the second device to access the first VAP, and establishing 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, 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 embodiment of the present application, in one embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP, and first establishes a network connection with the second device in the first frequency band; then, the second device is allowed 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. In this way, the second device can access the network.

[0027] In combination with the second aspect, in an implementation manner of the second aspect, the SSID of the second VAP and the SSID of the fourth VAP are configured to be in a hidden state.

[0028] In this way, although the first frequency band and the second frequency band actually include two VAPs respectively, from the user's point of view, the first frequency band and the second frequency band each include one VAP, thereby avoiding confusion for the user.

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

[0030] In combination with the second aspect, in an implementation manner 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 combination with the second aspect, in an implementation manner of the second aspect, the method further includes: when the verification request message fails, denying the second device access to the first VAP.

[0032] Based on the embodiment of the present application, when the first device authentication request message fails, the second device may be denied access to the first VAP, thereby improving the security of network access.

[0033] The third aspect provides a device, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, and when the one or more programs are executed by one or more processors, the method for connecting the devices as described in the first aspect and any possible implementation thereof is executed.

[0034] The fourth aspect provides a device, comprising: one or more processors; one or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by one or more processors, the method of connecting the device as described in the second aspect and any possible implementation thereof is executed.

[0035] A fifth aspect provides an apparatus, comprising a module for implementing the method for connecting devices as described in the first aspect, the second aspect and any possible implementation manner thereof.

[0036] The sixth aspect provides a device, comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method for connecting devices as described in the first aspect and any possible implementation thereof is executed.

[0037] The seventh aspect provides a device, comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method for connecting devices as described in the second aspect and any possible implementation thereof is executed.

[0038] The device in the sixth aspect and the seventh aspect may be a chip. For example, the chip may be a chip system or an independent chip.

[0039] An eighth aspect provides a readable storage medium, wherein the readable storage medium stores instructions, and when the instructions are executed on a device, the method for connecting a device as described in the first aspect and any possible implementation thereof is executed.

[0040] A ninth aspect provides a readable storage medium, wherein the readable storage medium stores instructions, and when the instructions are executed on a device, the method for connecting a device as described in the second aspect and any possible implementation thereof is executed.

[0041] The tenth aspect provides a program product, which includes a program code. When the program code runs on a device, the method for connecting a device as described in the first aspect and any possible implementation thereof is executed.

[0042] The eleventh aspect provides a program product, which includes a program code. When the program code runs on a device, the method for connecting a device as described in the second aspect and any possible implementation thereof is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a structural diagram of a device.

[0044] Figure 2 It is a schematic diagram of a scenario to which the device connection method provided in an embodiment of the present application can be applied.

[0045] Figure 3 It is a schematic diagram of another scenario to which the device connection method provided in an embodiment of the present application can be applied.

[0046] Figure 4 It is a schematic interactive diagram of a method for connecting devices provided in an embodiment of the present application.

[0047] Figure 5 It is a schematic interactive diagram of another device connection method provided in an embodiment of the present application.

[0048] Figure 6 It is a schematic interactive diagram of another device connection method provided in an embodiment of the present application.

[0049] Figure 7 It is a schematic interactive diagram of another device connection method provided in an embodiment of the present application.

[0050] Figure 8 It is a schematic interactive diagram of another device connection method provided in an embodiment of the present application.

[0051] Fig. 9 It is a schematic interactive diagram of another device connection method provided in an embodiment of the present application.

[0052] Fig.10 It is a schematic flowchart of a device connection method provided in an embodiment of the present application.

[0053] Fig.11 It is a schematic flowchart of another device connection method provided in an embodiment of the present application.

[0054] Fig.12 It is a schematic block diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

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

[0057] The device in the embodiment of the present application can be a mobile phone, a tablet, a laptop computer, a smart TV, etc., and can also be an Internet of Things device, etc.

[0058] The network devices in the embodiments of the present application 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., but are not limited to the embodiments of the present application.

[0059] Before introducing the technical solution of the present application, some professional terms that may be involved in the present application are briefly introduced as follows.

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

[0061] Virtual access point (VAP): is a service function entity virtualized on an AP device. Multiple APs can be virtualized on a physical AP. Each virtualized AP is a VAP, and each VAP provides the same functions as a physical AP. In the embodiment of the present application, multiple VAPs can be created in one frequency band.

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

[0063] Service set identifier (SSID): SSID is usually broadcast by AP. Simply put, SSID is the name of a wireless local area network (WLAN).

[0064] Basic service set identifier (BSSID): used to identify a basic service set. In the present application, BSSID can be understood as the media access control (MAC) address of the VAP.

[0065] Figure 1 A schematic diagram of the structure of a device. For example, the device may 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 structure illustrated in the embodiment of the present application does not constitute a specific limitation on the device 100. In other embodiments of the present application, the device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

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

[0068] Figure 2 , Figure 3 It is a schematic diagram of a scenario to which the device connection method provided in an embodiment of the present application can be applied.

[0069] like Figure 2 As shown, the scenario may include at least device 200a and device 200b. With the support of wireless fidelity (Wi-Fi) protocol 7, a wireless connection can be established between AP and STA in multiple frequency bands. For example, device 200a and device 200b can establish a wireless connection in multiple frequency bands (for example, 2.4G, 5G, 6G, etc.), that is, device 200a and device 200 can be connected in multiple links (multilink). In this way, data can be exchanged between device 200a and device 200b in multiple frequency bands, thereby reducing message delay, improving download speed, etc.

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

[0071] In other cases, see Figure 3 , the scenario may include at least device 200a, device 200c and device 200b. In the case of multi-level networking supported by Wi-Fi protocol 7, device 200a can establish a wireless connection with device 200c in multiple frequency bands (e.g., 2.4G, 5G, 6G, etc.). Similarly, device 200c can establish a wireless connection with device 200b in multiple frequency bands (e.g., 2.4G, 5G, 6G, etc.). In this case, device 200c can serve as both a STA device of 200a and an AP device of device 200b.

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

[0073] Take the example of device 200a and device 200b establishing a wireless connection in the 2.4G band and the 5G band. Device 200a can create VAP1 in the 2.4G band and VAP2 in the 5G band. When device 200b requests to access VAP1, it can send a connection request to device 200a. After device 200a verifies that the connection request is passed, it can allow 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 that the connection request is passed, device 200a and device 200b can negotiate a key so that device 200a and device 200b also use the key for data communication in the 5G band, so that device 200a allows device 200b to access VAP2, so that device 200a can also establish a wireless network connection with device 200b in the 5G band.

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

[0075] Device 200a or device 200c generally provides a multi-frequency integration function. When the multi-frequency integration function is turned on, the SSIDs of the VAPs of multiple frequency bands of device 200a or device 200c are combined into one SSID to facilitate the wireless network connection between device 200b and device 200a or device 200c to switch between multiple frequency bands. For example, when the distance between device 200b and device 200a is relatively close, device 200b and device 200a can establish a wireless network connection in the 5G frequency band for data exchange; when the distance between device 200b and device 200a is relatively far, device 200b and device 200a can establish a wireless network connection in the 2.4G frequency band for data exchange.

[0076] Generally, devices that implement AP functions in software only support working in the 2.4G frequency band. When device 200b establishes a wireless network connection with device 200a or device 200c in the 5G frequency band, device 200b will not be able to configure the network for devices that implement AP functions in software.

[0077] Some users will also turn off the multi-frequency integration function. In this case, the SSIDs of the VAPs of multiple frequency bands of device 200a or device 200c are different, that is, there are multiple wireless LANs. When device 200b configures the network for the above-mentioned device that implements the AP function in software, device 200b needs to establish a wireless network connection with device 200a or device 200c in the 2.4G frequency band. However, since the SSIDs of VAPs in different frequency bands are different, device 200b cannot establish a wireless network connection with device 200a or device 200c in multiple frequency bands at the same time.

[0078] In view of this, the present application provides a method for connecting devices, so that when the SSIDs of VAPs in different frequency bands are different, the AP and the STA can also perform multi-link connection.

[0079] In an embodiment of the present application, the AP device may support working in multiple frequency bands. For example, the AP device may support working in two frequency bands, three frequency bands, or more than three frequency bands.

[0080] The following will combine Figure 4-9 The technical solution of the device connection method of the present application is introduced in detail.

[0081] In this application, the first device supports working in two different frequency bands as an example for explanation. For example, the first device can be a dual-band router that supports working in a first frequency band and a second frequency band. The first frequency band and the second frequency band can be any two of 2.4G, 5G, 6G, 45G, 60G, 5G low frequency, 5G high frequency, etc. Similarly, the second device also supports working in the first frequency band and the second frequency band.

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

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

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

[0085] Figure 4 is a schematic interactive diagram of a method for connecting devices provided in an embodiment of the present application. Figure 4As shown, the method 300 may include steps 310 to 330 .

[0086] 310. When the first device is started, VAP1 and VAP2 are created in the first frequency band, and VAP3 and VAP4 are created in the second frequency band, wherein the network configurations of VAP1 and VAP3 are the same, and the network configurations of VAP2 and VAP4 are the same.

[0087] Exemplarily, the first device starting up can be understood as turning on the power supply and starting to work. The first frequency band can be a 2.4G frequency band, and the second frequency band can be a 5G frequency band.

[0088] The network configurations of VAP1 and VAP3 are the same, which means that VAP1 and VAP3 correspond to the same SSID, the same encryption method, and the same access password.

[0089] For example, if the SSID of VAP1 is "LSLDXA", the encryption method of VAP1 is WI-FI protected access (WPA) 2, and the access password of VAP1 is "12345678", then the SSID of VAP3 is also set to "LSLDXA", the encryption method of VAP3 is set to WPA2, and the access password of VAP3 is set to "12345678".

[0090] Similarly, the network configurations of VAP2 and VAP4 are the same, which can be understood as that VAP2 and VAP4 correspond to the same SSID, the same encryption method, and the same access password.

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

[0092] In some examples, the first device may configure VAP1 and VAP3 having the same network configuration as a group of VAPs, and configure VAP2 and VAP4 having the same network configuration as another group of VAPs.

[0093] In other examples, the SSID corresponding to the VAP2 is in a hidden state, and the SSID corresponding to the VAP3 is in a hidden state. In this way, from the user's point of view, there is a visible SSID1 corresponding to the VAP1 in the first frequency band, and a visible SSID4 corresponding to the VAP4 in the second frequency band. This prevents the user from seeing multiple identical BSSIDs in the advanced options of the WLAN list, which causes confusion to the user.

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

[0095] It should be understood that the establishment of a multi-link connection between the second device and the first device requires that the second device also supports working in multiple frequency bands. For example, the second device includes wireless interfaces of the first frequency band and the second frequency band.

[0096] Exemplarily, when the second device establishes a network connection relationship with the first device, the user can choose to first initiate an association between the two in the first frequency band or the second frequency band.

[0097] For example, the user clicks on SSID1 corresponding to VAP1 in the available WLAN list of the WLAN of the second device, and clicks on the connect operation after entering the access password. This can be considered as triggering the second device to send a request message 1 to connect to VAP1 to the first device for verification by the first device.

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

[0099] 330. After the request message 1 is verified successfully, the first device 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] Exemplarily, after receiving the request message 1, the first device can verify whether the various information in the request message 1 is correct or adapted. When the verification is passed, the first device negotiates a key A with the second device, and the first device stores the key A in the storage location or storage space corresponding to VAP1. After that, the first device also stores the key A in the storage location or storage space corresponding to VAP3. Similarly, the second device stores the key A in the storage location or storage space corresponding to the wireless interface of the first frequency band, and then the second device also stores the key A in the storage location or storage space corresponding to the wireless interface of the second frequency band. This enables the first device and the second device to use the key A to perform data transmission in the first frequency band and the second frequency band. So far, it can be understood that the second device accesses VAP1 and VAP3, and the first device and the second device establish a network connection in the first frequency band and the second frequency band.

[0101] It should be understood that the wireless interfaces of each frequency band of the second device involved in the present application may be STA interfaces. For example, the wireless interface of the first frequency band may be STA1 interface, the wireless interface of the second frequency band may be STA2 interface, and the wireless interface of the third frequency band may be STA3 interface. For the wireless interface involved below, please refer to the description here.

[0102] In the embodiment of the present application, the first device can also configure VAP1 and VAP3 with the same network configuration as a group of VAPs, and configure VAP2 and VAP4 with the same network configuration as another group of VAPs. When the first device verifies that the request message 1 passes and negotiates the key A, the first device stores the key A in the storage location or storage space corresponding to VAP1, and then the first device also stores the key A in the storage location or storage space corresponding to VAP3; similarly, the second device stores the key A in the storage location or storage space corresponding to the wireless interface of the first frequency band, and then the second device also stores the key A in the storage location or storage space corresponding to the wireless interface of the second frequency band. Thus, the second device can also communicate data with VAP3 in the second frequency band according to the key A. In this way, the second device can access a group of VAPs and establish a multi-link connection with the first device.

[0103] In some other examples, when the first device fails to pass the authentication request message 1, the second device may be denied access to VAP1 and VAP3.

[0104] In one embodiment of the present application, when the first device is started, VAP1 and VAP2 can be created in the first frequency band, and VAP3 and VAP4 can be created in the second frequency band, and the network configurations of VAP1 and VAP3 are the same, and the network configurations of VAP2 and VAP4 are the same. When the first device receives a request message for connecting to VAP1 sent by the second device, it can allow the second device to access VAP1 and VAP3 with the same network configuration after verification, and establish a network connection with the second device in the first frequency band and the second frequency band. In this way, although the SSIDs corresponding to different VAPs of the first device in the first frequency band and the second frequency band are different, the first device and the second device can also establish a network connection in both the first frequency band and the second frequency band.

[0105] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP1 first, and first establish a network connection with the second device in the first frequency band. Afterwards, the first device stores the negotiated key in a storage location or storage space corresponding to VAP3, and the second device stores the negotiated key in a storage location or storage space corresponding to the wireless interface of the second frequency band, so that the second device can access VAP3 with the same network configuration as VAP1, and the first device and the second device establish a network connection in the second frequency band. In this way, the second device can access the network as soon as possible.

[0106] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP1 first, and establish a network connection with the second device in the first frequency band. Afterwards, the first device uses the same encryption method, access password and other information as in the request message to request access to VAP3. After the verification is passed, the second device is allowed to access VAP3, and the first device and the second device establish a network connection in the second frequency band. In this way, the second device can access the network as soon as possible.

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

[0108] 410 , when the first device is started, VAP1 and VAP2 are created in the first frequency band, and VAP3 and VAP4 are created in the second frequency band, wherein the network configurations of VAP1 and VAP3 are the same, and the network configurations of VAP2 and VAP4 are the same.

[0109] It should be understood that the step 410 can refer to 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 for connecting to VAP 4. Correspondingly, the first device receives the request message 2.

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

[0112] For example, the user clicks on SSID4 corresponding to VAP4 in the available WLAN list of the WLAN of the second device, and clicks on the connect operation after entering the access password. This can be considered as triggering the second device to send a request message 2 to connect to VAP4 to the first device for verification by the first device.

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

[0114] 430 , after the verification request message 2 is passed, the first device 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] Exemplarily, after receiving the request message 2, the first device can verify whether the various information in the request message 2 is correct or adapted. When the verification is passed, the first device negotiates a key B with the second device, and the first device stores the key B in the storage location or storage space corresponding to VAP4. After that, the first device also stores the key B in the storage location or storage space corresponding to VAP2. Similarly, the second device stores the key B in the storage location or storage space corresponding to the wireless interface of the second frequency band, and then the second device also stores the key B in the storage location or storage space corresponding to the wireless interface of the first frequency band. In this way, the first device and the second device can use the key B to perform data transmission in the first frequency band and the second frequency band. So far, it can be understood that the second device accesses VAP4 and VAP2, and the first device and the second device establish a network connection in the first frequency band and the second frequency band.

[0116] In some other examples, when the first device fails the verification request message 2 , the second device may be denied access to the VAP 4 .

[0117] In one embodiment of the present application, when the first device is started, VAP1 and VAP2 can be created in the first frequency band, and VAP3 and VAP4 can be created in the second frequency band, and the network configurations of VAP1 and VAP3 are the same, and the network configurations of VAP2 and VAP4 are the same. When the first device receives a request message for connecting to VAP4 sent by the second device, it can allow the second device to access VAP4 and VAP2 with the same network configuration after verification, and establish a network connection with the second device in the second frequency band and the first frequency band. In this way, although the SSIDs corresponding to different VAPs of the first device in the first frequency band and the second frequency band are different, the first device and the second device can also establish a network connection in both the first frequency band and the second frequency band.

[0118] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP4 first, and establish a network connection with the second device in the second frequency band. Afterwards, the first device stores the negotiated key in a storage location or storage space corresponding to VAP2, and the second device stores the negotiated key in a storage location or storage space corresponding to the wireless interface of the first frequency band, so that the second device can access VAP2, and the first device and the second device establish a network connection in the first frequency band. In this way, the second device can access the network as soon as possible.

[0119] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP4 first, and first establish a network connection with the second device in the second frequency band. Afterwards, the first device uses the same encryption method, access password and other information as in the above request message to request access to VAP2. After the verification is passed, the second device is allowed to access VAP2, and the first device and the second device establish a network connection in the first frequency band. In this way, the second device can access the network as soon as possible.

[0120] Combination of the above Figure 4-5 This article introduces a technical solution in which a first device directly creates two VAPs with different network configurations in a first frequency band and two VAPs with different network configurations in a second frequency band when the first device is started. In some cases, after the first device is started, the first device may also create a VAP1 in the first frequency band and a VAP2 in the second frequency band; when the first device detects that the user has turned off the multi-frequency integration function, it may additionally create a VAP3 in the first frequency band and an additional VAP4 in the second frequency band. Figure 6-7 Introduce the technical solution.

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

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

[0123] The network configurations of VAP1 and VAP2 may be different. For example, the SSID corresponding to VAP1 is SSID1, and the SSID corresponding to VAP2 is SSID2.

[0124] It should be understood that the startup of the first device can refer to the relevant description in the foregoing text.

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

[0126] For example, the first device may include a button for turning off the multi-frequency integration function, and the operation of turning off the multi-frequency integration function may be an operation of the user pressing the multi-frequency integration button. Alternatively, in the control application or control webpage of the first device, there is an option for turning off the multi-frequency integration function, and the operation of turning off the multi-frequency integration function may be an operation of the user clicking the option for turning off the multi-frequency integration function.

[0127] After detecting the operation of shutting down the multi-frequency integration 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 originally existing in the second frequency band, and the network configuration of VAP4 is the same as the network configuration of VAP1 originally existing in the first frequency band.

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

[0129] For the request message 3, please refer to the relevant description in the request message 1 in the previous text.

[0130] 540 , after the verification request message 3 is passed, the first device 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] Exemplarily, after receiving the request message 3, the first device can verify whether the various information in the request message 3 is correct or adapted. When the verification is passed, the first device negotiates a key C with the second device, and the first device stores the key C in the storage location or storage space corresponding to VAP1. After that, 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, and then 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 first device and the second device to use the key C to perform data transmission in the first frequency band and the second frequency band. So far, it can be understood that the second device accesses VAP1 and VAP4, and the first device and the second device establish a network connection in the first frequency band and the second frequency band.

[0132] In some other examples, when the first device fails the verification request message 3, the second device may be denied access to VAP1.

[0133] In the embodiment of the present application, the first device may also configure VAP1 and VAP4 with the same network configuration as a group of VAPs, and configure VAP2 and VAP3 with the same network configuration as another group of VAPs. After the first device verifies that the request message 3 passes and negotiates the key C, the first device stores the key C in the storage location or storage space corresponding to VAP1, and then 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, and then 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. Thus, the second device can also communicate data with VAP4 in the second frequency band according to the key C. In this way, the second device accesses a group of VAPs and establishes a multi-link connection with the first device.

[0134] The embodiment of the present application does not limit the specific execution order of the above steps 510 to 540. In other examples, some steps in steps 510 to 540 may not be executed 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 may be executed starting from step 520.

[0135] In one embodiment of the present application, when the first device is started, VAP1 can be created in the first frequency band and VAP2 can be created in the second frequency band; after detecting the operation of turning off the multi-frequency integration function, VAP3 can be created in the first frequency band and VAP4 can be created in the second frequency band, and the network configuration of VAP3 is the same as that of VAP2, and the network configuration of VAP4 is the same as that of VAP1. When the first device receives a request message for connecting to VAP1 sent by the second device, it can allow the second device to access VAP1 and VAP4 with the same network configuration after verification, and establish a network connection with the second device in the first frequency band and the second frequency band. In this way, although the SSIDs corresponding to different VAPs of the first device in the first frequency band and the second frequency band are different, the first device and the second device can also establish a network connection in both the first frequency band and the second frequency band.

[0136] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP1 first, and first establish a network connection with the second device in the first frequency band. Afterwards, the first device stores the negotiated key in a storage location or storage space corresponding to VAP4, and the second device stores the negotiated key in a storage location or storage space corresponding to the wireless interface of the second frequency band, so that the second device can access VAP4, and the first device and the second device establish a network connection in the second frequency band. In this way, the second device can access the network as soon as possible.

[0137] In other examples, after verifying the request message of the second device, the first device may first allow the second device to access VAP1, and first establish a network connection with the second device in the first frequency band. Afterwards, the first device uses the same encryption method, access password and other information as in the above request message to request access to VAP4, and after the verification is passed, the second device is allowed to access VAP4, and the first device and the second device establish a network connection in the second frequency band. In this way, the second device can access the network as soon as possible.

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

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

[0140] 620. The first device detects an operation of disabling the multi-frequency integration function, creates VAP3 in the first frequency band, and creates VAP4 in the second frequency band, wherein the network configuration of VAP3 is the same as that of VAP2, and the network configuration of VAP4 is the same as that of VAP1.

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

[0142] 630, the second device sends a request message 4 for connecting to VAP 2 to the first device. Correspondingly, the first device receives the request message 4.

[0143] For the request message 4, please refer to the relevant description in the request message 1 above.

[0144] 640. After the verification request message 4 is passed, the first device 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] Exemplarily, after receiving the request message 4, the first device can verify whether the various information in the request message 4 is correct or matches. When the verification is passed, the first device negotiates a key D with the second device, and the first device stores the key D in the storage location or storage space corresponding to VAP2. After that, the first device also stores the key D in the storage location or storage space corresponding to VAP3; similarly, the second device stores the key D in the storage location or storage space corresponding to the wireless interface of the second frequency band, and then the second device also stores the key in the storage location or storage space corresponding to the wireless interface of the first frequency band. In this way, the first device and the second device can use the key D to perform data transmission in the first frequency band and the second frequency band. So far, 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 frequency band and the second frequency band.

[0146] In some other examples, when the first device fails the verification request message 4, the second device may be denied access to the VAP2.

[0147] The embodiment of the present application does not limit the specific execution order of the above steps 610 to 640. In other examples, some steps in steps 610 to 640 may not be executed 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 may be executed starting from step 620.

[0148] In one embodiment of the present application, when the first device is started, VAP1 can be created in the first frequency band and VAP2 can be created in the second frequency band; after detecting the operation of turning off the multi-frequency integration function, VAP3 can be created in the first frequency band and VAP4 can be created in the second frequency band, and the network configuration of VAP3 is the same as that of VAP2, and the network configuration of VAP4 is the same as that of VAP1. When the first device receives a request message for connecting to VAP2 sent by the second device, it can allow the second device to access VAP2 and VAP3 with the same network configuration after verification, and first establish a network connection with the second device in the second frequency band and the first frequency band. In this way, although the SSIDs corresponding to different VAPs of the first device in the first frequency band and the second frequency band are different, the first device and the second device can also establish a network connection in both the first frequency band and the second frequency band.

[0149] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP2 first, and first establish a network connection with the second device in the second frequency band. Afterwards, the first device stores the negotiated key in a storage location or storage space corresponding to VAP3, and the second device stores the negotiated key in a storage location or storage space corresponding to the wireless interface of the first frequency band, so that the second device can access VAP3, and the first device and the second device establish a network connection in the first frequency band. In this way, the second device can access the network as soon as possible.

[0150] In other examples, after verifying the request message of the second device, the first device may first allow the second device to access VAP2, and first establish a network connection with the second device in the second frequency band. Afterwards, the first device uses the same encryption method, access password and other information as in the request message to request access to VAP3, and after verification, the second device is allowed to access VAP3, and the first device and the second device establish a network connection in the first frequency band. In this way, the second device can access the network as soon as possible.

[0151] Combination of the above Figure 4-7 The technical solution for the first device to support operation in two frequency bands is introduced. Figure 8-9 Introduce a technical solution for the first device to support operation in three frequency bands.

[0152] For example, the first device may also be a tri-band router, supporting operation in the first frequency band, the second frequency band, and the third frequency band. The first frequency band and the second frequency band may be any three of 2.4G, 5G, 6G, 45G, 60G, 5G low frequency, 5G high frequency, etc. Similarly, the second device also supports operation in the first frequency band, the second frequency band, and the third frequency band.

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

[0154] 710. When the first device is started, 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, wherein the network configuration of VAP1 is the same as that of VAP5 and VAP8, the network configuration of VAP4 is the same as that of VAP2 and VAP9, and the network configuration of VAP7 is the same as that of VAP3 and VAP6.

[0155] In the embodiment of the present application, 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, the network configurations of VAP1, VAP5 and VAP8 are the same, the network configurations of VAP4, VAP2 and VAP9 are the same, and the network configurations of VAP7, VAP3 and VAP6 are the same. 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, and the SSIDs corresponding to VAP2 and VAP3 are hidden; in the second frequency band, the SSID corresponding to VAP4 is visible, and the SSIDs corresponding to VAP5 and VAP6 are hidden; in the third frequency band, the SSID corresponding to VAP7 is visible, and the SSIDs corresponding to VAP8 and VAP9 are hidden.

[0157] In this way, from the user's point of view, there is a visible SSID in each frequency band, which avoids the user seeing multiple identical BSSIDs in the advanced options of the WLAN list, causing confusion to the user.

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

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

[0160] For example, the user clicks on SSID1 corresponding to VAP1 in the available WLAN list of the WLAN of the second device, and clicks on the connect operation after entering the access password. This can be considered as triggering the second device to send a request message 5 to connect to VAP1 to the first device for verification by the first device.

[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 relevant information of the first frequency band, the second frequency band, and the third frequency band supported by the second device. For details, please refer to the relevant description in the previous text.

[0162] 730 , after the verification request message 5 is passed, the first device allows the second device to access VAP1 , VAP5 , and VAP8 , and establishes a network connection with the second device in the first frequency band, the second frequency band, and the third frequency band.

[0163] Exemplarily, after receiving the request message 5, the first device can verify whether the various information in the request message 5 is correct or adapted. When the verification is passed, the first device negotiates a key E with the second device, and the first device stores the key E in the storage location or storage space corresponding to VAP1. After that, the first device also stores the key E in the storage location or storage space 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, and then the second device also stores the key E in the storage location or storage space corresponding to the wireless interface of the second frequency band and the third frequency band. Thus, the first device and the second device can use the key E to perform data transmission in the first frequency band, the second frequency band and the third frequency band. So far, 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 frequency band, the second frequency band and the third frequency band.

[0164] In the embodiment of the present application, the first device can also configure VAP1, VAP5 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, VAP6 and VAP7 with the same network configuration as another group of VAPs. After the first device verifies that the request message 5 passes and negotiates the key E, the first device stores the key E in the storage location or storage space corresponding to VAP1, and then the first device also stores the key E in the storage location or storage space 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, and then the second device also stores the key E in the storage location or storage space corresponding to the wireless interface of the second frequency band and the third frequency band. , so that the second device can also communicate data with VAP5 in the second frequency band and communicate data with VAP8 in the third frequency band according to the key E. In this way, the second device accesses a group of VAPs and establishes a multi-link connection with the first device.

[0165] In some other examples, when the first device fails the verification request message 5 , the second device may be denied access to the VAP1 .

[0166] In other examples, when the second device first requests to connect to VAP4 of the second frequency band, the first device can allow the second device to access VAP4 and VAP2 and VAP9 with the same network configuration as VAP4 after the verification request message is passed, and establish a network connection with the second device in the second frequency band, the first frequency band and the third frequency band.

[0167] In other examples, when the second device first requests to connect to VAP7 of the third frequency band, the first device can allow the second device to access VAP7 and VAP3 and VAP6 with the same network configuration as VAP7 after the verification request message is passed, and establish a network connection with the second device in the first frequency band, the second frequency band and the third frequency band.

[0168] In this way, when the second device first accesses a VAP of a certain frequency band in a group of VAPs, the first device also allows the second device to access VAPs of other frequency bands in the group of VAPs, so that the first device and the second device establish a network connection in multiple frequency bands.

[0169] In other examples, when the second device first requests to connect to VAP1 of the first frequency band, the first device may also allow the second device to access the VAP1 first after the verification request message is passed, and establish a network connection with the second device in the first frequency band. After that, the second device is allowed to access VAP5 and VAP8 with the same network configuration as VAP1, and establish a network connection with the second device in the second frequency band and the third frequency band. In this way, the second device can access the network as soon as possible. It should be understood that when the second device first requests to connect to VAPs of other frequency bands, the above description can be referred to.

[0170] In other examples, after verifying the request message of the second device, the first device may first allow the second device to access VAP1, and first establish a network connection with the second device in the first frequency band. Afterwards, the first device uses the same encryption method, access password and other information as in the above request message to request access to VAP5 and VAP8. After the verification is passed, the second device is allowed to access VAP5 and VAP8, and the first device and the second device establish a network connection in the second frequency band and the third frequency band. In this way, the second device can access the network as soon as possible.

[0171] In one embodiment of the present 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] Fig. 9 FIG. 1 is a schematic interactive diagram of another device connection method provided in an embodiment of the present application. Fig. 9 As shown, the method 800 may include steps 810 to 840 .

[0173] 810 , when the first device is started, VAP1 is created in the first frequency band, VAP2 is created in the second frequency band, and VAP3 is created in the third frequency band.

[0174] The network configurations of the VAP1, VAP2 and VAP3 may be different from each other.

[0175] 820. An operation of disabling the multi-frequency integration function is detected. VAP4 and VAP5 are created in the first frequency band, VAP6 and VAP7 are created in the second frequency band, and VAP8 and VAP9 are created in the third frequency band. The network configurations of VAP6 and VAP8 are the same as those of VAP1, the network configurations of VAP4 and VAP9 are the same as those of VAP2, and the network configurations of VAP5 and VAP7 are the same as those of VAP3.

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

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

[0178] In this way, from the user's point of view, there is a visible SSID in each frequency band, which prevents the user from seeing multiple identical BSSIDs in the WLAN list, causing confusion to the user.

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

[0180] For step 830, please refer to the related description in the previous text.

[0181] 840 , after the verification request message 6 is passed, the first device allows the second device to access VAP1 , VAP6 , and VAP8 , and establishes a network connection with the second device in the first frequency band, the second frequency band, and the third frequency band.

[0182] It should be understood that the step 840 may refer to the relevant description of step 730 .

[0183] In some examples, the first device may 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 that the request message of the second device has passed and negotiates the key, the first device stores the key in the storage location or storage space corresponding to VAP1. Since the network configuration of VAP6 and VAP8 is the same as that of VAP1, the first device also stores the key in the storage location or storage space 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, and then the second device also stores the key in the storage location or storage space corresponding to the wireless interface of the second frequency band and the third frequency band. 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 of the second frequency band, the first device can allow the second device to access VAP2, VAP4 and VAP9 with the same network configuration as VAP2 after the verification request message is passed, and establish a network connection with the second device in the first frequency band, the second frequency band and the third frequency band.

[0186] In other examples, when the first device first requests to connect to VAP3 of the third frequency band, the first device can allow the second device to access VAP3, VAP5 and VAP7 with the same network configuration as VAP3 after the verification request message is passed, and establish a network connection with the second device in the first frequency band, the second frequency band and the third frequency band.

[0187] In this way, when the second device first accesses a VAP of a certain frequency band in a group of VAPs, the first device also allows the second device to access VAPs of other frequency bands in the group of VAPs, so that the first device and the second device establish a network connection in multiple frequency bands.

[0188] In other examples, when the second device first requests to connect to VAP1 of the first frequency band, the first device may also allow the second device to access the VAP1 first after the verification request message is passed, and establish a network connection with the second device in the first frequency band. After that, the second device is allowed to access VAP6 and VAP8 with the same network configuration as VAP1, and establish a network connection with the second device in the second frequency band and the third frequency band. In this way, the second device can access the network as soon as possible. It should be understood that when the second device first requests to connect to VAPs of other frequency bands, the above description can be referred to.

[0189] In other examples, after verifying the request message of the second device, the first device may also allow the second device to access VAP1 first, and establish a network connection with the second device in the first frequency band. Afterwards, the first device uses the same encryption method, access password and other information as in the request message to request access to VAP6 and VAP8. After verification, the second device is allowed to access VAP6 and VAP8, and the first device and the second device establish a network connection in the second frequency band and the third frequency band. In this way, the second device can access the network as soon as possible.

[0190] In one embodiment of the present 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 embodiment of the present application does not limit the specific execution order of the above steps 810 to 840. In other examples, some steps in steps 810 to 840 may not be executed 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, and the method 800 may be executed starting from step 820.

[0192] It should be understood that if the first device and the second device support working 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 exceed the scope of protection of this application.

[0193] Fig.10 FIG. 1 is a schematic flow chart of a method for connecting devices provided in an embodiment of the present application. Fig.10 As shown, the method 900 can be applied to a first device, the first device 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 the SSID of the second VAP, and the method 900 can include steps 910 to 930.

[0194] 910. The first device detects an operation of disabling the multi-frequency integration function, creates a third VAP in the first frequency band, and creates 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.

[0195] For the operation of disabling the multi-frequency integration function, please refer to the relevant description in the previous text.

[0196] It should be understood that the first device includes a first VAP located in a first frequency band and a second VAP located in a second frequency band. It can be understood that when the first device is started, the first VAP is created in the first frequency band and the second VAP is created in the second frequency band.

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

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

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

[0200] The content included in the request message can refer to the relevant description in the request message 1 in the previous text.

[0201] 930. After the verification request message is passed, the first device allows the second device to access the first VAP and a 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 verification request message is passed, the first device can negotiate a key with the second device, so that the first device and the second device can use the key to transmit data in the first frequency band and the second frequency band. For details, please refer to the relevant description in the above text.

[0203] In other examples, the request message may also be used to request access to the second VAP. In this case, after verifying that the request message is passed, the first device may allow the second device to access the second VAP and the third VAP, and establish a network connection with the second device in the first frequency band and the second frequency band.

[0204] In one embodiment of the present application, a 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 turn off a multi-frequency integration function, a third VAP with the same network configuration as the first VAP is created in the first frequency band, and a fourth VAP with the same network configuration as the second VAP is created in the second frequency band; and a request message sent by the second device requesting access to the first VAP is received. After verifying that the request message is passed, 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.

[0205] In this way, although 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 is not limited in this application.

[0208] In some embodiments, after the verification request message is passed, 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 is passed, 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 a network connection with the second device in the first frequency band and the second frequency band at the same time.

[0210] In one embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP and the fourth VAP at the same time, and establishes a network connection with the second device in the first frequency band and the second frequency band at the same time, so that the first device and the second device can quickly establish a multi-link connection.

[0211] In some embodiments, after the verification request message is passed, 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:

[0212] After the verification request message is passed, the second device is allowed to access the first VAP, and a network connection is established 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 a fourth VAP having the same network configuration as the first VAP, and a network connection is established with the second device in the second frequency band.

[0214] In one embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP, and first establishes a network connection with the second device in the first frequency band; then, the second device is allowed 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. In this way, the second device can access the network.

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

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

[0217] When the authentication request message of the first device fails, the second device may be denied access to the first VAP, thereby improving the security of network access.

[0218] Fig.11 FIG. 1 is a schematic flow chart of a method for connecting devices provided in an embodiment of the present application. Fig.11 As shown, the method 1000 may include steps 1010 to 1030 .

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

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

[0221] The first device is started, which can be understood as a state in which the first device is powered on and can work normally.

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

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

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

[0225] The request message may refer to the related description in the above text.

[0226] 1030. After the verification request message is passed, the first device allows the second device to access the first VAP and a 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 verification request message is passed, the first device can negotiate a key with the second device, so that the first device and the second device can use the key to transmit data in the first frequency band and the second frequency band. For details, please refer to the relevant description in the above text.

[0228] In other examples, the request message may also be used to request access to a third VAP. In this case, after verifying that the request message is passed, the first device may allow the second device to access the third VAP and the second VAP, and establish a network connection with the second device in the first frequency band and the second frequency band.

[0229] In one embodiment of the present application, when the first device is started, the first device can create a first VAP and a second VAP in the first frequency band, and create a third VAP and a fourth VAP in the second frequency band; and receive a request message sent by the second device requesting access to the first VAP. After verifying that the request message is passed, 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.

[0230] In this way, although 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 is not limited in this application.

[0233] In some embodiments, after the verification request message is passed, 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 is passed, 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 a network connection with the second device in the first frequency band and the second frequency band at the same time.

[0235] In one embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP and the fourth VAP at the same time, and establishes a network connection with the second device in the first frequency band and the second frequency band at the same time, so that the first device and the second device can quickly establish a multi-link connection.

[0236] In some embodiments, after the verification request message is passed, 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:

[0237] After the verification request message is passed, the second device is allowed to access the first VAP, and a network connection is established 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 a fourth VAP having the same network configuration as the first VAP, and a network connection is established with the second device in the second frequency band.

[0239] In one embodiment of the present application, after the verification request message is passed, the first device allows the second device to access the first VAP, and first establishes a network connection with the second device in the first frequency band; then, the second device is allowed 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. In this way, the second device can access the network.

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

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

[0242] When the authentication request message of the first device fails, the second device may be denied access to the first VAP, thereby improving the security of network access.

[0243] Fig.12 is a schematic block diagram of a device provided in an embodiment of the present application. Fig.12 As shown, the device 1100 may include one or more processors 1110; one or more memories 1120; the one or more memories 1120 store one or more instructions, and when the instructions are executed by one or more processors 1110, the method for connecting the devices as described in any possible implementation method described above is executed.

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

[0245] An embodiment of the present application also provides a device, 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 possible implementation method in the foregoing is executed.

[0246] The device may be a chip. For example, the chip may be a chip system or an independent chip.

[0247] This embodiment further provides a readable storage medium, in which instructions are stored. When the instructions are executed on a device, the device executes the above-mentioned related method steps to implement the device connection method in the above-mentioned embodiment.

[0248] This embodiment also provides a program product. When the program product is run on a device, the device executes the above-mentioned related steps to implement the device connection method in the above-mentioned embodiment.

[0249] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store instructions, and when the device is running, the processor may execute the instructions stored in the memory so that the device executes the device connection method in the above-mentioned method embodiments.

[0250] Among them, the equipment, readable storage medium, program product or device provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0251] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0252] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for connecting a device, characterized in that: The method is applied to a first device, the first device includes a first virtual access point VAP located in a first frequency band and a second VAP located in a second frequency band, 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 of disabling the multi-frequency integration function, a third VAP is created in the first frequency band, and a fourth VAP is created in the second frequency band, wherein a network configuration of the third VAP is the same as that of the second VAP, and a network configuration of the fourth VAP is the same as that of the first VAP; receiving a request message sent by a second device, where the request message is used to request access to the first VAP; After verifying that the request message is passed, the second device is allowed to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and a network connection is established with the second device in the first frequency band and the second frequency band.

2. A method for connecting a device, characterized in that: The method is applied to a first device, and the method includes: When the first device is started, a first virtual access point VAP and a second VAP are created in a first frequency band, and a third VAP and a fourth VAP are created in a second frequency band, wherein a network configuration of the first VAP is the same as a network configuration of the fourth VAP, and a network configuration of the second VAP is the same as a network configuration of the third VAP; receiving a request message sent by a second device, where the request message is used to request access to the first VAP; After verifying that the request message is passed, the second device is allowed to access the first VAP and a fourth VAP with the same network configuration as the first VAP, and a network connection is established with the second device in the first frequency band and the second frequency band.

3. The method according to claim 1 or 2, characterized in that: After verifying that the request message is passed, 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 passed, 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 a network connection with the second device simultaneously in the first frequency band and the second frequency band.

4. The method according to claim 1 or 2, characterized in that: After verifying that the request message is passed, 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 passed, allowing the second device to access the first VAP, and establishing 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, allowing the second device to access a fourth VAP having the same network configuration as the first VAP, and establishing a network connection with the second device in the second frequency band.

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

6. The method according to any one of claims 2 to 4, characterized in that: The SSID of the second VAP and the SSID of the fourth VAP are configured to be in a hidden state.

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

8. The method according to any one of claims 1 to 7, 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.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: When the request message fails to be verified, the second device is denied access to the first VAP.

10. A device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by one or more processors, the method for connecting a device as described in any one of claims 1 to 9 is executed.

11. A device, characterized in that: The device comprises a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the device connection method according to any one of claims 1 to 9 is executed.

12. A readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on the device, the device connection method according to any one of claims 1 to 9 is executed.

Citation Information

Patent Citations

  • Wireless communication method

    CN115226248A

  • Asymmetric transmission method and device

    CN115515233A

  • Multi-link aggregation link management

    US20200359259A1

  • Multi-Link Beaconing and Discovery

    US20210392571A1