CN107479877B - Automatic upgrading method for heat pump hot water controller - Google Patents

Automatic upgrading method for heat pump hot water controller Download PDF

Info

Publication number
CN107479877B
CN107479877B CN201710608388.7A CN201710608388A CN107479877B CN 107479877 B CN107479877 B CN 107479877B CN 201710608388 A CN201710608388 A CN 201710608388A CN 107479877 B CN107479877 B CN 107479877B
Authority
CN
China
Prior art keywords
controller
upgrading
upgrade
information
mobile phone
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
Application number
CN201710608388.7A
Other languages
Chinese (zh)
Other versions
CN107479877A (en
Inventor
李百尧
贾捷
李嘉豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Chico Electronic Inc
Original Assignee
Guangdong Chico Electronic Inc
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 Guangdong Chico Electronic Inc filed Critical Guangdong Chico Electronic Inc
Priority to CN201710608388.7A priority Critical patent/CN107479877B/en
Publication of CN107479877A publication Critical patent/CN107479877A/en
Application granted granted Critical
Publication of CN107479877B publication Critical patent/CN107479877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention provides an automatic upgrading method for a heat pump hot water controller, which comprises the following steps: step 1: reading information of the wire controller or the controller through the mobile terminal, and comparing the information with the corresponding information of the wire controller or the controller in the cloud database to confirm equipment needing to be upgraded; step 2: remotely upgrading the wire controller and/or the controller through the mobile terminal; and step 3: the method for automatically upgrading the heat pump hot water controller can be completed at a mobile terminal, is more convenient and flexible than a common method, and is suitable for maintaining a plurality of devices with unified ports.

Description

Automatic upgrading method for heat pump hot water controller
Technical Field
The invention relates to the technical field of equipment upgrading, in particular to an automatic upgrading method for a heat pump hot water controller.
Background
In actual production and life, a large number of industrial facilities are managed by electronic devices and computer programs, on one hand, the electronic devices have a certain failure rate in production, and on the other hand, software integrated with the electronic devices is not suitable for the production process which is continuously updated due to version aging. The maintenance and upgrading of such field devices has become a technical problem that people need to solve first.
Taking an air energy heat pump in the process of changing coal into electricity as an example, in Texas city, Shandong, 2000 small coal boilers replace millions of farmers for clean energy heating, and the air energy heat pump has a great demand for heating.
The use of the coal-to-electricity air energy heat pump benefits from the strong advocated and subsidized government. The expansion of local power supply lines is invested by the government. The equipment cost for purchasing the heating heat pump is 70-80% borne by the government. The daily electricity charge is 30% respectively charged by two levels of governments in the city and the district. Government intervention requires that the heat pump controller have a unified remote data interface for providing heat pump operating data to the background. The remote data interface provides a data path for realizing the function upgrade of the heat pump controller.
The maintenance of the system composed of a large number of devices with uniform remote data interfaces puts forward new requirements for remote maintenance, for example, when some devices have maintenance requirements, the devices to be maintained are accurately determined and maintained in time, and the operation of the maintenance system is ensured to be efficient and reliable.
Disclosure of Invention
In order to meet the above-mentioned needs, an object of the present invention is to provide an automatic upgrading method for a heat pump hot water controller, which can efficiently and reliably maintain a large number of devices with unified remote data interfaces, and enable maintenance personnel to conveniently control the maintenance and upgrading of the devices at a mobile terminal.
The technical scheme adopted by the invention is as follows:
an automatic upgrading method for a heat pump hot water controller comprises the following steps:
step 1: reading information of the wire controller or the controller through the mobile terminal, and comparing the information with the corresponding information of the wire controller or the controller in the cloud database to confirm equipment needing to be upgraded;
step 2: remotely upgrading the wire controller and/or the controller through the mobile terminal;
and step 3: and updating the related information of the upgraded equipment in the cloud database.
Further, the maintenance personnel can submit the unique identification code of the equipment to be maintained or the two-dimensional code of the equipment on the mobile terminal.
Further, in the process of confirming the equipment needing to be upgraded, the MCU model of the line controller, the MCU model of the controller and the unique identification code need to be verified, and if the user submits the two-dimensional code of the equipment, the two-dimensional code also needs to be verified.
Furthermore, when the line controller and the controller need to be upgraded, the line controller is preferentially upgraded, and for the controller, the controller is upgraded according to the on-line condition of the field device and the logical address of the device.
Further, after the equipment upgrading is completed, the wire controller or the controller is restarted from the mobile terminal to run.
Further, the mobile terminal receives the information after the rerun, checks the software code version of the equipment, and deletes the old version software after the successful check.
Further, after the software version is checked, the mobile terminal transmits the version information of the line controller or the controller software back to the database, sends back the upgrade completion information, and changes the code upgrade time of the equipment in the cloud database.
Further, if the upgrade fails or the user equipment is powered off in the upgrade process, the upgrade is carried out again.
The invention has the beneficial effects that the invention provides a simple and reliable automatic upgrading method for the heat pump water heater controller, realizes the disassembly-free maintenance of the heat pump water heater, can be completed at a mobile end, is more convenient and flexible than the common method, and is suitable for the maintenance of a plurality of devices with uniform ports.
Drawings
FIG. 1 is a system block diagram of the present invention;
FIG. 2 is a flowchart of example 1
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more apparent, the present invention is described in detail below with reference to the embodiments. The specific embodiments described herein are merely illustrative of the invention and are not intended to be limiting.
Example 1
When the line controller installed on a working site needs to be added with functions or is corrected wrongly, the line controller can be upgraded through a mobile phone. Setting the condition of quitting upgrading as follows: and if the upgrading times are more than 3, quitting upgrading.
The upgrading process comprises the following steps
Step 1: and the user or the maintenance personnel submits the unique address information of the equipment or the two-dimensional code of the equipment on the mobile phone.
Step 2: the mobile phone calls the wire controller information in the MES cloud database through the special APP, and the wire controller information comprises a two-dimensional code of a wire controller, an MCU (microprogrammed control unit) model and an unique identification code.
And step 3: after the mobile phone is communicated, the information MCU model and the unique identification code of the line controller are read and compared, and the comparison process is divided into three steps:
firstly, searching and comparing two-dimension codes provided by a user in a cloud database; if the upgrade is found, the upgrade is exited;
secondly, comparing the MCU model read by communication with the information of the two-dimension code equipment in a cloud database; if the upgrade is found, the upgrade is exited;
thirdly, the unique identification code of the MCU is read through communication, and is compared with the information of the two-dimensional code equipment in a cloud database; and if the upgrade is detected, the upgrade is exited.
And the three steps are passed, and the comparison is successful, so that the upgrading authority is obtained.
And 4, step 4: the mobile phone enables the line controller to be upgraded in a WIFI mode.
And 5: and upgrading the line controller, wherein the line controller calls a BOOTLOADER program to upgrade the code of the line controller. After the upgrade is completed, the software version information is written in the controller, and the upgraded code is checked, wherein the checking mode can be CRC (cyclic redundancy check). And after the verification is passed, finishing upgrading.
Step 6: and if the upgrade is completed, restarting the line controller to operate by the mobile phone APP.
And 7: and if the verification fails or the user equipment is powered off in the upgrading process, so that the upgrading fails, re-performing the step 4.
And 8: and the mobile phone receives the information (first power-on) after the upgrading of the line controller is completed and the line controller is operated again, checks the software code version of the line controller, and deletes the old version software after the successful check.
And step 9: after the software version is checked, the mobile phone returns the software version information of the line controller back to the database, and sends back the upgrade completion information, so that the code upgrade time of the line controller in the cloud database is changed.
Example 2
When the controller installed in a working site needs to be added with functions or known errors are modified, the controller can be upgraded through the mobile phone. Setting the condition of quitting upgrading as follows: and when the upgrading times are more than 3, quitting the upgrading.
The upgrading process comprises the following steps:
step 1: the method comprises the steps that a user or a maintenance person submits unique address information of equipment or a two-dimensional code of the equipment on a mobile phone;
step 2: the mobile phone calls the wire controller information in the MES cloud database through the special APP, and the wire controller information comprises a two-dimensional code of the wire controller and an MCU model.
And step 3: after the mobile phone communication, the MCU model of the line controller is read and compared, and the comparison process is divided into two steps:
firstly, searching and comparing two-dimension codes provided by a user in a cloud database; if the upgrade is found, the upgrade is exited;
secondly, comparing the MCU model read by communication with the information of the two-dimension code equipment in a cloud database; if the upgrade is found, the upgrade is exited;
the two steps are passed through, and the comparison is successful, so that the upgrading authority is obtained.
And 4, step 4: and after the comparison is passed, the step 5 is executed to upgrade the controller, otherwise, the upgrading times are increased once, and the step 2 is executed again.
And 5: the mobile phone calls controller information of the equipment in the MES cloud database through the special APP, and the controller information comprises the number of controllers, two-dimensional codes, MCU models and unique identification codes.
Step 6: the mobile phone is communicated with the controller 1 in a WIFI mode, and controller information of the equipment is read on site and comprises the number of controllers, two-dimensional codes, MCU models and unique identification codes.
And 7: after the communication of the mobile phone, the mobile phone is compared with the information of the controller 1 to obtain the upgrading authority, and the comparison process comprises three steps:
firstly, searching and comparing two-dimension codes provided by a user in a cloud database; if the upgrade is found, the upgrade is exited;
secondly, the MCU model of the communication reading controller is compared with the information of the two-dimension code equipment in a cloud database; if the upgrade is found, the upgrade is exited;
thirdly, the unique identification code of the MCU is read through communication, and is compared with the information of the two-dimensional code device in a cloud database; and if the upgrade is detected, the upgrade is exited.
And the three steps are passed, and the comparison is successful, so that the upgrading authority is obtained.
And 8: and the upgrading controller calls a BOOTLOADER program, and upgrades the codes of the controller 1 or n according to the logical address of the equipment according to the online condition of the field equipment during upgrading for the controller 1.
After the upgrade is finished, the software version information is written in the controller, and the upgraded code is checked, wherein the checking mode can be CRC checking or addition checking. After the verification is passed, the upgrading of the controller 1 is completed.
And step 9: and if the upgrading of the controller 1 is completed, upgrading the codes of the controller 2 until the controller n is reached.
Step 10: and if the upgrading fails or the user equipment is powered off in the upgrading process, the step 5 is carried out again.
Step 11: and the mobile phone APP restarts the operation of the line controller and the controller, and the software code version of the line controller is checked after the information (first power-on) after the operation is restarted. If the check is successful, the upgrade is finished; otherwise, the execution is repeated.
Step 12: and the mobile phone receives the information that the controller operates normally and deletes the old version software.
Step 13: after the upgrade is finished, the mobile phone returns the software version information of the controller to the database.
In the embodiment, the mobile terminal and the line controller are connected in a wireless communication mode, which is not limited to the above-mentioned WIFI communication mode.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and scope of the present invention is also included in the present invention.

Claims (2)

1. An automatic upgrading method for a heat pump hot water controller is characterized by comprising the following steps:
step 1: submitting the two-dimensional code of the equipment on the mobile phone;
step 2: calling wire controller information in a cloud database by the mobile phone, wherein the wire controller information comprises a two-dimensional code and an MCU (microprogrammed control unit) model of a wire controller;
and step 3: after the mobile phone is communicated with the wire controller, the MCU model of the wire controller is read and compared, and the comparison process comprises two steps:
firstly, searching and comparing two-dimension codes provided by a user in a cloud database; if the upgrade is found, the upgrade is exited;
secondly, reading the model of the MCU through communication, and comparing the model with information of the equipment with the two-dimensional code in a cloud database; if the upgrade is found, the upgrade is exited;
if the two steps are passed, the comparison is successful, and the upgrading permission of the line controller is obtained;
and 4, step 4: after the comparison is passed, upgrading the line controller, otherwise, increasing the upgrading times for one time, returning to the step 2, and quitting the upgrading when the upgrading times are more than three times;
and 5: the mobile phone calls controller information of the equipment in the cloud database, wherein the controller information comprises the number of controllers, two-dimensional codes, MCU models and unique identification codes;
step 6: the mobile phone is communicated with the controller in a wireless communication mode, and controller information of the equipment is read on site, wherein the controller information comprises the number of controllers, two-dimensional codes, MCU models and unique identification codes;
and 7: after the communication between the mobile phone and the controller, the mobile phone is compared with the information of the controller to obtain the upgrading authority, and the comparison process comprises three steps:
firstly, searching and comparing two-dimension codes provided by a user in a cloud database; if the upgrade is found, the upgrade is exited;
secondly, the MCU model of the communication reading controller is compared with the information of the equipment with the two-dimensional code in the cloud database; if the upgrade is found, the upgrade is exited;
thirdly, the unique identification code of the MCU is read through communication, and is compared with the information of the equipment with the two-dimensional code in a cloud database; if the upgrade is found, the upgrade is exited;
if the three steps are passed, the comparison is successful, and the upgrading authority of the controller is obtained;
and 8: upgrading the controller;
after the upgrade is finished, writing software version information into the controller, and verifying the upgraded code; after the verification is passed, the upgrading of the controller is completed;
and step 9: restarting the operation of the line controller and the controller through the mobile phone, and checking the software code version of the line controller again; if the check is successful, the upgrade is finished;
step 10: the mobile phone receives the information of the controller after the controller operates normally and deletes the old version software;
step 11: after the upgrade is finished, the mobile phone returns the software version information of the controller to the database.
2. The automatic upgrading method of the heat pump hot water controller according to claim 1, wherein if the upgrading fails or the user equipment is powered off during the upgrading process, the upgrading is performed again.
CN201710608388.7A 2017-07-24 2017-07-24 Automatic upgrading method for heat pump hot water controller Active CN107479877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710608388.7A CN107479877B (en) 2017-07-24 2017-07-24 Automatic upgrading method for heat pump hot water controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710608388.7A CN107479877B (en) 2017-07-24 2017-07-24 Automatic upgrading method for heat pump hot water controller

Publications (2)

Publication Number Publication Date
CN107479877A CN107479877A (en) 2017-12-15
CN107479877B true CN107479877B (en) 2021-09-14

Family

ID=60595816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710608388.7A Active CN107479877B (en) 2017-07-24 2017-07-24 Automatic upgrading method for heat pump hot water controller

Country Status (1)

Country Link
CN (1) CN107479877B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645801B (en) * 2009-08-27 2012-02-08 中兴通讯股份有限公司 Software version upgrading method based on cluster management and order exchanger
CN106033360A (en) * 2015-03-13 2016-10-19 惠州市德赛西威汽车电子股份有限公司 A vehicle-mounted software upgrade method
CN106125578A (en) * 2016-06-20 2016-11-16 广东万家乐燃气具有限公司 A kind of water heater primary controller procedure update method
CN105978921A (en) * 2016-07-29 2016-09-28 重庆长安汽车股份有限公司 Remote upgrading method for vehicle-mounted communication terminal
CN106469078A (en) * 2016-08-31 2017-03-01 青岛海信电器股份有限公司 A kind of upgrade method of intelligent appliance and device
CN106681766B (en) * 2016-12-26 2021-04-27 广东芬尼克兹节能设备有限公司 Remote firmware upgrade control method and system
CN106533813B (en) * 2016-12-30 2020-01-14 深圳创维-Rgb电子有限公司 Method for remotely controlling system upgrading of intelligent equipment

Also Published As

Publication number Publication date
CN107479877A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN104899055B (en) A kind of ME more new systems and its update method based on BIOS controls
CN101814036A (en) RF remote upgrading method and system
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
US10331428B1 (en) Automated firmware update management on huge big-data clusters
CN103777983A (en) Satellite-borne software in-orbit maintaining and upgrading method
CN103488494A (en) Multi-firmware synchronous updating and upgrading method for blade server
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN107171833A (en) One kind realizes server B MC and BIOS batch upgrading method by BMC
CN104102518A (en) Double-CPU system and program updating method thereof
CN103942080A (en) Electronic device information transmission method
CN109002310A (en) firmware upgrade method
CN104732151A (en) Remote safety batch BIOS updating method under Linux system
CN104468235A (en) Allocable full-network remote node firmware upgrading system and device based on IAP
CN107346244B (en) A kind of automobile EPS director demon automation download system and method
CN103713925A (en) Method and device for avoiding service interruption of storage array in upgrading process
CN107908417A (en) Firmware upgrade method and electronic equipment
CN104731678A (en) RAID storage mode test system and method and electronic device
CN104077204A (en) Reconfigurable 8-bit RSIC (reduced instruction set computer) SCM (Single Chip Microcomputer) simulator
CN103677897A (en) System chip and programming method of system chip
WO2016033941A1 (en) Boot on-line upgrading apparatus and method
CN104021011A (en) Program upgrading system and method for embedded device
CN106201608A (en) Computer UEFI firmware update
CN101963911B (en) Patch generates method and apparatus
CN113672270A (en) Upgrading method, computer system and remote upgrading device
CN104346188A (en) Updating method of substrate management controller and updating system of substrate management controller

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
GR01 Patent grant
GR01 Patent grant