Communication method and apparatus, and storage medium

By providing unified configuration parameters for each access point in the wireless LAN, the problem of long service recovery time caused by inconsistent roaming functions of access points is solved, enabling STAs to quickly connect and restore services during roaming, thereby improving roaming performance and user experience.

WO2026091991A1PCT designated stage Publication Date: 2026-05-07HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-09-23
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

Poor roaming performance provided by access points in wireless LANs results in long service recovery times for STAs during roaming, impacting user experience.

Method used

By obtaining and sending unified configuration parameters through the primary access point, the secondary access points in the communication system can perform consistent roaming configurations, ensuring that the roaming functions of each access point remain consistent, thereby enabling the STA to quickly establish connections and restore services when roaming.

Benefits of technology

This improved the speed of service recovery for STAs during roaming, reduced service interruption time, and enhanced roaming performance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025123461_07052026_PF_FP_ABST
    Figure CN2025123461_07052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the field of communications. Disclosed are a communication method and apparatus, and a storage medium. The method is applied to a master access point of a communication system, and comprises: receiving a roaming enable operation command, which is used for enabling roaming functions of access points comprised in a communication system; on the basis of the roaming enable operation command, determining whether the access points in the communication system meet a roaming enable condition; and when the access points in the communication system meet the roaming enable condition, sending a first configuration parameter to slave access points in the communication system, wherein the first configuration parameter is used by the slave access points to perform roaming configuration. The present application can improve the roaming performance.
Need to check novelty before this filing date? Find Prior Art

Description

Communication methods, devices and storage media

[0001] This application claims priority to Chinese Patent Application No. 202411567458.5, filed November 4, 2024, entitled "Communication Method, Apparatus, and Storage Medium," the entire contents of which are incorporated herein by reference. Furthermore, this application claims priority to Chinese Patent Application No. 202510049437.2, filed January 9, 2025, entitled "Communication Method, Apparatus, and Storage Medium," the entire contents of which are incorporated herein by reference. Additionally, this application claims priority to Chinese Patent Application No. 202510185692.X, filed February 19, 2025, entitled "Communication Method, Apparatus, and Storage Medium," the entire contents of which are incorporated herein by reference. Furthermore, this application also claims priority to patent application filed on September 8, 2025, with application number PCT / CN2025 / 119823 entitled "Communication Method, Apparatus and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of communications, and in particular to a communication method, apparatus and storage medium. Background Technology

[0003] A wireless local area network (WLAN) may include multiple access points, and the coverage area of ​​the WLAN includes the coverage area of ​​these multiple access points. These multiple access points have roaming capabilities, enabling them to provide roaming services to stations (STAs) within the coverage area of ​​the WLAN.

[0004] Within the coverage area of ​​a wireless LAN, a STA can move. It might move from the coverage area of ​​the first access point to the coverage area of ​​a second access point. In this case, the second access point can provide roaming services to the STA based on its roaming capabilities, enabling communication with the STA. However, the roaming performance provided by access points in a wireless LAN is generally poor. Summary of the Invention

[0005] This application provides a communication method, apparatus, and storage medium to improve roaming performance. The technical solution is as follows:

[0006] In a first aspect, this application provides a communication method applied to a primary access point of a communication system. The method includes: receiving a roaming activation operation command, the roaming activation operation command being used to activate the roaming function of access points included in the communication system; determining, based on the roaming activation operation command, whether the access points in the communication system meet the roaming activation conditions; and, if the access points in the communication system meet the roaming activation conditions, sending a first configuration parameter to a secondary access point in the communication system, the first configuration parameter being used for roaming configuration by the secondary access point.

[0007] The roaming activation command determines whether the access points in the communication system meet the roaming activation conditions. If the access points meet the conditions, a first configuration parameter is sent to the slave access points. The slave access points then perform roaming configuration based on this parameter. This ensures that all slave access points in the communication system can perform roaming configuration based on the unified first configuration parameter obtained from the primary access point, maintaining consistent roaming functionality. When a station roams from one slave access point to another, the new slave access point can quickly establish a connection and communicate with the station, thus improving roaming performance.

[0008] In one possible implementation, determining whether an access point in a communication system meets the roaming activation conditions based on a roaming activation operation command includes: obtaining first capability information of the access point in the communication system based on the roaming activation operation command, the first capability information describing the roaming capabilities of the access point; and determining whether the access point in the communication system meets the roaming activation conditions based on the first capability information. Since the first capability information describes the first roaming capabilities of the access point, it is possible to accurately determine whether the access point meets the roaming activation conditions.

[0009] In one possible implementation, the method further includes: configuring roaming at the primary access point based on the first configuration parameters. This ensures that both the primary and secondary access points in the communication system are configured based on the first configuration parameters, maintaining consistency in the roaming functionality of the access points within the communication system.

[0010] In one possible implementation, the method further includes: obtaining a first configuration parameter based on the first capability information. This allows for accurate determination of the first configuration parameter.

[0011] In one possible implementation, the first capability information includes one or more of the following: the wireless mode supported by the access point, the encryption mode supported by the access point, or the channel range of the access point. This allows the first capability information to accurately describe the first roaming capability.

[0012] In one possible implementation, the first configuration parameter includes one or more of the following: VAP identification information, VAP SSID, VAP BSSID, authentication mode, encryption mode, encryption password, roaming threshold, wireless mode, channel identification information, channel bandwidth, multicast key update cycle, beacon frame transmission cycle, transmission service indication message interval cycle, neighbor list, BSSColor, roaming switch identifier, PVB reporting interval, TSF update cycle, and information of sites to be synchronized to the access point or the access point's identification information. Providing such a rich set of configuration parameters allows the roaming functionality of the access point to remain consistent.

[0013] In one possible implementation, the method further includes: receiving a roaming configuration confirmation message sent from the access point, the roaming configuration confirmation message being used to confirm that roaming configuration from the access point is complete.

[0014] In one possible implementation, the method further includes sending a roaming enable message to the access point, the roaming enable message being used to instruct the access point to enable roaming.

[0015] In one possible implementation, the method further includes: receiving a roaming activation confirmation message sent from the access point, the roaming activation confirmation message being used to confirm that roaming has been activated from the access point.

[0016] In one possible implementation, the method further includes: sending a second configuration parameter to the access point, the second configuration parameter including network parameters used by the access point after roaming is disabled; and receiving a network configuration confirmation message sent by the access point, the network configuration confirmation message being used to confirm that the network configuration of the access point is complete.

[0017] In one possible implementation, the method further includes: sending a roaming shutdown message to the access point, the roaming shutdown message being used to disable the roaming function of the access point; and receiving a roaming shutdown confirmation message sent by the access point, the roaming shutdown confirmation message being used to confirm that the roaming function of the access point has been disabled.

[0018] In one possible implementation, the method further includes:

[0019] The primary access point can instruct the access point to disable multicast key updates in a cooperative roaming enable message or other messages;

[0020] The master access point updates the multicast key during the multicast key update cycle, and then encrypts the updated multicast key GTK and sends it to all slave access points in the network. The master access point uses the key between itself and the slave access points to encrypt the multicast key information to be transmitted to each slave access point.

[0021] After receiving the latest encrypted multicast key GTK from the master access point, the slave access point decrypts the multicast key using the key it shares with the master access point, and then updates the multicast key information. It then performs multicast key updates with all STAs associated with the slave access point, and each slave access point uses the updated multicast key GTK to send broadcast and multicast messages to its associated STAs.

[0022] In this implementation, the multicast key update in the FTTR network is controlled by the master access point. The multicast keys between the master access point and the slave access points are kept consistent, which avoids the STA being unable to receive or send data due to different multicast keys after roaming to different access points, thus improving the efficiency of STA roaming.

[0023] In one possible implementation, the method further includes:

[0024] During the roaming process of a site STA, the primary access point sends a service shutdown instruction message to the secondary access point, which is the source access point of the STA. This service shutdown message is used to instruct the secondary access point to shut down service interaction with the STA.

[0025] The primary access point receives a service shutdown feedback message from the secondary access point. This service shutdown feedback message indicates whether the service interaction with the STA has been successfully shut down.

[0026] In one possible implementation, the service shutdown instruction message includes the STA's identification information.

[0027] In one possible implementation, the service shutdown indication message is also used to indicate the context information of the service interaction between the access point and the STA.

[0028] In one possible implementation, the service shutdown feedback message indicates that the access point has successfully shut down service interaction with the STA.

[0029] In one possible implementation, the service shutdown feedback message includes context information about the service interaction between the access point and the STA.

[0030] In one possible implementation, the context information includes one or more of the following: unicast packet sequence number PN, sequence number SN, context, message sequence number, or station operation mode indication OMI status information.

[0031] In one possible implementation, the OMI status information of the site includes one or more of the following: receive spatial stream count, channel bandwidth, uplink multi-user transmission disabled, transmit spatial stream count, extended distance single-user transmission disabled, recommendation to re-perform downlink multi-user multiple-input multiple-output transmission channel probing, and uplink data multi-user transmission disabled.

[0032] In one possible implementation, a multicast key synchronization message is sent to the access point, the multicast key synchronization message including one or more of the following parameters: multicast key, length of the multicast key, integrity group temporary key IGTK, length of the IGTK, random number Gnonce, receive sequence counter RSC or key replay counter.

[0033] Secondly, this application provides a communication device that has the functionality to implement the first aspect and the optional methods described above. The device includes at least one module for implementing the methods provided by the first aspect and the optional methods described above.

[0034] Thirdly, this application provides an access point including a processor and a memory, the processor being configured to execute program instructions in the memory to implement the methods provided in the first aspect and the optional methods of the first aspect.

[0035] Fourthly, this application provides a computer-readable storage medium storing at least one program instruction that is read by a processor to cause an access point to perform the method provided in the first aspect or any alternative method of the first aspect.

[0036] Fifthly, this application provides a computer program product including program instructions stored in a computer-readable storage medium. A processor at an access point reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the access point to perform the method provided in the first aspect or any alternative method of the first aspect. Attached Figure Description

[0037] Figure 1 is a schematic diagram of the structure of a communication system provided in an embodiment of this application;

[0038] Figure 2 is a schematic diagram of another communication system provided in an embodiment of this application;

[0039] Figure 3 is a flowchart of a communication method provided in an embodiment of this application;

[0040] Figure 4 is a flowchart of another communication method provided in an embodiment of this application;

[0041] Figure 5 is a flowchart of another communication method provided in an embodiment of this application;

[0042] Figure 6 is a flowchart of another communication method provided in an embodiment of this application;

[0043] Figure 7 is a flowchart of another communication method provided in an embodiment of this application;

[0044] Figure 8 is a flowchart of another communication method provided in an embodiment of this application;

[0045] Figure 9 is a flowchart of another communication method provided in an embodiment of this application;

[0046] Figure 10 is a flowchart of another communication method provided in an embodiment of this application;

[0047] Figure 11 is a flowchart of another communication method provided in an embodiment of this application;

[0048] Figure 12 is a flowchart of another communication method provided in an embodiment of this application;

[0049] Figure 13 is a flowchart of another communication method provided in an embodiment of this application;

[0050] Figure 14 is a flowchart of another communication method provided in an embodiment of this application;

[0051] Figure 15 is a flowchart of another communication method provided in an embodiment of this application;

[0052] Figure 16 is a flowchart of another communication method provided in an embodiment of this application;

[0053] Figure 17 is a flowchart of another communication method provided in an embodiment of this application;

[0054] Figure 18a is a schematic diagram of a management channel in a data link layer provided in an embodiment of this application;

[0055] Figure 18b is a schematic diagram of the structure of a multicast key provided in an embodiment of this application;

[0056] Figure 19 is a schematic diagram of a communication device structure provided in an embodiment of this application;

[0057] Figure 20 is a schematic diagram of a device structure provided in an embodiment of this application. Detailed Implementation

[0058] A wireless LAN comprises multiple access points, and its coverage area includes the coverage area of ​​each of these access points. The importance of seamless roaming in a wireless LAN lies in its ability to provide users with a continuous and uninterrupted wireless network connection, ensuring stable and reliable network connectivity in homes, offices, and public places. From a user experience perspective, seamless roaming avoids network interruptions. Imagine a user enjoying a smooth online video or participating in an important online meeting, only to suddenly lose their internet connection as they move from one room or area to another; this would significantly degrade the user experience. Seamless roaming technology intelligently senses user movement and changes in signal strength, automatically switching to the optimal access point to avoid such interruptions and allow users to enjoy a continuous and stable network connection. The following examples will illustrate the technology of seamless roaming in detail.

