The invention discloses a method for on-line upgrading control program of household refrigerators, which relates to the technical field of intelligent control of refrigerators. The invention comprises the program code upgrade in the boot program, the analysis of the external upgrade instruction in the control program, and the online upgrade of the refrigerator control program realized by the boot program and the refrigerator control program. The invention sends upgrading instructions and corresponding refrigerator control programs to the control board through corresponding communication modes and communication protocols, receives external upgrading instructions and external sending control programs while the refrigerator functions normally, upgrades and updates the control programs, and recovers from the backup area before the update program fails. Version of the program, to ensure the normal operation of the refrigerator; improve intelligent manufacturing production, improve production efficiency, improve product quality; apply to the Internet of Things refrigerator, network upgrade refrigerator control program, quickly solve the refrigerator control problems in the market; avoid the failure to upgrade the refrigerator can not work properly.
【技术实现步骤摘要】
一种家用电冰箱在线升级控制程序的方法
本专利技术属于冰箱智能控制术领域,特别是涉及一种家用电冰箱在线升级控制程序的方法。
技术介绍
电控冰箱作为一种制冷工具,广泛的用于与人们的日常生活中,电控冰箱的种类、型号越来越多,控制方法也各有不同,目前市场上的电控冰箱均没有采用冰箱控制程序在线升级的方法,冰箱在生产过程中需要人为的根据冰箱型号区分使用不同的控制板,生产效率比较低且容易出错。随着物联网冰箱的快速发展,在冰箱控制进行优化的时候,市场上的物联网冰箱无法在线更新的冰箱控制程序,优化的内容无法服务于老的用户。因此,提供一种家用电冰箱在线升级控制程序的方法,解决上述问题。
技术实现思路
本专利技术的目的在于提供一种家用电冰箱在线升级控制程序的方法,通过智能区分冰箱型号,通过对应的通讯方式和通讯协议向控制板发送升级指令和对应的冰箱控制程序,控制板按本方法进行冰箱控制程序的烧写,解决了现有的智能冰箱生产效率低、产品质量低以及优化的内容无法服务于老用户的问题。为解决上述技术问题,本专利技术是通过以下技术方案实现的:本专利技术为一种家用电冰箱在线升级控制程序的方法,包括控制程序的引 ...
【技术保护点】
1.一种家用电冰箱在线升级控制程序的方法,其特征在于,包括控制程序的引导控制方法、控制程序的冰箱控制方法;所述控制程序的引导控制方法包括以下步骤:S0001:引导程序初始化:对硬件端口、系统时钟、定时中断、通讯端口初始化;S0002:判断是否需要更新控制程序:如需要更新控制程序,执行步骤S0003;如不需要更新程序,执行步骤S0011;S0003:等待更新:引导程序和外部服务器进行通讯握手,握手正常后,执行步骤S0004;S0004:接收程序文件:按通讯协议接收外部服务器发送的程序代码文件,正确接收完程序文件后执行步骤S0005;S0005:烧写校验:擦除冰箱程序区,写入冰 ...
【技术特征摘要】
1.一种家用电冰箱在线升级控制程序的方法,其特征在于,包括控制程序的引导控制方法、控制程序的冰箱控制方法;所述控制程序的引导控制方法包括以下步骤:S0001:引导程序初始化:对硬件端口、系统时钟、定时中断、通讯端口初始化;S0002:判断是否需要更新控制程序:如需要更新控制程序,执行步骤S0003;如不需要更新程序,执行步骤S0011;S0003:等待更新:引导程序和外部服务器进行通讯握手,握手正常后,执行步骤S0004;S0004:接收程序文件:按通讯协议接收外部服务器发送的程序代码文件,正确接收完程序文件后执行步骤S0005;S0005:烧写校验:擦除冰箱程序区,写入冰箱程序代码文件,再读取写入的文件数据进行校验,完成后执行步骤S0006;S0006:备份程序文件:擦除程序备份区,在备份区烧写冰箱控制程序进行备份,备份完成后程序更新完成,执行步骤S0002,跳转程序区运行冰箱控制程序;S0011:判断是否有控制程序:程序自动检测程序区间是否有控制程序,如果有程序,则跳出引导程序,进入冰箱控制程序;如果没有控制程序,执行步骤S0012;S0012:是否有备份程序:如果有备份程序,恢复备份区的程序到程序区,恢...
【专利技术属性】
技术研发人员:胡国攀,黄辉军,李子胜,万春旭,
申请(专利权)人:合肥美菱股份有限公司,
类型:发明
国别省市:安徽,34
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。