CN110311801A - A kind of device firmware upgrade method and system - Google Patents

A kind of device firmware upgrade method and system Download PDF

Info

Publication number
CN110311801A
CN110311801A CN201910390242.9A CN201910390242A CN110311801A CN 110311801 A CN110311801 A CN 110311801A CN 201910390242 A CN201910390242 A CN 201910390242A CN 110311801 A CN110311801 A CN 110311801A
Authority
CN
China
Prior art keywords
equipment
upgrade
firmware
sub
file
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
CN201910390242.9A
Other languages
Chinese (zh)
Inventor
宋德超
唐杰
谌进
何贤俊
陆愿基
庞文军
彭鹤祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910390242.9A priority Critical patent/CN110311801A/en
Publication of CN110311801A publication Critical patent/CN110311801A/en
Priority to PCT/CN2019/126834 priority patent/WO2020228323A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of device firmware upgrade method and system, firmware upgrade method includes: the firmware version number for obtaining upgrade file stored in cloud server;The terminal versions number of sub- equipment are compared with firmware version number, judge whether terminal versions number are consistent with firmware version number;If terminal versions number are inconsistent with firmware version number, the corresponding upgrade file of firmware version number is obtained from Cloud Server, firmware upgrade is carried out to all sub- equipment by upgrade file, and record to the identification code for the sub- equipment for completing firmware upgrade.The comparison between terminal versions number that the embodiment of the present invention passes through firmware version number and sub- equipment to the upgrade file in Cloud Server, when terminal versions number and firmware version number are inconsistent, corresponding upgrade file is obtained from Cloud Server, firmware upgrade is carried out to sub- equipment, and the sub- equipment for completing firmware upgrade is recorded, realize the firmware upgrade to the system comprising multiple sub- equipment.

Description

