Wireless network switching method and system, AC and AP

Roaming information transmission and pre-authentication between APs are achieved through AC and OMCI extended protocols, solving the problem of APs in different VLANs being unable to interact with each other, achieving fast roaming and simplifying network management.

CN120640368APending Publication Date: 2025-09-12FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510781391.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In the existing technology, APs can only interact successfully when they are in the same Layer 2 network. When APs are in different VLANs, wireless message exchange occurs and fast roaming switching in over-the-ds mode does not take effect.

Method used

Roaming information is transmitted and processed between the current AP and the target AP through the AC and OMCI extended protocol. The AC acts as an intermediate node to forward roaming data, ensuring a smooth roaming process and performing pre-authentication and key exchange before roaming.

Benefits of technology

Even if APs are in different VLANs, roaming can be achieved smoothly, significantly shortening roaming time, simplifying network deployment and maintenance, and reducing administrator workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640368A_ABST
    Figure CN120640368A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of wireless communication, and particularly relates to a wireless network switching method and system, an AC and an AP. The method and the device aim to solve the technical problem that in the prior art, interaction can be successful only when APs are located in the same two-layer network. Comprising the steps that roaming data uploaded by an STA are acquired, and the roaming data comprise roaming request information and an MAC address of a target AP; based on an OMCI protocol, a roaming request prompt is sent to the connected AC, and the roaming request prompt is used for triggering the AC to obtain roaming request information and forwarding the roaming request information to the target AP through the MAC address; receiving roaming reply information sent by the AC, wherein the roaming reply information is roaming reply information acquired by the AC from a target AP; and analyzing the roaming reply information to obtain a roaming reply result, and sending the roaming reply result to the STA, the roaming reply result being used for triggering the STA to perform an association request to the target AP.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of wireless communication technology, and in particular relates to a wireless network switching method, system, AC and AP. Background Art

[0002] In a wireless access system, wireless LAN access controllers (ACs) perform configuration management of wireless access points (APs), wireless user authentication and management, broadband access, and security control. The AP acts as a bridge between wired and wireless networks, connecting wireless network clients (STAs) and then connecting the wireless network to the Ethernet network, thereby achieving wireless network coverage. STAs are laptops, smartphones, or other devices with wireless network cards. Once connected to an AP, an STA must authenticate before gaining access to network resources. If a STA enters the critical area between two APs, it disconnects from the original AP and reauthenticates with the new one.

[0003] When an AP is configured in 802.1X authentication mode, a large number of authentication messages are exchanged when a terminal user authenticates after wireless access, resulting in a long access delay. Existing technology, the 802.11r protocol defines how terminals can use fast roaming to reduce authentication message exchanges when roaming between APs, thereby reducing roaming delays. 802.11r has two modes: over-the-ds and over-the-air. In existing 802.11r fast roaming, when using over-the-ds mode, APs must exchange messages using the Remote Relay Broker (RRB) frame format. This mode requires all involved APs to be on the same Layer 2 network to enable direct communication.

[0004] The existing technology has the following technical problems: APs can communicate successfully only when they are on the same Layer 2 network. If APs are in different VLANs, wireless message exchange occurs and fast roaming in over-the-DS mode does not take effect. Summary of the Invention

[0005] The present invention provides a wireless network switching method, system, AC and AP, aiming to solve the technical problem in the above-mentioned prior art that APs can only successfully interact when they are in the same Layer 2 network. When APs are in different VLANs, wireless message interaction is performed and over-the-DS mode fast roaming switching cannot take effect.

[0006] The technical solution of the present invention to solve the above technical problems is as follows: In a first aspect, the present invention provides a wireless network handover method, comprising: Receive roaming data uploaded by the STA, wherein the roaming data includes roaming request information and the MAC address of the target AP; Send a roaming request reminder to the connected AC, where the roaming request reminder is used to trigger the AC to obtain roaming request information through the OMCI protocol and forward it to the target AP through the MAC address; Receiving roaming reply information sent by the AC, where the roaming reply information is roaming reply information obtained by the AC from the target AP through the OMCI protocol; The roaming reply information is parsed to obtain a roaming reply result, and the roaming reply result is sent to the STA, where the roaming reply result is used to trigger the STA to make an association request to the target AP.