[0059] Referring to Figure 1, this application embodiment provides a communication system 100, which includes a main access point 101 and at least one slave access point 102. The main access point 101 can communicate with each slave access point 102. The coverage area of ​​the communication system 100 includes the coverage area of ​​the main access point 101 and the coverage area of ​​each slave access point 102. An access point can be referred to as an access device; that is, the main access point can be a main access device, and the slave access point can be a slave access device. Both the main access device and the slave access device can access the STA device via a wireless local area network.

[0060] In the communication system provided in this application, all access points (master access point and slave access point) have the same basic service set identifier (BSSID). A STA device can roam from one master access point to one slave access point, or from one slave access point to another. Optionally, the STA device may include a terminal, etc.

[0061] Alternatively, the communication system 100 may be a wireless local area network (WLAN), etc.

[0062] For each access point (master access point 101 or slave access point 102) of the communication system 100, the access point includes roaming capability, through which roaming functionality is provided.

[0063] Referring to Figure 1, STA 103 can be located within the coverage area of ​​communication system 100, and is an access point (primary access point 101 or secondary access point 102) within communication system 100. For ease of explanation, this access point will be referred to as the first access point. STA 103 can communicate with the first access point; for example, STA 103 can transmit services with the first access point. STA 103 can move within the coverage area of ​​communication system 100, thus STA 103 may move from the coverage area of ​​the first access point to the coverage area of ​​a second access point.

[0064] At this point, the signal quality between STA103 and the first access point may fall below the quality threshold, while the signal quality between STA103 and the second access point gradually strengthens and eventually reaches a point where the signal quality between STA103 and the second access point is no lower than the quality threshold. Since the second access point has roaming capabilities, it can provide roaming functionality, thereby establishing a connection with STA103 and communicating with it. In other words, the second access point can resume transmitting STA103's services.

[0065] Because the roaming functions in the first access point and the second access point are different, after STA103 roams from the coverage area of ​​the first access point to the coverage area of ​​the second access point, the second access point needs a longer time to resume the transmission of STA103's services, which reduces roaming performance.

[0066] To improve roaming performance, the primary access point 101 can obtain a first configuration parameter, configure roaming based on this parameter, and send the first configuration parameter to the secondary access point 102 in the communication system 100. The secondary access point 102 receives the first configuration parameter and configures roaming based on it. This ensures that the roaming functionality of each access point in the communication system 100 remains consistent. Thus, when STA 103 roams from the first access point to the second access point, the second access point can quickly establish a connection with STA 103 and communicate with it. In other words, the second access point can quickly resume the transmission of STA 103's services without interruption. By shortening the time to resume the transmission of STA 103's services, STA 103's services are not interrupted, thereby improving roaming performance.

[0067] In this process, STA103 establishes a connection and communicates with the second access point, indicating that STA103 has switched from the first access point to the second access point. However, since the roaming function of the first access point is the same as that of the second access point, the second access point can make STA103 unaware of the switch from the first access point to the second access point.

[0068] In some embodiments, the first configuration parameters include one or more of the following: identification information of the virtual access point (VAP), service set identifier (SSID) of the VAP, BSSID of the VAP, authentication mode, encryption mode, encryption password, roaming threshold, wireless mode, channel identification information, channel bandwidth, multicast key update period, beacon frame transmission period, transmission service indication message interval period, neighbor list, basic service set color (BSSColor), roaming switch identifier, PVB partial virtual bitmap (PVB) reporting time interval, timing synchronization function (TSF) update period, information to be synchronized to the site from access point 102, or identification information from access point 102.

[0069] Optionally, STA103 may include a terminal, etc., and the channel identification information may include the channel number or the channel frequency, etc.

[0070] In some embodiments, the master access point 101 includes a first Wi-Fi management and control interface (WMCI) interface, and the slave access point 102 includes a second WMCI interface. The master access point 101 and the slave access point 102 communicate through the WMCI interface, that is, messages between the master access point 101 and the slave access point 102 are transmitted through the WMCI interface.

[0071] The primary access point 101 sends the first configuration parameters to at least one secondary access point 102 via the first WMCI interface.

[0072] Optionally, the first configuration parameter can be encapsulated into a WMCI message and then sent by the master access point 101 to the slave access point 102 through the first WMCI interface.

[0073] In some embodiments, the communication system 100 can be a passive optical network (PON) structure system, and the main access point 101 can communicate with at least one slave access point 102 via optical fiber.

[0074] Optionally, referring to Figure 2, the communication system 100 also includes a splitter 104, with the main access point 101 communicating with the splitter 104, and the splitter 104 also communicating with the slave access point 102. In this way, the main access point 101 can communicate with the slave access point 102 through the splitter 104.

[0075] In some embodiments, the communication system 100 includes a Fiber To The Room (FTTR) system, the main access point 101 is the main FTTR unit (MFU) included in the FTTR system, and the secondary access point 102 is the sub FTTR unit (SFU) included in the FTTR system.

[0076] The SFU is connected to the MFU via optical fiber, and the MFU is connected to the optical line terminal (OLT) via optical fiber.

[0077] SFU and MFU can communicate via the WMCI interface, and the communication messages can be in the WMCI message format.

[0078] In a communication system, the MFU and SFU have the same Basic Service Set Identifier (BSSID) and / or the same Service Set Identifier (SSID).

[0079] When a STA moves within an FTTR network, the channel quality with its currently associated SFU deteriorates, necessitating roaming to an SFU with better channel quality to ensure service continuity. However, during roaming, the terminal needs to re-establish a connection on the new SFU, leading to service interruptions. To ensure timely and continuous roaming, a cooperative roaming control method (WMCI) is employed. Roaming between SFUs involves service shutdown and startup delays.

[0080] Referring to Figure 3, this application embodiment provides a communication method 300, which can be applied to the communication system 100 shown in Figure 1 or Figure 2. In the communication method 300, when a new access point comes online in the communication system 100, the primary access point determines whether the secondary access point meets the roaming activation conditions. If the secondary access point meets the roaming activation conditions, a first configuration parameter is sent to the secondary access point. The first configuration parameter is used for roaming configuration by the secondary access point. The method 300 includes the following steps:

[0081] Step 301: Send first capability information from the access point to the primary access point. The first capability information is used to describe the first roaming capability from the access point.

[0082] The access point includes the first roaming capability. When the access point is launched online, the first capability information of the first roaming capability is obtained from the access point and sent to the main access point.

[0083] In some embodiments, the first capability information includes one or more of the following:

[0084] The first roaming capability version number, the wireless modes supported from the access point, the encryption modes supported from the access point, or the channel range from the access point, which includes the channels that the access point can use.

[0085] In step 301, the access point determines that it has the first roaming capability when it goes online, obtains the first capability information of the first roaming capability, and sends the first capability information to the main access point.

[0086] The access point includes a second WMCI interface, through which it sends WMCI messages to the main access point. The WMCI messages include first capability information.

[0087] Step 302: The primary access point receives the first capability information and determines whether the secondary access point meets the roaming activation conditions based on the first capability information.

[0088] Optionally, determine whether the roaming function of the communication system is enabled; if the roaming function of the communication system is enabled, determine whether the roaming enable conditions are met from the access point.

[0089] Optionally, if the roaming function of the primary access point is enabled, it can be concluded that the roaming function of the communication system is enabled.

[0090] The primary access point includes secondary roaming capabilities.

[0091] In step 302, if the first roaming capability and the second roaming capability are determined to be compatible based on their version numbers, then the access point is determined to meet the roaming activation conditions. If the first roaming capability and the second roaming capability are determined to be incompatible based on their version numbers, then the access point is determined not to meet the roaming activation conditions.

[0092] Regarding step 302 of method 300, the primary access point stores version numbers of each roaming capability compatible with the second roaming capability. Upon receiving the first capability information, if the version numbers of each roaming capability compatible with the second roaming capability include the version number of the first roaming capability, then the primary access point determines that the first and second roaming capabilities are compatible, meaning the access point meets the roaming activation conditions. If the version numbers of each roaming capability compatible with the second roaming capability do not include the version number of the first roaming capability, then the primary access point determines that the first and second roaming capabilities are incompatible, meaning the access point does not meet the roaming activation conditions.

[0093] Step 303: If the roaming enable conditions are met by the secondary access point, the primary access point sends the first configuration parameters to the secondary access point.

[0094] The primary access point includes secondary roaming capabilities.

[0095] In step 303, if the secondary access point meets the roaming activation conditions, the primary access point obtains second capability information, which describes the second roaming capability. Based on the second capability information and the first capability information, the first configuration parameters are obtained.

[0096] After the primary access point goes online, it also performs roaming configuration based on this first configuration parameter.

[0097] For other slave access points that come online in the communication system, the master access point also sends the first configuration parameter to the other slave access points according to the process of steps 301-303 above.

[0098] Step 304: Receive the first configuration parameters from the access point and configure roaming based on the first configuration parameters.

[0099] Since the master node performs roaming configuration based on the first configuration parameter, and the master access point sends the first configuration parameter to each newly connected slave access point in the communication system, and each slave access point performs its own roaming configuration based on the first configuration parameter, the roaming function on each access point (master access point and slave access point) in the communication system remains consistent.

[0100] For step 303 of method 300, as shown in Table 1 below, the first configuration parameters include one or more of the following: VAP ID, VAP SSID, VAP BSSID, authentication mode, encryption mode, encryption password, roaming threshold, wireless mode, channel identification information, channel bandwidth, multicast key update period, beacon frame transmission period, delivery traffic indication message interval (DTIM) period, neighbor list, BSSColor, roaming switch identifier, PVB reporting time interval, TSF update period, information of sites to be synchronized to the access point or identification information of the access point, etc.

[0101] Table 1

[0102] Since the secondary access point is a newly launched access point, the first configuration parameter can include STA information that needs to be synchronized to the secondary access point. If the secondary access point's second roaming capability supports Wi-Fi 6, and the secondary access point's first roaming capability also supports Wi-Fi 6, then the primary access point's first configuration parameter includes the Wi-Fi 6 wireless mode. When the primary configuration parameter includes Wi-Fi 6, the primary configuration parameter includes Bss Color.

[0103] In some embodiments, the process of roaming configuration after receiving the first configuration parameters from the access point in step 304 above can be as follows:

[0104] The identification information, SSID, and / or BSSID of the VPA used to perform the first roaming capability can be configured as the VAP's ID, SSID, and / or BSSID in the first configuration parameters, respectively. And / or,

[0105] The access point (first roaming capability) will be configured with the following parameters as the first configuration parameters: authentication mode, encryption mode, roaming threshold, wireless mode, multicast key update period, beacon frame period, transmission service indication message interval period, neighbor list, BSSColor, roaming switch identifier, PVB reporting interval, and / or TSF update period. These parameters will be configured to be available as the first configuration parameters.

[0106] The channel available from the access point (first roaming capability) will be configured to the channel identified by the channel identification information in the first configuration parameter, and / or the bandwidth of the channel available from the access point (first roaming capability) will be configured to the channel bandwidth in the first configuration parameter.

[0107] Regarding steps 303 and 304 of method 300, if the secondary access point meets the roaming activation conditions, the primary access point enables the roaming function of the secondary access point and performs roaming configuration. If the secondary access point does not meet the roaming activation conditions, the primary access point does not enable the roaming function of the secondary access point.

[0108] In some embodiments, referring to Figure 4, the primary access point sends a roaming activation message to the secondary access point. The secondary access point receives the roaming activation message, activates the roaming function based on the message, and sends a roaming activation confirmation message to the primary access point. This confirmation message confirms that the secondary access point has completed roaming activation. The primary access point receives the roaming activation confirmation message and sends a roaming configuration message to the secondary access point, including the first configuration parameter. The secondary access point performs roaming configuration based on the first configuration parameter included in the roaming configuration message and sends a roaming configuration confirmation message to the primary access point. This confirmation message confirms that the secondary access point's roaming configuration is complete. The primary access point receives the roaming configuration confirmation message.

[0109] Optionally, the roaming activation message, roaming activation confirmation message, roaming configuration message, and roaming configuration confirmation message can be WMCI messages.

[0110] Optionally, referring to Table 2-1 below, the structure of the roaming activation message, roaming activation confirmation message, roaming configuration message, or roaming configuration confirmation message can be as shown in Table 2-1. Bits may be used in the roaming activation message, roaming activation confirmation message, roaming configuration message, or roaming configuration confirmation message to distinguish the type of each message.

[0111] Table 2-1

[0112] In some embodiments, referring to Figure 5, the primary access point sends a roaming activation message to the secondary access point, the roaming activation message including the first configuration parameter. The secondary access point receives the roaming activation message, activates the roaming function based on the roaming activation message, performs roaming configuration based on the first configuration parameter included in the roaming activation message, and sends a roaming activation confirmation message to the primary access point. The roaming activation confirmation message confirms that the secondary access point has completed roaming activation and roaming configuration. The primary access point receives the roaming activation confirmation message.