A kind of device firmware upgrade method and system
Technical field
The present invention relates to equipment control technology field more particularly to a kind of device firmware upgrade method and system.
Background technique
Currently, residential central air conditioning is with its saving use space, cooling or heating effect is stable and is widely used in household city , and constantly rise in the occupation rate of Domestic air conditioning market.But there is also the problems of breakdown maintenance trouble for residential central air conditioning.
Multi-connected machine central air-conditioning is a type of user's central air-conditioning, is commonly called as " one drag it is more ", refer to an outdoor unit Two or more indoor units are connected by piping, outside is changed using air-cooled heat transfer form, indoor using directly evaporation The primary coolant air-conditioning system of hot form.Multi-line system obtains increasingly in small and medium construction and part public building at present It is widely applied.But if any sub- equipment generating program failure of multiple sub- equipment under multi-connected machine, it is necessary to weight New replacement mainboard program, time-consuming and laborious, maintenance cost is high.
Summary of the invention
Of the existing technology in order to solve the problems, such as, at least one embodiment of the present invention provides a kind of equipment firmware liter Grade method and system.
In a first aspect, being applied to that there are multiple sub- equipment the embodiment of the invention provides a kind of device firmware upgrade method System, the firmware upgrade method includes:
Obtain the firmware version number of upgrade file stored in cloud server;
The terminal versions number of the sub- equipment are compared with the firmware version number, judge the terminal versions number with Whether the firmware version number is consistent;
If the terminal versions number and the firmware version number are inconsistent, the firmware version is obtained from the Cloud Server This number corresponding upgrade file carries out firmware upgrade to all sub- equipment by the upgrade file, and to completion firmware The identification code of the sub- equipment of upgrading is recorded.
Based on the above-mentioned technical proposal, the embodiment of the present invention can also make following improvement.
With reference to first aspect, in the first embodiment of first aspect, the firmware version is obtained from the Cloud Server This number corresponding file carries out firmware upgrade to all sub- equipment, and the identification to the sub- equipment for completing firmware upgrade Code is recorded, and is specifically included:
If the terminal versions number and the firmware version number are inconsistent, to the corresponding control equipment hair of the sub- equipment Send upgrade tip information, and confirm the control equipment whether feedback acknowledgment information;
If the control equipment feedback acknowledgment information, the corresponding text of the firmware version number is obtained from the Cloud Server Part carries out firmware upgrade to all sub- equipment, and records to the identification code for the sub- equipment for completing firmware upgrade;
If the non-feedback acknowledgment information of control equipment, firmware upgrade is not carried out to the sub- equipment.
With reference to first aspect, in second of embodiment of first aspect, the firmware upgrade method further include:
When any sub- equipment breaks down, the corresponding fault message of the failure and error code are obtained;
The fault message and error code are sent to exploitation terminal, and confirm whether the exploitation terminal feeds back new edition Upgrade file;
If the upgrade file of the exploitation terminal feedback new edition, according to the upgrade file of the new edition to the cloud service Upgrade file is updated in device.
With reference to first aspect, in the third embodiment of first aspect, the firmware upgrade method further include:
Whether confirmation exploitation terminal sends the upgrade file of new edition;
If the exploitation terminal sends upgrade file, according to the upgrade file of the new edition to being risen in the Cloud Server Grade file is updated.
With reference to first aspect or first, second or third kind of embodiment of first aspect, in the 4th kind of reality of first aspect It applies in example, the device firmware upgrade method further include:
The corresponding control equipment of the sub- equipment is sent by the identification code;
The corresponding identification code of sub- equipment for completing firmware upgrade is shown in the control equipment.
Second aspect, the embodiment of the invention provides a kind of device firmware upgrade systems, comprising: multiple sub- equipment are also wrapped It includes:
Cloud Server, for storing upgrade file;
First communication device, for obtaining the firmware version number of upgrade file stored in cloud server;
Comparison unit judges institute for being compared the terminal versions number of the sub- equipment with the firmware version number It is whether consistent with the firmware version number to state terminal versions number;
Secondary communication device takes if inconsistent for the terminal versions number and the firmware version number from the cloud The corresponding upgrade file of the firmware version number is obtained in business device;
Firmware upgrade control device, for carrying out firmware upgrade to all sub- equipment by the upgrade file, and The identification code for the sub- equipment for completing firmware upgrade is recorded.
In conjunction with second aspect, in the first embodiment of second aspect, the firmware upgrade system includes: and the son The corresponding control equipment of equipment;
Secondary communication device, if being also used to the terminal versions number and the firmware version number is inconsistent, to the son The corresponding control equipment of equipment sends upgrade tip information, and confirm the control equipment whether feedback acknowledgment information;If described Equipment feedback acknowledgment information is controlled, then obtains the corresponding file of the firmware version number from the Cloud Server.
In conjunction with second aspect, in second of embodiment of second aspect, the firmware upgrade system further include:
Acquisition device, for when any sub- equipment break down when, obtain the corresponding fault message of the failure and Error code;
Third communication device for the fault message and error code to be sent to exploitation terminal, and confirms the exploitation Whether terminal feeds back the upgrade file of new edition, if the upgrade file of the exploitation terminal feedback new edition, by the upgrade file It is uploaded to the Cloud Server;
The exploitation terminal, for receiving the fault message and error code and feedback and the fault message and error code The upgrade file of corresponding new edition;
The Cloud Server is also used to the upgrade file according to the new edition of the exploitation terminal feedback to the upgrade file It is updated.
In conjunction with second aspect, in the third embodiment of second aspect, the firmware upgrade system further include:
Fourth communication device receives the upgrade file of exploitation terminal transmission for being confirmed whether, if receiving exploitation eventually The upgrade file sent is held, then the upgrade file is uploaded to the Cloud Server;
The Cloud Server is also used to the upgrade file according to the new edition of the exploitation terminal feedback to the upgrade file It is updated.
In conjunction with second aspect or first, second or third kind of embodiment of second aspect, in the 4th kind of reality of second aspect It applies in example, the firmware upgrade system further include:
Fifth communication device, the identification code for the firmware upgrade control device to be recorded the sub- equipment are sent to institute State the corresponding control equipment of sub- equipment;
The control equipment, for showing the corresponding identification code of sub- equipment for completing firmware upgrade.
Above-mentioned technical proposal of the invention has the advantages that the embodiment of the present invention by taking to cloud compared with prior art The comparison being engaged between the firmware version number of upgrade file and the terminal versions number of sub- equipment in device, in terminal versions number and firmware When version number is inconsistent, corresponding upgrade file is obtained from Cloud Server, firmware upgrade is carried out to sub- equipment, and solid to completing The sub- equipment of part upgrading is recorded, and the firmware upgrade to the system comprising multiple sub- equipment is realized.
Detailed description of the invention
Fig. 1 is a kind of device firmware upgrade method flow schematic diagram provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides a kind of device firmware upgrade method flow schematic diagram;
Fig. 3 is a kind of device firmware upgrade method flow schematic diagram one that further embodiment of this invention provides;
Fig. 4 be further embodiment of this invention provide a kind of device firmware upgrade method flow schematic diagram secondly;
Fig. 5 is a kind of device firmware upgrade system structural schematic diagram that further embodiment of this invention provides;
Fig. 6 is a kind of electronic equipment structural schematic diagram that further embodiment of this invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of device firmware upgrade method provided in an embodiment of the present invention, is applied to have multiple sub- equipment 14 system, firmware upgrade method include:
S11, the firmware version number for obtaining the upgrade file stored in Cloud Server 11.
In the present embodiment, Cloud Server 11 (ElasticComputeService, ECS) is that one kind is simple and efficient, is safe Reliably, processing capacity can elastic telescopic calculating service.Its way to manage is more simple and efficient than physical server.User is without mentioning Preceding purchase hardware can create rapidly or discharge any more Cloud Servers 11, and Cloud Server 11 is the important of cloud computing service Component part is to provide the service platform of integrated service ability towards all kinds of Internet users.In Platform integration traditional sense The big key element of Internet application three: calculate, storage, network.The store function of Cloud Server 11 is utilized in the present embodiment, The upgrade file of equipment is stored in Cloud Server 11.The upgrade file in Cloud Server 11 is obtained, and inquires and is upgraded The firmware version number of file can connect Cloud Server 11 by communication device to obtain the upgrade file of latest edition, version number It can be by being obtained in parsing text after parsing upgrade file.
In the present embodiment, the upgrade file in Cloud Server 11 uploads to Cloud Server after can be system convention upgrading File in 11 is also possible to the file generated according to system mistake or newfound system vulnerability.
S12, the terminal versions number of sub- equipment 14 are compared with firmware version number, judge terminal versions number and firmware version Whether this number consistent.
In the present embodiment, the terminal versions number for obtaining every sub- equipment 14, will be in terminal versions number and Cloud Server 11 The firmware version number of upgrade file be compared, confirm whether terminal versions number and firmware version number consistent, if terminal versions It is number inconsistent with firmware version number, illustrate that the upgrade file in Cloud Server 11 has been updated, at this point, sub- equipment 14 also not according to The firmware version number of upgrade file in Cloud Server 11 upgrades, if terminal versions number are consistent with firmware version number, illustrates that cloud takes Upgrade file in business device 11 does not update, and sub- equipment 14 is also with control instruction operation before.
If S13, terminal versions number and firmware version number are inconsistent, it is corresponding that firmware version number is obtained from Cloud Server 11 Upgrade file carries out firmware upgrade to all sub- equipment 14 by upgrade file, and to the sub- equipment 14 for completing firmware upgrade Identification code is recorded.
In the present embodiment, if terminal versions number are inconsistent with firmware version number, illustrate to need to carry out sub- equipment 14 Firmware upgrade, device obtains the corresponding upgrade file of firmware version number in Cloud Server 11 by wireless communication, passes through upgrading text Part carries out corresponding firmware upgrade to all sub- equipment 14, for example, the upgrade file that wireless communication device will acquire is sent to In controller, upgrade file is sent in sequence in every sub- equipment 14 by controller, after upgrade file is sent completely, receives son The identification code that equipment 14 is fed back, records identification code.
In the present embodiment, firmware upgrade method further include:
The corresponding control equipment of sub- equipment 14 is sent by identification code;The son for completing firmware upgrade is shown in control equipment The corresponding identification code of equipment 14.
In the present embodiment, it sends identification code in control equipment, is shown in control equipment and complete firmware upgrade The corresponding identification code of sub- equipment 14, so that the sub- equipment 14 for completing firmware upgrade can be confirmed in user.
As shown in Fig. 2, the embodiment of the invention provides a kind of device firmware upgrade method, firmware upgrade method includes:
S21, the firmware version number for obtaining the upgrade file stored in Cloud Server 11.
Related step S21 can be found in the description in step S11 in detail, and details are not described herein for the present embodiment.
S22, the terminal versions number of sub- equipment 14 are compared with firmware version number, judge terminal versions number and firmware version Whether this number consistent.
Related step S22 can be found in the description in step S12 in detail, and details are not described herein for the present embodiment.
If S23, terminal versions number and firmware version number are inconsistent, send and upgrade to the corresponding control equipment of sub- equipment 14 Prompt information, and confirm control equipment whether feedback acknowledgment information.
In the present embodiment, if the firmware version number of the terminal versions number of sub- equipment 14 and upgrade file in Cloud Server 11 It is inconsistent, illustrate to need to carry out firmware upgrade to sub- equipment 14 at this time, before this, be sent out to the corresponding control equipment of sub- equipment 14 Upgrade tip information is sent, which can be such as mobile phone, tablet computer, laptop, palm PC, individual digital Assistant (PersonalDigitalAssistant, PDA), portable media player (PortableMediaPlayer, PMP), The mobile terminals such as navigation device, wearable device, Intelligent bracelet, pedometer, and number TV, desktop computer etc. are fixed Terminal.And it is confirmed whether to receive the confirmation message of control equipment feedback;For example, sending upgrade tip information to control equipment Afterwards, start timing, if controlling the non-feedback acknowledgment information of equipment in preset duration, determine not receive control equipment feedback Confirmation message determines the confirmation letter for receiving control equipment feedback if controlling equipment feedback acknowledgment information in preset duration Breath;Can also to control equipment send upgrade tip information after, control equipment in pop up pop-up, and show agree to button and Refuse button, when clicking agreement button, feedback acknowledgment information, when clicking refusal button, feedback refusal information is not fed back Confirmation message is realized and carries out user's confirmation when needing to carry out firmware upgrade to sub- equipment 14, guarantees that user knows system most New version situation.
If S24a, control equipment feedback acknowledgment information obtain the corresponding file pair of firmware version number from Cloud Server 11 All sub- equipment 14 carry out firmware upgrade, and record to the identification code for the sub- equipment 14 for completing firmware upgrade.
In the present embodiment, when controlling equipment feedback acknowledgment information, device obtains Cloud Server 11 by wireless communication All sub- equipment 14 are carried out corresponding firmware upgrade by upgrade file by the corresponding upgrade file of middle firmware version number, for example, The upgrade file that wireless communication device will acquire is sent in controller, and upgrade file is sent in sequence to every height by controller In equipment 14, after upgrade file is sent completely, the identification code that sub- equipment 14 is fed back is received, identification code is recorded.
If S24b, the control non-feedback acknowledgment information of equipment, do not carry out firmware upgrade to sub- equipment 14.
In the present embodiment, if the non-feedback acknowledgment information of control equipment or feedback are refusal information, antithetical phrase is not set Standby 14 carry out firmware upgrade, can continue to detect the version number of sub- equipment 14 subsequent, remind again user, The version number of sub- equipment 14 can be detected again after preset duration by the way that timer is arranged in system, it can also be with It is subsequent be again turned on this system when, the version number of sub- equipment 14 is detected again, certainly, for avoid frequently prompt son The problem of equipment 14 upgrades can all replace the terminal versions number of sub- equipment 14 after user selects feedback refusal information For the corresponding firmware version number of this firmware upgrade, sub- equipment 14 is allowed to evade this firmware upgrade, until occurring newly The corresponding upgrade file of firmware version number.
In the present embodiment, firmware upgrade method further include:
The corresponding control equipment of sub- equipment 14 is sent by identification code;The son for completing firmware upgrade is shown in control equipment The corresponding identification code of equipment 14.
In the present embodiment, it sends identification code in control equipment, is shown in control equipment and complete firmware upgrade The corresponding identification code of sub- equipment 14, so that the sub- equipment 14 for completing firmware upgrade can be confirmed in user.
As shown in figure 3, the embodiment of the invention provides a kind of device firmware upgrade method, firmware upgrade method includes:
S31, when any sub- equipment 14 breaks down, obtain the corresponding fault message of failure and error code.
In the present embodiment, equipment breaks down in the process of running, issues fault alarm information, which passes through Outer machine program automatically retrieval is matched to corresponding error code, such as: C1 representing fault arc protection;C2 represents earth leakage protective;Cd Represent excessively high alarm of carbon dioxide detectable concentration etc..For example, user opens system or software, taken the photograph by voice mode or mobile phone As the mode of head acquisition user gesture corresponds to the fault message of equipment, simultaneity factor or software automatically by the computer address of air-conditioning, The information such as geographical location, weather are uploaded to server end, while prompting user to jump to failure and declaring the page, can be further complete Kind fault message, such as: text, picture etc..
S32, fault message and error code are sent to exploitation terminal, and confirm whether exploitation terminal feeds back the upgrading of new edition File.
In the present embodiment, fault message and error code are sent to exploitation terminal by server end, have developer according to The specific fault message of particular user designs the failure change patch file for the user, and patch file is uploaded to clothes Business device, patch file, that is, upgrade file herein then develop terminal feedback upgrading text when patch file is uploaded to server Part develops the non-feedback file of terminal if not feeding back patch file or modification file in preset duration.
If the upgrade file of S33, exploitation terminal feedback new edition, according to the upgrade file of new edition to being risen in Cloud Server 11 Grade file is updated.
In the present embodiment, when exploitation terminal feeds back the upgrade file of corresponding new edition, then pass through the upgrade file of new edition Upgrade file in Cloud Server 11 is replaced, realizes the update to the upgrade file in Cloud Server 11.
As shown in figure 4, the embodiment of the invention provides a kind of device firmware upgrade method, firmware upgrade method includes:
Whether S41, confirmation exploitation terminal send the upgrade file of new edition.
In the present embodiment, at exploitation terminal, developer is designed according to the specific fault message of particular user Patch file is changed for the failure of the user, and patch file is uploaded to server or developer according to system need It asks and completes edition upgrading file, edition upgrading file is uploaded to server.
If S42, exploitation terminal send upgrade file, according to the upgrade file of new edition to upgrade file in Cloud Server 11 It is updated.
In the present embodiment, when exploitation terminal feeds back the upgrade file of corresponding new edition, then pass through the upgrade file of new edition Upgrade file in Cloud Server 11 is replaced, realizes the update to the upgrade file in Cloud Server 11.
As shown in figure 5, the embodiment of the invention provides a kind of device firmware upgrade systems, comprising: multiple sub- equipment 14, also It include: Cloud Server 11, first communication device 12, comparison unit 13 and firmware upgrade control device 16.
In the present embodiment, Cloud Server 11, for storing upgrade file, Cloud Server 11 (ElasticComputeService, ECS) be it is a kind of be simple and efficient, securely and reliably, processing capacity can elastic telescopic calculating clothes Business.Its way to manage is more simple and efficient than physical server.User can create rapidly or discharge and appoint without purchasing hardware in advance It anticipates more Cloud Servers 11, Cloud Server 11, which is the important component of cloud computing service, to be mentioned towards all kinds of Internet users For the service platform of integrated service ability.Platform integration traditional Internet application three big key element: it calculates, deposit Storage, network.The store function of Cloud Server 11 is utilized in the present embodiment, the upgrade file of equipment is stored in Cloud Server 11 In.
In the present embodiment, first communication device 12, for obtaining the firmware of the upgrade file stored in Cloud Server 11 Version number.
In the present embodiment, comparison unit 13, for comparing the terminal versions number of sub- equipment 14 with firmware version number Compared with judging whether terminal versions number are consistent with firmware version number, wherein comparison unit 13 can be comparator, by by terminal Version number and firmware version number are converted to voltage value by preset rules, realize confirmation terminal versions number by comparing two voltage values It is whether consistent with firmware version number, or pass through program successively each of comparison terminal version number and firmware version number word Symbol, to confirm whether terminal versions number are consistent with firmware version number.
In the present embodiment, secondary communication device 15, if inconsistent for terminal versions number and firmware version number, from cloud The corresponding upgrade file of firmware version number is obtained in server 11.
In the present embodiment, firmware upgrade control device 16, for being consolidated by upgrade file to all sub- equipment 14 Part upgrading, and the identification code for the sub- equipment 14 for completing firmware upgrade is recorded.
In the present embodiment, firmware upgrade system further include: fifth communication device and the corresponding control equipment of sub- equipment 14.
In the present embodiment, fifth communication device, for firmware upgrade control device 16 to be recorded to the identification of sub- equipment 14 Code is sent to the corresponding control equipment of sub- equipment 14.
In the present embodiment, equipment is controlled, for showing the corresponding identification code of sub- equipment 14 for completing firmware upgrade.
In conjunction with device firmware upgrade system as shown in Figure 5, in a specific embodiment, firmware upgrade system includes: Control equipment corresponding with sub- equipment 14.
In the present embodiment, secondary communication device 15, if it is inconsistent with firmware version number to be also used to terminal versions number, to The corresponding control equipment of sub- equipment 14 send upgrade tip information, and confirm control equipment whether feedback acknowledgment information;If control Equipment feedback acknowledgment information then obtains the corresponding file of firmware version number from Cloud Server 11.
In conjunction with device firmware upgrade system as shown in Figure 5, in a specific embodiment, firmware upgrade system is also wrapped It includes: acquisition device, third communication device and exploitation terminal
In the present embodiment, acquisition device, for obtaining the corresponding failure of failure when any sub- equipment 14 breaks down Information and error code.
In the present embodiment, third communication device for fault message and error code to be sent to exploitation terminal, and confirms Whether exploitation terminal feeds back the upgrade file of new edition, if the upgrade file of exploitation terminal feedback new edition, upgrade file is uploaded To Cloud Server 11.
In the present embodiment, terminal is developed, for receiving fault message and error code and feedback and fault message and failure The upgrade file of the corresponding new edition of code.
In the present embodiment, Cloud Server 11 are also used to the upgrade file according to the new edition of exploitation terminal feedback to upgrading File is updated.
In conjunction with device firmware upgrade system as shown in Figure 5, in a specific embodiment, firmware upgrade system is also wrapped It includes: fourth communication device.
In the present embodiment, fourth communication device receives the upgrade file of exploitation terminal transmission for being confirmed whether, if The upgrade file that exploitation terminal is sent is received, then upgrade file is uploaded to Cloud Server 11.
In the present embodiment, Cloud Server 11 are also used to the upgrade file according to the new edition of exploitation terminal feedback to upgrading File is updated.
As shown in fig. 6, the embodiment of the invention provides a kind of electronic equipment 14, including processor 1110, communication interface 1120, memory 1130 and communication bus 1140, wherein processor 1110, communication interface 1120, memory 1130 pass through communication Bus 1140 completes mutual communication;
Memory 1130, for storing computer program;
Processor 1110 when for executing the program stored on memory 1130, realizes following steps:
Obtain the firmware version number of the upgrade file stored in Cloud Server 11;
The terminal versions number of sub- equipment 14 are compared with firmware version number, judge terminal versions number and firmware version number It is whether consistent;
If terminal versions number are inconsistent with firmware version number, the corresponding upgrading of firmware version number is obtained from Cloud Server 11 File carries out firmware upgrade to all sub- equipment 14 by upgrade file, and the identification to the sub- equipment 14 for completing firmware upgrade Code is recorded.
Electronic equipment 14 provided in an embodiment of the present invention, processor 1110 is by executing the journey stored on memory 1130 The comparison between terminal versions number that sequence passes through firmware version number and sub- equipment 14 to the upgrade file in Cloud Server 11, Terminal versions number and firmware version number it is inconsistent when, corresponding upgrade file is obtained from Cloud Server 11, to sub- equipment 14 into Row firmware upgrade, and the sub- equipment 14 for completing firmware upgrade is recorded, it realizes to the system comprising multiple sub- equipment 14 Firmware upgrade.
The communication bus 1140 that above-mentioned electronic equipment 14 is mentioned can be Peripheral Component Interconnect standard (PeripheralComponentInterconnect, abbreviation PCI) bus or expanding the industrial standard structure (ExtendedIndu StryStandardArchitecture, abbreviation EISA) bus etc..The communication bus 1140 can be divided into address bus, data Bus, control bus etc..Only to be indicated with a thick line in Fig. 6, it is not intended that an only bus or one kind convenient for indicating The bus of type.
Communication interface 1120 is for the communication between above-mentioned electronic equipment 14 and other equipment.
Memory 1130 may include random access memory 1130 (RandomAccessMemory, abbreviation RAM), can also To include nonvolatile memory 1130 (non-volatilememory), a for example, at least magnetic disk storage 1130.It is optional , memory 1130 can also be that at least one is located remotely from the storage device of aforementioned processor 1110.
Above-mentioned processor 1110 can be general processor 1110, including central processing unit 1110 (CentralProcessingUnit, abbreviation CPU), network processing unit 1110 (NetworkProcessor, abbreviation NP) etc.;Also It can be digital signal processor 1110 (DigitalSignalProcessing, abbreviation DSP), specific integrated circuit (Appli CationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components.
The embodiment of the invention provides a kind of computer readable storage medium, computer-readable recording medium storage has one Or multiple programs, one or more program can be executed by one or more processor 1110, to realize any of the above-described reality Apply the firmware upgrade method of example.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate Raw process or function according to the embodiment of the present invention.Computer can be general purpose computer, special purpose computer, computer network, Or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from a computer Readable storage medium storing program for executing to another computer readable storage medium transmit, for example, computer instruction can from a web-site, Computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as Infrared, wireless, microwave etc.) mode transmitted to another web-site, computer, server or data center.Computer Readable storage medium storing program for executing can be any usable medium or include one or more usable medium collection that computer can access At the data storage devices such as server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic Band), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk SolidStateDisk (SSD)) etc..
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of device firmware upgrade method, applied to the system with multiple sub- equipment, which is characterized in that the firmware upgrade Method includes:
Obtain the firmware version number of upgrade file stored in cloud server;
The terminal versions number of the sub- equipment are compared with the firmware version number, judge the terminal versions number with it is described Whether firmware version number is consistent;
If the terminal versions number and the firmware version number are inconsistent, the firmware version number is obtained from the Cloud Server Corresponding upgrade file carries out firmware upgrade to all sub- equipment by the upgrade file, and to completion firmware upgrade The identification code of the sub- equipment recorded.
2. device firmware upgrade method according to claim 1, which is characterized in that obtained from the Cloud Server described solid The corresponding file of part version number carries out firmware upgrade to all sub- equipment, and to the sub- equipment for completing firmware upgrade Identification code is recorded, and is specifically included:
If the terminal versions number and the firmware version number are inconsistent, send and rise to the corresponding control equipment of the sub- equipment Grade prompt information, and confirm the control equipment whether feedback acknowledgment information;
If the control equipment feedback acknowledgment information, the corresponding file pair of the firmware version number is obtained from the Cloud Server All sub- equipment carry out firmware upgrade, and record to the identification code for the sub- equipment for completing firmware upgrade;
If the non-feedback acknowledgment information of control equipment, firmware upgrade is not carried out to the sub- equipment.
3. device firmware upgrade method according to claim 1, which is characterized in that the firmware upgrade method further include:
When any sub- equipment breaks down, the corresponding fault message of the failure and error code are obtained;
The fault message and error code are sent to exploitation terminal, and confirm whether the exploitation terminal feeds back the upgrading of new edition File;
If the upgrade file of the exploitation terminal feedback new edition, according to the upgrade file of the new edition in the Cloud Server Upgrade file is updated.
4. device firmware upgrade method according to claim 1, which is characterized in that the firmware upgrade method further include:
Whether confirmation exploitation terminal sends the upgrade file of new edition;
It is literary to upgrading in the Cloud Server according to the upgrade file of the new edition if the exploitation terminal sends upgrade file Part is updated.
5. device firmware upgrade method according to any one of claims 1 to 4, which is characterized in that the equipment firmware liter Grade method further include:
The corresponding control equipment of the sub- equipment is sent by the identification code;
The corresponding identification code of sub- equipment for completing firmware upgrade is shown in the control equipment.
6. a kind of device firmware upgrade system, comprising: multiple sub- equipment, which is characterized in that further include:
Cloud Server, for storing upgrade file;
First communication device, for obtaining the firmware version number of upgrade file stored in cloud server;
Comparison unit judges the end for being compared the terminal versions number of the sub- equipment with the firmware version number Hold version number and the firmware version number whether consistent;
Secondary communication device, if inconsistent for the terminal versions number and the firmware version number, from the Cloud Server It is middle to obtain the corresponding upgrade file of the firmware version number;
Firmware upgrade control device, for carrying out firmware upgrade to all sub- equipment by the upgrade file, and to complete It is recorded at the identification code of the sub- equipment of firmware upgrade.
7. device firmware upgrade system according to claim 6, which is characterized in that the firmware upgrade system include: with The corresponding control equipment of the sub- equipment;
Secondary communication device, if being also used to the terminal versions number and the firmware version number is inconsistent, to the sub- equipment Corresponding control equipment sends upgrade tip information, and confirm the control equipment whether feedback acknowledgment information;If the control Equipment feedback acknowledgment information then obtains the corresponding file of the firmware version number from the Cloud Server.
8. device firmware upgrade system according to claim 6, which is characterized in that the firmware upgrade system further include:
Acquisition device, for obtaining the corresponding fault message of the failure and failure when any sub- equipment breaks down Code;
Third communication device for the fault message and error code to be sent to exploitation terminal, and confirms the exploitation terminal Whether the upgrade file of new edition is fed back, if the upgrade file of the exploitation terminal feedback new edition, the upgrade file is uploaded To the Cloud Server;
The exploitation terminal, it is opposite with the fault message and error code for receiving the fault message and error code and feedback The upgrade file for the new edition answered;
The Cloud Server is also used to carry out the upgrade file according to the upgrade file of the new edition of the exploitation terminal feedback It updates.
9. device firmware upgrade system according to claim 6, which is characterized in that the firmware upgrade system further include:
Fourth communication device receives the upgrade file of exploitation terminal transmission for being confirmed whether, if receiving exploitation terminal hair The upgrade file is then uploaded to the Cloud Server by the upgrade file sent;
The Cloud Server is also used to carry out the upgrade file according to the upgrade file of the new edition of the exploitation terminal feedback It updates.
10. according to the device firmware upgrade system any in claim 6~9, which is characterized in that the firmware upgrade system System further include:
Fifth communication device, the identification code for the firmware upgrade control device to be recorded the sub- equipment are sent to the son The corresponding control equipment of equipment;
The control equipment, for showing the corresponding identification code of sub- equipment for completing firmware upgrade.
CN201910390242.9A 2019-05-10 2019-05-10 A kind of device firmware upgrade method and system Pending CN110311801A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910390242.9A CN110311801A (en) 2019-05-10 2019-05-10 A kind of device firmware upgrade method and system
PCT/CN2019/126834 WO2020228323A1 (en) 2019-05-10 2019-12-20 Method and system for upgrading device firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910390242.9A CN110311801A (en) 2019-05-10 2019-05-10 A kind of device firmware upgrade method and system

