Device connection method, and device

By creating additional VAPs in each frequency band and allowing STA to access these VAPs, the problem that STA and AP cannot establish wireless network connections in a multi-band environment is solved, and wireless network connections between STA and APs are realized in multiple frequency bands. Improves the flexibility and user experience of the device's network access.

WO2024255496A1PCT designated stage expired Publication Date: 2024-12-19HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/092580
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-13
Filing Date
2024-05-11
Publication Date
2024-12-19

AI Technical Summary

Technical Problem

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

Method used

By creating additional VAPs in each band that are configured in the same network as the AP, the STA allows access to these VAPs, thereby establishing network connections in multiple bands, although the SSIDs are different.

Benefits of technology

It realizes wireless network connection between STA and AP between multiple frequency bands, improves the flexibility and user experience of the device's network access, avoids the trouble of users seeing multiple identical BSSIDs, and improves the security of network access. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024092580_19122024_PF_FP_ABST
    Figure CN2024092580_19122024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a device connection method, and a device. The method can be applied to a first device which comprises a first VAP and a second VAP. The method comprises: when a first device detects an operation for turning off a multi-frequency integration function, creating a third VAP in a first frequency band, and creating a fourth VAP in a second frequency band, wherein the network configuration at the third VAP is the same as the network configuration at a second VAP, and the network configuration at the fourth VAP is the same as the network configuration at a first VAP; receiving a request message, which is sent by a second device and requests access to the first VAP; and after the request message passes the verification, allowing the second device to access the first VAP and the fourth VAP, and establishing a multi-link connection with the second device. By means of the technical solution, in the case of different SSIDs of VAPs in different frequency bands, a first device can still establish a wireless network connection with a second device in a plurality of frequency bands.
Need to check novelty before this filing date? Find Prior Art

Description

Device connection method and device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on June 13, 2023, with application number 202310699973.8 and application name “Method and device for device connection”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of electronic technology, and more particularly, to a method and device for connecting devices. Background Art

[0003] Currently, wireless access points (APs) and stations (STAs) can establish wireless connections on multiple frequency bands (for example, 2.4G and 5G). In this case, virtual access points (VAPs) need to be created on each of these frequency bands, and the VAPs on these frequency bands must have the same service set identifier (SSID).

[0004] An AP generally provides a multi-band function. When this function is enabled, the SSIDs of the VAPs on multiple frequency bands of the AP are combined into one SSID, facilitating wireless network connection switching between STAs and the AP across multiple frequency bands.

[0005] Some users also disable the multi-band unification feature. In this case, the VAPs on the AP's multiple frequency bands have different SSIDs, resulting in multiple wireless LANs. When a STA configures a network for a device that implements AP functionality in software, it must establish a wireless network connection with the AP on the 2.4 GHz frequency band. However, because the VAPs on different frequency bands have different SSIDs, the STA and AP cannot establish wireless network connections on multiple frequency bands simultaneously.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a method and 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.

[0008] A first aspect provides a method for device connection, which is applied to a first device, wherein 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, and the service set identifier SSID of the first VAP is different from the SSID of the second VAP. The method includes: detecting an operation of turning off the multi-frequency integration function, creating a third VAP in the first frequency band, and creating a fourth VAP in the second frequency band, wherein the network configuration of the third VAP is the same as the network configuration of the second VAP, and the network configuration of the fourth VAP is the same as the network configuration of the first VAP; receiving a request message sent by a second device, 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.

[0009] Based on an embodiment of the present application, the first device includes a first VAP in a first frequency band and a second VAP in a second frequency band. When the first device detects an operation to turn off the multi-frequency integration function, it creates a third VAP with the same network configuration as the first VAP in the first frequency band, and creates a fourth VAP with the same network configuration as the second VAP in the second frequency band; and receives 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.

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

