CN108572839A - Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server - Google Patents

Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server Download PDF

Info

Publication number
CN108572839A
CN108572839A CN201810762754.9A CN201810762754A CN108572839A CN 108572839 A CN108572839 A CN 108572839A CN 201810762754 A CN201810762754 A CN 201810762754A CN 108572839 A CN108572839 A CN 108572839A
Authority
CN
China
Prior art keywords
upgrade
sent
cloud server
upgrade procedure
external
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.)
Pending
Application number
CN201810762754.9A
Other languages
Chinese (zh)
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.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co Ltd
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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN201810762754.9A priority Critical patent/CN108572839A/en
Publication of CN108572839A publication Critical patent/CN108572839A/en
Pending legal-status Critical Current

Links

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/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Abstract

The present invention provides intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud servers, are applied to the method for intelligent refrigerator, including:Receive the upgrade command that external cloud server is sent;Determined whether to download the corresponding upgrade procedure of the upgrade command according to operating status;Request is downloaded if so, being sent to the external cloud server;The external cloud server is received and stored according to the upgrade procedure downloaded request and sent;Whether the upgrade procedure for detecting storage is effective;If so, executing the upgrade procedure.This programme being capable of simplified intelligent refrigerator system escalation process.

Description

Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server
Technical field
The present invention relates to Smart Home technical fields, more particularly to intelligent refrigerator system upgrade method, system, intelligent refrigerator And cloud server.
Background technology
Along with the rise of internet, smart home, important component of the intelligent refrigerator as field of household appliances, at Indispensable product in for people's lives.In use, user tends to find lacking for its built-in system intelligent refrigerator It falls into, such intelligent refrigerator is just faced with the demand for needing upgrade-system.
Currently, the system of intelligent refrigerator is run on microcontroller, if you need to upgrade-system, need first to intelligent refrigerator into Row power down process, then remove microcontroller upgrade-system.
To sum up, the prior art needs that intelligent ice could be led to system upgrade to intelligent refrigerator progress power down process Case system upgrade process is cumbersome.
Invention content
An embodiment of the present invention provides intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud servers, can Simplified intelligent refrigerator system escalation process.
In a first aspect, an embodiment of the present invention provides a kind of intelligent refrigerator system upgrade method, it is applied to intelligent refrigerator, packet It includes:
Receive the upgrade command that external cloud server is sent;
Determined whether to download the corresponding upgrade procedure of the upgrade command according to operating status;
Request is downloaded if so, being sent to the external cloud server;
The external cloud server is received and stored according to the upgrade procedure downloaded request and sent;
Whether the upgrade procedure for detecting storage is effective;
If so, executing the upgrade procedure.
Preferably, described to be determined whether to download the corresponding upgrade procedure of the upgrade command according to operating status, including:
Detect whether operating status is power-up state or reset state;
If so, executing described sent to the external cloud server downloads request;
It is described send to the external cloud server download request after, further comprise:
When the upgrade procedure is the application program;
It is wiped in flash storage regions by existing BootLoader programs, in from address 2000H to address 7FFHH Existing application;
It is described to receive and store the external cloud server according to the upgrade procedure downloaded request and sent, packet It includes:
The external cloud server is received according to the application program downloaded request and sent;
By the application program since described address 2000H, the application program that is written in the flash storage regions In region;
Whether the upgrade procedure of the detection storage is effective, including:
Whether the application program for detecting write-in is effective.
Preferably, described to receive and store the external cloud server according to the upgrading downloaded request and sent Program, including:
When the upgrade procedure is BootLoader programs,
By the existing BootLoader programs by the BootLoader programs since the 1000H of address, be written to In the regions Boot cluster1 in the flash storage regions;
Whether the upgrade procedure of the detection storage is effective, if so, the upgrade procedure is executed, including:
Whether the BootLoader programs for detecting write-in are effective,
If so, being wiped in the flash storage regions by the BootLoader programs, the areas Boot cluster0 The existing BootLoader programs in domain, and be moved in the regions the Boot cluster0 since the 0000H of address.
Preferably, the external cloud server is received and stored according to the liter downloaded request and sent described After grade program, further comprise:
Receive the original cryptographic Hash that the external cloud server is sent;
Whether the upgrade procedure of the detection storage is effective, including:
S0:Hash calculation is carried out to the upgrade procedure, obtains existing cryptographic Hash;
S1:It determines whether the existing cryptographic Hash is identical as the original cryptographic Hash, if so, executing S2, otherwise, executes S3;
S2:Execute the upgrade procedure;
S3:Re-download request to the external cloud server transmission, and receive outside described cloud server according to The upgrade procedure for re-downloading request and sending, returns to S0.
Second aspect, an embodiment of the present invention provides a kind of upgrade methods of intelligent refrigerator system, are applied to cloud service Device, including:
Obtain the upgrade command and the corresponding upgrade procedure of the upgrade command that external smart terminal is sent;
The upgrade command is sent to external smart refrigerator;
When receiving the download request that the external refrigerator is sent according to the upgrade command, the upgrade procedure is sent out Give the external smart refrigerator.
Preferably, it is described the upgrade command is sent to external smart refrigerator after, further comprise:
Hash calculation is carried out to the upgrade procedure, obtains original cryptographic Hash;
The original cryptographic Hash of acquisition is sent to the external smart refrigerator.
The third aspect, an embodiment of the present invention provides a kind of intelligent refrigerators, including:
Internet of Things module, the upgrade command sent for receiving external cloud server;Institute is downloaded when correction verification module determines When stating the corresponding upgrade procedure of upgrade command, is sent to the external cloud server and download request;Receive and store institute External cloud server is stated according to the upgrade procedure downloaded request and sent;
The correction verification module, for determining whether to download the upgrading that the Internet of Things module receives according to operating status Instruct corresponding upgrade procedure;
Whether update module, the upgrade procedure for detecting the Internet of Things module storage are effective;If so, executing The upgrade procedure.
Preferably, the correction verification module, for detecting whether operating status is power-up state or reset state;If so, Wipe existing program;
The Internet of Things module, it is described to the external cloud for when the correction verification module wipes existing program, executing It holds server to send and downloads request;
The update module is further used for the upgrade procedure being written in the regions flash, the upgrade procedure pair In at least one block blocks answered.
Fourth aspect, an embodiment of the present invention provides a kind of cloud servers, including:
Server processing module, the upgrade command and the upgrade command for obtaining the transmission of external smart terminal are corresponding Upgrade procedure;
Server interactive module, the upgrade command for receiving the server processing module are sent to external intelligence It can refrigerator;When receiving the download request that the external refrigerator is sent according to the upgrade command, the upgrade procedure is sent out Give the external smart refrigerator.
5th aspect, an embodiment of the present invention provides a kind of auto upgradings to manage system, including:At least one intelligence is eventually Intelligent refrigerator described in end, at least one third aspect, and the cloud server described in power fourth aspect, wherein
Each described intelligent refrigerator is connected with the cloud server;
Each described intelligent terminal is connected with the cloud server;
The intelligent terminal, upgrade command and the corresponding upgrade procedure of the upgrade command for receiving user's transmission, And the upgrade command of reception and the upgrade procedure are sent to the cloud server.
In embodiments of the present invention, intelligent refrigerator is needed when receiving the upgrade command that external cloud server is sent First determine intelligent refrigerator operating status, and if only if intelligent refrigerator operating status allow when just download upgrade procedure, and under The validity that detection upgrade procedure is also needed to after load upgrade procedure, avoids when executing upgrade procedure, due to upgrade procedure is invalid Intelligent refrigerator is caused to be unable to operate normally, so that the system upgrade safety and reliability of intelligent refrigerator.To sum up, intelligence Energy refrigerator is when receiving the upgrade command that external cloud server is sent, you can determines whether operating status allows system liter Grade, can carry out system upgrade when operating status allows, and power down process is carried out again to intelligent refrigerator without user System upgrade is carried out, therefore is capable of the process of simplified intelligent refrigerator system upgrading.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart for intelligent refrigerator system upgrade method that one embodiment of the invention provides;
Fig. 2 is the flow chart for another intelligent refrigerator system upgrade method that one embodiment of the invention provides;
Fig. 3 is a kind of structural schematic diagram for intelligent refrigerator that one embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram for cloud server that one embodiment of the invention provides;
Fig. 5 is a kind of structural schematic diagram for auto upgrading management system that one embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for another auto upgrading management system that one embodiment of the invention provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, an embodiment of the present invention provides a kind of intelligent refrigerator system upgrade method, it is applied to intelligent refrigerator, Including:
Step 101:Receive the upgrade command that external cloud server is sent;
Step 102:Determined whether to download the corresponding upgrade procedure of the upgrade command according to operating status;
Step 103:Request is downloaded if so, being sent to the external cloud server, receives and stores the external cloud Hold server according to the upgrade procedure downloaded request and sent;
Step 104:Whether the upgrade procedure for detecting storage is effective;
Step 105:If so, executing the upgrade procedure.
In embodiments of the present invention, intelligent refrigerator is needed when receiving the upgrade command that external cloud server is sent First determine intelligent refrigerator operating status, and if only if intelligent refrigerator operating status allow when just download upgrade procedure, and under The validity that detection upgrade procedure is also needed to after load upgrade procedure, avoids when executing upgrade procedure, due to upgrade procedure is invalid Intelligent refrigerator is caused to be unable to operate normally, so that the system upgrade safety and reliability of intelligent refrigerator.To sum up, intelligence Energy refrigerator is when receiving the upgrade command that external cloud server is sent, you can determines whether operating status allows system liter Grade, can carry out system upgrade when operating status allows, and power down process is carried out again to intelligent refrigerator without user System upgrade is carried out, therefore is capable of the process of simplified intelligent refrigerator system upgrading.
In an embodiment of the present invention, described to be determined whether to download the corresponding upgrading of the upgrade command according to operating status Program, including:
Detect whether operating status is power-up state or reset state;
If so, executing described sent to the external cloud server downloads request;
It is described send to the external cloud server download request after, further comprise:
When the upgrade procedure is the application program;
It is wiped in flash storage regions by existing BootLoader programs, it is existing out of address 2000H to 7FFHH Application program;
It is described to receive and store the external cloud server according to the upgrade procedure downloaded request and sent, packet It includes:
The external cloud server is received according to the application program downloaded request and sent;
By the application program since described address 2000H, the application program that is written in the flash storage regions In region;
Whether the upgrade procedure of the detection storage is effective, including:
Whether the application program for detecting write-in is effective.
In embodiments of the present invention, intelligent refrigerator is when receiving upgrade command, need first to determine operating status whether be Power-up state or reset state download upgrade procedure from external cloud server again when if it is power-up state or reset state, Otherwise it needs to maintain existing operation, avoids the upgrade-system in stable operation and lead to operation exception, so that system upgrade Safety and reliability.And the system upgrade of intelligent refrigerator can be application program updating, can also be that BootLoader programs upgrade, When upgrade procedure is application program, need to wipe in address 2000H to address 7FFHH by existing BootLoader programs Existing application contributes to application program so that it is white space to determine in address 2000H to address 7FFHH from address 2000H starts to be written in the white space.
In an embodiment of the present invention, described to receive and store the external cloud server according to download request hair The upgrade procedure sent, including:
When the upgrade procedure is BootLoader programs,
By the existing BootLoader programs by the BootLoader programs since the 1000H of address, be written to In the regions Boot cluster1 in the flash storage regions;
Whether the upgrade procedure of the detection storage is effective, if so, the upgrade procedure is executed, including:
Whether the BootLoader programs for detecting write-in are effective,
If so, being wiped in the flash storage regions by the BootLoader programs, the areas Boot cluster0 The existing BootLoader programs in domain, and be moved in the regions the Boot cluster0 since the 0000H of address.
In embodiments of the present invention, the system upgrade of intelligent refrigerator can be application program updating, can also be BootLoader programs upgrade, and when upgrade procedure is BootLoader programs, needing will by existing BootLoader programs The BootLoader programs that external cloud server is sent, are written to the regions Boot cluster1 in flash storage regions It is interior, then BootLoader programs are detected, so as to determine the validity of the BootLoader programs received, avoid executing When BootLoader programs, intelligent refrigerator is caused to be unable to operate normally because BootLoader programs are invalid, so that The upgrading safety and reliability of BootLoader programs.When determining that BootLoader programs are effective, you can executing should BootLoader programs are deleted by BootLoader programs in the regions Boot cluster0 in flash storage regions Existing BootLoader programs, then be moved in the regions Boot cluster0, in order to which system carries out BootLoader journeys again Sequence will be in the write-in newly upgraded to the regions Boot cluster1.
In an embodiment of the present invention, receive what the external cloud server was sent according to the download request described After the upgrade procedure, further comprise:
Receive the original cryptographic Hash that the external cloud server is sent;
Whether the detection upgrade procedure is effective, including:
S0:Hash calculation is carried out to the upgrade procedure, obtains existing cryptographic Hash;
S1:It determines whether the existing cryptographic Hash is identical as the original cryptographic Hash, if so, executing S2, otherwise, executes S3;
S2:Execute the upgrade procedure;
S3:Re-download request to the external cloud server transmission, and receive outside described cloud server according to The upgrade procedure for re-downloading request and sending, returns to S0.
In embodiments of the present invention, after receiving the upgrade procedure that external cloud server is sent, it is thus necessary to determine that upgrading The validity of program compares the existing cryptographic Hash of upgrade procedure with the original cryptographic Hash for sending external cloud server Compared with determining the integrality and accuracy of upgrade procedure by existing cryptographic Hash and original cryptographic Hash, avoid executing upgrade procedure When, cause intelligent refrigerator to be unable to operate normally because upgrade procedure is abnormal, so as to improve the peace of intelligent refrigerator system upgrading Quan Xing.
As shown in Fig. 2, an embodiment of the present invention provides a kind of upgrade method of intelligent refrigerator system, it is applied to cloud service Device, including:
Step 201:Obtain the upgrade command and the corresponding upgrade procedure of the upgrade command that external smart terminal is sent;
Step 202:The upgrade command is sent to external smart refrigerator;
Step 203:When receiving the download request that the external refrigerator is sent according to the upgrade command, by the liter Grade program is sent to the external smart refrigerator.
In embodiments of the present invention, cloud server is in the upgrade command and upgrading journey for getting the transmission of external smart terminal When sequence, upgrade command and upgrade procedure are not instead of directly sent to external smart refrigerator all, only send upgrade command External smart refrigerator is given, so that external smart refrigerator determines whether operating status allows to download upgrade procedure, and if only if connecing When receiving the download request of external smart refrigerator side, upgrade procedure is sent to external smart refrigerator, so that external smart refrigerator System upgrade is completed using upgrade procedure, power down process is carried out to intelligent refrigerator without user, then carry out system upgrade, therefore It is capable of the process of simplified intelligent refrigerator system upgrading.
In an embodiment of the present invention, it is described the upgrade command is sent to external smart refrigerator after, further Including:
Hash calculation is carried out to the upgrade procedure, obtains original cryptographic Hash;
The original cryptographic Hash of acquisition is sent to the external smart refrigerator.
In embodiments of the present invention, the integrality and accuracy of upgrade procedure are determined for the ease of external smart refrigerator, are needed Hash calculation is carried out to upgrade procedure, the original cryptographic Hash of upgrade procedure be determined, so that external smart refrigerator is according to original Kazakhstan Uncommon value determines whether the upgrade procedure received is consistent with the upgrade procedure that cloud server is sent, and intelligent refrigerator is avoided to hold Cause system that can not run after the abnormal upgrade procedure of row.
As shown in figure 3, present invention implementation provides a kind of intelligent refrigerator, including:
Internet of Things module 301, the upgrade command sent for receiving external cloud server;When correction verification module 302 determines When downloading the corresponding upgrade procedure of the upgrade command, is sent to the external cloud server and download request;It receives simultaneously The external cloud server is stored according to the upgrade procedure downloaded request and sent;
The correction verification module 302, for determining whether to download the institute that the Internet of Things module 301 receives according to operating status State the corresponding upgrade procedure of upgrade command;
Whether update module 303 is effective for detecting the upgrade procedure that the Internet of Things module 302 stores;If It is to execute the upgrade procedure.
In embodiments of the present invention, Internet of Things module is when receiving the upgrade command that external cloud server is sent, school It tests module to need first to determine the operating status of intelligent refrigerator, the Internet of Things module when operating status of intelligent refrigerator allows Upgrade procedure is just downloaded, and downloads the validity that update module after upgrade procedure also needs to detection upgrade procedure, avoids executing When upgrade procedure, intelligent refrigerator is caused to be unable to operate normally because upgrade procedure is invalid, so that intelligent refrigerator is System upgrading safety and reliability.To sum up, intelligent refrigerator is when receiving the upgrade command that external cloud server is sent, you can Determine whether operating status allows system upgrade, system upgrade can be carried out when operating status allows, without with Family carries out power down process to intelligent refrigerator, then carries out system upgrade, therefore is capable of the process of simplified intelligent refrigerator system upgrading.
In an embodiment of the present invention, the correction verification module, for detecting whether operating status is power-up state or reset State;If so, wiping existing program;
The Internet of Things module, it is described to the external cloud for when the correction verification module wipes existing program, executing It holds server to send and downloads request;
The update module is further used for the upgrade procedure being written in the regions flash, the upgrade procedure pair In at least one block blocks answered.
As shown in figure 4, the present invention provides a kind of cloud server in real time, including:
Server processing module 401, the upgrade command for obtaining the transmission of external smart terminal and the upgrade command pair The upgrade procedure answered;
Server interactive module 402, the upgrade command for receiving the server processing module 401 are sent to External smart refrigerator;When receiving the download request that the external refrigerator is sent according to the upgrade command, by the upgrading Program is sent to the external smart refrigerator.
In embodiments of the present invention, server processing module is in the upgrade command and liter for getting the transmission of external smart terminal Grade program when, server interactive module be not upgrade command and upgrade procedure are all directly sent to external smart refrigerator, and It is that upgrade command is only sent to external smart refrigerator, upgrades so that external smart refrigerator determines whether operating status allows to download Upgrade procedure is sent to external smart refrigerator by program and if only if in the download request for receiving external smart refrigerator side, So that external smart refrigerator using upgrade procedure complete system upgrade, without user to intelligent refrigerator carry out power down process again into Row system upgrade, therefore it is capable of the process of simplified intelligent refrigerator system upgrading.
As shown in figure 5, present invention implementation provides a kind of auto upgrading management system, including:At least one intelligent terminal 501, the cloud server 503 described in intelligent refrigerator 502 and Fig. 4 described at least one Fig. 3, wherein
Each described intelligent refrigerator 502 is connected with the cloud server 503;
Each described intelligent terminal 501 is connected with the cloud server 503;
The intelligent terminal 501, upgrade command and the corresponding upgrading journey of the upgrade command for receiving user's transmission Sequence, and the upgrade command of reception and the upgrade procedure are sent to the cloud server 503.
In embodiments of the present invention, user upgrades if you need to the system to intelligent refrigerator, only need to be by upgrade command and right The upgrade procedure answered is sent to intelligent terminal, and upgrade command and upgrade procedure can be sent to cloud service by intelligent terminal Device, then upgrade command and upgrade procedure are sent to by intelligent refrigerator by cloud server, that is, complete the system liter of intelligent refrigerator Grade carries out power down process to intelligent refrigerator without user and carries out system upgrade again, therefore being capable of simplified intelligent refrigerator system liter The process of grade.
It is below that Boot upgradings refer to upgrade command to more clearly illustrate technical scheme of the present invention and advantage Enable, for upgrade procedure is BootLoader programs, to using auto upgrading management system how to the system liter of intelligent refrigerator Grade is described in detail, as shown in fig. 6, including:
Intelligent terminal 601, the Boot upgrade commands and Boot upgrade commands for receiving user's transmission are corresponding BootLoader programs, and upgrade command and upgrade procedure are sent to cloud server 602.
Specifically, user need to only send Boot upgradings to intelligent terminal and refer to if you need to the Boot programs upgrading to intelligent refrigerator Enable corresponding with Boot upgrade commands BootLoader programs so that by cloud server 602 by Boot upgrade commands with BootLoader programs are sent to cloud server.
For example, the Boot upgrade commands and Boot upgrade commands that user sends to intelligent terminal mobile phone are corresponding BootLoader programs, and Boot upgrade commands and BootLoader programs are sent to cloud server.
Cloud server 602, in the Boot upgrade commands and BootLoader journeys for receiving the transmission of intelligent terminal 601 When sequence, Boot upgrade commands is sent to intelligent refrigerator 603, and Hash calculation is carried out to BootLoader programs, obtained original Cryptographic Hash.
Specifically, cloud server is in the Boot upgrade commands and BootLoader programs for receiving intelligent terminal transmission When, BootLoader programs are not transmitted directly to intelligent refrigerator, Boot upgrade commands are first sent to intelligent refrigerator, So that intelligent refrigerator is according to operating status, it is determined whether download BootLoader programs, avoid intelligent refrigerator in normal operation shape Under state, update BootLoader programs cause intelligent refrigerator to be unable to operate normally.
For example, cloud server receives the Boot upgrade commands and BootLoader programs that mobile phone is sent, and will Boot upgrade commands are sent to intelligent refrigerator.
Intelligent refrigerator 603, for when receiving the Boot upgrade commands of the transmission of cloud server 602, detection to run shape Whether state is power-up state or reset state, downloads request if so, being sent to cloud server 602, and by existing BootLoader programs by BootLoader programs since the 1000H of address, the Boot that is written in flash storage regions In the regions cluster1.
Specifically, intelligent refrigerator receive cloud server transmission Boot upgrade commands, need to operating status into Row detection, it is determined whether be power-up state or reset state, avoid updating BootLoader programs under normal operating conditions and lead Cause operation exception.And when whether determine operating status is power-up state or reset state, you can under being sent to cloud server Request is carried, while needing that BootLoader programs are written in flash storage regions by existing BootLoader programs In the regions Boot cluster1, i.e., from address 1000H to address 1999H.
For example, intelligent refrigerator detects operating status when receiving the Boot upgrade commands of cloud server transmission, It when operating status is power-up state or reset state, is sent to cloud server and downloads request, and receive cloud server hair BootLoader programs are written by existing BootLoader programs since the 1000H of address for the BootLoader programs sent Into the regions Boot cluster1 in flash storage regions.
Cloud server 602, when for being asked in the download for receiving the transmission of intelligent refrigerator 603, by BootLoader journeys Sequence and original cryptographic Hash are sent to intelligent refrigerator 603.
Specifically, cloud server is in the download request for receiving intelligent refrigerator transmission, you can determines intelligent refrigerator Operating status is power-up state or reset state, and then can be by BootLoader programs and the corresponding original of BootLoader programs Beginning cryptographic Hash is sent to intelligent refrigerator so that intelligent refrigerator according to original cryptographic Hash detect BootLoader programs integrality and Accuracy.
For example, cloud server is in the download request for receiving intelligent refrigerator transmission, by BootLoader programs It is sent to intelligent refrigerator with original cryptographic Hash 565453.
Intelligent refrigerator 603, in the BootLoader programs for receiving the transmission of cloud server 602 and original cryptographic Hash When, by existing BootLoader programs, by application program since the 2000H of address, it is written to answering in flash storage regions With in program area, and execute:
S0:Hash calculation is carried out to BootLoader programs by existing BootLoader programs, obtains existing cryptographic Hash.
S1:It determines whether existing cryptographic Hash is identical as original cryptographic Hash, if so, executing S2, otherwise, executes S3;
S2:It is wiped in flash storage regions by BootLoader programs, it is existing in the regions Boot cluster0 BootLoader programs, and be moved in the regions the Boot cluster0 since the 0000H of address.
S3:Request is re-downloaded to the transmission of cloud server 602, and receives cloud server 602 and asks according to re-downloading The BootLoader programs of transmission are sought, S0 is returned.
Specifically, intelligent refrigerator is receiving the BootLoader programs of cloud server transmission and when original cryptographic Hash, It is necessary to determine whether to receive whole BootLoader programs, so as to the integrality of BootLoader programs be determined, in determination After the validity of BootLoader programs, you can execute BootLoader programs, stored flash by BootLoader programs Existing BootLoader programs erasing in the regions Boot cluster0 in region, so that the regions Boot cluster0 are sky White region is convenient for the movement of BootLoader programs.
For example, intelligent refrigerator is in the BootLoader programs for receiving cloud server transmission and original cryptographic Hash When 565453, Hash calculation is carried out to BootLoader programs, existing cryptographic Hash 565453 is obtained, by original cryptographic Hash 565453 It is compared with existing cryptographic Hash 565453, determines that BootLoader program transportations are complete, you can BootLoader programs are executed, The existing BootLoader programs in address 0000H to address 0999H are wiped by BootLoader programs, and from address 0000H starts to be moved in the regions Boot cluster0.
It is understood that when upgrade procedure is application program, intelligent refrigerator is asked to cloud server transmission download After asking, need to wipe in flash storage regions by existing BootLoader programs, in from address 2000H to address 7FFHH Existing application, so that the region in address 2000H to address 7FFHH is white space, in order to receive high in the clouds clothes When the BootLoader programs that business device is sent, BootLoader programs are written in the white space, i.e. flash storage regions In application area, avoid influence BootLoader programs operation.
The each embodiment of the present invention at least has the advantages that:
1, in an embodiment of the present invention, intelligent refrigerator is when receiving the upgrade command that external cloud server is sent, The operating status for needing first to determine intelligent refrigerator, the just download upgrade procedure when operating status of intelligent refrigerator allows, And download the validity that detection upgrade procedure is also needed to after upgrade procedure, avoid when executing upgrade procedure, because upgrade procedure without It imitates and intelligent refrigerator is caused to be unable to operate normally, so that the system upgrade safety and reliability of intelligent refrigerator.To sum up may be used See, intelligent refrigerator is when receiving the upgrade command that external cloud server is sent, you can determines whether operating status allows to be System upgrading, system upgrade can be carried out when operating status allows, is carried out at power-off to intelligent refrigerator without user Reason carries out system upgrade again, therefore is capable of the process of simplified intelligent refrigerator system upgrading.
2, in an embodiment of the present invention, intelligent refrigerator needs first to determine that operating status is when receiving upgrade command No is power-up state or reset state, and upgrading journey is downloaded from external cloud server again when if it is power-up state or reset state Otherwise sequence needs to maintain existing operation, avoid the upgrade-system in stable operation and lead to operation exception, so that system liter Grade safety and reliability.And the system upgrade of intelligent refrigerator can be application program updating, can also be BootLoader program liters Grade needs to wipe address 2000H to address 7FFHH by existing BootLoader programs when upgrade procedure is application program Interior existing application so that determine address 2000H to address 7FFHH in be white space, contribute to by application program from Address 2000H starts to be written in the white space.
3, in an embodiment of the present invention, the system upgrade of intelligent refrigerator can be application program updating, can also be BootLoader programs upgrade, and when upgrade procedure is BootLoader programs, needing will by existing BootLoader programs The BootLoader programs that external cloud server is sent, are written to the regions Boot cluster1 in flash storage regions It is interior, then BootLoader programs are detected, so as to determine the validity of the BootLoader programs received, avoid executing When BootLoader programs, intelligent refrigerator is caused to be unable to operate normally because BootLoader programs are invalid, so that The upgrading safety and reliability of BootLoader programs.When determining that BootLoader programs are effective, you can executing should BootLoader programs are deleted by BootLoader programs in the regions Boot cluster0 in flash storage regions Existing BootLoader programs, then be moved in the regions Boot cluster0, in order to which system carries out BootLoader journeys again Sequence will be in the write-in newly upgraded to the regions Boot cluster1.
4, in an embodiment of the present invention, after receiving the upgrade procedure that external cloud server is sent, it is thus necessary to determine that The validity of upgrade procedure, i.e., by the existing cryptographic Hash of upgrade procedure and the original cryptographic Hash that sends external cloud server into Row compares, and the integrality and accuracy of upgrade procedure are determined by existing cryptographic Hash and original cryptographic Hash, avoids executing upgrading When program, intelligent refrigerator is caused to be unable to operate normally because upgrade procedure is abnormal, so as to improve intelligent refrigerator system upgrading Safety.
5, in an embodiment of the present invention, cloud server is in the upgrade command and liter for getting the transmission of external smart terminal When grade program, upgrade command and upgrade procedure external smart refrigerator is not instead of directly sent to all, only by upgrade command It is sent to external smart refrigerator, so that external smart refrigerator determines whether operating status allows to download upgrade procedure, and if only if In the download request for receiving external smart refrigerator side, upgrade procedure is sent to external smart refrigerator, so that external smart Refrigerator completes system upgrade using upgrade procedure, carries out power down process to intelligent refrigerator without user, then carry out system upgrade, Therefore it is capable of the process of simplified intelligent refrigerator system upgrading.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment including a series of elements includes not only those elements, But also include other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Finally, it should be noted that:The foregoing is merely presently preferred embodiments of the present invention, is merely to illustrate the skill of the present invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (10)