Publications (1)

Publication Number Publication Date
CN110311801A true CN110311801A (en) 2019-10-08

Family

ID=68074682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910390242.9A Pending CN110311801A (en) 2019-05-10 2019-05-10 A kind of device firmware upgrade method and system

Country Status (2)

Country Link
CN (1) CN110311801A (en)
WO (1) WO2020228323A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565122A (en) * 2020-04-29 2020-08-21 四川虹美智能科技有限公司 Internet of things equipment firmware upgrading method, device and system
CN111796849A (en) * 2020-07-14 2020-10-20 深圳市智莱科技股份有限公司 Firmware remote upgrading method and device
WO2020228323A1 (en) * 2019-05-10 2020-11-19 珠海格力电器股份有限公司 Method and system for upgrading device firmware
CN112254284A (en) * 2020-09-02 2021-01-22 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof
CN112289431A (en) * 2020-09-30 2021-01-29 音数汇元(上海)智能科技有限公司 Home care terminal upgrading method and device, computer equipment and storage medium
CN113254038A (en) * 2021-05-25 2021-08-13 青岛海信移动通信技术股份有限公司 Upgrading confirmation method, server, wire controller and mobile terminal
CN113377406A (en) * 2021-07-13 2021-09-10 读书郎教育科技有限公司 Automatic device and method for updating intelligent firmware
CN114003266A (en) * 2021-10-14 2022-02-01 红石阳光(深圳)科技有限公司 Method and device for generating multiple differential packets based on Android flash firmware
CN114143131A (en) * 2020-09-03 2022-03-04 西蒙电气(中国)有限公司 Method for realizing information identification of intelligent electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291516A (en) * 2017-07-12 2017-10-24 珠海格力电器股份有限公司 A kind of firmware upgrade method and system
US20180316425A1 (en) * 2017-04-28 2018-11-01 Dell Products L.P. Firmware updates using visible light medium
CN109542486A (en) * 2018-11-23 2019-03-29 珠海格力电器股份有限公司 A kind of terminal device firmware upgrade system and its method and air-conditioning

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634646A (en) * 2019-03-06 2019-04-16 北京意锐新创科技有限公司 The method and apparatus of barcode scanning terminal coupling firmware updating based on SFTP
CN110311801A (en) * 2019-05-10 2019-10-08 珠海格力电器股份有限公司 A kind of device firmware upgrade method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180316425A1 (en) * 2017-04-28 2018-11-01 Dell Products L.P. Firmware updates using visible light medium
CN107291516A (en) * 2017-07-12 2017-10-24 珠海格力电器股份有限公司 A kind of firmware upgrade method and system
CN109542486A (en) * 2018-11-23 2019-03-29 珠海格力电器股份有限公司 A kind of terminal device firmware upgrade system and its method and air-conditioning

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020228323A1 (en) * 2019-05-10 2020-11-19 珠海格力电器股份有限公司 Method and system for upgrading device firmware
CN111565122A (en) * 2020-04-29 2020-08-21 四川虹美智能科技有限公司 Internet of things equipment firmware upgrading method, device and system
CN111796849A (en) * 2020-07-14 2020-10-20 深圳市智莱科技股份有限公司 Firmware remote upgrading method and device
CN112254284A (en) * 2020-09-02 2021-01-22 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof
CN114143131A (en) * 2020-09-03 2022-03-04 西蒙电气(中国)有限公司 Method for realizing information identification of intelligent electronic equipment
CN112289431A (en) * 2020-09-30 2021-01-29 音数汇元(上海)智能科技有限公司 Home care terminal upgrading method and device, computer 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
CN113377406A (en) * 2021-07-13 2021-09-10 读书郎教育科技有限公司 Automatic device and method for updating intelligent firmware
CN114003266A (en) * 2021-10-14 2022-02-01 红石阳光(深圳)科技有限公司 Method and device for generating multiple differential packets based on Android flash firmware