[0007] In a second aspect, the present invention further provides a wireless network handover method, the method comprising: Obtaining roaming request information sent by the AC, where the roaming request information comes from the roaming request information uploaded by the STA extracted from the current AP by the AC based on the roaming request reminder sent by the current AP; Replying a roaming reply reminder to the AC, and updating the roaming status based on the roaming request information to obtain roaming reply information, wherein the roaming reply reminder is used to trigger the AC to extract the roaming reply information through the OMCI protocol, and the roaming reply information is used to trigger the AC to forward the roaming reply information to the current AP through the OMCI protocol, and trigger the current AP to parse the roaming reply information to obtain a roaming reply result, and the roaming reply result is used to trigger the STA to generate an association request; receiving an association request sent by the STA, performing verification processing on the association request, and obtaining an association result; The association result is sent to the STA, where the association result is used to trigger the STA to establish a connection with the target AP.

[0008] Furthermore, the formats of the roaming request reminder and the roaming reply reminder are both OMCI Alarm messages; the OMCI Alarm message structure includes: TransactionCorrelationIdentifier, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITrailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field, and the field value of the MT field is used to indicate the type of the OMCI Alarm message; the length of the MessageIdentifier is 4 bytes, and the first 2 bytes indicate the Management Entity Class. When the field value of the Managed Entity Class is a preset value, it indicates an 802.11r over-the-ds message notification.

[0009] Further, the AC obtains the roaming request information from the current AP or obtains the roaming reply information from the target AP using an OMCI get message; The structure of the OMCI get message includes: TransactionCorrelationId, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field. The field value of the MT field is used to indicate a set message or a get message. The length of the MessageIdentifier is 4 bytes, the first 2 bytes represent the Managed Entity Class, and the Managed Entity Class is of Large String type; The length of the MessageContents is 32 bytes, of which the first two bytes are the Entry ID in the Attributes attribute, which is used to indicate the type of entity sending the message, and the third byte is the number of message fragments after the message is segmented; the fourth to the 32nd bytes are the formal content of the message, Contents, including 802.11r over-the-ds interaction information.

[0010] In a third aspect, the present invention further provides a wireless network handover method, the method comprising: Receive a roaming request reminder from the current AP, extract roaming data stored in the current AP through an OMCI get message based on the roaming request reminder, and place the roaming data in a Large String ME, where the roaming data includes roaming request information and the MAC address of the target AP; Based on the MAC address of the target AP, forward the roaming request information to the target AP through an OMCI set message, where the roaming request information is used to trigger the target AP to send a roaming reply reminder to the AC, and update the roaming status based on the roaming request information to obtain roaming reply information; Receive the roaming reply reminder, obtain roaming reply information from the target AP through an OMCI get message, and place the roaming reply information in a Large String ME; The roaming reply information is forwarded to the current AP through an OMCI set message. The roaming reply information is used to trigger the current AP to parse the roaming reply information to obtain a roaming reply result. The roaming reply result is used to trigger the STA to make an association request to the target AP.

[0011] Further, the structure of the above-mentioned OMCI get message includes: TransactionCorrelationId, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field. The field value of the MT field is used to indicate a set message or a get message. The length of the MessageIdentifier is 4 bytes, the first 2 bytes represent the Managed Entity Class, and the Managed Entity Class is of Large String type; The length of the MessageContents is 32 bytes, of which the first two bytes are the Entry ID in the Attributes attribute, which is used to indicate the type of entity sending the message, and the third byte is the number of message fragments after the message is segmented; the fourth to the 32nd bytes are the formal content of the message, Contents, including 802.11r over-the-ds interaction information.

[0012] Furthermore, the formats of the roaming request reminder and the roaming reply reminder are both OMCI Alarm messages; the OMCI Alarm message structure includes: TransactionCorrelationIdentifier, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITrailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field, and the field value of the MT field is used to indicate the type of the OMCI Alarm message; the length of the MessageIdentifier is 4 bytes, and the first 2 bytes indicate the Management Entity Class. When the field value of the Managed Entity Class is a preset value, it indicates an 802.11r over-the-ds message notification.

[0013] In a fourth aspect, the present invention further provides an AP, which is used to implement the wireless network switching method described in the first and second aspects above.

[0014] In a fifth aspect, the present invention further provides an AC, which is used to implement the wireless network switching method described in the third aspect.

[0015] In a sixth aspect, the present invention further provides a wireless network switching system, comprising an AP and an AC in a networking system, wherein the AP comprises the AP provided in the fourth aspect, and the AC comprises the AC provided in the fifth aspect.

[0016] Compared with the prior art, the present invention has the following advantages: 1. The present invention uses AC and OMCI extended protocols to enable the AC to transmit and process roaming information even if the current AP and the target AP are in different VLANs. The AC acts as an intermediate node, responsible for forwarding roaming data between the current AP and the target AP, ensuring the smooth progress of the roaming process.