1. a kind of intelligent refrigerator system upgrade method, which is characterized in that it is applied to intelligent refrigerator, including:
Receive the upgrade command that external cloud server is sent;
Determined whether to download the corresponding upgrade procedure of the upgrade command according to operating status;
Request is downloaded if so, being sent to the external cloud server;
The external cloud server is received and stored according to the upgrade procedure downloaded request and sent;
Whether the upgrade procedure for detecting storage is effective;
If so, executing the upgrade procedure.
2. according to the method described in claim 1, it is characterized in that,
It is described to be determined whether to download the corresponding upgrade procedure of the upgrade command according to operating status, including:
Detect whether operating status is power-up state or reset state;
If so, executing described sent to the external cloud server downloads request;
It is described send to the external cloud server download request after, further comprise:
When the upgrade procedure is the application program;
It is wiped in flash storage regions by existing BootLoader programs, it is existing in from address 2000H to address 7FFHH Application program;
It is described to receive and store the external cloud server according to the upgrade procedure downloaded request and sent, including:
The external cloud server is received according to the application program downloaded request and sent;
By the application program since described address 2000H, the application area that is written in the flash storage regions It is interior;
Whether the upgrade procedure of the detection storage is effective, including:
Whether the application program for detecting write-in is effective.
3. according to the method described in claim 2, it is characterized in that,
It is described to receive and store the external cloud server according to the upgrade procedure downloaded request and sent, including:
When the upgrade procedure is BootLoader programs,
By the existing BootLoader programs by the BootLoader programs since the 1000H of address, be written to described In the regions Boot cluster1 in flash storage regions;
Whether the upgrade procedure of the detection storage is effective, if so, the upgrade procedure is executed, including:
Whether the BootLoader programs for detecting write-in are effective,
If so, being wiped in the flash storage regions by the BootLoader programs, in the regions Boot cluster0 The existing BootLoader programs, and be moved in the regions the Boot cluster0 since the 0000H of address.
4. the method according to claims 1 to 3, which is characterized in that
After the upgrade procedure for receiving and storing the external cloud server according to the download request transmission, Further comprise:
Receive the original cryptographic Hash that the external cloud server is sent;
Whether the upgrade procedure of the detection storage is effective, including:
S0:Hash calculation is carried out to the upgrade procedure, obtains existing cryptographic Hash;
S1:It determines whether the existing cryptographic Hash is identical as the original cryptographic Hash, if so, executing S2, otherwise, executes S3;
S2:Execute the upgrade procedure;
S3:Request is re-downloaded to the external cloud server transmission, and receives the external cloud server according to The upgrade procedure that request is sent is re-downloaded, S0 is returned.
5. a kind of upgrade method of intelligent refrigerator system, which is characterized in that it is applied to cloud server, including:
Obtain the upgrade command and the corresponding upgrade procedure of the upgrade command that external smart terminal is sent;
The upgrade command is sent to external smart refrigerator;
When receiving the download request that the external refrigerator is sent according to the upgrade command, the upgrade procedure is sent to The external smart refrigerator.
6. according to the method described in claim 5, it is characterized in that,
It is described the upgrade command is sent to external smart refrigerator after, further comprise:
Hash calculation is carried out to the upgrade procedure, obtains original cryptographic Hash;
The original cryptographic Hash of acquisition is sent to the external smart refrigerator.
7. a kind of intelligent refrigerator, which is characterized in that including:
Internet of Things module, the upgrade command sent for receiving external cloud server;The liter is downloaded when correction verification module determines When grade instructs the corresponding upgrade procedure, is sent to the external cloud server and download request;It receives and stores described outer Portion's cloud server is according to the upgrade procedure downloaded request and sent;
The correction verification module, for determining whether to download the upgrade command that the Internet of Things module receives according to operating status Corresponding upgrade procedure;
Whether update module, the upgrade procedure for detecting the Internet of Things module storage are effective;If so, described in executing Upgrade procedure.
8. intelligent refrigerator according to claim 7, which is characterized in that
The correction verification module, for detecting whether operating status is power-up state or reset state;If so, wiping existing journey Sequence;
The Internet of Things module, it is described to the external high in the clouds clothes for when the correction verification module wipes existing program, executing Business device, which is sent, downloads request;
The update module is further used for the upgrade procedure being written in the regions flash, and the upgrade procedure is corresponding In at least one block blocks.
9. a kind of cloud server, which is characterized in that including:
Server processing module, the upgrade command for obtaining the transmission of external smart terminal and the corresponding upgrading of the upgrade command Program;
Server interactive module, the upgrade command for receiving the server processing module are sent to external smart ice Case;When receiving the download request that the external refrigerator is sent according to the upgrade command, the upgrade procedure is sent to The external smart refrigerator.
10. a kind of auto upgrading manages system, which is characterized in that including:At least one intelligent terminal, at least one claim Cloud server described in 7 or 8 intelligent refrigerators and claim 9, wherein
Each described intelligent refrigerator is connected with the cloud server;
Each described intelligent terminal is connected with the cloud server;
The intelligent terminal, upgrade command and the corresponding upgrade procedure of the upgrade command for receiving user's transmission, and will The upgrade command and the upgrade procedure received is sent to the cloud server.
CN201810762754.9A 2018-07-12 2018-07-12 Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server Pending CN108572839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810762754.9A CN108572839A (en) 2018-07-12 2018-07-12 Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810762754.9A CN108572839A (en) 2018-07-12 2018-07-12 Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server

