The BACnet-based software upgrade method for intelligent platform disclosed by the invention includes: selecting the upgrade file; judging whether the upgrade file is valid or not; prompting the upgrade to start again if it is invalid and returning to the first step; notifying the relevant equipment through private customized service broadcasting if it is valid; broadcasting content includes firmware size check code and model. Version, then ready to send firmware package; send firmware package through private customized service broadcast; judge whether firmware package is sent completed, return to the third step if not completed, and enter the fourth step if it is completed; wait for firmware loss application returned by related equipment, if waiting for timeout, it will prompt the upgrade failure, if the firmware package is received within the time limit The application for lost firmware is checked to see if all firmware packages have been upgraded, if the upgrade is completed, the application for lost firmware will be completed, and if the upgrade is not completed, the application for lost firmware will continue to wait. This method improves the efficiency of firmware upgrading and reduces the upgrade and maintenance cost of BACnet devices.
【技术实现步骤摘要】
基于BACnet的智能平台软件升级方法
本专利技术涉及固件升级
,特别涉及一种基于BACnet的智能平台软件升级方法。
技术介绍
BACnet是用于智能建筑的通信协议,也是国际标准化组织(ISO)、美国国家标准协会(ANSI)及美国采暖、制冷与空调工程师学会(ASHRAE)定义的通信协议。BACnet针对智能建筑及控制系统的应用所设计的通信,可用在暖通空调系统(HVAC,包括暖气、通风、空气调节)也可以用在照明控制、门禁系统、火警侦测系统及其相关的设备。如图1所示,一个BACnet网络中可同时接入多台BACnet设备,目前采用BACnet系统的设备并不能直接通过网络在线固件直接升级,设备无法快速修复产品本身bug,而楼宇系统相对庞大,装卸返厂成本过高,所以只能通过上门维护支持。出现上述问题的主要原因在于:BACnet协议中没有明确的升级流程,网络环境相对恶劣,容易收到干扰影响因素(电磁干扰,辐射干扰,电网干扰)过多,无法保证传输流程稳定可靠,导致BACnet协议产品无法通过现有BACnet网络直接升级。因此,本专利技术人特别研制出基于BACnet的智能平台软件升级方法,以提高升级效率,降低维修成本。
技术实现思路
本专利技术的目的在于提供基于BACnet的智能平台软件升级方法,以提高升级效率,降低BACnet设备的升级维护成本。为了实现上述目的,本专利技术的技术方案如下:基于BACnet的智能平台软件升级方法,包括:第一步,选择升级文件;第二步,判断升级文件是否有效,若无效则提示重新开始升级并返回第一步,若有效则通过私有定制服务广播通知相关设备,广播内容 ...
【技术保护点】
1.基于BACnet的智能平台软件升级方法,其特征在于包括:第一步,选择升级文件;第二步,判断升级文件是否有效,若无效则提示重新开始升级并返回第一步,若有效则通过私有定制服务广播通知相关设备,广播内容包含固件大小校验码和型号版本,然后准备发送固件包;第三步,通过私有定制服务广播发送固件包;第三步,判断固件包是否发送完成,若未完成则返回第三步,若完成则进入第四步;第四步,等待相关设备返回的固件丢失申请,若等待超时则提示升级失败,若在时限内收到固件丢失申请则检测是否收到所有固件包均升级完成,若升级完成则结束,若升级未完成则继续等待固件丢失申请。
【技术特征摘要】
1.基于BACnet的智能平台软件升级方法,其特征在于包括:第一步,选择升级文件;第二步,判断升级文件是否有效,若无效则提示重新开始升级并返回第一步,若有效则通过私有定制服务广播通知相关设备,广播内容包含固件大小校验码和型号版本,然后准备发送固件包;第三步,通过私有定制服务广播发送固件包;第三步,判断固件包是否发送完成,若未完成...
【专利技术属性】
技术研发人员:洪文勇,
申请(专利权)人:华尔达厦门塑胶有限公司,
类型:发明
国别省市:福建,35
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。