Roaming processing method, device and system

By collecting and processing load information from multiple optical network units in FTTR networking, the target optical network unit is identified and roaming is triggered, thus solving the problems of load balancing and energy saving in FTTR networking and achieving the effects of global load balancing and network-wide energy saving.

CN122002158APending Publication Date: 2026-05-08HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-02-18
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing Fiber to the Room (FTTR) networks, load balancing technology cannot perform global load balancing when STA services within an AP change or when new STA services are added and demand is high. This can lead to an overload on a particular optical network unit, affecting user experience or preventing global load centralization, thus impacting energy efficiency.

Method used

The first optical network unit collects load information from multiple second optical network units, identifies the target optical network unit, and sends a roaming start message to trigger the target optical network unit to perform roaming processing, thereby achieving global load balancing and load concentration. This includes receiving and sending load information and roaming instructions carried by Wi-Fi management and control interface messages.

Benefits of technology

It achieves global load balancing in FTTR networking, prevents a certain optical network unit from being overloaded, improves resource utilization, and achieves energy saving of the whole network by having more optical network units go into hibernation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122002158A_ABST
    Figure CN122002158A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of optical communication, and discloses a roaming processing method, device and system. The first optical network unit receives load information from a plurality of second optical network units; determining a target optical network unit in the plurality of second optical network units based on the load information of the plurality of second optical network units; and sending a first roaming start message to the target optical network unit, wherein the first roaming start message is used for triggering the target optical network unit to perform roaming processing on the at least one station. Therefore, by collecting the load information of the plurality of second optical network units, global load balancing in the networking can be realized, the influence on experience caused by overweight load under one optical network unit can be prevented, or global load concentration in the networking can be realized, more optical network units can sleep, and energy saving in the whole network can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese Patent Application No. 202411566564.1, filed on November 4, 2024, entitled "Method, Apparatus and System for Roaming Processing", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of optical communication technology, and in particular to a method, apparatus and system for roaming processing. Background Technology

[0003] In fiber-to-the-room (FTTR) networks, load balancing and load centralization are required for better service experience or energy saving. However, current load balancing technologies can only control STAs to connect to APs with lower online loads when a new station (STA) joins the network, based on the service load of each access point (AP). When the services of STAs within an AP change, when a newly added STA has high service demand, or when a STA goes offline, global load balancing cannot be performed again, making it inflexible. Summary of the Invention

[0004] This application provides a method, apparatus, and system for roaming processing to achieve global load balancing in a network, prevent excessive load on a single optical network unit from affecting the user experience, or achieve global load concentration in a network, allowing more optical network units to go into hibernation and achieving energy saving across the entire network.

[0005] In a first aspect, a roaming processing method is provided, applied to a first optical network unit, the method comprising: receiving load information from a plurality of second optical network units; determining a target optical network unit among the plurality of second optical network units based on the load information of the plurality of second optical network units; and sending a first roaming start message to the target optical network unit, the first roaming start message being used to trigger the target optical network unit to perform roaming processing on at least one site.

[0006] By using this method, global load balancing in the network can be achieved by collecting load information from multiple second optical network units, preventing excessive load on one optical network unit from affecting the user experience, or global load concentration in the network can be achieved, allowing more optical network units to go into hibernation and achieving energy saving across the entire network.

[0007] For example, the aforementioned first roaming start message can be represented by the roaming handover indication in the roaming handover message and bit 0 in the reporting message field.

[0008] In conjunction with the first aspect, in one possible design, the load information includes at least one of the following: the signal strength of at least one site associated with each second optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

[0009] By adopting this design, the first optical network unit can accurately perform load balancing or load concentration by acquiring the aforementioned load information from multiple second optical network units, thereby improving resource utilization.

[0010] In conjunction with the first aspect, in another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site.

[0011] This design can achieve global load balancing in the network, preventing excessive load on a single optical network unit from affecting the user experience, or it can centralize the global load in the network, allowing more optical network units to go into hibernation and achieving energy saving across the entire network.

[0012] In conjunction with the first aspect, in another possible design, before receiving load information from the plurality of second optical network units, the method further includes: sending an indication message to the plurality of second optical network units to report the load information.

[0013] With this design, the first optical network unit can periodically or intermittently instruct multiple second optical network units to report the load information under each second optical network unit in order to collect their load status.

[0014] Alternatively, the first optical network unit may not send the above-mentioned indication information. Multiple second optical network units may report load information according to a predefined period, or be triggered to report load information based on a specific event (e.g., the service rate of a certain second optical network unit exceeds a set threshold a, or is lower than a set threshold b for a long period of time, or the received signal strength indication (RSSI) of the STA associated with the second optical network unit is lower than a set threshold c).

[0015] In conjunction with the first aspect, in another possible design, the load information is carried in a first message content field of the first Wi-Fi management and control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of each second optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of each second optical network unit, the first parameter content portion indicates the total service rate of each second optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0016] By adopting this design, the load information of each second optical network unit can be accurately determined by carrying the above load information through the Wi-Fi management and control interface message.

[0017] In conjunction with the first aspect, in another possible design, the first roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0018] By adopting this design, the first roaming start message mentioned above can be carried through the Wi-Fi management control interface message, which can accurately indicate the roaming policy.

[0019] In conjunction with the first aspect, in another possible design, the method further includes: sending a second roaming start message to the source optical network unit, the second roaming start message being used to trigger the source optical network unit to perform roaming processing on the at least one site.

[0020] In conjunction with the first aspect, in yet another possible design, the method further includes: receiving a first roaming result from the source optical network unit. Exemplarily, the first roaming result includes service shutdown information between the source optical network unit and at least one site.

[0021] In conjunction with the first aspect, in another possible design, the method further includes: receiving a second roaming result from the target optical network unit. Exemplarily, the second roaming result includes service activation information between the target optical network unit and at least one site.

[0022] Secondly, a roaming processing method is provided, applied to a target optical network unit, the method comprising: sending load information of the target optical network unit to a first optical network unit; and receiving a first roaming start message from the first optical network unit based on the load information of the target optical network unit, the first roaming start message being used to trigger the target optical network unit to perform roaming processing on at least one site.

[0023] In conjunction with the second aspect, in one possible design, the target optical network unit performs roaming processing on at least one site, including the target optical network unit initiating a roaming switching state machine.

[0024] In conjunction with the second aspect, in another possible design, the load information includes at least one of the following: the signal strength of at least one site associated with the target optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

[0025] In conjunction with the second aspect, in another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site.

[0026] In conjunction with the second aspect, in another possible design, before sending the load information to the first optical network unit, the method further includes: receiving an indication from the first optical network unit to report the load information.

