CN103995191A - Method and device for identifying model of air conditioner - Google Patents

Method and device for identifying model of air conditioner Download PDF

Info

Publication number
CN103995191A
CN103995191A CN201410158506.5A CN201410158506A CN103995191A CN 103995191 A CN103995191 A CN 103995191A CN 201410158506 A CN201410158506 A CN 201410158506A CN 103995191 A CN103995191 A CN 103995191A
Authority
CN
China
Prior art keywords
model information
type
air conditioner
level state
instruction
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
CN201410158506.5A
Other languages
Chinese (zh)
Other versions
CN103995191B (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.)
Midea Group Co Ltd
Handan Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Handan Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Handan Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201410158506.5A priority Critical patent/CN103995191B/en
Publication of CN103995191A publication Critical patent/CN103995191A/en
Application granted granted Critical
Publication of CN103995191B publication Critical patent/CN103995191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a method for identifying the model of an air conditioner. The method comprises the following steps: detecting a model identification instruction and reading the level state of a model selection input and output interface of a model control chip; searching a parameter list which is provided with model information corresponding to level states in advance according to the read level state; and obtaining the model information corresponding to the level state from the parameter list and reading pre-stored model parameters corresponding to the model information from a storage device of the air conditioner according to the obtained model information. The invention also discloses a device for identifying the model of the air conditioner. According to the air conditioner model identification method, the parameter list is searched according to the read level state of the model selection IO interface of the model control chip; the model information corresponding to the level state is obtained from the parameter list; the model parameters corresponding to the model information are further read; and therefore, the beneficial effect of improving the accuracy of model parameter identification is achieved.

Description

The recognition methods of air conditioner type and device
Technical field
The present invention relates to household appliance technical field, relate in particular to a kind of recognition methods and device of air conditioner type.
Background technology
Air conditioner on market is all the corresponding parameter of type, this processing mode in the time that the type of air conditioner is identified, the maintenance and management that is easy to select misincorporation number and is unfavorable for system; Such as, air-conditining is assigned to according to refrigerating capacity, and conventional have 26,32,35 types, and a air-conditioning is wanted corresponding three type parameters, and parameter coding is a lot, therefore, in the time of factory's actual production, the identification of air conditioner type parameter is easy to make mistakes.As shown in Figure 1, the corresponding type parameter of a air-conditioning type, a corresponding parameter coding of type parameter; Owing to having several types with a air-conditioning, therefore, need several parameter codings with a air-conditioning, in the time that factory mass is produced air conditioner, be easy to misidentify parameter so.
Foregoing only, for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of recognition methods and device of air conditioner type, to reach the object that improves air conditioner plane type recognition accuracy rate.
The embodiment of the invention discloses a kind of recognition methods of air conditioner type, comprise the following steps:
Detect plane type recognition instruction, the type that reads type control chip is selected the level state of IO interface;
According to the described level state reading, search the parameter list that sets in advance the model information that level state is corresponding;
From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner.
Preferably, according to the described level state reading, the step of searching the parameter list that sets in advance the model information that level state is corresponding also comprises afterwards:
Do not find the model information corresponding with described level state in described parameter list time, read model information pre-stored in the storer of air conditioner;
According to the pre-stored described model information reading, obtain type parameter corresponding to described model information.
Preferably, the described level state that described basis reads, the step of searching the parameter list that sets in advance the model information that level state is corresponding also comprises afterwards:
Do not find the model information corresponding with described level state in described parameter list time, whether detection receives type arranges instruction;
In the time receiving described type instruction be set, for air conditioner arranges described type and arrange the model information of command mappings.
Preferably, described type arranges instruction and comprises: user manually inputs the described type that model information triggers instruction is set, and the described type that the scanning input identification code that comprises model information triggers arranges instruction.
Preferably, described parameter list comprises: the not modifiable described model information that predetermined level state is corresponding, and by type, the modifiable described model information that instruction arranges is set.
The embodiment of the present invention also discloses a kind of recognition device of air conditioner type, comprising:
Hardware read module, for detecting plane type recognition instruction, the type that reads type control chip is selected the level state of IO interface;
Software acquisition module, for according to the described level state reading, searches the parameter list that sets in advance the model information that level state is corresponding; From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner.
Preferably, described software acquisition module also for:
Do not find the model information corresponding with described level state in described parameter list time, read model information pre-stored in the storer of air conditioner;
According to the pre-stored described model information reading, obtain type parameter corresponding to described model information.
Preferably, the recognition device of described air conditioner type also comprises:
Type arranges module, and in the time that described parameter list does not find the model information corresponding with described level state, whether detection receives type arranges instruction; In the time receiving described type instruction be set, for air conditioner arranges described type and arrange the model information of command mappings.
Preferably, described type arranges instruction and comprises: user manually inputs the described type that model information triggers instruction is set, and the described type that the scanning input identification code that comprises model information triggers arranges instruction.
Preferably, described parameter list comprises: the not modifiable described model information that predetermined level state is corresponding, and by type, the modifiable described model information that instruction arranges is set.
Embodiment of the present invention air conditioner detects plane type recognition instruction, and the type that reads type control chip is selected the level state of IO interface; According to the described level state reading, search the parameter list that sets in advance the model information that level state is corresponding; From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner; There is the beneficial effect that improves type parameter recognition accuracy.
Brief description of the drawings
Fig. 1 is air conditioner type and the conventional schematic diagram of corresponding type parameter corresponding relation;
Fig. 2 is the recognition methods first embodiment schematic flow sheet of air conditioner type of the present invention;
Fig. 3 is the parameter list one embodiment schematic diagram that comprises air conditioner model information and corresponding type parameter of storing in air conditioner in the recognition methods of air conditioner type of the present invention;
Fig. 4 is the recognition methods second embodiment schematic flow sheet of air conditioner type of the present invention;
Fig. 5 is recognition methods the 3rd embodiment schematic flow sheet of air conditioner type of the present invention;
Fig. 6 is the recognition device first embodiment high-level schematic functional block diagram of air conditioner type of the present invention;
Fig. 7 is the recognition device second embodiment high-level schematic functional block diagram of air conditioner type of the present invention.
Realization, functional characteristics and the advantage of embodiment of the present invention object, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The invention provides recognition methods first embodiment of an air conditioner type; As shown in Figure 2, the recognition methods of air conditioner type of the present invention comprises the following steps:
Step S01, detect plane type recognition instruction, the type that reads type control chip is selected the level state of IO interface;
Air conditioner is in the time detecting the triggering of organic type recognition instruction, reading and selecting relevant input/output port to type in type control chip is IO(Input/Output, input and output) mouthful level state, such as reading the low and high level state of all pins in the control chip relevant to type.
Wherein, described plane type recognition instruction comprises that air conditioner self triggers and user triggers this two kinds of modes; This mode of plane type recognition instruction triggering for air conditioner self, during such as the detection of air conditioner before dispatching from the factory on production line, before air conditioner is carried out the Action Events that user triggers, need self model information of identification, air conditioner triggers above-mentioned plane type recognition instruction automatically; This mode of plane type recognition instruction triggering for user, while setting before dispatching from the factory, user's operational controls that user provides based on air conditioner, triggers above-mentioned plane type recognition instruction.
The described level state that step S02, basis read, searches the parameter list that sets in advance the model information that level state is corresponding;
Air conditioner responds above-mentioned plane type recognition instruction, the type that reads out above-mentioned type control chip is selected the low and high level state of IO mouth, according to the level state reading out, search the parameter list of storing in the storer of air conditioner, such as searching the EEPROM(Electrically Erasable Programmable Read-Only Memory that is stored in air conditioner, EEPROM (Electrically Erasable Programmable Read Only Memo)) in parameter list.Wherein, this parameter list comprises and sets in advance the model information that level state is corresponding, and when the model information that in this parameter list, memory level state is corresponding, also stored the mapping relations of level state and corresponding model information.
In the present embodiment, the relation of the number N of the model information of storing in the number n of type selection IO mouth and described parameter list meets: N=2^n-m; Wherein, m is the quantity that this model information corresponding in the level state of above-mentioned IO interface can be set voluntarily or be changed by the operating system software of air conditioner; Wherein the value of m is defaulted as 1, and operational order that also can the demand based on self triggers according to user is set.The number n that selects IO mouth taking type as 2, the model information selected 26,32,35 types and the m value in air-conditining choose 1 as example; When the level state that reads IO mouth when air conditioner is 10, corresponding 26 types; When the level state that reads IO mouth when air conditioner is 01, the corresponding model information of IO mouth level state 01 is 32 types; The level state that air conditioner reads IO mouth is 11 o'clock, and the corresponding model information of IO mouth level state 11 is 35 types; The level state that air conditioner reads IO mouth is 00 o'clock, and IO mouth level state 00 corresponding model information can be set or be changed by software; For another example, in the time that type selects the number of IO mouth to have 3, the level state that above-mentioned hardware pin IO mouth can be set is 000,001,100,010 o'clock, and this air conditioner all can be set or be changed by software.In the time that air conditioner reads the corresponding organic type information of level state of IO mouth, the model information of this air conditioner can not be changed, and only has and corresponds to when being set or changed by software when the level state of the IO mouth reading, and could change the model information of this air conditioner.
Step S03, from described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner.
Air conditioner, according to the level state of the IO mouth reading, gets the model information corresponding to level state of this IO mouth, and according to the model information of obtaining, from the storer of air conditioner, reading pre-stored is in the type parameter corresponding with this model information.
Such as, this air conditioner by type Parameter storage corresponding on-hook 26,32,35 model information in EEPROM, and be respectively type parameter corresponding to above-mentioned on-hook 26,32,35 model information and specify corresponding fixing memory address; Taking sexadecimal as example, such as specifying the type parameter of memory address 0000~1FFF address corresponding stored 26 types in EEPROM, designated store address is the type parameter of 2000~3FFF address corresponding stored 32 types, and designated store address is the type parameter of 4000~5FFF address corresponding stored 35 types; When air conditioner gets after corresponding model information, directly from EEPROM to reading type parameter corresponding to this model information in the memory address of model information.
In embodiments of the present invention, when air conditioner memory machine shape parameter, type parameter corresponding multiple model information is left in a parameter list, like this, a type parameter gets final product corresponding multiple model information, and only need a parameter coding corresponding to multiple model information of a type parameter, be convenient to management.Fig. 3 provides the parameter list one embodiment schematic diagram that comprises air conditioner model information and corresponding type parameter of storing in air conditioner in the recognition methods of air conditioner type of the present invention, as shown in Figure 3, taking 26 in air-conditining, 32,35 types as example, by in type parameter integration to parameter form corresponding 26,32,35 types in above-mentioned air-conditining, three type parameters are used a coding, save 2/3rds parameter coding, save the parameter coding of type parameter, improved the production efficiency of air conditioner.
Embodiment of the present invention air conditioner detects plane type recognition instruction, and the type that reads type control chip is selected the level state of IO interface; According to the described level state reading, search the parameter list that sets in advance the model information that level state is corresponding; From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner; There is the beneficial effect that improves type parameter recognition accuracy.
The present invention also provides a kind of recognition methods the second embodiment of air conditioner type, and Fig. 4 is the recognition methods second embodiment schematic flow sheet of air conditioner type of the present invention; Described in the present embodiment and Fig. 2, the difference of embodiment is, air conditioner is selected the level state of input/output port according to the type of the type control chip reading, do not find the model information corresponding with the level state reading in parameter list time, read the model information of self storing.
Based on the description of above embodiment, as shown in Figure 4, the recognition methods of air-conditioning type of the present invention afterwards, also comprises embodiment described in Fig. 1 " the described level state that step S02, basis read, searches the parameter list that sets in advance the model information that level state is corresponding ":
Step S13, do not find the model information corresponding with described level state in described parameter list time, read model information pre-stored in the storer of air conditioner;
When air conditioner is according to the level state of the type selection input/output port of the type control chip reading, do not find the model information corresponding with the level state reading in parameter list time, directly from the storer of air conditioner self such as the model information of this air conditioner self of reading pre-stored in EEPROM.Such as described in above-described embodiment, when the type that reads type control chip when air conditioner selects the level state of IO mouth to be 00, and the level state of the type of setting selection IO mouth is that 00 this hardware state does not have corresponding type, now this air conditioner obtains type parameter by software mode.Air conditioner read memory is as the model information of this air conditioner pre-stored in EEPROM self.
Wherein, pre-stored self the mode of model information of air conditioner can be stored model information by receiving the mode that user manually input model information, the model information that also can obtain and store air conditioner by receiving identification code that scanning input comprise model information; Such as, air conditioner receives the manually model information of input of user, or receives the model information of selecting control to select based on type, or receives the model information that user inputs by scanning barcode, and the above-mentioned model information of obtaining is stored in EEPROM.
The pre-stored described model information that step S14, basis read, obtains type parameter corresponding to described model information.
Air conditioner according to read pre-stored at storage space as the model information in EEPROM, search the memory address of type parameter corresponding to this model information in EEPROM, and according to the memory address finding out, read the type parameter of storing in this memory address.Such as, the model information that air conditioner reads from the EEPROM of self is 26 types, and in the type Parameter storage storage space that memory address is 0000~1FFF in EEPROM corresponding to this 26 type, air conditioner reads the type parameter of the storage space that memory address 0000~1FFF is corresponding.
When the embodiment of the present invention selects the level state of input/output port there is no corresponding model information when the type of type control chip in air conditioner, directly from the storer of air conditioner, read the model information of storage, and then obtain corresponding type parameter according to the model information reading; While making low and high level state that air conditioner hardware pin is corresponding there is no corresponding type, directly read to obtain type parameter by software, improved diversity and the dirigibility of air conditioner type parameter acquiring.
The present invention also provides a kind of recognition methods the 3rd embodiment of air conditioner type, and Fig. 5 is recognition methods the 3rd embodiment schematic flow sheet of air conditioner type of the present invention; Described in the present embodiment and Fig. 2, the difference of embodiment is, air conditioner is selected the level state of input/output port according to the type of the type control chip reading, do not find the model information corresponding with the level state reading in parameter list time, and in the time receiving type instruction be set, for air conditioner arranges model information.Described in the present embodiment and Fig. 4, the difference of embodiment is, while not finding the model information corresponding with described level state, model information is directly set or upgrades the model information of having stored in parameter list.
Fig. 5 is to be described as example with the difference of embodiment described in Fig. 2.
Based on the description of above embodiment, as shown in Figure 5, the recognition methods of air conditioner type of the present invention afterwards, also comprises embodiment described in Fig. 2 " the described level state that step S02, basis read, searches the parameter list that sets in advance the model information that level state is corresponding ":
Step S23, do not find the model information corresponding with described level state in described parameter list time, detect and whether receive type instruction is set;
Step S24, in the time receiving described type instruction be set, for air conditioner arranges described type and arrange the model information of command mappings.
When air conditioner is according to the level state of the type selection input/output port of the type control chip reading, do not find the model information corresponding with the level state reading in parameter list time, whether detection receives type arranges instruction.Wherein, described type arranges instruction and comprises that user manually inputs the type that model information triggers instruction is set, and the type that the scanning input identification code that comprises model information triggers arranges instruction.
Air conditioner detects when receiving type instruction being set, and the described type that response receives arranges instruction, for air conditioner self arranges this type, the model information that instruction is shone upon is set.When receiving the type of user based on air conditioner and type that control triggers is set instruction is set such as, air conditioner, receive the manually model information of input of user, and this model information is stored in EEPROM.Or, when air conditioner receives type that identification code (as bar code or Quick Response Code) that user comprises model information by scanning triggered instruction is set, receive model information the storage of this air conditioner that end of scan that user uses sends.
In one embodiment of the present invention, if air conditioner self has stored corresponding model information, in the time that air conditioner receives type instruction is set, obtain after the new architecture information that this type arranges command mappings, upgrade the older models information of having stored, replace the older models information of having stored by the new architecture information that type arranges command mappings.Further, be to save the storage space of air conditioner, can be after replacement, air conditioner can be directly by older models information deletion, only stores type and arrange the new architecture information of command mappings.
When air conditioner detects when not yet receiving type instruction being set, air conditioner reads the storer of self, and whether identification exists the model information of having stored; If self has stored model information, read the model information of having stored; And then according to the model information of having stored, search memory address corresponding to this model information, read the type parameter of storing in this memory address.If air conditioner self is not stored model information yet, air conditioner can continue to wait for; Such as waiting for after default duration, do not receive yet type instruction is set, enter standby or dormant state; Or, send prompting and need carry out the information of type setting operation.Or, when air conditioner identification self is not stored model information, directly send prompting and need carry out the information of type setting operation.If this air conditioner now status for just carry out factory testing on production line, the information that air conditioner can directly carry out above-mentioned need type setting operation is sent to the controller of this production line, taking alert as this air conditioner, model information is set.Certainly, detect when not yet receiving type instruction being set at air conditioner, air conditioner also can be carried out other operations, and the present embodiment does not carry out exhaustive one by one to it.
Embodiment of the present invention air conditioner is according to the described level state that reads, while not finding the model information corresponding with described level state, instruction is set corresponding model information is set according to receiving type; Improve the intelligent of air conditioner, improved dirigibility and diversity that model information arranges.
The embodiment of the present invention also provides a kind of recognition device the first embodiment of air conditioner type; As shown in Figure 6, air conditioner of the present invention comprises: hardware read module 01 and software acquisition module 02.
Hardware read module 01, for detecting plane type recognition instruction, the type that reads type control chip is selected the level state of IO interface;
The hardware read module 01 of air conditioner is in the time detecting the triggering of organic type recognition instruction, reading and selecting relevant input/output port to type in type control chip is the level state of IO mouth, such as reading the low and high level state of all pins in the control chip relevant to type.
Wherein, described plane type recognition instruction comprises that air conditioner self triggers and user triggers this two kinds of modes; This mode of plane type recognition instruction triggering for air conditioner self, during such as the detection of air conditioner before dispatching from the factory on production line, before air conditioner is carried out the Action Events that user triggers, need self model information of identification, air conditioner triggers above-mentioned plane type recognition instruction automatically; This mode of plane type recognition instruction triggering for user, while setting before dispatching from the factory, user's operational controls that user provides based on air conditioner, triggers above-mentioned plane type recognition instruction.
Software acquisition module 02, for according to the described level state reading, searches the parameter list that sets in advance the model information that level state is corresponding; From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner.
The hardware read module 01 of air conditioner responds above-mentioned plane type recognition instruction, the type that reads out above-mentioned type control chip is selected the low and high level state of IO mouth, the level state that software acquisition module 02 reads out according to hardware read module 01, search the parameter list of storing in the storer of air conditioner, such as software acquisition module 02 is searched the parameter list in the EEPROM that is stored in air conditioner.Wherein, this parameter list comprises and sets in advance the model information that level state is corresponding, and when the model information that in this parameter list, memory level state is corresponding, also stored the mapping relations of level state and corresponding model information.
In the present embodiment, the relation of the number N of the model information of storing in the number n of type selection IO mouth and described parameter list meets: N=2^n-m; Wherein, m is the quantity that this model information corresponding in the level state of above-mentioned IO interface can be set voluntarily or be changed by the operating system software of air conditioner; Wherein the value of m is defaulted as 1, and operational order that also can the demand based on self triggers according to user is set.The number n that selects IO mouth taking type as 2, the model information selected 26,32,35 types and the m value in air-conditining choose 1 as example; When the level state that reads IO mouth when the hardware read module 01 of air conditioner is 10, it is that 10 o'clock corresponding model information are 26 types that software acquisition module 02 is searched level state; When the level state that reads IO mouth when the hardware read module 01 of air conditioner is 01, it is that 10 o'clock corresponding model information are 32 types that software acquisition module 02 is searched level state; The level state that the hardware read module 01 of air conditioner reads IO mouth is 11 o'clock, and it is that 10 o'clock corresponding model information are 35 types that software acquisition module 02 is searched level state; The level state that the hardware read module 01 of air conditioner reads IO mouth is 00 o'clock, and it is that 00 o'clock corresponding model information can be set or be changed by software that software acquisition module 02 is searched level state; For another example, in the time that type selects the number of IO mouth to have 3, the level state that above-mentioned hardware pin IO mouth can be set is 000,001,100,010 o'clock, and this air conditioner all can be set or be changed by software.In the time that the hardware read module 01 of air conditioner reads the corresponding organic type information of level state of IO mouth, the model information of this air conditioner can not be changed, only have the level state of the IO mouth reading when hardware read module 01 to correspond to when being set or changed by software, software acquisition module 02 could be changed the model information of this air conditioner.
The level state of the IO mouth that the software acquisition module 02 of air conditioner reads according to hardware read module 01, get the model information corresponding to level state of this IO mouth, according to the model information of obtaining, from the storer of air conditioner, reading pre-stored is in the type parameter corresponding with this model information.
Such as, this air conditioner by type Parameter storage corresponding on-hook 26,32,35 model information in EEPROM, and be respectively type parameter corresponding to above-mentioned on-hook 26,32,35 model information and specify corresponding fixing memory address; Taking sexadecimal as example, such as specifying the type parameter of memory address 0000~1FFF address corresponding stored 26 types in EEPROM, designated store address is the type parameter of 2000~3FFF address corresponding stored 32 types, and designated store address is the type parameter of 4000~5FFF address corresponding stored 35 types; When the software acquisition module 02 of air conditioner gets after corresponding model information, directly from EEPROM to reading type parameter corresponding to this model information in the memory address of model information.
In embodiments of the present invention, when air conditioner memory machine shape parameter, type parameter corresponding multiple model information is left in a parameter list, like this, a type parameter gets final product corresponding multiple model information, and only need a parameter coding corresponding to multiple model information of a type parameter, be convenient to management.Fig. 3 provides the parameter list one embodiment schematic diagram that comprises air conditioner model information and corresponding type parameter of storing in air conditioner in the recognition methods of air conditioner type of the present invention, as shown in Figure 3, taking 26 in air-conditining, 32,35 types as example, by in type parameter integration to parameter form corresponding 26,32,35 types in above-mentioned air-conditining, three type parameters are used a coding, save 2/3rds parameter coding, save the parameter coding of type parameter, improved the production efficiency of air conditioner.
Embodiment of the present invention air conditioner detects plane type recognition instruction, and the type that reads type control chip is selected the level state of IO interface; According to the described level state reading, search the parameter list that sets in advance the model information that level state is corresponding; From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner; There is the beneficial effect that improves type parameter recognition accuracy.
Please referring again to Fig. 6, the present embodiment is only described: the software acquisition module 02 of air conditioner shown in Fig. 6 is selected the level state of input/output port according to the type of the type control chip reading, do not find the model information corresponding with the level state reading in parameter list time, read the model information of air conditioner storage.Other related modules of relevant air conditioner of the present invention please refer to the description of corresponding embodiment, do not repeat them here.
As shown in Figure 6, described software acquisition module 02 also for:
Do not find the model information corresponding with described level state in described parameter list time, read model information pre-stored in the storer of air conditioner;
According to the pre-stored described model information reading, obtain type parameter corresponding to described model information.
The type of the type control chip reading according to hardware read module 01 when the software acquisition module 02 of air conditioner is selected the level state of input/output port, do not find the model information corresponding with the level state reading in parameter list time, software acquisition module 02 directly from the storer of air conditioner self such as the model information of this air conditioner self of reading pre-stored in EEPROM.Such as described in above-described embodiment, when the type that reads type control chip when hardware read module 01 selects the level state of IO mouth to be 00, and the level state of the type of setting selection IO mouth is that 00 this hardware state does not have corresponding type, now this software acquisition module 02 obtains type parameter by software mode.Software acquisition module 02 read memory is as the model information of this air conditioner pre-stored in EEPROM self.
Wherein, pre-stored self the mode of model information of air conditioner can be stored model information by receiving the mode that user manually input model information, the model information that also can obtain and store air conditioner by receiving identification code that scanning input comprise model information; Such as, air conditioner receives the manually model information of input of user, or receives the model information of selecting control to select based on type, or receives the model information that user inputs by scanning barcode, and the above-mentioned model information of obtaining is stored in EEPROM.
Software acquisition module 02 reads according to hardware read module 01 pre-stored at storage space as the model information in EEPROM, search the memory address of type parameter corresponding to this model information in EEPROM, and according to the memory address finding out, software acquisition module 02 reads the type parameter of storing in this memory address.Such as, the model information that hardware read module 01 reads from the EEPROM of air conditioner is 26 types, and in the type Parameter storage storage space that memory address is 0000~1FFF in EEPROM corresponding to this 26 type, software acquisition module 02 reads the type parameter of the storage space that memory address 0000~1FFF is corresponding.
When the embodiment of the present invention selects the level state of input/output port there is no corresponding model information when the type of type control chip in air conditioner, directly from the storer of air conditioner, read the model information of storage, and then obtain corresponding type parameter according to the model information reading; While making low and high level state that air conditioner hardware pin is corresponding there is no corresponding type, directly read to obtain type parameter by software, improved diversity and the dirigibility of air conditioner type parameter acquiring.
The embodiment of the present invention also provides a kind of recognition device the second embodiment of air conditioner type; Described in the present embodiment and Fig. 6, the difference of embodiment is, in the present embodiment, described air conditioner also comprises that type arranges module 03, and described type arranges module 03 in the time receiving type instruction is set, and according to described type, instruction being set is that air conditioner arranges model information.
Based on the description of above embodiment, as shown in Figure 7, air conditioner of the present invention also comprises:
Type arranges module 03, and in the time that described parameter list does not find the model information corresponding with described level state, whether detection receives type arranges instruction; In the time receiving described type instruction be set, for air conditioner arranges described type and arrange the model information of command mappings.
The type of the type control chip reading according to hardware read module 01 when software acquisition module 02 is selected the level state of input/output port, do not find the model information corresponding with the level state reading in parameter list time, type arranges module 03 and detects and whether receive type instruction is set.Wherein, described type arranges instruction and comprises that user manually inputs the type that model information triggers instruction is set, and the type that the scanning input identification code that comprises model information triggers arranges instruction.
When the module 03 of arranging type detects and receives type instruction is set, the described type that response receives arranges instruction, for air conditioner arranges this type, the model information that instruction is shone upon is set.When module 03 is set receives the type of user based on air conditioner and type that control triggers is set instruction is set such as, type, receive the manually model information of input of user, and this model information is stored in EEPROM.Or, when type arranges module 03 and receives type that identification code (as bar code or Quick Response Code) that user comprises model information by scanning triggered instruction is set, receive model information the storage of this air conditioner that end of scan that user uses sends.
In one embodiment of the present invention, if air conditioner self has stored corresponding model information, in the time that type arranges module 03 and receives type instruction is set, obtain after the new architecture information that this type arranges command mappings, upgrade the older models information of having stored, type arranges the new architecture information that module 03 use type arranges command mappings and replaces the older models information of having stored.Further, be to save the storage space of air conditioner, can be after replacement, type arranges module 03 can be directly by older models information deletion, only stores type and arrange the new architecture information of command mappings.
Detect when not yet receiving type instruction being set when type arranges module 03, read the storer of air conditioner by software acquisition module 02, whether identification there is the model information of having stored; If air conditioner has stored model information, software acquisition module 02 reads the model information of having stored; And then according to the model information of having stored, software acquisition module 02 is searched memory address corresponding to this model information, reads the type parameter of storing in this memory address.If air conditioner self is not stored model information yet, air conditioner can continue to wait for; Such as waiting for after default duration, type arranges module 03 and does not receive yet type instruction is set, and enters standby or dormant state; Or type arranges module 03 and sends prompting and need carry out the information of type setting operation.Or, when the software acquisition module 02 of air conditioner is identified air conditioner and do not stored model information, module 03 is set directly sends prompting and need carry out the information of type setting operation by type.If this air conditioner now status for just carry out factory testing on production line, type arranges module 03 and can directly above-mentioned need be carried out to the information of type setting operation and be sent to the controller of this production line, taking alert as this air conditioner, model information is set.Certainly, detect when not yet receiving type instruction being set at air conditioner, air conditioner also can be carried out other operations, and the present embodiment does not carry out exhaustive one by one to it.
Embodiment of the present invention air conditioner is according to the described level state that reads, while not finding the model information corresponding with described level state, instruction is set corresponding model information is set according to receiving type; Improve the intelligent of air conditioner, improved dirigibility and diversity that model information arranges.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions (can be mobile phones in order to make a station terminal equipment, computing machine, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a recognition methods for air conditioner type, is characterized in that, comprises the following steps:
Detect plane type recognition instruction, the type that reads type control chip is selected the level state of IO interface;
According to the described level state reading, search the parameter list that sets in advance the model information that level state is corresponding;
From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner.
2. the method for claim 1, is characterized in that, according to the described level state reading, the step of searching the parameter list that sets in advance the model information that level state is corresponding also comprises afterwards:
Do not find the model information corresponding with described level state in described parameter list time, read model information pre-stored in the storer of air conditioner;
According to the pre-stored described model information reading, obtain type parameter corresponding to described model information.
3. the method for claim 1, is characterized in that, the described level state that described basis reads, and the step of searching the parameter list that sets in advance the model information that level state is corresponding also comprises afterwards:
Do not find the model information corresponding with described level state in described parameter list time, whether detection receives type arranges instruction;
In the time receiving described type instruction be set, for air conditioner arranges described type and arrange the model information of command mappings.
4. method as claimed in claim 3, it is characterized in that, described type arranges instruction and comprises: user manually inputs the described type that model information triggers instruction is set, and the described type that the scanning input identification code that comprises model information triggers arranges instruction.
5. the method as described in claim 1-4 any one, is characterized in that, described parameter list comprises: the not modifiable described model information that predetermined level state is corresponding, and by type, the modifiable described model information that instruction arranges is set.
6. a recognition device for air conditioner type, is characterized in that, comprising:
Hardware read module, for detecting plane type recognition instruction, the type that reads type control chip is selected the level state of IO interface;
Software acquisition module, for according to the described level state reading, searches the parameter list that sets in advance the model information that level state is corresponding; From described parameter list, obtain the model information corresponding with described level state, and according to the described model information of obtaining type parameter corresponding to the described model information of reading pre-stored from the storer of air conditioner.
7. device as claimed in claim 6, is characterized in that, described software acquisition module also for:
Do not find the model information corresponding with described level state in described parameter list time, read model information pre-stored in the storer of air conditioner;
According to the pre-stored described model information reading, obtain type parameter corresponding to described model information.
8. device as claimed in claim 6, is characterized in that, also comprises:
Type arranges module, and in the time that described parameter list does not find the model information corresponding with described level state, whether detection receives type arranges instruction; In the time receiving described type instruction be set, for air conditioner arranges described type and arrange the model information of command mappings.
9. device as claimed in claim 8, it is characterized in that, described type arranges instruction and comprises: user manually inputs the described type that model information triggers instruction is set, and the described type that the scanning input identification code that comprises model information triggers arranges instruction.
10. the device as described in claim 6-9 any one, is characterized in that, described parameter list comprises: the not modifiable described model information that predetermined level state is corresponding, and by type, the modifiable described model information that instruction arranges is set.
CN201410158506.5A 2014-04-18 2014-04-18 The recognition methods of air-conditioner type and device Active CN103995191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410158506.5A CN103995191B (en) 2014-04-18 2014-04-18 The recognition methods of air-conditioner type and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410158506.5A CN103995191B (en) 2014-04-18 2014-04-18 The recognition methods of air-conditioner type and device

Publications (2)

Publication Number Publication Date
CN103995191A true CN103995191A (en) 2014-08-20
CN103995191B CN103995191B (en) 2017-01-04

Family

ID=51309409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410158506.5A Active CN103995191B (en) 2014-04-18 2014-04-18 The recognition methods of air-conditioner type and device

Country Status (1)

Country Link
CN (1) CN103995191B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104730977A (en) * 2015-02-05 2015-06-24 珠海格力电器股份有限公司 Method for storing and reading capacity code of air conditioner and air conditioner
CN106292452A (en) * 2016-09-21 2017-01-04 合肥美的电冰箱有限公司 A kind of improve the method and system of refrigerator controller versatility, refrigerator
CN106556752A (en) * 2015-09-25 2017-04-05 鸿富锦精密工业(武汉)有限公司 GPIO interface circuit for detecting
CN106979595A (en) * 2017-04-27 2017-07-25 青岛海信日立空调***有限公司 The recognition methods of air-conditioning machine and system
CN108206945A (en) * 2016-12-20 2018-06-26 深圳市光峰光电技术有限公司 Projection device and its plane type recognition method
CN110486899A (en) * 2019-08-26 2019-11-22 宁波奥克斯电气股份有限公司 A kind of recognition methods and system of air conditioner type
CN111322730A (en) * 2018-12-14 2020-06-23 青岛经济技术开发区海尔热水器有限公司 Electrical equipment and control device and control method thereof
CN111459041A (en) * 2020-03-31 2020-07-28 广东美的制冷设备有限公司 Control terminal, control method of home appliance, and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183988A (en) * 2007-11-19 2008-05-21 华为技术有限公司 Method of identifying packet corresponding service types and device thereof
CN101236522A (en) * 2008-01-25 2008-08-06 中兴通讯股份有限公司 Hardware module test method and apparatus
JP2009204178A (en) * 2008-02-26 2009-09-10 Fujitsu General Ltd Discrimination device for connected apparatus, and electronic apparatus comprising the same
CN101873259A (en) * 2010-06-01 2010-10-27 华为技术有限公司 SCTP (Stream Control Transmission Protocol) message identification method and device
CN201867674U (en) * 2010-11-26 2011-06-15 英业达股份有限公司 Machine type recognition module
CN202533525U (en) * 2012-03-28 2012-11-14 海尔集团公司 Apparatus capable of automatically identifying air conditioning unit type
CN102937321A (en) * 2012-10-26 2013-02-20 广东志高空调有限公司 All compatible air conditioner and method for automatic identification and control of air conditioner model
CN101657036B (en) * 2008-08-20 2013-05-15 ***通信集团公司 Method for updating correspondence of terminal identification and user identification, equipment and system thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183988A (en) * 2007-11-19 2008-05-21 华为技术有限公司 Method of identifying packet corresponding service types and device thereof
CN101236522A (en) * 2008-01-25 2008-08-06 中兴通讯股份有限公司 Hardware module test method and apparatus
JP2009204178A (en) * 2008-02-26 2009-09-10 Fujitsu General Ltd Discrimination device for connected apparatus, and electronic apparatus comprising the same
CN101657036B (en) * 2008-08-20 2013-05-15 ***通信集团公司 Method for updating correspondence of terminal identification and user identification, equipment and system thereof
CN101873259A (en) * 2010-06-01 2010-10-27 华为技术有限公司 SCTP (Stream Control Transmission Protocol) message identification method and device
CN201867674U (en) * 2010-11-26 2011-06-15 英业达股份有限公司 Machine type recognition module
CN202533525U (en) * 2012-03-28 2012-11-14 海尔集团公司 Apparatus capable of automatically identifying air conditioning unit type
CN102937321A (en) * 2012-10-26 2013-02-20 广东志高空调有限公司 All compatible air conditioner and method for automatic identification and control of air conditioner model

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104730977A (en) * 2015-02-05 2015-06-24 珠海格力电器股份有限公司 Method for storing and reading capacity code of air conditioner and air conditioner
CN106556752A (en) * 2015-09-25 2017-04-05 鸿富锦精密工业(武汉)有限公司 GPIO interface circuit for detecting
CN106292452A (en) * 2016-09-21 2017-01-04 合肥美的电冰箱有限公司 A kind of improve the method and system of refrigerator controller versatility, refrigerator
CN108206945A (en) * 2016-12-20 2018-06-26 深圳市光峰光电技术有限公司 Projection device and its plane type recognition method
CN106979595A (en) * 2017-04-27 2017-07-25 青岛海信日立空调***有限公司 The recognition methods of air-conditioning machine and system
CN106979595B (en) * 2017-04-27 2019-12-27 青岛海信日立空调***有限公司 Air conditioner type identification method and system
CN111322730A (en) * 2018-12-14 2020-06-23 青岛经济技术开发区海尔热水器有限公司 Electrical equipment and control device and control method thereof
CN110486899A (en) * 2019-08-26 2019-11-22 宁波奥克斯电气股份有限公司 A kind of recognition methods and system of air conditioner type
CN111459041A (en) * 2020-03-31 2020-07-28 广东美的制冷设备有限公司 Control terminal, control method of home appliance, and computer-readable storage medium
CN111459041B (en) * 2020-03-31 2023-03-31 广东美的制冷设备有限公司 Control terminal, control method of home appliance, and computer-readable storage medium

Also Published As

Publication number Publication date
CN103995191B (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN103995191A (en) Method and device for identifying model of air conditioner
CN108153696B (en) Embedded system serial port module matching method, device, medium and computer equipment
CN104978258A (en) Software automation test method and system
CN105446295B (en) The recognition methods of electric appliance and device
CN106452847B (en) Intelligent identification method and device for WIFI equipment
CN108388640B (en) Data conversion method and device and data processing system
CN106403188A (en) Air conditioner maintenance method and maintenance device thereof
CN107204898A (en) Production test method, system and the storage device of intelligent appliance, mobile terminal
CN104778135A (en) Device compatible method and system
US20130265061A1 (en) Method and apparatus for managing electronic appliance
CN105262788A (en) User terminal, server and user equipment
CN111651358B (en) Method for generating test case, software test method, device and server
CN112506757A (en) Automatic test method, system, computer device and medium thereof
US20180239342A1 (en) Method and apparatus for registering virtual equipment for virtual production system
US20170118625A1 (en) Method and Device for Controlling Subscriber Identity Module Card of Mobile Terminal
CN106528053B (en) A kind of terminal device high efficiency data processing method and its terminal device
CN108255735A (en) Associated environment test method, electronic device and computer readable storage medium
CN115130737A (en) Machine learning method based on working condition, related device and medium program product
CN110004637B (en) Control method of clothes processing system
CN104090986A (en) Wireless controller slot position control method, access device and wireless controller
CN105866562B (en) The detection method and detection system of network home appliance
CN115103392B (en) ESIM terminal test method, instrument, portal server, device and system
CN111831341A (en) Configuration file loading method, device and system and computer readable medium
CN113534730B (en) Model-based PLC control code generation method, system, device and storage medium
CN118202309A (en) Method for operating a device in an IoT system

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