WO2014012220A1 - 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统 - Google Patents

基于capwap协议的wlan wtp固件版本升级的方法、装置和系统 Download PDF

Info

Publication number
WO2014012220A1
WO2014012220A1 PCT/CN2012/078768 CN2012078768W WO2014012220A1 WO 2014012220 A1 WO2014012220 A1 WO 2014012220A1 CN 2012078768 W CN2012078768 W CN 2012078768W WO 2014012220 A1 WO2014012220 A1 WO 2014012220A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
access device
sent
wireless access
preset value
Prior art date
Application number
PCT/CN2012/078768
Other languages
English (en)
French (fr)
Inventor
席辉
伍锐恒
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN2012800005184A priority Critical patent/CN102907032A/zh
Priority to PCT/CN2012/078768 priority patent/WO2014012220A1/zh
Publication of WO2014012220A1 publication Critical patent/WO2014012220A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to communications technologies, and in particular relates to WLAN WTP (Wireless Local Area Networks Wireless Termination Points based CAPWAP (Control And Provisioning of Wireless Access Points, wireless access, the controller 1 J and unitary already set) ten do proposed wireless LAN Wireless Access Point) Method, device and system for firmware version upgrade.
  • WLAN WTP Wireless Local Area Networks Wireless Termination Points based CAPWAP (Control And Provisioning of Wireless Access Points, wireless access, the controller 1 J and unitary already set) ten do proposed wireless LAN Wireless Access Point
  • Method device and system for firmware version upgrade.
  • the method of fixed version update can include:
  • the WTP sends an update request to the AC, and the update request includes image file identification information included in the firmware version to be updated;
  • the AC sends an update response to the WTP.
  • the WTP After receiving the image file of the preset length, the WTP sends a receiving response to the AC; repeat steps 2 to 3 until the image file included in the firmware version to be updated is sent; wherein, the AC sends the last to the WTP.
  • the preset length of the image file is also notified to the WTP image file of the preset length as the image file of the last preset length;
  • WTP saves the received image file and sends a final update response to the AC.
  • the WLAN WTP firmware version upgrade time is an average of 15 minutes, the upgrade time is longer, and the WLAN WTP is reduced. Performance.
  • the embodiment of the invention provides a method, a device and a system for upgrading a WLAN WTP firmware version based on the CAPWAP protocol, which solves the problem that the WLAN WTP firmware version upgrade based on the CAPWAP protocol takes a long time, thereby reducing the performance of the WLAN WTP.
  • a method for upgrading a WLAN WTP firmware version based on a CAPWAP protocol including:
  • the wireless access device sends an update request to the controller, where the update request includes image file identification information to be updated, and the controller is configured to control the wireless access device;
  • a method for upgrading a WLAN WTP firmware version based on the CAPWAP protocol including:
  • the controller receives an update request sent by the wireless access device, where the update request includes image file identifier information to be updated, and the controller is configured to control the wireless access device;
  • the wireless access device Sending a first update response to the wireless access device, where the first update response includes a preset value, and the preset value is greater than or equal to 2;
  • an apparatus for upgrading a WLAN WTP firmware version based on a CAPWAP protocol including: a wireless access device, and a controller.
  • a controller comprising:
  • a processor configured to receive an update request sent by the wireless access device, where the update request includes image file identifier information to be updated, the controller is configured to control the wireless access device, and send the first to the wireless access device And updating the response, the first update response includes a preset value, and the preset value is greater than or equal to 2; sending, to the wireless access device, an image file corresponding to the identifier information, until the number of image files sent is equal to the An integer multiple of the preset value, or if the number is not equal to an integer multiple of the preset value and the image file is sent; receiving the second update response sent by the wireless access device, the second update response And indicating, if the image file is not sent, sending, to the wireless access device, an image file corresponding to the identifier information that is not sent;
  • a memory configured to store an image file corresponding to the identification information included in the update request received by the processor.
  • a wireless access device configured to send an update request to the controller, where the update request includes image file identifier information to be updated, the controller is configured to control the wireless access device, and receive a first update response sent by the controller
  • the first update response includes a preset value, and the preset value is greater than or equal to 2; receiving an image file corresponding to the identifier information until the number of received image files is equal to When the preset value is an integer multiple, or if the number is not equal to an integral multiple of the preset value and the image file is sent, sending a second update response to the controller, the second update
  • the response is used to indicate that if the image file is not sent, the image file corresponding to the identifier information that is not sent is continuously sent to the wireless access device; and after the image file is sent by the processor, the file is stored and updated. All received image files;
  • the method, device, and system for upgrading a WLAN WTP firmware version based on the CAPWAP protocol provided by the embodiment of the present invention, after the foregoing solution, only when the number of image files received by the wireless access device is equal to an integral multiple of a preset value, or When the number of received image files is not equal to an integral multiple of the preset value and the image file is sent, the second update response is sent to the controller, and the second update response is used to instruct the controller to continue sending to the wireless access device.
  • the transmitted image file reduces the number of second update responses sent by the wireless access device to the controller, shortens the time for upgrading the WLAN WTP firmware version based on the CAPWAP protocol, and increases the performance of the WLAN WTP.
  • FIG. 1 is a flowchart of a method for upgrading a WLAN WTP firmware version based on the CAPWAP protocol according to the embodiment
  • FIG. 2 is a flowchart of another method for upgrading a WLAN WTP firmware version based on the CAPWAP protocol according to the embodiment
  • FIG. 3 is a schematic flow chart of the method shown in FIG. 2;
  • FIG. 4 is a CAPWAP-based protocol based on a controller as an execution body according to an embodiment of the present disclosure. Flowchart for upgrading the WLAN WTP firmware version
  • FIG. 5 is a schematic structural diagram of a network access device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a controller according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a system for upgrading a WLAN WTP firmware version based on the CAPWAP protocol according to the embodiment.
  • the WTP when the WTP receives the Jo in respons e (Registration Response) text sent by the AC, it determines whether the AC supports its own firmware version. If the AC does not support its own firmware version, perform a firmware version upgrade.
  • Jo in respons e Registration Response
  • the WTP can update the firmware version by receiving the image file included in the firmware version sent by the AC. After receiving the update request sent by the WTP, the AC sends a certain length of the image file to the WTP. That is, the AC may send the WTP greater than or After the image file is equal to twice, the image file included in the firmware version to be upgraded can be sent, that is, the firmware version is upgraded.
  • the WTP sends a second update response to the AC, so that the AC continues to send the remaining mapping files to the WTP. This may cause WTP to update the firmware version for a longer period of time and reduce the performance of WTP.
  • the embodiment provides a method for upgrading a WLAN WTP firmware version based on the CAPWAP protocol.
  • the method is implemented as a wireless access device, as shown in FIG. 101.
  • the wireless access device sends an update request to the controller, where the update request includes the image file identifier information to be updated, and the controller is configured to control the wireless access device.
  • the image file After the image file is sent, store and update all the received image files. After the above solution is adopted, only when the number of image files received by the wireless access device is equal to an integral multiple of the preset value, or when the number of received image files is not equal to an integral multiple of the preset value and the image file is sent. And sending a second update response to the controller, where the second update response is used to instruct the controller to continue sending the unsent image file to the wireless access device, reducing the number of the second update response sent by the wireless access device to the controller.
  • the WLAN WTP firmware version upgrade time based on the CAPWAP protocol is shortened, and the WLAN WTP performance is increased.
  • This embodiment provides another method for upgrading the WLAN WTP firmware version based on the CAPWAP protocol.
  • the method further expands as shown in FIG. 1 , as shown in FIG. 2 , and may include:
  • the wireless access device sends an update request to the controller, where the update request includes image file identifier information to be updated, and the controller is configured to control the wireless access device.
  • the image Ident if ier , and the fil ename may be the identification information of the image file included in the firmware version to be upgraded; the Ini t iate Download may be used to instruct the controller to send the image file corresponding to the identification information to the network access device; Image Capabi Li ty can be used to instruct the controller to send an image file to the network access device.
  • Image Capabi li ty indicates how the controller can send image files to network access devices. Including but not limited to: one-to-one mode, one-to-many mode, etc.
  • the one-to-one mode may be: After the controller sends an image file to the network access device, after the network access device sends a second update response to the controller, the controller continues to send the unsent one to the network access device.
  • the image file is cyclically executed until the mapping file corresponding to the identification information is sent.
  • the one-to-many mode may be: After the controller sends a preset value image file to the network access device, after the network access device needs to send the second update response to the controller, the controller continues to send the network access device to the network access device. After the sent image file of the preset value is executed, the above steps are performed cyclically until the mapping file corresponding to the identification information is sent.
  • the controller may send three mapping files to the network access device, and after the network access device receives the three image files and sends a second update response to the controller, the controller continues to the network.
  • the access device sends the remaining 3 unsent image files, and loops the above steps until the image file is sent.
  • Image Capab i ty can contain preset values.
  • the update request may further include indication information for instructing the controller to configure the preset value.
  • the format of the Image Capab i 1 ty can be: I3/: O 89/-8/-il£ osoiAV
  • the value of the Image Upgrade Response Count can be a preset value.
  • the value of the information contained in the image Capability is not limited, and may be set according to actual needs.
  • the setting may be performed according to the protocol, and details are not described herein again.
  • the method for configuring the preset value of the controller is not limited, and may be set according to actual needs.
  • the controller may configure a preset value according to the network bandwidth accessed by the controller, and the preset value may be, but is not limited to, greater than Or an integer equal to 2, and will not be described here.
  • the image file contained in the firmware version to be upgraded may be sent to the WTP at one time and may be sent to the WTP at least twice.
  • FIG. 3 shows that the AC needs to send 6 different mapping files to the WTP to complete the firmware version upgrade.
  • the Image Data Response can carry the identifier Image Data Response
  • This embodiment provides another method for upgrading a WLAN WTP firmware version based on the CAPWAP protocol.
  • the executor of the method may be a controller. As shown in FIG. 4, the method may include:
  • the controller receives an update request sent by the wireless access device, where the update request includes the image file identifier information to be updated, and the controller is configured to control the wireless access device.
  • the update request further includes indication information, where the indication information is used to indicate a controller preset value
  • the processor 5 1 is configured to send an update request to the controller, where the update request includes image file identifier information to be updated, the controller is configured to control the wireless access device, and receive a first update response sent by the controller, where the first update response includes a preset Value, the preset value is greater than or equal to 2; the image file corresponding to the identification information is received until the number of received image files is equal to an integral multiple of the preset value, or if the number is not equal to an integral multiple of the preset value and the image file is After the sending is completed, sending a second update response to the controller, where the second update response is used to indicate that if the image file is not sent, the image file corresponding to the unsent identification information is continuously sent to the wireless access device;
  • the memory 52 is configured to store and update all the received image files after the image file is sent by the processor.
  • the second update response is used to instruct the controller to continue sending the unsent image file to the wireless access device, reducing the number of the second update response sent by the wireless access device to the controller, shortening
  • the WLAN WTP firmware version upgrade time based on the CAPWAP protocol increases the performance of the WLAN WTP.
  • This embodiment provides a controller, as shown in FIG. 6, which may include:
  • the processor 61 is configured to receive an update request sent by the wireless access device, where the update request includes the image file identifier information to be updated, the controller is configured to control the wireless access device, and send the first update response to the wireless access device, the first update response.
  • the preset value is included, and the preset value is greater than or equal to 2; the image file corresponding to the identifier information is sent to the wireless access device until the number of the transmitted image files is equal to an integral multiple of the preset value, or if the number is not equal to the preset value An integer multiple and the image file is sent; receiving the second update response sent by the wireless access device, and the second update response is used to indicate that if the image file is not sent, the wireless access device continues to send the unsent identification information.
  • Image file The memory 62 is configured to store an image file corresponding to the identifier information included in the update request received by the processor.
  • the processor is further configured to receive an update request, where the update request includes indication information, where the indication information is used to indicate a controller preset value.
  • the unsent image file is sent to the wireless access device, which reduces the number of second update responses sent by the wireless access device to the controller, and shortens the time for upgrading the WLAN WTP firmware version based on the CAPWAP protocol. Increased WLAN WTP performance.
  • the embodiment of the present invention provides a WLAN WTP firmware version upgrade system based on the CAPWAP protocol. As shown in FIG. 7, the wireless access device 71 provided by the above embodiment and the controller 72 provided in the foregoing embodiment are provided.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种基于CAPWAP协议的WLAN WTP固件版本升级的方法、装置和系统。涉及通信技术领域。解决了WLAN WTP固件版本升级的时间较长,导致降低了WLAN WTP的性能的问题。可以包括以下步骤:无线接入设备向控制器发送更新请求;接收控制器发送的第一更新响应,第一更新响应包含预设值,预设值大于等于2;接收标识信息对应的映像文件,直到接收到的映像文件的数量等于预设值的整数倍时,或者,若数量不等于预设值的整数倍且映像文件被发送完毕时,向控制器发送第二更新响应;当映像文件被发送完毕后,存储并更新所有接收到的映像文件。可应用于隔间版本更新中。

Description

基于 CAPWAP协议的 WLAN WTP固件版本升级的方法、 装置和系统 技术领域
本发明涉及通信技术领域, 尤其涉及基于 CAPWAP ( Control And Provisioning of Wireless Access Points , 无线接人 、的控 1 J和酉己置 )十办 议的 WLAN WTP( Wireless Local Area Networks Wireless Termination Points, 无线局域网无线接入点) 固件版本升级的方法、 装置和系统。
背景技术
WTP在加入 AC (Access Controller, 控制器)后, 检测 AC是否支持自 身的固件版本, 若不支持, 则需要对 WTP的固件版本进行更新。
固定版本更新的方法可以包括:
1. WTP向 AC发送更新请求, 更新请求包含待更新的固件版本包含的映像 文件标识信息;
2. AC向 WTP发送更新响应;
3. AC向 WTP发送预设长度的映像文件;
4. WTP在接接收到预设长度的映像文件后向 AC发送接收响应; 重复步骤 2至步骤 3, 直到待更新的固件版本包含的映像文件被发送完为止; 其 中,在 AC向 WTP发送最后的预设长度的映像文件时,还通知 WTP该预 设长度的映像文件为最后的预设长度的映像文件;
5. WTP保存接收到的映像文件并向 AC发送最终更新响应。
在实现上述基于 CAPWAP协议的 WLAN WTP固件版本升级的过程中, 发明 人发现现有技术中至少存在如下问题: WLAN WTP 固件版本升级的时间平均为 15分钟, 升级的时间较长, 降低了 WLAN WTP的性能。
发明内容
本发明的实施例提供一种基于 CAPWAP协议的 WLAN WTP 固件版本升级的 方法、 装置、 系统, 解决了基于 CAPWAP协议的 WLAN WTP固件版本升级的时 间较长, 导致降低了 WLAN WTP的性能的问题。
为达到上述目的, 本发明的实施例采用如下技术方案: 一方面, 提供一种基于 CAPWAP协议的 WLAN WTP 固件版本升级的方法, 包括:
无线接入设备向控制器发送更新请求, 所述更新请求包含待更新映像文 件标识信息, 所述控制器用于控制所述无线接入设备;
接收所述控制器发送的第一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等于 2 ;
接收所述标识信息对应的映像文件, 直到接收到的映像文件的数量等于 所述预设值的整数倍时, 或者, 若所述数量不等于所述预设值的整数倍且映 像文件被发送完毕时, 向所述控制器发送第二更新响应, 所述第二更新响应 用于指示若映像文件未被发送完毕, 则向所述无线接入设备继续发送未发送 的所述标识信息对应的映像文件;
当映像文件被发送完毕后, 存储并更新所有接收到的映像文件。
另夕卜, 还提供一种基于 CAPWAP协议的 WLAN WTP 固件版本升级的方法, 包括:
控制器接收无线接入设备发送的更新请求, 所述更新请求包含待更新映 像文件标识信息, 所述控制器用于控制所述无线接入设备;
向所述无线接入设备发送第一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等于 2 ;
向所述无线接入设备发送所述标识信息对应的映像文件, 直到发送的映 像文件的数量等于所述预设值的整数倍, 或者, 若所述数量不等于所述预设 值的整数倍且映像文件被发送完毕;
接收所述无线接入设备发送的第二更新响应, 所述第二更新响应用于指 示若映像文件未被发送完毕, 则向所述无线接入设备继续发送未发送的所述 标识信息对应的映像文件。
另一方面, 提供一种基于 CAPWAP协议的 WLAN WTP固件版本升级的装置, 包括: 无线接入设备、 和控制器。
一种无线接入设备, 包括: 处理器, 用于向控制器发送更新请求, 所述更新请求包含待更新映像文 件标识信息, 所述控制器用于控制所述无线接入设备; 接收所述控制器发送 的第一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等于 2; 接 收所述标识信息对应的映像文件, 直到接收到的映像文件的数量等于所述预 设值的整数倍时, 或者, 若所述数量不等于所述预设值的整数倍且映像文件 被发送完毕时, 向所述控制器发送第二更新响应, 所述第二更新响应用于指 示若映像文件未被发送完毕, 则向所述无线接入设备继续发送未发送的所述 标识信息对应的映像文件;
存储器, 用于当且映像文件被所述处理器发送完毕后, 存储并更新所有 接收到的映像文件。
一种控制器, 包括:
处理器, 用于接收无线接入设备发送的更新请求, 所述更新请求包含待 更新映像文件标识信息, 所述控制器用于控制所述无线接入设备; 向所述无 线接入设备发送第一更新响应, 所述第一更新响应包含预设值, 所述预设值 大于等于 2; 向所述无线接入设备发送所述标识信息对应的映像文件, 直到发 送的映像文件的数量等于所述预设值的整数倍, 或者, 若所述数量不等于所 述预设值的整数倍且映像文件被发送完毕; 接收所述无线接入设备发送的第 二更新响应, 所述第二更新响应用于指示若映像文件未被发送完毕, 则向所 述无线接入设备继续发送未发送的所述标识信息对应的映像文件;
存储器, 用于存储所述处理器接收的更新请求包含的标识信息对应的映 像文件。
再一方面, 提供一种基于 CAPWAP协议的 WLAN WTP固件版本升级的系统, 包括:
无线接入设备, 用于向控制器发送更新请求, 所述更新请求包含待更新 映像文件标识信息, 所述控制器用于控制所述无线接入设备; 接收所述控制 器发送的第一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等 于 2 ; 接收所述标识信息对应的映像文件, 直到接收到的映像文件的数量等于 所述预设值的整数倍时, 或者, 若所述数量不等于所述预设值的整数倍且映 像文件被发送完毕时, 向所述控制器发送第二更新响应, 所述第二更新响应 用于指示若映像文件未被发送完毕, 则向所述无线接入设备继续发送未发送 的所述标识信息对应的映像文件; 当且映像文件被所述处理器发送完毕后, 存储并更新所有接收到的映像文件;
控制器, 用于接收所述无线接入设备发送的所述更新请求; 向所述无线 接入设备发送所述第一更新响应; 向所述无线接入设备发送所述标识信息对 应的映像文件, 直到发送的映像文件的数量等于所述预设值的整数倍, 或者, 若所述数量不等于所述预设值的整数倍且映像文件被发送完毕; 接收所述无 线接入设备发送的所述第二更新响应。
本发明实施例提供的基于 CAPWAP协议的 WLAN WTP固件版本升级的方法、 装置、 系统, 采用上述方案后, 只有当无线接入设备接收到的映像文件的数 量等于预设值的整数倍, 或者, 接收到的映像文件的数量不等于预设值的整 数倍且映像文件被发送完毕时, 才向控制器发送第二更新响应, 第二更新响 应用于指示控制器向无线接入设备继续发送未发送的映像文件, 减少了无线 接入设备向控制器发送第二更新响应的数量,缩短了基于 CAPWAP协议的 WLAN WTP固件版本升级的时间, 增加了 WLAN WTP的性能。
附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1为本实施例提供的一种基于 CAPWAP协议的 WLAN WTP固件版本升级 的方法流程图;
图 2为本实施例提供的另一种基于 CAPWAP协议的 WLAN WTP固件版本升 级的方法流程图;
图 3为图 2所示的方法的流程示意图;
图 4 为本实施例提供的一种以控制器为执行主体的基于 CAPWAP协议的 WLAN WTP固件版本升级的方法流程图;
图 5为本实施例提供的一种网络接入设备结构示意图;
图 6为本实施例提供的一种控制器结构示意图;
图 7为本实施例提供的一种基于 CAPWAP协议的 WLAN WTP固件版本升级 的系统结构示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本实施例提供的无线接入设备可以为但不限于 WTP等; 控制器可以为但 不限于 AC等。
在 WTP接入 AC后,当 WTP运行的固件版本不是 AC支持的固件版本,则 WTP 需要从 AC下载可执行的固件版本。
具体的, 当 WTP接收到 AC发送的 Jo in respons e (注册响应) 文后, 判断 AC是否支持自己的固件版本。 如果 AC不支持自己的固件版本, 就进行 固件版本升级。
WTP可以通过接收 AC发送的固件版本包含的映像文件, 实现升级固件版 本, AC在接收到 WTP发送的更新请求后, 向 WTP发送一定长度的映像文件, 也就是说, AC可能向 WTP发送大于或等于两次的映像文件后, 才能将待升级 的固件版本包含的映像文件发送完毕, 即完成固件版本的升级。
现有技术中, AC每向 WTP发送映射文件后, WTP均向 AC发送第二更新响 应, 以便 AC继续向 WTP发送其余的映射文件。 这样, 可能导致 WTP更新固件 版本的时间较长, 降低 WTP的性能。
为了解决上述问题, 本实施例提供一种基于 CAPWAP协议的 WLAN WTP固 件版本升级的方法, 该方法的执行主体为无线接入设备, 如图 1 所示, 可以 包括: 101、 无线接入设备向控制器发送更新请求, 更新请求包含待更新映像文 件标识信息, 控制器用于控制无线接入设备;
102、 接收控制器发送的第一更新响应, 第一更新响应包含预设值, 预设 值大于等于 2;
103、 接收标识信息对应的映像文件, 直到接收到的映像文件的数量等于 预设值的整数倍时, 或者, 若数量不等于预设值的整数倍且映像文件被发送 完毕时, 向控制器发送第二更新响应, 第二更新响应用于指示若映像文件未 被发送完毕, 则向无线接入设备继续发送未发送的标识信息对应的映像文件;
104、 当映像文件被发送完毕后, 存储并更新所有接收到的映像文件。 采用上述方案后, 只有当无线接入设备接收到的映像文件的数量等于预 设值的整数倍, 或者, 接收到的映像文件的数量不等于预设值的整数倍且映 像文件被发送完毕时, 才向控制器发送第二更新响应, 第二更新响应用于指 示控制器向无线接入设备继续发送未发送的映像文件, 减少了无线接入设备 向控制器发送第二更新响应的数量, 缩短了基于 CAPWAP协议的 WLAN WTP 固 件版本升级的时间, 增加了 WLAN WTP的性能。
本实施例提供另一种基于 CAPWAP协议的 WLAN WTP固件版本升级的方法, 该方法时图 1所示的方法的进一步扩展, 如图 2所示, 可以包括:
201、 无线接入设备向控制器发送更新请求, 更新请求包含待更新映像文 件标识信息, 控制器用于控制无线接入设备。
作为本实施例的一种实施方式, 更新请求可以为但不限于: Image Data Reques t (Image Ident if ier=f i lename , Ini t iate Download , Image Capabi l i ty) 。
其中, Image Ident if ier , 和 f i l ename可以为待升级的固件版本包含的 映像文件的标识信息; Ini t iate Download可以用于指示控制器向网络接入设 备发送标识信息对应的映像文件; Image Capabi l i ty可以用于指示控制器向 网络接入设备发送映像文件的方式。
Image Capabi l i ty指示控制器向网络接入设备发送映像文件的方式可以 包括但不限于: 一对一方式、 一对多方式等。
一对一方式可以为: 控制器每向网络接入设备发送一个映像文件后, 网 络接入设备需向控制器发送第二更新响应后, 控制器才继续向网络接入设备 发送未发送的一个映像文件, 循环执行上述步骤, 直到标识信息对应的映射 文件被发送完成;
一对多方式可以为: 控制器每向网络接入设备发送预设值个映像文件后 , 网络接入设备需向控制器发送第二更新响应后, 控制器才继续向网络接入设 备发送未发送完的预设值个映像文件, 循环执行上述步骤, 直到标识信息对 应的映射文件被发送完成。
如图 3所示, 可以为控制器每向网络接入设备发送 3个映射文件, 且网 络接入设备接收到该 3 个映像文件并向控制器发送第二更新响应后, 控制器 继续向网络接入设备发送其余的未发送的 3 个映像文件, 循环上述步骤, 直 到映像文件被发送完成。
202、 接收控制器发送的第一更新响应, 第一更新响应包含预设值, 预设 值大于等于 2。
作为本实施例的一种实施方式,第一更新响应可以为但不限于 Image Data Response (Resul t Code=Succes s, Image Inf ormat ion = {s ize, hash=0} , Image Capabi l i ty)。
其中, s i ze可以为每发送的一个映射文件的长度; Image Capab i l i ty可 以包含预设值。
进一步的, 更新请求还可以包含指示信息, 指示信息用于指示控制器配 置预设值。
作为本实施例的一种实施方式, Image Capab i 1 i ty的格式可以为: i3/: O 89/-8/-il£ osoiAV
Figure imgf000009_0001
3¾lfl;flu0 QsuodsQ Qsjsd Q§¾s :n· . 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
I Image Upgrade Response Count I Image Upgrade Response Count Length
I
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
I Image Upgrade Response Count Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Image Upgrade Response Count的取值可以为预设值。
本实施例对 Image Capability包含的信息的取值不作限定, 可以根据实 际需要进行设定, 例如, 可以根据协议进行设定, 在此不再赘述。
本实施例对控制器配置预设值的方法不作限定, 可以根据实际需要进行 设定, 例如, 控制器可以根据控制器接入的网络带宽配置预设值, 预设值可 以为但不限于大于或等于 2的整数, 在此不再赘述。
203、 接收标识信息对应的映像文件, 直到接收到的映像文件的数量等于 预设值的整数倍时, 或者, 若数量不等于预设值的整数倍且映像文件被发送 完毕时, 向控制器发送第二更新响应, 第二更新响应用于指示若映像文件未 被发送完毕, 则向无线接入设备继续发送未发送的标识信息对应的映像文件。
待升级的固件版本包含的映像文件可能一次向 WTP发送完成, 可能分至 少两次向 WTP发送。
作为本实施例的一种实施方式, 图 3所示的为需 AC向 WTP发送 6次不同 的映射文件, 才可完成固件版本的升级。
其中, 映射文件可以包含与但不限于 Image Data Response (Image Data = Data)中。
204、 当映像文件被发送完毕后, 存储并更新所有接收到的映像文件。 当控制器向网络接入设备发送给最后一个包含有映射文件的 Image Data
Response时,该 Image Data Response中可以携带标识该 Image Data Response 中携带的映射文件为最后的映射文件的标识信息。 例如, 可以为: Image Data Reques t (Image Informat ion = {s i ze, hash} , Image Data = EOF) , 其中, EOF可以为标识该 Image Da ta Response中携带的映射文件为最后的映射文件 的标识信息。
采用上述方案后, 只有当无线接入设备接收到的映像文件的数量等于预 设值的整数倍, 或者, 接收到的映像文件的数量不等于预设值的整数倍且映 像文件被发送完毕时, 才向控制器发送第二更新响应, 第二更新响应用于指 示控制器向无线接入设备继续发送未发送的映像文件, 减少了无线接入设备 向控制器发送第二更新响应的数量, 缩短了基于 CAPWAP协议的 WLAN WTP 固 件版本升级的时间, 增加了 WLAN WTP的性能。
本实施例提供另一种基于 CAPWAP协议的 WLAN WTP固件版本升级的方法, 该方法的执行主体可以为控制器, 如图 4所示, 可以包括:
401、 控制器接收无线接入设备发送的更新请求, 更新请求包含待更新映 像文件标识信息, 控制器用于控制无线接入设备;
进一步的, 更新请求还包含指示信息, 指示信息用于指示控制器预设值;
402、 向无线接入设备发送第一更新响应, 第一更新响应包含预设值, 预 设值大于等于 2;
403、 向无线接入设备发送标识信息对应的映像文件, 直到发送的映像文 件的数量等于预设值的整数倍, 或者, 若数量不等于预设值的整数倍且映像 文件被发送完毕;
404、 接收无线接入设备发送的第二更新响应, 第二更新响应用于指示若 映像文件未被发送完毕, 则向无线接入设备继续发送未发送的标识信息对应 的映像文件。
采用上述方案后, 只有当控制器发送的映像文件的数量等于预设值的整 数倍, 或者, 发送的映像文件的数量不等于预设值的整数倍且映像文件被发 送完毕, 且接收到第二更新响应后, 才向无线接入设备继续发送未发送的映 像文件, 减少了无线接入设备向控制器发送第二更新响应的数量, 缩短了基 于 CAPWAP协议的 WLAN WTP固件版本升级的时间, 增加了 WLAN WTP的性能。 本实施例提供一种无线接入设备, 如图 5所示, 可以包括:
处理器 5 1 , 用于向控制器发送更新请求, 更新请求包含待更新映像文件 标识信息, 控制器用于控制无线接入设备; 接收控制器发送的第一更新响应, 第一更新响应包含预设值,预设值大于等于 2 ;接收标识信息对应的映像文件, 直到接收到的映像文件的数量等于预设值的整数倍时, 或者, 若数量不等于 预设值的整数倍且映像文件被发送完毕时, 向控制器发送第二更新响应, 第 二更新响应用于指示若映像文件未被发送完毕, 则向无线接入设备继续发送 未发送的标识信息对应的映像文件;
存储器 52 , 用于当映像文件被处理器发送完毕后, 存储并更新所有接收 到的映像文件。
进一步的, 处理器还用于向控制器发送更新请求, 更新请求还包含指示 信息, 指示信息用于指示控制器配置预设值。
采用上述方案后, 只有当处理器接收到的映像文件的数量等于预设值的 整数倍, 或者, 接收到的映像文件的数量不等于预设值的整数倍且映像文件 被发送完毕时, 才向控制器发送第二更新响应, 第二更新响应用于指示控制 器向无线接入设备继续发送未发送的映像文件, 减少了无线接入设备向控制 器发送第二更新响应的数量, 缩短了基于 CAPWAP协议的 WLAN WTP 固件版本 升级的时间, 增加了 WLAN WTP的性能。
本实施例提供一种控制器, 如图 6所示, 可以包括:
处理器 61 , 用于接收无线接入设备发送的更新请求, 更新请求包含待更 新映像文件标识信息, 控制器用于控制无线接入设备; 向无线接入设备发送 第一更新响应, 第一更新响应包含预设值, 预设值大于等于 2 ; 向无线接入设 备发送标识信息对应的映像文件, 直到发送的映像文件的数量等于预设值的 整数倍, 或者, 若数量不等于预设值的整数倍且映像文件被发送完毕; 接收 无线接入设备发送的第二更新响应, 第二更新响应用于指示若映像文件未被 发送完毕, 则向无线接入设备继续发送未发送的标识信息对应的映像文件; 存储器 62 , 用于存储处理器接收的更新请求包含的标识信息对应的映像 文件。
进一步的, 处理器还用于接收更新请求, 更新请求包含指示信息, 指示 信息用于指示控制器预设值。
采用上述方案后, 只有当处理器发送的映像文件的数量等于预设值的整 数倍, 或者, 发送的映像文件的数量不等于预设值的整数倍且映像文件被发 送完毕, 且接收到第二更新响应后, 才向无线接入设备继续发送未发送的映 像文件, 减少了无线接入设备向控制器发送第二更新响应的数量, 缩短了基 于 CAPWAP协议的 WLAN WTP固件版本升级的时间, 增加了 WLAN WTP的性能。
本实施例提供一种基于 CAPWAP协议的 WLAN WTP 固件版本升级的系统, 如图 7所示, 可以包括: 以上实施例提供的无线接入设备 71、 和以上实施例 提供的控制器 72。
采用上述方案后, 只有当无线接入设备接收到的映像文件的数量等于预 设值的整数倍, 或者, 接收到的映像文件的数量不等于预设值的整数倍且映 像文件被发送完毕时, 才向控制器发送第二更新响应, 第二更新响应用于指 示控制器向无线接入设备继续发送未发送的映像文件, 减少了无线接入设备 向控制器发送第二更新响应的数量, 缩短了基于 CAPWAP协议的 WLAN WTP 固 件版本升级的时间, 增加了 WLAN WTP的性能。
通过以上的实施方式的描述, 所属领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但 很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该 计算机软件产品存储在可读取的存储介质中, 如计算机的软盘, 硬盘或光盘 等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。