[0113] In some embodiments, referring to Figure 6, the primary access point sends a roaming configuration message to the secondary access point, the roaming configuration message including the first configuration parameter. The secondary access point performs roaming configuration based on the first configuration parameter included in the roaming configuration message and sends a roaming configuration confirmation message to the primary access point, which confirms that the roaming configuration of the secondary access point is complete. Upon receiving the roaming configuration confirmation message, the primary access point, upon determining that the roaming configuration is complete based on the roaming configuration confirmation message, sends a roaming activation message to the secondary access point. Upon receiving the roaming activation message, the secondary access point activates the roaming function based on the roaming activation message and sends a roaming activation confirmation message to the primary access point. The primary access point receives the roaming activation confirmation message, which confirms that the secondary access point has completed roaming activation.

[0114] Optionally, the roaming activation message, roaming activation confirmation message, roaming configuration message, and roaming configuration confirmation message can be WMCI messages.

[0115] Optionally, the roaming configuration confirmation message may also include indication information indicating whether the configuration of the first roaming capability has been completed.

[0116] The primary access point can send a network configuration message to the secondary access point. This message includes second configuration parameters for the secondary access point, which are the network parameters used by the secondary access point after roaming is disabled. The secondary access point receives the network configuration message, configures its network based on the second configuration parameters, and sends a network configuration confirmation message to the primary access point to confirm the completion of network configuration. The primary access point then sends a roaming disable message to the secondary access point to disable its roaming function. The secondary access point receives this roaming disable message, disables its own roaming function based on the message, and sends a roaming disable confirmation message to the primary access point to confirm the complete disabling of its roaming function. The primary access point receives this roaming disable confirmation message.

[0117] Optionally, the network configuration message, network configuration confirmation message, roaming shutdown message, and roaming shutdown confirmation message can be WMCI messages.

[0118] In this embodiment, when a secondary access point comes online, the primary access point receives first capability information about the secondary access point's first roaming capability. Based on this first capability information, if the secondary access point meets the roaming activation conditions, the primary access point sends first configuration parameters to the secondary access point. The secondary access point then performs roaming configuration based on these first configuration parameters. This allows the primary access point to send the first configuration parameters to each newly online secondary access point. These first configuration parameters enable the roaming functionality of each secondary access point in the communication system to remain consistent, thereby improving the roaming performance of each access point in the communication system.

[0119] Optionally, referring to Table 2-2 below, the structure of roaming configuration messages, roaming configuration confirmation messages, roaming activation messages, or roaming deactivation messages can be as shown in Table 2-2. Roaming configuration messages, roaming activation messages, and roaming deactivation messages may include some or all of the contents listed in items 1-4 of Table 2-2. Roaming configuration confirmation messages, roaming configuration activation confirmation messages, and / or roaming deactivation confirmation messages may also include the contents listed in item 5 of Table 2-2.

[0120] Table 2-2

[0121] In addition to the message formats defined above, roaming configuration messages, roaming configuration confirmation messages, roaming start messages, or roaming stop messages can also be used as other messages defined using the WMCI protocol, such as the Working Parameters message.

[0122] The MFU can send Working Parameters messages to the SFU to enable or disable roaming features. The SFU can use these Working Parameters messages to send confirmation messages indicating whether roaming is enabled or disabled, carrying the result of the enable / disable. The MFU can also send Working Parameters messages to the SFU to configure roaming parameters. In this case, the Working Parameters message carries roaming parameters (such as BSSID, roaming threshold, security mode, etc.), and the SFU can use these messages to provide feedback on the configuration results to the MFU.

[0123] Referring to Figure 7, this application embodiment provides a communication method 700, which can be applied to the communication system 100 shown in Figure 1 or Figure 2. In the communication method 700, the primary access point receives a roaming activation operation command, which is used to enable the roaming function of the access points included in the communication system; based on the roaming activation operation command, it is determined whether the access points in the communication system meet the roaming activation conditions; if the access points in the communication system meet the roaming activation conditions, a first configuration parameter is sent to the secondary access points in the communication system, which is used for roaming configuration by the secondary access points. The method 700 includes the following steps:

[0124] Step 701: The primary access point receives a roaming activation command, which is used to enable the roaming function of the access points included in the communication system.

[0125] Optionally, the communication system also includes a management device, on which users can enable roaming functionality for each access point of the communication system. Users can trigger the management device, which then sends a roaming activation command to the main access point, which receives the command.

[0126] Optionally, users can configure roaming activation commands on a webpage, send roaming activation commands to the primary access point through the webpage, and the primary access point receives the roaming activation commands.

[0127] Step 702: The primary access point obtains the first capability information of each secondary access point in the communication system based on the roaming activation operation command. The first capability information is used to describe the first roaming capability of the secondary access point.

[0128] In step 702, the master access point sends an acquisition request message to each slave access point in the communication system based on the roaming activation operation command. For each slave access point, the slave access point receives the acquisition request message, acquires its own first capability information for first roaming capability based on the acquisition request message, and sends an acquisition response message to the master access point, the acquisition response message including the first capability information.

[0129] For example, suppose a communication system includes a first slave access point and a second slave access point. The first slave access point includes a first roaming capability, and the second slave access point includes the first roaming capability. The first slave access point receives the retrieval request message, retrieves first capability information of its own first roaming capability (the first capability information describes the first roaming capability), and sends a retrieval response message to the master access point, the retrieval response message including the first capability information.

[0130] The second access point receives the retrieval request message, obtains the first capability information of its own first roaming capability (which describes the first roaming capability), and sends a retrieval response message to the primary access point, which includes the first capability information. In this way, the primary access point obtains the first capability information of the first roaming capabilities of each access point.

[0131] Optionally, the request message and response message can be WMCI messages.

[0132] Step 703: When the primary access point determines that each access point meets the roaming activation conditions based on the first capability information, it sends the first configuration parameters to each secondary access point.

[0133] If the roaming capability of each access point meets the roaming enable condition, it means that the roaming capability of each slave access point is compatible with the second roaming capability of the master access point. Therefore, the first configuration parameter can be sent to each slave access point to enable the roaming function of each slave access point.

[0134] Step 704: Receive the first configuration parameters from the access point and configure roaming based on the first configuration parameters.

[0135] It receives the first configuration parameters from the access point, enables its own roaming function, and performs roaming configuration.

[0136] The primary access point also enables roaming based on this first configuration parameter and performs roaming configuration, thus ensuring that the roaming function of each access point (primary access point and secondary access point) in the communication system remains consistent, thereby improving roaming performance.

[0137] For step 702 of method 700, the first capability information of the first access point includes one or more of the following:

[0138] The first roaming capability version number of the first access point, the first wireless mode supported by the first access point, the first encryption mode supported by the first access point, or the first channel range of the first access point, wherein the first channel range includes the channels that the first access point can use.

[0139] The second capability information from the access point includes one or more of the following:

[0140] The second access point's first roaming capability version number, the second wireless mode supported by the second access point, the second encryption mode supported by the second access point, or the second channel range of the second access point, the second channel range including the channels that the second access point can use.

[0141] Regarding step 703 of method 700, in step 703, if it is determined that the first roaming capability and the second roaming capability of each access point are compatible with each other based on the version number of the first roaming capability and the version number of the second roaming capability of each access point, it is determined that each access point meets the roaming activation condition, and the second roaming capability is the roaming capability of the main access point.

[0142] For example, a communication system includes a first slave access point and a second slave access point. The primary access point stores version numbers of all roaming capabilities compatible with the second roaming capability. Upon receiving the first capability information from the first slave access point, if the version numbers of all roaming capabilities compatible with the second roaming capability include the version number of the first slave access point's first roaming capability, then the primary access point determines that the first and second roaming capabilities of the first slave access point are compatible, meaning the first slave access point meets the roaming activation condition. If the version numbers of all roaming capabilities compatible with the second roaming capability do not include the version number of the first slave access point's first roaming capability, then the primary access point determines that the first and second roaming capabilities of the first slave access point are incompatible, meaning the first slave access point does not meet the roaming activation condition.

[0143] After receiving the first capability information from the second slave access point, the primary access point determines that the first and second roaming capabilities of the second slave access point are compatible if the version numbers of all roaming capabilities compatible with the second roaming capability include the version number of the first roaming capability of the second slave access point, meaning the second slave access point meets the roaming activation condition. If the version numbers of all roaming capabilities compatible with the second roaming capability do not include the version number of the first roaming capability of the second slave access point, then the first and second roaming capabilities of the second slave access point are incompatible, meaning the second slave access point does not meet the roaming activation condition. This process determines whether all slave access points in the communication system meet the roaming activation condition.

[0144] In some embodiments, the first configuration parameter includes one or more of the following: VAP identification information, VAP SSID, VAP BSSID, authentication mode, encryption mode, encryption password, roaming threshold, wireless mode, channel identification information, channel bandwidth, multicast key update period, Beacon frame transmission period, DTIM period, Neighbor List, BSSColor, roaming switch identifier, PVB reporting time interval, TSF update period, or the identification information of the access point.

[0145] Optionally, the interface information includes the interface identifier, etc. Compared with the first configuration parameters obtained in step 303 of method 300, the first configuration parameters obtained in step 703 may not include the information to be synchronized to the STA from the access point.

[0146] In some embodiments, the first configuration parameters can be obtained based on the second capability information and the first capability information of each access point.

[0147] For example, if the second roaming capability of the primary access point supports Wi-Fi 6, and the first roaming capability of each secondary access point also supports Wi-Fi 6, then the first configuration parameter obtained by the primary access point includes the Wi-Fi 6 wireless mode. When the obtained first configuration parameter includes the Wi-Fi 6 wireless mode, the obtained first configuration parameter includes Bss Color.

[0148] Regarding steps 703 and 704 of method 700, the primary access point can use the methods shown in Figures 4, 5, or 6 to enable and configure the roaming function of the secondary access points, which will not be described in detail here. For example, the primary access point can use the methods shown in Figures 4, 5, or 6 to send first configuration parameters to the first and second secondary access points, enabling the first and second secondary access points to enable and configure the roaming function.

[0149] Users can disable the roaming function of each access point in the communication system. That is, users can send a roaming disable command to the main access point through the management device or web page. This roaming disable command is used to disable the roaming function of the access points included in the communication system.

[0150] In this way, the primary access point can disable its own roaming function and configure the network, as well as disable the roaming function of each secondary access point and send the second configuration parameters to each secondary access point.

[0151] In some embodiments, referring to Figure 8, the primary access point can send a network configuration message to a secondary access point (such as the first or second secondary access point described above). This network configuration message includes second configuration parameters for the secondary access point, which include network parameters used by the secondary access point after roaming is disabled. The secondary access point receives the network configuration message, performs network configuration based on the second configuration parameters included in the message, and sends a network configuration confirmation message to the primary access point. This confirmation message confirms that the network configuration of the secondary access point is complete. The primary access point sends a roaming disable message to the secondary access point, disabling the roaming function of the secondary access point. The secondary access point receives the roaming disable message, disables its own roaming function based on the message, and sends a roaming disable confirmation message to the primary access point. This confirmation message confirms that the roaming function of the secondary access point has been disabled. The primary access point receives the roaming disable confirmation message.

[0152] In some embodiments, referring to Figure 9, the primary access point sends a roaming disable message to a secondary access point (such as the first or second secondary access point described above). Upon receiving the roaming disable message, the secondary access point disables its own roaming function based on the message and sends a roaming disable confirmation message to the primary access point. This confirmation message acknowledges that the secondary access point's roaming function has been successfully disabled. The secondary access point can configure its network based on its latest network configuration parameters and send a network configuration feedback message to the primary access point. The primary access point receives this feedback message and sends a network configuration confirmation message to the secondary access point.

[0153] The primary access point can also disable its own roaming function and configure the network based on its latest network configuration parameters.

[0154] In this embodiment, when the primary access point receives a roaming activation command, it acquires first capability information of the secondary access point's first roaming capability. Based on this first capability information, if the secondary access point meets the roaming activation conditions, the primary access point sends first configuration parameters to the secondary access point. The secondary access point then activates the roaming function based on these first configuration parameters and performs roaming configuration. This allows the primary access point to send the first configuration parameters to each secondary access point in the communication system. These first configuration parameters enable consistent roaming functionality across all secondary access points in the communication system, thereby improving the roaming performance of each access point in the communication system.

[0155] Referring to Figure 10, this application embodiment provides a communication method 1000, which can be applied to the communication system 100 shown in Figure 1 or Figure 2. In the communication method 1000, the primary access point determines a target wireless mode supported by both the primary access point and the secondary access point in the communication system; and sends the target wireless mode to the secondary access point, which is used by the secondary access point for roaming configuration. Optionally, the target wireless mode can be a wireless mode included in the first configuration parameters obtained by the primary access point in method 300 shown in Figure 3, or it can be a wireless mode included in the first configuration parameters obtained by the primary access point in method 700 shown in Figure 7. The method 1000 includes the following steps:

[0156] Step 1001: The primary access point acquires the first wireless mode of the first secondary access point, which is an access point in the communication system.

[0157] In some embodiments, the first slave access point may be a newly launched access point in the communication system. The first slave access point can send first capability information to the master access point in the manner described in step 301 of method 300 above. The first capability information includes the first wireless mode of the first slave access point, so that the master access point can obtain the first wireless mode.

[0158] In some embodiments, the first slave access point may be an access point that has been put online in the communication system. When the master access point receives the roaming activation operation command, it obtains the first capability information of the first slave access point through step 702 of the above method 700. The first capability information includes the first wireless mode of the first slave access point.

[0159] Step 1002: The primary access point obtains the target wireless mode based on the first wireless mode. Both the first secondary access point and the primary access point support the target wireless mode.

[0160] Step 1003: The primary access point sends the target wireless mode to the first secondary access point.

[0161] Step 1004: First, receive the target wireless mode from the access point and configure roaming based on the target wireless mode.

[0162] Regarding step 1002 of method 1000, in step 1002, the first access point is a newly connected access point in the communication system. If the capability of the first wireless mode is not lower than that of the second wireless mode, the target wireless mode is the second wireless mode, which is the wireless mode used by the communication system. Optionally, the wireless mode used by the communication system is the wireless mode used for the roaming capability of the primary access point, i.e., the wireless mode used by the primary access point. Or,

[0163] If the capability of the first wireless mode is lower than that of the second wireless mode, the target wireless mode is the first wireless mode, or the target wireless mode is a wireless mode with a capability lower than that of the first wireless mode.

[0164] For example, referring to Figure 11, the primary access point compares the capabilities of the first wireless mode of the first secondary access point with the capabilities of the second wireless mode of the communication system.

[0165] If the capability of the first wireless mode is not lower than that of the second wireless mode, it means that the capability of the first wireless mode supported by the first slave access point is higher than or equal to the capability of the second wireless mode of the communication system. Because wireless modes have backward compatibility, since the capability of the first wireless mode at the first slave access point is higher than or equal to that of the second wireless mode, and the first slave access point also supports the second wireless mode, the master access point can select the second wireless mode as the target wireless mode. Then, the master access point configures the wireless mode of the first slave access point to the second wireless mode, thus eliminating the need to adjust the wireless modes of each access point in the communication system.

[0166] If the capability of the first wireless mode is lower than that of the second wireless mode, the primary access point can choose the first wireless mode as the target wireless mode, or choose a wireless mode with lower capability as the target wireless mode. This ensures that the first slave access point and all access points in the communication system support the target wireless mode. Then, the primary access point configures the wireless mode of the first slave access point to the second wireless mode.

[0167] Optionally, the primary access point uses the target wireless mode as the wireless mode in the first configuration parameter, and then sends the target wireless mode to the first secondary access point in the manner shown in Figure 4, Figure 5, or Figure 6.

[0168] Referring to Figure 11, if the target wireless mode is the first wireless mode, or if the target wireless mode has capabilities lower than the first wireless mode, it is also necessary to adjust the wireless mode of each access point in the communication system to the target wireless mode. In implementation, the primary access point performs roaming configuration based on the target wireless mode, that is, configures the wireless mode used for the primary access point's second roaming capability to the target wireless mode; and the primary access point sends the target wireless mode to the second secondary access point. The second secondary access point includes all secondary access points in the communication system other than the first secondary access point. The second secondary access point performs roaming configuration based on the target wireless mode, that is, configures the wireless mode used for the second secondary access point's first roaming capability to the target wireless mode.

[0169] Regarding step 1002 of method 1000, in step 1002, the first slave access point is an access point that is already online in the communication system. The main access point also acquires the third wireless mode of the second slave access point. The second slave access point includes slave access points in the communication system other than the first slave access point. Based on the first wireless mode, the third wireless mode, and the second wireless mode of the main access point, the target wireless mode is acquired. The first slave access point, the second slave access point, and the main access point all support the target wireless mode.

[0170] In some embodiments, where the capabilities of the first wireless mode, the third wireless mode, and the second wireless mode are all identical, the target wireless mode is the first wireless mode. Alternatively,

[0171] When the capabilities of the first wireless mode, the third wireless mode, and the second wireless mode are different, the target wireless mode is a wireless mode whose capability is lower than or equal to the target capability. The target capability is the minimum capability among the capabilities of the first wireless mode, the second wireless mode, and the third wireless mode.

[0172] For example, referring to Figure 12, the capabilities of the wireless modes of each access point in the communication system are compared. Each access point in the communication system includes the aforementioned primary access point, first secondary access point, and second secondary access point. If the capabilities of the wireless modes of each access point in the communication system are the same, that is, the capabilities of the first wireless mode, the third wireless mode, and the second wireless mode are all the same, then the first wireless mode is selected as the target wireless mode, and the wireless modes of each access point in the communication system are configured as the target wireless mode.

[0173] That is, the primary access point can configure its secondary roaming capability based on the target wireless mode. Furthermore, the primary access point uses the target wireless mode as the wireless mode in the first configuration parameter, and then sends the target wireless mode to the first and second secondary access points as shown in Figures 4, 5, or 6.

[0174] If the capabilities of the wireless modes of the access points in the communication system are different, that is, the capabilities of the first wireless mode, the third wireless mode, and the second wireless mode are different, then the wireless mode with the most access points in the communication system can be selected as the target wireless mode, and the wireless modes of the access points in the communication system can be configured as the target wireless mode.

[0175] Optionally, when the wireless modes of the access points in the communication system are different, the primary access point can directly select its own wireless mode as the target wireless mode, or select the wireless mode with the greatest capability as the target wireless mode. The primary access point uses the target wireless mode as the wireless mode in the first configuration parameter, and then sends the target wireless mode to the first and second secondary access points in the manner shown in Figures 4, 5, or 6.

[0176] Optionally, when the access points in the communication system have different wireless modes, the primary access point can group the access points in the communication system into multiple access point groups. Each access point in an access point group has access points with the same wireless mode capabilities, and then roaming capabilities on each access point in that access point group are configured based on that wireless mode.

[0177] In some embodiments, the primary access point may also receive a configuration command, which includes a fourth wireless mode. If the capability of the fourth wireless mode is lower than that of the target wireless mode, the primary access point performs roaming configuration based on the fourth wireless mode. Furthermore, the primary access point sends the fourth wireless mode to secondary access points (a first secondary access point and a second secondary access point) in the communication system, and the secondary access points (either the first or the second secondary access point) reconfigure roaming based on the fourth wireless mode.

[0178] In some embodiments, the primary access point may receive a fourth wireless mode and transmit the fourth wireless mode to some or all access points in the communication system. These access points receive the fourth wireless mode and perform roaming configuration based on the fourth wireless mode.

[0179] In some embodiments, the primary access point receives a fourth wireless mode; if it is determined that at least one access point in the communication system does not support the fourth wireless mode, it determines not to send the fourth wireless mode to any access point in the communication system.

[0180] In this embodiment, the primary access point can obtain a first wireless mode from a first secondary access point, which is an access point in the communication system. Based on the first wireless mode, a target wireless mode is obtained, and both the first secondary access point and the primary access point support the target wireless mode. The target wireless mode is sent to the first secondary access point, and the first secondary access point configures its roaming capabilities based on the target wireless mode. In this way, the primary access point can send the target wireless mode supported by the primary access point to each secondary access point in the communication system, ensuring that the roaming capabilities of each access point in the communication system are configured with the same wireless mode, thereby improving the roaming performance of the communication system.

[0181] Referring to Figure 13, this application embodiment provides a communication method 1300, which can be applied to the communication system 100 shown in Figure 1 or Figure 2. In the communication method 1300, the primary access point determines a target encryption mode supported by both the primary access point and the secondary access point in the communication system; and sends the target encryption mode to the secondary access point, which is used for roaming configuration by the secondary access point. Optionally, the target encryption mode can be an encryption mode included in the first configuration parameters obtained by the primary access point in method 300 shown in Figure 3, or it can be an encryption mode included in the first configuration parameters obtained by the primary access point in method 700 shown in Figure 7. The method 1300 includes the following steps:

[0182] Step 1301: The master access point obtains the first encryption mode of the first slave access point, where the first slave access point is an access point in the communication system.

[0183] In some embodiments, the first slave access point may be a newly launched access point in the communication system. The first slave access point can send first capability information to the master access point in the manner described in step 301 of method 300 above. The first capability information includes the first encryption mode of the first slave access point, so that the master access point can obtain the first encryption mode.

[0184] In some embodiments, the first slave access point may be an access point that has been put online in the communication system. When the master access point receives the roaming activation operation command, it obtains the first capability information of the first slave access point through step 702 of the above method 700. The first capability information includes the first encryption mode of the first slave access point.

[0185] Step 1302: The primary access point obtains the target encryption mode based on the first encryption mode. Both the first secondary access point and the primary access point support the target encryption mode.

[0186] Step 1303: The primary access point sends the target encryption mode to the first secondary access point.

[0187] Step 1304: First, receive the target encryption mode from the access point and configure roaming based on the target encryption mode.

[0188] Regarding step 1302 of method 1300, in step 1302, the first access point is a newly connected access point in the communication system. If the capability of the first encryption mode is not lower than that of the second encryption mode, the target encryption mode is the second encryption mode, which is the encryption mode used by the communication system. Optionally, the encryption mode used by the communication system is the encryption mode used by the roaming capability of the primary access point, i.e., the encryption mode used by the primary access point. Or,

[0189] If the capability of the first encryption mode is lower than that of the second encryption mode, the target encryption mode is the first encryption mode, or the target encryption mode is an encryption mode with a capability lower than that of the first encryption mode.

[0190] For example, referring to Figure 14, the primary access point compares the capability of the first encryption mode of the first secondary access point with the capability of the second encryption mode of the communication system.

[0191] If the capability of the first encryption mode is not lower than that of the second encryption mode, it means that the capability of the first encryption mode supported by the first slave access point is higher than or equal to the capability of the second encryption mode of the communication system. Because encryption modes have backward compatibility, since the capability of the first encryption mode on the first slave access point is higher than or equal to that of the second encryption mode, and the first slave access point also supports the second encryption mode, the master access point can select the second encryption mode as the target encryption mode. Then, the master access point configures the encryption mode of the first slave access point to the second encryption mode, thus eliminating the need to adjust the encryption modes of all access points in the communication system.

[0192] If the capability of the first encryption mode is lower than that of the second encryption mode, the master access point can choose the first encryption mode as the target encryption mode, or choose an encryption mode with lower capability as the target encryption mode. This ensures that the first slave access point and all access points in the communication system support the target encryption mode. Then, the master access point configures the encryption mode of the first slave access point to the second encryption mode.

[0193] Optionally, the primary access point uses the target encryption mode as the encryption mode in the first configuration parameter, and then sends the target encryption mode to the first secondary access point in the manner shown in Figure 4, Figure 5, or Figure 6.

[0194] Referring to Figure 14, if the target encryption mode is the first encryption mode, or if the target encryption mode has capabilities lower than the first encryption mode, it is also necessary to adjust the encryption mode of each access point in the communication system to the target encryption mode. In implementation, the primary access point performs roaming configuration based on the target encryption mode, that is, configures the encryption mode used for the primary access point's second roaming capability to the target encryption mode; and the primary access point sends the target encryption mode to the second secondary access point. The second secondary access point includes all secondary access points in the communication system other than the first secondary access point. The second secondary access point performs roaming configuration based on the target encryption mode, that is, configures the encryption mode used for the second secondary access point's first roaming capability to the target encryption mode.

[0195] Regarding step 1302 of method 1300, in step 1302, the first slave access point is an access point that is already online in the communication system. The master access point also obtains the third encryption mode of the second slave access point. The second slave access point includes slave access points in the communication system other than the first slave access point. Based on the first encryption mode, the third encryption mode, and the second encryption mode of the master access point, a target encryption mode is obtained. The first slave access point, the second slave access point, and the master access point all support the target encryption mode.

[0196] In some embodiments, where the capabilities of the first encryption mode, the third encryption mode, and the second encryption mode are all identical, the target encryption mode is the first encryption mode. Alternatively,

[0197] When the capabilities of the first encryption mode, the third encryption mode, and the second encryption mode are different, the target encryption mode is an encryption mode whose capability is lower than or equal to the target capability. The target capability is the minimum capability among the capabilities of the first encryption mode, the second encryption mode, and the third encryption mode.