[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 includes: 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 at the same time, and establishing a network connection with the second device in the first frequency band and the second frequency band at the same time.

[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 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.

[0013] 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.

[0014] According to the embodiment of the present application, after the authentication 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 on 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 on the second frequency band. In this way, the second device can access the network.

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

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

[0017] 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.

[0018] 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.

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

[0020] With reference to the first aspect, in an implementation of the first aspect, the method further includes: when the verification request message fails, denying the second device access to the first VAP.

[0021] Based on the embodiment of the present application, 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.

[0022] The second aspect provides a method for device connection, which is applied to a first device, and includes: when the first device starts, 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, where 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.

[0023] 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.

[0024] 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.

[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 includes: 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 at the same time, and establishing a network connection with the second device in the first frequency band and the second frequency band at the same time.

[0026] 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.

[0027] 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.

[0028] Based on the embodiments of the present application, in one embodiment of the present application, after the authentication 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.

[0029] With reference to the second aspect, in an implementation of the second aspect, the SSID of the second VAP and the SSID of the fourth VAP are configured to be hidden.

[0030] 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, thereby avoiding confusion for the user.

[0031] 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.

[0032] 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.

[0033] With reference to the second aspect, in an implementation of the second aspect, the method further includes: when the verification request message fails, denying the second device access to the first VAP.

[0034] Based on the embodiment of the present application, 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.

[0035] 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, which, when executed by one or more processors, enables the method of connecting the device as described in the first aspect and any possible implementation thereof to be executed.

[0036] The fourth aspect provides a device comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, enable the method for connecting the device as described in the second aspect and any possible implementation thereof to be executed.

[0037] 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 thereof.

[0038] 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 the devices as described in the first aspect and any possible implementation thereof is executed.

[0039] 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 the devices as described in the second aspect and any possible implementation thereof is executed.

[0040] 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.

[0041] An eighth aspect provides a readable storage medium having instructions stored therein. When the instructions are executed on a device, the device connection method as described in the first aspect and any possible implementation thereof is executed.

[0042] A ninth aspect provides a readable storage medium having instructions stored therein. When the instructions are executed on a device, the device connection method as described in the second aspect and any possible implementation thereof is executed.

[0043] A tenth aspect provides a program product, which includes program code. When the program code is run on a device, the device connection method as described in the first aspect and any possible implementation thereof is executed.

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

[0045] FIG1 is a schematic structural diagram of a device.

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

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

[0048] FIG4 is a schematic interaction diagram of a device connection method provided in an embodiment of the present application.

[0049] FIG5 is a schematic interaction diagram of another device connection method provided in an embodiment of the present application.

[0050] FIG6 is a schematic interaction diagram of another device connection method provided in an embodiment of the present application.

[0051] FIG7 is a schematic interaction diagram of another device connection method provided in an embodiment of the present application.

[0052] FIG8 is a schematic interaction diagram of another device connection method provided in an embodiment of the present application.

[0053] FIG9 is a schematic interaction diagram of another device connection method provided in an embodiment of the present application.

[0054] FIG10 is a schematic flowchart of a device connection method provided in an embodiment of the present application.

[0055] FIG11 is a schematic flowchart of another device connection method provided in an embodiment of the present application.

[0056] FIG12 is a schematic block diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

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

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

[0060] 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 these in the embodiments of the present application.

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

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

[0063] A virtual access point (VAP) is a service entity virtualized on an AP device. Multiple APs can be virtualized from a single physical AP. Each virtualized AP is a VAP, providing the same functionality as a physical AP. In this embodiment, multiple VAPs can be created within a single frequency band.

[0064] 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.

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

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

[0067] FIG1 is a schematic diagram of the structure of a device. For example, the device may be a router. As shown in FIG1 , the device 100 may include a processor 110 , a memory 120 , a wireless communication circuit 130 , an antenna 132 , and a network port 140 .

[0068] The structures illustrated in the embodiments of this application do not constitute specific limitations on device 100. In other embodiments of this application, device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0069] 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 connect to the Internet via 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 connect to the core network via 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 that integrate 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 signals, and send the processed signals to the processor 110. The wireless communication module can also receive signals to be transmitted from the processor 110, frequency-modulate and amplify them, and convert them into electromagnetic waves for radiation via the antenna 132.

[0070] Figures 2 and 3 are schematic diagrams of scenarios to which the device connection method provided in the embodiments of the present application can be applied.

[0071] As shown in Figure 2, this 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 the AP and the 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 establish a multi-link connection (multilink). In this way, data can be exchanged between device 200a and device 200b in multiple frequency bands, thereby reducing message delay and improving download speed.

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

[0073] In other scenarios, see Figure 3 , which may include at least device 200a, device 200c, and device 200b. In a multi-level networking scenario 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 for 200a and an AP device for device 200b.

[0074] In this case, the device 200a and the device 200c need to create a VAP in multiple frequency bands respectively, and the VAPs on the multiple frequency bands need to have the same SSID.

[0075] 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 access to VAP1, it can send a connection request to device 200a. After device 200a verifies that the connection request is successful, it can allow device 200b to access VAP1, and device 200a and device 200b establish a wireless network connection. It is understandable that after device 200a verifies that the connection request is successful, device 200a and device 200b can negotiate a key so that device 200a and device 200b can 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.

[0076] 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.

[0077] Device 200a or 200c typically provides a multi-band function. When the multi-band function is enabled, the SSIDs of the VAPs of multiple frequency bands of device 200a or 200c are combined into a single SSID, facilitating switching of the wireless network connection between device 200b and device 200a or device 200c between multiple frequency bands. For example, when device 200b is close to device 200a, device 200b and device 200a can establish a wireless network connection on the 5G frequency band for data exchange; when device 200b and device 200a are farther apart, device 200b and device 200a can establish a wireless network connection on the 2.4G frequency band for data exchange.

[0078] Generally, devices that implement AP functions in a software manner only support operation 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 a software manner.

[0079] Some users also disable the multi-band unification feature. In this case, the SSIDs of the VAPs for multiple frequency bands on device 200a or device 200c are different, meaning that multiple wireless LANs exist. When device 200b configures a network for the aforementioned device that implements AP functionality in software, it needs to establish a wireless network connection with device 200a or device 200c on the 2.4 GHz frequency band. However, because the SSIDs of the VAPs for different frequency bands are different, device 200b cannot establish a wireless network connection with device 200a or device 200c on multiple frequency bands simultaneously.

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

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

[0082] The technical solution of the device connection method of the present application will be described in detail below with reference to Figures 4-9.

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

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

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

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

[0087] FIG4 is a schematic interaction diagram of a device connection method provided by an embodiment of the present application. As shown in FIG4 , the method 300 may include steps 310 to 330 .

[0088] 310 , when the first device starts up, VAP1 and VAP2 are created in the first frequency band, and VAP3 and VAP4 are created in the second frequency band, wherein the network configurations of VAP1 and VAP3 are the same, and the network configurations of VAP2 and VAP4 are the same.

[0089] For example, the first device starting up can be understood as being powered on and starting to work. The first frequency band can be a 2.4 GHz frequency band, and the second frequency band can be a 5 GHz frequency band.

[0090] VAP1 and VAP3 have the same network configuration. This means that VAP1 and VAP3 have the same corresponding SSID, encryption method, and access password.

[0091] 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".

[0092] 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.

[0093] 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.

[0094] 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.

[0095] In other examples, the SSID corresponding to VAP2 is hidden, and the SSID corresponding to VAP3 is also hidden. Thus, to the user, there is a visible SSID1 corresponding to VAP1 in the first frequency band, and a visible SSID4 corresponding to VAP4 in the second frequency band. This prevents users from seeing multiple identical BSSIDs in the advanced options of the WLAN list, which could cause confusion.

[0096] 320. The second device sends a request message 1 to the first device to connect to VAP 1. Correspondingly, the first device receives the request message 1.

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

[0098] For example, 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 devices in the first frequency band or the second frequency band.

[0099] For example, the user clicks on SSID1 corresponding to VAP1 in the available WLAN list 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.

[0100] 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 mode, extended rate, 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 mode, extended rate, etc.), encryption mode, etc., so that the first device can verify the information.

[0101] 330 , after verifying the request message 1 , 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.

[0102] For example, after receiving request message 1, the first device can verify whether the various information in request message 1 is correct or compatible. When the verification is successful, the first device and the second device negotiate a key A. The first device stores key A in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores key A in the storage location or storage space corresponding to VAP3. Similarly, the second device stores key A in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores key A in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the first and second devices to use key A to transmit data in the first and second frequency bands. At this point, it can be understood that the second device accesses VAP1 and VAP3, and the first and second devices establish network connections in the first and second frequency bands.

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

[0104] In an embodiment of the present application, the first device may 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. After the first device verifies that the request message 1 is passed and the key A is negotiated, the first device stores the key A in the storage location or storage space corresponding to VAP1. Subsequently, 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. Subsequently, 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 allows the second device to also communicate data with VAP3 in the second frequency band based on 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.

[0105] In 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.

[0106] 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, with VAP1 and VAP3 having the same network configuration, and VAP2 and VAP4 having the same network configuration. When the first device receives a request message from the second device to connect to VAP1, 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, even though the SSIDs corresponding to the 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 establish a network connection in both the first frequency band and the second frequency band.

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

[0108] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1 and establish a network connection with the second device on the first frequency band. Subsequently, the first device uses the same encryption method, access password, and other information as in the request message to request access to VAP3. After verification is successful, the first device allows the second device to access VAP3, and the first and second devices establish a network connection on the second frequency band. This allows the second device to access the network as quickly as possible.

[0109] FIG5 is a schematic interaction diagram of another device connection method provided by an embodiment of the present application. As shown in FIG5 , the method 400 may include steps 410 to 430 .

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

[0111] 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.

[0112] 420. The second device sends a request message 2 to the first device to connect to VAP 4. Correspondingly, the first device receives the request message 2.

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

[0114] For example, the user clicks on SSID4 corresponding to VAP4 in the available WLAN list 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.

[0115] The request message 2 may include the second frequency band supported by the second device, the capability information of the second frequency band (for example, supported protocol mode, extended rate, 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 mode, extended rate, etc.), encryption mode, etc., so that the first device can verify the information.

[0116] 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.

[0117] For example, after receiving request message 2, the first device can verify whether the various information in request message 2 is correct or compatible. When the verification is successful, the first device and the second device negotiate a key B. The first device stores key B in the storage location or storage space corresponding to VAP4. Subsequently, the first device also stores key B in the storage location or storage space corresponding to VAP2. Similarly, the second device stores key B in the storage location or storage space corresponding to the wireless interface of the second frequency band. Subsequently, the second device also stores key B in the storage location or storage space corresponding to the wireless interface of the first frequency band. This allows the first and second devices to use key B to transmit data between the first and second frequency bands. At this point, it can be understood that the second device accesses VAP4 and VAP2, and the first and second devices establish network connections between the first and second frequency bands.

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

[0119] 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 from the second device to connect to VAP4, 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, even though the SSIDs corresponding to the 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 establish a network connection in both the first frequency band and the second frequency band.

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

[0121] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP4, establishing a network connection with the second device on the second frequency band. Subsequently, the first device uses the same encryption method, access password, and other information as in the request message to request access to VAP2. After verification is successful, the first device allows the second device to access VAP2, and the first and second devices establish a network connection on the first frequency band. This allows the second device to access the network as quickly as possible.

[0122] The above, combined with Figures 4-5, describes a technical solution in which, upon startup, a first device directly creates two VAPs with different network configurations in the first frequency band and two VAPs with different network configurations in the second frequency band. In some cases, after startup, the first device may also create VAP1 in the first frequency band and VAP2 in the second frequency band. If the first device detects that the user has disabled the multi-frequency integration feature, it may additionally create VAP3 in the first frequency band and VAP4 in the second frequency band. This technical solution is further described below in combination with Figures 6-7.

[0123] FIG6 is a schematic interaction diagram of another device connection method provided by an embodiment of the present application. As shown in FIG6 , the method 500 may include steps 510 to 540 .

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

[0125] 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.

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

[0127] 520. The first device detects the operation of disabling the multi-frequency integration function, creates VAP3 in the first frequency band, and creates VAP4 in the second frequency band. 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.

[0128] For example, the first device may include a button for disabling multi-frequency integration, and the user may press the button to disable the multi-frequency integration function. Alternatively, a control application or a control webpage of the first device may include an option to disable multi-frequency integration, and the user may click the option to disable the multi-frequency integration function.

[0129] After detecting the operation of turning off 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.

[0130] 530 , the second device sends a request message 3 to the first device to connect to VAP 1 . Correspondingly, the first device receives the request message 3 .

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

[0132] 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.

[0133] For example, after receiving request message 3, the first device can verify whether the various information in request message 3 is correct or compatible. Once the verification is successful, the first device and the second device negotiate a key C. The first device stores the key C in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores the key C in the storage location or storage space corresponding to VAP4. Similarly, the second device stores the key C in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores the key C in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the first and second devices to use the key C to transmit data between the first and second frequency bands. At this point, it can be understood that the second device has accessed VAP1 and VAP4, and the first and second devices have established network connections between the first and second frequency bands.

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

[0135] In an 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 is passed and the key C is negotiated, the first device stores the key C in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores the key C in the storage location or storage space corresponding to VAP4. Similarly, the second device stores the key C in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores the key C in the storage location or storage space corresponding to the wireless interface of the second frequency band. This allows the second device to also communicate data with VAP4 in the second frequency band based on the key C. In this way, the second device accesses a group of VAPs and establishes a multi-link connection with the first device.

[0136] The embodiments of the present application do not limit the specific execution order of steps 510 to 540. In other examples, some of steps 510 to 540 may not be performed or may be replaced by other steps. For example, step 510 may be optional and may not be performed. In this case, the initial state of the first device may be that VAP1 has been established in the first frequency band and VAP2 has been established in the second frequency band. The method 500 may then begin at step 520.

[0137] 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 the 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 establish a network connection in both the first frequency band and the second frequency band.

[0138] In other examples, after verifying the request message from the second device, the first device may first allow the second device to access VAP1 and establish a network connection with the second device in the first frequency band. The first device then 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 a wireless interface in the second frequency band. This allows the second device to access VAP4, and the first and second devices establish a network connection in the second frequency band. This allows the second device to access the network as quickly as possible.

[0139] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1 and establish a network connection with the second device on the first frequency band. The first device then requests access to VAP4 using the same encryption method, access password, and other information as in the request message. After verification, the first device allows the second device to access VAP4, and the first and second devices establish a network connection on the second frequency band. This allows the second device to access the network as quickly as possible.

[0140] FIG7 is a schematic interaction diagram of another device connection method provided by an embodiment of the present application. As shown in FIG7 , the method 600 may include steps 610 to 640.

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

[0142] 620. The first device detects the operation of disabling the multi-frequency integration function, creates VAP3 in the first frequency band, and creates VAP4 in the second frequency band. 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.

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

[0144] 630 : The second device sends a request message 4 to the first device to connect to VAP 2 . Correspondingly, the first device receives the request message 4 .

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

[0146] 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.

[0147] For example, after receiving request message 4, the first device can verify whether the various information in request message 4 is correct or matches. If the verification is successful, the first device and the second device negotiate a key D. The first device stores the key D in the storage location or storage space corresponding to VAP2. Subsequently, 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. Subsequently, the second device also stores the key D in the storage location or storage space corresponding to the wireless interface of the first frequency band. This allows the first and second devices to use the key D to transmit data in the first and second frequency bands. At this point, it can be understood that the second device accesses VAP2 and VAP3, and the first and second devices establish network connections in the first and second frequency bands.

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

[0149] The embodiments of the present application do not limit the specific execution order of steps 610 to 640. In other examples, some of steps 610 to 640 may not be performed or may be replaced by other steps. For example, step 610 may be optional and may not be performed. In this case, the initial state of the first device may be that VAP1 has been established in the first frequency band and VAP2 has been established in the second frequency band. Method 600 may then begin at step 620.

[0150] 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 the 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.

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

[0152] In other examples, after verifying the request message from the second device, the first device may first allow the second device to access VAP2 and establish a network connection with the second device on the second frequency band. Subsequently, the first device uses the same encryption method, access password, and other information as in the request message to request access to VAP3. After verification is successful, the first device allows the second device to access VAP3, and the first and second devices establish a network connection on the first frequency band. This allows the second device to access the network as quickly as possible.

[0153] The above describes the technical solution in which the first device supports working in two frequency bands in conjunction with Figures 4-7. The following describes the technical solution in which the first device supports working in three frequency bands in conjunction with Figures 8-9.

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

[0155] FIG8 is a schematic interaction diagram of another device connection method provided by an embodiment of the present application. As shown in FIG8 , the method 700 may include steps 710 to 730 .

[0156] 710. When the first device starts, 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. VAP1 has the same network configuration as VAP5 and VAP8, VAP4 has the same network configuration as VAP2 and VAP9, and VAP7 has the same network configuration as VAP3 and VAP6.

[0157] In this embodiment of the present application, VAP1, VAP2, and VAP3 in the first frequency band have different network configurations, VAP4, VAP5, and VAP6 in the second frequency band have different network configurations, and VAP7, VAP8, and VAP9 in the third frequency band have different network configurations. However, VAP1 has the same network configuration as VAP5 and VAP8, VAP4 has the same network configuration as VAP2 and VAP9, and VAP7 has the same network configuration as VAP3 and VAP6. In other words, for every VAP in a certain frequency band, there is a VAP with the same network configuration in other frequency bands.

[0158] 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.

[0159] In this way, users see a visible SSID for each frequency band, avoiding the problem of users seeing multiple identical BSSIDs in the advanced options of the WLAN list, which would cause confusion to users.

[0160] 720 , the second device sends a request message 5 to the first device to connect to VAP 1 . Correspondingly, the first device receives the request message 5 .

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

[0162] For example, the user clicks on SSID1 corresponding to VAP1 in the available WLAN list 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.

[0163] 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.

[0164] 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.

[0165] For example, after receiving request message 5, the first device can verify whether the various information in request message 5 is correct or compatible. If the verification is successful, the first device and the second device negotiate a key E. The first device stores key E in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores key E in the storage locations or storage spaces corresponding to VAP5 and VAP8. Similarly, the second device stores key E in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores key E in the storage locations or storage spaces corresponding to the wireless interfaces of the second and third frequency bands. This allows the first and second devices to use key E to transmit data in the first, second, and third frequency bands. At this point, it can be understood that the second device has accessed VAP1, VAP5, and VAP8, and the first and second devices have established network connections in the first, second, and third frequency bands.

[0166] In this embodiment of the present application, the first device may also configure VAP1, VAP5, and VAP8, which have the same network configuration, as a group of VAPs; configure VAP2, VAP4, and VAP9, which have the same network configuration, as another group of VAPs; and configure VAP3, VAP6, and VAP7, which have the same network configuration, as another group of VAPs. After the first device's authentication request message 5 is passed and key E is negotiated, the first device stores key E in the storage location or storage space corresponding to VAP1. Subsequently, the first device also stores key E in the storage locations or storage space corresponding to VAP5 and VAP8. Similarly, the second device stores key E in the storage location or storage space corresponding to the wireless interface of the first frequency band. Subsequently, the second device also stores key E in the storage locations or storage space corresponding to the wireless interfaces of the second and third frequency bands. This allows the second device to similarly communicate data with VAP5 in the second frequency band and with VAP8 in the third frequency band based on key E. In this way, the second device accesses a group of VAPs and establishes a multi-link connection with the first device.

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

[0168] 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.

[0169] 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.

[0170] 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.

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

[0172] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1, establishing a network connection with the second device on the first frequency band. Subsequently, the first device uses the same encryption method, access password, and other information as in the request message to request access to VAP5 and VAP8. After verification, the first device allows the second device to access VAP5 and VAP8, and the first and second devices establish network connections on the second and third frequency bands. This allows the second device to access the network as quickly as possible.

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

[0174] FIG9 is a schematic interaction diagram of another device connection method provided by an embodiment of the present application. As shown in FIG9 , the method 800 may include steps 810 to 840.

[0175] 810 , when the first device starts up, 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.

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

[0177] 820. After the multi-frequency integration function is disabled, 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, VAP7 and VAP3 are the same.

[0178] 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.

[0179] 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.

[0180] In this way, users see a visible SSID in each frequency band, avoiding the user from seeing multiple identical BSSIDs in the WLAN list, which would cause confusion to the user.

[0181] 830 , the second device sends a request message 6 to the first device to connect to VAP 1 . Correspondingly, the first device receives the request message 6 .

[0182] For the step 830, please refer to the related description in the above text.

[0183] 840 , after 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.

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

[0185] 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.

[0186] After the first device verifies that the second device's request message has passed and negotiates a key, it stores the key in the storage location or storage space corresponding to VAP1. Since VAP6 and VAP8 share the same network configuration as VAP1, the first device also stores the key in the storage locations 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. Subsequently, the second device also stores the key in the storage locations or storage space corresponding to the wireless interfaces of the second and third frequency bands. This allows the second device to access a group of VAPs and establish a multi-link connection with the first device.

[0187] 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.

[0188] 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.

[0189] 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.

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

[0191] In other examples, after verifying the request message from the second device, the first device can first allow the second device to access VAP1, establishing a network connection with the second device on the first frequency band. Subsequently, 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 first device allows the second device to access VAP6 and VAP8, and the first and second devices establish network connections on the second and third frequency bands. This allows the second device to access the network as quickly as possible.

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

[0193] The embodiments of the present application do not limit the specific execution order of steps 810 to 840. In other examples, some of steps 810 to 840 may not be performed or may be replaced by other steps. For example, step 810 may be an optional step and may not be performed. 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. Method 800 may then begin execution at step 820.

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

[0195] Figure 10 is a schematic flowchart of a device connection method provided in an embodiment of the present application. As shown in Figure 10, method 900 can be applied to a first device, the first device including 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 being different from the SSID of the second VAP. Method 900 can include steps 910 to 930.

[0196] 910. The first device detects an operation to disable 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.

[0197] For the operation of disabling the multi-frequency integration function, please refer to the relevant description above.

[0198] 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, it creates the first VAP in the first frequency band and the second VAP in the second frequency band.

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

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

[0201] 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.

[0202] For the content included in the request message, please refer to the relevant description in the request message 1 above.

[0203] 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.

[0204] 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 above.

[0205] In other examples, the request message may also be used to request access to a second VAP. In this case, after verifying the request message, 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.

[0206] In one embodiment of the present application, the first device includes a first VAP in a first frequency band and a second VAP in a second frequency band. When the first device detects an operation to turn off the multi-frequency integration function, it creates a third VAP with the same network configuration as the first VAP in the first frequency band, and creates a fourth VAP with the same network configuration as the second VAP in the second frequency band; and receives 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.

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

[0208] 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.

[0209] 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.

[0210] In some embodiments, after the verification request message is passed, allowing the second device to access the first VAP and a 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 includes:

[0211] After the verification 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 at the same time, and establish a network connection with the second device in the first frequency band and the second frequency band at the same time.

[0212] 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.

[0213] 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:

[0214] 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;

[0215] 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.

[0216] In one embodiment of the present application, after the authentication 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 on the first frequency band. Then, the second device is allowed to access a fourth VAP with the same network configuration as the first VAP and establishes a network connection with the second device on the second frequency band. In this way, the second device can access the network.

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

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

[0219] 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.

[0220] FIG11 is a schematic flow chart of a device connection method provided by an embodiment of the present application. As shown in FIG11 , the method 1000 may include steps 1010 to 1030 .

[0221] 1010. When the first device starts, the first device creates a first VAP and a second VAP in the first frequency band, and creates a third VAP and a fourth VAP in the 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.

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

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

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

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

[0226] 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.

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

[0228] 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.

[0229] 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 above.

[0230] In other examples, the request message may also be used to request access to a third VAP. In this case, after verifying the request message, 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.

[0231] 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.

[0232] 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.

[0233] 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.

[0234] 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.

[0235] In some embodiments, after the verification request message is passed, allowing the second device to access the first VAP and a 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 includes:

[0236] After the verification 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 at the same time, and establish a network connection with the second device in the first frequency band and the second frequency band at the same time.

[0237] 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.

[0238] 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:

[0239] 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;

[0240] 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.

[0241] In one embodiment of the present application, after the authentication 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 on the first frequency band. Then, the second device is allowed to access a fourth VAP with the same network configuration as the first VAP and establishes a network connection with the second device on the second frequency band. In this way, the second device can access the network.

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

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

[0244] 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.

[0245] Figure 12 is a schematic block diagram of a device provided in an embodiment of the present application. As shown in Figure 12, the device 1100 may include one or more processors 1110 and one or more memories 1120. The one or more memories 1120 store one or more instructions that, when executed by the one or more processors 1110, execute the device connection method described in any of the possible implementations above.

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

[0247] An embodiment of the present application also provides a device including a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, and the processor processing the signals so that the device connection method described in any possible implementation method described above is executed.

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

[0249] This embodiment further provides a readable storage medium, which stores instructions. 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.

[0250] This embodiment further provides a program product. When the program product is run on a device, the device is caused to execute the above-mentioned related steps to implement the device connection method in the above-mentioned embodiment.

[0251] In addition, an embodiment of the present application also provides a device, which can 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 can execute the instructions stored in the memory to enable the device to execute the device connection method in the above-mentioned method embodiments.

[0252] 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.

[0253] Those skilled 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 beyond the scope of this application.

[0254] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection 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

  • Method for preventing faked users and access point in radio access network

    CN102480729A

  • Integrated service train-ground communication system applied to rail transit

    CN105120523A

  • Method, device and system for establishing direct link and sending wireless local area network frame

    CN113973400A

  • Dual-frequency switching method, dual-frequency access point and dual-frequency station

    CN116113002A

  • Methods and systems for dual channel information

    US20150350382A1