Claims

权利要求 书
1、 一种基于 CAPWAP协议的 WLAN WTP固件版本升级的方法, 其特征在于, 包括:
无线接入设备向控制器发送更新请求, 所述更新请求包含待更新映像文件 标识信息, 所述控制器用于控制所述无线接入设备;
接收所述控制器发送的第一更新响应, 所述第一更新响应包含预设值, 所 述预设值大于等于 2 ;
接收所述标识信息对应的映像文件, 直到接收到的映像文件的数量等于所 述预设值的整数倍时, 或者, 若所述数量不等于所述预设值的整数倍且映像文 件被发送完毕时, 向所述控制器发送第二更新响应, 所述第二更新响应用于指 示若映像文件未被发送完毕, 则向所述无线接入设备继续发送未发送的所述标 识信息对应的映像文件;
当映像文件被发送完毕后, 存储并更新所有接收到的映像文件。
2、 根据权利要求 1所述的方法, 其特征在于, 所述更新请求还包含指示信 息, 所述指示信息用于指示所述控制器配置所述预设值。
3、 一种基于 CAPWAP协议的 WLAN WTP固件版本升级的方法, 其特征在于, 包括:
控制器接收无线接入设备发送的更新请求, 所述更新请求包含待更新映像 文件标识信息, 所述控制器用于控制所述无线接入设备;
向所述无线接入设备发送第一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等于 2 ;
向所述无线接入设备发送所述标识信息对应的映像文件, 直到发送的映像 文件的数量等于所述预设值的整数倍, 或者, 若所述数量不等于所述预设值的 整数倍且映像文件被发送完毕;
接收所述无线接入设备发送的第二更新响应, 所述第二更新响应用于指示 若映像文件未被发送完毕, 则向所述无线接入设备继续发送未发送的所述标识 信息对应的映像文件。
4、 根据权利要求 3所述的方法, 其特征在于, 所述更新请求还包含指示信 息, 所述指示信息用于指示所述控制器所述预设值。
5、 一种无线接入设备, 其特征在于, 包括:
处理器, 用于向控制器发送更新请求, 所述更新请求包含待更新映像文件 标识信息, 所述控制器用于控制所述无线接入设备; 接收所述控制器发送的第 一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等于 2; 接收所述 标识信息对应的映像文件, 直到接收到的映像文件的数量等于所述预设值的整 数倍时, 或者, 若所述数量不等于所述预设值的整数倍且映像文件被发送完毕 时, 向所述控制器发送第二更新响应, 所述第二更新响应用于指示若映像文件 未被发送完毕, 则向所述无线接入设备继续发送未发送的所述标识信息对应的 映像文件;
存储器, 用于当映像文件被所述处理器发送完毕后, 存储并更新所有接收 到的映像文件。
6、 根据权利要求 5所述的无线接入设备, 其特征在于, 所述处理器用于向 控制器发送所述更新请求, 所述更新请求还包含指示信息, 所述指示信息用于 指示所述控制器配置所述预设值。
7、 一种控制器, 其特征在于, 包括:
处理器, 用于接收无线接入设备发送的更新请求, 所述更新请求包含待更 新映像文件标识信息, 所述控制器用于控制所述无线接入设备; 向所述无线接 入设备发送第一更新响应, 所述第一更新响应包含预设值, 所述预设值大于等 于 2; 向所述无线接入设备发送所述标识信息对应的映像文件, 直到发送的映像 文件的数量等于所述预设值的整数倍, 或者, 若所述数量不等于所述预设值的 整数倍且映像文件被发送完毕; 接收所述无线接入设备发送的第二更新响应, 所述第二更新响应用于指示若映像文件未被发送完毕, 则向所述无线接入设备 继续发送未发送的所述标识信息对应的映像文件;
存储器, 用于存储所述处理器接收的更新请求包含的标识信息对应的映像 文件。
8、 根据权利要求 7所述的控制器, 其特征在于, 所述处理器用于接收所述 更新请求, 所述更新请求包含指示信息, 所述指示信息用于指示所述控制器所 述预设值。
9、 一种基于 CAPWAP协议的 WLAN WTP固件版本升级的系统, 其特征在于, 包括: 权利要求 5至 6任意一项所述的无线接入设备、 和权利要求 7至 8任意 一项所述的控制器。
PCT/CN2012/078768 2012-07-17 2012-07-17 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统 WO2014012220A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2012800005184A CN102907032A (zh) 2012-07-17 2012-07-17 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统
PCT/CN2012/078768 WO2014012220A1 (zh) 2012-07-17 2012-07-17 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/078768 WO2014012220A1 (zh) 2012-07-17 2012-07-17 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2014012220A1 true WO2014012220A1 (zh) 2014-01-23

Family

ID=47577499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078768 WO2014012220A1 (zh) 2012-07-17 2012-07-17 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统

Country Status (2)

Country Link
CN (1) CN102907032A (zh)
WO (1) WO2014012220A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391810A (zh) * 2015-11-06 2016-03-09 北京中星微电子有限公司 终端设备接口装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014012220A1 (zh) * 2012-07-17 2014-01-23 华为技术有限公司 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统
CN105101195B (zh) * 2014-04-30 2018-11-30 华为技术有限公司 网络准入的控制方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056209A (zh) * 2007-05-25 2007-10-17 杭州华三通信技术有限公司 一种无线终端映像文件维护方法及设备
CN101668041A (zh) * 2009-09-10 2010-03-10 杭州华三通信技术有限公司 一种分布式ap下载的方法和装置
CN101801110A (zh) * 2010-03-10 2010-08-11 北京傲天动联技术有限公司 一种基于瘦ap架构的无线局域网的升级方法
CN102907032A (zh) * 2012-07-17 2013-01-30 华为技术有限公司 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055782B (zh) * 2009-10-29 2013-11-13 纬创资通股份有限公司 利用网络传输文件的方法与文件传输系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056209A (zh) * 2007-05-25 2007-10-17 杭州华三通信技术有限公司 一种无线终端映像文件维护方法及设备
CN101668041A (zh) * 2009-09-10 2010-03-10 杭州华三通信技术有限公司 一种分布式ap下载的方法和装置
CN101801110A (zh) * 2010-03-10 2010-08-11 北京傲天动联技术有限公司 一种基于瘦ap架构的无线局域网的升级方法
CN102907032A (zh) * 2012-07-17 2013-01-30 华为技术有限公司 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Control and provisioning of wireless access points (capwap) protocol specification", 31 March 1999 (1999-03-31), pages 120 - 131, Retrieved from the Internet <URL:http://tools.ietf.org/pdf/rfc5415.pdf> *
WANG, HAIJUN ET AL.: "Analysis and research of a reliable transmission protocol based on UDP. Application research of computer.", vol. 22, no. 11, November 2005 (2005-11-01), pages 181 - 183 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391810A (zh) * 2015-11-06 2016-03-09 北京中星微电子有限公司 终端设备接口装置
CN105391810B (zh) * 2015-11-06 2020-12-22 广东中星电子有限公司 终端设备接口装置

Also Published As

Publication number Publication date
CN102907032A (zh) 2013-01-30

Similar Documents

Publication Publication Date Title
US10268471B2 (en) Method for upgrading terminal system, terminal, and system
US10541869B2 (en) Upgrading of controller cluster
WO2020135355A1 (zh) 一种无线网络配置方法及装置
WO2019076037A1 (zh) 升级固件的方法和装置
CN110855496B (zh) 一种基于sig mesh的ota升级方法
WO2011137793A1 (zh) 实现zigbee设备远程升级的方法、装置及网络系统
WO2012174799A1 (zh) 升级包下载及安装的方法、服务器及系统
WO2011156998A1 (zh) 一种实现设备自动配置的系统及方法
JP2004534994A5 (zh)
WO2016019725A1 (zh) 一种软件升级管理方法、设备、系统及计算机存储介质
WO2012097566A1 (zh) Rtr单板的版本升级方法及装置
WO2011085586A1 (zh) 隧道建立方法、设备及网络系统
CN110635957B (zh) 用于物联设备配网的方法和装置、移动终端
WO2016058133A1 (zh) 软件升级方法及设备
WO2015127850A1 (zh) 一种数据升级的方法和中心服务器
WO2016078431A1 (zh) 策略文件同步管理的方法及策略同步服务器和管理设备
WO2012152090A1 (zh) 多模终端的终端管理升级方法及装置
WO2014161278A1 (zh) 一种移动终端及其升级方法
WO2014012220A1 (zh) 基于capwap协议的wlan wtp固件版本升级的方法、装置和系统
WO2012094853A1 (zh) 终端软件的安装方法、装置和系统
WO2017124741A1 (zh) 一种设备版本同步方法及装置
WO2010075738A1 (zh) 一种管理多模网元的方法、系统及多模网元
WO2014015743A1 (zh) 下载应用程序的方法、用户设备和应用服务器
EP2721753A2 (en) Method and apparatus for controlling an optical network unit to restart upon completion of downloading new software
WO2016184209A1 (zh) 一种应用下载方法、推送方法、装置及系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000518.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12881337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12881337

Country of ref document: EP

Kind code of ref document: A1