Also Published As

Publication number Publication date
WO2020228323A1 (en) 2020-11-19

Similar Documents

Publication Publication Date Title
CN110311801A (en) A kind of device firmware upgrade method and system
US10332184B2 (en) Personalized application recommendations
US8959234B2 (en) Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
WO2021051563A1 (en) Target data archiving method and apparatus, and electronic device and computer non-volatile readable storage medium
CN106485261B (en) Image recognition method and device
CN105630977A (en) Application recommending method, device and system
US11055107B2 (en) Electronic apparatus and method of executing application program
CN105281937A (en) Server, service management system, and service management method
CN102799545A (en) Usb device remote control method and system
CN103905441A (en) Data acquisition method and device
CN105072139A (en) Recommendation method and recommendation device
CN104090807A (en) Application software new version information obtaining method and device
CN108366091A (en) Network request processing method, terminal and computer-readable medium
CN106575414B (en) Contextual platform feature recommendation
WO2019061943A1 (en) Cluster-based medical software updating method and server
CN108196902A (en) For showing the method and apparatus for advertisement of spreading its tail
CN108170336B (en) Terminal desktop application display control method and system
CN104407808B (en) The method and apparatus for writing data
CN105453518B (en) Synchronization of metering networks
CN110083483A (en) The method and apparatus for removing terminal data
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN110457318A (en) The update method of data field, device, medium, electronic equipment in block chain
US9424552B2 (en) Managing website registrations
CN112214437B (en) Storage device, communication method and device and computer readable storage medium
CN114880003A (en) System upgrading method of intelligent terminal, intelligent terminal and storage medium

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: 20191008

RJ01 Rejection of invention patent application after publication