CN-122001895-A - Communication method and device
Abstract
A communication method and a device relate to the technical field of communication and are used for improving the utilization rate of resources and avoiding the waste of the resources. The method comprises the steps that when a first SFU determines that a site is offline, an offline event report message is sent to the MFU, and the offline event report message is used for indicating that the site is offline from the first SFU. And the MFU sends a deletion terminal indication message to the second SFU, wherein the deletion terminal indication message is used for indicating the information of deleting the station. When the site is offline, the source SFU reports the offline event to the MFU in time, and the MFU timely informs other SFUs to delete the site information, so that the resource utilization rate can be improved, and the resource waste is avoided.
Inventors
- SUN YANBIN
- Chen Yunman
- NIE HAI
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (20)
- 1. A method of communication, comprising: the method comprises the steps that a main optical network unit (MFU) receives an offline event report message from a first SFU, wherein the offline event report message is used for indicating that a station is offline; And the MFU sends a deletion terminal indication message to the second SFU, wherein the deletion terminal indication message is used for indicating the information of deleting the station.
- 2. The method as recited in claim 1, further comprising: And receiving a successful indication message of deleting the terminal sent by the second SFU.
- 3. The method of claim 1 or 2, wherein the method further comprises: And the MFU sends the deletion terminal indication message to the first SFU.
- 4. A method according to any one of claims 1-3, wherein the method further comprises: the MFU deletes information of the site.
- 5. A method according to any one of claims 1-3, wherein the method further comprises: The MFU retrieves an identification of the site that uniquely identifies the site in the network.
- 6. The method of claim 5, wherein the method further comprises: When the station is online, the MFU distributes the identification of the station to the station.
- 7. The method of claim 6, wherein the method further comprises: The MFU sends an identification of the station to an SFU in the network.
- 8. The method of claim 7, wherein the MFU transmitting the identity of the station to an SFU in the network comprises: the MFU sends an online indication message to an SFU in the network, the online indication message including an identification of the station.
- 9. A method of communication, comprising: the first sub-optical network unit SFU determines that the station is offline; The first SFU sends an offline event report message to the main optical network unit MFU, wherein the offline event report message is used for indicating that the station is offline from the first SFU.
- 10. The method of claim 9, wherein the method further comprises: the first SFU receives a deletion terminal indication message from the MFU, wherein the deletion terminal indication message is used for indicating the first SFU to delete the information of the station.
- 11. The method of claim 10, wherein the method further comprises: And the first SFU sends a terminal deletion success indication message to the MFU.
- 12. The method of any one of claims 9-11, wherein the method further comprises: when the station is online, the first SFU receives an identification of the station from the MFU, the identification of the station uniquely identifying the station in a network.
- 13. The method of claim 12, wherein the first SFU receiving the identification of the site from the MFU comprises: an online indication message is received from the MFU, the online indication message including an identification of the site.
- 14. A communication device, characterized by being applied to a main optical network unit MFU, comprising: The receiving module is used for receiving an offline event report message from the first SFU, wherein the offline event report message is used for indicating that the site is offline; And the sending module is used for sending a deletion terminal indication message to the second SFU, wherein the deletion terminal indication message is used for indicating the information of deleting the station.
- 15. The apparatus of claim 14, wherein the receiving module is further for: And receiving a successful indication message of deleting the terminal sent by the second SFU.
- 16. The apparatus of claim 14 or 15, wherein the transmitting module is further configured to: And sending the terminal deletion indication message to the first SFU.
- 17. The apparatus of any one of claims 14-16, wherein the apparatus further comprises: and the processing module is used for deleting the information of the sites.
- 18. The apparatus of any one of claims 14-17, wherein the apparatus further comprises: and the processing module is used for recycling the identification of the station, and the identification of the station uniquely identifies the station in the network.
- 19. The apparatus of claim 18, wherein the processing module is further to: and when the station is online, the station is allocated with the identification of the station.
- 20. The apparatus of claim 19, wherein the transmitting module is further for: And sending the identification of the station to the SFU in the network.
Description
Communication method and device Technical Field The present application relates to the field of communications technologies, and in particular, to a communications method and apparatus. Background In fiber-to-room (Fiber To The Room, FTTR) networking, there may be instances where the terminal is offline. In this case, how FTTR networked devices are handled is not discussed. Disclosure of Invention The embodiment of the application provides a communication method and a communication device, which are used for reducing or avoiding longer service interruption time in the station roaming process. In a first aspect, an embodiment of the present application provides a communication method, where a first sub-optical network unit SFU obtains an association request frame (or a reassociation request frame) from a station, where the association request frame is used for associating the station with the first SFU, and a key used for communication with the station, and the reassociation request frame is used for associating the station with the first SFU. The first SFU sends the association request frame (or reassociation request frame) and the key to the primary optical network unit MFU. Through the scheme, the SFU synchronizes the acquired association request frame and the key to the MFU in the online association stage, so that the association request frame and the key do not need to be acquired again in the roaming stage, the complexity of the roaming switching process is reduced, and the longer service interruption time in the station roaming process is reduced or avoided. In one possible design, the first SFU sending the association request frame and the key to a master optical network unit MFU includes the first SFU sending a virtual information report message to the MFU, the virtual information report message including the association request frame and the key. The virtual information reporting message may also be referred to as a terminal connection information reporting message, or may be referred to as another name, which is not limited in the embodiment of the present application. In one possible design, the virtual information report message is carried in a Wi-Fi management control interface WMCI message. In one possible design, the virtual information report message carries a content field in a Wi-Fi management control interface WMCI message. In one possible design, the first SFU sending the key to the MFU includes: And the first SFU sends key information to the MFU, wherein the key information is obtained by encrypting the key. In one possible design, the method further comprises: the first SFU receives an encryption function starting instruction sent by the MFU, and the encryption function starting instruction is used for indicating to start a link layer encryption function. In one possible design, the key information is encrypted using a link layer encryption mechanism for the key. In one possible design, the method further comprises: the first SFU receives a first online indication message from an MFU, the first online indication message being used to indicate that the first SFU is associated with the STA. In one possible design, the first online indicator message carries an identifier assigned by the MFU to the station, the identifier being for uniquely identifying the station in the network. The presence indication message may also be referred to as a terminal presence message. In a second aspect, an embodiment of the present application provides a communication method, where a second sub-network unit SFU receives an association request frame from a station of a main optical network unit MFU, and a key negotiated by the station and a first SFU for communication, where the first SFU is an SFU currently associated with the station, the association request frame is used for associating the station with the first SFU, and the second SFU creates a virtual user for the station according to the association request frame and the key. Through the scheme, the MFU synchronizes the association request frame and the secret key to other SFUs in the online association stage, so that the other SFUs do not need to acquire the association request frame and the secret key again in the roaming stage, the complexity of the roaming switching process is reduced, and longer service interruption time in the station roaming process is reduced or avoided. In one possible design, the second SFU receiving the association request frame and the key from the MFU includes: The second SFU receives a virtual user creation request message from the MFU, the first virtual user creation request message including the association request frame and the key. The virtual user creation request message may also be referred to as a create virtual user message. In one possible design, the virtual user creation request message is carried in a Wi-Fi management control interface WMCI message. In one possible design, the method further includes the sec