[0017] 2. The present invention uses AC and OMCI extended protocols, so that the STA can perform authentication and key exchange with the target AP in advance before roaming, reducing the authentication steps during actual roaming, thereby significantly shortening the roaming time.

[0018] 3. The present invention can flexibly deploy APs in different VLANs through AC and OMCI extension protocols, simplifying network deployment and maintenance. AC can centrally manage and configure all APs, reducing the workload of network administrators.

[0019] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 A schematic diagram of an interaction process flow of a wireless network handover method according to an embodiment of the present invention is shown; Figure 2 A schematic diagram of an association process flow of a wireless network handover method according to an embodiment of the present invention is shown; Figure 3 A schematic structural diagram of a wireless network switching system according to an embodiment of the present invention is shown; Figure 4 Shown is a schematic structural diagram of an OMCI Alarm message according to an embodiment of the present invention; Figure 5 A schematic structural diagram of an OMCI Get / Set message according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0023] Figure 1 and Figure 2 FIG. 1 shows a flow chart of a wireless network switching method according to an embodiment of the present invention. Figure 1 and Figure 2 As shown, a wireless network switching method according to an embodiment of the present invention includes: First, configure the application scenario. An AP registers and goes online with the AC through a PON connection. Define the AP's role in the current scenario as AP1 (current AP) and the AP's role in the target scenario as AP2 (target AP). Configure 802.1X authentication for AP1 and AP2, and set the 802.11r fast roaming type to over-the-DS. When a STA accesses AP1 and moves into the coverage area of ​​AP2, the roaming steps are as follows: S1: STA sends an Action frame to AP1. The Action frame includes roaming request information and AP2's MAC address. In this embodiment, the Action frame includes: STA MAC, Target AP, PMK-R0Name, SNonce, and R0KH-ID. STA MAC is the media access control address of the STA sending the request and is a unique identifier; Target AP is the MAC address of AP2; PMK (Pairwise Master Key)-R0Name is a key pair used to generate session keys during fast roaming; Snonce is a random number used in key negotiation to ensure key freshness and security; R0KH-ID is an identifier that identifies the entity responsible for key management in the network.

[0024] S2: After receiving the Action frame from the STA, AP1 sends an OMCI Alarm message to the connected AC, reporting that a STA is attempting fast roaming. In this embodiment, the type of the OMCI Alarm message is Vendor specific alarms. The OMCI Alarm message structure includes: TransactionCorrelationIdentifier (2 bytes), MessageType (1 byte), DeviceIdentifier (1 byte), MessageIdentifier (4 bytes), MessageContents (128 bytes) and OMCITailer (3 bytes). Among them, TransactionCorrelationId represents the transaction correlation identifier, MessageType represents the message type, DeviceIdentifier represents the device identifier, MessageIdentifier represents the message identifier, MessageContents represents the message content, and OMCITailer represents the OMCI tail information. Among them, MessageType is represented in hexadecimal. When the value of MessageType is 0x10, it means that the message type is alarm.

[0025] like Figure 4As shown, in this embodiment, the length of the MessageType field is 1 byte, and the total length of the MessageType field is 1 byte. DB is used as the destination bit and is usually 0 in OMCI. AR is the reply request bit. When confirmation information is required, AR is 1, and when confirmation information is not required, AR is 0. AK indicates whether this message is a confirmation message, which is 1 if it is, and 0 if it is not. The 6-8 bits of the Alarm message are 000; among them, the 1-5 bits are the MT field, and the field value is 16, which is 01000 in binary, indicating an AP->AC Alarm type message.

[0026] The MessageIdentifier field is 4 bytes long. The first 2 bytes indicate the Managed Entity Class. In an Alarm message, the Managed Entity Class indicates the alarm type. A value of 220 indicates a custom alarm type, representing an 802.11r over-the-ds message notification.

[0027] S3: After receiving the OMCI Alarm message, the AC obtains the Action frame from AP1 through the OMCI Get message and places it in the Large String ME. S4: After receiving the Action frame, the AC forwards the roaming data contained in the Large String ME to AP2 through an OMCI Set message, so that AP2 is ready to receive STA roaming. S5: After receiving the information from the AC, AP2 sends an OMCI Alarm message regarding the roaming reply reminder to the AC to confirm that the information has been received; and performs a status update to obtain the roaming reply information.