[0198] For example, referring to Figure 15, the encryption capabilities of each access point in the communication system are compared. Each access point in the communication system includes the aforementioned master access point, first slave access point, and second slave access point. If the encryption capabilities of each access point in the communication system are the same—that is, the capabilities of the first encryption mode, the third encryption mode, and the second encryption mode are all the same—then the first encryption mode is selected as the target encryption mode, and the encryption modes of each access point in the communication system are configured as the target encryption mode.

[0199] That is, the primary access point can configure its secondary roaming capability based on the target encryption mode. Furthermore, the primary access point uses the target encryption mode as the encryption mode in the first configuration parameter, and then sends the target encryption mode to the first and second secondary access points as shown in Figures 4, 5, or 6.

[0200] If the encryption modes of the access points in the communication system have different capabilities, that is, the capabilities of the first encryption mode, the third encryption mode, and the second encryption mode are different, then the encryption mode with the most access points in the communication system can be selected as the target encryption mode, and the encryption modes of the access points in the communication system can be configured as the target encryption mode.

[0201] Optionally, when the encryption modes of the access points in the communication system are different, the master access point can directly select its own encryption mode as the target encryption mode, or select the encryption mode with the greatest capability as the target encryption mode. The master access point uses the target encryption mode as the encryption mode in the first configuration parameter, and then sends the target encryption mode to the first and second slave access points in the manner shown in Figures 4, 5, or 6.

[0202] Optionally, when the encryption modes of the access points in the communication system are different, the main access point can group the access points in the communication system into multiple access point groups. Each access point in an access point group has the same encryption mode capability, and then the roaming capability on each access point in that access point group is configured based on that encryption mode.

[0203] In some embodiments, the primary access point may also receive a configuration command, which includes a fourth encryption mode. If the capability of the fourth encryption mode is lower than that of the target encryption mode, the primary access point performs roaming configuration based on the fourth encryption mode. Furthermore, the primary access point sends the fourth encryption mode to the secondary access points (first and second secondary access points) in the communication system, and the secondary access points (either the first or second secondary access point) reconfigure roaming based on the fourth encryption mode.

[0204] In some embodiments, the primary access point may receive a fourth encryption mode and send the fourth encryption mode to some or all access points in the communication system. These access points receive the fourth encryption mode and perform roaming configuration based on the fourth encryption mode.

[0205] In some embodiments, the primary access point receives a fourth encryption mode; if it is determined that at least one access point in the communication system does not support the fourth encryption mode, then it determines not to send the fourth encryption mode to any access point in the communication system.

[0206] In this embodiment, the primary access point can obtain a first encryption mode from a first secondary access point, which is an access point in the communication system. Based on the first encryption mode, a target encryption mode is obtained, which is supported by both the primary and secondary access points. The target encryption mode is then sent to the primary secondary access point, which configures its roaming capabilities based on this mode. This allows the primary access point to send the target encryption mode supported by the primary access point to each secondary access point in the communication system, ensuring that the roaming capabilities of each access point in the communication system are configured with the same encryption mode, thereby improving the roaming performance of the communication system.

[0207] Referring to Figure 16, this application embodiment provides a communication method 1600, which can be applied to the communication system 100 shown in Figure 1 or Figure 2. In the communication method 1600, the roaming function of the communication system is enabled. When a first slave access point comes online, it is determined whether the channel capability of the newly online first slave access point is consistent with that of the communication system. If the channel capability of the first slave access point is consistent with that of the communication system, it is determined whether the master access point and the first slave access point support cross-channel roaming. If the master access point and the first slave access point support cross-channel roaming, information about a first channel is sent to the first slave access point. The first channel is a channel that the first access point can use, and the information about the first channel is used for roaming configuration by the first slave access point. Optionally, the information about the first channel may be the channel identification information and / or channel bandwidth included in the first configuration parameters obtained by the master access point in method 300 shown in Figure 3. The method 1600 includes the following steps:

[0208] Step 1601: The master access point determines whether the channel capability of the newly connected first slave access point in the communication system is consistent with that of the communication system. If the channel capability of the first slave access point is inconsistent with that of the communication system, then proceed to step 1602. If the channel capability of the first slave access point is consistent with that of the communication system, then proceed to step 1605.

[0209] In some embodiments, the primary access point determines whether the channel capability of a newly connected first slave access point in the communication system is consistent with the channel capabilities of other access points in the communication system. If the channel capability of the first slave access point is inconsistent with the channel capabilities of other access points, it is concluded that the channel capability of the first slave access point is inconsistent with the communication system, and step 1602 is executed. If the channel capability of the first slave access point is consistent with the channel capabilities of other access points, it is concluded that the channel capability of the first slave access point is consistent with the communication system, and step 1605 is executed.

[0210] In some embodiments, the first slave access point may be a newly launched access point in the communication system. The first slave access point can send first capability information to the master access point in the manner described in step 301 of method 300 above. The first capability information includes the channel range of the first slave access point. The channel range includes the channels that the first slave access point can use. The channel capability of the first slave access point is the channel range, so that the master access point can obtain the channel capability of the first slave access point.

[0211] Other access points in the communication system include access points that are already online in the communication system. The channel capabilities of other access points include the channels currently used by other access points. The channels currently used by other access points are the same as those currently used by the main access point.

[0212] In step 1601, the primary access point determines whether the channel range of the first secondary access point includes the channel currently used by the primary access point. If the channel range of the first secondary access point includes the channel currently used by the primary access point, then it is determined that the channel capability of the newly connected first secondary access point in the communication system is consistent with the channel capability of other access points in the communication system, i.e., the channel capability of the first secondary access point is consistent with the communication system. If the channel range of the first secondary access point does not include the channel currently used by the primary access point, then it is determined that the channel capability of the newly connected first secondary access point in the communication system is inconsistent with the channel capability of other access points in the communication system, i.e., the channel capability of the first secondary access point is inconsistent with the communication system.

[0213] Step 1602: The primary access point determines whether the primary access point and the first secondary access point support inter-channel roaming. If the primary access point and the first secondary access point support inter-channel roaming, proceed to step 1603. If the primary access point and the first secondary access point do not support inter-channel roaming, proceed to step 1604.

[0214] Abnormal channel roaming refers to a situation where two access points use different channels, and when a STA switches from one access point to another, it also needs to switch the channel it uses.

[0215] The first capability information of the first slave access point includes the version number of the first roaming capability of the first slave access point. Based on the version number of the first roaming capability and the version number of the second roaming capability of the primary access point, the primary access point can determine whether the first roaming capability and the second roaming capability support inter-channel roaming. If the first roaming capability and the second roaming capability support inter-channel roaming, then it is determined that the primary access point and the first slave access point support inter-channel roaming; if the first roaming capability and the second roaming capability do not support inter-channel roaming, then it is determined that the primary access point and the first slave access point do not support inter-channel roaming.

[0216] Step 1603: The primary access point sends the information of the first channel to the first secondary access point. The first channel is a channel that the first access point can use. The information of the first channel is used by the first secondary access point for roaming configuration. End.

[0217] If the primary access point and the first secondary access point support abnormal channel roaming, then the channel and / or bandwidth configured on the first secondary access point can be different from the channels and / or bandwidth used by other access points.

[0218] Optionally, the first channel is different from the second channel currently used by the primary access point. The bandwidth of the first channel may be the same as or different from the bandwidth of the second channel. The first channel is one of the channels in the channel range of the first secondary access point.

[0219] Step 1604: The primary access point sends information about the third channel to the first secondary access point and other access points. The information about the third channel is used to configure the first secondary access point and other access points to have the same channel and / or bandwidth. End.

[0220] Optionally, the primary access point sends information about the third channel to the first secondary access point and other access points. This information is used by the first secondary access point for roaming configuration and by the other access points for roaming configuration.

[0221] If the primary access point and the first secondary access point do not support abnormal channel roaming, then the first secondary access point and other access points need to use the same channel and bandwidth.

[0222] In step 1604, the master access point can intersect the channel range of the first slave access point, the channel range of the master access point, and the channel range of other slave access points, and select one channel from the intersection as the third channel.

[0223] Then, the primary access point performs roaming configuration based on the information from the third channel. The primary access point sends the third channel information to the first secondary access point, and other secondary access points in the communication system also send third channel information. The first secondary access point receives the third channel information and performs roaming configuration based on it; other secondary access points receive the third channel information and perform roaming configuration based on it. This ensures that each access point in the communication system uses the third channel and its bandwidth, meaning each access point uses the same channel and bandwidth, thereby improving roaming performance.

[0224] Step 1605: The primary access point sends information about the fourth channel to the first secondary access point. The fourth channel is a channel that can be used by both the first secondary access point and other access points. The information about the fourth channel is used by the first secondary access point for roaming configuration. End.

[0225] Optionally, the fourth channel is the channel currently used by the primary access point. In this way, the primary access point only needs to send the information of the fourth channel to the first secondary access point to enable the first secondary access point to perform roaming configuration, without needing to send the information of the fourth channel to other access points to enable the other access points to perform roaming configuration.

[0226] The information of the fourth channel includes the identification information and / or bandwidth of the fourth channel. This ensures that all access points in the entire communication system use the fourth channel and its bandwidth. In other words, all access points use the same channel and bandwidth. Thus, when a STA roams to any access point in the communication system, since all access points use the first channel and its bandwidth, there is no need to renegotiate the channel and bandwidth with the STA. This allows for rapid communication with the STA and improves roaming performance.

[0227] In some embodiments, the primary access point may also receive information from the fifth channel and transmit the fifth channel information to some or all access points in the communication system. These access points, upon receiving the fifth channel information, configure the same channel and / or bandwidth based on the fifth channel information. That is, the channel and bandwidth used by these access points are respectively the fifth channel and the bandwidth of the fifth channel.

[0228] In some embodiments, if the primary access point receives information from the fifth channel and determines that at least one access point in the communication system does not support the information from the fifth channel, it determines not to send the information from the fifth channel to any access point in the communication system.

[0229] Optionally, users can send configuration commands to the main access point via management devices or web pages. These configuration commands include information about the fifth channel.

[0230] In this embodiment, the primary access point determines whether the channel capability of a newly connected first slave access point in the communication system is consistent with the channel capabilities of other access points in the system. If the channel capability of the first slave access point is inconsistent with the channel capabilities of other access points, it determines whether the primary access point and the first slave access point support cross-channel roaming. If the primary access point and the first slave access point support cross-channel roaming, information about a first channel is sent to the first slave access point. The first channel is a channel that the first slave access point can use, and this information is used for roaming configuration by the first slave access point. If the primary access point and the first slave access point support cross-channel roaming, the primary access point obtains the first channel that the first slave access point can use and sends the first channel information to the first slave access point, enabling the first slave access point to perform roaming configuration based on the first channel information. This improves the roaming performance of the first slave access point, thereby improving the roaming performance of the communication system.

[0231] Referring to Figure 17, this application embodiment provides a communication method 1700, which can be applied to the communication system 100 shown in Figure 1 or Figure 2. In the communication method 1700, the roaming function of the communication system is enabled. When a roaming enable operation command is received, the main access point configures the channel of the access point in the communication system based on the roaming enable operation command. Optionally, the configured channel information can be the channel identification information and / or channel bandwidth included in the first configuration parameters obtained by the main access point in method 700 shown in Figure 7. The method 1700 includes the following process:

[0232] Step 1701: The primary access point receives a roaming activation command, which is used to enable the roaming function of the access points included in the communication system.

[0233] Optionally, the communication system also includes a management device, on which users can enable roaming functionality for each access point of the communication system. Users can trigger the management device, which then sends a roaming activation command to the main access point, which receives the command.

[0234] Optionally, users can configure roaming activation commands on a webpage, send roaming activation commands to the primary access point through the webpage, and the primary access point receives the roaming activation commands.

[0235] Step 1702: The primary access point determines whether the channel capabilities of the access points in the communication system are consistent, or whether the optimal channels supported by the secondary access points in the communication system are consistent, based on the roaming activation operation command.

[0236] The primary access point acquires the first capability information of the secondary access point in the communication system. This first capability information describes the primary roaming capability of the secondary access point and includes the channel range of the secondary access point, which includes one or more channels that the secondary access point can use. Detailed implementation of the primary access point acquiring the primary capability information of the secondary access point can be found in step 702 of method 700 shown in Figure 7, and will not be elaborated further here.

[0237] The primary access point obtains its second capability information, which describes the primary access point's second roaming capabilities. The second capability information includes the primary access point's channel range, which includes one or more channels that the primary access point can use.

[0238] Optionally, the channel capability of the access point can be the channel range of the access point, and the channel capability of the master access point can be the channel range of the master access point.

[0239] In step 1702, the primary access point can compare the channel ranges of any two access points in the communication system to determine whether the channel capabilities of the two access points are consistent.

