Summary of the invention
To be overcome the problems, such as present in the relevant technologies at least to a certain extent, the present invention provides a kind of program upgrading sideMethod, device, commissioning device and electrical equipment are manually put into greatly with solving electrical equipment programme upgrade method in the prior art, are risenStage efficiency is low, the low problem of customer satisfaction.
According to a first aspect of the embodiments of the present invention, a kind of programme upgrade method is provided, comprising:
It establishes and communicates to connect with electrical equipment;
When confirming that electrical equipment needs program to upgrade, by the communication connection, Xiang Suoshu electrical equipment sends upgradingProgram, so that the electrical equipment completes program upgrading according to the upgrade procedure.
Preferably, described establish with electrical equipment communicates to connect, comprising:
With all communication formats under the adaptive different communication protocol of electrical equipment, until and electrical equipment in preset durationIt is interior being capable of normal communication.
Preferably, the method, further includes:
If with electrical equipment can not all communication formats under self application different communication protocol, issue communication failure and remind.
Preferably, the confirmation electrical equipment needs program to upgrade, comprising:
Program version information is sent to electrical equipment, so that electrical equipment judges whether that program is needed to upgrade;
If receiving the program upgrade request of electrical equipment feedback, confirm that electrical equipment needs program to upgrade.
It is preferably, described to send program version information to electrical equipment, comprising:
To all electrical equipment radio program version informations, alternatively,
Program version information is sent to specific electrical equipment.
It is preferably, described to send upgrade procedure to electrical equipment, comprising:
Upgrade procedure is sent to electrical equipment by frame, until the upgrade procedure is completely transmitted;
Wherein, include the information of default measurement unit in each frame upgrade procedure, and be inserted with check code.
Preferably, the method, further includes:
If after having sent a frame upgrade procedure, receiving electrical equipment because verification fails, or time-out does not receive upgrading journeySequence and when the retransmission request fed back, retransmit previous frame upgrade procedure.
Preferably, the method, further includes:
After having sent all upgrade procedure, upgrade procedure is sent to electrical equipment and sends ending message, so that electricity consumption is setFor according to the upgrade procedure, program upgrading is completed.
Preferably, it after confirmation electrical equipment needs program to upgrade, before sending upgrade procedure to electrical equipment, also wrapsIt includes:
The instruction of erasing program storage area is sent to electrical equipment, is deposited so that electrical equipment wipes program according to described instructionStorage area.
It is preferably, described to send upgrade procedure to the electrical equipment, comprising:
After the feedback information that the program storage area erasing for receiving electrical equipment feedback finishes, Xiang Suoshu electrical equipment hairSend upgrade procedure.
Preferably, the communication protocol includes at least one of following item:
RS485 communication protocol, CAN communication agreement and HBS communication protocol.
Preferably, the communication format includes at least one of following item:
The different positive polarity RS485 communication protocol of baud rate and negative polarity RS485 communication protocol;
The different positive polarity CAN communication agreement of baud rate and negative polarity CAN communication agreement;
The different HBS communication protocol of baud rate.
According to a second aspect of the embodiments of the present invention, a kind of programme upgrade method is provided, comprising:
It establishes and communicates to connect with commissioning device;
When confirming that electrical equipment itself needs program to upgrade, by the communication connection, receive what commissioning device was sentUpgrade procedure;
According to the upgrade procedure, program upgrading is completed.
Preferably, described establish with commissioning device communicates to connect, comprising:
With all communication formats under the adaptive different communication protocol of commissioning device, until and commissioning device in preset durationIt is interior being capable of normal communication.
Preferably, the confirmation electrical equipment itself needs program to upgrade, comprising:
Receive the program version information that commissioning device is sent;
The program version information received is compared with the program version information that electrical equipment itself stores;
If comparison information show the program version information received be it is newest, confirm that electrical equipment itself needs program literGrade sends program upgrade request to commissioning device.
Preferably, the upgrade procedure for receiving commissioning device and sending, comprising:
It receives commissioning device and presses the upgrade procedure that frame is sent, until confirmation commissioning device has sent upgrade procedure.
Preferably, the method, further includes:
If having received a frame upgrade procedure, the upgrade procedure received is verified, if verifying successfully, is saved, it is noThen, then it abandons, Parallel debugging equipment sends retransmission request.
Preferably, the method, further includes:
If time-out does not receive upgrade procedure, retransmission request is sent to commissioning device.
Preferably, the confirmation commissioning device has sent upgrade procedure, comprising:
If the upgrade procedure for receiving commissioning device transmission sends ending message, confirm that commissioning device has sent upgrading journeySequence.
Preferably, after confirmation electrical equipment itself needs program to upgrade, the upgrade procedure that commissioning device is sent is receivedBefore, further includes:
The instruction for the erasing program storage area that commissioning device is sent is received, and according to described instruction, wipes program storage area.
Preferably, the upgrade procedure for receiving commissioning device and sending, comprising:
After sending the feedback information that program storage area erasing finishes to commissioning device, the upgrading journey that commissioning device is sent is receivedSequence.
Preferably, the communication protocol includes at least one of following item:
RS485 communication protocol, CAN communication agreement and HBS communication protocol.
Preferably, the communication format includes at least one of following item:
The different positive polarity RS485 communication protocol of baud rate and negative polarity RS485 communication protocol;
The different positive polarity CAN communication agreement of baud rate and negative polarity CAN communication agreement;
The different HBS communication protocol of baud rate.
According to a third aspect of the embodiments of the present invention, a kind of program upgrade apparatus is provided, comprising:
Communication module is communicated to connect for establishing with electrical equipment;
Sending module, for passing through the communication connection, Xiang Suoshu electricity consumption when confirming that electrical equipment needs program to upgradeEquipment sends upgrade procedure, so that the electrical equipment completes program upgrading according to the upgrade procedure.
According to a fourth aspect of the embodiments of the present invention, a kind of commissioning device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
For establishing the communication module of communication connection with electrical equipment;
The processor is configured to:
When confirming that electrical equipment needs program to upgrade, by the communication connection, Xiang Suoshu electrical equipment sends upgradingProgram, so that the electrical equipment completes program upgrading according to the upgrade procedure.
According to a fifth aspect of the embodiments of the present invention, a kind of program upgrade apparatus is provided, comprising:
Communication module is communicated to connect for establishing with commissioning device;
Receiving module, for by the communication connection, receiving and adjusting when confirming that electrical equipment itself needs program to upgradeTry the upgrade procedure that equipment is sent;
Upgraded module, for completing program upgrading according to the upgrade procedure.
According to a sixth aspect of the embodiments of the present invention, a kind of electrical equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
For establishing the communication module of communication connection with commissioning device;
The processor is configured to:
When confirming that electrical equipment itself needs program to upgrade, by the communication connection, receive what commissioning device was sentUpgrade procedure;
According to the upgrade procedure, program upgrading is completed.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Commissioning device and electrical equipment, which are established, to be communicated to connect, when confirming that electrical equipment needs program to upgrade, by describedCommunication connection, commissioning device send upgrade procedure to electrical equipment, and electrical equipment completes program liter according to the upgrade procedureGrade avoids the troublesome operation that disassembly electrical equipment mainboard is upgraded, reduces human input, remote online liter may be implementedGrade upgrades high-efficient, customer satisfaction height.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, notIt can the limitation present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related toWhen attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodimentDescribed in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appendedThe example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of flow chart of programme upgrade method shown according to an exemplary embodiment, as shown in Figure 1, the partyMethod includes:
Step S11, it establishes and communicates to connect with electrical equipment;
Step S12, when confirming that electrical equipment needs program to upgrade, pass through the communication connection, Xiang Suoshu electrical equipmentUpgrade procedure is sent, so that the electrical equipment completes program upgrading according to the upgrade procedure.
It should be noted that technical solution provided in this embodiment, suitable for commissioning device.
Preferably, the electrical equipment includes but is not limited to: air-conditioning, new blower, air purifier, refrigerator, washing machine etc..
Preferably, described establish with electrical equipment communicates to connect, comprising: wired connection and wireless connection.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
Preferably, described establish with electrical equipment communicates to connect, comprising:
With all communication formats under the adaptive different communication protocol of electrical equipment, until and electrical equipment in preset durationIt is interior being capable of normal communication.
It is understood that the preset duration needs to be configured according to user, such as it is set as 5 seconds.
Preferably, the communication protocol includes at least one of following item:
RS485 communication protocol, CAN communication agreement and HBS communication protocol.
Preferably, the communication format includes at least one of following item:
The different positive polarity RS485 communication protocol of baud rate and negative polarity RS485 communication protocol;
The different positive polarity CAN communication agreement of baud rate and negative polarity CAN communication agreement;
The different HBS communication protocol of baud rate.
Include by communication protocol: for RS485 communication protocol, CAN communication agreement and HBS communication protocol, different communication associationAll communication formats under view are as shown in Figure 2.
Referring to fig. 2, RS485 communication protocol includes two kinds of baud rates of A, B and both positive and negative polarity, CAN communication agreement includeC, two kinds of baud rates of D and both positive and negative polarity, and HBS communication protocol is nonpolarity communication protocol, including two kinds of baud rates of E, F,It combines and shares the configuration of 10 kinds of communication formats.
Can be equal it is understood that described A, B, C, D, E, F are all greater than 0, between them, it can also be unequal.
Between commissioning device and electrical equipment, communication protocol, baud rate etc. are possible to different.If only a kind of communication latticeFormula carries out being possible to there are problems that communication connection can not be established when remotely updating program.It is provided in this embodiment adaptiveThe communication mode of a variety of communication formats can automatically look for out a kind of suitable communication by communication protocol, baud rate, polarity etc.Path carries out normal data transmission, substantially increases the compatibility of communication, efficiently solves existing for remotely updating programCommunication issue.
Preferably, the method, further includes:
If with electrical equipment can not all communication formats under self application different communication protocol, issue communication failure and remind.
It is understood that the communication failure prompting includes but is not limited to: voice reminder, text are reminded, acousto-optic is reminded.
It is understood that technical solution provided in this embodiment, commissioning device and electrical equipment can not self application notIt when with all communication formats under communication protocol, issues communication failure and reminds, be conducive to that user is reminded to overhaul communication line in time,Malfunction elimination is carried out convenient for user, user experience is high.
Preferably, the confirmation electrical equipment needs program to upgrade, comprising:
Program version information is sent to electrical equipment, so that electrical equipment judges whether that program is needed to upgrade;
If receiving the program upgrade request of electrical equipment feedback, confirm that electrical equipment needs program to upgrade.
It is understood that technical solution provided in this embodiment, only when confirming that electrical equipment needs program to upgrade, toElectrical equipment sends upgrade procedure, can mitigate the data transmission pressure of network, meanwhile, it also avoids unworthy data and passesIt is defeated, the case where preventing multi-thread concurrent from occupying system bandwidth, system is caused to can not work normally, improve the reliable of systemProperty, user satisfaction is higher.
It is preferably, described to send program version information to electrical equipment, comprising:
To all electrical equipment radio program version informations, alternatively,
Program version information is sent to specific electrical equipment.
It is understood that the sending method of commissioning device multiple programs version information, can widen the applicable field of systemScape, user's selection is more, and satisfaction is higher.
It is preferably, described to send upgrade procedure to electrical equipment, comprising:
Upgrade procedure is sent to electrical equipment by frame, until the upgrade procedure is completely transmitted;
Wherein, include the information of default measurement unit in each frame upgrade procedure, and be inserted with check code.
It is understood that the default metering unit root needs to be configured according to user, for example, being set as 5KB mono- meterMeasure unit.
It include that default metering is single in each frame data it is understood that sending upgrade procedure to electrical equipment by frameThe information of position can be convenient electrical equipment investigation wrong data, prevent from receiving wrong data, be convenient for error correction.
Preferably, the method, further includes:
If after having sent a frame upgrade procedure, receiving electrical equipment because verification fails, or time-out does not receive upgrading journeySequence and when the retransmission request fed back, retransmit previous frame upgrade procedure.
It is understood that upgrade procedure is sent by frame segmentation, every segment data is all added accordingly when upgrade procedure is transmittedMark and check code, electrical equipment verify the every segment data received, and verification failure or time-out confiscate data, just send outRetransmission request out, this failure retransmission mechanism can effectively ensure that the accuracy for the upgrade procedure that electrical equipment receives.
Preferably, the method, further includes:
After having sent all upgrade procedure, upgrade procedure is sent to electrical equipment and sends ending message, so that electricity consumption is setFor according to the upgrade procedure, program upgrading is completed.
It is understood that upgrade procedure sends the transmission of ending message, it is ensured that electrical equipment completely receives upgradingProgram guarantees the success rate of program upgrading, improves system reliability.
Preferably, it after confirmation electrical equipment needs program to upgrade, before sending upgrade procedure to electrical equipment, also wrapsIt includes:
The instruction of erasing program storage area is sent to electrical equipment, is deposited so that electrical equipment wipes program according to described instructionStorage area.
It is preferably, described to send upgrade procedure to the electrical equipment, comprising:
After the feedback information that the program storage area erasing for receiving electrical equipment feedback finishes, Xiang Suoshu electrical equipment hairSend upgrade procedure.
It is understood that first guaranteeing that electrical equipment program storage area is before sending upgrade procedure to electrical equipmentIt is emptied, it is ensured that upgrade procedure is updated successfully, and improves system reliability.
Fig. 3 is a kind of flow chart of programme upgrade method shown according to an exemplary embodiment, as shown in figure 3, the partyMethod includes:
Step S21, it establishes and communicates to connect with commissioning device;
Step S22, it when confirming that electrical equipment itself needs program to upgrade, by the communication connection, receives debugging and setsThe upgrade procedure that preparation is sent;
Step S23, according to the upgrade procedure, program upgrading is completed.
It should be noted that technical solution provided in this embodiment, suitable for electrical equipment.
Preferably, the electrical equipment includes but is not limited to: air-conditioning, new blower, air purifier, refrigerator, washing machine etc..
Preferably, described establish with commissioning device communicates to connect, comprising: wired connection and wireless connection.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
Preferably, described establish with commissioning device communicates to connect, comprising:
With all communication formats under the adaptive different communication protocol of commissioning device, until and commissioning device in preset durationIt is interior being capable of normal communication.
It is understood that the preset duration needs to be configured according to user, such as it is set as 5 seconds.
Preferably, the communication protocol includes at least one of following item:
RS485 communication protocol, CAN communication agreement and HBS communication protocol.
Preferably, the communication format includes at least one of following item:
The different positive polarity RS485 communication protocol of baud rate and negative polarity RS485 communication protocol;
The different positive polarity CAN communication agreement of baud rate and negative polarity CAN communication agreement;
The different HBS communication protocol of baud rate.
Include by communication protocol: for RS485 communication protocol, CAN communication agreement and HBS communication protocol, different communication associationAll communication formats under view are as shown in Figure 2.
Referring to fig. 2, RS485 communication protocol includes two kinds of baud rates of A, B and both positive and negative polarity, CAN communication agreement includeC, two kinds of baud rates of D and both positive and negative polarity, and HBS communication protocol is nonpolarity communication protocol, including two kinds of baud rates of E, F,It combines and shares the configuration of 10 kinds of communication formats.
Can be equal it is understood that described A, B, C, D, E, F are all greater than 0, between them, it can also be unequal.
Between commissioning device and electrical equipment, communication protocol, baud rate etc. are possible to different.If only a kind of communication latticeFormula carries out being possible to there are problems that communication connection can not be established when remotely updating program.
The communication mode of adaptive a variety of communication formats provided in this embodiment can pass through communication protocol, baud rate, polarityNormal data transmission is carried out etc. a kind of suitable communication path is automatically looked for out, the compatibility of communication is substantially increased, hasSolves communication issue existing for remotely updating program to effect.
Preferably, the confirmation electrical equipment itself needs program to upgrade, comprising:
Receive the program version information that commissioning device is sent;
The program version information received is compared with the program version information that electrical equipment itself stores;
If comparison information show the program version information received be it is newest, confirm that electrical equipment itself needs program literGrade sends program upgrade request to commissioning device.
It is understood that technical solution provided in this embodiment, only needs program to upgrade in confirmation electrical equipment itselfWhen, it receives commissioning device and sends upgrade procedure, the data transmission pressure of network can be mitigated, meanwhile, it also avoids unworthyData transmission improves system the case where preventing multi-thread concurrent from occupying system bandwidth, system is caused to can not work normallyReliability, user satisfaction is higher.
Preferably, the upgrade procedure for receiving commissioning device and sending, comprising:
It receives commissioning device and presses the upgrade procedure that frame is sent, until confirmation commissioning device has sent upgrade procedure;
Wherein, include the information of default measurement unit in each frame upgrade procedure, and be inserted with check code.
It is understood that the default metering unit root needs to be configured according to user, for example, being set as 5KB mono- meterMeasure unit.
It is understood that received in frames commissioning device sends upgrade procedure, it include default metering in each frame dataThe information of unit can be convenient electrical equipment investigation wrong data, prevent from receiving wrong data, be convenient for error correction.
Preferably, the method, further includes:
If having received a frame upgrade procedure, the upgrade procedure received is verified, if verifying successfully, is saved, it is noThen, then it abandons, Parallel debugging equipment sends retransmission request.
Preferably, the method, further includes:
If time-out does not receive upgrade procedure, retransmission request is sent to commissioning device.
It is understood that upgrade procedure is sent by frame segmentation, every segment data is all added accordingly when upgrade procedure is transmittedMark and check code, electrical equipment verify the every segment data received, and verification failure or time-out confiscate data, just send outRetransmission request out, this failure retransmission mechanism can effectively ensure that the accuracy for the upgrade procedure that electrical equipment receives.
Preferably, the confirmation commissioning device has sent upgrade procedure, comprising:
If the upgrade procedure for receiving commissioning device transmission sends ending message, confirm that commissioning device has sent upgrading journeySequence.
It is understood that upgrade procedure sends the reception of ending message, electrical equipment can be helped clear completelyUpgrade procedure is received, guarantees the success rate of program upgrading, improves system reliability.
Preferably, after confirmation electrical equipment itself needs program to upgrade, the upgrade procedure that commissioning device is sent is receivedBefore, further includes:
The instruction for the erasing program storage area that commissioning device is sent is received, and according to described instruction, wipes program storage area.
Preferably, the upgrade procedure for receiving commissioning device and sending, comprising:
After sending the feedback information that program storage area erasing finishes to commissioning device, the upgrading journey that commissioning device is sent is receivedSequence.
It is understood that first guaranteeing that program storage area is to be emptied before receiving the upgrade procedure that commissioning device is sent, it is ensured that upgrade procedure is updated successfully, and improves system reliability.
Fig. 4 is a kind of flow chart of the programme upgrade method shown according to another exemplary embodiment, as shown in figure 4, shouldMethod includes:
Step S31, all communication formats under commissioning device and the adaptive different communication protocol of electrical equipment, until withElectric equipment being capable of normal communication in preset duration;
If step S32, debug with electrical equipment can not all communication formats under self application different communication protocol, issue logicalBelieve that failure is reminded;
Step S33, commissioning device sends program version information to electrical equipment, so that electrical equipment judges whether to need journeySequence upgrading;
If step S34, receiving the program upgrade request of electrical equipment feedback, confirm that electrical equipment needs program literGrade;
Step S35, the instruction that erasing program storage area is sent to electrical equipment, so that electrical equipment is wiped according to described instructionExcept program storage area;
Step S36, after receiving the feedback information that finishes of program storage area erasing of electrical equipment feedback, by frame toElectric equipment sends upgrade procedure, until the upgrade procedure is completely transmitted;
Wherein, include the information of default measurement unit in each frame upgrade procedure, and be inserted with check code;
If after step S37, having sent a frame upgrade procedure, receiving electrical equipment because verification fails, or time-out does not receiveTo upgrade procedure and feed back retransmission request when, retransmit previous frame upgrade procedure;
Step S38, after having sent all upgrade procedure, upgrade procedure is sent to electrical equipment and sends ending message, withUsing electric equipment according to the upgrade procedure, program upgrading is completed.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
Fig. 5 is a kind of schematic block diagram of program upgrade apparatus 100 shown according to an exemplary embodiment, as shown in figure 5,The device 100 includes:
Communication module 101 is communicated to connect for establishing with electrical equipment;
Sending module 102, for passing through the communication connection, Xiang Suoshu when confirming that electrical equipment needs program to upgradeElectrical equipment sends upgrade procedure, so that the electrical equipment completes program upgrading according to the upgrade procedure.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
A kind of commissioning device shown according to an exemplary embodiment, the equipment include:
Processor;
Memory for storage processor executable instruction;
For establishing the communication module of communication connection with electrical equipment;
The processor is configured to:
When confirming that electrical equipment needs program to upgrade, by the communication connection, Xiang Suoshu electrical equipment sends upgradingProgram, so that the electrical equipment completes program upgrading according to the upgrade procedure.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
Fig. 6 is a kind of schematic block diagram of the program upgrade apparatus 200 shown according to another exemplary embodiment, such as Fig. 6 instituteShow, which includes:
Communication module 201 is communicated to connect for establishing with commissioning device;
Receiving module 202, for by the communication connection, connecing when confirming that electrical equipment itself needs program to upgradeReceive the upgrade procedure that commissioning device is sent;
Upgraded module 203, for completing program upgrading according to the upgrade procedure.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
A kind of electrical equipment shown according to an exemplary embodiment, the equipment include:
Processor;
Memory for storage processor executable instruction;
For establishing the communication module of communication connection with commissioning device;
The processor is configured to:
When confirming that electrical equipment itself needs program to upgrade, by the communication connection, receive what commissioning device was sentUpgrade procedure;
According to the upgrade procedure, program upgrading is completed.
Technical solution provided in this embodiment, commissioning device and electrical equipment, which are established, to be communicated to connect, in confirmation electrical equipmentWhen program being needed to upgrade, by the communication connection, commissioning device sends upgrade procedure to electrical equipment, and electrical equipment is according to instituteUpgrade procedure is stated, program upgrading is completed, the troublesome operation that disassembly electrical equipment mainboard is upgraded is avoided, reduces manpower throwingEnter, remote online upgrading may be implemented, upgrades high-efficient, customer satisfaction height.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodimentsUnspecified content may refer to the same or similar content in other embodiments.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, withoutIt can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includesIt is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portionPoint, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitableSequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the inventionEmbodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentionedIn embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storageOr firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardwareAny one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signalDiscrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), sceneProgrammable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carriesIt suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage mediumIn matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing moduleIt is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mouldBlock both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such asFruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computerIn read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically showThe description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or examplePoint is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are notCentainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be anyOne or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is exampleProperty, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentionedEmbodiment is changed, modifies, replacement and variant.