[0028] In this embodiment, the roaming reply information includes: STA MAC, Target AP, PMK-ROName, ANonce, SNonce, R1KH-ID, and R0KH-ID. Anonce is a random number generated by the AP and functions similarly to SNonce, ensuring security and freshness during key negotiation. R1KH-ID specifies the entity responsible for key management during the reassociation process.

[0029] S6: After receiving the roaming reply reminder, the AC obtains the roaming reply information through the OMCI Get message and places it in the LargeString ME.

[0030] S7: The AC forwards the roaming response information placed in the Large String ME to AP1 through the OMCI Set message, so that AP1 can correctly guide the STA to complete the roaming process.

[0031] In this embodiment, the OMCI Get / Set message structure includes: TransactionCorrelationId (4 bytes), MessageType (1 byte), DeviceIdentifier (1 byte), MessageIdentifier (4 bytes), MessageContents (22 bytes), and OMCITailer (3 bytes). TransactionCorrelationId represents the transaction correlation identifier, MessageType represents the message type, DeviceIdentifier represents the device identifier, MessageIdentifier represents the message identifier, MessageContents represents the message content, and OMCITailer represents the OMCI tail information. The message content is divided into 15 parts for transmission.

[0032] like Figure 5 As shown, in this embodiment, the length of the MessageType is 1 byte. DB is used as the destination bit and is usually 0 in OMCI. AR is the reply request bit. When confirmation information is required, AR is 1, and when confirmation information is not required, AR is 0. AK indicates whether this message is a confirmation message. If it is, it is 1, and if not, it is 0. In the get / set message, bits 6-8 are 010; bits 1-5 are the MT field. The field value is 8, which is 00100 in binary, indicating a set message from AC->AP; the field value is 9, which is 00101 in binary, indicating a get message from AC->AP. The MessageIdentifier field is 4 bytes long. The first 2 bytes indicate the managed entity class. In set / get messages, the Large String type must be used, and the value of this field is 157.

[0033] The MessageContents field is 32 bytes long. The first two bytes are the EntryID in the Attributes field, indicating the entity type of the sending message. A value of 1 indicates that the sending message is from an AC, with a direction from AC to AP. A value of 0xFFFE indicates that the sending message is from an AP, with a direction from AP to AC. The third byte is the number of parts after the message is segmented. A maximum of 15 messages can be sent, numbered 1-15. Starting from the fourth byte, the main content of the message, "Contents," contains 802.11r over-the-ds interaction information.

[0034] In this embodiment, if it is a Set operation, the AC is used to send data to the AP. If it is a Get operation, the AC is used to obtain the specified data from the AP.

[0035] S8: AP1 receives and parses the roaming response information to obtain a roaming response result, and sends the roaming response result to the STA.

[0036] S9: The STA receives the roaming response, indicating that AP2 is ready for roaming. It then sends a Re-Association Request frame to AP2. In this embodiment, the Re-Association Request frame includes: PMK-R1Name, R1KH-ID and R0KH-ID. PMK-R1Name is the name of an intermediate key generated based on PMK-R0 and is used by the STA to establish a secure connection on the AP.

[0037] S10: After receiving the Re-Association Request frame from the STA, AP2 verifies the association request and obtains a Re-Association Response frame. AP2 sends the Re-Association Response frame to the STA as a response, completing the association between AP2 and the STA.

[0038] In this embodiment, the Re-Association Response frame includes PMK-R1Name, R1KH-ID, R0KH-ID, and GTK (Group Temporal Key). The GTK is a key. After receiving the GTK, the STA establishes communication with AP2.

[0039] In this embodiment, the association request verification process is specifically performed as follows: matching the information in the Re-Association Request frame with the roaming request information forwarded by the AC, and if they match, the verification is successful.

[0040] S11: After the reassociation process is successfully completed, the 802.1X controlled port is unblocked. At this point, the STA has successfully roamed from AP1 to AP2 and started data transmission.

