Search

CN-122002453-A - Communication method and device

CN122002453ACN 122002453 ACN122002453 ACN 122002453ACN-122002453-A

Abstract

A communication method and device relate to the technical field of communication and are used for reducing or avoiding longer service interruption time in the station roaming process. The method comprises the steps that a first SFU obtains an association request frame (or a re-association request frame) from a station and a secret key used for communication between the station and the station, the association request frame (re-association request frame) is used for associating the station with the first SFU, and the first SFU sends the association request frame (or the re-association request frame) and the secret key to a main optical network unit MFU. The MFU sends an association request frame (or reassociation request frame) and a key to the second SFU. In the online association stage, the SFU synchronizes the obtained association request frame and the key to the MFU, and the MFU resynchronizes to other SFUs, so that the association request frame and the key do not need to be obtained 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.

Inventors

  • SUN YANBIN
  • Chen Yunman
  • WANG XIANG
  • NIE HAI

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20250109
Priority Date
20241104

Claims (20)

  1. 1. A method of communication, comprising: The method comprises the steps that a main optical network unit (MFU) receives an association request frame from a station and sent by a first SFU, wherein the first SFU is an SFU currently associated with the station, and the association request frame is used for associating the station with the first SFU; The MFU sends the association request frame, along with the key, to a second SFU.
  2. 2. The method of claim 1, wherein the master optical network unit MFU receives an association request frame from a station transmitted by a first SFU, and a key used for communication between the first SFU and the station, comprising: The MFU receives a virtual information report message from the first SFU, wherein the virtual information report message comprises the association request frame and the secret key.
  3. 3. The method of claim 2, wherein the virtual information report message is carried in a Wi-Fi management control interface WMCI message.
  4. 4. A method according to any of claims 1-3, wherein the MFU receives the key transmitted by the first SFU, comprising: the MFU receives the key information sent by the first SFU, wherein the key information is obtained by encrypting the key.
  5. 5. The method of claim 4, wherein the method further comprises: The MFU determines that the uplink and downlink encryption functions are not started in the network, and sends an encryption function starting instruction to the SFU in the network, wherein the encryption function starting instruction is used for indicating the starting of the link layer encryption function.
  6. 6. The method of any one of claims 1-5, wherein the method further comprises: the MFU sends a second online indication message to the second SFU, the second online indication message being configured to instruct the second SFU to close a communication channel with the station and/or not respond to the station.
  7. 7. The method of any of claims 1-6, wherein the MFU transmitting the association request frame, and the key, to a second SFU comprises: the MFU sends a virtual user creation request message to the second SFU, where the virtual user creation request message includes the association request frame and the key, and the virtual user creation request message is used to instruct the second SFU to create a virtual user for the site.
  8. 8. The method of claim 7, wherein the virtual user creation request message is carried in a Wi-Fi management control interface WMCI message.
  9. 9. The method of claim 7 or 8, wherein the method further comprises: The MFU receives a virtual user creation completion message from the second SFU, the virtual user creation completion message indicating that the second SFU is complete to create a virtual user for the site.
  10. 10. The method of claim 9, wherein the method further comprises: the MFU determines that an uplink encryption function and a downlink encryption function are started in a network, and sends an encryption function closing instruction to an SFU in the network, wherein the encryption function closing instruction is used for indicating closing of a link layer encryption function.
  11. 11. The method of claim 7 or 8, wherein the method further comprises: The MFU receives a virtual user creation failure message from the second SFU, wherein the virtual user creation failure message is used for indicating the second SFU to fail to create a virtual user for the site; the MFU sends a virtual user re-creation request message to a second SFU, the virtual user re-creation request message including the association request frame and the key.
  12. 12. The method of any of claims 1-11, wherein the first SFU and the second SFU have a same basic service set identifier, BSSID.
  13. 13. A communication device, characterized by being applied to a main optical network unit MFU, comprising: The system comprises a receiving module, a receiving module and a processing module, wherein the receiving module is used for receiving an association request frame from a station and sent by a first SFU, and a secret key used for communication between the first SFU and the station, wherein the first SFU is an SFU currently associated with the station, and the association request frame is used for associating the station with the first SFU; and the sending module is used for sending the association request frame and the secret key to the second SFU.
  14. 14. The apparatus of claim 13, wherein the receiving module is configured to: And receiving a virtual information reporting message from the first SFU, wherein the virtual information reporting message comprises the association request frame and the secret key.
  15. 15. The apparatus of claim 14, wherein the virtual information report message is carried in a Wi-Fi management control interface WMCI message.
  16. 16. The apparatus according to any of the claims 13-15, wherein the receiving module is specifically configured to: and receiving the key information sent by the first SFU, wherein the key information is obtained by encrypting the key.
  17. 17. The apparatus of claim 16, wherein the apparatus further comprises: The MFU determines that the uplink and downlink encryption functions are not started in the network, and sends an encryption function starting instruction to the SFU in the network, wherein the encryption function starting instruction is used for indicating the starting of the link layer encryption function.
  18. 18. The apparatus of any of claims 13-17, wherein the transmitting module is further configured to: And sending a second online indication message to the second SFU, wherein the second online indication message is used for indicating the second SFU to close a communication channel with the STA and/or not respond to the station.
  19. 19. The apparatus according to any of the claims 13-18, wherein the sending module is specifically configured to: And sending a virtual user creation request message to the second SFU, wherein the virtual user creation request message comprises the association request frame and the secret key, and the virtual user creation request message is used for indicating the second SFU to create a virtual user for the site.
  20. 20. The apparatus of claim 19, wherein the virtual user creation request message is carried in a Wi-Fi management control interface WMCI message.

Description

Communication method and device Related cross-reference The application claims the priority of the Chinese patent application filed in the intellectual property office of the people's republic of China on 4 th 2024, application No. 202411567294.6 and entitled "a communication method and device", and the application claims the priority of the Chinese patent application filed in the intellectual property office of the people's republic of China on 29 th 2024, application No. 202411755853.6 and entitled "a communication method and device", which are incorporated herein by reference in their entirety. Technical Field The present application relates to the field of communications technologies, and in particular, to a communications method and apparatus. Background When the channel quality between the terminal and the currently associated access point is poor in the process of moving in the optical fiber-to-room (Fiber To The Room, FTTR) networking, the terminal needs to roam to an access point with better channel quality so as to ensure the continuity of the service. At present, the terminal needs to re-execute each flow for establishing connection at a new access point, which is complicated in process and can cause longer service interruption time. 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 indication message carries an identifier assigned by the MFU for the station, the identifier being used to identify 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 o