Method, device and storage medium for implementing real-time effectiveness of WLAN extension field
By appending preset fields that are not supported by the communication protocol to the service set identifier in the CAPWAP protocol, generating a configuration request message and sending it to the wireless access point, the problem of extended fields not taking effect in real time in wireless LAN is solved, realizing personalized configuration and flexible management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR COMM TECH CO LTD
- Filing Date
- 2023-08-30
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, extended fields in wireless LANs cannot take effect in real time, making it impossible to adapt to changes in application scenarios and personalized configurations.
By appending preset fields that are not supported by the communication protocol to the service set identifier in the CAPWAP protocol, a configuration request message is generated and sent to the wireless access point through the communication tunnel, so that the extended fields can take effect in real time.
It enables the real-time activation of extended fields in wireless LANs, adapting to changes in application scenarios and personalized configurations, thereby improving the flexibility and efficiency of wireless network management.
Smart Images

Figure CN117354963B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, device and storage medium for enabling WLAN extended fields to take effect in real time. Background Technology
[0002] WiFi (Wireless Fidelity) networking is a wireless local area network (WLAN) networking technology based on the IEEE 802.11 standard.
[0003] In WiFi networking, the relationship between the Access Controller (AC) and the Access Point (AP) is the core of centralized wireless network management. The AC is used to centrally manage and control multiple APs and the entire wireless LAN, while the APs provide wireless signal coverage, enabling terminals to connect to the wireless network.
[0004] Currently, the AC's management and control of APs is mainly based on the fields supported in the CAPWAP (Control And Provisioning of Wireless Access Points Protocol Specification) protocol: the AC sends the fields supported in the CAPWAP protocol to the AP through the IEEE 802.11 WLAN Configuration Request message, thereby realizing the function of AP management.
[0005] To adapt to changing application scenarios, technicians often configure extended fields in the CAPWAP protocol to achieve functional expansion and personalized configuration. However, the CAPWAP protocol may not support the configured extended fields, causing the extended fields to fail to take effect. Currently, there is no method to make the extended fields of the protocol in the wireless LAN take effect in real time. Summary of the Invention
[0006] This invention provides a method, device, and storage medium for enabling WLAN extension fields to take effect in real time, thereby addressing the deficiency in the prior art of not having a method for enabling extension fields of protocols in wireless local area networks to take effect in real time.
[0007] This invention provides a method for enabling WLAN extended fields to take effect in real time, applied to an access controller. The method includes: establishing a communication tunnel with a wireless access point; appending a preset field not supported by the communication protocol to the service set identifier to obtain a configuration request message; and sending the configuration request message to the wireless access point through the communication tunnel via an update WLAN command.
[0008] According to a method for enabling real-time activation of WLAN extended fields provided by the present invention, a configuration request message is obtained by appending a preset field not supported by the communication protocol to the service set identifier. The method includes: appending a preset field not supported by the communication protocol to the field of the service set identifier to obtain a target service set identifier; and generating a configuration request message based on the target service set identifier and the IEEE 802.11 wireless LAN.
[0009] According to the present invention, a method for enabling real-time activation of WLAN extended fields is provided, wherein the communication tunnel is a CAPWAP tunnel and the communication protocol is the CAPWAP protocol.
[0010] This invention also provides a method for enabling real-time activation of WLAN extended fields, applied to a wireless access point. The method includes: establishing a communication tunnel with an access controller; receiving an update WLAN command sent by the access controller through the communication tunnel, wherein the update WLAN command includes a configuration request message; appending a preset field not supported by the communication protocol to the service set identifier of the configuration request message; parsing the preset field in the configuration request message and enabling the preset field to activate in real time.
[0011] According to a method for implementing real-time activation of WLAN extension fields provided by the present invention, the configuration request message is generated based on the target service set identifier and IEEE 802.11 wireless LAN. The target service identifier includes the service set identifier and a preset field not supported by the communication protocol appended to the field of the service set identifier.
[0012] According to the present invention, a method for enabling real-time activation of WLAN extended fields is provided, wherein the communication tunnel is a CAPWAP tunnel and the communication protocol is the CAPWAP protocol.
[0013] The present invention also provides an access controller, comprising: a communication establishment module for establishing a communication tunnel with a wireless access point; a configuration module for appending a preset field not supported in the communication protocol to a service set identifier to obtain a configuration request message; and a distribution module for distributing the configuration request message to the wireless access point through the communication tunnel via an update WLAN command.
[0014] The present invention also provides a wireless access point, comprising a communication establishment module for establishing a communication tunnel with an access controller; a receiving module for receiving an update WLAN command sent by the access controller through the communication tunnel, wherein the update WLAN command includes a configuration request message; the service set identifier of the configuration request message is appended with a preset field not supported by the communication protocol; and a parsing module for parsing the preset field in the configuration request message and making the preset field effective in real time.
[0015] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for implementing real-time activation of WLAN extension fields as described above.
[0016] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for implementing real-time activation of WLAN extension fields as described above.
[0017] The present invention provides a method, device, and storage medium for implementing real-time activation of WLAN extended fields, applied to an access controller. The method includes: establishing a communication tunnel with a wireless access point; appending a preset field not supported by the communication protocol to the service set identifier to obtain a configuration request message; and sending the configuration request message to the wireless access point through the communication tunnel via an update WLAN command. Through this method, since the configuration request message carries preset fields not supported by the communication protocol, i.e., extended fields, after the configuration request message is sent to the wireless access point through the communication tunnel via the update WLAN command, the wireless access point can parse and apply the extended fields based on the configuration request message, thereby enabling the extended fields of the protocol in the wireless local area network to take effect in real time. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is one of the flowcharts illustrating the method for implementing real-time activation of WLAN extended fields provided by the present invention;
[0020] Figure 2 This is a signaling diagram illustrating the process of configuration request message interaction between the AC and AP provided by the present invention;
[0021] Figure 3This is the second flowchart illustrating the method for implementing real-time activation of WLAN extended fields provided by the present invention;
[0022] Figure 4 This is a schematic diagram of the access controller provided by the present invention;
[0023] Figure 5 This is a schematic diagram of the structure of the wireless access point provided by the present invention;
[0024] Figure 6 This is a schematic diagram of the structure of an embodiment of the electronic device of the present invention. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0026] Please see Figure 1 , Figure 1 This is one of the flowcharts illustrating the method for implementing real-time activation of WLAN extension fields provided by the present invention. In this embodiment, the method for implementing real-time activation of WLAN extension fields is applied to an access controller and includes steps S110 to S130, each step of which is as follows:
[0027] S110: Establishes a communication tunnel with the wireless access point.
[0028] In WiFi networking, the access controller (AC) needs to manage and control the wireless access points (APs) through fields in the communication protocol.
[0029] Specifically, the fields in the communication protocol describe specific management and control information. The configuration message can carry the fields in the communication protocol. The access controller can send the fields in the communication protocol to the wireless access point through the configuration message. After receiving the configuration message, the wireless access point can parse and apply the fields in the configuration message based on the parsing rules negotiated between the access controller and the wireless access point, thereby realizing the access controller's management and control of the wireless access point.
[0030] Generally, if a field in a configuration message is applied by a wireless access point, it indicates that the field in the communication protocol has taken effect.
[0031] Before the access controller sends out configuration messages, it needs to establish a communication tunnel with the wireless access point. The access controller and the wireless access point can exchange data and communicate through the communication tunnel.
[0032] S120: Append the preset fields that are not supported in the communication protocol to the service set identifier to obtain the configuration request message.
[0033] To adapt to changes in application scenarios, technicians often configure extended fields in communication protocols to achieve functional expansion and personalized configuration. However, the CAPWAP communication protocol may not support the configured extended fields, causing the extended fields to fail to take effect.
[0034] Generally, in WiFi networking, the communication protocol includes a Service Set Identifier (SSID) field, which is used to provide network identification and authentication. The SSID field is usually the last valid field in the communication protocol, and its length is variable.
[0035] Because the length of the service set identifier field is variable, information not defined in the original communication protocol, i.e., preset fields not supported by the original communication protocol, can be added to the service set identifier without changing the original communication protocol structure, so as to achieve functional expansion and personalized configuration.
[0036] Since the access controller needs to send fields in the communication protocol to the wireless access point via configuration messages, a new configuration message needs to be generated when the fields in the communication protocol change.
[0037] Specifically, since the configuration message can carry the service set identifier field in the communication protocol, preset fields that are not supported in the communication protocol can be appended to the service set identifier to obtain the configuration request message.
[0038] S130: The configuration request message is sent to the wireless access point through the communication tunnel via the update WLAN command.
[0039] The access controller triggers an Update WLAN command, which sends a configuration request message to the wireless access point through the communication tunnel. This allows the wireless access point to parse and apply the service set identifier field in the configuration message based on the parsing rules pre-negotiated between the access controller and the wireless access point.
[0040] The method for enabling real-time activation of WLAN extended fields provided in this embodiment is applied to an access controller. The method includes: establishing a communication tunnel with a wireless access point; appending a preset field not supported by the communication protocol to the service set identifier to obtain a configuration request message; and sending the configuration request message to the wireless access point through the communication tunnel via an update WLAN command. Because the configuration request message carries preset fields not supported by the communication protocol (i.e., extended fields), after the configuration request message is sent to the wireless access point through the communication tunnel via the update WLAN command, the wireless access point can parse and apply the extended fields based on the configuration request message, thus enabling the extended fields of the protocol in the wireless local area network to take effect in real time.
[0041] In some embodiments, appending a preset field not supported by the communication protocol to the service set identifier to obtain a configuration request message includes: appending a preset field not supported by the communication protocol to the fields of the service set identifier to obtain a target service set identifier; and generating a configuration request message based on the target service set identifier and the IEEE 802.11 wireless LAN.
[0042] Specifically, since the length of the service set identifier field is variable, preset fields that are not supported by the original communication protocol can be appended to the service set identifier without changing the original communication protocol structure. By adding separators, such as @, &, etc., the service set identifier field and the preset fields that are not supported by the original communication protocol can be distinguished, thus obtaining the target service set identifier.
[0043] Furthermore, based on the target service set identifier and the IEEE 802.11 wireless LAN protocol standard, a configuration request message is constructed and generated.
[0044] Please see Figure 2 , Figure 2 This is a signaling diagram illustrating the process of configuration request message interaction between the AC and AP provided by the present invention.
[0045] like Figure 2 As shown, the configuration request message is an IEEE 802.11 WLAN Configuration Request message.
[0046] In some embodiments, the communication tunnel is a CAPWAP tunnel; the communication protocol is the CAPWAP protocol.
[0047] Please see Figure 3 , Figure 3This is the second flowchart illustrating the method for implementing real-time activation of WLAN extension fields provided by the present invention. In this embodiment, the method for implementing real-time activation of WLAN extension fields is applied to a wireless access point, including steps S310 to S330, each step of which is as follows:
[0048] S310: Establishes a communication tunnel with the access controller.
[0049] S320: Receives WLAN update commands sent by the access controller through the communication tunnel.
[0050] The WLAN update command includes a configuration request message; the service set identifier in the configuration request message has a preset field that is not supported by the communication protocol.
[0051] Specifically, after receiving the update WLAN command sent by the access controller, a configuration request message is obtained based on the update WLAN command.
[0052] like Figure 2 As shown, the configuration request message issued by the access controller is an IEEE 802.11 WLAN ConfigurationRequest message.
[0053] After receiving the update WLAN command sent by the access controller, the wireless access point obtains the IEEE 802.11 WLAN Configuration Request message based on the update WLAN command and returns an IEEE 802.11 WLAN Configuration Response message to the access controller so that the access controller knows that the wireless access point has correctly received the configuration request message.
[0054] S330: Parse the preset fields in the configuration request message and make the preset fields take effect in real time.
[0055] In some embodiments, the configuration request message is generated based on the target service set identifier and the IEEE 802.11 wireless LAN. The target service identifier includes a service set identifier and a preset field appended to the field of the service set identifier that is not supported by the communication protocol.
[0056] In some embodiments, the communication tunnel is a CAPWAP tunnel; the communication protocol is the CAPWAP protocol.
[0057] This invention also provides an access controller; please refer to [link / reference]. Figure 4 , Figure 4 This is a schematic diagram of the access controller provided by the present invention. In this embodiment, the access controller includes a communication establishment module 410, a configuration module 420, and a distribution module 430.
[0058] Establish communication module 410 for establishing a communication tunnel with the wireless access point.
[0059] The configuration module 420 is used to append preset fields that are not supported in the communication protocol to the service set identifier to obtain a configuration request message.
[0060] The distribution module 430 is used to distribute configuration request messages to the wireless access point through the communication tunnel via update WLAN commands.
[0061] In some embodiments, the configuration module 420 is used to append a preset field that is not supported in the communication protocol to the field of the service set identifier to obtain the target service set identifier; and generate a configuration request message based on the target service set identifier and the IEEE 802.11 wireless LAN.
[0062] In some embodiments, the communication tunnel is a CAPWAP tunnel; the communication protocol is the CAPWAP protocol.
[0063] This invention also provides a wireless access point; please refer to [link / reference]. Figure 5 , Figure 5 This is a schematic diagram of the structure of the wireless access point provided by the present invention. In this embodiment, the access controller includes a communication establishment module 510, a receiving module 520, and a parsing module 530.
[0064] Establish communication module 510 to establish a communication tunnel with the access controller.
[0065] The receiving module 520 is used to receive update WLAN commands sent by the access controller through the communication tunnel.
[0066] The WLAN update command includes a configuration request message; the service set identifier in the configuration request message has a preset field that is not supported by the communication protocol.
[0067] The parsing module 530 is used to parse the preset fields in the configuration request message and make the preset fields take effect in real time.
[0068] In some embodiments, the configuration request message is generated based on the target service set identifier and the IEEE 802.11 wireless LAN. The target service identifier includes a service set identifier and a preset field appended to the field of the service set identifier that is not supported by the communication protocol.
[0069] In some embodiments, the communication tunnel is a CAPWAP tunnel; the communication protocol is the CAPWAP protocol.
[0070] The present invention also provides an electronic device, please refer to [link / reference]. Figure 6 , Figure 6This is a schematic diagram of an embodiment of the electronic device of the present invention. In this embodiment, the electronic device may include a memory 610, a processor 620, and a computer program stored in the memory 610 and executable on the processor 620. When the processor 620 executes the program, it implements the methods provided above for implementing real-time activation of WLAN extension fields.
[0071] Optionally, the electronic device may further include a communication bus 630 and a communication interface 640, wherein the processor 620, the communication interface 640, and the memory 610 communicate with each other through the communication bus 630. The processor 620 can call logical instructions in the memory 610 to execute a method for implementing real-time activation of WLAN extension fields.
[0072] Furthermore, the logical instructions in the aforementioned memory 610 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0073] The present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the method for implementing the real-time activation of WLAN extension fields provided by the above methods. The steps and principles of the method have been described in detail in the above methods and will not be repeated here.
[0074] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0075] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for enabling real-time activation of WLAN extended fields, characterized in that, Applied to the access controller, the method for enabling WLAN extended fields to take effect in real time includes: Establish a communication tunnel with the wireless access point; The configuration request message is obtained by appending preset fields that are not supported by the communication protocol to the service set identifier; The configuration request message is sent to the wireless access point through the communication tunnel by updating the WLAN command.
2. The method for implementing real-time activation of WLAN extended fields according to claim 1, characterized in that, The step of appending a preset field not supported by the communication protocol to the service set identifier to obtain a configuration request message includes: The target service set identifier is obtained by appending the default fields that are not supported in the communication protocol to the field of the service set identifier. The configuration request message is generated based on the target service set identifier and the IEEE 802.11 wireless LAN.
3. The method for implementing real-time activation of WLAN extended fields according to claim 1 or 2, characterized in that, The communication tunnel is a CAPWAP tunnel; the communication protocol is the CAPWAP protocol.
4. A method for enabling WLAN extended fields to take effect in real time, characterized in that, Applied to wireless access points, the method for enabling WLAN extended fields to take effect in real time includes: Establish a communication tunnel with the access controller; The communication tunnel receives an update WLAN command sent by the access controller, wherein the update WLAN command includes a configuration request message; the service set identifier of the configuration request message is appended with a preset field that is not supported by the communication protocol; Parse the preset fields in the configuration request message and make the preset fields take effect in real time.
5. The method for implementing real-time activation of WLAN extended fields according to claim 4, characterized in that, The configuration request message is generated based on the target service set identifier and IEEE 802.11 wireless LAN. The target service set identifier includes a service set identifier and a preset field appended to the field of the service set identifier that is not supported by the communication protocol.
6. The method for implementing real-time activation of WLAN extended fields according to claim 4 or 5, characterized in that, The communication tunnel is a CAPWAP tunnel; the communication protocol is the CAPWAP protocol.
7. An access controller, characterized in that, include: Establish a communication module to create a communication tunnel with the wireless access point; The configuration module is used to append preset fields that are not supported by the communication protocol to the service set identifier to obtain a configuration request message; The distribution module is used to distribute the configuration request message to the wireless access point through the communication tunnel by updating the WLAN command.
8. A wireless access point, characterized in that, include: Establish a communication module to create a communication tunnel with the access controller; The receiving module is configured to receive an update WLAN command sent by the access controller through the communication tunnel, wherein the update WLAN command includes a configuration request message; the service set identifier of the configuration request message is appended with a preset field that is not supported by the communication protocol; The parsing module is used to parse the preset fields in the configuration request message and make the preset fields take effect in real time.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method for making WLAN extension fields effective in real time as described in any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for implementing real-time activation of WLAN extension fields as described in any one of claims 1 to 6.