[0041] The embodiment of the present invention also provides a wireless network switching system, such as Figure 3 As shown in , the wireless network switching system includes: AP1, AC and AP2. First, configure the application scenario: AP1 and AP2 register and go online on the AC through a PON connection; Configure 802.1X authentication on AP1 and AP2, and set the 802.11r fast roaming type to over-the-DS. Among them, AP1 includes a first receiving module, a first sending module and a data parsing module; AC includes a second receiving module, a second sending module and a data extraction module; AP2 includes a third receiving module, a third sending module, an update module and an association module. When any STA from STA1 to STA4 accesses AP1 and wants to roam to AP2, it specifically includes: A first receiving module is configured to obtain an Action frame uploaded by a STA, wherein the Action frame includes roaming request information and a MAC address of AP2; A first sending module is configured to send a first OMCI Alarm message to a connected AC based on the OMCI protocol; The second receiving module is used to obtain the first OMCI Alarm message sent by AP1; A data extraction module is used to extract the Action frame stored in the AP1 using the OMCI get message based on the first OMCI Alarm message and place it in the Large String Me, wherein the Action frame includes roaming request information and the MAC address of AP2; A second sending module is used to forward the roaming request information to the MAC address of the AP2 using an OMCI set message; The third receiving module is used to obtain the roaming request information sent by the AC; The third sending module is used to send a second OMCI Alarm message about a roaming reply reminder to the AC; An updating module, configured to update the roaming status based on the roaming request information and obtain roaming reply information; The data extraction module is further configured to obtain roaming reply information from the AP2 using an OMCI get message based on the second OMCI Alarm message and place the information in Large String Me; The second sending module is further configured to forward the roaming reply information to AP1 using an OMCI set message; The receiving module is further configured to receive the roaming reply information sent by the AC; A data analysis module is used to analyze the roaming reply information to obtain a roaming reply result. The first sending module is further configured to send the roaming reply result to the STA, where the roaming reply result is used to trigger the STA to make an association request to the AP2; The third receiving module is further configured to receive an association request sent by the STA; An association module, configured to verify the association request and obtain an association result; The third sending module is used to send the association result to the STA, where the association result is used to trigger the STA to establish a connection with the AP2.

[0042] The aforementioned AP1 and AP2 are for ease of description only. When any STA from STA1 to STA4 connects to AP2 and wishes to roam to AP1, AP2 similarly includes a first receiving module, a first transmitting module, and a data parsing module; AP1 includes a third receiving module, a third transmitting module, an update module, and an association module. APs perform different functions in different roaming directions. The APs in this network include a first receiving module, a first transmitting module, and a data parsing module, as well as a third receiving module, a third transmitting module, an update module, and an association module.

[0043] This embodiment does not limit the number of APs and STAs, and the operator can set the number of APs and STAs according to specific application scenarios.

[0044] The wireless network switching system of an embodiment of the present invention can execute the wireless network switching method provided by an embodiment of the present invention, and its implementation principle is similar. The actions performed by each module and unit in the wireless network switching system in each embodiment of the present invention correspond to the steps in the wireless network switching method in each embodiment of the present invention. For the detailed functional description of each module of the wireless network switching system, please refer to the description in the corresponding wireless network switching method shown in the previous text, and will not be repeated here.

[0045] In some embodiments, the wireless network switching system provided by an embodiment of the present invention can be implemented by a combination of software and hardware. As an example, the wireless network switching system provided by an embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the wireless network switching method provided by an embodiment of the present invention.

[0046] The modules involved in the embodiments of the present invention may be implemented in software or hardware, wherein the name of a module does not necessarily limit the module itself.

[0047] Based on the same principle as the method shown in the embodiments of the present invention, an electronic device is also provided in the embodiments of the present invention, which may include but is not limited to: a processor and a memory; the memory is used to store computer programs; the processor is used to execute the method shown in any embodiment of the present invention by calling the computer program.

[0048] The memory is used to store application code (computer program) for executing the solution of the present invention, and the processor controls the execution of the application code. The processor is used to execute the application code stored in the memory to implement the content shown in the above method embodiment.

[0049] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0050] The above description is merely a preferred embodiment of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.

Claims

1. A wireless network switching method, characterized in that: The method comprises: Receive roaming data uploaded by the STA, wherein the roaming data includes roaming request information and the MAC address of the target AP; Send a roaming request reminder to the connected AC, where the roaming request reminder is used to trigger the AC to obtain roaming request information through the OMCI protocol and forward it to the target AP through the MAC address; Receiving roaming reply information sent by the AC, where the roaming reply information is roaming reply information obtained by the AC from the target AP through the OMCI protocol; The roaming reply information is parsed to obtain a roaming reply result, and the roaming reply result is sent to the STA, where the roaming reply result is used to trigger the STA to make an association request to the target AP.

