Summary of the invention
The main purpose of the present invention is to provide a kind of firmware upgrade method, device and computer readable storage medium, purports
Solving the technical issues of existing multi-online air-conditioning system cannot achieve the differentiation upgrading of equipment.
To achieve the above object, the present invention provides a kind of firmware upgrade method, is applied to multi-online air-conditioning system, described solid
Part upgrade method the following steps are included:
It is empty in the multi-connected machine when receiving the firmware upgrade instruction based on the updating and management interface triggering currently shown
It determines that the firmware upgrade instructs corresponding targeted update equipment in adjusting system, and sends load request and instruct to the target liter
Grade equipment, so that the targeted update equipment feeds back upgrading selection information;
There are the first object updating apparatus for upgrading and selecting information to allow to upgrade in the targeted update equipment
When, load enabled instruction is sent to the first object updating apparatus, is rung so that the first object updating apparatus feeds back upgrading
Answer information;
When receiving the upgrading response message, sends the firmware upgrade and instruct corresponding firmware information to described the
One targeted update equipment, so that the first object updating apparatus receives the firmware information, and feedback reception result;
When the reception result finishes receiving for firmware information, sends activation instruction to first object upgrading and set
It is standby, firmware upgrade operation is executed so that the first object updating apparatus is based on the activation instruction.
Further, described solid after the step of transmission load enabled instruction to first object updating apparatus
Part upgrade method further include:
If not receiving the first object upgrading sending in the first prefixed time interval after loading enabled instruction
The upgrading response message of equipment feedback then updates the first transmission times of the load enabled instruction;
When first transmission times is less than the first preset times, transmission load enabled instruction is continued to execute to described the
The step of one targeted update equipment.
Further, described when receiving the upgrading response message, it is corresponding solid to send the firmware upgrade instruction
Part information to the step of first object updating apparatus includes:
Maximum number of byte is determined based on the upgrading response message received;
The firmware information is split based on the maximum number of byte, to obtain multiple sub- firmware informations;
The sub- firmware information is sent to the first object updating apparatus.
Further, the transmission sub- firmware information to the step of first object updating apparatus, includes:
It is numbered according to sequence of each sub- firmware information in the firmware information, to obtain firmware information column
Table;
The smallest sub- firmware information will be numbered in firmware information list is sent to the first object updating apparatus, wherein
The first object updating apparatus is when receiving the smallest sub- firmware information of number, feedback reception response message;
If not receiving described first sending in the second prefixed time interval after numbering the smallest sub- firmware information
The reception response message of targeted update equipment feedback, then update the second transmission times of the sub- firmware information, and described the
When two transmission times are less than the second preset times, the smallest sub- firmware information will be numbered by continuing to execute in firmware information list is sent
The step of to the first object updating apparatus.
Further, described to number the smallest sub- firmware information in firmware information list and be sent to the first object liter
After the step of grade equipment, the firmware upgrade method further include:
When receiving the reception response message, deletes and number the smallest sub- firmware letter in the firmware information list
Breath, and continue to execute and will number the smallest sub- firmware information in firmware information list and be sent to the first object updating apparatus
Step.
Further, described when the reception result finishes receiving for firmware information, activation instruction is sent to described the
The step of one targeted update equipment includes:
When the reception result finishes receiving for firmware information, sends checking command to first object upgrading and set
It is standby, so that the first object updating apparatus verifies the firmware information received based on the checking command, and feeds back and test
Demonstrate,prove result;
When the verification result received is to be verified, sends activation instruction to first object upgrading and set
It is standby.
Further, the firmware upgrade method further include:
When receiving the upgrading termination request based on updating and management interface triggering, determine that the upgrading terminates request
Corresponding second targeted update equipment;
Stop the updating operation to the second targeted update equipment, and sends upgrading command for stopping to second target
Updating apparatus, so that the second targeted update equipment terminates updating operation.
It is further, described when receiving the firmware upgrade instruction based on the updating and management interface triggering currently shown,
It is described solid before determining the step of firmware upgrade instructs corresponding targeted update equipment in the multi-online air-conditioning system
Part upgrade method further include:
Loading upgrading configuration file, and when the upgrading configuration loads completion, it is based on the firmware information list
Loading firmware information;Wherein the upgrading configuration includes firmware information list and the corresponding upgrade version of the firmware information
This information;
The multi-online air-conditioning system is searched for based on the corresponding Serial Port Information of upgrade file, with the determination multi-gang air-conditioner
The corresponding equipment to be upgraded of upgrade file described in system, wherein the information of upgrade file includes at least one firmware information,
The information of upgrade file includes at least one firmware information;
The corresponding upgraded version information of the equipment to be upgraded and firmware location information, and base are determined based on upgrade file
In upgraded version information and firmware location information, the equipment column of the equipment to be upgraded described in the updating and management interface display
Table.
In addition, to achieve the above object, the present invention also provides a kind of device for upgrading firmware, the device for upgrading firmware packet
It includes: memory, processor and being stored in the firmware upgrade procedure that can be run on the memory and on the processor, it is described
The step of firmware upgrade procedure realizes firmware upgrade method above-mentioned when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Firmware upgrade procedure is stored on storage medium, the firmware upgrade procedure realizes firmware upgrade above-mentioned when being executed by processor
The step of method.
The present invention by receive based on currently show updating and management interface triggering firmware upgrade instruct when, in institute
State and determine that the firmware upgrade instructs corresponding targeted update equipment in multi-online air-conditioning system, and send load request instruct to
The targeted update equipment, so that the targeted update equipment feeds back upgrading selection information, then in the targeted update equipment
It is middle there are the upgrading select information for allow to upgrade first object updating apparatus when, send and load enabled instruction to described the
One targeted update equipment is then receiving the upgrading so that the first object updating apparatus feeds back upgrading response message
When response message, sends the firmware upgrade and instruct corresponding firmware information to the first object updating apparatus, for described
First object updating apparatus receives the firmware information, and then feedback reception is as a result, be firmware information in the reception result
When finishing receiving, activation instruction is sent to the first object updating apparatus, so that the first object updating apparatus is based on institute
It states activation instruction and executes firmware upgrade operation, can be realized equipment component in the indoor unit or outdoor unit of multi-online air-conditioning system
Upgrading, and then realize the differentiation upgrading of multi-online air-conditioning system, i.e., difference upgrading is carried out to distinct device, improves user's body
It tests.
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 structure of device for upgrading firmware in hardware running environment that the embodiment of the present invention is related to
Schematic diagram.
Device for upgrading firmware of the embodiment of the present invention can be PC, as shown in Figure 1, the device for upgrading firmware may include: place
Manage device 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, it communicates
Bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display screen (Display), defeated
Enter unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Net
Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be
High speed RAM memory is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory
1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that device for upgrading firmware structure shown in Fig. 1 is not constituted to firmware upgrade
The restriction of device may include perhaps combining certain components or different component cloth than illustrating more or fewer components
It sets.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and firmware upgrade procedure.
In device for upgrading firmware shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with backstage
Business device carries out 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 procedure stored in memory 1005.
In the present embodiment, device for upgrading firmware includes: memory 1005, processor 1001 and is stored in the memory
On 1005 and the firmware upgrade procedure that can be run on the processor 1001, wherein processor 1001 calls memory 1005
When the firmware upgrade procedure of middle storage, and execute the operation in each embodiment of following firmware upgrade method.
The present invention also provides a kind of firmware upgrade methods, are firmware upgrade method first of the present invention implementation referring to Fig. 2, Fig. 2
The flow diagram of example.
In the present embodiment, which is applied to multi-online air-conditioning system, which includes
An at least indoor unit and at least an outdoor unit.
The firmware upgrade method includes:
Step S100, when receiving the firmware upgrade instruction based on the updating and management interface triggering currently shown, in institute
State and determine that the firmware upgrade instructs corresponding targeted update equipment in multi-online air-conditioning system, and send load request instruct to
The targeted update equipment, so that the targeted update equipment feeds back upgrading selection information;
In the present embodiment, on the server, which passes through USB to the upgrading software installation of the multi-online air-conditioning system
485 serial ports of transferring are connected with the outdoor unit of multi-online air-conditioning system and/or indoor unit, while server can access internet.
Need in multi-online air-conditioning system outdoor unit and indoor unit upgrade when, start the upgrading software, according to upgrading
Configuration file, that is, upgrading configuration needed for administration interface load, the content of the upgrading configuration includes firmware information list
And the corresponding upgraded version information of the firmware information, which further includes the corresponding header file of firmware information
(identification information etc.) carries out availability to firmware information for equipment and carries out self-test, imports after the completion of upgrading configuration load
Upgrade file packet (firmware information packet).According to multi-gang air-conditioner described in the serial port setting information search that updating and management interface is triggered
System, with the corresponding equipment to be upgraded of upgrade file described in the determination multi-online air-conditioning system, and show search to
Updating apparatus.
As shown in figure 3, maintenance personnel can trigger firmware liter by the currently displayed equipment to be upgraded in updating and management interface
Grade instruction specifically can select the equipment for currently needing to upgrade at updating and management interface, and solid by the triggering such as " upgrading " buttons
Part upgrade command, when receiving the firmware upgrade instruction based on the updating and management interface triggering currently shown, in multi-connected machine sky
It determines that firmware upgrade instructs corresponding targeted update equipment in adjusting system, that is, determines that maintenance personnel currently selects what is upgraded to set
It is standby, and send load request and instruct to the targeted update equipment, so that the targeted update equipment feeds back upgrading selection information,
In, load request instructs the header file in upgrading configuration, which includes the identification information of each targeted update equipment
The version etc. of firmware information in (unique identification of indoor unit or outdoor unit), upgrade file, targeted update equipment is receiving this
It when load request instructs, parses the load request and instructs to obtain the header file, upgrading selection information is fed back according to header file, in head
Identification information in file whether include the targeted update equipment itself identification information, the targeted update equipment can if including
The upgrading selection information that feedback allows to upgrade, otherwise, the targeted update equipment can feed back the upgrading selection information of refusal upgrading;Or
Person, when including the identification information of the targeted update equipment itself in the identification information in header file, if the firmware in header file
The version of the information version current with the targeted update equipment is inconsistent, then the targeted update equipment can feed back the liter for allowing to upgrade
Grade selection information, otherwise the targeted update equipment can feed back the upgrading selection information of refusal upgrading.
Step S200, there are the first objects for upgrading and selecting information to allow to upgrade in the targeted update equipment
When updating apparatus, load enabled instruction is sent to the first object updating apparatus, so that the first object updating apparatus is anti-
Feedback upgrading response message;
In the present embodiment, when the upgrading for receiving targeted update equipment feedback selects information, all upgradings are determined
With the presence or absence of the upgrading selection information for allowing to upgrade in selection information, and if it exists, then determine that there are first in targeted update equipment
Targeted update equipment, the first object updating apparatus are to have upgrading in targeted update equipment to select information to allow what is upgraded to set
It is standby, load enabled instruction is then sent to first object updating apparatus, so that first object updating apparatus feeds back upgrading response letter
Breath, specifically, the first object updating apparatus enter upgrade status after receiving load enabled instruction, and wipe corresponding storage
And feed back for the storage of firmware updating and be ready for the upgrading response message that finishes in region.
Step S300 sends the firmware upgrade and instructs corresponding firmware letter when receiving the upgrading response message
Breath is to the first object updating apparatus, so that the first object updating apparatus receives the firmware information, and feedback reception
As a result;
In the present embodiment, it when receiving upgrading response message, sends firmware upgrade and instructs corresponding firmware information extremely
The first object updating apparatus, first object updating apparatus store the firmware information and feed back when receiving firmware information
Reception result.Wherein, server can split firmware information, and the firmware information after fractionation is gradually sent to first object
Updating apparatus.
Step S400 sends activation instruction to institute when the reception result received finishes receiving for firmware information
First object updating apparatus is stated, so that the first object updating apparatus activates the firmware information received.
In the present embodiment, when the reception result received finishes receiving for firmware information, server sends activation and refers to
It enables to first object updating apparatus, executes firmware upgrade behaviour so that the first object updating apparatus is based on the activation instruction
Make, and then realize and first object updating apparatus is upgraded, can be realized indoor unit or outdoor unit in multi-online air-conditioning system
Part upgrading, and then realize multi-online air-conditioning system differentiation upgrading, improve user experience.
In the present embodiment, when first object updating apparatus upgrades completion, the information that feedback upgrades successfully is carved, alternatively,
In the escalation process of first object updating apparatus, user can trigger the liter of first object updating apparatus by updating and management interface
Grade status query instruction, when receiving the upgrade status inquiry instruction, which is sent to by server
First object updating apparatus, first object updating apparatus feed back current upgrade status, are receiving first object updating apparatus
When the upgrade status of feedback, in the upgrade status of the updating and management interface display first object updating apparatus, wherein upgrade status
Including upgrading successfully, upgrading failure, upgrading fair state.
Further, user can be referred to by the version querying that equipment in multi-online air-conditioning system is triggered at updating and management interface
Enable, receive the version querying instruction when, server by the version querying instruction be sent to the version querying instruction it is corresponding
Equipment, so that the version querying instructs corresponding equipment to feed back the firmware version being currently installed on.
The firmware upgrade method that the present embodiment proposes, by receiving based on the updating and management interface triggering currently shown
Firmware upgrade instruction when, determine that the firmware upgrade instructs corresponding targeted update to set in the multi-online air-conditioning system
It is standby, and send load request and instruct to the targeted update equipment, so that the targeted update equipment feeds back upgrading selection information,
Then in the targeted update equipment there are it is described upgrading select information for allow upgrade first object updating apparatus when, send out
Send load enabled instruction to the first object updating apparatus, so that the first object updating apparatus feeds back upgrading response letter
Breath sends the corresponding firmware information of firmware upgrade instruction to described the then when receiving the upgrading response message
One targeted update equipment, so that the first object updating apparatus receives the firmware information, and then feedback reception is as a result, exist
When the reception result finishes receiving for firmware information, activation instruction is sent to the first object updating apparatus, for described
First object updating apparatus is based on the activation instruction and executes firmware upgrade operation, can be realized the interior of multi-online air-conditioning system
The upgrading of equipment component in machine or outdoor unit, so realize multi-online air-conditioning system differentiation upgrading, i.e., to distinct device into
Row difference upgrading, improves user experience, for example, the corresponding client of equipment component has customization in the multi-online air-conditioning system
When the new demand of change, the equipment component for only upgrading the client can be realized, and avoid upgrading the equipment unrelated with the client.
Based on first embodiment, the second embodiment of firmware upgrade method of the present invention is proposed, in the present embodiment, in step
After S200, the firmware upgrade method further include:
Step S500, if not receiving described the sending in the first prefixed time interval after loading enabled instruction
The upgrading response message of one targeted update equipment feedback then updates the first transmission times of the load enabled instruction;
Step S600 continues to execute transmission load starting and refers to when first transmission times is less than the first preset times
The step of order to first object updating apparatus;
In the present embodiment, the first preset time after load enabled instruction to the first object updating apparatus is sent
In interval, if not receiving the upgrading response message of the first object updating apparatus feedback, updates the load starting and refer to
Whether the first transmission times enabled, i.e., add 1 for first transmission times, and judge first transmission times less than first default time
Number, if the first transmission times continues to execute transmission load enabled instruction to the first object liter less than the first preset times
The step of grade equipment.
Wherein, first prefixed time interval and the first preset times can be rationally arranged, for example, this is first pre-
If time interval is set as 5s, 10s etc., which is set as 5.
It should be noted that if receiving the first object updating apparatus feedback after sending load enabled instruction again
Upgrading response message, then set initial value such as zero setting for first preset times.
Wherein, it if the first transmission times is greater than or equal to the first preset times, exports and does not receive upgrading response message
And upgrade the prompt information of failure.
Wherein, if the first object updating apparatus includes multiple, if default sending first after loading enabled instruction
In time interval, the upgrading response message of the equipment component feedback in first object updating apparatus is only received, then can determine the
The updating apparatus of upgrading response message is not fed back in one targeted update equipment, and updates the first of the load enabled instruction and sends
Number, when the first transmission times is less than the first preset times, send load enabled instruction into first object updating apparatus not
The updating apparatus of feedback upgrading response message.Wherein, it if the first transmission times is greater than or equal to the first preset times, exports not
The prompt information of the upgrading response message of the updating apparatus is received, and executes and sends the corresponding firmware of the firmware upgrade instruction
The equipment that information feeds back upgrading response message into first object updating apparatus.
The firmware upgrade method that the present embodiment proposes, if by sending the first preset time after loading enabled instruction
In interval, the upgrading response message of the first object updating apparatus feedback is not received, then updates the load enabled instruction
The first transmission times;Then when first transmission times is less than the first preset times, transmission load starting is continued to execute
The step of instruction to first object updating apparatus, by the upgrading for not receiving the first object updating apparatus feedback
It carries out repeatedly sending load enabled instruction when response message, can ensure to carry out firmware to first object updating apparatus as far as possible
Upgrading.
Based on first embodiment, the 3rd embodiment of firmware upgrade method of the present invention, in the present embodiment, step are proposed
S300 includes:
Step S310 determines maximum number of byte based on the upgrading response message received;
Step S320 splits the firmware information based on the maximum number of byte, to obtain multiple sub- firmware informations;
Step S330 sends the sub- firmware information to the first object updating apparatus.
In the present embodiment, upgrading response message includes that first object updating apparatus can receive each frame load data
Maximum number of byte is based on the upgrading response message when receiving the upgrading response message of first object updating apparatus feedback
It determines maximum number of byte, and instructs corresponding firmware information to split firmware upgrade according to the maximum number of byte, obtain more
A sub- firmware information, and send the sub- firmware information to the first object updating apparatus, with guarantee firmware information can and
When be sent to first object updating apparatus, improve the upgrading efficiency of first object updating apparatus.
The firmware upgrade method that the present embodiment proposes, by determining maximum word based on the upgrading response message received
Joint number;Then the firmware information is split based on the maximum number of byte, to obtain multiple sub- firmware informations;Described in then sending
Sub- firmware information can guarantee that firmware information can be sent to first object upgrading in time and set to the first object updating apparatus
It is standby, improve the upgrading efficiency of first object updating apparatus.
Based on 3rd embodiment, the fourth embodiment of firmware upgrade method of the present invention, in the present embodiment, step are proposed
S330 includes:
Step S331 is numbered according to sequence of each sub- firmware information in the firmware information, to obtain
Firmware information list;
Step S332 will number the smallest first sub- firmware information and be sent to the first object liter in firmware information list
Grade equipment, wherein the first object updating apparatus is when receiving the smallest sub- firmware information of number, feedback reception response letter
Breath;
Step S333, if not received sending in the second prefixed time interval after numbering the smallest sub- firmware information
The reception response message fed back to the first object updating apparatus, then update the second transmission times of the sub- firmware information,
And when second transmission times is less than the second preset times, the smallest son will be numbered admittedly by continuing to execute in firmware information list
Part information is sent to the step of first object updating apparatus.
In the present embodiment, when obtaining sub- firmware information, according to each sub- firmware information in firmware information
Sequence is numbered, and to obtain firmware information list, the smallest sub- firmware information will be numbered in firmware information list and is sent to institute
First object updating apparatus is stated, when receiving the smallest sub- firmware information of number, feedback reception is rung first object updating apparatus
Answer information;If not receiving first object sending in the second prefixed time interval after numbering the smallest sub- firmware information
The reception response message of updating apparatus feedback, then update the second transmission times of sub- firmware information, and small in the second transmission times
When the second preset times, the smallest sub- firmware information will be numbered by continuing to execute in firmware information list is sent to first mesh
Other sub- firmware informations are sent to first object updating apparatus by the step of marking updating apparatus.
Wherein, second prefixed time interval and the second preset times can be rationally arranged, for example, this is second pre-
If time interval is set as 200 milliseconds etc., which is set as 5.
It should be noted that output is solid because that can not receive when the second transmission times is greater than or equal to the second preset times
Part information and the prompt information for upgrading failure.
Wherein, if the first object updating apparatus include it is multiple, after sending and numbering the smallest sub- firmware information, only
The reception response message for receiving the equipment component feedback in first object updating apparatus, then can determine first object updating apparatus
In non-feedback reception response message updating apparatus, and update it is described load enabled instruction the second transmission times, second hair
When sending number less than the second preset times, the smallest sub- firmware information will be numbered in firmware information list and is sent to non-feedback reception
The updating apparatus of response message.Wherein, it if the second transmission times is greater than or equal to the second preset times, exports and does not receive this
The prompt information of the upgrading response message of the updating apparatus of non-feedback reception response message, and execute the transmission firmware upgrade and refer to
The equipment for enabling corresponding firmware information feedback reception response message into first object updating apparatus.
It further, in one embodiment, further include receiving the reception response message after step S332
When, delete the first sub- firmware information in the firmware information list, and continue to execute will be numbered in firmware information list it is minimum
The first sub- firmware information the step of being sent to the first object updating apparatus.
The present embodiment propose firmware upgrade method, by according to each sub- firmware information in the firmware information
Sequence be numbered, to obtain firmware information list;Then the smallest sub- firmware information hair will be numbered in firmware information list
It send to the first object updating apparatus, wherein the first object updating apparatus is receiving the smallest sub- firmware letter of number
When breath, feedback reception response message;If then sending the second prefixed time interval after numbering the smallest sub- firmware information
It is interior, the reception response message of the first object updating apparatus feedback is not received, then updates the second of the sub- firmware information
Transmission times, and when second transmission times is less than the second preset times, continuing to execute will number in firmware information list
The step of the smallest sub- firmware information is sent to the first object updating apparatus, can by successively sending sub- firmware information
Ensure that first object updating apparatus receives the sub- firmware information, improves the upgrading efficiency of first object updating apparatus.
Based on first embodiment, the 5th embodiment of firmware upgrade method of the present invention, in the present embodiment, step are proposed
S400 includes:
Step S410 sends checking command to first mesh when the reception result finishes receiving for firmware information
Updating apparatus is marked, so that the first object updating apparatus verifies the firmware information received based on the checking command,
And feedback validation result;
Step S420 sends activation instruction to first mesh when the verification result received is to be verified
Mark updating apparatus.
In the present embodiment, when reception result finishes receiving for firmware information, checking command is sent to first mesh
Updating apparatus is marked, first object updating apparatus verifies the firmware information received based on the checking command, and feeds back and test
Card is as a result, first object updating apparatus is compared by the encryption information that the firmware information received is included with checking command
Verifying, to ensure the accuracy of firmware information integrality and version, when the verification result received is to be verified,
Activation instruction is sent to the first object updating apparatus, so that first object updating apparatus is upgraded according to the firmware information
Operation.
Further, in one embodiment, if not receiving testing for first object updating apparatus feedback in preset duration
Card as a result, verification result be authentication failed, then export upgrading failure prompt information.
The firmware upgrade method that the present embodiment proposes, by sending out when the reception result finishes receiving for firmware information
Send checking command to the first object updating apparatus, so that the first object updating apparatus is verified based on the checking command
The firmware information received, and feedback validation is sent out as a result, then when the verification result received is to be verified
It send activation instruction to the first object updating apparatus, and then is ensuring firmware information received by first object updating apparatus
When accurate, updating operation is carried out, avoids escalation process from the problems such as delay machine occur, further improves user experience.
Based on first embodiment, the sixth embodiment of firmware upgrade method of the present invention, in the present embodiment, the firmware are proposed
Upgrade method further include:
Step S500 determines the liter when receiving the upgrading termination request based on updating and management interface triggering
Grade, which terminates, requests corresponding second targeted update equipment;
Step S600 stops the updating operation to the second targeted update equipment, and sends upgrading command for stopping to institute
The second targeted update equipment is stated, so that the second targeted update equipment terminates updating operation.
In the present embodiment, maintenance personnel can pass through upgrading by the upgrading of updating and management interface termination device, specifically
The triggerings such as the stop button of administration interface upgrading terminates request, and receiving, the upgrading based on updating and management interface triggering is whole
When only requesting, determines that the upgrading terminates and request corresponding second targeted update equipment, stop to the second targeted update equipment
Updating operation, and send upgrading command for stopping to the second targeted update equipment so that the second targeted update equipment
Updating operation is terminated, for example, stopping continues to send firmware letter during sending firmware information to the second targeted update equipment
Breath, the second targeted update equipment stop updating operation and what deletion currently had received consolidate when receiving upgrading command for stopping
Part information.
The firmware upgrade method that the present embodiment proposes, by receiving the upgrading based on updating and management interface triggering
When terminating request, determines that the upgrading terminates and request corresponding second targeted update equipment, then stop to second target
The updating operation of updating apparatus, and upgrading command for stopping is sent to the second targeted update equipment, so that second target
Updating apparatus terminates updating operation, can terminate to current second targeted update equipment during upgrading, and then realize to during upgrading
Equipment control, further improve user experience.
Based on the above embodiment, the 7th embodiment for proposing firmware upgrade method of the present invention, in the present embodiment, in step
Before S100, the firmware upgrade method further include:
Step S700, loading upgrading configuration file, and when the upgrading configuration loads completion, it is based on the firmware
Information list loading firmware information;Wherein, the information of upgrade file includes at least one firmware information, the upgrading configuration text
Part includes firmware information list and the corresponding upgraded version information of the firmware information;
Step S800 searches for the multi-online air-conditioning system based on the corresponding Serial Port Information of upgrade file, described in determination
The corresponding equipment to be upgraded of upgrade file described in multi-online air-conditioning system;
Step S900 determines the corresponding upgraded version information of the equipment to be upgraded and firmware location based on upgrade file
Information, and it is based on upgraded version information and firmware location information, the equipment to be upgraded described in the updating and management interface display
List of devices.
In the present embodiment, after starting the upgrading software, it is according to configuration file needed for the load of updating and management interface
Upgrading configuration, and when the upgrading configuration loads completion, it is based on the firmware information list loading firmware information;
Wherein the upgrading configuration includes firmware information list and the corresponding upgraded version information of the firmware information, the upgrading
Configuration file further includes the corresponding header file of firmware information (identification information etc.), carries out availability progress to firmware information for equipment
Self-test then searches for the multi-online air-conditioning system based on the corresponding Serial Port Information of upgrade file, empty with the determination multi-connected machine
The corresponding equipment to be upgraded of upgrade file described in adjusting system, then determines the corresponding upgrading of equipment to be upgraded based on upgrade file
Version information and firmware location information, and it is based on upgraded version information and firmware location information, in updating and management circle
Face shows the list of devices of the equipment to be upgraded, so that maintenance personnel is set based on what list of devices selection was upgraded
It is standby.
The firmware upgrade method that the present embodiment proposes, by loading upgrading configuration file, and in the upgrading configuration
When load is completed, it is based on the firmware information list loading firmware information;Then it is searched based on the corresponding Serial Port Information of upgrade file
Suo Suoshu multi-online air-conditioning system, with the corresponding equipment to be upgraded of upgrade file described in the determination multi-online air-conditioning system,
The corresponding upgraded version information of the equipment to be upgraded and firmware location information are then determined based on upgrade file, and based on liter
Grade version information and firmware location information, the list of devices of the equipment to be upgraded described in the updating and management interface display are real
Showed the list of devices in updating and management interface display equipment to be upgraded, personnel convenient for safeguarding be based on list of devices selection need into
The equipment of row upgrading, further improves user experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with firmware upgrade procedure, when the firmware upgrade procedure is executed by processor realize consolidating as described in any one of above-mentioned
The step of part upgrade method.
The basic phase of each embodiment of computer readable storage medium specific embodiment of the present invention and above-mentioned firmware upgrade method
Together, in this not go into detail.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
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.