CN108958779A - Firmware upgrade management method, device and computer readable storage medium - Google Patents

Firmware upgrade management method, device and computer readable storage medium Download PDF

Info

Publication number
CN108958779A
CN108958779A CN201811105997.1A CN201811105997A CN108958779A CN 108958779 A CN108958779 A CN 108958779A CN 201811105997 A CN201811105997 A CN 201811105997A CN 108958779 A CN108958779 A CN 108958779A
Authority
CN
China
Prior art keywords
air conditioner
firmware upgrade
random number
master chip
encrypted message
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
CN201811105997.1A
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.)
Midea Group Co Ltd
Guangdong Midea HVAC Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea HVAC Equipment 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 Midea Group Co Ltd, Guangdong Midea HVAC Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201811105997.1A priority Critical patent/CN108958779A/en
Publication of CN108958779A publication Critical patent/CN108958779A/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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

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)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a kind of firmware upgrade management method, device and computer readable storage medium, the firmware upgrade management method is the following steps are included: generate random number, and obtain the complete machine bar code information of air conditioner;Dynamic password information is generated according to the random number and the complete machine bar code information of the air conditioner;Input encrypted message is received, judges whether the input encrypted message and the dynamic password information generated in advance are consistent;When the input encrypted message is consistent with the dynamic password information generated in advance, the master chip for controlling air conditioner enters firmware upgrade mode;When the dynamic password information for inputting encrypted message and generating in advance is inconsistent, the master chip for controlling air conditioner does not enter firmware upgrade mode.Technical solution of the present invention may be implemented effectively to manage the upgrade status of the air conditioner of terminal market, avoid causing air conditioner to be operating abnormally since external staff's mistake upgrades by locking to firmware upgrade functionality.

Description