2. A wireless network switching method, characterized in that: The method comprises: Obtaining roaming request information sent by the AC, where the roaming request information comes from the roaming request information uploaded by the STA extracted from the current AP by the AC based on the roaming request reminder sent by the current AP; Replying a roaming reply reminder to the AC, and updating the roaming status based on the roaming request information to obtain roaming reply information, wherein the roaming reply reminder is used to trigger the AC to extract the roaming reply information through the OMCI protocol, and the roaming reply information is used to trigger the AC to forward the roaming reply information to the current AP through the OMCI protocol, and trigger the current AP to parse the roaming reply information to obtain a roaming reply result, and the roaming reply result is used to trigger the STA to generate an association request; receiving an association request sent by the STA, performing verification processing on the association request, and obtaining an association result; The association result is sent to the STA, where the association result is used to trigger the STA to establish a connection with the target AP.

3. A wireless network switching method according to claim 1 or 2, characterized in that: The formats of the roaming request reminder and the roaming reply reminder are both OMCI Alarm messages; the OMCI Alarm message structure includes: TransactionCorrelationIdentifier, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITrailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field, and the field value of the MT field is used to indicate the type of the OMCI Alarm message; the length of the MessageIdentifier is 4 bytes, and the first 2 bytes indicate the Management Entity Class. When the field value of the Managed Entity Class is a preset value, it indicates an 802.11r over-the-ds message notification.

4. A wireless network switching method according to claim 1 or 2, characterized in that: The AC obtains the roaming request information from the current AP or the roaming reply information from the target AP using the OMCI get message; The structure of the OMCI get message includes: TransactionCorrelationId, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field. The field value of the MT field is used to indicate a set message or a get message. The length of the MessageIdentifier is 4 bytes, the first 2 bytes represent the Managed Entity Class, and the Managed Entity Class is of Large String type; The length of the MessageContents is 32 bytes, of which the first two bytes are the EntryID in the Attributes attribute, which is used to indicate the type of entity sending the message, and the third byte is the number of message fragments after the message is segmented; the fourth to the 32nd bytes are the formal content of the message, Contents, including 802.11r over-the-ds interaction information.

5. A wireless network switching method, characterized in that: The method comprises: Receive a roaming request reminder from the current AP, extract roaming data stored in the current AP through an OMCI get message based on the roaming request reminder, and place the roaming data in a Large String ME, where the roaming data includes roaming request information and the MAC address of the target AP; Based on the MAC address of the target AP, forward the roaming request information to the target AP through an OMCI set message, where the roaming request information is used to trigger the target AP to send a roaming reply reminder to the AC, and update the roaming status based on the roaming request information to obtain roaming reply information; Receive the roaming reply reminder, obtain roaming reply information from the target AP through an OMCI get message, and place the roaming reply information in a Large String ME; The roaming reply information is forwarded to the current AP through an OMCI set message. The roaming reply information is used to trigger the current AP to parse the roaming reply information to obtain a roaming reply result. The roaming reply result is used to trigger the STA to make an association request to the target AP.

6. A wireless network switching method according to claim 5, characterized in that: The structure of the OMCI get message includes: TransactionCorrelationId, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field. The field value of the MT field is used to indicate a set message or a get message. The length of the MessageIdentifier is 4 bytes, the first 2 bytes represent the Managed Entity Class, and the Managed Entity Class is of Large String type; The length of the MessageContents is 32 bytes, of which the first two bytes are the EntryID in the Attributes attribute, which is used to indicate the type of entity sending the message, and the third byte is the number of message fragments after the message is segmented; the fourth to the 32nd bytes are the formal content of the message, Contents, including 802.11r over-the-ds interaction information.

7. A wireless network switching method according to claim 5, characterized in that: The formats of the roaming request reminder and the roaming reply reminder are both OMCI Alarm messages; the OMCI Alarm message structure includes: TransactionCorrelationIdentifier, MessageType, DeviceIdentifier, MessageIdentifier, MessageContents and OMCITrailer; The length of the MessageType is 1 byte, of which bits 1-5 are the MT field, and the field value of the MT field is used to indicate the type of the OMCI Alarm message; the length of the MessageIdentifier is 4 bytes, and the first 2 bytes indicate the Management Entity Class. When the field value of the Managed Entity Class is a preset value, it indicates an 802.11r over-the-ds message notification.

8. An AP, characterized in that: The AP is used to implement a wireless network switching method according to any one of claims 1 to 4.

9. An AC, characterized in that: The AC is used to implement a wireless network switching method according to any one of claims 5-7.

10. A wireless network switching system, characterized in that: An AP and an AC are included in a networking system, wherein the AP is used to implement a wireless network switching method according to any one of claims 1 to 4, and the AC is used to implement a wireless network switching method according to any one of claims 5 to 7.