Search

CN-122002462-A - Communication method, device and storage medium

CN122002462ACN 122002462 ACN122002462 ACN 122002462ACN-122002462-A

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 encryption mode supported by the master access point and a slave access point in the communication system, and sending the target encryption mode to the slave access point, wherein the target encryption mode is used for roaming configuration of the slave access point. The application can improve the roaming performance.

Inventors

  • SUN YANBIN
  • Chen Yunman
  • WANG XIANG

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20241104

Claims (17)

  1. 1. A method of communication, the method being applied to a master access point of a communication system, the method comprising: determining a target encryption mode supported by a master access point and a slave access point in the communication system; And sending the target encryption mode to the slave access point, wherein the target encryption mode is used for roaming configuration of the slave access point.
  2. 2. The method of claim 1, wherein prior to determining the target encryption 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. 3. The method according to claim 1 or 2, wherein said determining a target encryption mode supported by both a master access point and a slave access point in the communication system comprises: And when the slave access point is online, determining a target encryption mode supported by both a master access point and a slave access point in the communication system.
  4. 4. A method according to any one of claims 1-3, wherein the target encryption mode is a second encryption mode in the case where a capability of the first encryption mode is not lower than a capability of the second encryption mode, the first encryption mode is an encryption mode of the slave access point, and the second encryption mode is an encryption mode used by the communication system, or In the case where the capability of the first encryption mode is lower than the capability of the second encryption mode, the target encryption mode is the first encryption mode or the target encryption mode is an encryption mode having a capability lower than the capability of the first encryption mode.
  5. 5. The method of claim 4, wherein the target encryption mode is the first encryption mode or the target encryption mode is an encryption mode having a capability less than a capability of the first encryption mode, the method further comprising: Roaming configuration is performed on the master access point based on the target encryption mode.
  6. 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 encryption mode supported by both a master access point and a slave access point in the communication system includes: And determining a target encryption 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. 7. The method of claim 6, wherein the target encryption mode is an encryption mode of any access point of the communication system, or, in the case where the capabilities of the encryption modes of the access points included in the communication system are the same In the case where the capabilities of the encryption modes of the access points included in the communication system are different, the target encryption mode is an encryption mode having a capability lower than or equal to a target capability, which is the smallest capability among the capabilities of the encryption modes of the access points included in the communication system.
  8. 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. 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. 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. 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. 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. 13. The method of any one of claims 1-12, wherein the method further comprises: And receiving a third encryption mode, and sending the third encryption mode to part or all of access points in the communication system, wherein the third encryption mode is used for roaming configuration of the part or all of access points.
  14. 14. The method of any one of claims 1-13, wherein the method further comprises: Receiving a third encryption mode; And determining that at least one access point in the communication system does not support the third encryption mode, and determining that the third encryption mode is not transmitted to each access point in the communication system.
  15. 15. A primary access point, the primary access point comprising a processor, a memory, and a communication interface; the processor being adapted to execute program instructions in the memory to perform the processing functions of the method of any of claims 1 to 14; The communication interface is for communicating with a slave access point.
  16. 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. 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 present application provides a communication method, applied to a master access point of a communication system, in which a target encryption mode supported by both the master access point and a slave access point in the communication system is determined, and the target encryption mode is sent to the slave access point, and the target encryption mode is used for roaming configuration of the slave access point. Wherein a target encryption mode supported by both a master access point and a slave access point in the communication system is determined, and then an encryption mode of a roaming function of the slave access point in the communication system is configured as a target wireless mode. Therefore, the encryption modes of the roaming functions of the access points of the communication system are consistent, so that the stations do not need to switch the encryption modes when roaming among different access points, 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 encryption mode supported by both the master access point and the slave access point in the communication system, determining that the roaming function of the communication system has been 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, determining a target encryption mode supported by both a master access point and a slave access point in a communication system includes determining a target encryption mode supported by both a master access point and a slave access point in a 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 encryption mode does not need to be switched, and the roaming performance of the access point is improved. In another possible implementation, the target encryption mode is the second encryption mode in case the capability of the first encryption mode is not lower than the capability of the second encryption mode, the first encryption mode is the encryption mode of the slave access point, the second encryption mode is the encryption mode used by the communication system, or the target encryption mode is the first encryption mode in case the capability of the first encryption mode is lower than the capability of the second encryption mode, or the target encryption mode is the encryption mode with the capability lower than the capability of the first encryption mode. Thus, the target encryption mode supported by the master access point and the slave access point can be obtained. In another possible implementation, the target encryption mode is a first encryption mode or the target encryption mode is an encryption mode having a capability lower than that of the first encryption mode, and the method further includes performing a roaming configuration on the primary access point based on the target encryption mode. This allows the encryption mode used by the roaming function of the master access point to be configured as the target encryption mode as well, thereby allowing the master access point and the slave access point to maintain a consistent encryption 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 communicati