[0027] In conjunction with the second aspect, in another possible design, the load information is carried in the first message content field of the first Wi-Fi management and control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of the target optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of the target optical network unit, the first parameter content portion indicates the total service rate of the target optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0028] In conjunction with the second aspect, in another possible design, the first roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0029] In conjunction with the second aspect, in yet another possible design, the method further includes: sending a second roaming result to the first optical network unit.

[0030] For example, the second roaming result includes information on the activation of services between the target optical network unit and at least one site.

[0031] Thirdly, a roaming processing method is provided, applied to a source optical network unit, the method comprising: sending load information of the source optical network unit to a first optical network unit; and receiving a second roaming start message from the first optical network unit based on the load information of the source optical network unit, the second roaming start message being used to trigger the source optical network unit to perform roaming processing on the at least one site.

[0032] In conjunction with the third aspect, in one possible design, the load information includes at least one of the following: the signal strength of at least one site associated with the source optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of the source optical network unit.

[0033] In conjunction with the third aspect, in another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the second roaming start message is used to trigger the source optical network units to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the second roaming start message is used to trigger the source optical network units to perform roaming processing on the at least one site.

[0034] In conjunction with the third aspect, in another possible design, before sending the first information to the first optical network unit, the method further includes: receiving an indication from the first optical network unit to report the load information.

[0035] In conjunction with the third aspect, in another possible design, the load information is carried in the first message content field of the first Wi-Fi management and control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of the source optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of the source optical network unit, the first parameter content portion indicates the total service rate of the source optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0036] In conjunction with the third aspect, in another possible design, the second roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0037] In conjunction with the third aspect, in yet another possible design, the method further includes: sending a first roaming result to the first optical network unit.

[0038] For example, the first roaming result includes information on the shutdown of services between the source optical network unit and at least one site.

[0039] Fourthly, this application provides a roaming processing apparatus having the functionality to implement the first aspect and the optional design of the first aspect described above. The apparatus includes at least one module for implementing the method provided by the first aspect and the optional design of the first aspect.

[0040] The device includes a receiving module, a determining module, and a sending module. The receiving module is used to receive load information from multiple second optical network units. The determining module is used to determine a target optical network unit among the multiple second optical network units based on the load information. The sending module is used to send a first roaming start message to the target optical network unit, the first roaming start message being used to trigger the target optical network unit to perform roaming processing on at least one site.

[0041] For example, the aforementioned first roaming start message can be represented by the roaming handover indication in the roaming handover message and bit 0 in the reporting message field.

[0042] In conjunction with the fourth aspect, in one possible design, the load information includes at least one of the following: the signal strength of at least one site associated with each second optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

[0043] In conjunction with the fourth aspect, in another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site.

[0044] In conjunction with the fourth aspect, in another possible design, the transmitting module is also used to send indication information for reporting the load information to the plurality of second optical network units.

[0045] Alternatively, the first optical network unit may not send the above-mentioned indication information. Multiple second optical network units may report load information according to a predefined period, or be triggered to report load information based on a specific event (e.g., the service rate of a certain second optical network unit exceeds a set threshold a, or is lower than a set threshold b for a long period of time, or the received signal strength indication (RSSI) of the STA associated with the second optical network unit is lower than a set threshold c).

[0046] In conjunction with the fourth aspect, in another possible design, the load information is carried in the first message content field of the first Wi-Fi management and control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of each second optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of each second optical network unit, the first parameter content portion indicates the total service rate of each second optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0047] In conjunction with the fourth aspect, in another possible design, the first roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0048] In conjunction with the fourth aspect, in another possible design, the sending module is further configured to send a second roaming start message to the source optical network unit, the second roaming start message being used to trigger the source optical network unit to perform roaming processing on the at least one site.

[0049] In conjunction with the fourth aspect, in another possible design, the receiving module is further configured to receive a first roaming result from the source optical network unit. Exemplarily, the first roaming result includes service shutdown information between the source optical network unit and at least one site.

[0050] In conjunction with the fourth aspect, in another possible design, the receiving module is further configured to receive a second roaming result from the target optical network unit. Exemplarily, this second roaming result includes service activation information between the target optical network unit and at least one site.

[0051] Fifthly, this application provides a roaming processing apparatus having the functionality to implement the second aspect and optional designs described above. The apparatus includes at least one module for implementing the methods provided by the second aspect and optional designs described above.

[0052] The device includes a sending module and a receiving module. The sending module is used to send the load information of the target optical network unit to the first optical network unit. The receiving module is used to receive a first roaming start message from the first optical network unit based on the load information of the target optical network unit. The first roaming start message is used to trigger the target optical network unit to perform roaming processing on at least one site.

[0053] In conjunction with the fifth aspect, in one possible design, the target optical network unit performs roaming processing on at least one site, including the target optical network unit initiating a roaming switching state machine.

[0054] In conjunction with the fifth aspect, in another possible design, the load information includes at least one of the following: the signal strength of at least one site associated with the target optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

[0055] In conjunction with the fifth aspect, in another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site.

[0056] In conjunction with the fifth aspect, in another possible design, the receiving module is further configured to receive indication information from the first optical network unit reporting the load information.

[0057] In conjunction with the fifth aspect, in another possible design, the load information is carried in the first message content field of the first Wi-Fi management and control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of the target optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of the target optical network unit, the first parameter content portion indicates the total service rate of the target optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0058] In conjunction with the fifth aspect, in another possible design, the first roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0059] In conjunction with the fifth aspect, in another possible design, the sending module is also used to send the second roaming result to the first optical network unit.

[0060] For example, the second roaming result includes information on the activation of services between the target optical network unit and at least one site.

[0061] Sixthly, this application provides a roaming processing apparatus having the functionality to implement the third aspect and optional designs thereof. The apparatus includes at least one module for implementing the methods provided by the third aspect and optional designs thereof.

[0062] The device includes a transmitting module and a receiving module. The transmitting module is used to transmit load information of the source optical network unit to the first optical network unit. The receiving module is used to receive a second roaming start message from the first optical network unit based on the load information of the source optical network unit. The second roaming start message is used to trigger the source optical network unit to perform roaming processing on the at least one site.

[0063] In conjunction with the sixth aspect, in one possible design, the load information includes at least one of the following: the signal strength of at least one site associated with the source optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of the source optical network unit.

[0064] In conjunction with the sixth aspect, in another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the second roaming start message is used to trigger the source optical network units to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the second roaming start message is used to trigger the source optical network units to perform roaming processing on the at least one site.

[0065] In conjunction with the sixth aspect, in another possible design, the receiving module is further configured to receive indication information from the first optical network unit reporting the load information.

[0066] In conjunction with the sixth aspect, in another possible design, the load information is carried in the first message content field of the first Wi-Fi management and control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of the source optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of the source optical network unit, the first parameter content portion indicates the total service rate of the source optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0067] In conjunction with the sixth aspect, in another possible design, the second roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0068] In conjunction with the sixth aspect, in another possible design, the sending module is also used to send the first roaming result to the first optical network unit.