Firmware upgrade management method, device and computer readable storage medium
Technical field
The present invention relates to technical field of electrical equipment more particularly to firmware upgrade management methods, device and computer-readable Storage medium.
Background technique
In recent years, with the raising of people's level of consumption, air-conditioner product has obtained recognizing for more and more consumers Can, in order to meet the needs of consumer is growing, air-conditioner product is in performance, automatically controlled horizontal, automation and user's body Test etc. has larger promotion, and product is sold to after user, if there are bug (loophole) or function to need to increase for software Add, generally requires upgrading software.In order to solve air conditioner upgrade problem, develop using flash disk, SD card and bus upgrade technique Deng new burning code being issued user or after-sales staff, the code of institute's burning is saved in flash disk or SD by Field Force Card, then flash disk or SD card are inserted into air-conditioner equipment, new version software upgrading can be carried out.
But in order to guarantee the convenience of operation, upgrading authority is not managed in escalation process, ordinary circumstance Under be insertion flash disk or SD card after, re-power resets, master chip can detect the carry situation of flash disk or SD card automatically, examine After measuring new procedures and being met by certain checking algorithm, upgraded automatically.Although this mode is very convenient, because Burning code can be with infinite copy, and after inflow terminal market, the upgrade status of terminal market is substantially at runaway condition, Such as originally be same model machine, but needed according to factors such as the weather in air conditioner market, usage scenarios to a certain The unit of specific region carries out software upgrading;Or same type, only some client specially develops one for some type A customization software, can the machines of this actually all model can all be upgraded.It is possible to occur so external The case where personnel accidentally upgrade or malice upgrades.Moreover, software version burning mistake, will cause unit operation exception.
Summary of the invention
The embodiment of the present application is by providing a kind of firmware upgrade management method, device and computer readable storage medium, purport The upgrade status of the air conditioner of terminal market is effectively managed realizing, avoids causing since external staff's mistake upgrades Air conditioner is operating abnormally.
To achieve the above object, the present invention provides a kind of firmware upgrade management method, comprising the following steps:
Random number is generated, and obtains the complete machine bar code information of air conditioner;
Dynamic password information is generated according to the random number and the complete machine bar code information of the air conditioner;
Receive input encrypted message, judge the input encrypted message and the dynamic password information that generates in advance whether one It causes, wherein the input encrypted message is raw according to the random number and the complete machine bar code information of the air conditioner by decoding tool At;
When the input encrypted message is consistent with the dynamic password information generated in advance, control the master chip of air conditioner into Enter firmware upgrade mode;
When the dynamic password information for inputting encrypted message and generating in advance is inconsistent, the master chip of air conditioner is controlled Firmware upgrade mode is not entered.
Optionally, described when the input encrypted message is consistent with the dynamic password information, control the master of air conditioner Chip entered after the step of firmware upgrade mode, further includes:
Firmware updating file is received, firmware upgrade is carried out according to the firmware updating document control master chip;
When the master chip upgrades completion, prompt to upgrade successfully and restart air conditioner.
Optionally, the generation random number, and before the step of obtaining the complete machine bar code information of air conditioner, further includes:
Encrypted state is set by master chip, under the encrypted state, random number is generated and obtains the complete machine of air conditioner Bar code information.
Optionally, the step of generation random number includes:
Clock information is read, random seed number is generated according to the clock information;
Random number is generated according to the random seed number.
Optionally, after the completion of upgrading, master chip regenerates new random number, and according to the new random number and institute It states complete machine bar code information and generates new dynamic password information.
Optionally, after the step of complete machine bar code information for generating random number and obtaining air conditioner, further includes:
The complete machine bar code information of random number and air conditioner is sent to human-computer interaction device, so that human-computer interaction device will be connect The random number of receipts and the complete machine bar code information of air conditioner are shown in display interface, for upgrading personnel for the random number and the sky The complete machine bar code information of device is adjusted to be input to decoding tool;
When the decoding tool generates input encrypted message, the input message in cipher transmitted through human-computer interaction device is received Breath.
Optionally, the firmware upgrade management method is further comprising the steps of:
Random number is generated, and obtains the identification information of master chip;
Dynamic password information is generated according to the random number and the identification information of the master chip;
When receiving input encrypted message, judge that the input encrypted message is with the dynamic password information generated in advance It is no consistent, wherein the input encrypted message is believed by decoding tool according to the identity of the random number and the master chip Breath generates;
When the input encrypted message is consistent with the dynamic password information generated in advance, control the master chip of air conditioner into Enter firmware upgrade mode;
When the dynamic password information for inputting encrypted message and generating in advance is inconsistent, the master chip of air conditioner is controlled Firmware upgrade mode is not entered.
To achieve the above object, the present invention also provides a kind of firmware upgrade managing device, the firmware upgrade managing devices Include: memory, processor and storage on a memory and the firmware upgrade management program that can run on a processor, it is described solid As above described in any item firmware upgrade management methods are realized when part upgrade management program is run by the processor.
To achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer-readable storages It is stored with firmware upgrade management program on medium, realizes when the firmware upgrade management program is executed by the processor and such as takes up an official post Firmware upgrade management method described in one.
Technical solution of the present invention, by the locking to firmware upgrade functionality, only with the upgrading personnel of decrypted rights Corresponding input encrypted message is obtained by decoding tool, and through master chip confirmation input encrypted message and the dynamic itself generated When encrypted message is identical, firmware upgrade could be carried out to the master chip of air conditioner, avoid carrying out air conditioner due to external staff Mistake upgrades and air conditioner is caused to be operating abnormally.
Detailed description of the invention
Fig. 1 is the electronic devices structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of firmware upgrade management method first embodiment of the present invention;
Fig. 3 is the flow diagram of firmware upgrade management method second embodiment of the present invention;
Fig. 4 is the flow diagram of firmware upgrade management method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of firmware upgrade management method fourth embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the electronic devices structure signal for the hardware running environment that one embodiment of the invention scheme is related to Figure.
The electronic equipment of the embodiment of the present invention can be the electronic products such as air conditioner, PC or television set.
As shown in Figure 1, the electronic equipment may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood to those skilled in the art that terminal structure shown in fig. 1 does not constitute the restriction to electronic equipment, it can To include than illustrating more or fewer components or different component layouts.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium Network communication module, Subscriber Interface Module SIM and firmware upgrade management program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the firmware upgrade management program stored in memory 1005, and execute following operation:
Random number is generated, and obtains the complete machine bar code information of air conditioner;
Dynamic password information is generated according to the random number and the complete machine bar code information of the air conditioner;
Receive input encrypted message, judge the input encrypted message and the dynamic password information that generates in advance whether one It causes, wherein the input encrypted message is raw according to the random number and the complete machine bar code information of the air conditioner by decoding tool At;
When the input encrypted message is consistent with the dynamic password information generated in advance, control the master chip of air conditioner into Enter firmware upgrade mode;
When the dynamic password information for inputting encrypted message and generating in advance is inconsistent, the master chip of air conditioner is controlled Firmware upgrade mode is not entered.
Further, processor 1001 can call the firmware upgrade management program stored in memory 1005, and execute It operates below:
Firmware updating file is received, firmware upgrade is carried out according to the firmware updating document control master chip;
When the master chip upgrades completion, prompt to upgrade successfully and restart air conditioner.
Further, processor 1001 can call the firmware upgrade management program stored in memory 1005, and execute It operates below:
Encrypted state is set by master chip, under the encrypted state, random number is generated and obtains the complete machine of air conditioner Bar code information.
Further, processor 1001 can call the firmware upgrade management program stored in memory 1005, and execute It operates below:
Clock information is read, random seed number is generated according to the clock information;
Random number is generated according to the random seed number.
Further, processor 1001 can call the firmware upgrade management program stored in memory 1005, and execute It operates below:
After the completion of upgrading, master chip regenerates new random number, and according to the new random number and the complete machine Bar code information generates new dynamic password information.
Further, processor 1001 can call the firmware upgrade management program stored in memory 1005, and execute It operates below:
The complete machine bar code information of random number and air conditioner is sent to human-computer interaction device, so that human-computer interaction device will be connect The random number of receipts and the complete machine bar code information of air conditioner are shown in display interface, for upgrading personnel for the random number and the sky The complete machine bar code information of device is adjusted to be input to decoding tool;
When the decoding tool generates input encrypted message, the input message in cipher transmitted through human-computer interaction device is received Breath.
Further, processor 1001 can call the firmware upgrade management program stored in memory 1005, and execute It operates below:
Random number is generated, and obtains the identification information of master chip;
Dynamic password information is generated according to the random number and the identification information of the master chip;
When receiving input encrypted message, judge that the input encrypted message is with the dynamic password information generated in advance It is no consistent, wherein the input encrypted message is believed by decoding tool according to the identity of the random number and the master chip Breath generates;
When the input encrypted message is consistent with the dynamic password information generated in advance, control the master chip of air conditioner into Enter firmware upgrade mode;
When the dynamic password information for inputting encrypted message and generating in advance is inconsistent, the master chip of air conditioner is controlled Firmware upgrade mode is not entered.
As shown in Fig. 2, Fig. 2 is the flow diagram of firmware upgrade management method first embodiment of the present invention.
In the present embodiment, the firmware upgrade management method includes:
Step S10 generates random number, and obtains the complete machine bar code information of air conditioner;
The most important characteristic of random number is that its that subsequent number and that number of front when generating have no bearing on.This reality It applies in example, Encryption Algorithm can be arranged in master chip based on random number and complete machine bar code information, be obtained in program correctly defeated It just can enter the updating operation page after entering encrypted message, can just be upgraded.When air conditioner powers on, master chip is read in real time The clock information of system, and using clock value as random number seed, by calling random number functions to generate random number.
The complete machine bar code information of the air conditioner includes product code, date of manufacture, production wire body, product ID and peace All-key.In practical applications, on assemble production line generate complete machine bar code, that is, on assemble production line by product code, Date of manufacture, production wire body, product ID and safety code etc. are all loaded into bar code, and bar code is pasted in complete machine, The production detecting tool stage sweeps rounding machine bar code information by barcode scanning gun and complete machine bar code information is sent to master by host computer It controls in plate, after normally receiving EEPROM (the band read-only storage of electric erazable programmable is written by master chip in complete machine bar code by master control borad Device) in, it also just completes the process of the default storage device of complete machine bar code write-in air conditioner.Wherein, the host computer can be with It is PC machine.
Step S20 generates dynamic password information according to the random number and the complete machine bar code information of the air conditioner;
It is corresponding that decipherment algorithm is equipped in master chip when Encryption Algorithm is arranged to master chip.It is needing to air conditioner When carrying out firmware upgrade, master chip obtains complete machine bar code information from EEPROM, meanwhile, random number is generated according to clock information, Again by calling decipherment algorithm to can produce corresponding dynamic password information, since complete machine bar code information is fixed, and air-conditioning The random number generated when device powers on every time is different, and therefore, it is also different for upgrading generated dynamic password information every time 's.
Step S30 receives input encrypted message, the dynamic password information for judging the input encrypted message and generating in advance It is whether consistent;If so, S40 is entered step, if it is not, entering step S50;
The input encrypted message is generated by decoding tool according to random number and the complete machine bar code information of air conditioner, decrypts work Tool is embedded with decipherment algorithm, and decipherment algorithm is identical as the decipherment algorithm in master chip, according to identical random number and complete machine item The encrypted message that code information obtains is also identical, wherein the decoding tool can be mobile phone application software or computer software etc.. Upgrading personnel can realize the information exchange between master chip by setting human-computer interaction device.Pass through the master control in air conditioner Peripheral Interface and human-computer interaction device company on the master control borad of air conditioner can be used in the various interfaces of peripheral hardware on plate, upgrading personnel It connects, is directly or indirectly connected between human-computer interaction device and master chip for example, can be realized by RS485 mode.Pass through Human-computer interaction device obtains corresponding random number and complete machine bar code information from air conditioner, and is shown in the aobvious of human-computer interaction device Show on interface, live upgrading personnel input the random number and the complete machine bar code information in decoding tool, to obtain Corresponding input encrypted message, then the master chip that the encrypted message of acquisition is transferred to air conditioner is carried out by human-computer interaction device Verifying.Master chip will input encrypted message and the dynamic password information that itself generates in advance when receiving input encrypted message It compares, to obtain comparing result.
Wherein, the upgrading personnel can be for by professional training, and by the professional of corporate supervision, and upgrading people Member has decoding tool.The human-computer interaction device can be line control machine, central controller or point examination board etc., can also be other have by The standalone module of key and display interface.
In addition, upgrading mode if remote serial port, decryption acts can be independently completed between server and air conditioner, are subtracted Few personnel's operation.By carrying network module on air conditioner master control borad, random number and complete machine bar code information are sent out by network It send to server, server is interior to be equipped with corresponding decipherment algorithm, obtains corresponding input encrypted message by decipherment algorithm, and pass through In network transmission to air conditioner, then it is pass-through in master chip and is verified by network module.
Step S40, the master chip for controlling air conditioner enter firmware upgrade mode;
Step S50, the master chip for controlling air conditioner do not enter firmware upgrade mode.
Upgrading personnel are allowed to carry out firmware upgrade to master chip under firmware upgrade mode.If the input that master chip receives The dynamic password information that encrypted message generates in advance with itself is identical, and master chip is converted to by the state that not can be carried out firmware upgrade The state of firmware upgrade can be carried out, namely upgrade personnel under firmware upgrade mode to carry out firmware upgrade to master chip, Meanwhile master chip issues successful decryption by human-computer interaction device and/or can carry out the prompt of firmware upgrade;In input password When information and the dynamic password information generated in advance are inconsistent, master chip maintains the state that not can be carried out firmware upgrade, for example, if The dynamic password information that input encrypted message generates in advance with itself is not identical, and air conditioner is when receiving upgrading trigger signal, no It initiates upgrade request or refusal initiates upgrade request, and " decryption fails " is issued by human-computer interaction device, " does not allow to rise The prompt such as grade " or " refusal upgrading ".
The present embodiment is based on random number and Encryption Algorithm is arranged in complete machine bar code information in master chip, only has decryption power The upgrading personnel of limit obtain corresponding input encrypted message by decoding tool, and through master chip confirmation input encrypted message and certainly When the dynamic password information that body generates in advance is identical, firmware upgrade can be carried out to the master chip of air conditioner, avoided due to outer Portion personnel carry out wrong upgrading to air conditioner and air conditioner are caused to be operating abnormally.
As shown in figure 3, Fig. 3 is the flow diagram of firmware upgrade management method second embodiment of the present invention.
Based on above-mentioned first embodiment, before step S10, further includes:
Master chip is set encrypted state by step S101, under the encrypted state, generates random number and obtains air-conditioning The complete machine bar code information of device.
The current state of master chip can be encrypted state, or decrypted state.If master chip is in encrypted state, Firmware upgrade cannot be carried out to master chip by then upgrading personnel, just can be carried out firmware upgrade after needing that master chip is decrypted.If For decrypted state, upgrading personnel can by directly using corresponding upgrading in a manner of carry out firmware upgrade.Master chip is set as encrypting State, arbitrarily upgrades the unfamiliar personnel of air conditioner to air conditioner for limitation or mistake upgrades.When air conditioner Master chip is in encrypted state, and when air conditioner powers on, master chip reads clock information in real time, and according to clock information generation pair The random number answered, meanwhile, obtain the complete machine bar code information of air conditioner.
The present embodiment is locked by the firmware upgrade functionality to air conditioner master chip, can upgrading shape to terminal market State is effectively managed, and avoids causing air conditioner to run since external staff carries out wrong upgrading or malice upgrading to air conditioner It is abnormal.
As shown in figure 4, Fig. 4 is firmware upgrade management method 3rd embodiment flow diagram of the present invention.
Based on above-mentioned first embodiment, after step S40, further includes:
Step S60 receives firmware updating file, carries out firmware upgrade according to the firmware updating document control master chip;
After the master chip of air conditioner enters firmware upgrade mode, the Peripheral Interface on the master control borad of air conditioner can be passed through Receive firmware updating file, for example, upgrade personnel can by the storage of firmware updating file into USB flash disk or SD card, then by USB flash disk or Person's SD card is inserted into the corresponding Peripheral Interface of air conditioner master control borad, by the corresponding Peripheral Interface of air conditioner master control borad by firmware updating File is imported into master chip, and master chip independently carries out version verification and firmware upgrade.Alternatively, it is also possible to be upgraded by network Firmware file is transferred to air conditioner, then firmware updating file is pass-through in master chip by network module, and master chip independently carries out Version verification and firmware upgrade.
Step S70 prompts to upgrade successfully and restart air conditioner when the master chip upgrades completion.
It after the completion of master chip upgrading, is upgraded successfully by human-computer interaction device's prompt, for example, in the aobvious of human-computer interaction device Show that interface bullet frame prompts " upgrading successfully ".Meanwhile controlling air conditioner and being restarted, so that master chip jumps to the program newly upgraded Middle operation, during air conditioner is restarted, the master chip of air conditioner restores encrypted state.
The master chip of the air conditioner of the present embodiment is run after the completion of upgrading with new firmware version, and with air conditioner Restart, master chip restore encrypted state, can prevent the program in master chip from being modified by people, avoid due to external staff operate It is improper and air conditioner is caused to be operating abnormally.
As shown in figure 5, Fig. 5 is the flow diagram of firmware upgrade management method fourth embodiment of the present invention.
In the present embodiment, the firmware upgrade management method includes:
Step S1 generates random number, and obtains the identification information of master chip;
The most important characteristic of random number is that its that subsequent number and that number of front when generating have no bearing on.In sky When device being adjusted to power on, master chip reads the clock information of system in real time, and using clock value as random number seed, random by calling Number function generates random number.The identification information of the master chip can be chip id, and the present embodiment can be based on chip id Encryption Algorithm is arranged to master chip with random number, just can enter updating operation page after program obtains correctly input encrypted message Face can just be upgraded.And chip id is solidificated in chip interior, encryption is more preferable.
Step S2 generates dynamic password information according to the random number and the identification information of the master chip;
It is corresponding that decipherment algorithm is equipped in master chip when Encryption Algorithm is arranged to master chip, it is obtained from chip interior Chip id.Meanwhile random number is generated according to clock information, then by calling corresponding decipherment algorithm to can produce corresponding dynamic Encrypted message, since chip id is fixed, and the random number that when air conditioner powers on every time generates is different, therefore, every time Dynamic password information caused by upgrading is also different.
Step S3 receives input encrypted message, the dynamic password information for judging the input encrypted message and generating in advance It is whether consistent;If so, S4 is entered step, if it is not, entering step S5;
The input encrypted message is generated by decoding tool according to random number and the identification information of master chip, the solution Close tool is embedded with decipherment algorithm, and decipherment algorithm is identical as the decipherment algorithm in master chip, according to identical random number and master The password that the identification information of chip obtains is also identical, wherein the decoding tool can be mobile phone application software or electricity Brain software etc..The various interfaces of peripheral hardware on the master control borad of the air conditioner, upgrading personnel can be real by setting human-computer interaction device The now information exchange between master chip.By the various interfaces of peripheral hardware on the master control borad of air conditioner, upgrading personnel be can be used Peripheral Interface on the master control borad of air conditioner is connect with human-computer interaction device, for example, can be realized by RS485 mode man-machine Directly or indirectly it is connected between interactive device and master chip.Corresponding random number and main core are obtained by human-computer interaction device The identification information of piece, and be shown on the display interface of human-computer interaction device, live upgrading personnel pass through in decryption work The identification information of the random number and the master chip is inputted in tool, to obtain corresponding input encrypted message, and is led to Human-computer interaction device is crossed to verify the master chip that the encrypted message of acquisition is transferred to air conditioner.Master chip is receiving input When encrypted message, the encrypted message that encrypted message generates in advance with itself will be inputted and compared, to obtain comparing result.
Wherein, the upgrading personnel can train to pass through, and by the professional of corporate supervision, and upgrading personnel have There is decoding tool.The human-computer interaction device can be line control machine, central controller or point examination board etc., can also be other with key and The standalone module of display interface.
In addition, upgrading mode if remote serial port, decryption acts can be independently completed between server and air conditioner, are subtracted Few personnel's operation.By carrying network module on air conditioner master control borad, by network by random number and the identity mark of master chip Know information and be sent to server, is equipped with corresponding decipherment algorithm in server, corresponding input password is obtained by decipherment algorithm Information, and through in network transmission to air conditioner, then be pass-through in master chip and verified by network module.
Step S4, the master chip for controlling air conditioner enter firmware upgrade mode;
Step S5, the master chip for controlling air conditioner do not enter firmware upgrade mode.
Upgrading personnel are allowed to carry out firmware upgrade to master chip under firmware upgrade mode.If the input that master chip receives Encrypted message is identical as the dynamic password information generated in advance, and master chip is converted to by the state that not can be carried out firmware upgrade can be with The state of firmware upgrade is carried out, namely upgrade personnel under firmware upgrade mode to carry out master chip firmware upgrade, meanwhile, Master chip issues successful decryption by human-computer interaction device and/or can carry out the prompt of firmware upgrade;In the input password When information and the dynamic password information generated in advance are inconsistent, master chip maintains the state that not can be carried out firmware upgrade, for example, if The dynamic password information that input encrypted message generates in advance with itself is not identical, and air conditioner is when receiving upgrading trigger signal, no It initiates upgrade request or refusal initiates upgrade request, and " decryption fails " " not allowing to upgrade " is issued by human-computer interaction device Or prompt such as " refusal upgrading ".
It should be noted that in practical applications, user can be according to end since not every chip all supports unique ID The actual conditions of end equipment select corresponding embodiment.
The present embodiment is based on random number and Encryption Algorithm is arranged in chip id in master chip, only with the liter of decrypted rights Grade personnel obtain corresponding input encrypted message by decoding tool, and confirm the input encrypted message through master chip and itself produce When raw dynamic password information is identical, firmware upgrade can be carried out to the master chip of air conditioner, avoid external staff to air-conditioning Device carries out wrong upgrading and air conditioner is caused to be operating abnormally.
The present invention also provides a kind of firmware upgrade managing device, including memory, processor and storage are on a memory simultaneously The firmware upgrade management program that can be run on a processor, the processor are realized such as when executing the firmware upgrade management program The step of upper described in any item firmware upgrade management methods.
Firmware upgrade managing device of the invention can be air conditioner, be equipped with master control borad in the air conditioner, in master control borad It is integrated with master chip and control device, the various interfaces of peripheral hardware on master control borad are real by the Peripheral Interface on air conditioner master control borad It now transmits, is realized when the firmware upgrade management program is executed by the processor as described above solid with the data of external equipment The step of part updating management method.
In other embodiments, the firmware upgrade managing device can also be various computer equipments, the firmware liter Grade managing device is for cooperating/controlling air conditioner to complete firmware upgrade.
Each implementation of the specific embodiment of firmware upgrade managing device of the invention and above-mentioned firmware upgrade management method Example is essentially identical, and this will not be repeated here.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of firmware upgrade management method, which is characterized in that the firmware upgrade management method the following steps are included:
Random number is generated, and obtains the complete machine bar code information of air conditioner;
Dynamic password information is generated according to the random number and the complete machine bar code information of the air conditioner;
Input encrypted message is received, judges whether the input encrypted message and the dynamic password information generated in advance are consistent, In, the input encrypted message is generated by decoding tool according to the random number and the complete machine bar code information of the air conditioner;
When the input encrypted message is consistent with the dynamic password information generated in advance, the master chip for controlling air conditioner enters admittedly Part upgrade mode;
When the input encrypted message is inconsistent with the dynamic password information that in advance generates, control the master chip of air conditioner not into Enter firmware upgrade mode.
2. firmware upgrade management method as described in claim 1, which is characterized in that described in the input encrypted message and institute State dynamic password information it is consistent when, after controlling the step of the master chip of air conditioner enters firmware upgrade mode, further includes:
Firmware updating file is received, firmware upgrade is carried out according to the firmware updating document control master chip;
When the master chip upgrades completion, prompt to upgrade successfully and restart air conditioner.
3. firmware upgrade management method as described in claim 1, which is characterized in that the generation random number, and obtain air-conditioning Before the step of complete machine bar code information of device, further includes:
Encrypted state is set by master chip, under the encrypted state, random number is generated and obtains the complete machine bar code of air conditioner Information.
4. firmware upgrade management method as described in claim 1, which is characterized in that the step of generation random number includes:
Clock information is read, random seed number is generated according to the clock information;
Random number is generated according to the random seed number.
5. firmware upgrade management method as described in claim 1, which is characterized in that after the completion of upgrading, master chip is given birth to again The random number of Cheng Xin, and new dynamic password information is generated according to the new random number and the complete machine bar code information.
6. firmware upgrade management method as described in claim 1, which is characterized in that the generation random number and acquisition air conditioner Complete machine bar code information the step of after, further includes:
The complete machine bar code information of random number and air conditioner is sent to human-computer interaction device, so that human-computer interaction device is received by institute Random number and the complete machine bar code information of air conditioner are shown in display interface, for upgrading personnel for the random number and the air conditioner Complete machine bar code information be input to decoding tool;
When the decoding tool generates input encrypted message, the input encrypted message transmitted through human-computer interaction device is received.
7. such as firmware upgrade management method as claimed in any one of claims 1 to 6, which is characterized in that the firmware upgrade management Method is further comprising the steps of:
Random number is generated, and obtains the identification information of master chip;
Dynamic password information is generated according to the random number and the identification information of the master chip;
Input encrypted message is received, judges whether the input encrypted message and the dynamic password information generated in advance are consistent, Wherein, the input encrypted message is generated by decoding tool according to the random number and the identification information of the master chip;
When the input encrypted message is consistent with the dynamic password information generated in advance, the master chip for controlling air conditioner enters admittedly Part upgrade mode;
When the input encrypted message is inconsistent with the dynamic password information that in advance generates, control the master chip of air conditioner not into Enter firmware upgrade mode.
8. a kind of firmware upgrade managing device, which is characterized in that on a memory and can be including memory, processor and storage The firmware upgrade management program run on processor, the processor realize such as right when executing the firmware upgrade management program It is required that 1 to 7 described in any item firmware upgrade management methods.
9. a kind of computer readable storage medium, which is characterized in that be stored thereon with firmware upgrade management program, feature exists In the firmware upgrade management program realizes firmware upgrade pipe as described in any one of claim 1 to 7 when being executed by processor Reason method.
CN201811105997.1A 2018-09-20 2018-09-20 Firmware upgrade management method, device and computer readable storage medium Pending CN108958779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811105997.1A CN108958779A (en) 2018-09-20 2018-09-20 Firmware upgrade management method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811105997.1A CN108958779A (en) 2018-09-20 2018-09-20 Firmware upgrade management method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108958779A true CN108958779A (en) 2018-12-07

Family

ID=64471522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811105997.1A Pending CN108958779A (en) 2018-09-20 2018-09-20 Firmware upgrade management method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108958779A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109974205A (en) * 2019-02-18 2019-07-05 珠海格力电器股份有限公司 Multi-split debugging method and terminal
CN110597543A (en) * 2019-09-18 2019-12-20 青岛海信医疗设备股份有限公司 Intelligent terminal upgrading method, electronic equipment and storage medium
CN113254038A (en) * 2021-05-25 2021-08-13 青岛海信移动通信技术股份有限公司 Upgrading confirmation method, server, wire controller and mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474280A (en) * 2002-08-07 2004-02-11 鸿富锦精密工业(深圳)有限公司 Firmware authenticating system and method
CN1553349A (en) * 2003-05-29 2004-12-08 联想(北京)有限公司 Safety chip and information safety processor and processing method
CN102790962A (en) * 2011-05-17 2012-11-21 中兴通讯股份有限公司 Remedy method and system under condition of failure in putting base station into operation, and base station
CN103455086A (en) * 2012-06-04 2013-12-18 国际商业机器公司 Designing a robust power efficient clock distribution network
CN105677269A (en) * 2015-09-10 2016-06-15 北京博创兴盛科技有限公司 Intelligent display control terminal of agricultural machine and display control method
CN106453269A (en) * 2016-09-21 2017-02-22 东软集团股份有限公司 Internet of Vehicles safety communication method, vehicle-mounted terminal, server and system
CN107105045A (en) * 2017-05-05 2017-08-29 恒鸿达科技有限公司 A kind of convenient packaging process of Wired Security terminal firmware and system
US20180089469A1 (en) * 2015-10-06 2018-03-29 Micron Technology, Inc. Secure subsystem
CN108446133A (en) * 2018-03-29 2018-08-24 广东美的暖通设备有限公司 Firmware upgrade control method, firmware upgrade control system and electric appliance

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474280A (en) * 2002-08-07 2004-02-11 鸿富锦精密工业(深圳)有限公司 Firmware authenticating system and method
CN1553349A (en) * 2003-05-29 2004-12-08 联想(北京)有限公司 Safety chip and information safety processor and processing method
CN102790962A (en) * 2011-05-17 2012-11-21 中兴通讯股份有限公司 Remedy method and system under condition of failure in putting base station into operation, and base station
CN103455086A (en) * 2012-06-04 2013-12-18 国际商业机器公司 Designing a robust power efficient clock distribution network
CN105677269A (en) * 2015-09-10 2016-06-15 北京博创兴盛科技有限公司 Intelligent display control terminal of agricultural machine and display control method
US20180089469A1 (en) * 2015-10-06 2018-03-29 Micron Technology, Inc. Secure subsystem
CN106453269A (en) * 2016-09-21 2017-02-22 东软集团股份有限公司 Internet of Vehicles safety communication method, vehicle-mounted terminal, server and system
CN107105045A (en) * 2017-05-05 2017-08-29 恒鸿达科技有限公司 A kind of convenient packaging process of Wired Security terminal firmware and system
CN108446133A (en) * 2018-03-29 2018-08-24 广东美的暖通设备有限公司 Firmware upgrade control method, firmware upgrade control system and electric appliance

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109974205A (en) * 2019-02-18 2019-07-05 珠海格力电器股份有限公司 Multi-split debugging method and terminal
CN110597543A (en) * 2019-09-18 2019-12-20 青岛海信医疗设备股份有限公司 Intelligent terminal upgrading method, electronic equipment and storage medium
CN113254038A (en) * 2021-05-25 2021-08-13 青岛海信移动通信技术股份有限公司 Upgrading confirmation method, server, wire controller and mobile terminal
CN113254038B (en) * 2021-05-25 2024-03-08 青岛海信移动通信技术有限公司 Upgrade confirmation method, server, line controller and mobile terminal

Similar Documents

Publication Publication Date Title
CN110147675B (en) Safety detection method and equipment for intelligent terminal
CN109474977A (en) A kind of monitoring method of equipment, apparatus and system
CN108958779A (en) Firmware upgrade management method, device and computer readable storage medium
CN107743115B (en) Identity authentication method, device and system for terminal application
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN103825737B (en) Security apparatus, system and method for on-line upgrading of industrial control system
CN102711108B (en) Method and system for managing the authentication information of mobile terminal
US20170076085A1 (en) Instrument control system, instrument control device, instrument control method, and non-transitory computer readable recording medium recorded with program
CN111162911B (en) PLC firmware upgrading system and method
CN105263141A (en) Household electrical appliance and control method thereof
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN113064643B (en) Method, system and medium for instantly-effective modification of BIOS set value
CN111400167A (en) Redfish service compliance verification method, device, equipment and medium
CN109214221B (en) Authentication method of identity card reader, upper computer and identity card reader
CN105426716A (en) Mobile terminal unlocking method and device, and mobile terminal
KR101751098B1 (en) Method for programming a mobile terminal chip
CN110659899B (en) Offline payment method, device and equipment
CN102542206A (en) Method and device for adding authorized users to terminal
CN105608354A (en) Authentication method and system, terminal and server
CN108733392A (en) A kind of update method and system of Bluetooth electronic tag program
KR20110134973A (en) System for electronic signature based on wireless terminal
CN108322907B (en) Card opening method and terminal
CN109340999A (en) Verification method, air-conditioning, verification remote controler and the system of air-conditioning master control borad
CN113596835A (en) Network connection method, device, storage medium and electronic device
CN105991539B (en) Data interactive method and system

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

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication