CN108762779B - BACnet-based intelligent platform software upgrading method - Google Patents
BACnet-based intelligent platform software upgrading method Download PDFInfo
- Publication number
- CN108762779B CN108762779B CN201810409333.8A CN201810409333A CN108762779B CN 108762779 B CN108762779 B CN 108762779B CN 201810409333 A CN201810409333 A CN 201810409333A CN 108762779 B CN108762779 B CN 108762779B
- Authority
- CN
- China
- Prior art keywords
- firmware
- platform
- upgrading
- firmware package
- bacnet
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses an intelligent platform software upgrading method based on BACnet, which comprises the following steps: selecting an upgrade file; judging whether the upgrade file is valid, if not, prompting to restart the upgrade and returning to the first step, if so, broadcasting and notifying related equipment through private customized service, wherein the broadcast content comprises a firmware size check code and a model version, and then preparing to send a firmware package; sending the firmware package through a private customized service broadcast; judging whether the sending of the firmware package is finished, if not, returning to the third step, and if so, entering the fourth step; waiting for a firmware loss application returned by the related equipment, prompting upgrading failure if waiting overtime, detecting whether all firmware packages are completely upgraded if the firmware loss application is received within a time limit, finishing the upgrading if the firmware package is completely upgraded, and continuing waiting for the firmware loss application if the firmware package is not completely upgraded. The method improves the firmware upgrading efficiency and reduces the upgrading maintenance cost of the BACnet equipment.
Description
Technical Field
The invention relates to the technical field of firmware upgrading, in particular to an intelligent platform software upgrading method based on BACnet.
Background
BACnet is a communication protocol for smart buildings, and is also a communication protocol defined by the international organization for standardization (ISO), American National Standards Institute (ANSI), and american society of heating, cooling, and air conditioning engineers (ASHRAE). BACnet is designed for communication in applications of intelligent buildings and control systems, and can be used in heating, ventilation and air conditioning (HVAC) systems, as well as lighting control, access control systems, fire detection systems, and related devices. As shown in fig. 1, a plurality of BACnet devices can be simultaneously accessed in one BACnet network, and the devices adopting the BACnet system cannot be directly upgraded through online firmware of the network at present, and cannot rapidly repair bug of the product, so that the building system is relatively large, and the cost for loading, unloading and returning to the factory is too high, and therefore, the BACnet network can only be supported by home maintenance.
The main reasons for the above problems are: the BACnet protocol has no definite upgrading process, the network environment is relatively severe, interference influence factors (electromagnetic interference, radiation interference and power grid interference) are easily received too much, and the stability and reliability of the transmission process cannot be ensured, so that the BACnet protocol product cannot be directly upgraded through the conventional BACnet network.
Therefore, the inventor especially develops the BACnet-based intelligent platform software upgrading method to improve the upgrading efficiency and reduce the maintenance cost.
Disclosure of Invention
The invention aims to provide an intelligent platform software upgrading method based on BACnet so as to improve upgrading efficiency and reduce upgrading maintenance cost of BACnet equipment.
In order to achieve the purpose, the technical scheme of the invention is as follows:
the intelligent platform software upgrading method based on the BACnet comprises the following steps:
firstly, selecting an upgrade file;
secondly, judging whether the upgrade file is valid, if not, prompting to restart the upgrade and returning to the first step, if so, broadcasting and informing related equipment through private customized service, wherein the broadcast content comprises a firmware size check code and a model version, and then preparing to send a firmware package;
thirdly, sending the firmware package through private customized service broadcasting, wherein the sending mechanism is sub-package sending;
step three, judging whether the sending of the firmware packet is finished, if not, returning to the step three, and if so, entering the step four;
and fourthly, waiting for a firmware loss application returned by the related equipment, prompting upgrading failure if the waiting is overtime, detecting whether all firmware packages are completely upgraded if the firmware loss application is received within a time limit, finishing the upgrading if the firmware package is completely upgraded, and continuing waiting for the firmware loss application if the upgrading is not completed.
After the scheme is adopted, the invention has the following advantages:
the invention utilizes the existing BACnet network, transmits protocol contents through private customized service, has simple use, safety and high-efficiency transmission flow, ensures that equipment can be directly transmitted through the existing network, and reduces the cost problems of equipment returning to factories and personnel visiting service.
The invention is further described with reference to the following figures and detailed description.
Drawings
FIG. 1 is a schematic diagram of a BACnet network connection;
FIG. 2 is a flow chart of the intelligent platform software upgrading method based on BACnet of the present invention.
Detailed Description
As shown in fig. 2, the method for upgrading software of an intelligent platform based on BACnet according to the present invention includes:
firstly, selecting an upgrade file, and generally checking a latest firmware seat upgrade file at a network cloud end by a PC application;
secondly, judging whether the upgrade file is valid, if not, prompting to restart the upgrade and returning to the first step, if so, broadcasting and informing related equipment through private customized service, wherein the broadcast content comprises a firmware size check code and a model version, and then preparing to send a firmware package;
and thirdly, sending a firmware package through private customized service broadcasting, specifically, downloading the firmware to the local through a network cloud, and then sending the firmware to a BACnet network for upgrading, wherein the sending mechanism is sub-package sending, and the sub-package sending concept is as follows: segmenting data of a large file, and adding data check codes in a labeling sequence to ensure the completeness and reliability of the data;
step three, judging whether the sending of the firmware packet is finished or not, if not, returning to the step three, and if so, entering the step four;
and fourthly, waiting for a firmware loss application returned by the related equipment, prompting upgrading failure if the waiting is overtime, detecting whether all firmware packages are completely upgraded if the firmware loss application is received within a time limit, finishing the upgrading if the firmware package is completely upgraded, and continuing waiting for the firmware loss application if the upgrading is not completed.
The rapid and stable upgrading process provided by the invention can ensure that the related equipment can finish firmware upgrading through the existing network protocol.
The above are merely specific examples of the present invention, and do not limit the scope of the present invention. All equivalent changes made according to the design idea of the present application fall under the protection of the present application.
Claims (1)
1. The intelligent platform software upgrading method based on BACnet is characterized by comprising the following steps:
step one, the platform selects an upgrade file: the PC application checks the latest firmware package of the network cloud as an upgrade file;
secondly, the platform judges whether the upgrade file is valid, if the upgrade file is invalid, the platform prompts to restart the upgrade and returns to the first step, if the upgrade file is valid, the platform informs the BACnet equipment through private customized service broadcasting, and the broadcasting content contains a firmware package size check code and a model version and is then ready to send a firmware package;
thirdly, the platform sends a firmware package through private customized service broadcasting: the firmware package is downloaded to the local through a network cloud, and is sent to a BACnet network for upgrading through private customized service broadcasting, wherein the sending mechanism is sub-package sending, namely a larger file is sent in a data segmentation mode, and a mode of adding data check codes in sequence is marked;
step four, the platform judges whether the sending of the firmware package is finished, if not, the third step is returned, and if so, the fifth step is carried out;
and fifthly, the platform waits for a firmware package loss application returned by the related equipment, prompts failure of upgrading if the platform waits overtime, detects whether all the firmware is completely upgraded if the platform receives the firmware package loss application within a time limit, ends the firmware package loss application if the platform finishes upgrading, and continues to wait for the firmware package loss application if the platform does not finish upgrading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810409333.8A CN108762779B (en) | 2018-05-02 | 2018-05-02 | BACnet-based intelligent platform software upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810409333.8A CN108762779B (en) | 2018-05-02 | 2018-05-02 | BACnet-based intelligent platform software upgrading method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108762779A CN108762779A (en) | 2018-11-06 |
CN108762779B true CN108762779B (en) | 2022-08-09 |
Family
ID=64009450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810409333.8A Active CN108762779B (en) | 2018-05-02 | 2018-05-02 | BACnet-based intelligent platform software upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762779B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799454A (en) * | 2012-07-13 | 2012-11-28 | 中广传播集团有限公司 | Air upgrading and uploading method of terminal software |
CN105450455A (en) * | 2015-12-11 | 2016-03-30 | 上海市共进通信技术有限公司 | System and method for automatically upgrading network devices in batch in factory |
EP3035642A1 (en) * | 2013-08-12 | 2016-06-22 | Chigoo Interactive Technology Co., Ltd. | Software updating method, system, and device |
CN106648669A (en) * | 2016-12-26 | 2017-05-10 | 广东芬尼克兹节能设备有限公司 | Remote firmware upgrading method and system for product equipment |
-
2018
- 2018-05-02 CN CN201810409333.8A patent/CN108762779B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799454A (en) * | 2012-07-13 | 2012-11-28 | 中广传播集团有限公司 | Air upgrading and uploading method of terminal software |
EP3035642A1 (en) * | 2013-08-12 | 2016-06-22 | Chigoo Interactive Technology Co., Ltd. | Software updating method, system, and device |
CN105450455A (en) * | 2015-12-11 | 2016-03-30 | 上海市共进通信技术有限公司 | System and method for automatically upgrading network devices in batch in factory |
CN106648669A (en) * | 2016-12-26 | 2017-05-10 | 广东芬尼克兹节能设备有限公司 | Remote firmware upgrading method and system for product equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108762779A (en) | 2018-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103677946A (en) | Method and system for updating elevator device control programs | |
CN205787872U (en) | A kind of intelligent control system of domestic electric appliances based on Internet of Things | |
CN103777538B (en) | The baud rate automatic matching method of controller and CAN | |
CN106055373A (en) | Automatic batch upgrading device and method for unmanned aerial vehicle firmware | |
CN103047739B (en) | Intelligent central ventilation system and remote automatic batch software updating method | |
CN104468235A (en) | Allocable full-network remote node firmware upgrading system and device based on IAP | |
CN104503796A (en) | IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method | |
CN103716901A (en) | Method and system used for building connection between apparatuses and related equipment | |
CN102694870A (en) | Online upgrading method of gateway for dynamically allocating address | |
CN102740337A (en) | Remote maintenance method of base station and system thereof | |
CN106254357A (en) | A kind of building conversational system based on Quick Response Code configuration system and method | |
CN109067560B (en) | Self-description terminal plug and play method based on open communication | |
CN103744707B (en) | A kind of VCI device program upgrade method, device and system | |
CN101916200A (en) | Method for terminal upgrading, method for backoff of terminal upgrading and upgrading management center | |
CN102546341B (en) | Method for detecting address conflicts in multi-connected air-conditioning units | |
US9560167B2 (en) | Network system, communication method, server, and terminal | |
CN108762779B (en) | BACnet-based intelligent platform software upgrading method | |
CN108895617A (en) | The communication means of air-conditioner system and air-conditioner system | |
CN102681519A (en) | Intelligent building control and monitoring management platform as well as corresponding control and monitoring management method | |
CN112731877B (en) | Control method of smart home | |
EP2894912A1 (en) | Method and apparatus for gateway management terminal | |
CN202600464U (en) | Intelligent building controlling and monitoring management platform | |
CN104848472A (en) | Air conditioner monitoring system, OPC server for air conditioner and OPC connecting method | |
CN106034058A (en) | Control method of household appliances and apparatus thereof | |
CN105135634A (en) | Multi-mode air conditioner networking control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 361000 building 37, huliyuan, Tongan Industrial Concentration Zone, Xiamen City, Fujian Province Applicant after: Xiamen Walda Intelligent Technology Co.,Ltd. Address before: 361000 building 37, huliyuan, Tongan Industrial Concentration Zone, Xiamen City, Fujian Province Applicant before: Harda (Xiamen) Plastic Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |