CN103512149A - Control device, program updating method and air conditioner - Google Patents

Control device, program updating method and air conditioner Download PDF

Info

Publication number
CN103512149A
CN103512149A CN201210216152.6A CN201210216152A CN103512149A CN 103512149 A CN103512149 A CN 103512149A CN 201210216152 A CN201210216152 A CN 201210216152A CN 103512149 A CN103512149 A CN 103512149A
Authority
CN
China
Prior art keywords
communication module
controller
control device
wireless communication
external equipment
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.)
Granted
Application number
CN201210216152.6A
Other languages
Chinese (zh)
Other versions
CN103512149B (en
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
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201210216152.6A priority Critical patent/CN103512149B/en
Publication of CN103512149A publication Critical patent/CN103512149A/en
Application granted granted Critical
Publication of CN103512149B publication Critical patent/CN103512149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a control device which comprises a first wireless communication module and a controller with an IAP function. The first wireless communication module and a second wireless communication module in external device are in wireless connection; the controller is connected with the first wireless communication module, and when the controller obtains a first update instruction and a program code sent by the external device through the first wireless communication module, an original program in flash space of the controller is erased and updated. When the control device conducts function adjustment and update, a casing of the air conditioner does not need to be disassembled, so that operations are simplified, potential safety hazards are reduced, meanwhile a professional device does not need to be used, and the operations are more convenient. The invention further discloses a program updating method and an air conditioner.

Description

A kind of control device, method for updating program and air-conditioning
Technical field
The invention belongs to electrical equipment control technical field, relate in particular to a kind of control device, method for updating program and air-conditioning.
Background technology
Along with the raising of people's family life level, increasing family is used the air-conditioning cooling of warming oneself and relieve summer heat.Before air-conditioning dispatches from the factory, producer has preset multiple-working mode, and user in use can select wherein a kind of mode of operation according to the needs of oneself.But because air-conditioning weather conditions of living in, the installation site of air-conditioning and user's use habit are different, therefore, user can produce some personalized demands.For example, user may be different to the requirement of the cooling or heating effect of air-conditioning, rotation speed of the fan or noise, now default mode of operation can not be met consumers' demand, and in order to meet consumers' demand, need to adjust or customize new function to the function of air-conditioning.
At present, can be by special equipment new program of programming in the controller of air-conditioning, to realize adjustment and the customization of air conditioning function, detailed process comprises: the shell of dismounting indoor apparatus of air conditioner or off-premises station, to expose the controller that is arranged on indoor set or off-premises station inside, by cable, special equipment is connected with the specific pin of controller, by means of special equipment, new program burn writing is entered to controller afterwards.
But, there is defect in the mode of at present air-conditioning being carried out to function adjustment or customizing functions: the shell that need to dismantle indoor set or off-premises station, cause on the one hand complicated operation, very easily form on the other hand potential safety hazard, for example, may there is Danger Electric shock risk in unloading process, especially dismantle the operation of casing of outdoor and will aloft carry out, and brings very big hidden danger to operator's personal safety; Need to, by means of special equipment, cause operation inconvenience.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of control device, method for updating program and air-conditioning, the shell without dismounting air-conditioning, also, without by means of professional equipment, just can carry out function adjustment and renewal to air-conditioning easily.
For achieving the above object, the invention provides following technical scheme:
, being applied to indoor set or the off-premises station of air-conditioning, described control device comprises the first wireless communication module and has the controller in application programming IAP function;
The second wireless communication module in described the first wireless communication module and external equipment carries out wireless connections;
Described controller is connected with described the first wireless communication module, described controller, when receiving get that described external equipment sends comprise first of program updates address information and upgrade instruction and program code by described the first wireless communication module, is wiped and upgrades the original program in its internal flash space controller.
Preferably, above-mentioned control device is wiped and is upgraded the original program in described controller, comprise: obtain described first and upgrade the program updates address information that instruction comprises, wipe the flash memory space corresponding with program updates address information, and when receiving the program code of described external equipment transmission by described the first wireless communication module, described program code is write to described flash memory space.
Preferably, above-mentioned control device is when the first renewal instruction that comprises program updates address information described in receiving, to described external equipment, send checking request, in the authorization information and the described authorization information that receive described external equipment transmission, pass through, after coupling, to wipe the flash memory space corresponding with described program updates address information.
Preferably, above-mentioned control device, after wiping the flash memory space corresponding with described program updates address information, sends to comprise to described external equipment and wipes the successfully instruction of sign.
Preferably, when above-mentioned control device is applied to indoor apparatus of air conditioner, and described air-conditioner outdoor unit is while only arranging the controller with IAP function, and the controller in described control device is connected with the controller in air-conditioner outdoor unit by indoor and outdoor communication module;
Described control device transfers to the controller of described air-conditioner outdoor unit by the second renewal instruction that comprises program updates address information receiving from described external equipment by described indoor and outdoor communication module, afterwards the program code receiving from described external equipment is transferred to the controller of described air-conditioner outdoor unit by described indoor and outdoor communication module.
Preferably, when above-mentioned control device is applied to air-conditioner outdoor unit, and described indoor apparatus of air conditioner is while only arranging the controller with IAP function, and the controller in described control device is connected with the controller in indoor apparatus of air conditioner by indoor and outdoor communication module;
Described control device transfers to the controller of described indoor apparatus of air conditioner by the second renewal instruction that comprises program updates address information receiving from described external equipment by described indoor and outdoor communication module, afterwards the program code receiving from described external equipment is transferred to the controller of described indoor apparatus of air conditioner by described indoor and outdoor communication module.
Preferably, in above-mentioned control device, described the first wireless communication module is that infrared transmission module, described the second wireless communication module are infrared receiving module; Or described the first wireless communication module and the second wireless communication module are bluetooth module; Or described the first wireless communication module and the second wireless communication module are wifi wireless broadband module; Or described the first wireless communication module and the second wireless communication module are zigbee zifeng modular.
Preferably, in above-mentioned control device, described indoor and outdoor communication module is zero live wire communication module, 485 serial communication modules or CAN bus.
, being applied to the controller of above-mentioned control device, described method comprises:
By the first wireless communication module in described control device, obtain the data that external equipment sends;
When the packet getting upgrades instruction containing first, obtain the described first program updates address information of upgrading in instruction;
Wipe the flash memory space corresponding with described program updates address information;
By described the first wireless communication module, obtain the program code being sent by described external equipment;
Described program code is write to described flash memory space.
Preferably, in said procedure update method, after obtaining the described first program updates address information of upgrading in instruction, also comprise the step that sends checking request to described external equipment;
Accordingly, after receiving the authorization information of described external equipment transmission, described authorization information is mated, after described authorization information is by coupling, carry out the step of wiping the flash memory space corresponding with described program updates address information.
Preferably, in said procedure update method, after wiping the flash memory space corresponding with described program updates address information, also comprise sending to comprise to described external equipment and wipe the successfully instruction of sign.
Preferably, in said procedure update method, after the first wireless communication module by described control device obtains the data of external equipment transmission, if the packet getting upgrades instruction containing second, obtain the second renewal instruction, and by described second, upgrade instruction and by indoor and outdoor communication module, transfer to that in air-conditioning, another has the controller of IAP function, afterwards the program code getting by described the first wireless communication module is transferred to described another and there is the controller of IAP function.
, comprise indoor set and off-premises station, in described indoor set and described off-premises station, be provided with control device as above.
As can be seen here, beneficial effect of the present invention is: the control device being applied in indoor apparatus of air conditioner or off-premises station disclosed by the invention, can utilize the first wireless communication module of self to receive the first renewal instruction that user sends by external equipment, and wipe accordingly corresponding flash memory space, automatically program code user being sent by external equipment afterwards writes this flash memory space, completes adjustment and the renewal of air conditioning function.Compared with prior art, when control device disclosed by the invention carries out function adjustment and upgrades, without the shell of dismounting air-conditioning, thereby simplify operation, also reduced potential safety hazard, simultaneously also without using professional equipment, more convenient to operate.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the connection diagram of the disclosed control device of the embodiment of the present invention one and external equipment;
Fig. 2 is the connection diagram of control device, external equipment and air-conditioner outdoor unit in the disclosed indoor apparatus of air conditioner of the embodiment of the present invention two;
Fig. 3 is the connection diagram of control device, external equipment and indoor apparatus of air conditioner in the disclosed air-conditioner outdoor unit of the embodiment of the present invention three;
Fig. 4 is the flow chart of the embodiment of the present invention four disclosed method for updating program;
Fig. 5 is the flow chart of the embodiment of the present invention five disclosed method for updating program.
The specific embodiment
For the sake of clarity, the term hereinafter occurring is described:
Flash: flash memory is the abbreviation of Flash EEPROM Memory;
IAP:In Application Programming, at application programming;
Wifi: wireless broadband module;
Zigbee: purple honeybee, the wireless technology of a kind of short distance, low-power consumption;
CAN:ControllerArea Network, controller local area network.
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
A kind of control device, be applied to indoor set or the off-premises station of air-conditioning, based on this control device, when indoor apparatus of air conditioner or off-premises station being carried out to function adjustment and upgrading, shell without dismounting air-conditioning, also without by means of professional equipment, simplified operation in function adjustment and renewal process, reduced potential safety hazard.
Embodiment mono-
Referring to Fig. 1, Fig. 1 is the connection diagram of the disclosed control device of the embodiment of the present invention one and external equipment.This control device can be applied to indoor set or the off-premises station 1 of air-conditioning, and this control device comprises the first wireless communication module 11 and controller 12.Wherein:
The first wireless communication module 11 is connected with the second wireless communication module 21 and controller 12 in external equipment 2 respectively.External equipment 2 can send to space outerpace the first renewal instruction that comprises program updates address information under user's control, to space outerpace, send program code afterwards, this program code can be that external equipment obtains from other electronic equipments, also can be by user's directly input on this external equipment.In enforcement, external equipment 2 can be remote controller, mobile phone or the computer with wireless communication function.The first wireless communication module 11, after the first renewal instruction and program code that receive external equipment 2 transmissions, transfers to controller 12 by this first renewal instruction and program code.
Controller 12 has IAP function, is solidified with flash programming control program in controller 12, after receiving the first renewal instruction and program code, wipes and upgrade the original program in its internal flash space.Concrete, controller 12 pin that Real-Time Monitoring is connected with the first wireless communication module 11 in running, when controller 12 receives the first renewal instruction of external equipment 2 transmissions from the first wireless communication module 11, this flash programming control program driving governor 12 is wiped the flash memory space corresponding with the first renewal instruction Program scheduler information, afterwards, when receiving the program code of external equipment 2 transmissions, this flash programming control program driving governor 12 writes aforementioned flash memory space of having wiped by the program code receiving, complete program updates process, thereby realize adjustment or the renewal of air conditioning function.
It is example that the external equipment of take adopts remote controller, and the course of work of control device shown in Fig. 1 is elaborated.
When user carries out function adjustment or upgrades indoor apparatus of air conditioner or off-premises station, first press button default in remote controller or default key combination, control remote controller sends corresponding the first renewal instruction by the infrared launcher of himself to space outerpace, and this first renewal instruction comprises program updates address information.Being arranged on the first wireless communication module in the control device in indoor set or off-premises station receives this from space outerpace and first upgrades instruction, transmit it to the controller in control device, flash memory space corresponding to controller program updates address information it is inner and in this first renewal instruction wiped.Remote controller upgrades after instruction in transmission first, time delay Preset Time (this Preset Time is greater than controller and carries out erase operation required time), and the infrared launcher by himself sends program code to space outerpace afterwards.Be arranged on the first wireless communication module in the control device in indoor set or off-premises station from space outerpace receives this program code, transmit it to the controller in control device, controller writes this program code the flash memory space of having wiped, complete program updates, thereby complete adjustment or the renewal of air conditioning function.
The above-mentioned disclosed control device being applied in indoor apparatus of air conditioner or off-premises station of the present invention, can utilize the first wireless communication module of self to receive the first renewal instruction that user sends by external equipment, and wipe accordingly corresponding flash memory space, automatically program code user being sent by external equipment afterwards writes this flash memory space, completes adjustment and the renewal of air conditioning function.Compared with prior art, when control device disclosed by the invention carries out function adjustment and upgrades, without the shell of dismounting air-conditioning, thereby simplify operation, also reduced potential safety hazard, simultaneously also without using professional equipment, more convenient to operate.
In the disclosed control device of embodiment mono-, the first wireless communication module 11 and the second wireless communication module 21 can be set to bluetooth module, wifi module or zigbee module simultaneously, or the first wireless communication module 11 is that infrared receiving module, the second wireless communication module 21 are infrared transmission module.In addition, the first wireless communication module 11 and the second wireless communication module 21 can also adopt radio-frequency technique to realize.
Preferably, can set up authentication function for above-mentioned control device, to guarantee that the user who has operating right just can carry out function adjustment and renewal.Concrete, controller 12 is after receiving the first renewal instruction that comprises program updates address information, to external equipment 2, send checking request, afterwards after receiving the authorization information that user sends by external equipment 2, the authorization information receiving is mated with the authorization information prestoring, if by coupling, controller 12 is carried out follow-up operation of wiping the flash memory space corresponding with program updates address information, otherwise, no longer carry out subsequent operation, or the prompting sending without operating right to external equipment 2.
It should be noted that, when control device arranges authentication function, the second wireless communication module 21 in the first wireless communication module 11 in control device and external equipment 2 is for having the wireless communication module of data transmit-receive function.For example: the first wireless communication module 11 and the second wireless communication module 21 can be bluetooth module, wifi module, zigbee module or infrared transceiver module.
In above-mentioned disclosed control device, external equipment 2 is after sending the first renewal instruction, need to space outerpace, to send program code again after time delay Preset Time, this Preset Time is greater than controller 12 and carries out the needed time of erase operation, this causes sending program code and having certain time interval from the successful erasing flash memory of controller 12 space to external equipment 2, extended air-conditioning is carried out function adjustment or upgraded the spent time, in addition, when the unsuccessful erasing flash memory of controller 12 space, user can not be known this situation in time, cannot adopt remedial measures in time.
In order to address the above problem, controller 12, after wiping the flash memory space corresponding with program updates address information, sends to comprise to external equipment 2 by the first wireless communication module 11 and wipes the successfully instruction of sign.External equipment 2, after receiving this instruction, sends program code to space outerpace immediately.
Embodiment bis-
When the disclosed control device of the indoor set employing embodiment mono-of air-conditioning, and off-premises station is while only adopting the controller with IAP function, can carry out architecture advances to the control device in indoor set, not dismantle the shell of air-conditioner outdoor unit and do not realizing function adjustment and the renewal of air-conditioner outdoor unit under the prerequisite by professional equipment.
Referring to Fig. 2, Fig. 2 is the connection diagram of control device, external equipment and air-conditioner outdoor unit in the disclosed indoor apparatus of air conditioner of the embodiment of the present invention two.
Control device 10 is installed in indoor apparatus of air conditioner 1, and this control device 10 comprises the first wireless communication module 13 and controller 14, and this controller 14 has IAP function.Controller 31 is installed in air-conditioner outdoor unit 3, and this controller 31 has IAP function.In external equipment 2, be provided with the second wireless communication module 21.The first wireless communication module 13 and the second wireless communication module 21 wireless connections, the first wireless communication module 13 is connected with controller 14 simultaneously, and controller 14 is connected with controller 31 by indoor and outdoor communication module 4 simultaneously.
Control device 10 transfers to the controller 31 of air-conditioner outdoor unit 3 by the second renewal instruction that comprises program updates address information receiving from external equipment 2 by indoor and outdoor communication module 4, afterwards the program code receiving from external equipment 2 is transferred to the controller 31 of air-conditioner outdoor unit 3 by indoor and outdoor communication module 4.
Controller 31 receives after the second renewal instruction, flash memory space corresponding to program updates address information it is inner and in this second renewal instruction wiped, when receiving program code, this program code is write to the flash memory space of having wiped, complete the program updates of air-conditioner outdoor unit, thereby complete adjustment or the renewal of air-conditioner outdoor unit function.
The computer that the external equipment of take below employing has wireless communication function is example, and the process of air-conditioner outdoor unit being carried out to function adjustment and renewal by indoor apparatus of air conditioner is described.
When user carries out function adjustment or upgrades off-premises station, first press button or key combination in computer, or click the specific identifier in Computer display interface, control computer sends corresponding the second renewal instruction by the second wireless communication module of himself to space outerpace, and this second renewal instruction comprises program updates address information.The first wireless communication module in the control device of indoor apparatus of air conditioner is from space outerpace receives this second renewal instruction, transmit it to the controller in this control device, the controller in indoor apparatus of air conditioner transfers to the controller in air-conditioner outdoor unit by the second renewal instruction receiving by indoor and outdoor communication module afterwards.Controller in air-conditioner outdoor unit, after receiving the second renewal instruction, is wiped flash memory space corresponding to its inner scheduler information comprising with the second renewal instruction.Computer upgrades after instruction in transmission second, time delay Preset Time (this Preset Time is greater than air-conditioner outdoor unit middle controller and carries out erase operation required time), and the second wireless communication module by himself sends program code to space outerpace afterwards.The first wireless communication module in the control device of indoor apparatus of air conditioner is from space outerpace receives this program code, transmit it to the controller in this control device, the controller in indoor apparatus of air conditioner transfers to the controller in air-conditioner outdoor unit by the program code receiving by indoor and outdoor communication module afterwards.Controller in air-conditioner outdoor unit, after receiving program code, writes this program code the flash memory space of self having wiped, and completes program updates, thereby completes function adjustment or the renewal of air-conditioner outdoor unit.
In enforcement, controller 31 in air-conditioner outdoor unit 3 is after wiping corresponding flash memory space, generation comprises wipes the successfully instruction of sign, and this instruction is transferred to the controller 14 in indoor apparatus of air conditioner 1 by indoor and outdoor communication module 4, controller 14 transfers to this instruction the second wireless communication module 21 of external equipment 2 by the first wireless communication module 13 afterwards.Wipe after the instruction successfully identifying the comprising of controller 31 transmissions that external equipment 2 receives in air-conditioner outdoor unit 3, to space outerpace, sends program code.
Embodiment tri-
When the disclosed control device of the off-premises station employing embodiment mono-of air-conditioning, and indoor set is while only adopting the controller with IAP function, can carry out architecture advances to the control device in off-premises station, not dismantle the shell of indoor apparatus of air conditioner and do not realizing function adjustment and the renewal of indoor apparatus of air conditioner under the prerequisite by professional equipment.
Referring to Fig. 3, Fig. 3 is the connection diagram of control device, external equipment and indoor apparatus of air conditioner in the disclosed air-conditioner outdoor unit of the embodiment of the present invention three.
Control device 30 is installed in air-conditioner outdoor unit 3, and this control device 30 comprises the first wireless communication module 32 and controller 33, and this controller 33 has IAP function.Controller 15 is installed in indoor apparatus of air conditioner 1, and this controller 15 has IAP function.In external equipment 2, be provided with the second wireless communication module 21.The first wireless communication module 32 in control device 30 and the second wireless communication module 21 wireless connections, the first wireless communication module 32 is connected with controller 33 simultaneously, and the controller 33 in control device 30 is connected with controller 15 by indoor and outdoor communication module 4.Control device 30 in air-conditioner outdoor unit 3 upgrades instruction by second of the program updates address information that comprises receiving from external equipment 2, by indoor and outdoor communication module 4, transfer to the controller 15 of indoor apparatus of air conditioner 1, afterwards the program code receiving from external equipment 2 is transferred to the controller 15 of indoor apparatus of air conditioner 1 by indoor and outdoor communication module 4.
Controller 15 in indoor apparatus of air conditioner 1 receives after the second renewal instruction, flash memory space corresponding to program updates address information it is inner and in this second renewal instruction wiped, when receiving program code, this program code is write to the flash memory space of having wiped, complete the program updates of indoor apparatus of air conditioner, thereby complete adjustment or the renewal of indoor apparatus of air conditioner function.
It is example that the external equipment of take below adopts mobile phone, and the process of indoor apparatus of air conditioner being carried out to function adjustment and renewal by air-conditioner outdoor unit is described.
When user carries out function adjustment or upgrades indoor set, first press button or key combination in mobile phone, or press virtual key or virtual key combination in mobile phone, control mobile phone sends corresponding the second renewal instruction by the second wireless communication module of himself to space outerpace, and this second renewal instruction comprises program updates address information.The first wireless communication module in the control device of air-conditioner outdoor unit is from space outerpace receives this second renewal instruction, transmit it to the controller in this control device, the controller in air-conditioner outdoor unit transfers to the controller in indoor apparatus of air conditioner by the second renewal instruction receiving by indoor and outdoor communication module afterwards.Controller in indoor apparatus of air conditioner, after receiving the second renewal instruction, is wiped flash memory space corresponding to its inner scheduler information comprising with the second renewal instruction.Mobile phone sends second and upgrades after instruction, time delay Preset Time (this Preset Time is greater than indoor apparatus of air conditioner middle controller and carries out erase operation required time), and the second wireless communication module by himself sends program code to space outerpace afterwards.The first wireless communication module in the control device of air-conditioner outdoor unit is from space outerpace receives this program code, transmit it to the controller in this control device, the controller in air-conditioner outdoor unit transfers to the controller in indoor apparatus of air conditioner by the program code receiving by indoor and outdoor communication module afterwards.Controller in indoor apparatus of air conditioner, after receiving program code, writes this program code the flash memory space of self having wiped, and completes program updates, thereby completes function adjustment or the renewal of indoor apparatus of air conditioner.
In enforcement, controller 15 in indoor apparatus of air conditioner 1 is after wiping corresponding flash memory space, generation comprises wipes the successfully instruction of sign, and this instruction is transferred to the controller 33 in air-conditioner outdoor unit 3 by indoor and outdoor communication module 4, controller 33 transfers to this instruction the second wireless communication module 21 of external equipment 2 by the first wireless communication module 32 afterwards.Wipe after the instruction successfully identifying the comprising of controller 15 transmissions that external equipment 2 receives in indoor apparatus of air conditioner 1, to space outerpace, sends program code.
In embodiment bis-and the disclosed control device of embodiment tri-, indoor and outdoor communication module 4 can be zero live wire communication module, 485 serial communication modules or CAN bus.
The above-mentioned control device being applied in indoor apparatus of air conditioner or off-premises station that discloses of the present invention, corresponding, the invention also discloses the method for updating program that is applied to this control device middle controller.Below in conjunction with embodiment tetra-and embodiment five, describe.
Embodiment tetra-
Referring to Fig. 4, Fig. 4 is the flow chart of the embodiment of the present invention four disclosed method for updating program.Comprise:
Step S41: obtain the data that external equipment sends by the first wireless communication module in control device.
Step S42: when the packet getting upgrades instruction containing first, obtain the program updates address information in the first renewal instruction.
Step S43: wipe the flash memory space corresponding with this program updates address information.
Step S44: obtain the program code being sent by external equipment by the first wireless communication module.
Step S45: program code is write to flash memory space.
Preferably, the step that sends checking request to external equipment can be further set after step S42.Accordingly, controller, after receiving the authorization information of external equipment transmission, mates the authorization information receiving and the authorization information prestoring, after this authorization information is by coupling, execution step S43, when this authorization information is not passed through coupling, shut down procedure upgrades.This can guarantee that the user who only has operating right just can carry out function adjustment and renewal to air-conditioning.
In addition, after the data that external equipment comprises the first renewal instruction in transmission, need to space outerpace, to send program code again after time delay Preset Time, this Preset Time is greater than controller and carries out the needed time of erase operation, this causes sending program code and having certain time interval to external equipment from controller success erasing flash memory space, extended air-conditioning is carried out function adjustment or upgraded the spent time, in addition, when the unsuccessful erasing flash memory of controller space, user can not be known this situation in time, cannot adopt remedial measures in time.In order to address the above problem, controller, after execution step S43, can further arrange to send to comprise to external equipment and wipe the successfully step of the instruction of sign.Now, external equipment, after receiving this instruction, sends program code to space outerpace immediately.
Embodiment five
When the disclosed control device of the indoor set employing embodiment mono-of air-conditioning, and off-premises station is while only adopting the controller with IAP function, in order to realize not dismantling the shell of air-conditioner outdoor unit and not realizing function adjustment and the renewal of air-conditioner outdoor unit under the prerequisite by professional equipment, can utilize indoor and outdoor communication module to connect the controller of control device and the controller of off-premises station in indoor set.Same, when the disclosed control device of the off-premises station employing embodiment mono-of air-conditioning, and indoor set is while only adopting the controller with IAP function, in order to realize not dismantling the shell of indoor apparatus of air conditioner and not realizing function adjustment and the renewal of indoor apparatus of air conditioner under the prerequisite by professional equipment, can utilize indoor and outdoor communication module to connect the controller of control device and the controller of indoor set in off-premises station.Now, the method for updating program that is applied to control device middle controller as shown in Figure 5.
Referring to Fig. 5, Fig. 5 is the flow chart of the embodiment of the present invention five disclosed method for updating program.Comprise:
Step S51: by the first wireless communication module in control device, obtain the data that external equipment sends, when the packet getting upgrades instruction containing first, execution step S52, when the packet getting upgrades instruction containing second, execution step S56.
Step S52: obtain the program updates address information in the first renewal instruction.
Step S53: wipe the flash memory space corresponding with this program updates address information.
Step S54: obtain the program code being sent by external equipment by the first wireless communication module.
Step S55: program code is write to flash memory space.
Step S56: obtain the second renewal instruction, and transfer to by indoor and outdoor communication module that in air-conditioning, another has the controller of IAP function.
Step S57: by the program code getting by the first wireless communication module transfer to this another there is the controller of IAP function.
Another controller with IAP function, after receiving the second renewal instruction, obtains the scheduler information that the second renewal instruction comprises, and flash memory space corresponding to its inner scheduler information comprising with the second renewal instruction wiped.Afterwards, this another there is IAP function controller after receiving program code, the program code receiving is write to the flash memory space of having wiped, can complete program updates.
The above-mentioned control device being applied in indoor apparatus of air conditioner or off-premises station that discloses of the present invention, the invention also discloses a kind of air-conditioning accordingly.This air-conditioning comprises indoor set and off-premises station, and wherein, indoor apparatus of air conditioner arranges the embodiment of the present invention one or the disclosed control device of embodiment bis-, and air-conditioner outdoor unit arranges the embodiment of the present invention one or the disclosed control device of embodiment tri-.
In air-conditioning disclosed by the invention, by the control device in its indoor set and/or off-premises station, improve, do not dismantling air conditioner housing, not under the prerequisite by special equipment, realizing adjustment or renewal to indoor set and/or off-premises station function.
In this description, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (13)

1. a control device, is applied to indoor set or the off-premises station of air-conditioning, it is characterized in that, described control device comprises the first wireless communication module and has the controller in application programming (IAP) function;
The second wireless communication module in described the first wireless communication module and external equipment carries out wireless connections;
Described controller is connected with described the first wireless communication module, described controller by described the first wireless communication module, get that described external equipment sends first while upgrading instruction and program code, wipe and upgrade the original program in its internal flash space.
2. control device according to claim 1, it is characterized in that, describedly wipe and upgrade the original program in described controller, comprise: obtain described first and upgrade the program updates address information that instruction comprises, wipe the flash memory space corresponding with program updates address information, when receiving the program code of described external equipment transmission by described the first wireless communication module, described program code is write to described flash memory space.
3. control device according to claim 2, it is characterized in that, described controller is when the first renewal instruction that comprises program updates address information described in receiving, to described external equipment, send checking request, in the authorization information and the described authorization information that receive described external equipment transmission, pass through, after coupling, to wipe the flash memory space corresponding with described program updates address information.
4. according to the control device described in claim 2 or 3, it is characterized in that, described controller, after wiping the flash memory space corresponding with described program updates address information, sends to comprise to described external equipment and wipes the successfully instruction of sign.
5. control device according to claim 1, it is characterized in that, when described control device is applied to indoor apparatus of air conditioner, and when described air-conditioner outdoor unit only arranges the controller with IAP function, the controller in described control device is connected with the controller in air-conditioner outdoor unit by indoor and outdoor communication module;
Described control device transfers to the controller of described air-conditioner outdoor unit by the second renewal instruction that comprises program updates address information receiving from described external equipment by described indoor and outdoor communication module, afterwards the program code receiving from described external equipment is transferred to the controller of described air-conditioner outdoor unit by described indoor and outdoor communication module.
6. control device according to claim 1, it is characterized in that, when described control device is applied to air-conditioner outdoor unit, and when described indoor apparatus of air conditioner only arranges the controller with IAP function, the controller in described control device is connected with the controller in indoor apparatus of air conditioner by indoor and outdoor communication module;
Described control device transfers to the controller of described indoor apparatus of air conditioner by the second renewal instruction that comprises program updates address information receiving from described external equipment by described indoor and outdoor communication module, afterwards the program code receiving from described external equipment is transferred to the controller of described indoor apparatus of air conditioner by described indoor and outdoor communication module.
7. control device according to claim 1, is characterized in that:
Described the first wireless communication module is that infrared transmission module, described the second wireless communication module are infrared receiving module; Or described the first wireless communication module and the second wireless communication module are bluetooth module; Or described the first wireless communication module and the second wireless communication module are WiMAX (wifi) module; Or described the first wireless communication module and the second wireless communication module are purple honeybee (zigbee) module.
8. according to the control device described in claim 5 or 6, it is characterized in that, described indoor and outdoor communication module is zero live wire communication module, 485 serial communication modules or controller local area network (CAN) bus.
9. a method for updating program, is applied to the controller of control device as claimed in claim 1, it is characterized in that, described method comprises:
By the first wireless communication module in described control device, obtain the data that external equipment sends;
When the packet getting upgrades instruction containing first, obtain the described first program updates address information of upgrading in instruction;
Wipe the flash memory space corresponding with described program updates address information;
By described the first wireless communication module, obtain the program code being sent by described external equipment;
Described program code is write to described flash memory space.
10. method for updating program according to claim 9, is characterized in that, after obtaining the described first program updates address information of upgrading in instruction, also comprises the step that sends checking request to described external equipment;
Accordingly, after receiving the authorization information of described external equipment transmission, described authorization information is mated, after described authorization information is by coupling, carry out the step of wiping the flash memory space corresponding with described program updates address information.
11. according to the method for updating program described in claim 9 or 10, it is characterized in that, after wiping the flash memory space corresponding with described program updates address information, also comprises sending to comprise to described external equipment and wipes the successfully instruction of sign.
12. method for updating program according to claim 9, it is characterized in that, after the first wireless communication module by described control device obtains the data of external equipment transmission, if the packet getting upgrades instruction containing second, obtain the second renewal instruction, and by described second, upgrade instruction and by indoor and outdoor communication module, transfer to that in air-conditioning, another has the controller in application programming (IAP) function, afterwards the program code getting by described the first wireless communication module is transferred to described another and there is the controller of IAP function.
13. 1 kinds of air-conditionings, comprise indoor set and off-premises station, it is characterized in that, the control device as described in claim 1,2,3,4 or 5 is set in described indoor set, and the control device as described in claim 1,2,3,4 or 6 is set in described off-premises station.
CN201210216152.6A 2012-06-27 2012-06-27 A kind of control device, method for updating program and air-conditioning Active CN103512149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210216152.6A CN103512149B (en) 2012-06-27 2012-06-27 A kind of control device, method for updating program and air-conditioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210216152.6A CN103512149B (en) 2012-06-27 2012-06-27 A kind of control device, method for updating program and air-conditioning

Publications (2)

Publication Number Publication Date
CN103512149A true CN103512149A (en) 2014-01-15
CN103512149B CN103512149B (en) 2016-04-06

Family

ID=49895286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210216152.6A Active CN103512149B (en) 2012-06-27 2012-06-27 A kind of control device, method for updating program and air-conditioning

Country Status (1)

Country Link
CN (1) CN103512149B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035793A (en) * 2014-05-22 2014-09-10 浙江大学 In-application wireless programming method based on single-chip microcomputer
CN104807127A (en) * 2014-01-23 2015-07-29 珠海格力电器股份有限公司 Offline update device and method for air conditioner controller program
CN104898463A (en) * 2014-03-05 2015-09-09 珠海格力电器股份有限公司 Multi-component program processing method and system for air-conditioning system
CN104965745A (en) * 2015-07-10 2015-10-07 四川长虹电器股份有限公司 Air conditioner system program updating device and method
CN105318502A (en) * 2015-11-02 2016-02-10 珠海格力电器股份有限公司 Program updating system, method and device of air conditioner unit controller
CN105318497A (en) * 2015-09-24 2016-02-10 珠海格力电器股份有限公司 Upgrading method and device for air conditioning unit operation parameters
CN105352135A (en) * 2015-12-03 2016-02-24 无锡拓能自动化科技有限公司 Intelligent control method of air conditioner of workshop
CN105352134A (en) * 2015-12-03 2016-02-24 无锡拓能自动化科技有限公司 Control system for air conditioner of workshop
CN105352136A (en) * 2015-12-03 2016-02-24 无锡拓能自动化科技有限公司 Intelligent workshop air conditioning system
CN105373394A (en) * 2014-08-26 2016-03-02 广东美的生活电器制造有限公司 Electric appliance menu updating system
CN105759778A (en) * 2014-12-16 2016-07-13 青岛经济技术开发区海尔热水器有限公司 Heat-pump water heater control and debugging system and debugging method thereof
CN106500239A (en) * 2016-09-22 2017-03-15 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data
CN107062524A (en) * 2017-02-27 2017-08-18 青岛海信日立空调系统有限公司 A kind of indoor apparatus of air conditioner addressing method and air-conditioner controller, indoor apparatus of air conditioner
CN108270596A (en) * 2016-12-30 2018-07-10 芯讯通无线科技(上海)有限公司 The upgrade method of embedded wireless communication module
CN108592313A (en) * 2018-04-13 2018-09-28 珠海格力电器股份有限公司 Wireless networking method, air-conditioning internal machine and the outdoor machine of air-conditioner of air-conditioning
CN109028750A (en) * 2018-08-14 2018-12-18 四川虹美智能科技有限公司 A kind of refrigerator software parameter configuration method and system
CN111765602A (en) * 2020-05-15 2020-10-13 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof
CN113132528A (en) * 2021-04-21 2021-07-16 宁波奥克斯电气股份有限公司 Air conditioner parameter processing method and device, mobile terminal and storage medium
CN113932381A (en) * 2020-07-13 2022-01-14 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101979929A (en) * 2010-09-02 2011-02-23 南京南自信息技术有限公司 Self-learning intelligent air-conditioning remote terminal
CN102331070A (en) * 2011-07-31 2012-01-25 华南理工大学 Infrared control system at tail end of central air conditioner and infrared control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101979929A (en) * 2010-09-02 2011-02-23 南京南自信息技术有限公司 Self-learning intelligent air-conditioning remote terminal
CN102331070A (en) * 2011-07-31 2012-01-25 华南理工大学 Infrared control system at tail end of central air conditioner and infrared control method thereof

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104807127A (en) * 2014-01-23 2015-07-29 珠海格力电器股份有限公司 Offline update device and method for air conditioner controller program
CN104898463A (en) * 2014-03-05 2015-09-09 珠海格力电器股份有限公司 Multi-component program processing method and system for air-conditioning system
CN104898463B (en) * 2014-03-05 2018-07-06 珠海格力电器股份有限公司 The multi-part program processing method and system of air-conditioning system
CN104035793A (en) * 2014-05-22 2014-09-10 浙江大学 In-application wireless programming method based on single-chip microcomputer
CN105373394A (en) * 2014-08-26 2016-03-02 广东美的生活电器制造有限公司 Electric appliance menu updating system
CN105759778A (en) * 2014-12-16 2016-07-13 青岛经济技术开发区海尔热水器有限公司 Heat-pump water heater control and debugging system and debugging method thereof
CN104965745A (en) * 2015-07-10 2015-10-07 四川长虹电器股份有限公司 Air conditioner system program updating device and method
CN104965745B (en) * 2015-07-10 2018-10-19 四川长虹电器股份有限公司 Air-conditioner system program renewing device and method
CN105318497A (en) * 2015-09-24 2016-02-10 珠海格力电器股份有限公司 Upgrading method and device for air conditioning unit operation parameters
CN105318502A (en) * 2015-11-02 2016-02-10 珠海格力电器股份有限公司 Program updating system, method and device of air conditioner unit controller
CN105352134A (en) * 2015-12-03 2016-02-24 无锡拓能自动化科技有限公司 Control system for air conditioner of workshop
CN105352136A (en) * 2015-12-03 2016-02-24 无锡拓能自动化科技有限公司 Intelligent workshop air conditioning system
CN105352135A (en) * 2015-12-03 2016-02-24 无锡拓能自动化科技有限公司 Intelligent control method of air conditioner of workshop
CN106500239B (en) * 2016-09-22 2019-03-29 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data
CN106500239A (en) * 2016-09-22 2017-03-15 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data
CN108270596A (en) * 2016-12-30 2018-07-10 芯讯通无线科技(上海)有限公司 The upgrade method of embedded wireless communication module
CN107062524A (en) * 2017-02-27 2017-08-18 青岛海信日立空调系统有限公司 A kind of indoor apparatus of air conditioner addressing method and air-conditioner controller, indoor apparatus of air conditioner
CN108592313A (en) * 2018-04-13 2018-09-28 珠海格力电器股份有限公司 Wireless networking method, air-conditioning internal machine and the outdoor machine of air-conditioner of air-conditioning
CN108592313B (en) * 2018-04-13 2020-09-25 珠海格力电器股份有限公司 Wireless networking method of air conditioner, air conditioner internal unit and air conditioner external unit
CN109028750A (en) * 2018-08-14 2018-12-18 四川虹美智能科技有限公司 A kind of refrigerator software parameter configuration method and system
CN111765602A (en) * 2020-05-15 2020-10-13 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof
CN111765602B (en) * 2020-05-15 2022-05-20 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof
CN113932381A (en) * 2020-07-13 2022-01-14 海信(山东)空调有限公司 Air conditioner and remote upgrading method thereof
CN113932381B (en) * 2020-07-13 2023-11-17 海信空调有限公司 Air conditioner and remote upgrading method thereof
CN113132528A (en) * 2021-04-21 2021-07-16 宁波奥克斯电气股份有限公司 Air conditioner parameter processing method and device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN103512149B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN103512149A (en) Control device, program updating method and air conditioner
CN103438551B (en) Central air conditioning system and control software design upgrade method thereof
US9602301B2 (en) System and method for commissioning wireless building system devices
CN205505318U (en) Mobile terminal APP and central air conditioning joint control system
EP2988185B1 (en) Smart home system and control method
CN107168085B (en) Intelligent household equipment remote control method, device, medium and computing equipment
EP2835593B1 (en) Operating terminal for air conditioner
JP6218839B2 (en) Electric equipment, air conditioner, external controller, portable terminal and air conditioning system
US10878391B2 (en) Systems and methods for functionally customizable user interfaces
CN103970553B (en) A kind of control method of household appliances function upgrading
US20150362926A1 (en) Information exchange using near field communications in hvac system
US20060106912A1 (en) Outdoor-unit software upgrade system and method
CN102829527A (en) Cloud air conditioning self-adaptive defrosting system
CN202813648U (en) Control device and air conditioner
CN107062524A (en) A kind of indoor apparatus of air conditioner addressing method and air-conditioner controller, indoor apparatus of air conditioner
CN106304059A (en) ZigBee-network subnetting management method and system
US20180077741A1 (en) Wirelessly-networkable device and method of configuring such a device
CN105230039A (en) Indoor equipment, tele-control system and program
CN103954014A (en) Control method and control system of air conditioner as well as related equipment
EP2053318B1 (en) Air conditioning system
CN105258298A (en) Method, device and system for controlling air conditioner
JP6186520B2 (en) Intelligent hardware device installation method, apparatus, program, and recording medium
KR102136160B1 (en) Central control apparatus, facility control system and user interface for for controlling facilities
KR101459929B1 (en) Setting data sharing method for vehicle control
JP7430053B2 (en) Control system, information processing method, information processing device, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant