CN-122002461-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, and comprises the steps of determining a target wireless mode supported by the master access point and a slave access point in the communication system, and sending the target wireless mode to the slave access point, wherein the target wireless mode is used for roaming configuration of the slave access point. The application can improve the roaming performance.
Inventors
- Chen Yunman
- SUN YANBIN
- MA JINBO
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (17)
- 1. A method of communication, the method being applied to a master access point of a communication system, the method comprising: Determining a target wireless mode supported by a master access point and a slave access point in the communication system; And sending the target wireless mode to the slave access point, wherein the target wireless mode is used for roaming configuration of the slave access point.
- 2. The method of claim 1, wherein prior to determining the target wireless mode supported by both the master access point and the slave access point in the communication system, further comprising: determining that a roaming function of the communication system is on.
- 3. The method of claim 1 or 2, wherein the determining the target wireless mode supported by both the master access point and the slave access point in the communication system comprises: And when the slave access point is online, determining a target wireless mode supported by both a master access point and a slave access point in the communication system.
- 4. The method of claim 1-3, wherein the target wireless mode is a second wireless mode in the case where a capability of the first wireless mode is not lower than a capability of the second wireless mode, the first wireless mode is a wireless mode of the slave access point, and the second wireless mode is a wireless mode used by the communication system, or In the case where the capability of the first wireless mode is lower than the capability of the second wireless mode, the target wireless mode is the first wireless mode or the target wireless mode is a wireless mode having a capability lower than the capability of the first wireless mode.
- 5. The method of claim 4, wherein the target wireless mode is the first wireless mode or the target wireless mode is a wireless mode having a capability lower than a capability of the first wireless mode, the method further comprising: roaming configuration is performed on the master access point based on the target wireless mode.
- 6. The method of claim 1 or 2, wherein the method further comprises: receiving a roaming opening operation command, wherein the roaming opening operation command is used for opening a roaming function of an access point included in the communication system; The determining a target wireless mode supported by both a master access point and a slave access point in the communication system includes: and determining a target wireless mode supported by both a master access point and a slave access point in the communication system based on the roaming start operation command.
- 7. The method of claim 6, wherein the target wireless mode is a wireless mode of any one of the access points of the communication system, or wherein the communication system comprises access points having a homogeneous capability of wireless modes In the case where the capabilities of the wireless modes of the access points included in the communication system are different, the target wireless mode is a wireless mode having a capability lower than or equal to a target capability, and the target capability is the minimum capability of the capabilities of the wireless modes of the access points included in the communication system.
- 8. The method of any one of claims 1-7, wherein the method further comprises: and receiving a roaming configuration confirmation message sent by the slave access point, wherein the roaming configuration confirmation message is used for confirming that the roaming configuration of the slave access point is completed.
- 9. The method of claim 8, wherein the method further comprises: And sending a roaming start message to the slave access point, wherein the roaming start message is used for indicating the slave access point to start roaming.
- 10. The method of claim 9, wherein the method further comprises: And receiving a roaming opening confirmation message sent by the slave access point, wherein the roaming opening confirmation message is used for confirming that the slave access point completes roaming opening.
- 11. The method of any one of claims 1-10, wherein the method further comprises: Transmitting a second configuration parameter to the slave access point, wherein the second configuration parameter comprises network parameters used by the slave access point after the slave access point shuts down roaming; And receiving a network configuration confirmation message sent by the slave access point, wherein the network configuration confirmation message is used for confirming that the network configuration of the slave access point is completed.
- 12. The method of claim 11, wherein the method further comprises: Sending a roaming close message to the slave access point, wherein the roaming close message is used for closing a roaming function of the slave access point; and receiving a roaming closing confirmation message sent by the slave access point, wherein the roaming closing confirmation message is used for confirming that the roaming function of the slave access point is closed.
- 13. The method of any one of claims 1-12, wherein the method further comprises: And receiving a third wireless mode, and sending the third wireless mode to part or all of access points in the communication system, wherein the third wireless mode is used for roaming configuration of the part or all of access points.
- 14. The method of any one of claims 1-13, wherein the method further comprises: receiving a third wireless mode; And determining that at least one access point in the communication system does not support the third wireless mode, and determining not to send the third wireless mode to each access point in the communication system.
- 15. 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 14.
- 16. 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-14.
- 17. A computer program product having a computer program stored thereon, which, when executed by a processor, implements the method of any of claims 1-14.
Description
Communication method, device and storage medium 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, and the coverage of the wireless local area network includes the coverage of the plurality of access points. The plurality of access points have roaming capabilities and are capable of providing roaming Services To Stations (STAs) within the coverage area of the wireless local area network. Within the coverage of the wireless local area network, the STA may move, possibly from the coverage of the first access point currently accessed to the coverage of the second access point, at which time the second access point may provide roaming services to the STA based on its own roaming capabilities through which the STA communicates with the STA. However, access points in wireless local area networks provide poor roaming performance. Disclosure of Invention The application provides a communication method, a device and a storage medium, which are used for improving roaming performance. The technical scheme is as follows: In a first aspect, the application provides a communication method applied to a master access point of a communication system, wherein the method comprises the steps of determining target wireless modes supported by the master access point and a slave access point in the communication system, and sending the target wireless modes to the slave access point, wherein the target wireless modes are used for roaming configuration of the slave access point. Wherein a target wireless mode supported by both a master access point and a slave access point in the communication system is determined, and then a wireless mode of a roaming function of the slave access point in the communication system is configured as the target wireless mode. Therefore, the wireless modes of the roaming functions of the access points of the communication system can be consistent, so that when the station roams between different access points, the wireless modes do not need to be switched, and the roaming performance of the access points is improved, namely the roaming performance of the communication system is improved. In one possible implementation, before determining the target wireless mode supported by both the master access point and the slave access point in the communication system, determining that a roaming function of the communication system is turned on is further included. Therefore, roaming is allowed when the roaming function of the communication system is started, so that whether the roaming function of the communication system is started is determined first, and errors can be avoided. In another possible implementation, the determining the target wireless mode supported by both the master access point and the slave access point in the communication system includes determining the target wireless mode supported by both the master access point and the slave access point in the communication system when the slave access point is online. Thus, the roaming functions of the master access point and the slave access point can be configured to be consistent, so that when a station roams between different access points, the wireless mode does not need to be switched, and the roaming performance of the access point is improved. In another possible implementation, the target wireless mode is the second wireless mode in a case where a capability of the first wireless mode is not lower than a capability of the second wireless mode, the first wireless mode is a wireless mode of the slave access point, the second wireless mode is a wireless mode used by the communication system, or the target wireless mode is the first wireless mode in a case where a capability of the first wireless mode is lower than a capability of the second wireless mode, or the target wireless mode is a wireless mode having a capability lower than a capability of the first wireless mode. Thus, a target wireless mode supported by both the master access point and the slave access point can be obtained. In another possible implementation, the target wireless mode is the first wireless mode or the target wireless mode is a wireless mode having a capability lower than that of the first wireless mode, and the method further includes performing roaming configuration on the master access point based on the target wireless mode. This allows the wireless mode used by the roaming function of the master access point to be configured as the target wireless mode as well, thereby allowing the master access point and the slave access point to maintain a consistent wireless mode. In another possible implementation, the method further includes receiving a roaming start operation command for starting a roaming function of an access point included in the communication system, and determining