CN-122002410-A - Communication method, device and storage medium
Abstract
The application discloses a communication method, a device and a storage medium, and belongs to the field of communication. The method is applied to a master access point of a communication system, the communication system further comprises a slave access point, a station is accessed to the master access point, the station is located in the coverage range of the slave access point, the method comprises the steps of obtaining context information of traffic transmitted between the station and the master access point, and sending a first roaming message to the slave access point, wherein the first roaming message carries the context information, and the context information is used for the slave access point to transmit the traffic of the station. The application can avoid service interruption.
Inventors
- SUN YANBIN
- Chen Yunman
- WU XUMING
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20250109
- Priority Date
- 20241104
Claims (19)
- 1. A communication method, wherein the method is applied to a master access point of a communication system, the communication system further comprising a slave access point, the master access point having a station access thereon, the station being located within a coverage area of the slave access point, the method comprising: acquiring context information of a service transmitted between the station and the main access point; And sending the first roaming message to the slave access point, wherein the first roaming message carries the context information, and the context information is used for transmitting the service of the station from the access point.
- 2. The method of claim 1, wherein the obtaining the context information for traffic transmitted between the station and the master access point comprises: And acquiring the context information under the condition that the station moves to the coverage area of the slave access point.
- 3. The method of claim 1 or 2, wherein the context information carried by the first roaming message includes one or more of key update information employed to transmit the service, a dormant state of the station, a sequence number of a first message in a transmission window, a sequence number of a last message in the transmission window, a sequence number of a first message in a reception window, a sequence number of a last message in the reception window, a bitmap of the reception window, or a sequence number of a message that the master access point has not transmitted to the station; The service includes a downlink service sent by the master access point to the station and/or an uplink service received by the master access point from the station, the sending window is a window adopted by the master access point to send a message of the downlink service to the station, the receiving window is a window adopted by the master access point to receive a message of the uplink service from the station, and the bitmap is used for describing a receiving state of the message included in the receiving window.
- 4. A method according to any one of claims 1-3, wherein the method further comprises: And sending a second roaming message to the slave access point, wherein the second roaming message carries connection information of the connection established between the slave access point and the station, and the connection information is used for establishing the connection between the slave access point and the station.
- 5. The method of claim 4, wherein the connection information carried by the second roaming message comprises one or more of aggregation information employed to transmit the service, key information employed to transmit the service, a reassociation request message from the station received by the master access point, an association request message from the station received by the master access point, or an authentication request message from the station received by the master access point.
- 6. The method of any of claims 1-5, wherein the communication system comprises a fiber-to-room FTTR system, the master access point is a master FTTR device comprised by the FTTR system, and the slave access point is a slave FTTR device comprised by the FTTR system.
- 7. The method of any of claims 1-6, wherein the first roaming message is a start of service indication.
- 8. The method of any of claims 1-7, wherein the context information comprises at least one of a message sequence number, an identification of an IP message, and OMI status information of the station.
- 9. A communication method, wherein the method is applied to a slave access point of a communication system, the communication system further comprising a master access point, the master access point having a station access thereon, the station being located within a coverage area of the slave access point, the method comprising: Receiving a first roaming message sent by the main access point, wherein the first roaming message comprises context information of a service transmitted between the station and the main access point; And transmitting the service of the station based on the context information.
- 10. The method of claim 9, wherein the context information includes one or more of key update information employed to transmit the service, a dormant state of the station, a sequence number of a first message in a transmission window, a sequence number of a last message in the transmission window, a sequence number of a first message in a reception window, a sequence number of a last message in the reception window, a bitmap of the reception window, or a sequence number of a message that the master access point did not send to the station; The service includes a downlink service sent by the master access point to the station and/or an uplink service received by the master access point from the station, the sending window is a window adopted by the master access point to send a message of the downlink service to the station, the receiving window is a window adopted by the master access point to receive a message of the uplink service from the station, and the bitmap is used for describing a receiving state of the message included in the receiving window.
- 11. The method of claim 9, wherein the context information comprises at least one of a message sequence number, an identification of an IP message, sequence number SN context information, or OMI status information of the station.
- 12. The method of claim 11, wherein the transmitting traffic for the station based on the context information comprises: transmitting a downlink message to the station according to the message sequence number, or Sending an aggregate message to the station according to the SN context information, or And determining the channel bandwidth and the stream number according to the OMI state information of the station.
- 13. The method of claim 10, wherein the transmitting traffic for the station based on the context information comprises: in the sleep state for indicating that the station is in the sleep state, waking the station, and/or, Determining the message to be transmitted belonging to the downlink service based on the sequence number of the first message in the transmission window, the sequence number of the last message in the transmission window and/or the sequence number of the message which is not transmitted to the station by the main access point, or Based on the sequence number of the first message in the receiving window, the sequence number of the last message in the receiving window, the bitmap of the receiving window, indicating the station to determine the message to be sent belonging to the uplink service, and/or, And encrypting the multicast data to be sent to the site based on the key updating information.
- 14. The method of any one of claims 9-13, wherein the method further comprises: Receiving a second roaming message sent by the main access point, wherein the second roaming message comprises connection information for establishing connection between the station and the main access point; The transmitting the service of the station based on the context information comprises the following steps: Establishing a connection with the station based on the connection information; And transmitting the service of the station through the connection based on the context information.
- 15. The method of claim 14, wherein the connection information comprises one or more of a reassociation request message from the station received by the first slave access point, an association request message from the station received by the first slave access point, or an authentication request message from the station received by the first slave access point.
- 16. A primary access point, the primary access point comprising a processor and a memory; The processor is configured to execute program instructions in the memory to perform the method of any one of claims 1 to 8.
- 17. A slave access point, the slave access point comprising a processor and a memory; The processor is configured to execute program instructions in the memory to perform the method of any of claims 9 to 15.
- 18. A computer readable storage medium having stored thereon a computer program or instructions, which when executed by a processor, implements the method of any of claims 1-15.
- 19. A computer program product having a computer program stored thereon, which, when executed by a processor, implements the method of any of claims 1-15.
Description
Communication method, device and storage medium The present application claims priority from chinese patent application No. 202411563288.3 entitled "communication method, apparatus and storage medium" filed on month 11 and 4 of 2024, the entire contents of which are incorporated herein by reference. Technical Field The present application relates to the field of communications, and in particular, to a communication method, apparatus, and storage medium. Background The wireless local area network may include a plurality of access points that may provide access services, including a master access point and at least one slave access point. Stations (STAs) located within the coverage of the primary access point may access the primary access point with which the STA may transmit traffic. In a wireless lan, an STA may move, and the STA may move from the coverage of a master access point currently accessed to the coverage of a certain slave access point, where the STA may switch the access point accessed from the master access point to the slave access point. After switching access to the slave access point, the STA needs to resume transmission of the service at the slave access point. In the related art, however, it takes a long time to resume transmission of the service from the access point, which may cause interruption of the service. Disclosure of Invention The application provides a communication method, a communication device and a storage medium. The technical scheme is as follows: In a first aspect, the present application provides a communication method applied to a master access point of a communication system, where the communication system further includes a slave access point, and a station is accessed on the master access point, and the station is located in a coverage area of the slave access point. In the method, context information of traffic transmitted between a station and a master access point is acquired. And sending a first roaming message to the slave access point, wherein the first roaming message carries the context information, and the context information is used for transmitting the service of the station from the access point. Since the station accesses the master access point and transmits traffic with the master access point. The station moves to the coverage area of the slave access point, the master access point can acquire the context information of the service, and sends a first roaming message to the slave access point, wherein the first roaming message carries the context information of the service. Because the first roaming message carries the context information of the service, when the access point accessed by the station is switched from the master access point to the slave access point, the service of the transmission station can be recovered on the slave access point, the service of the transmission station is prevented from being interrupted, and the seamless roaming is realized. In one possible implementation, the context information is obtained in case the station moves into coverage from the access point. Therefore, the station can be switched to the slave access point with higher signal quality through the context information, and the communication quality is improved. In another possible implementation, the context information carried by the first roaming message includes one or more of key update information employed by the transmission service, a dormant state of the station, a sequence number of a first message in the transmission window, a sequence number of a last message in the transmission window, a sequence number of a first message in the reception window, a sequence number of a last message in the reception window, a bitmap of the reception window, or a sequence number of a message that is not sent to the station by the master access point. The service includes downlink service sent by the main access point to the station and/or uplink service received by the main access point from the station, the sending window is a window adopted by the main access point to send a message of the downlink service to the station, the receiving window is a window adopted by the main access point to receive a message of the uplink service from the station, and the bitmap is used for describing a receiving state of the message included in the receiving window. The context information may thus describe the traffic such that traffic for the transmitting station may be recovered from the access point based on the context information. In another possible implementation, a second roaming message is sent to the slave access point, where the second roaming message carries connection information of a connection established between the slave access point and the station, where the connection information is used to establish a connection between the slave access point and the station. This ensures that the traffic of the transmitting station can be successfully restored from the acce