[0240] The optimal channel of an access point is the optimal channel within the channel range of the access point. In step 1702, the main access point can compare the optimal channels of any two access points in the communication system to determine whether the optimal channels of the two access points are consistent.

[0241] Step 1703: When the channel capabilities of access points in the communication system are inconsistent, or the optimal channels supported by slave access points in the communication system are inconsistent, the primary access point determines whether the primary access point and slave access points support cross-channel roaming.

[0242] If the primary and secondary access points do not support cross-channel roaming, the channels and / or bandwidths used by the access points in the communication system need to be configured to the same channels and / or bandwidths.

[0243] If the primary and secondary access points support cross-channel roaming, the channels and / or bandwidths used by the access points in the communication system can be configured to different channels and / or bandwidths.

[0244] Step 1704: If the primary access point and the secondary access point do not support abnormal channel roaming, configure the access points in the communication system to use the same channel and / or bandwidth, and then end.

[0245] If the primary and secondary access points do not support abnormal channel roaming, then the primary access point and each secondary access point need to use the same channel and bandwidth.

[0246] That is, the master access point sends information about the first channel to the slave access points of the communication system. This information is used by the slave access points to configure the same channel and / or bandwidth. In other words, each slave access point in the communication system performs roaming configuration based on the information about the first channel, and the channel and bandwidth used by each slave access point are respectively the first channel and its bandwidth. Optionally, the information about the first channel includes the identification information and / or bandwidth of the first channel.

[0247] The primary access point also configures its channel and / or bandwidth to be the same as those of the secondary access points in the communication system, based on the information from the first channel. In other words, the primary access point performs roaming configuration based on the information from the first channel, ensuring that the channel and bandwidth used by the primary access point are the same as those of the first channel and the bandwidth of the first channel, respectively.

[0248] In step 1704, the master access point can find the intersection of the channel range of each slave access point and the channel range of the master access point, and select a channel from the intersection as the first channel.

[0249] The primary access point then configures roaming based on the information from the first channel. The primary access point also sends the first channel information to each secondary access point. This ensures that each access point in the communication system uses the third channel and its bandwidth, meaning each access point uses the same channel and bandwidth, thus improving roaming performance.

[0250] Step 1705: If the primary and secondary access points support abnormal channel roaming, configure the channel and / or bandwidth of the secondary access point, making the channel of the secondary access point the optimal channel of the secondary access point, and configure the channel and / or bandwidth of the primary access point, making the channel of the primary access point the optimal channel of the primary access point, then end.

[0251] In step 1705, for each slave access point, the master access point determines the optimal channel for that slave access point from its channel range and sends the optimal channel information to the slave access point. This optimal channel information includes the identification information and / or bandwidth of the optimal channel. The slave access point then performs roaming configuration based on this optimal channel information, enabling it to use its own optimal channel and / or the bandwidth of the optimal channel.

[0252] The primary access point determines its optimal channel from the channel range of the primary and secondary access points, and performs roaming configuration based on the information of the optimal channel, so that the primary access point can use its own optimal channel and / or the bandwidth of the optimal channel.

[0253] Step 1706: If the access points in the communication system have the same channel capabilities and / or the slave access points in the communication system support the same optimal channels, the master access point configures the access points in the communication system to use the same channels and / or bandwidths.

[0254] When all access points in a communication system have the same channel capability, the primary access point sends information about the second channel to the secondary access points. The second channel is a channel that all access points in the communication system can use. The secondary access points receive the information about the second channel and perform roaming configuration based on the second channel, ensuring that the channel and bandwidth used by the secondary access points are the bandwidths of the second channel and the second channel, respectively.

[0255] Additionally, the primary access point is configured to roam based on the second channel, so that the channel and bandwidth used by the primary access point are the bandwidths of the second channel and the second channel, respectively.

[0256] In some embodiments, the primary access point may intersect the channel range of each secondary access point with the channel range of the primary access point, and select one channel from the intersection as the second channel.

[0257] In some embodiments, if the optimal channel supported by the access point in the communication system is consistent, the second channel may be the optimal channel.

[0258] In some embodiments, the primary access point may also receive information from the fifth channel and transmit the fifth channel information to some or all access points in the communication system. These access points, upon receiving the fifth channel information, configure the same channel and / or bandwidth based on the fifth channel information. That is, the channel and bandwidth used by these access points are respectively the fifth channel and the bandwidth of the fifth channel.

[0259] In some embodiments, if the primary access point receives information from the fifth channel and determines that at least one access point in the communication system does not support the information from the fifth channel, it determines not to send the information from the fifth channel to any access point in the communication system.

[0260] Optionally, users can send configuration commands to the main access point via management devices or web pages. These configuration commands include information about the fifth channel.

[0261] In this embodiment, the primary access point determines whether the channel capabilities of the access points in the communication system are consistent, or whether the optimal channels supported by the secondary access points in the communication system are consistent, based on the roaming activation operation command. If the channel capabilities of the access points in the communication system are inconsistent, or if the optimal channels supported by the secondary access points in the communication system are inconsistent, it determines whether the primary and secondary access points support cross-channel roaming. If the primary and secondary access points do not support cross-channel roaming, the access points in the communication system are configured to use the same channel and / or bandwidth. Because the access points in the communication system use the same channel and / or bandwidth, the STA does not need to switch channels when roaming between different access points, thereby improving the roaming performance of the access points, and thus improving the roaming performance of the communication system.

[0262] In some embodiments, the communication system described above can be an FTTR system, also known as an FTTR network. The primary access point is the MFU in the FTTR network, and the secondary access points (first secondary access point and / or second secondary access point) are the SFUs in the FTTR network. Referring to Figure 18a, the WMCI management channel is a low-latency channel between the MFU and SFU in the FTTR network that implements functions such as WLAN control. It is used to carry WMCI messages and is carried through an independent optical module front-end module port identifier (FEM Port-ID). The central management communication control (WMCC) is the WMCI bearer channel. The management channels in the data link layer shown in Figure 18a include a dynamic link library (DLL) management channel, an embedded operations, administration and maintenance (OAM) management channel, a physical layer operations, administration and maintenance (PLOAM) management channel, an operations and maintenance control center (OMCC), and the WMCC.

[0263] In some embodiments, any of the above-described WMCI messages are encapsulated in an FEM frame for managing and controlling the WLAN functions of the SFU. The FTTR transceiver can identify the destination of the WMCI message through the FEM port ID in the FEM frame. See Table 3 below for the WMCI message structure.

[0264] Table 3

[0265] The 7th to Nth bytes of the WMCI message content may include the first configuration parameter and / or the second configuration parameter, etc. The Message type ID and / or parameter pattern are used to indicate what type of WMCI message it is, such as indicating whether the WMCI message is a roaming enable message, a roaming enable confirmation message, a roaming configuration message, a roaming configuration confirmation message, a network configuration message, a network configuration confirmation message, a roaming disable message, a network configuration feedback message, a network configuration confirmation message, or a roaming disable confirmation message, etc.

[0266] Regarding the Message Type ID, it is an 8-bit field that indicates the type of message and defines the semantics of the message content. When the MFU receives an upstream message with a Message Type ID that is not supported, the MFU should ignore the message, including the Sequence Number field. When the SFU receives a message with a reserved or unsupported Message Type ID, it should ignore the message.

[0267] The message content structure is shown in Tables 4 and 5, with Table 4 representing the collaborative roaming parameter configuration messages. Each collaborative roaming operation instruction corresponds to different configuration parameters, indicated by a mask. The roaming enable and disable messages contain sequence numbers 2-3, and the roaming parameter configuration messages contain sequence numbers 2-13. Roaming parameter configuration does not necessarily require configuring all messages; for example, message number 13 only needs to be configured when a new SFU is launched.

[0268] Table 4

[0269] In some embodiments, for the above verification mode field, different values ​​of the verification model correspond to different meanings, as detailed below:

[0270] 0: Open system verification;

[0271] 1: Shared key verification;

[0272] 2: WPApre-Shared Key;

[0273] 3: WPA2 Pre-Shared Key;

[0274] 4: WAP / WPA2 Pre-Shared Key;

[0275] 5: WAP3 SAE;

[0276] 6: WAP2 / WAP3 PSK and SAE;

[0277] 7: WAP Enterprise;

[0278] 8: WPA2 Enterprise;

[0279] 9: WPA / WPA2-Enterprise.

[0280] In some embodiments, for the encryption mode field described above, different values ​​of the encryption model correspond to different meanings, as follows:

[0281] 0: WEP;

[0282] 1: TKIP;

[0283] 2: AES;

[0284] 3: TKIP & AES.

[0285] In Table 4 above, WPA stands for Wi-Fi Protected Access, WAP2 is WAP version 2, and WAP3 is WAP version 3. WPAμPre-Shared Key is abbreviated as WAP PSK, which stands for Wi-Fi Protected Access Pre-Shared Key. WAP / WPA2 Pre-Shared Key is the pre-shared key for WAP / WAP version 2.

[0286] WAP3 SAE stands for WAP3 Simultaneous Authentication of Equals, which is WAP3 peer-to-peer simultaneous authentication. WAP2 / WAP3 PSK and SAE refer to WAP / WAP version 2 pre-shared key and peer-to-peer simultaneous authentication. WAP Enterprise refers to WAP enterprises, WPA2 Enterprise refers to WAP version 2 enterprises, and WPA / WPA2-Enterprise refers to WAP / WAP version 2 enterprise.

[0287] WEP stands for Wired Equivalent Privacy; TKIP stands for Temporal Key Integrity Protocol; AES stands for Advanced Encryption Standard; RSSI stands for Received Signal Strength Indication; an RSSI LOW event is an event where the RSSI value is low.

[0288] Table 5 shows the roaming network parameter configuration confirmation message and the collaborative roaming operation confirmation message. The message format is the same. The roaming start confirmation message, roaming stop confirmation message, roaming parameter configuration confirmation message, virtual user creation completion status report message, and virtual user deletion completion status report message all contain 2 to 3 parameters.

[0289] Table 5

[0290] For the sequence number (SeqNo), SeqNo is an 8-bit field containing a sequence number counter to ensure the robustness of the WMCI message channel. In the downlink direction, the SeqNo field is populated with the corresponding MFU sequence number counter value. The MFU maintains a separate sequence number counter for each SFU unicast and broadcast WMCI message stream. Each sequence number counter rolls from 255 to 1. A value of 0 is not used in the downlink direction.

[0291] In the uplink direction, when the uplink WMCI message is a response to a downlink message, the value of the SeqNo field is equal to the value of the SeqNo field in the downlink message. If the WMCI message is initiated by the SFU, then SeqNo = 0.

[0292] Regarding message length and processing requirement, the message length and priority field is a 2-byte field that represents the number of bytes in the message content and the message processing requirements.

[0293] X (the most significant bit of the third byte): This indicates the priority of processing this message. When X = 1, the message has a high priority; when X = 0, the message has a low priority.

[0294] LL LLLL LLLL: This field indicates the length of the message content, with a value range of 0 to 1023.

[0295] O: Indicates the operation type of the current message.

[0296] In the downlink direction, when O=1, the message indicates that the operation type is a parameter request type, requesting the SFU to send the output indicated by the Message type ID field; when O=0, the message indicates that the message is a parameter configuration type message, and the parameter type configured in the message is indicated by the Message type ID field.

[0297] In the uplink direction, when O=1, the message is identified as an operation type of scheduling request, requesting the MFU to send the scheduling configuration indicated by the Message type ID field; when O=0, the message is identified as a parameter reporting message, with the parameter type of the message configuration indicated by the Message type ID field.

[0298] Regarding the message content, the format of the message content field is related to the specific message. The message content includes two parts: a message mask and parameter content. The message mask consists of a 16-bit mask, as shown in Table 6.

[0299] Table 6

[0300] Each message type can carry up to 16 parameters.

[0301] The message content should be filled in according to the order indicated by the parameter mask. For downlink Get or Request messages, the parameter mask represents the parameters that the MFU wants to retrieve.

[0302] Regarding the Message Verification (CRC) field, the CRC field is used to check whether the message has been corrupted during transmission. The value of this field is generated by the CRC algorithm.

[0303] Regarding the message exchange mechanism of FTTR networks, both MFU and SFU can proactively send WMCI messages or respond to messages sent by the other party.

[0304] Downlink messages are parameter request messages and configuration messages; uplink messages are parameter reporting messages, scheduling requests, and status alarm messages.

[0305] To maintain and ensure the normal operation of the WMCI channel, the MFU and SFU should periodically exchange messages. If the MFU or SFU does not receive a message from the other party within a certain period of time, the MFU or SFU can actively send a request message to ask for feedback. If feedback is received within a specific period of time, the WMCI channel can be considered to be working normally; otherwise, the WMCI channel can be judged to be faulty, and the SFU can reactivate the WMCI channel or exit the WMCI scheduling mode.