Publications (1)

Publication Number Publication Date
CN108572839A true CN108572839A (en) 2018-09-25

Family

ID=63571635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810762754.9A Pending CN108572839A (en) 2018-07-12 2018-07-12 Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server

Country Status (1)

Country Link
CN (1) CN108572839A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109595858A (en) * 2018-12-03 2019-04-09 四川虹美智能科技有限公司 Intelligent frequency conversion refrigerator, the system and method for controlling intelligent frequency conversion refrigerator compressor
CN110134419A (en) * 2019-05-20 2019-08-16 深圳市丰巢科技有限公司 A kind of method for upgrading system, device, equipment and the storage medium of two-sided cabinet
CN110162488A (en) * 2018-11-15 2019-08-23 深圳乐信软件技术有限公司 Buffer consistency method of calibration, device, server and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217257A1 (en) * 2008-02-27 2009-08-27 Mstar Semiconductor, Inc. Apparatus and Method for Firmware Update
CN102591676A (en) * 2010-11-12 2012-07-18 歌乐株式会社 Online update method for vehicle-mounted device
CN102855151A (en) * 2012-08-21 2013-01-02 武汉电信器件有限公司 Optical module firmware in-application upgrading method capable of not interrupting service
CN103312786A (en) * 2013-05-17 2013-09-18 广州市雄兵汽车电器有限公司 Vehicle-mounted terminal remote upgrading method and car networking system
CN103995712A (en) * 2014-04-16 2014-08-20 潍柴动力股份有限公司 Boot loader device capable of updating automatically and updating method thereof
CN104469278A (en) * 2013-09-25 2015-03-25 浙江大华技术股份有限公司 Method and device for upgrading monitoring system
WO2015102278A1 (en) * 2013-12-30 2015-07-09 어보브반도체 주식회사 Firmware update method using single optical port communication and microcontroller capable of updating firmware
CN105591824A (en) * 2016-01-14 2016-05-18 杭州赫智电子科技有限公司 Method and system for firmware upgrade
CN105677363A (en) * 2016-02-03 2016-06-15 四川长虹电器股份有限公司 OTA (Over-the-Air Technology) upgrading system
US20160291940A1 (en) * 2014-07-07 2016-10-06 Symphony Teleca Corporation Remote Embedded Device Update Platform Apparatuses, Methods and Systems
CN106371872A (en) * 2016-08-30 2017-02-01 无锡小天鹅股份有限公司 Washing machine program upgrading method and upgrading system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217257A1 (en) * 2008-02-27 2009-08-27 Mstar Semiconductor, Inc. Apparatus and Method for Firmware Update
CN102591676A (en) * 2010-11-12 2012-07-18 歌乐株式会社 Online update method for vehicle-mounted device
CN102855151A (en) * 2012-08-21 2013-01-02 武汉电信器件有限公司 Optical module firmware in-application upgrading method capable of not interrupting service
CN103312786A (en) * 2013-05-17 2013-09-18 广州市雄兵汽车电器有限公司 Vehicle-mounted terminal remote upgrading method and car networking system
CN104469278A (en) * 2013-09-25 2015-03-25 浙江大华技术股份有限公司 Method and device for upgrading monitoring system
WO2015102278A1 (en) * 2013-12-30 2015-07-09 어보브반도체 주식회사 Firmware update method using single optical port communication and microcontroller capable of updating firmware
CN103995712A (en) * 2014-04-16 2014-08-20 潍柴动力股份有限公司 Boot loader device capable of updating automatically and updating method thereof
US20160291940A1 (en) * 2014-07-07 2016-10-06 Symphony Teleca Corporation Remote Embedded Device Update Platform Apparatuses, Methods and Systems
CN105591824A (en) * 2016-01-14 2016-05-18 杭州赫智电子科技有限公司 Method and system for firmware upgrade
CN105677363A (en) * 2016-02-03 2016-06-15 四川长虹电器股份有限公司 OTA (Over-the-Air Technology) upgrading system
CN106371872A (en) * 2016-08-30 2017-02-01 无锡小天鹅股份有限公司 Washing machine program upgrading method and upgrading system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162488A (en) * 2018-11-15 2019-08-23 深圳乐信软件技术有限公司 Buffer consistency method of calibration, device, server and storage medium
CN110162488B (en) * 2018-11-15 2022-02-11 深圳乐信软件技术有限公司 Cache consistency checking method, device, server and storage medium
CN109595858A (en) * 2018-12-03 2019-04-09 四川虹美智能科技有限公司 Intelligent frequency conversion refrigerator, the system and method for controlling intelligent frequency conversion refrigerator compressor
CN110134419A (en) * 2019-05-20 2019-08-16 深圳市丰巢科技有限公司 A kind of method for upgrading system, device, equipment and the storage medium of two-sided cabinet
CN110134419B (en) * 2019-05-20 2023-03-21 深圳市丰巢科技有限公司 System upgrading method, device, equipment and storage medium for double-sided cabinet