[0069] For example, the first roaming result includes information on the shutdown of services between the source optical network unit and at least one site.

[0070] In a seventh aspect, this application provides an apparatus for roaming processing, the apparatus including a processor, a memory, and a communication interface; the processor is configured to execute program instructions in the memory to implement the methods provided by the first aspect and optional designs of the first aspect, and the communication interface is configured to communicate with a plurality of second optical network units.

[0071] Eighthly, this application provides an apparatus for roaming processing, the apparatus including a processor, a memory, and a communication interface; the processor is configured to execute program instructions in the memory to implement the methods provided by the second aspect and optional designs of the second aspect, and the communication interface is configured to communicate with a first optical network unit and a station.

[0072] In a ninth aspect, this application provides an apparatus for roaming processing, the apparatus comprising a processor, a memory, and a communication interface; the processor is configured to execute program instructions in the memory to implement the methods provided in the third aspect and the alternative designs of the third aspect, and the communication interface is configured to communicate with a first optical network unit and a station.

[0073] In a tenth aspect, this application provides a communication system comprising a first roaming processing apparatus, a second roaming processing apparatus, and a third roaming processing apparatus. The first roaming processing apparatus is used to implement the methods provided by the first aspect and optional designs of the first aspect. The second roaming processing apparatus is used to implement the methods provided by the second aspect and optional designs of the second aspect. The third roaming processing apparatus is used to implement the methods provided by the third aspect and optional designs of the third aspect.

[0074] In one aspect, this application provides a computer-readable storage medium storing at least one program instruction that is read by a processor to cause a first roaming processing apparatus to perform the method provided by the first aspect or any alternative design of the first aspect.

[0075] In a twelfth aspect, this application provides a computer-readable storage medium storing at least one program instruction that is read by a processor to cause a second roaming processing apparatus to perform the method provided by the second aspect or any alternative design of the second aspect.

[0076] In a thirteenth aspect, this application provides a computer-readable storage medium storing at least one program instruction that is read by a processor to cause a third roaming processing apparatus to perform the method provided by the third aspect or any alternative design of the third aspect.

[0077] In a fourteenth aspect, this application provides a computer program product including program instructions stored in a computer-readable storage medium. A processor of a first roaming processing apparatus reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the first roaming processing apparatus to perform the method provided by the first aspect or any alternative design of the first aspect.

[0078] In a fifteenth aspect, this application provides a computer program product including program instructions stored in a computer-readable storage medium. A processor of a second roaming processing apparatus reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the second roaming processing apparatus to perform the method provided by the second aspect or any alternative design of the second aspect described above.

[0079] In a sixteenth aspect, this application provides a computer program product including program instructions stored in a computer-readable storage medium. A processor of a third roaming processing apparatus reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the third roaming processing apparatus to perform the method provided by the third aspect or any alternative design of the third aspect.

[0080] In all the embodiments provided above, the load information of the second optical network unit includes the uplink traffic and / or downlink traffic of the second optical network unit, or the sum of the uplink and downlink traffic.

[0081] In addition, the load information of the second optical network unit may also include the occupancy rate of the transmitting channel or the occupancy rate of the receiving channel of the second optical network unit.

[0082] In addition, the load information of the second optical network unit may also include the number or size (space) of packets cached by the second optical network unit.

[0083] The three types of load information (traffic, channel occupancy, and buffered packets) mentioned above can be used independently or in combination. The first optical network unit can determine the target optical network unit based on one of the load information types, or it can determine the target optical network unit based on multiple load information types, thereby selecting the target device for roaming. Attached Figure Description

[0084] Figure 1This is a schematic diagram of application scenario 1 provided in the embodiments of this application;

[0085] Figure 2 This is a schematic diagram of application scenario 2 provided in the embodiments of this application;

[0086] Figure 3 This is a schematic diagram of application scenario 3 provided in the embodiments of this application;

[0087] Figure 4 This is a schematic diagram of the system architecture provided in the embodiments of this application;

[0088] Figure 5 This is a schematic diagram illustrating the roaming function;

[0089] Figure 6 This is a flowchart illustrating a roaming processing method provided in an embodiment of this application;

[0090] Figures 7-9 This is a schematic diagram of the roaming processing apparatus provided in the embodiments of this application;

[0091] Figure 10 This is a schematic diagram of the structure of a device provided in an embodiment of this application. Detailed Implementation

[0092] The embodiments of this application will now be further described with reference to the accompanying drawings.

[0093] In FTTR networking, load balancing and load centralization are required for better service experience or energy saving. However, current load balancing technologies can only control the connection of a new STA to the AP with the lowest online load when a new STA joins the network, based on the service load of each AP. When the services of STAs within an AP change, when a newly added STA has high service demand, or when a STA goes offline, global load balancing cannot be performed again, making it inflexible.

[0094] Based on this, embodiments of this application provide a roaming processing scheme. A first optical network unit receives load information from multiple second optical network units; based on the load information of the multiple second optical network units, a target optical network unit is determined among the multiple second optical network units; and a first roaming start message is sent to the target optical network unit, which is used to trigger the target optical network unit to perform roaming processing on at least one site. Thus, by collecting load information from multiple second optical network units, global load balancing in the network can be achieved, preventing excessive load on a single optical network unit from affecting the user experience, or global load concentration in the network can be achieved, allowing more optical network units to go into sleep mode, thereby achieving energy saving across the entire network.

[0095] The load information may include the uplink and / or downlink traffic, or the sum of uplink and downlink traffic, of the second optical network unit. Furthermore, the load information may also include the occupancy rate of the second optical network unit's transmit channel or receive channel. Additionally, the load information may include the number or size (space) of packets buffered by the second optical network unit.

[0096] The three types of load information (traffic, channel occupancy, and buffered packets) mentioned above can be used independently or in combination. The first optical network unit (ONU) can determine the target ONU based on one of the load information types, or it can determine the target ONU based on multiple load information types, thereby selecting the roaming target device. For example, the first ONU may select an ONU with a load information lower than a preset value as the target ONU. The preset value can be a preset traffic value (bytes / second), a preset channel occupancy rate, or a preset number or space of buffered packets.

[0097] The application scenarios of the embodiments of this application are described below.

[0098] Application Scenario 1: In a centralized FTTR deployment scenario, multiple FTTR systems may be deployed within the same subnet. Each FTTR system includes a master fiber unit (MFU) and subfiber units (SFUs). Within each FTTR system, the MFU is connected to the OLT via optical fiber, and the MFU is connected to the SFU via optical fiber. Access points include both MFUs and SFUs, which can be either ONTs or ONUs. When these multiple FTTR systems are deployed and put into operation, the OLTs are logically configured to belong to the same subnet. Configuration can be manual or automatic. For example... Figure 1The diagram illustrates application scenario 1 provided in this application. FTTR system 1 and FTTR system 2 are deployed in the same subnet and managed uniformly by OLT1. FTTR system 1 includes MFU1, SFU1.1, and SFU1.2. MFU1 is connected to SFU1.1 and SFU1.2 via optical fibers and is also connected to OLT1. FTTR system 2 includes MFU2, SFU2.1, and SFU2.2. MFU2 is connected to SFU2.1 and SFU2.2 via optical fibers and is also connected to OLT1. Sites roam from SFU1.2 to SFU2.1. MFUs can also be called main gateways, and SFUs can be called sub-gateways. An MFU can also be a main FTTR unit; an SFU can also be a sub-FTTR unit. Among them, the MFU and SFU have the same basic service set identifier (BSSID) and / or the same service set identifier (SSID).

[0099] Application Scenario 2: In a Fiber To The Home (FTTH) deployment scenario, multiple optical network terminals (ONTs) or multiple optical network units (ONUs) may be deployed in the same area. Taking multiple ONTs as an example, each ONT is connected to an optical line terminal (OLT) via optical fiber. The access point includes the ONT, and when the ONT is deployed and brought online, the OLT is logically configured as a subnet. For example, ... Figure 2 The diagram shown is a schematic of application scenario 2 provided in the embodiments of this application. ONT1 and ONT2 are deployed in the same area. Both ONT1 and ONT2 are connected to OLT1, and the site roams from ONT1 to ONT2.

[0100] Application Scenario 3: In a hybrid deployment scenario of FTTH and FTTR systems, both FTTH and FTTR systems may be deployed simultaneously in the same area. When the ONT or ONU in the FTTH system and the FTTR system are deployed and brought online, they are logically configured in the OLT to belong to the same subnet. This configuration can be done manually or automatically. For example, ... Figure 3The diagram shown is a schematic of application scenario 3 provided in the embodiment of this application. FTTR system 1, ONT1 and ONT2 are deployed in the same area. FTTR system 1 includes MFU1, SFU1.1 and SFU1.2. MFU1 is connected to SFU1.1 and SFU1.2 via optical fiber. MFU1 is connected to OLT1. ONT1 and ONT2 are both connected to OLT1. The site roams from SFU1.2 to ONT1.

[0101] In the three application scenarios mentioned above, the OLT communicates with the access point via an extended OMCI link, providing unified management of the access point. This extended OMCI can be considered as an enhanced optical network terminal management and control interface (eOMCI). For example, ... Figure 4 The diagram shown is a schematic of the system architecture provided in this application embodiment. The OLT provides wireless network management function, wireless terminal management function, and wireless network roaming control function. The wireless network management function is a function to manage the wireless network, such as logically dividing two FTTR systems into a subnet. The wireless terminal management function is a function to manage the access points connected to the OLT and the existing sites, such as configuring roaming thresholds for access points. The wireless network roaming control function is a function to control the roaming of sites between access points.

[0102] In addition, the OMCI link layer in the OLT is extended to support centralized management of MFUs and SFUs in the FTTR system, or multiple ONTs, or at least one ONT and MFUs and SFUs in the FTTR system.

[0103] Similarly, wireless network management functions have been added to MFU and SFU, and the OMCI link layer has been extended.

[0104] The Wi-Fi Management and Control Interface (WMCI) management channel is a low-latency channel in an FTTR network that enables wireless local access network (WLAN) control and other functions between the MFU and SFU. It carries WMCI messages. These WMCI messages are encapsulated in FEM frames and are used to manage and control the WLAN functions of the SFU. The FTTR transceiver can identify the destination of the WMCI message using the FEM port ID in the FEM frame. The structure of the WMCI message is shown in Table 1 below.

[0105] Table 1 WMCI Message Encapsulation Format

[0106]

[0107] The message type ID is an 8-bit field used to indicate the type of message and define the semantics of the message content. When the MFU receives an uplink message with an unsupported message type ID, the MFU should ignore the message, including the sequence number (SeqNo) field. When the SFU receives a message with a reserved or unsupported message type ID, it should ignore the message.

[0108] The sequence number field 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 filled 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.

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

[0110] The message length and processing requirement is a 2-byte field, consisting of three fields: message priority, operation type, and message content length.

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

[0112] C: Used to indicate the operation type of the current message.

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

[0114] In the uplink direction, when C=1, the operation type of the message is a scheduling request, requesting the MFU to send the scheduling configuration indicated by the Message type ID field; when C=0, the message is a parameter reporting message or an alarm message, and the parameter or alarm type reported by the message is indicated by the Message type ID field.

[0115] LL LLLL LLLL: This field indicates the length of the message content. The value range is 0 to 1023.

[0116] The format of the message content is specific to the message and consists of two parts: a message mask and parameter content. The message mask is a 16-bit mask, as shown in Table 2 below:

[0117] Table 2 Message Mask

[0118]

[0119] Each message type can carry a maximum of 16 parameters. Please refer to the message definition for a detailed explanation of the parameter sequence.

[0120] The message content should be filled in according to the order indicated by the parameter mask. For downlink request messages, the parameter mask represents the parameters that the MFU wants to obtain. For uplink messages, the parameter mask represents the parameters reported and replied to.

[0121] Among them, the message verification (cyclic redundancy check, CRC) is used to check whether the message has been corrupted during transmission. The value of this field is generated by the CRC algorithm.

[0122] like Figure 5 The diagram illustrates the roaming function. During STA movement in an FTTR network, the channel quality with its currently associated SFU deteriorates, requiring roaming to an SFU with better channel quality to ensure service continuity. However, roaming necessitates re-establishing a connection on the new SFU, leading to service interruption. To ensure timely and continuous roaming, a cooperative roaming control scheme using WMCI is employed. Roaming between SFUs only involves service shutdown and startup delays.

[0123] The WMCI-based collaborative roaming solution mainly includes four aspects of processing: roaming configuration information synchronization, network information synchronization, STA online processing, and STA roaming processing.

[0124] The following describes the method flow for roaming processing in the embodiments of this application.

[0125] like Figure 6The diagram shown is a flowchart illustrating a roaming processing method provided in this application.

[0126] This embodiment involves a first optical network unit and multiple second optical network units. The first optical network unit can be a hardware device, such as an MFU or an OLT; it can also be a software device, such as a software program running on an MFU or OLT. The second optical network units can be hardware devices, such as an SFU, ONU, or ONT; they can also be software devices, such as a software program running on an SFU, ONU, or ONT.

[0127] This method can be applied to the above application scenario 1, where the first optical network unit can be an MFU and the second optical network unit can be an SFU.

[0128] This method can also be applied to the above application scenario 2, where the first optical network unit can be an OLT and the second optical network unit can be an ONU or an ONT.

[0129] This method can also be applied to the above application scenario 3, where the first optical network unit can be an OLT and the second optical network unit can be an ONU / ONT or an SFU.

[0130] For example, the method may include the following steps:

[0131] S601. The first optical network unit connects to multiple second optical network units ( Figure 5 The example illustrates the instruction information sent by the second optical network unit 1 and the second optical network unit 2 to report load information.

[0132] Accordingly, multiple second optical network units receive the indication information for the reported load information.

[0133] The first optical network unit can periodically or irregularly instruct multiple second optical network units to report the load information under each second optical network unit in order to collect their load status. Therefore, the first optical network unit sends instruction information to multiple second optical network units to report load information.

[0134] It is understood that the first optical network unit may not send the aforementioned indication information. Multiple second optical network units may report load information according to a predefined period, or be triggered to report load information based on a specific event (e.g., a second optical network unit's service rate exceeds a set threshold a, or remains below a set threshold b for an extended period, or the received signal strength indication (RSSI) of the STA associated with that second optical network unit is below a set threshold c). Therefore, step S601 is optional. Figure 5 The middle part is indicated by a dashed line.

[0135] S602a. The second optical network unit 1 sends the load information of the second optical network unit 1 to the first optical network unit.

[0136] Correspondingly, the first optical network unit receives the load information from the second optical network unit 1.

[0137] After receiving the instruction information from the first optical network unit reporting load information, the second optical network unit 1 obtains information about at least one site associated with itself, obtains the load information of the second optical network unit 1, and sends the load information of the second optical network unit 1 to the first optical network unit.

[0138] Alternatively, the second optical network unit 1 can also report load information according to a predefined period, or report load information based on a specific event trigger.

[0139] S602b. The second optical network unit 2 sends the load information of the second optical network unit 2 to the first optical network unit.

[0140] Accordingly, the first optical network unit receives the load information from the second optical network unit 2.

[0141] After receiving the instruction information from the first optical network unit reporting load information, the second optical network unit 2 obtains information about at least one site associated with itself, obtains the load information of the second optical network unit 2, and sends the load information of the second optical network unit 2 to the first optical network unit.

[0142] Alternatively, the second optical network unit 2 can also report load information according to a predefined period, or report load information based on a specific event trigger.

[0143] The load information mentioned above includes at least one of the following: the signal strength of at least one site associated with each second optical network unit, the service rate of at least one site, the load information of at least one site, the service type corresponding to at least one site, and the total service rate of each second optical network unit. Furthermore, the load information may also include the number of at least one site.

[0144] For example, the aforementioned payload information can be carried in the first message content field of the first WMCI message, the first message content field including a first message mask portion and a first parameter content portion.

[0145] For example, in a load balancing scenario, the first message mask portion indicates whether to indicate at least one of the following for each of at least one site: signal strength, service rate, and received power. If the first message mask portion indicates the signal strength and / or service rate for each of at least one site, the first parameter content portion indicates at least one of the following for each site: signal strength, service rate, and received power.

[0146] For example, in a load balancing scenario, the first message mask indicates the number of STAs, the service rates of STA1 to STAn, and their signal strengths. The format of the first message mask is shown in Table 3 below:

[0147] Table 3 Format of the first message mask section

[0148]

[0149] The format of the first parameter content is shown in Table 4 below:

[0150] Table 4 Format of the first parameter content section

[0151]

[0152] Furthermore, the aforementioned load information, i.e., the current roaming decision feedback message, is initially defined in WMCI as a simplified message as shown in Table 5 below. The message definition is triggered based on a single STA. For example, when the RSSI of a STA is too low, or when the load threshold of a STA meets the conditions, only the load and RSSI of that single STA are queried.

[0153] Table 5. Format of Roaming Decision Feedback Information

[0154]

[0155] This embodiment also provides another format of roaming decision message, as shown in the table below:

[0156]

[0157] The traffic information can be the SFU's uplink traffic, downlink traffic, or the sum of uplink and downlink traffic. Channel occupancy can be the SFU's transmit channel occupancy, receive channel occupancy, or both. The four parameters in the table above can be reported to the MFU individually or together; for example, reporting both RSSI and SFU traffic information to the MFU simultaneously, or the SFU reporting RSSI to the MFU.

[0158] For example, in a load-centralized scenario, the first message mask portion indicates whether to indicate the total service rate for each second optical network unit. If the first message mask portion indicates the total service rate for each second optical network unit, the first parameter content portion also indicates the total service rate for each second optical network unit.

[0159] For example, the first message mask portion indicates the total service rate of a certain SFU, and the first parameter content portion indicates the total service rate of that SFU, as shown in Table 6 below:

[0160] Table 6 Format of the first parameter content section

[0161] parameter describe byte Service speed SFU's total service rate is Kbps 4 Number of STAs Number of STAs 1 STA1 RSSI Received power 1 STA2 RSSI Received power 1 …… …… …… …… STAn RSSI Received power 1

[0162] S603. The first optical network unit determines the target optical network unit among the multiple second optical network units based on the load information of the multiple second optical network units.

[0163] After receiving the load information from the multiple second optical network units, the first optical network unit makes a roaming decision. This roaming decision can include two strategies: load balancing and load consolidation.

[0164] In one design, roaming decisions are based on load balancing. If the total service rate of at least one site associated with the source optical network unit (OIN) is greater than or equal to a first threshold, or the total service rate of the source OIN is greater than or equal to a second threshold, then it is determined that at least one site under the source OIN will roam to the target OIN. That is, when the service rate of the source OIN is too high, to prevent the source OIN from becoming overloaded, multiple STAs under the source OIN can be roamed evenly across various second OINs to ensure a good service experience.

[0165] For example, in this embodiment, if the total service rate of at least one site associated with the second optical network unit 1 is greater than or equal to a first threshold, or the total service rate of the second optical network unit 1 is greater than or equal to a second threshold, then it is determined that at least one site under the second optical network unit 1 will roam to the second optical network unit 2. Here, the second optical network unit 1 is the source optical network unit, and the second optical network unit 2 is the target optical network unit.

[0166] In another design, roaming decisions are based on load centralization. If the total service rate of the source optical network unit is less than or equal to a third threshold, then at least one site under the source optical network unit is determined to roam to the target optical network unit. That is, when the service rate of the source optical network unit is in a low-traffic scenario, all STAs under that source optical network unit can be roamed to fewer second optical network units (i.e., the target optical network unit), leaving more second optical network units idle, thus achieving energy saving across the entire network.

[0167] For example, in this embodiment, if the total service rate of the second optical network unit 1 is less than or equal to the third threshold, then the second information indicates that at least one site under the second optical network unit 1 roams to the second optical network unit 2. Here, the second optical network unit 1 is the source optical network unit, and the second optical network unit 2 is the target optical network unit.

[0168] It is understandable that a first optical network unit can roam multiple STAs under one or more source optical network units to a target optical network unit, or it can roam multiple STAs under one source optical network unit to multiple target optical network units.

[0169] S604. The first optical network unit sends a first roaming start message to the second optical network unit 2.

[0170] Correspondingly, the second optical network unit 2 receives the first roaming start message.

[0171] The first roaming start message is used to trigger the second optical network unit 2 to perform roaming processing on at least one site.

[0172] For example, the second optical network unit 2 can perform roaming processing on at least one site by initiating a roaming switching state machine.

[0173] S605. The second optical network unit 2 sends the second roaming result to the first optical network unit.

[0174] Correspondingly, the first optical network unit receives the second roaming result.

[0175] For example, the second roaming result could be that a STA roams to the second optical network unit 1, or that a STA under the second optical network unit 1 starts its service.

[0176] S606. The first optical network unit sends a second roaming start message to the second optical network unit 1.

[0177] Correspondingly, the second optical network unit 1 receives the second roaming start message.

[0178] The second roaming start message is used to trigger the second optical network unit 1 to perform roaming processing on at least one site.

[0179] For example, the aforementioned first roaming start message / second roaming start message is carried in the second message content field of the second WMCI message, and the second message content field includes a second message mask portion and a second parameter content portion.

[0180] The second message mask portion indicates whether roaming indication information for each of at least one of the sites is included. If the second message mask portion indicates that roaming indication information for at least one site is included, the second parameter content portion includes roaming indication information for at least one site.

[0181] For example, the second message mask section indicates roaming indication information for n stations, from STA1 to STAn. The format of this second message mask section is shown in Table 7 below:

[0182] Table 7 Format of the second message mask section

[0183]

[0184] The second parameter content section includes roaming instructions for each of the n stations from STA1 to STAN. The format of this second parameter content section is shown in Table 8 below:

[0185] The format of the second parameter content section in Table 8

[0186]

[0187] In another embodiment, the aforementioned first roaming start message / second roaming start message is a roaming handover message. The format of the roaming handover indication and reporting message can be as shown in Table 9 below:

[0188] Table 9. Roaming Switching Instructions and Reported Messages

[0189]

[0190]

[0191] Each roaming handover indication and reporting message has different parameters, indicated by a message mask. The roaming handover message contains sequence numbers 2-5 and 7-8; the roaming handover completion status reporting message contains sequence numbers 2-8; the roaming handover exception handling message contains sequence numbers 2-5 and 7-8; and the roaming handover exception handling status reporting message contains sequence numbers 2-6.

[0192] S607. The second optical network unit 1 sends the first roaming result to the first optical network unit.

[0193] Accordingly, the first optical network unit receives the first roaming result.

[0194] For example, the first roaming result could be the shutdown of services of the STA under the second optical network unit 1.

[0195] According to the roaming processing method provided in the embodiments of this application, global load balancing can be achieved in the network to prevent excessive load on a single optical network unit from affecting the user experience, or global load concentration can be achieved in the network to allow more optical network units to go into hibernation, thereby achieving energy saving for the entire network.

[0196] Based on the same concept as the above-described roaming processing method, the following embodiments provide a corresponding roaming processing apparatus.

[0197] Figure 7 This is a structural diagram of a roaming processing apparatus provided in an embodiment of this application. This apparatus can be implemented as part or all of a device through software, hardware, or a combination of both, and is applied to a first optical network unit. The apparatus provided in this embodiment can implement the embodiments of this application. Figure 6 The device includes, in part or all of the aforementioned processes, a receiving module 710, a determining module 720, and a sending module 730, wherein:

[0198] The receiving module 710 is used to receive load information from multiple second optical network units; the determining module 720 is used to determine a target optical network unit among the multiple second optical network units based on the load information of the multiple second optical network units; and the sending module 730 is used to send a first roaming start message to the target optical network unit, the first roaming start message being used to trigger the target optical network unit to perform roaming processing on at least one site.

[0199] For example, the aforementioned first roaming start message can be represented by the roaming handover indication in the roaming handover message and bit 0 in the reporting message field.

[0200] In one possible design, the load information includes at least one of the following: the signal strength of at least one site associated with each second optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

[0201] In another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network unit associated with the at least one site is greater than or equal to a second threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or if the total service rate of the source optical network unit is less than or equal to a third threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site.

[0202] In another possible design, the transmitting module 730 is also used to transmit an indication message for reporting the load information to the plurality of second optical network units.

[0203] Alternatively, the first optical network unit may not send the above-mentioned indication information. Multiple second optical network units may report load information according to a predefined period, or be triggered to report load information based on a specific event (e.g., the service rate of a certain second optical network unit exceeds a set threshold a, or is lower than a set threshold b for a long period of time, or the received signal strength indication (RSSI) of the STA associated with the second optical network unit is lower than a set threshold c).

[0204] In another possible design, the load information is carried in the first message content field of the first Wi-Fi management control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of each second optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of each second optical network unit, the first parameter content portion indicates the total service rate of each second optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0205] In another possible design, the first roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information for each of the at least one site is included; if the second message mask portion indicates that roaming indication information for the at least one site is included, the second parameter content portion includes the roaming indication information for the at least one site.

[0206] In another possible design, the sending module 730 is further configured to send a second roaming start message to the source optical network unit, the second roaming start message being used to trigger the source optical network unit to perform roaming processing on the at least one site.

[0207] In another possible design, the receiving module 710 is further configured to receive a first roaming result from the source optical network unit. Exemplarily, the first roaming result includes service shutdown information between the source optical network unit and at least one site.

[0208] In another possible design, the receiving module 710 is further configured to receive a second roaming result from the target optical network unit. Exemplarily, the second roaming result includes service activation information between the target optical network unit and at least one site.

[0209] Further implementation details and benefits of the receiving module 710, determining module 720, and transmitting module 730 can be found in [reference needed]. Figure 6 The following is a description of the first optical network unit in the illustrated embodiment.

[0210] Figure 8 This is a structural diagram of another roaming processing device provided in this application embodiment. This device can be implemented as part or all of the apparatus through software, hardware, or a combination of both, and is applied to the second optical network unit 1 (source optical network unit). The device provided in this application embodiment can implement the embodiments of this application. Figure 6 The device includes, in part or all of the aforementioned process, a transmitting module 810 and a receiving module 820, wherein:

[0211] The sending module 810 is used to send the load information of the target optical network unit to the first optical network unit; and the receiving module 820 is used to receive a first roaming start message from the first optical network unit based on the load information of the target optical network unit, the first roaming start message being used to trigger the target optical network unit to perform roaming processing on at least one site.

[0212] In one possible design, the target optical network unit performs roaming processing on at least one site, including the target optical network unit initiating a roaming switching state machine.

[0213] In another possible design, the load information includes at least one of the following: the signal strength of at least one site associated with the target optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

[0214] In another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network unit associated with the at least one site is greater than or equal to a second threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or if the total service rate of the source optical network unit is less than or equal to a third threshold, the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site.

[0215] In another possible design, the receiving module 820 is also configured to receive indication information from the first optical network unit reporting the load information.

[0216] In another possible design, the load information is carried in a first message content field of a first Wi-Fi management control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of the target optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of the target optical network unit, the first parameter content portion indicates the total service rate of the target optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0217] In another possible design, the first roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information of each of the at least one site is included; if the second message mask portion indicates that roaming indication information of the at least one site is included, the second parameter content portion includes the roaming indication information of the at least one site.

[0218] In another possible design, the sending module 810 is also used to send a second roaming result to the first optical network unit.

[0219] For example, the second roaming result includes information on the activation of services between the target optical network unit and at least one site.

[0220] For further implementation details and benefits of the transmitting module 810 and the receiving module 820, please refer to [reference needed]. Figure 6The following is a description of the second optical network unit 2 (target optical network unit) in the illustrated embodiment.

[0221] Figure 9 This is a structural diagram of another roaming processing device provided in this application embodiment. This device can be implemented as part or all of the device through software, hardware, or a combination of both, and is applied to the second optical network unit 2 (target optical network unit). The device provided in this application embodiment can implement the embodiments of this application. Figure 9 The device includes a transmitting module 910 and a receiving module 920, comprising part or all of the aforementioned processes.

[0222] The sending module 910 is used to send load information of the source optical network unit to the first optical network unit; and the receiving module 920 is used to receive a second roaming start message from the first optical network unit based on the load information of the source optical network unit, the second roaming start message being used to trigger the source optical network unit to perform roaming processing on the at least one site.

[0223] In one possible design, the load information includes at least one of the following: the signal strength of at least one site associated with the source optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of the source optical network unit.

[0224] In another possible design, if the total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, the second roaming start message is used to trigger the source optical network units to perform roaming processing on the at least one site; or if the total service rate of the source optical network units is less than or equal to a third threshold, the second roaming start message is used to trigger the source optical network units to perform roaming processing on the at least one site.

[0225] In another possible design, the receiving module 920 is also configured to receive indication information from the first optical network unit reporting the load information.

[0226] In another possible design, the load information is carried in a first message content field of a first Wi-Fi management control interface message. The first message content field includes a first message mask portion and a first parameter content portion. The first message mask portion indicates whether to indicate the total service rate of the source optical network unit, and / or whether to indicate at least one of the signal strength, service rate, and receive power of each of the at least one sites. If the first message mask portion indicates the total service rate of the source optical network unit, the first parameter content portion indicates the total service rate of the source optical network unit; and / or if the first message mask portion indicates the signal strength and / or service rate of each of the at least one sites, the first parameter content portion indicates at least one of the signal strength, service rate, and receive power of each site.

[0227] In another possible design, the second roaming start message is carried in the second message content field of the second Wi-Fi management control interface message, the second message content field including a second message mask portion and a second parameter content portion; wherein, the second message mask portion indicates whether roaming indication information of each of the at least one site is included; if the second message mask portion indicates that roaming indication information of the at least one site is included, the second parameter content portion includes the roaming indication information of the at least one site.

[0228] In another possible design, the sending module 910 is also used to send the first roaming result to the first optical network unit.

[0229] For example, the first roaming result includes information on the shutdown of services between the source optical network unit and at least one site.

[0230] Further implementation details and benefits of the transmitting module 910 and the receiving module 920 can be found in [reference needed]. Figure 6 The following is a description of the second optical network unit 1 (source optical network unit) in the illustrated embodiment.

[0231] Figures 7-9 For details on the roaming process of the apparatus shown, please refer to the descriptions in the preceding embodiments; they will not be repeated here.

[0232] This application also provides a device 1000. For example... Figure 10As shown, device 1000 includes: bus 1002, processor 1004, memory 1006, and communication interface 1008. Processor 1004, memory 1006, and communication interface 1008 communicate with each other via bus 1002. Device 1000 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in device 1000.

[0233] Bus 1002 can 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 representation, Figure 10 The bus 1002 may be represented by a single line, but this does not mean that there is only one bus or one type of bus. The bus 1002 may include a path for transmitting information between various components of the device 1000 (e.g., memory 1006, processor 1004, communication interface 1008).

[0234] The processor 1004 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0235] The memory 1006 may include volatile memory, such as random access memory (RAM). The memory 1006 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0236] The memory 1006 stores executable program code, and the processor 1004 executes the executable program code to implement the roaming process method. That is, the memory 1006 stores program instructions for executing the roaming process method.

[0237] The communication interface 1008 uses an optical module to enable communication between device 1000 and other devices or communication networks.

[0238] This application also provides a communication system, which includes a first roaming processing device, a second roaming processing device, and a third roaming processing device, wherein the first roaming processing device is used to implement... Figure 6 The method provided by the first optical network unit in the illustrated embodiment is implemented by the second roaming processing device. Figure 6 The method provided by the second optical network unit 1 in the illustrated embodiment, and the apparatus for the third roaming processing, are used to implement... Figure 6 The method provided by the second optical network unit 2 in the illustrated embodiment.

[0239] This application also provides a computer-readable storage medium storing at least one program instruction, which is read by a processor to cause the apparatus for first roaming processing to execute. Figure 6 The method provided by the first optical network unit in the illustrated embodiment.

[0240] This application also provides a computer-readable storage medium storing at least one program instruction, which is read by a processor to cause the second roaming processing device to execute. Figure 6 The method provided by the second optical network unit 1 in the illustrated embodiment.

[0241] This application also provides a computer-readable storage medium storing at least one program instruction, which is read by a processor to cause a third roaming processing device to execute. Figure 6 The method provided by the second optical network unit 2 in the illustrated embodiment.

[0242] This application also provides a computer program product including program instructions stored in a computer-readable storage medium. A processor of a first roaming processing device reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the first roaming processing device to perform... Figure 6 The method provided by the first optical network unit in the illustrated embodiment.

[0243] This application also provides a computer program product including program instructions stored in a computer-readable storage medium. A processor of a second roaming processing device reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the second roaming processing device to perform... Figure 6 The method provided by the second optical network unit 1 in the illustrated embodiment.

[0244] This application also provides a computer program product including program instructions stored in a computer-readable storage medium. A processor of a third roaming processing device reads the program instructions from the computer-readable storage medium and executes the program instructions, causing the third roaming processing device to perform... Figure 6 The method provided by the second optical network unit 2 in the illustrated embodiment.

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

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

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

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

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

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

[0251] It is understood that in this application, "instruction" can include direct instruction, indirect instruction, explicit instruction, and implicit instruction. When describing a certain instruction information to indicate A, it can be understood that the instruction information carries A, directly indicates A, or indirectly indicates A. In this application, the information indicated by the instruction information is called the information to be instructed. In specific implementation, there are many ways to indicate the information to be instructed, such as, but not limited to, directly indicating the information to be instructed, such as the information to be instructed itself or its index, or indirectly indicating the information to be instructed by indicating other information, wherein there is an association between the other information and the information to be instructed. It is also possible to indicate only a part of the information to be instructed, while the other parts of the information to be instructed are known or agreed upon in advance. For example, the instruction of specific information can also be achieved by using the arrangement order of various information in advance (e.g., as specified by a protocol), thereby reducing the instruction overhead to a certain extent. The information to be instructed can be sent as a whole or divided into multiple sub-information to be sent separately, and the sending period and / or sending time of these sub-information can be the same or different. This application does not limit the specific sending method. The sending period and / or timing of these sub-information messages can be predefined, for example, according to a protocol, or configured by the transmitting device by sending configuration information to the receiving device.

[0252] 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 method for roaming processing, characterized in that, Applied to a first optical network unit, the method includes: Receive load information from multiple second optical network units; Based on the load information of the plurality of second optical network units, a target optical network unit is determined among the plurality of second optical network units; A first roaming start message is sent to the target optical network unit, the first roaming start message being used to trigger the target optical network unit to perform roaming processing on at least one site.

2. The method as described in claim 1, characterized in that, The load information includes at least one of the following: the signal strength of at least one site associated with each second optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

3. The method as described in claim 1 or 2, characterized in that, The total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, and the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or The total service rate of the source optical network unit is less than or equal to the third threshold, and the first roaming start message is used to trigger the target optical network unit to perform roaming processing on at least one site.

4. The method according to any one of claims 1-3, characterized in that, Before receiving load information from multiple second optical network units, the method further includes: Send an instruction to the plurality of second optical network units to report the load information.

5. The method as described in claim 3 or 4, characterized in that, The method further includes: A second roaming start message is sent to the source optical network unit, the second roaming start message being used to trigger the source optical network unit to perform roaming processing on the at least one site.

6. The method according to any one of claims 3-5, characterized in that, The method further includes: Receive the first roaming result from the source optical network unit.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: Receive the second roaming result from the target optical network unit.

8. The method according to any one of claims 1-7, characterized in that, The first optical network unit is a master optical network unit (MFU), and the second optical network unit is a sub-optical network unit (SFU).

9. A method for roaming processing, characterized in that, Applied to a target optical network unit, the method includes: Send the load information of the target optical network unit to the first optical network unit; Based on the load information of the target optical network unit, a first roaming start message is received from the first optical network unit. The first roaming start message is used to trigger the target optical network unit to perform roaming processing on at least one site.

10. The method as described in claim 9, characterized in that, The target optical network unit performs roaming processing on at least one site, including the target optical network unit initiating a roaming switching state machine.

11. The method as described in claim 9 or 10, characterized in that, The load information includes at least one of the following: the signal strength of at least one site associated with the target optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of each second optical network unit.

12. The method according to any one of claims 9-11, characterized in that, The total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, and the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or The total service rate of the source optical network unit is less than or equal to the third threshold, and the first roaming start message is used to trigger the target optical network unit to perform roaming processing on at least one site.

13. The method according to any one of claims 9-12, characterized in that, Before sending the load information of the target optical network unit to the first optical network unit, the method further includes: Receive indication information from the first optical network unit reporting the load information.

14. The method according to any one of claims 9-13, characterized in that, The method further includes: Send the second roaming result to the first optical network unit.

15. The method according to any one of claims 9-14, characterized in that, The first optical network unit is the master optical network unit (MFU), and the target optical network unit is the sub-optical network unit (SFU).

16. A method for roaming processing, characterized in that, Applied to a source optical network unit, the method includes: Send the load information of the source optical network unit to the first optical network unit; Based on the load information of the source optical network unit, a second roaming start message is received from the first optical network unit. The second roaming start message is used to trigger the source optical network unit to perform roaming processing on the at least one site.

17. The method as described in claim 16, characterized in that, The load status includes at least one of the following information: the signal strength of at least one site associated with the source optical network unit, the service rate of the at least one site, the load information of the at least one site, the number of the at least one site, the service type corresponding to the at least one site, and the total service rate of the source optical network unit.

18. The method as described in claim 16 or 17, characterized in that, The total service rate of the at least one site is greater than or equal to a first threshold, or the total service rate of the source optical network units associated with the at least one site is greater than or equal to a second threshold, and the first roaming start message is used to trigger the target optical network unit to perform roaming processing on the at least one site; or The total service rate of the source optical network unit is less than or equal to the third threshold, and the first roaming start message is used to trigger the target optical network unit to perform roaming processing on at least one site.

19. The method according to any one of claims 16-18, characterized in that, Before sending the load information of the source optical network unit to the first optical network unit, the method further includes: Receive indication information from the first optical network unit reporting the load information.

20. The method according to any one of claims 16-19, characterized in that, The method further includes: Send the first roaming result to the first optical network unit.

21. The method according to any one of claims 16-20, characterized in that, The first optical network unit is a master optical network unit (MFU), and the source optical network unit and the target optical network unit are sub-optical network units (SFUs).

22. A roaming processing apparatus, characterized in that, It includes modules for implementing the method as described in any one of claims 1-8, or modules for implementing the method as described in any one of claims 9-15, or modules for implementing the method as described in any one of claims 16-21.

23. A roaming processing apparatus, characterized in that, The device includes a processor, a memory, and a communication interface; The processor is used to execute program instructions in the memory to perform the processing functions in the roaming processing method as described in any one of claims 1-8; The communication interface is used to communicate with multiple second optical network units.

24. A roaming processing apparatus, characterized in that, The device includes a processor, a memory, and a communication interface; The processor is used to execute program instructions in the memory to perform the processing functions in the roaming processing method as described in any one of claims 9-15; The communication interface is used to communicate with the first optical network unit and the site.

25. A roaming processing apparatus, characterized in that, The device includes a processor, a memory, and a communication interface; The processor is used to execute program instructions in the memory to perform the processing functions in the roaming processing method as described in any one of claims 16-21; The communication interface is used to communicate with the first optical network unit and the site.

26. A communication system, characterized in that, The communication system includes a first roaming processing device, a second roaming processing device, and a third roaming processing device. The first roaming processing device is used to implement the method as described in any one of claims 1-8, the second roaming processing device is used to implement the method as described in any one of claims 9-15, and the third roaming processing device is used to implement the method as described in any one of claims 16-21.