CN108446133A - Firmware upgrade control method, firmware upgrade control system and electric appliance - Google Patents
Firmware upgrade control method, firmware upgrade control system and electric appliance Download PDFInfo
- Publication number
- CN108446133A CN108446133A CN201810268965.7A CN201810268965A CN108446133A CN 108446133 A CN108446133 A CN 108446133A CN 201810268965 A CN201810268965 A CN 201810268965A CN 108446133 A CN108446133 A CN 108446133A
- Authority
- CN
- China
- Prior art keywords
- firmware
- electric appliance
- upgraded
- configuration file
- firmware upgrade
- 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
Links
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
Abstract
The present invention proposes a kind of firmware upgrade control method, firmware upgrade control system, electric appliance, computer equipment, computer readable storage medium, wherein firmware upgrade control method includes:Receive firmware upgrade trigger signal;The identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating detected;Determine whether electric appliance to be upgraded has the upgrading authority of firmware updating according to judging result, to control whether electric appliance to be upgraded enters firmware upgrade pattern.Technical solution through the invention can solve the rights concerns of firmware upgrade, and upgrading caused by when avoiding without limitation is random, the problem of version confusion, while can carry out black-box operation to avoid terminal operation personnel, and firmware upgrade is carried out to unexpected electric appliance.
Description
Technical field
The present invention relates to technical field of electrical equipment, in particular to a kind of firmware upgrade control method, firmware upgrade
Control system, electric appliance, computer equipment, computer readable storage medium.
Background technology
In recent years, with the fast development of electronic technology, network technology, the firmware upgrade scheme of electronic equipment has obtained extensively
General application.Firmware be electronic equipment the hardware with software function, can also narrow sense the software for being interpreted as system bottom.
Electronic product, with the use of user and the difference of practical application scene, can gradually be exposed and more and more be asked after manufacture
Topic just needs to carry out firmware upgrade to system this when, and bug (defect) is repaired or to meet user actual various with this
Demand.
Because the dispersibility of product is often needed when not supporting the hvac equipment of network interface to need firmware upgrade
After-sales staff is wanted to carry out firmware upgrade at the scene.The flow of upgrading is that new version firmware is issued site technology people by headquarters
Member, field technician download new firmware to flash disk, SD card (Secure Digital Memory Card, safe digital
Card) etc. storage devices, be inserted into the external interface of hvac equipment, air-conditioning master control borad detects that flash disk or SD card can be automatic
Carry file system, automatically into upgrading flow.
But upgrading flow used at present does not limit firmware upgrade.That is Field Force receives
It after firmware, can hold in flash disk or SD card to same model or approximate type, as long as firmware verification passes through, so that it may with to appointing
What Heating,Ventilating and Air Conditioning carries out firmware upgrade.To certain air-conditionings for not needing to upgrading, there may be risks for this, because managing after sale
Reason system complex, personnel are irregular, worker at the production line's circulation is big, are much unfamiliar with the first-line staff of heating ventilation air-conditioning system,
Using more new problem may be caused when firmware upgrade.
Therefore, how the limitation in technical solution effectively to be subject to the firmware upgrade behavior of terminal market, avoided the occurrence of
Because the extremely caused a series of problems of firmware upgrade becomes technical problem urgently to be resolved hurrily.
Invention content
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, the first aspect of the present invention is to propose a kind of firmware upgrade control method.
The second aspect of the invention is to propose a kind of firmware upgrade control system.
The third aspect of the invention is to propose a kind of electric appliance.
The fourth aspect of the invention is to propose a kind of computer equipment.
The fifth aspect of the invention is to propose a kind of computer readable storage medium.
In view of this, according to an aspect of the present invention, it proposes a kind of firmware upgrade control methods, including:It receives solid
Part upgrades trigger signal;The identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating detected;According to
Judging result determines whether electric appliance to be upgraded has the upgrading authority of firmware updating, to control whether electric appliance to be upgraded enters firmware
Upgrade mode.
Firmware upgrade control method provided by the invention is upgraded after receiving firmware upgrade trigger signal by detecting
The identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware, to determine that the firmware upgrade of being carried out electric appliance is
It is no to carry out firmware upgrade.Through the above scheme, default load configuration file is added in the corresponding firmware file of firmware updating,
It is limited with the permission of identification information pair firmware upgrade, appliance firmware can carried out to avoid after-sales staff is unfamiliar with to electric appliance
When upgrading, in the case where can not clearly be distinguished to same model or approximate type, it can not judge whether electric appliance has permission upgrading,
It causes to upgrade random, version confusion problem;Terminal operation personnel can also be avoided to carry out black-box operation, to unexpected engineering
Carry out firmware upgrade.
Above-mentioned firmware upgrade control method according to the present invention can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that determine whether electric appliance to be upgraded has firmware updating according to judging result
Upgrading authority is specifically included with controlling whether electric appliance to be upgraded enters firmware upgrade pattern:If judging result is preset configuration text
Part includes flag information, it is determined that electric appliance to be upgraded has the upgrading authority of firmware updating, controls electric appliance to be upgraded and enters firmware
Upgrade mode;If judging result, which is preset configuration file, does not include flag information, it is determined that electric appliance to be upgraded, which does not have upgrading, to be weighed
Limit, controls electric appliance to be upgraded and cannot be introduced into firmware upgrade pattern.
In the technical scheme, after electric appliance has received firmware upgrade trigger signal, detect in configuration file comprising with
When the corresponding identification information of the electric appliance, illustrates that the electric appliance is the electric appliance for needing to upgrade, there is upgrading authority, and then electricity can be controlled
Device enters firmware upgrade pattern.After electric appliance has received firmware upgrade trigger signal, be not detected in configuration file include and this
When the corresponding identification information of electric appliance, illustrate that the electric appliance does not have upgrading authority, and then electric appliance can be controlled and cannot be introduced into firmware upgrade
Pattern.Through the above scheme, it can be further whether electric appliance after-sales staff electric appliance clearly to be upgraded has permission progress firmware liter
Grade.
In any of the above-described technical solution, it is preferable that before receiving firmware upgrade trigger signal, further include:In difference
Firmware updating firmware file in add corresponding preset configuration file;Wherein, preset configuration file includes:With upgrading
The identification information of the electric appliance of permission.
In the technical scheme, in the firmware file of different firmware updatings, addition is corresponding containing identification information
Preset configuration file can support associated appliance type kind by the clear firmware file of identification information in configuration file
Class, wherein identification information can within include scalable product ID, that is, complete machine bar code.Product ID can be
Single bar code information can also be bar code range (such as certain batch products, certain type product produced in certain time).Electric appliance
Identification information in comprising with the relevant details of scalable electric appliance, the electric appliance machine that further clear firmware file can be adapted to
Type, the program is identification marking information when carrying out firmware upgrade operation, and then the premise of permission limitation is carried out to upgrading.
In any of the above-described technical solution, it is preferable that before receiving firmware upgrade trigger signal, further include:Obtain mark
Know information, identification information is written in the default storage device of electric appliance to be upgraded.
In the technical scheme, identification information is added in electric appliance, the identity information of electric appliance is specified, so as in firmware upgrade
When, it can determine whether electric appliance there is permission to carry out firmware upgrade according to identification information.
In any of the above-described technical solution, it is preferable that if electrical arrangement to be upgraded has network module, receive firmware upgrade
The step of trigger signal, specifically includes:The firmware file that server is sent is received by network interface;If electric appliance to be upgraded is not matched
The step of setting network module, then receiving firmware upgrade trigger signal specifically includes:It is received by the Peripheral Interface of electric appliance to be upgraded
Firmware file in peripheral hardware storage device.
In the technical scheme, if electric appliance master control borad to be upgraded can be consolidated new by network equipped with network module
Part is loaded into network module, and network module is transferred to electric appliance master chip by RS485 (universal serial bus).If electric appliance master control borad does not have
There is carrying network module, Field Force is needed to complete firmware upgrade.For example, new version firmware is obtained to general headquarters or server,
By in firmware storage to USB flash disk or SD card, it is inserted into the corresponding Peripheral Interface of electric appliance master control borad, electric appliance receives in peripheral hardware storage device
Firmware file after, it is autonomous to complete upgrading flow.Electric appliance to be upgraded can have Peripheral Interface while carrying network module,
In the case of no network or bad network, the firmware text in peripheral hardware storage device is received alternatively by Peripheral Interface
Part.By to electrical arrangement network module, may be implemented quickly and easily to upgrade electric appliance, and without after-sales staff to now
Field is serviced, and human cost can be saved.
In any of the above-described technical solution, it is preferable that after receiving firmware upgrade trigger signal, detect firmware updating
In preset configuration file whether comprising electric appliance to be upgraded identification information before, further include:Detection firmware file in whether include
Preset configuration file and verification preset configuration file;When in firmware file include preset configuration file and preset configuration file
Verification is when passing through, into the preset configuration file of detection firmware updating whether the step of the identification information comprising electric appliance to be upgraded
Suddenly;When do not include in firmware file preset configuration file or preset configuration file verification not by when, then send out unsuccessfully prompt letter
Breath;Wherein, using the password in default decryption rule decoding preset configuration file, to verify preset configuration file.
In the technical scheme, it after electric appliance receives firmware upgrade trigger signal, detects whether wrapped in firmware file first
File containing preset configuration and verification preset configuration file, when there is no configuration file, judgement is abnormal, exits and upgrades and send out
Failure prompt message;Further, it is handled comprising ciphertext in configuration file, master chip is embedded with decipherment algorithm, if configuration
File is modified, and inspection also will not pass through, then exits and upgrade and send out unsuccessfully prompt message.In above-mentioned technical proposal, inspection
Whether include preset configuration file, can prevent the maloperation due to user if surveying in firmware file, causes appliance firmware version wrong
Accidentally the problem of;It can be prevented using the password in default decryption rule decoding preset configuration file to verify preset configuration file
Configuration file is changed by people, and operating personnel is avoided to carry out black-box operation.
In any of the above-described technical solution, it is preferable that whether wrapped in the preset configuration file for entering detection firmware updating
Before identification information containing electric appliance to be upgraded, further include:Judge firmware updating whether before the deadline according to firmware information;If sentencing
Disconnected result be yes, then enter in the preset configuration file of detection firmware updating whether include electric appliance to be upgraded identification information step
Suddenly;If judging result is no, prompt message is sent out unsuccessfully.
In the technical scheme, for carrying real-time clock function main program, need to can be determined that firmware whether beyond having
The effect phase, if it exceeds the term of validity, then exit and upgrade and send out unsuccessfully prompt message.Using above-mentioned technical proposal, it is ensured that Gu
The version of part upgrading is latest edition, avoids being mounted with the firmware beyond term of validity version, causes to fail to realize that elimination is existing solid
Bug existing for part or meet user's differentiation customization demand.
In any of the above-described technical solution, it is preferable that identification information includes:Complete machine code, the date of manufacture, production wire body,
Product ID, safety code.
In the technical scheme, identification information may include complete machine code, the date of manufacture, production wire body, product ID,
One or more of information such as safety code, before firmware upgrade, electricity to be upgraded is written in the much information for including by identification information
The identity information of clear electric appliance in the default storage device of device, in firmware upgrade, identification information is included any kind of
Information may serve to verify whether electric appliance to be upgraded has upgrading authority, in after-sales staff to same model or approximate type
When can not clearly distinguish, it can determine whether electric appliance to be upgraded is the electric appliance that can upgrade by above- mentioned information.
According to the second aspect of the invention, it is proposed that a kind of firmware upgrade control system, including:Receiving unit is used for
Receive firmware upgrade trigger signal;Detection unit, whether comprising to be upgraded in the preset configuration file for detecting firmware updating
The identification information of electric appliance;Control unit, for determining whether electric appliance to be upgraded has the upgrading of firmware updating according to judging result
Permission, to control whether electric appliance to be upgraded enters firmware upgrade pattern.
Firmware upgrade control system provided by the invention carries configuration file in firmware file, in receiving unit comprising default
Whether after receiving firmware upgrade trigger signal, it includes to wait rising to be detected by detection unit in the preset configuration file of firmware updating
The identification information of grade electric appliance, determines whether the firmware upgrade of being carried out electric appliance can carry out firmware upgrade by control unit.It is logical
Said program is crossed, is limited with the permission of identification information pair firmware upgrade, can be existed to avoid after-sales staff is unfamiliar with to electric appliance
When carrying out appliance firmware upgrading, in the case where can not clearly be distinguished to same model or approximate type, it can not judge that electric appliance is
It is no to have permission upgrading, it causes to upgrade random, version confusion problem;Terminal operation personnel can also be avoided to carry out black-box operation,
Firmware upgrade is carried out to unexpected engineering.
Above-mentioned firmware upgrade control system according to the present invention can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that control unit specifically includes:First control unit, if being used for judging result
Include flag information for preset configuration file, it is determined that electric appliance to be upgraded has the upgrading authority of firmware updating, control to be upgraded
Electric appliance enters firmware upgrade pattern;And second control unit, if being that preset configuration file does not include mark for judging result
Information, it is determined that electric appliance to be upgraded does not have upgrading authority, controls electric appliance to be upgraded and cannot be introduced into firmware upgrade pattern.
In the technical scheme, after electric appliance has received firmware upgrade trigger signal, detect in configuration file comprising with
When the corresponding identification information of the electric appliance, illustrate that the electric appliance is the electric appliance for needing to upgrade, there is upgrading authority, and then by the first control
Unit control electric appliance enters firmware upgrade pattern.After electric appliance has received firmware upgrade trigger signal, configuration file is not detected
In when including identification information corresponding with the electric appliance, illustrate that the electric appliance does not have a upgrading authority, and then controlled by the second control unit
Electric appliance cannot be introduced into firmware upgrade pattern.Through the above scheme, can be further electric appliance after-sales staff electric appliance clearly to be upgraded
Whether carry out firmware upgrade is had permission.
In any of the above-described technical solution, it is preferable that further include:Adding device, for consolidating in different firmware updatings
Corresponding preset configuration file is added in part file;Wherein, preset configuration file includes:The mark of electric appliance with upgrading authority
Know information.
In the technical scheme, in the firmware file of different firmware updatings, by adding device add it is corresponding containing
The preset configuration file of identification information can be supported mutually powered-down by the clear firmware file of identification information in configuration file
Device type type, wherein identification information can within include scalable product ID, that is, complete machine bar code.Product serial
Number can be single bar code information can also be bar code range (such as certain batch products, certain model production produced in certain time
Product).In the identification information of electric appliance comprising with the relevant details of scalable electric appliance, further clear firmware file can be adapted to
Electric appliance type, the program be carry out firmware upgrade operation when identification marking information, and then to upgrading carry out permission limitation before
It carries.
In any of the above-described technical solution, it is preferable that further include:Unit is identified, for obtaining identification information, mark is believed
Breath is written in the default storage device of electric appliance to be upgraded.
In the technical scheme, identification information, and then the identity letter of clear electric appliance are added in electric appliance by identifying unit
Breath, when firmware upgrade, to determine whether electric appliance there is permission to carry out firmware upgrade according to identification information.
In any of the above-described technical solution, it is preferable that if electrical arrangement to be upgraded has network module, receiving unit specific
Including:First receiving subelement, for receiving the firmware file that server is sent by network interface;If electric appliance to be upgraded is not matched
Network module is set, then receiving unit specifically includes:Second receiving subelement, for being received by the Peripheral Interface of electric appliance to be upgraded
Firmware file in peripheral hardware storage device.
In the technical scheme, electric appliance master control borad to be upgraded can pass through equipped with network module, the first receiving subelement
New firmware loads to network module, network module are transferred to electric appliance master chip by network by RS485 (universal serial bus).If
Electric appliance master control borad does not carry network module, and Field Force is needed to complete firmware upgrade.For example, being obtained to general headquarters or server
New version firmware is inserted into the corresponding Peripheral Interface of electric appliance master control borad by firmware storage to USB flash disk or SD card, and second receives son
After unit receives the firmware file in peripheral hardware storage device, electric appliance independently completes upgrading flow.Electric appliance to be upgraded can carry
Retain Peripheral Interface while network module, in the case of no network or bad network, is connect alternatively by peripheral hardware
Mouth receives the firmware file in peripheral hardware storage device.By to electrical arrangement network module, may be implemented quickly and easily to electricity
Device is upgraded, and is serviced to scene without after-sales staff, and human cost can be saved.
In any of the above-described technical solution, it is preferable that further include:Whether verification unit wraps for detecting in firmware file
File containing preset configuration and verification preset configuration file;Detection unit, it includes preset configuration file specifically to work as in firmware file
And preset configuration file verification by when, into detection firmware updating preset configuration file in whether include electric appliance to be upgraded
Identification information the step of;Prompt unit does not include preset configuration file or preset configuration file school for working as in firmware file
Test not by when, then send out unsuccessfully prompt message;Wherein, the password in preset configuration file is decoded using default decryption rule,
To verify preset configuration file.
In the technical scheme, after electric appliance receives firmware upgrade trigger signal, first by verification unit detection firmware text
Whether comprising preset configuration file and verification preset configuration file in part, when there is no configuration file, judgement is abnormal, exits
Upgrade and prompt message is sent out unsuccessfully by prompt unit;Further, it is handled comprising ciphertext in configuration file, master chip is embedded
There is decipherment algorithm, if configuration file is modified, inspection also will not pass through, then exits and upgrade and send out mistake by prompt unit
Lose prompt message.In above-mentioned technical proposal, whether include preset configuration file, can prevent due to user if detecting in firmware file
Maloperation, the problem of causing appliance firmware version error;Password in preset configuration file is decoded using default decryption rule,
Preset configuration file is verified, can prevent configuration file from being changed by people, operating personnel is avoided to carry out black-box operation.
In any of the above-described technical solution, it is preferable that further include:Judging unit, for judging to upgrade according to firmware information
Before the deadline whether firmware;Detection unit is specifically used for if the determination result is YES, then entering the pre- establishing of detection firmware updating
Set in file the step of whether including the identification information of electric appliance to be upgraded;Prompt unit is sent out if it is no to be additionally operable to judging result
Go out unsuccessfully prompt message.
In the technical scheme, for carrying real-time clock function main program, judging unit can be determined that whether firmware surpasses
Go out the term of validity, if it exceeds the term of validity, then exit and upgrade and send out unsuccessfully prompt message by prompt unit.Using above-mentioned technical side
Case, it is ensured that the version of firmware upgrade is latest edition, avoids being mounted with the firmware beyond term of validity version, causes to fail reality
It now eliminates bug existing for existing firmware or meets the demand of the customization of user's differentiation.
In any of the above-described technical solution, it is preferable that identification information includes:Complete machine code, the date of manufacture, production wire body,
Product ID, safety code.
In the technical scheme, identification information may include complete machine code, the date of manufacture, production wire body, product ID,
One or more of information such as safety code, before firmware upgrade, electricity to be upgraded is written in the much information for including by identification information
The identity information of clear electric appliance in the default storage device of device, in firmware upgrade, identification information is included any kind of
Information may serve to verify whether electric appliance to be upgraded has upgrading authority, in after-sales staff to same model or approximate type
When can not clearly distinguish, it can determine whether electric appliance to be upgraded is the electric appliance that can upgrade by above- mentioned information.
According to the third aspect of the present invention, the present invention provides a kind of electric appliances, including:Such as the firmware liter of any of the above-described
Grade control system.
Electric appliance provided by the invention includes the firmware upgrade control system such as any of the above-described, therefore has the firmware liter
Whole advantageous effects of grade control system, details are not described herein.
In any of the above-described technical solution, it is preferable that electric appliance is air conditioner.
According to the fourth aspect of the present invention, the present invention provides a kind of computer equipment, including memory, processor and
The computer program that can be run on a memory and on a processor is stored, processor is realized when executing computer program as above-mentioned
The step of any one firmware upgrade control method.
A kind of computer equipment provided by the invention, processor realize such as any of the above-described firmware when executing computer program
The step of upgrade control method, equally realizes the technique effect of the firmware upgrade control method, and details are not described herein.
According to the fifth aspect of the present invention, it the present invention provides a kind of computer readable storage medium, is stored thereon with
Computer program is realized when computer program is executed by processor such as the step of any of the above-described firmware upgrade control method.
A kind of computer readable storage medium provided by the invention is stored thereon with computer program, computer program quilt
It is realized such as the step of any of the above-described firmware upgrade control method when processor executes, equally realizes the firmware upgrade control method
Technique effect, details are not described herein.
The additional aspect and advantage of the present invention will become apparent in following description section, or practice through the invention
Recognize.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination following accompanying drawings to embodiment
Obviously and it is readily appreciated that, wherein:
Fig. 1 shows the flow diagram of the firmware upgrade control method of one embodiment of the present of invention;
Fig. 2 shows the flow diagrams of the firmware upgrade control method of an alternative embodiment of the invention;
Fig. 3 shows the flow diagram of the firmware upgrade control method of yet another embodiment of the present invention;
Fig. 4 shows one embodiment of the present of invention complete machine bar code is written in the default storage device of electric appliance to be upgraded
Flow diagram;
Fig. 5 shows the flow diagram of the firmware upgrade control method of another embodiment of the present invention;
Fig. 6 shows the flow diagram of the firmware upgrade control method of another embodiment of the present invention;
Fig. 7 shows the flow diagram of the firmware upgrade control method of the specific embodiment of the present invention;
Fig. 8 shows the schematic block diagram of the firmware upgrade control system of one embodiment of the present of invention;
Fig. 9 shows the schematic block diagram of the computer equipment of one embodiment of the present of invention.
Specific implementation mode
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that aforementioned aspect of the present invention, feature and advantage
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not limited to following public affairs
The limitation for the specific embodiment opened.
The embodiment of first aspect present invention proposes that a kind of firmware upgrade control method, Fig. 1 show one of the present invention
The flow diagram of the firmware upgrade control method of embodiment:
Step 102, firmware upgrade trigger signal is received;
Step 104, the identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating detected;
Step 106, it determines whether electric appliance to be upgraded has the upgrading authority of firmware updating according to judging result, is waited for control
Upgrade whether electric appliance enters firmware upgrade pattern.
Firmware upgrade control method provided by the invention carries configuration file in firmware file comprising default, solid receiving
After part upgrades trigger signal, whether the mark comprising electric appliance to be upgraded is believed in the preset configuration file by detecting firmware updating
Breath, to determine whether the firmware upgrade of being carried out electric appliance can carry out firmware upgrade.Through the above scheme, solid with identification information pair
The permission of part upgrading is limited, and after-sales staff can be unfamiliar with when carrying out appliance firmware upgrading to avoid to electric appliance, to phase
In the case that same type machine or approximate type can not be distinguished clearly, can not judge whether electric appliance has permission upgrading, cause upgrading it is random,
The problem of version confusion;Terminal operation personnel can also be avoided to carry out black-box operation, firmware is carried out to the desired engineering of non-general headquarters
Upgrading.
Fig. 2 shows the flow diagrams of the firmware upgrade control method of an alternative embodiment of the invention.Wherein, the party
Method includes:
Step 202, firmware upgrade trigger signal is received;
Step 204, the identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating is detected, if
It is then to go to step 206, if it is not, then going to step 208;
Step 206, it determines that electric appliance to be upgraded has the upgrading authority of firmware updating, controls electric appliance to be upgraded and enter firmware liter
Grade pattern;
Step 208, it determines that electric appliance to be upgraded does not have the upgrading authority of firmware updating, controls electric appliance to be upgraded and cannot be introduced into
Firmware upgrade pattern.
Firmware upgrade control method provided by the invention detects and matches after electric appliance has received firmware upgrade trigger signal
When setting in file comprising identification information corresponding with the electric appliance, illustrates that the electric appliance is the electric appliance for needing to upgrade, there is upgrading authority,
And then electric appliance can be controlled and enter firmware upgrade pattern.After electric appliance has received firmware upgrade trigger signal, configuration is not detected
In file include identification information corresponding with the electric appliance when, illustrate that the electric appliance does not have upgrading authority, so can terminate electric appliance into
Enter the process of firmware upgrade pattern.Through the above scheme, can further be electric appliance after-sales staff electric appliance clearly to be upgraded whether
Have permission carry out firmware upgrade.
Fig. 3 shows the flow diagram of the firmware upgrade control method of yet another embodiment of the present invention.Wherein, the party
Method includes:
Step 302, identification information is obtained, identification information is written in the default storage device of electric appliance to be upgraded;
Step 304, corresponding preset configuration file is added in the firmware file of different firmware updatings;
Step 306, firmware upgrade trigger signal is received;
Step 308, the identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating is detected, if
It is to enter step 310, if it is not, entering step 312;
Step 310, it determines that electric appliance to be upgraded has the upgrading authority of firmware updating, controls electric appliance to be upgraded and enter firmware liter
Grade pattern;
Step 312, it determines that electric appliance to be upgraded does not have the upgrading authority of firmware updating, controls electric appliance to be upgraded and cannot be introduced into
Firmware upgrade pattern.
Identification information is added in firmware upgrade control method provided by the invention in electric appliance, the clear electric appliance of identification information
Identity information, when firmware upgrade, to determine whether electric appliance there is permission to carry out firmware liter according to identification information
Grade.Likewise, in the firmware file of different firmware updatings, the corresponding preset configuration file containing identification information is added,
Associated appliance type type can be supported by the clear firmware file of identification information in configuration file, wherein mark letter
Breath may include one or more of information such as complete machine code, date of manufacture, production wire body, product ID, safety code.Than
As included scalable product ID, that is, complete machine bar code in identification information.Product ID can be that single bar code is believed
Breath can also be bar code range (such as certain batch products, certain type product produced in certain time).The identification information of electric appliance
In comprising with the relevant details of scalable electric appliance, the electric appliance type that further clear firmware file can be adapted to, the setting
It is identification marking information when carrying out firmware upgrade operation, and then carries out the premise of permission limitation to upgrading.
In any of the above-described embodiment, before receiving firmware upgrade trigger signal, further include:Identification information is obtained, it will
Identification information is written in the default storage device of electric appliance to be upgraded.
In the technical scheme, identification information is added in electric appliance, specifies the identity information of electric appliance, Fig. 4 shows this hair
Flow diagram complete machine bar code being written in the default storage device of electric appliance to be upgraded of bright one embodiment.The flow packet
It includes:Step 402, electric appliance passes through assemble production line, generates a multiple complete machine bar codes and pastes complete machine;Step 404, production inspection
Survey tooling is swept using barcode scanning gun takes bar code;Step 406, bar code is sent to master control borad by production detecting tool host computer;Step
408, whether master control borad is normal correspondingly received, if so, 410 are entered step, if it is not, entering step 406;Step 410, master chip
By bar code write-in EEPROM (electricallyerasable ROM (EEROM)).
The above-mentioned default storage device flow that complete machine bar code is written to electric appliance to be upgraded, the production on assemble production line
Complete machine bar code is generated in journey, that is, the information of links on production line is all loaded into bar code, bar code is pasted whole
After machine, takes bar code generating detecting tool link and sweeping and bar code is sent to master control borad by production detecting tool host computer, also
It is that the various information that will be loaded in bar code are sent to master control borad, after master control borad normally receives, bar code is written by master chip
In EEPROM (electricallyerasable ROM (EEROM)), the default storage device that electric appliance to be upgraded is written in complete machine bar code is also just completed
Process.In this way, can determine whether electric appliance there is permission to carry out firmware upgrade according to identification information.
Fig. 5 shows the flow diagram of the firmware upgrade control method of another embodiment of the present invention.Wherein, the party
Method includes:
Step 502, identification information is obtained, identification information is written in the default storage device of electric appliance to be upgraded;
Step 504, corresponding preset configuration file is added in the firmware file of different firmware updatings;
Step 506, firmware upgrade trigger signal is received;
Step 508, detect in firmware file whether comprising preset configuration file and verification preset configuration file whether at
Work(, if so, 510 are entered step, if it is not, entering step 516;
Step 510, the identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating is detected, if
It is to enter step 512, if it is not, entering step 514;
Step 512, it determines that electric appliance to be upgraded has the upgrading authority of firmware updating, controls electric appliance to be upgraded and enter firmware liter
Grade pattern;
Step 514, it determines that electric appliance to be upgraded does not have the upgrading authority of firmware updating, controls electric appliance to be upgraded and cannot be introduced into
Firmware upgrade pattern;
Step 516, prompt message is sent out unsuccessfully.
Firmware upgrade control method provided by the invention, after electric appliance receives firmware upgrade trigger signal, detection first is solid
Whether comprising preset configuration file and verification preset configuration file in part file, when there is no configuration file, judgement is abnormal,
It exits and upgrades and send out unsuccessfully prompt message;Further, it is handled comprising ciphertext in configuration file, master chip is embedded with decryption
Algorithm, if configuration file is modified, inspection also will not pass through, then exits and upgrade and send out unsuccessfully prompt message.Detection
After passing through comprising preset configuration file and verification preset configuration file in firmware file, the preset configuration text of firmware updating is detected
The identification information for whether including electric appliance to be upgraded in part detects in configuration file to include identification information corresponding with the electric appliance
When, illustrate that the electric appliance is the electric appliance for needing to upgrade, there is upgrading authority, and then electric appliance can be controlled and enter firmware upgrade pattern.
After electric appliance has received firmware upgrade trigger signal, it includes identification information corresponding with the electric appliance to be not detected in configuration file
When, illustrate that the electric appliance does not have upgrading authority, and then electric appliance can be controlled and cannot be introduced into firmware upgrade pattern.
In this embodiment, whether include preset configuration file, can prevent the mistake due to user if detecting in firmware file
The problem of operating, causing appliance firmware version error;Using the password in default decryption rule decoding preset configuration file, come school
Preset configuration file is tested, can prevent configuration file from being changed by people, operating personnel is avoided to carry out black-box operation.
Fig. 6 shows the flow diagram of the firmware upgrade control method of another embodiment of the present invention.Wherein, the party
Method includes:
Step 602, identification information is obtained, identification information is written in the default storage device of electric appliance to be upgraded;
Step 604, corresponding preset configuration file is added in the firmware file of different firmware updatings;
Step 606, firmware upgrade trigger signal is received;
Step 608, detect in firmware file whether comprising preset configuration file and verification preset configuration file whether at
Work(, if so, 610 are entered step, if it is not, entering step 618;
Step 610, whether before the deadline the firmware updating is judged according to firmware information, if so, 612 are entered step,
If it is not, entering step 618;
Step 612, the identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating is detected, if
It is to enter step 614, if it is not, entering step 616;
Step 614, it determines that electric appliance to be upgraded has the upgrading authority of firmware updating, controls electric appliance to be upgraded and enter firmware liter
Grade pattern;
Step 616, it determines that electric appliance to be upgraded does not have the upgrading authority of firmware updating, controls electric appliance to be upgraded and cannot be introduced into
Firmware upgrade pattern;
Step 618, prompt message is sent out unsuccessfully.
Firmware upgrade control method provided by the invention carries configuration file in firmware file comprising default, and electric appliance receives solid
After part upgrades trigger signal, whether detect first in firmware file comprising preset configuration file and verification preset configuration text
Part, when there is no configuration file, judgement is abnormal, exits and upgrades and send out unsuccessfully prompt message;Further, in configuration file
Interior to be handled comprising ciphertext, master chip is embedded with decipherment algorithm, if configuration file is modified, inspection also will not pass through, then
It exits and upgrades and send out unsuccessfully prompt message.It detects in firmware file comprising preset configuration file and verification preset configuration file
By rear, for carrying real-time clock function main program, need to can be determined that whether firmware exceeds the term of validity, if it exceeds effectively
Phase then exits and upgrades and send out unsuccessfully prompt message.When firmware information before the deadline, then detect the preset configuration of firmware updating
The identification information for whether including electric appliance to be upgraded in file detects in configuration file to include identification information corresponding with the electric appliance
When, illustrate that the electric appliance is the electric appliance for needing to upgrade, there is upgrading authority, and then electric appliance can be controlled and enter firmware upgrade pattern.
When being not detected in configuration file comprising identification information corresponding with the electric appliance, illustrate that the electric appliance does not have upgrading authority, Jin Erke
Firmware upgrade pattern is cannot be introduced into control electric appliance.
In this embodiment, it for carrying real-time clock function main program, needs to can be determined that firmware whether beyond effective
Phase, if it exceeds the term of validity, then exit upgrading.Using above-mentioned technical proposal, it is ensured that the version of firmware upgrade is latest edition
This, is avoided being mounted with the firmware beyond term of validity version, causes to fail to realize that eliminating bug or satisfaction existing for existing firmware uses
The demand of the customization of family differentiation.
In any of the above-described embodiment, if electrical arrangement to be upgraded has network module, firmware upgrade trigger signal is being received
Before step, the firmware file that server is sent can be received by network interface;If electric appliance to be upgraded is not configured with network module,
Before receiving firmware upgrade trigger signal step, it can be received in peripheral hardware storage device by the Peripheral Interface of electric appliance to be upgraded
Firmware file.
It in this embodiment, can be by network by new firmware if electric appliance master control borad to be upgraded is equipped with network module
It is loaded into network module, network module is transferred to electric appliance master chip by RS485 (universal serial bus).If electric appliance master control borad does not have
Network module is carried, Field Force is needed to complete firmware upgrade.For example, new version firmware is obtained to general headquarters or server, it will
In firmware storage to USB flash disk or SD cards, it is inserted into the corresponding Peripheral Interface of electric appliance master control borad, electric appliance receives in peripheral hardware storage device
Firmware file after, it is autonomous to complete upgrading flow.Electric appliance to be upgraded can retain Peripheral Interface while carrying network module,
In the case of no network or bad network, the firmware text in peripheral hardware storage device is received alternatively by Peripheral Interface
Part.By to electrical arrangement network module, may be implemented quickly and easily to upgrade electric appliance, and without after-sales staff to now
Field is serviced, and human cost can be saved.
Fig. 7 shows the flow diagram of the firmware upgrade control method of the specific embodiment of the present invention.Such as Fig. 7 institutes
Show, the flow of the specific embodiment includes:
Step 702, if there are configuration files, if so, 704 are entered step, if it is not, entering step 714;
Step 704, whether configuration file verification passes through, if so, 706 are entered step, if it is not, entering step 714:In order to anti-
Only configuration file is changed by people, is handled comprising ciphertext in configuration file, master chip is embedded with decipherment algorithm, if examined after being changed
It tests and will not pass through, exit upgrading;
Step 706, if before the deadline, if so, 708 are entered step, if it is not, entering step 714:For carrying reality
When time clock feature main program, need to can be determined that whether firmware exceeds the term of validity, if it exceeds the term of validity, then exit upgrading;
Step 708, if need upgrading limited, if so, 710 are entered step, if it is not, entering step 712;
Step 710, if the machine can be retrieved and need to upgrade, be to enter step 712, if it is not, entering step 714:Main core
Whether piece reads the complete machine bar code (being the bar code that master chip is write in Fig. 1) stored in the side E, and retrieve and deposit in configuration file
In the machine, and if so, into firmware loads flow, upgrading is otherwise exited;
Step 712, upgrade sub-process;
Step 714, it exits, prompts failure.
In the specific embodiment, hvac equipment can paste complete machine bar code in general assembly, and complete machine bar code includes machine sheet
The main information of body:Product code, date of manufacture, production wire body, product ID, safety code etc..Software engineer receives city
Field change request issues new version firmware program after changing software.Firmware program is the lattice such as an entitled bin or hex of extension
The file of formula.Firmware upgrade functionality is developed, firmware is sent to terminal market, the market frontline personnel by mail or network
The card slot that master control borad is inserted into using flash disk or SD card carries out firmware upgrade.Upgrading mode before avoiding is (using special
Cd-rom recorder complete the upgrading of software) the problem of causing, (machine was mounted on all parts of the world, needs cd-rom recorder to post to global each
Ground, time, logistics and cd-rom recorder cost are very high).Under the premise of developing firmware upgrade functionality, increase a configuration file, configuration
Include scalable product ID, that is, complete machine bar code in file.Product ID can be that single bar code information also may be used
To be bar code range (such as certain batch products, certain type product produced in certain time).Include additionally the effective of firmware
The information such as phase.The firmware newly issued and firmware configuration file are suspended in system by general headquarters engineer, and terminal personnel can login system
Firmware and configuration file are downloaded to locally, can be used to upgrade after storage to flash disk or SD card.Main control chip has detected excellent
After disk or SD card are inserted into, into firmware loads flow.In this way, solving the rights concerns of firmware upgrade, it is unlimited to avoid
Upgrade random, the problem of version confusion caused by when processed.Terminal operation personnel are avoided simultaneously and carry out black-box operation, to non-general headquarters
Desired engineering carries out firmware upgrade.
The embodiment of second aspect of the present invention proposes that a kind of firmware upgrade control system 800, Fig. 8 show the present invention's
The schematic block diagram of the firmware upgrade control system 800 of one embodiment.Wherein, which includes:Receiving unit 802, for connecing
Receive firmware upgrade trigger signal;Detection unit 804, whether comprising to be upgraded in the preset configuration file for detecting firmware updating
The identification information of electric appliance;Control unit 806, for determining whether electric appliance to be upgraded has the liter of firmware updating according to judging result
Grade permission, to control whether electric appliance to be upgraded enters firmware upgrade pattern.
Firmware upgrade control system 800 provided by the invention carries configuration file in firmware file comprising default, single receiving
Member 802 receive firmware upgrade trigger signal after, by detection unit 804 detect firmware updating preset configuration file in whether
The identification information for including electric appliance to be upgraded determines whether the firmware upgrade of being carried out electric appliance can carry out by control unit 806
Firmware upgrade.Through the above scheme, it is limited, can be unfamiliar with to avoid to electric appliance with the permission of identification information pair firmware upgrade
After-sales staff, can not in the case where can not clearly be distinguished to same model or approximate type when carrying out appliance firmware upgrading
Judge whether electric appliance has permission upgrading, causes to upgrade random, version confusion problem;Terminal operation personnel can also be avoided to carry out
Black-box operation carries out firmware upgrade to the desired engineering of non-general headquarters.
In the above embodiment, it is preferable that control unit 806 specifically includes:First control unit, if being used for judging result
Include flag information for preset configuration file, it is determined that electric appliance to be upgraded has the upgrading authority of firmware updating, control to be upgraded
Electric appliance enters firmware upgrade pattern;And second control unit, if being that preset configuration file does not include mark for judging result
Information, it is determined that electric appliance to be upgraded does not have upgrading authority, controls electric appliance to be upgraded and cannot be introduced into firmware upgrade pattern.
In this embodiment, after electric appliance has received firmware upgrade trigger signal, detect in configuration file include and this
When the corresponding identification information of electric appliance, illustrate that the electric appliance is the electric appliance for needing to upgrade, there is upgrading authority, and then single by the first control
Member control electric appliance enters firmware upgrade pattern.After electric appliance has received firmware upgrade trigger signal, it is not detected in configuration file
Including when identification information corresponding with the electric appliance, illustrate that the electric appliance does not have upgrading authority, and then electricity is controlled by the second control unit
Device cannot be introduced into firmware upgrade pattern.Through the above scheme, can be for electric appliance after-sales staff electric appliance clearly to be upgraded further
It is no to have permission carry out firmware upgrade.
In any of the above-described embodiment, it is preferable that firmware upgrade control system 800 further includes:Adding device, for not
Corresponding preset configuration file is added in the firmware file of same firmware updating;Wherein, preset configuration file includes:With liter
The identification information of the electric appliance of grade permission.
In this embodiment, it in the firmware file of different firmware updatings, is added by adding device corresponding containing mark
The preset configuration file for knowing information, can support associated appliance by the clear firmware file of identification information in configuration file
Type type, wherein identification information can within include scalable product ID, that is, complete machine bar code.Product ID
Can be single bar code information can also be bar code range (such as certain batch products, certain model production produced in certain time
Product).In the identification information of electric appliance comprising with the relevant details of scalable electric appliance, further clear firmware file can be adapted to
Electric appliance type, the program be carry out firmware upgrade operation when identification marking information, and then to upgrading carry out permission limitation before
It carries.
In any of the above-described embodiment, it is preferable that firmware upgrade control system 800 further includes:Unit is identified, for obtaining
Identification information is written in the default storage device of electric appliance to be upgraded identification information.
In this embodiment, identification information, and then the identity information of clear electric appliance are added in electric appliance by identifying unit,
When firmware upgrade, to determine whether electric appliance there is permission to carry out firmware upgrade according to identification information.
In any of the above-described embodiment, it is preferable that if electrical arrangement to be upgraded has network module, receiving unit 802 to have
Body includes:First receiving subelement, for receiving the firmware file that server is sent by network interface;If electric appliance to be upgraded is not
Configuration network module, then receiving unit 802 specifically include:Second receiving subelement, for being connect by the peripheral hardware of electric appliance to be upgraded
Mouth receives the firmware file in peripheral hardware storage device.
In this embodiment, electric appliance master control borad to be upgraded can pass through net equipped with network module, the first receiving subelement
New firmware loads to network module, network module are transferred to electric appliance master chip by network by RS485 (universal serial bus).If electric
Device master control borad does not carry network module, and Field Force is needed to complete firmware upgrade.For example, being obtained to general headquarters or server new
Version firmware stores firmware into USB flash disk or SD card, is inserted into the corresponding Peripheral Interface of electric appliance master control borad, and second receives son list
After member receives the firmware file in peripheral hardware storage device, electric appliance independently completes upgrading flow.Electric appliance to be upgraded can carry net
Retain Peripheral Interface while network module, in the case of no network or bad network, alternatively by Peripheral Interface
Receive the firmware file in peripheral hardware storage device.By to electrical arrangement network module, may be implemented quickly and easily to electric appliance
Upgraded, and serviced to scene without after-sales staff, human cost can be saved.
In any of the above-described embodiment, it is preferable that firmware upgrade control system 800 further includes:Verification unit, for detecting
Whether include preset configuration file and verification preset configuration file in firmware file;Detection unit 804 is specifically used for working as firmware
In file comprising preset configuration file and preset configuration file verification by when, into the preset configuration text of detection firmware updating
The step of whether including the identification information of electric appliance to be upgraded in part;Prompt unit does not include pre- establishing for working as in firmware file
Set file or preset configuration file verification not by when, then send out unsuccessfully prompt message;Wherein, it is decoded using default decryption rule
Password in preset configuration file, to verify preset configuration file.
In this embodiment, after electric appliance receives firmware upgrade trigger signal, firmware is detected by verification unit 804 first
Whether comprising preset configuration file and verification preset configuration file in file, when there is no configuration file, judgement is abnormal, moves back
Go out to upgrade and send out unsuccessfully prompt message by prompt unit;Further, it is handled comprising ciphertext in configuration file, in master chip
Embedded with decipherment algorithm, if configuration file is modified, inspection also will not pass through, then exits and upgrade and sent out by prompt unit
Failure prompt message.In above-described embodiment, whether include preset configuration file, can prevent due to user if detecting in firmware file
Maloperation, the problem of causing appliance firmware version error;Password in preset configuration file is decoded using default decryption rule,
Preset configuration file is verified, can prevent configuration file from being changed by people, operating personnel is avoided to carry out black-box operation.
In any of the above-described embodiment, it is preferable that firmware upgrade control system 800 further includes:Judging unit is used for basis
Before the deadline whether firmware information judge firmware updating;Detection unit 804 is specifically used for if the determination result is YES, then entering
The step of whether including the identification information of electric appliance to be upgraded in the preset configuration file of detection firmware updating;Prompt unit is also used
If being no in judging result, prompt message is sent out unsuccessfully.
In this embodiment, for carrying real-time clock function main program, judging unit can be determined that whether firmware exceeds
The term of validity, if it exceeds the term of validity, then exit and upgrade and send out unsuccessfully prompt message by prompt unit.Using above-described embodiment,
It can ensure that the version of firmware upgrade is latest edition, avoid being mounted with the firmware beyond term of validity version, cause to fail to realize
It eliminates bug existing for existing firmware or meets the demand of the customization of user's differentiation.
In any of the above-described embodiment, it is preferable that identification information includes:Complete machine code, date of manufacture, production wire body, production
Product sequence number, safety code.
In this embodiment, identification information may include complete machine code, date of manufacture, production wire body, product ID, peace
One or more of information such as all-key, before firmware upgrade, electric appliance to be upgraded is written in the much information for including by identification information
Default storage device in clear electric appliance identity information, in firmware upgrade, any kind of letter that identification information is included
Breath may serve to verify whether electric appliance to be upgraded has upgrading authority, after-sales staff to same model or approximate type without
When method is clearly distinguished, it can determine whether electric appliance to be upgraded is the electric appliance that can upgrade by above- mentioned information.
The embodiment of third aspect present invention proposes that a kind of computer equipment, Fig. 9 show one embodiment of the present of invention
Computer equipment 900 schematic block diagram.Wherein, which includes:
Memory 902, processor 904 and it is stored in the computer journey that can be run on memory 902 and on processor 904
The step of sequence, processor 904 realizes firmware upgrade control method in such as above-mentioned any embodiment when executing computer program.
A kind of computer equipment 900 provided by the invention, processor 904 are realized when executing computer program as any of the above-described
In embodiment the step of firmware upgrade control method, the technique effect of the firmware upgrade control method is equally realized, herein no longer
It repeats.
The embodiment of fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer
Program, when computer program is executed by processor in realization such as above-mentioned any embodiment the step of firmware upgrade control method.
A kind of computer readable storage medium provided by the invention is stored thereon with computer program, computer program quilt
It is realized when processor executes as the step of firmware upgrade control method, equally realized the firmware upgrade control in above-mentioned any embodiment
The technique effect of method processed, details are not described herein.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc.
Mean that particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one reality of the present invention
It applies in example or example.In the present specification, schematic expression of the above terms are not necessarily referring to identical embodiment or reality
Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more of the embodiments or examples with
Suitable mode combines.
It these are only the preferred embodiment of the present invention, be not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.Any modification made by all within the spirits and principles of the present invention,
Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (20)
1. a kind of firmware upgrade control method, which is characterized in that including:
Receive firmware upgrade trigger signal;
The identification information for whether including electric appliance to be upgraded in the preset configuration file of firmware updating detected;
Determine whether the electric appliance to be upgraded has the upgrading authority of the firmware updating according to judging result, to be waited for described in control
Upgrade whether electric appliance enters firmware upgrade pattern.
2. firmware upgrade control method according to claim 1, which is characterized in that it is described determined according to judging result described in
Whether electric appliance to be upgraded has the upgrading authority of the firmware updating, to control whether the electric appliance to be upgraded enters firmware upgrade
Pattern specifically includes:
If it includes the flag information that judging result, which is the preset configuration file, it is determined that the electrical device to be upgraded has described
The upgrading authority of firmware updating controls the electric appliance to be upgraded and enters the firmware upgrade pattern;
If the judging result, which is the preset configuration file, does not include the flag information, it is determined that the electric appliance to be upgraded is not
With the upgrading authority, controls the electric appliance to be upgraded and cannot be introduced into the firmware upgrade pattern.
3. firmware upgrade control method according to claim 1, which is characterized in that trigger and believe in the reception firmware upgrade
Before number, further include:
Corresponding preset configuration file is added in the firmware file of different firmware updatings;
Wherein, the preset configuration file includes:The identification information of electric appliance with the upgrading authority.
4. firmware upgrade control method according to claim 1, which is characterized in that trigger and believe in the reception firmware upgrade
Before number, further include:
The identification information is obtained, the identification information is written in the default storage device of the electric appliance to be upgraded.
5. firmware upgrade control method according to claim 3, which is characterized in that
If the electrical arrangement to be upgraded has the step of network module, the reception firmware upgrade trigger signal to specifically include:
The firmware file that server is sent is received by the network interface;
If the step of electric appliance to be upgraded is not configured network module, the reception firmware upgrade trigger signal specifically includes:
The firmware file in peripheral hardware storage device is received by the Peripheral Interface of the electric appliance to be upgraded.
6. firmware upgrade control method according to claim 3, which is characterized in that trigger and believe in the reception firmware upgrade
After number, it is described detection firmware updating preset configuration file in whether comprising electric appliance to be upgraded identification information before, also wrap
It includes:
It whether detects in the firmware file comprising the preset configuration file and the verification preset configuration file;
When include the preset configuration file and the preset configuration file verification in the firmware file by when, into institute
State detection firmware updating preset configuration file in whether include electric appliance to be upgraded identification information the step of;
When do not include in the firmware file preset configuration file or the preset configuration file verification not by when, then send out
Go out unsuccessfully prompt message;
Wherein, the password in the preset configuration file is decoded using default decryption rule, to verify the preset configuration file.
7. firmware upgrade control method according to claim 6, which is characterized in that enter detection upgrading admittedly described
In the preset configuration file of part whether comprising electric appliance to be upgraded identification information before, further include:
Judge the firmware updating whether before the deadline according to the firmware information;
If the determination result is YES, then whether enter in the preset configuration file of the detection firmware updating includes electric appliance to be upgraded
The step of identification information;
If judging result is no, the failure prompt message is sent out.
8. firmware upgrade control method according to any one of claim 1 to 7, which is characterized in that
Wherein, the identification information includes:Complete machine code, date of manufacture, production wire body, product ID, safety code.
9. a kind of firmware upgrade control system, which is characterized in that including:
Receiving unit, for receiving firmware upgrade trigger signal;
Whether detection unit includes the identification information of electric appliance to be upgraded in the preset configuration file for detecting firmware updating;
Control unit, for determining the electric appliance to be upgraded whether weigh by the upgrading with the firmware updating according to judging result
Limit, to control whether the electric appliance to be upgraded enters firmware upgrade pattern.
10. firmware upgrade control system according to claim 9, which is characterized in that described control unit specifically includes:
First control unit, if it includes the flag information to be the preset configuration file for judging result, it is determined that described
Electrical device to be upgraded has the upgrading authority of the firmware updating, controls the electric appliance to be upgraded and enters the firmware upgrade pattern;
And
Second control unit, if being that the preset configuration file does not include the flag information for the judging result, really
The fixed electric appliance to be upgraded does not have the upgrading authority, controls the electric appliance to be upgraded and cannot be introduced into the firmware upgrade mould
Formula.
11. firmware upgrade control system according to claim 9, which is characterized in that further include:
Adding device, for adding corresponding preset configuration file in the firmware file of different firmware updatings;
Wherein, the preset configuration file includes:The identification information of electric appliance with the upgrading authority.
12. firmware upgrade control system according to claim 9, which is characterized in that further include:
The default storage of the electric appliance to be upgraded is written for obtaining the identification information in the identification information by mark unit
In device.
13. firmware upgrade control system according to claim 11, which is characterized in that
If the electrical arrangement to be upgraded has network module, the receiving unit to specifically include:
First receiving subelement, for receiving the firmware file that server is sent by the network interface;
If network module is not configured in the electric appliance to be upgraded, the receiving unit specifically includes:
Second receiving subelement, it is described solid in peripheral hardware storage device for being received by the Peripheral Interface of the electric appliance to be upgraded
Part file.
14. firmware upgrade control system according to claim 11, which is characterized in that further include:
Verification unit, for whether detecting in the firmware file comprising the preset configuration file and the verification pre- establishing
Set file;
The detection unit, specifically when in the firmware file include the preset configuration file and the preset configuration file
Verification is when passing through, into the preset configuration file of the detection firmware updating whether the identification information comprising electric appliance to be upgraded
Step;
Prompt unit does not include the preset configuration file or the preset configuration file verification for working as in the firmware file
Not by when, then send out unsuccessfully prompt message;
Wherein, the password in the preset configuration file is decoded using default decryption rule, to verify the preset configuration file.
15. firmware upgrade control system according to claim 14, which is characterized in that further include:
Judging unit, for judging the firmware updating whether before the deadline according to the firmware information;
The detection unit, is specifically used for if the determination result is YES, then enters the preset configuration file of the detection firmware updating
In whether include electric appliance to be upgraded identification information the step of;
The prompt unit sends out the failure prompt message if it is no to be additionally operable to judging result.
16. firmware upgrade control system according to any one of claims 9 to 15, which is characterized in that
Wherein, the identification information includes:Complete machine code, date of manufacture, production wire body, product ID, safety code.
17. a kind of electric appliance, which is characterized in that including:Firmware upgrade control system as described in any one of claim 9 to 16
System.
18. electric appliance according to claim 17, which is characterized in that the electric appliance is air conditioner.
19. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 8 when executing the computer program
Any one of the firmware upgrade control method the step of.
20. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
It is realized when being executed by processor as described in any one of claim 1 to 8 the step of firmware upgrade control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810268965.7A CN108446133A (en) | 2018-03-29 | 2018-03-29 | Firmware upgrade control method, firmware upgrade control system and electric appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810268965.7A CN108446133A (en) | 2018-03-29 | 2018-03-29 | Firmware upgrade control method, firmware upgrade control system and electric appliance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108446133A true CN108446133A (en) | 2018-08-24 |
Family
ID=63197463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810268965.7A Pending CN108446133A (en) | 2018-03-29 | 2018-03-29 | Firmware upgrade control method, firmware upgrade control system and electric appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108446133A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958779A (en) * | 2018-09-20 | 2018-12-07 | 广东美的暖通设备有限公司 | Firmware upgrade management method, device and computer readable storage medium |
CN109582333A (en) * | 2018-11-28 | 2019-04-05 | 合肥华凌股份有限公司 | The method of refrigerator software upgrading, medium on refrigerator production line and production line |
CN110225139A (en) * | 2019-06-28 | 2019-09-10 | 苏州浪潮智能科技有限公司 | A kind of server firmware upgrade package processing method and processing device |
CN110750285A (en) * | 2019-10-17 | 2020-02-04 | 和美(深圳)信息技术股份有限公司 | Firmware upgrading method and device, computer equipment and storage medium |
CN110780913A (en) * | 2019-10-24 | 2020-02-11 | 东莞市小精灵教育软件有限公司 | Cross-machine type differential upgrading method and system, storage medium and electronic equipment |
CN110837389A (en) * | 2019-11-01 | 2020-02-25 | 北京云迹科技有限公司 | Equipment upgrading method and device, Internet of things equipment and storage medium |
WO2020107689A1 (en) * | 2018-11-29 | 2020-06-04 | 广东美的制冷设备有限公司 | Method and apparatus for upgrading household appliance, and household appliance |
CN112799698A (en) * | 2021-01-14 | 2021-05-14 | 陕西建工安装集团(河南)有限公司 | SD card based automatic upgrading method under U-boot |
CN113485727A (en) * | 2021-08-23 | 2021-10-08 | 一飞(海南)科技有限公司 | Design method, system, terminal and unmanned aerial vehicle supported by formation aircraft firmware |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030028766A1 (en) * | 2001-08-03 | 2003-02-06 | Gass Larry H. | Firmware security key upgrade algorithm |
US6834340B2 (en) * | 2001-03-01 | 2004-12-21 | International Business Machines Corporation | Mechanism to safely perform system firmware update in logically partitioned (LPAR) machines |
CN102065118A (en) * | 2010-09-16 | 2011-05-18 | 深圳市九洲电器有限公司 | Method for updating network equipment and device for implementing method |
CN103970572A (en) * | 2014-05-21 | 2014-08-06 | 浪潮(北京)电子信息产业有限公司 | Server component upgrading method, device and system |
CN104866333A (en) * | 2014-09-29 | 2015-08-26 | 广东美的环境电器制造有限公司 | Upgrading system and upgrading method for software in household appliances |
CN105159727A (en) * | 2015-09-22 | 2015-12-16 | 广东欧珀移动通信有限公司 | Firmware upgrade processing method, apparatus and system |
CN106203071A (en) * | 2016-06-30 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | A kind of firmware upgrade method and device |
CN106325929A (en) * | 2016-08-22 | 2017-01-11 | 合肥华凌股份有限公司 | Firmware upgrading method, firmware upgrading device, refrigerator and server side |
CN107301065A (en) * | 2017-05-22 | 2017-10-27 | 北京羽扇智信息科技有限公司 | Firmware upgrade method, ip intelligent peripherals and firmware upgrade system |
CN107491328A (en) * | 2017-08-02 | 2017-12-19 | 广东美的暖通设备有限公司 | Updating firmware program method, system and electric equipment |
-
2018
- 2018-03-29 CN CN201810268965.7A patent/CN108446133A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6834340B2 (en) * | 2001-03-01 | 2004-12-21 | International Business Machines Corporation | Mechanism to safely perform system firmware update in logically partitioned (LPAR) machines |
US20030028766A1 (en) * | 2001-08-03 | 2003-02-06 | Gass Larry H. | Firmware security key upgrade algorithm |
CN102065118A (en) * | 2010-09-16 | 2011-05-18 | 深圳市九洲电器有限公司 | Method for updating network equipment and device for implementing method |
CN103970572A (en) * | 2014-05-21 | 2014-08-06 | 浪潮(北京)电子信息产业有限公司 | Server component upgrading method, device and system |
CN104866333A (en) * | 2014-09-29 | 2015-08-26 | 广东美的环境电器制造有限公司 | Upgrading system and upgrading method for software in household appliances |
CN105159727A (en) * | 2015-09-22 | 2015-12-16 | 广东欧珀移动通信有限公司 | Firmware upgrade processing method, apparatus and system |
CN106203071A (en) * | 2016-06-30 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | A kind of firmware upgrade method and device |
CN106325929A (en) * | 2016-08-22 | 2017-01-11 | 合肥华凌股份有限公司 | Firmware upgrading method, firmware upgrading device, refrigerator and server side |
CN107301065A (en) * | 2017-05-22 | 2017-10-27 | 北京羽扇智信息科技有限公司 | Firmware upgrade method, ip intelligent peripherals and firmware upgrade system |
CN107491328A (en) * | 2017-08-02 | 2017-12-19 | 广东美的暖通设备有限公司 | Updating firmware program method, system and electric equipment |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958779A (en) * | 2018-09-20 | 2018-12-07 | 广东美的暖通设备有限公司 | Firmware upgrade management method, device and computer readable storage medium |
CN109582333A (en) * | 2018-11-28 | 2019-04-05 | 合肥华凌股份有限公司 | The method of refrigerator software upgrading, medium on refrigerator production line and production line |
US11816467B2 (en) | 2018-11-28 | 2023-11-14 | Hefei Hualing Co., Ltd. | Refrigerator production line, method for upgrading refrigerator software on production line and medium |
WO2020107689A1 (en) * | 2018-11-29 | 2020-06-04 | 广东美的制冷设备有限公司 | Method and apparatus for upgrading household appliance, and household appliance |
CN110225139A (en) * | 2019-06-28 | 2019-09-10 | 苏州浪潮智能科技有限公司 | A kind of server firmware upgrade package processing method and processing device |
CN110750285A (en) * | 2019-10-17 | 2020-02-04 | 和美(深圳)信息技术股份有限公司 | Firmware upgrading method and device, computer equipment and storage medium |
CN110750285B (en) * | 2019-10-17 | 2023-08-04 | 和美(深圳)信息技术股份有限公司 | Firmware upgrading method, device, computer equipment and storage medium |
CN110780913A (en) * | 2019-10-24 | 2020-02-11 | 东莞市小精灵教育软件有限公司 | Cross-machine type differential upgrading method and system, storage medium and electronic equipment |
CN110780913B (en) * | 2019-10-24 | 2023-04-07 | 东莞市小精灵教育软件有限公司 | Cross-machine type differential upgrading method and system, storage medium and electronic equipment |
CN110837389A (en) * | 2019-11-01 | 2020-02-25 | 北京云迹科技有限公司 | Equipment upgrading method and device, Internet of things equipment and storage medium |
CN112799698A (en) * | 2021-01-14 | 2021-05-14 | 陕西建工安装集团(河南)有限公司 | SD card based automatic upgrading method under U-boot |
CN113485727A (en) * | 2021-08-23 | 2021-10-08 | 一飞(海南)科技有限公司 | Design method, system, terminal and unmanned aerial vehicle supported by formation aircraft firmware |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446133A (en) | Firmware upgrade control method, firmware upgrade control system and electric appliance | |
CN103314359B (en) | For updating the system and method for firmware | |
US7451606B2 (en) | HVAC system analysis tool | |
US9366453B2 (en) | Control system of air conditioning system | |
CN107491328A (en) | Updating firmware program method, system and electric equipment | |
CN108334058A (en) | A kind of diagnostic system and method based on car body controller | |
CN109739536A (en) | The method, apparatus and storage medium of vehicle remote firmware updating | |
CN112114897B (en) | Parameter configuration method and device based on industrial control screen and computer equipment | |
JP2006302229A (en) | Safety unit configuration verification system | |
CN106454847A (en) | Method and device for detecting phishing risk of public WiFi | |
CN110739025B (en) | Power failure test method, device and system for storage equipment | |
CN108958779A (en) | Firmware upgrade management method, device and computer readable storage medium | |
CN113685921B (en) | Multi-split air conditioner | |
CN116405421B (en) | Communication test method, system and storage medium of simulation chip test sorting machine | |
CN105117311A (en) | System deployment environment inspection method and system | |
CN110232881A (en) | Front board measuring method | |
CN112131098A (en) | Method and system for testing electric energy meter software | |
EP2886397A1 (en) | Vehicle control device, and vehicle control system | |
CN112154439A (en) | Unmanned aerial vehicle activation method, unmanned aerial vehicle unbinding method, equipment and storage medium | |
CN107944256A (en) | Bid evaluation system, Environmental security detection method and device | |
CN110736509A (en) | air conditioner outdoor unit testing method and system, storage medium and upper computer | |
CN110410927A (en) | Air-conditioning unlocking method, system and computer readable storage medium | |
CN112781070B (en) | Method for adjusting parameters of gas equipment and mobile terminal | |
Lupei et al. | Application for UDS automated test generation | |
CN117806881A (en) | Hardware equipment testing method, system 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: 20180824 |