Similar Documents

Publication Publication Date Title
CN105487980B (en) The method and device that repairing applications are operating abnormally
CN109413186B (en) Application program updating method, terminal, server and system
CN106681766B (en) Remote firmware upgrade control method and system
CN108572839A (en) Intelligent refrigerator system upgrade method, system, intelligent refrigerator and cloud server
US9928053B2 (en) Joint acquisition of update software for multiple devices
CN102571940B (en) Application program remote installation system, method, intelligent terminal, application server
CN104391862A (en) Method and device for updating cache data
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN104754002A (en) File cleaning method and device, mobile terminal and cloud-side server
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
WO2017049550A1 (en) Adapter and adapter upgrade method
CN104765628A (en) Method and system for updating touch screen firmware of movable terminal
CN103164247B (en) The method and device that system application is repaired automatically
CN103268239B (en) The management method of application program, device and mobile terminal in mobile terminal
CN104021218A (en) Information display method and device
CN103634665A (en) Version upgrading method and version upgrading device
CN106663016A (en) Upgrade method, apparatus and device for terminal device
CN103701914A (en) Off-line downloading method and device for serial resources
CN109688427A (en) A kind of smart television and its system repair
CN102750156A (en) Program burning method and system
CN113064685A (en) H5 page loading method and device
CN105227598A (en) A kind of resource sharing method, device and system stored based on cloud
CN109002305B (en) Method and system for updating equipment program
CN103617246A (en) Firmware version updating method and system
CN108874410B (en) Patch management method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180925