[0306] The format of the parameter request message is shown in Table 7 below.

[0307] Table 7

[0308] Parameter request messages are only for the parameter set requested by the Message type ID field in Table 7 for both uplink and downlink. The parameter template field identifies the parameters in the requested parameter set. Fields 7-N are invalid and can be determined by the MFU. After receiving the message, the SUF should return the corresponding parameters as instructed. If the parameters are invalid, the SFU should have all 0 values.

[0309] The format of the configuration message is shown in Table 8 below.

[0310] Table 8

[0311] The Message type ID field identifies the parameter set configured for this message, the parameter template field identifies the parameters in the parameter set, and the 7-N fields are filled in sequentially according to the valid parameter order.

[0312] The format of the parameter reporting message is shown in Table 9 below.

[0313] Table 9

[0314] The format of status alarm messages is shown in Table 10 below.

[0315] Table 10

[0316] In some embodiments, after enabling cooperative roaming on the primary access point (MFU) and at least one secondary access point (SFU), network information synchronization may also occur between the MFU and at least one secondary access point. For example, the MFU may obtain a group temporal key (GTK), use GTK0 to represent the multicast key, and distribute the multicast key GTK0 to each secondary access point and the STA communicating with each secondary access point. The MFU then periodically updates the multicast key and synchronizes the multicast key with at least one secondary access point. Optionally, the implementation process includes the following steps.

[0317] (11): The master access point instructs at least one slave access point in the communication system to disable the multicast key update function.

[0318] Optionally, the primary access point may instruct at least one secondary access point to disable the multicast key update function in a cooperative roaming enable message or other message.

[0319] For each slave access point, once the multicast key update function is disabled, it will not periodically update its own multicast key. In this way, the multicast keys of each device in the communication system (at least one slave access point and the STA communicating with each slave access point) can be updated by the master access point, as shown below.

[0320] (12): The primary access point updates the multicast key during the multicast key cycle (generating the first multicast key, which is represented by GTK1).

[0321] When the multicast key update cycle arrives, the primary access point generates the first multicast key GTK1.

[0322] Optionally, the primary access point generates the first multicast key GTK1 as follows: GTK1 = PRF(GMK + GNonce + Mac);

[0323] In this structure, GTK1 is the first multicast key, PRF is the pseudo-random function, Gnonce is a random number generated by the master access point, MAC is the BSSID of the master access point, and GMK is the group master key. The group master key GMK is generated by the master access point based on the master session key (MSK). The MSK can be generated by the slave access point and synchronized to the master access point during the STA's access process.

[0324] (13): The primary access point sends a first multicast key synchronization message to the at least one secondary access point, the first multicast key synchronization message including an encrypted first multicast key.

[0325] The primary access point can use the key between itself and the secondary access points to encrypt the first multicast key.

[0326] See Table 11-1 below. Table 11-1 shows the structure of the first multicast key synchronization message. Some or all of the parameters in the table can be carried as needed.

[0327] Table 11-1

[0328] For the first multicast key GTK1, as shown in Figure 18b, it includes GTK, a counter, and / or a random number.

[0329] In some embodiments, referring to Table 11-2, the first multicast key synchronization message may include one or more of the following parameters: first multicast key GTK1, length of the first multicast key (GTK_Len), integrity group transient key (IGTK), IGTK length (IGTK_Len), Gnonce, receive sequence counter (RSC) or key replay counter, etc.

[0330] Optionally, if the encryption mode used is WPA3 or 802.11w is enabled, the parameters such as the first multicast key GTK1, Gnonce, RSC, IGTK and / or key playback counter in the first multicast key synchronization message are encrypted parameters.

[0331] Table 11-2

[0332] (14): Receive the first multicast key synchronization message from the access point and update the local second multicast key to the first multicast key.

[0333] The access point can use the key between itself and the master access point to decrypt the first multicast key. Additionally, the second multicast key locally on the access point can be the multicast key received in the previous multicast key update cycle.

[0334] (15): The second multicast key synchronization message is sent from the access point to at least one STA, the second multicast key synchronization message including the encrypted first multicast key.

[0335] The access point can use the key between itself and the slave STA to encrypt the first multicast key.

[0336] (16): STA receives the second multicast key synchronization message and updates the local second multicast key to the first multicast key.

[0337] The STA can use the key between itself and the access point to decrypt the first multicast key. Additionally, the STA's local second multicast key can be the multicast key received in the previous multicast key update cycle.

[0338] The access point then uses the first multicast key to send broadcast messages and / or multicast messages, etc.

[0339] In some embodiments, after roaming is configured for a secondary access point in a communication system, a STA in the communication system can roam from its source secondary access point to a destination secondary access point. During the STA's roaming process, the primary access point sends a service shutdown indication message to the source secondary access point, which instructs the source secondary access point to disable service interaction with the STA.

[0340] The primary access point receives a service shutdown feedback message from the source and slave access points. This service shutdown feedback message indicates whether the service interaction with the STA has been successfully shut down.

[0341] Optionally, the service shutdown instruction message includes the STA's identification information.

[0342] Optionally, the service shutdown instruction message can also be used to instruct the source to report the context information of the service interaction with the STA from the access point.

[0343] Optionally, the service shutdown feedback message indicates that the source has successfully shut down service interaction with the STA from the access point.

[0344] Optionally, the service shutdown feedback message includes context information about the service interaction between the source access point and the STA.

[0345] Optionally, the context information indicated by the service shutdown indication message or the context information included in the service shutdown feedback message may include one or more of the following: packet number (PN), sequence number (SN) context, message sequence number, or STA operating mode indication (OMI) status information.

[0346] Optionally, the OMI status information of the STA includes one or more of the following: receive spatial stream count, channel bandwidth, uplink multi-user transmission disabled, transmit spatial stream count, extended distance single-user transmission disabled, recommendation to re-perform downlink multi-user multiple-input multiple-output transmission channel probing, and uplink data multi-user transmission disabled.

[0347] In some embodiments, if service closure fails, the source and slave access points will send a service closure failure message to the primary access point. If service closure succeeds, the source and slave access points will send a service closure completion message to the primary access point. Service closure completion messages and service closure failure messages can be collectively referred to as service closure feedback messages. Service closure feedback messages indicate whether service closure was successful. If indicating success, they can be called service closure completion messages; if indicating failure, they can be called service closure failure messages.

[0348] As an example, the structure of a service closure completion message can be as shown in Table 12 below, where some or all of the parameters in the table can be carried as needed.

[0349] Table 12

[0350] In Table 12, Status = 0 corresponds to a service closure completion (or confirmation) message. Status = 1-255 corresponds to a service closure failure message.

[0351] After the source access point successfully shuts down the service, it obtains the parameters that need to be synchronized. The service shutdown completion message includes the parameters that need to be synchronized. The parameters that need to be synchronized include the context information of the service interaction between the source access point and the STA, such as the sequence numbers of the aggregate frames to be transmitted between the source access point and the STA, and the sequence numbers of each data packet in the block acknowledgment. For example, the context information that needs to be synchronized may include one or more of the following: PN number, PN context, IPID, or STA OMI status information. STA OMI status information may include one or more of the following: receiver number of spatial streams (Rx NSS), channel width (CW), uplink multi-user disable, transmit number of spatial streams and time streams (Tx NSTS), extended distance single-user disable (ER SU disable), recommendation to resound downlink multi-user multiple-input multiple-output transmission (DL MU-MIMO), and uplink data multi-user disable (UL MU Data disable).

[0352] As an example, the parameters (context information) that need to be synchronized can be found in Table 13. The parameters in the table below can be carried in part or all as needed.

[0353] Table 13

[0354] The information in sequence number 4 is optional. In some implementation scenarios, the key does not need to be updated, and the context information may include the fields in sequences 1-3.

[0355] Here, "key replay" indicates key reloading, and "rep replay counter" is a counter in the Extended Authentication Protocol over LAN (EAPOL) frame. The "Key replay counter__used" indicates the number of EAPOL-Key messages sent by the access point; this field increments by 1 for each EAPOL-Key message sent to prevent replay attacks. At the start of key negotiation, this field is 0 in the EAPOL-Key message sent by the AP (from the access point, such as the source or second access point). When the client (STA) receives the EAPOL-Key message, it records this bit locally. When the client receives another EAPOL-Key message from the AP, this field must be greater than the locally recorded value; otherwise, the message is discarded and retransmitted. When the AP receives a message from the client, this field must match the locally stored value; otherwise, it waits for retransmission until a valid Key replay counter is received. If the maximum number of retransmissions is reached, the AP will delete the client.

[0356] As another example, the parameters (context information) that need to be synchronized can be seen in Table 14, where some or all of the parameters in the table can be carried as needed.

[0357] Table 14

[0358] Channel bandwidth indicates the channel bandwidth of the Physical Layer Protocol Data Units (PPDUs) that the OM initiator supports transmitting or receiving (bandwidth is indicated uniformly for both transmission and reception). Received space-time stream count indicates the number of space-time streams of received PPDUs supported by the OM initiator; this value is less than or equal to its maximum supported space-time stream count. In other words, the received space-time stream count limits the number of space-time streams transmitted by the initiator when it is acting as the receiver of data transmission, and also limits the number of space-time streams transmitted by the sender on the other side; it cannot exceed the capacity of this received space-time stream count limit. Transmitted space-time stream count indicates the number of space-time streams of transmitted PPDUs supported by the OM initiator.

[0359] In other words, the number of space-time streams sent is a limitation imposed on the initiating end when it acts as the sender in the data transmission process. During data transmission, it cannot exceed the capacity limit set by the number of space-time streams sent.

[0360] As another example, the parameters (context information) that need to be synchronized can be found in Table 15. The parameters in the table below can be carried in part or all as needed.

[0361] Table 15

[0362] The core concept of Spatial Multiplexing Power Save (SM Power Save) lies in controlling antenna usage strategies. In scenarios requiring energy conservation, the STA can adjust the number of operating antennas, such as switching from dual-stream to single-stream, or completely shutting down some antennas to reduce the energy consumption of wireless transmission. However, since the 802.11 protocol focuses more on the interaction between the STA and the AP, the requirements for uplink transmission and downlink reception are different.

[0363] During uplink transmission, the STA can independently decide how many antennas to use and indicate the number of spatial streams via peamble. Downlink reception can be negotiated with the AP to avoid the station being unable to receive data due to the AP sending multiple streams. Therefore, the station can inform the AP of the status of its own antennas in advance to coordinate reception behavior.

[0364] SMPS enabled: In a WIFI network, before enabling SM Power Save, you can check the AP's beacon frame, such as the HT Capability field, to determine whether the network supports SMPS. Once the network supports it, the site will negotiate the working mode with the AP through the action frame.

[0365] SM Power Save has two operating modes: static mode and dynamic mode. Static mode is a simple on / off mode. Once enabled, the site will default to SM power saving mode, using single-stream reception by default. Full antenna operation will only resume when this mode is explicitly disabled. Static mode is similar to 802.11 OMI technology, but the functional scenarios and parameter settings differ.

[0366] Dynamic SM Power Save is more flexible. By default, the site maintains single-stream reception. When the AP needs multi-stream transmission, it triggers this via Request To Send / Clear To Send (RTS / CTS), temporarily activating all antennas to receive multi-stream data. During this process, the RTS and CTS may not require multi-stream transmission but rather single-stream acknowledgment, as the protocol does not explicitly require it. In dynamic mode, after receiving the RTS, the site triggers multi-stream reception via a single-stream RTS frame and acknowledges it with a single-stream CTS. After receiving data, the site provides feedback via a single-stream ACK, and then reverts to single-stream reception. This dynamic mode switching ensures high energy efficiency while maintaining data transmission accuracy.

[0367] In a collaborative roaming scheme, the operating parameters of the primary access point (MFU) and all secondary access points (SFUs) within the network need to be configured identically, such as SSID and BSSID. If the Wi-Fi generations are different, the information needs to be configured identically according to the generation selection. When a new secondary access point (SFU) comes online, the network enables roaming. The primary access point (MFU) needs to synchronize the information of the online STAs to the newly online secondary access point (SFU). The format of the transmitted online STA can be the virtual user creation message format shown in Table 16 below. The online information of each STA (parameters 2-4, 6, and 8-11 in Table 16) is transmitted to the newly online secondary access point (SFU) to create a virtual user. The messages shown in Table 16 below are STA online / offline indication and reporting messages. Some or all of the parameters in the table can be carried as needed.

[0368] Table 16

[0369] The parameters in each row of Tables 1, 2, 4-5, and 11-16 above (e.g., VAP ID, SSID, SSID length, BSSID, Token, authentication mode, encryption mode, encryption password, password length, roaming threshold, wireless mode, channel, bandwidth, multicast key update cycle, Beacon cycle, DTIM cycle, Neighbor List, BSS Color, Roam Process Status, Payload, PayloadLen, Frame type, MAC addr, Rsp Flag, AID, RSSI, Key, Key_len, online status, roaming switch flag, PVB reporting interval, TSF update cycle, STA information to be synchronized to the access point, status, access point identifier ID, cooperative roaming operation instruction, Version, authentication mode, terminal information to be synchronized to the SFU, cooperative roaming operation confirmation, GTK_Len, GTK, PN number, SN context, IP) In addition to the masked format shown in Table 3.7-10 (bytes 5-N) in WMCI messages, parameters such as ID, key update information, and site OMI status information can also be represented in other forms. For example, one or more of the above parameters can be represented in the message using the type-length-value (TLV) format. Each TLV can carry one or more parameters. If a TLV carries multiple parameters, these parameters can be used as the "value" of the TLV, or multiple parameters can be carried as sub-TLVs. For example, the "value" of a TLV can include both the encryption mode and encryption password parameters, or the TLV can include at least two sub-TLVs, where the "value" of one sub-TLV includes the encryption mode parameter, and the "value" of another sub-TLV includes the encryption password parameter.

[0370] Furthermore, each parameter can be carried in a single message or multiple messages. For example, the VAP ID parameter can be carried in both the STA online / offline indication and reporting message and the service shutdown completion message, and the Mac addr parameter can be carried in both the service shutdown completion message and the STA online / offline indication and reporting message. If a parameter is carried in multiple different messages, it can be an optional parameter in one or more messages, or a required parameter in another or some messages.

[0371] If the above parameters are represented in TLV format, the format of the WMCI message can be shown in Table 17 below:

[0372] Table 17

[0373] Referring to Figure 19, this application embodiment provides a communication device 1900, which is located in a communication system. The device 1900 includes:

[0374] The processing unit 1901 is used to receive a roaming activation operation command, which is used to enable the roaming function of the access points included in the communication system.

[0375] Processing unit 1901 is also used to determine whether the access point in the communication system meets the roaming activation conditions based on the roaming activation operation command;

[0376] The sending unit 1902 is used to send a first configuration parameter to a slave access point in the communication system when the access point in the communication system meets the roaming activation conditions. The first configuration parameter is used for roaming configuration by the slave access point.

[0377] Optionally, the processing unit 1901 is configured to obtain first capability information of the access point in the communication system based on the roaming activation operation command, the first capability information being used to describe the roaming capability of the access point; and to determine whether the access point in the communication system meets the roaming activation conditions based on the first capability information.

[0378] Optionally, the processing unit 1901 is also configured to perform roaming configuration at the primary access point based on the first configuration parameters.

[0379] Optionally, the processing unit 1901 is further configured to obtain the first configuration parameters based on the first capability information.

[0380] Optionally, the first capability information includes one or more of the following: the wireless mode supported by the access point, the encryption mode supported by the access point, or the channel range of the access point.

[0381] Optionally, the first configuration parameters include one or more of the following: VAP identification information, VAP SSID, VAP BSSID, authentication mode, encryption mode, encryption password, roaming threshold, wireless mode, channel identification information, channel bandwidth, multicast key update cycle, beacon frame transmission cycle, transmission service indication message interval cycle, neighbor list, BSSColor, roaming switch identifier, PVB reporting time interval, TSF update cycle, information of sites to be synchronized to the access point, or identification information of the access point.

[0382] Optionally, the device further includes a receiving unit 1903, configured to receive a roaming configuration confirmation message sent from the access point, the roaming configuration confirmation message being used to confirm that roaming configuration from the access point is complete.

[0383] Optionally, the sending unit 1902 is also configured to send a roaming activation message to the access point, the roaming activation message being used to instruct the access point to activate roaming.

[0384] Optionally, the device further includes a receiving unit 1903, configured to receive a roaming activation confirmation message sent from the access point, the roaming activation confirmation message being used to confirm that roaming has been activated from the access point.

[0385] Optionally, the sending unit 1902 is further configured to send a second configuration parameter to the access point, the second configuration parameter including network parameters used by the access point after roaming is turned off; the device further includes: a receiving unit 1903, configured to receive a network configuration confirmation message sent by the access point, the network configuration confirmation message being used to confirm that the network configuration of the access point is complete.

[0386] Optionally, the sending unit 1902 is further configured to send a roaming shutdown message to the access point, the roaming shutdown message being used to disable the roaming function of the access point; the receiving unit 1903 is further configured to receive a roaming shutdown confirmation message sent by the access point, the roaming shutdown confirmation message being used to confirm that the roaming function of the access point has been disabled.

[0387] In this embodiment, the processing unit determines whether the access points in the communication system meet the roaming activation conditions based on the roaming activation operation command. If the access points in the communication system meet the roaming activation conditions, the sending unit sends first configuration parameters to the slave access points in the communication system. The slave access points perform roaming configuration based on the first configuration parameters. This ensures that all slave access points in the communication system can perform roaming configuration based on the first configuration parameters uniformly obtained from the primary access point, maintaining consistency in the roaming functionality of the slave access points in the communication system. Thus, when a station roams from one slave access point to another, the other slave access point can quickly establish a connection with the station and communicate with it, thereby improving roaming performance.

[0388] Referring to Figure 20, this application embodiment provides a schematic diagram of a device 2000. The device 2000 can be any of the access points provided in the above embodiments. For example, the device 2000 can be the main access point in the communication system 100 shown in Figure 1 or Figure 2, or the device 2000 can be the main access point in the method 400 shown in Figure 3. The device 2000 includes at least one processor 2001, internal connections 2002, a memory 2003, and at least one communication interface 2004.

[0389] The device 2000 is a hardware-structured device.

[0390] In some embodiments, the device 2000 can be used to implement the functional modules in the apparatus 1900 shown in FIG. 19. For example, those skilled in the art will appreciate that the processing unit 1901 in the apparatus 1900 shown in FIG. 19 is implemented by at least one processor 2001. The receiving unit 1903 and the transmitting unit 1902 can be implemented through the at least one communication interface 2004. The device 2000 can also be used to implement the function of the main access point in any of the above embodiments.

[0391] The processor 2001 described above is, for example, a general-purpose central processing unit (CPU), a digital signal processor (DSP), a network processor (NP), a graphics processing unit (GPU), a neural network processing unit (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solutions of this application. For example, processor 2001 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. It can implement or execute the various logic blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of this application. The processor can also be a combination of functions that perform computing, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0392] The aforementioned internal connection 2002 may include a pathway for transmitting information between the aforementioned components. The internal connection 2002 may be a single board or a bus, etc. The bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is used in Figure 20, but this does not indicate that there is only one bus or one type of bus.

[0393] At least one communication interface 2004 described above uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, wireless access networks, or wireless local area networks (WLANs). Communication interface 2004 may include wired communication interfaces and wireless communication interfaces. Specifically, communication interface 2004 may be an Ethernet interface, a Fast Ethernet (FE) interface, a Gigabit Ethernet (GE) interface, an Asynchronous Transfer Mode (ATM) interface, a WLAN interface, a cellular network communication interface, or a combination thereof. The Ethernet interface may be an optical interface, an electrical interface, or a combination thereof. In this embodiment, communication interface 2004 can be used by the device 2000 to communicate with other devices.

[0394] The aforementioned memory 2003 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory 2003 may also be integrated with the processor 2001.

[0395] In a specific implementation, as one embodiment, processor 2001 may include one or more CPUs, such as CPU0 and CPU1 in FIG20. Each of these CPUs may be a single-core processor or a multi-core processor. Here, processor may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0396] In a specific implementation, as one embodiment, the device 2000 may include multiple processors, such as processor 2001 and processor 2007 in FIG. 20. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. Here, a processor may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0397] This application also provides a computer program product including program instructions stored in a computer-readable storage medium. The processor of an access point reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the access point to perform a portion of the process shown in FIG3, FIG8, or FIG9.

[0398] Those skilled in the art will recognize that the method steps and units described in the embodiments disclosed in this application can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the steps and components of each embodiment have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0399] In the embodiments provided in this application, it should be understood that the disclosed system architecture, apparatus, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, or may be electrical, mechanical, or other forms of connection.

[0400] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.

[0401] Furthermore, the modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or in software.

[0402] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0403] In this application, the terms "first" and "second," etc., are used to distinguish identical or similar items that have substantially the same function and purpose. It should be understood that there is no logical or temporal dependency between "first" and "second," nor does it limit the quantity or execution order. It should also be understood that although the following description uses the terms "first" and "second," etc., to describe various elements, these elements should not be limited by the terms. These terms are merely used to distinguish one element from another. For example, without departing from the scope of the various examples, a first access point can be referred to as a second access point, and similarly, a second access point can be referred to as a first access point. Both a first access point and a second access point can be access points, and in some cases, they can be separate and distinct access points.

[0404] The above description is merely an exemplary embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and such modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A communication method, characterized in that, The method is applied to the main access point of a communication system, and the method includes: Receive a roaming activation command, which is used to enable the roaming function of the access points included in the communication system; Based on the roaming activation operation command, determine whether the access point in the communication system meets the roaming activation conditions; When an access point in the communication system meets the roaming activation conditions, a first configuration parameter is sent to a secondary access point in the communication system. The first configuration parameter is used by the secondary access point to configure roaming.

2. The method as described in claim 1, characterized in that, The step of determining whether the access point in the communication system meets the roaming activation conditions based on the roaming activation operation command includes: The first capability information of the access point in the communication system is obtained based on the roaming activation operation command, and the first capability information is used to describe the roaming capability of the access point. Based on the first capability information, determine whether the access point in the communication system meets the roaming activation conditions.

3. The method as described in claim 1 or 2, characterized in that, The method further includes: Roaming configuration is performed at the primary access point based on the first configuration parameters.

4. The method as described in claim 2, characterized in that, The method further includes: Based on the first capability information, the first configuration parameters are obtained.

5. The method as described in claim 2 or 4, characterized in that, The first capability information includes one or more of the following: The wireless mode supported by the access point, the encryption mode supported by the access point, or the channel range of the access point.

6. The method according to any one of claims 1-5, characterized in that, The first configuration parameter includes one or more of the following: The following information is included: the identification information of the Virtual Access Point (VAP), the Service Set Identifier (SSID) of the VAP, the Basic Service Set Identifier (BSSID) of the VAP, the authentication mode, the encryption mode, the encryption password, the roaming threshold, the wireless mode, the channel identification information, the channel bandwidth, the multicast key update cycle, the beacon frame transmission cycle, the transmission service indication message interval cycle, the neighbor list, the Basic Service Set Color (BSSColor), the roaming switch identifier, the Local Virtual Bitmap (PVB) reporting interval, the Timed Synchronization Function (TSF) update cycle, and the information of the sites to be synchronized to the slave access point or the identification information of the slave access point.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: The system receives a roaming configuration confirmation message sent from the access point, which is used to confirm that the roaming configuration of the access point is complete.

8. The method as described in claim 7, characterized in that, The method further includes: A roaming enable message is sent to the access point, the roaming enable message being used to instruct the access point to enable roaming.

9. The method as described in claim 8, characterized in that, The method further includes: The system receives a roaming activation confirmation message sent from the access point, which is used to confirm that the access point has completed roaming activation.

10. The method according to any one of claims 1-9, characterized in that, The method further includes: Send a second configuration parameter to the access point, the second configuration parameter including the network parameters used by the access point after roaming is turned off; The network configuration confirmation message sent from the access point is received, which is used to confirm that the network configuration of the access point is complete.

11. The method as described in claim 10, characterized in that, The method further includes: Send a roaming disable message to the access point, the roaming disable message being used to disable the roaming function of the access point; The system receives a roaming shutdown confirmation message sent from the access point, which confirms that the roaming function of the access point has been successfully disabled.

12. The method according to any one of claims 1-11, characterized in that, The method further includes: Send a multicast key synchronization message to the access point. The multicast key synchronization message includes one or more of the following parameters: multicast key, length of the multicast key, integrity group temporary key (IGTK), length of the IGTK, random number (Gnonce), receive sequence counter (RSC) or key replay counter.

13. An access point, characterized in that, The access point includes a processor and a memory; The processor is configured to execute program instructions in the memory to perform the method as described in any one of claims 1 to 12.

14. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the method described in any one of claims 1-12.

15. A computer program product having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-12.

Citation Information

Patent Citations

  • Terminal roaming guiding method and device, equipment and computer readable storage medium

    CN113596864A

  • Roaming control method, roaming control device, network equipment and storage medium

    CN117098115A

  • Roaming decision-making method, communication node and storage medium

    CN118590864A

  • Method and apparatus for mitigating roaming impact on communication sessions

    US10674413B1