CN104964399B - The address distribution method and device of air-conditioning equipment - Google Patents

The address distribution method and device of air-conditioning equipment Download PDF

Info

Publication number
CN104964399B
CN104964399B CN201510431740.5A CN201510431740A CN104964399B CN 104964399 B CN104964399 B CN 104964399B CN 201510431740 A CN201510431740 A CN 201510431740A CN 104964399 B CN104964399 B CN 104964399B
Authority
CN
China
Prior art keywords
slave
address
identity information
main frame
unit
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.)
Active
Application number
CN201510431740.5A
Other languages
Chinese (zh)
Other versions
CN104964399A (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 CN201510431740.5A priority Critical patent/CN104964399B/en
Publication of CN104964399A publication Critical patent/CN104964399A/en
Application granted granted Critical
Publication of CN104964399B publication Critical patent/CN104964399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication

Abstract

The invention discloses a kind of address distribution method of air-conditioning equipment and device.Wherein, this method includes:Main frame in air-conditioner set distributes to slave unit broadcast address to be instructed, wherein, the multiple slaves included in slave unit belong to same communication network with main frame;Main frame receives the identity information that the first slave distributes instruction return according to address, wherein, the first slave is any one slave in slave unit;Main frame generates the address to be allocated for giving the first slave according to the identity information of return;Main frame sends address to corresponding first slave.The present invention solves the manual setting toggle switch when using RS485 buses to carry out data communication between the distinct device of air-conditioner set, it is necessary to during the project installation of air-conditioner set in the prior art, causes the technical problem that installation effectiveness is low.

Description

The address distribution method and device of air-conditioning equipment
Technical field
The present invention relates to air-conditioning technical field, in particular to the address distribution method and device of a kind of air-conditioning equipment.
Background technology
In current air conditioner controlling technology, data are being carried out using RS485 buses between the distinct device of air-conditioner set During communication, equipment is using allocated fixed telecommunication address when dispatching from the factory.When connecting multiple same categories of device in RS485 buses When (such as multiple line control machines as slave or multiple air-conditioning internal machines), then just need extra increase device, such as toggle switch Deng for distinguishing each equipment in same category of device.But extra increase device will cause product cost to increase, meanwhile, During the project installation of air-conditioner set, it is also necessary to carry out related manual setting to increased device according to project situation and (such as set Put toggle switch), it is cumbersome, installation effectiveness is low.
For in the prior art when between the distinct device of air-conditioner set use RS485 buses carry out data communication when, it is necessary to Toggle switch is set manually during the project installation of air-conditioner set, causes the technical problem that installation effectiveness is low, at present not yet It is proposed effective solution.
The content of the invention
The embodiments of the invention provide a kind of address distribution method of air-conditioning equipment and device, at least to solve prior art In when between the distinct device of air-conditioner set use RS485 buses carry out data communication when, it is necessary to air-conditioner set project installation During manually set toggle switch, cause the technical problem that installation effectiveness is low.
One side according to embodiments of the present invention, there is provided a kind of address distribution method of air-conditioning equipment, including:Air-conditioning Main frame in unit distributes to slave unit broadcast address to be instructed, wherein, the multiple slaves included in slave unit and main frame category In same communication network;Main frame receives the identity information that the first slave distributes instruction return according to address, wherein, the first slave For any one slave in slave unit;Main frame generates the address to be allocated for giving the first slave according to the identity information of return; Main frame sends address to corresponding first slave.
Further, when main frame is the indoor set in air-conditioner set, slave is line control machine;When main frame is in air-conditioner set Outdoor unit when, slave be air-conditioner set in indoor set.
Further, after the main frame in air-conditioner set instructs to the distribution of slave unit broadcast address, the above method is also Including:Main frame judges whether to get the identity information that the first slave distributes instruction return according to address;Obtained not successfully in main frame In the case of getting identity information of first slave according to address distribution instruction return, the distribution instruction of main frame repeated broadcast address, And judge whether to get the identity information that the first slave distributes instruction return according to address;If main frame is in repeated broadcast address After distribution instruction preset times, the identity information of the first slave return is still got not successfully, then has judged the first slave Get the address of host assignment.
Further, before the identity information that main frame receives that the first slave returns according to address distribution instruction, above-mentioned side Method also includes:First slave judges whether there is the address for being used for identifying the first slave;If the first slave is without use In identify the first slave address, then the first slave generation identity information, wherein, identity information include following information at least it One:The check code of the frame head of identity information, the identity recognition number of the first slave and corresponding address distribution instruction;Slave will generate Identity information be sent to main frame.
Further, if the first slave has the address for being used for identifying the first slave, main frame, which performs, to be judged whether to obtain Get the step of the first slave distributes the identity information that instruction returns according to address;The first slave root is got not successfully in main frame In the case of the identity information that instruction returns being distributed according to address, the distribution instruction of main frame repeated broadcast address, and judge whether to obtain The identity information of instruction return is distributed according to address to the first slave;If main frame is in default time of repeated broadcast address distribution instruction After number, the identity information of the first slave return is still got not successfully, then judges that the first slave has got host assignment Address.
Further, before main frame gives the address of the first slave according to the generation of the identity information of return is to be allocated, method Also include:The identity information that main frame returns according to the verification slave of code check first;If the identity information that the first slave returns passes through Verification, then main frame is according to the identity recognition number of the first slave generation address to be allocated for giving the first slave.
Another aspect according to embodiments of the present invention, a kind of address distribution method of air-conditioning equipment is additionally provided, including:It is empty The address distribution instruction of the first slave Receiving Host broadcast in the slave unit in unit is adjusted, wherein, included in slave unit Multiple slaves and main frame belong to same communication network, the first slave is any one slave in slave unit;First from Machine judges whether to receive the address of host assignment;If the first slave does not receive the address of host assignment, the first slave To host response identity information;The address that first slave Receiving Host distributes according to identity information.
Further, include to host response identity information:First slave is after address distribution instruction is received, generation Identity information, wherein, identity information includes at least one following information:The identification of the frame head of identity information, the first slave Number and corresponding address distribution instruction check code;Random times of first slave after identity information is generated are by identity information It is sent to main frame.
Further, the address that the first slave Receiving Host distributes according to identity information includes:First slave preserves address; First slave to host response confirmation, wherein, confirmation be used for indicate the first slave be correctly received address.
Another aspect according to embodiments of the present invention, a kind of address distributing device of air-conditioning equipment is additionally provided, including: First radio unit, instructed for being distributed to slave unit broadcast address, wherein, the multiple slaves included in slave unit and sky The main frame in unit is adjusted to belong to same communication network;First receiving unit, referred to for receiving the first slave according to address distribution The identity information returned is made, wherein, the first slave is any one slave in slave unit;First generation unit, for root The address to be allocated for giving the first slave is generated according to the identity information of return;First transmitting element, for address to be sent to corresponding The first slave.
Further, when main frame is the indoor set in air-conditioner set, slave is line control machine;When main frame is in air-conditioner set Outdoor unit when, slave be air-conditioner set in indoor set.
Further, said apparatus also includes:First judging unit, for the main frame in air-conditioner set to slave unit After broadcast address distribution instruction, judge whether to get the identity information that the first slave distributes instruction return according to address;The Two radio units, for getting the situation for the identity information that the first slave returns according to address distribution instruction not successfully in main frame Under, the distribution instruction of repeated broadcast address, and judge whether that getting the identity that the first slave returns according to address distribution instruction believes Breath;First determining unit, after distributing instruction preset times in repeated broadcast address in main frame, the is still got not successfully In the case of the identity information that one slave returns, it is determined that judging that the first slave has got the address of host assignment.
Further, said apparatus also includes:Second judging unit, for receiving the first slave according to address point in main frame Before the identity information returned with instruction, judge whether that there is the address for being used for identifying the first slave;Second generation unit, In the case of not having the address for being used for identifying the first slave in the first slave, identity information is generated, wherein, identity information Including at least one following information:The frame head of identity information, the identity recognition number of the first slave and corresponding address distribution instruction Check code;Second transmitting element, for the identity information of generation to be sent into main frame.
Further, the 3rd judging unit, for having a case that to be used for the address for identifying the first slave in the first slave Under, judge whether to get the identity information that the first slave distributes instruction return according to address;3rd radio unit, in master In the case that machine gets identity information of first slave according to address distribution instruction return not successfully, the distribution of repeated broadcast address Instruction, and judge whether to get the identity information that the first slave distributes instruction return according to address;Second determining unit, is used for After main frame distributes instruction preset times in repeated broadcast address, the identity information of the first slave return is still got not successfully In the case of, it is determined that judging that the first slave has got the address of host assignment.
Further, said apparatus also includes:Verification unit, treated point for being generated in main frame according to the identity information of return Before the address of the slave of dispensing first, according to the identity information of the verification slave of code check first return;3rd generation unit, is used for In the case where the identity information that the first slave returns is by verification, given according to the generation of the identity recognition number of the first slave is to be allocated The address of first slave.
Another aspect according to embodiments of the present invention, a kind of address distributing device of air-conditioning equipment is additionally provided, including: Instruction is distributed in second receiving unit, the address for Receiving Host broadcast, wherein, included in the slave unit in air-conditioner set Multiple slaves and main frame belong to same communication network, and the first slave in slave unit in air-conditioner set is in slave unit Any one slave;4th judging unit, for judging whether the first slave receives the address of host assignment;Reply sheet Member, in the case of not receiving the address of host assignment in the first slave, to host response identity information;3rd receives list Member, the address distributed for Receiving Host according to identity information.
Further, replying unit includes:Generation module, for after address distribution instruction is received, generating identity Information, wherein, identity information includes at least one following information:The frame head of identity information, the first slave identity recognition number with And the check code of corresponding address distribution instruction;Sending module, identity is believed for the random times after identity information is generated Breath is sent to main frame.
Further, the 3rd receiving unit includes:Preserving module, for preserving address;Module is replied, for being returned to main frame Multiple confirmation, wherein, confirmation is used to indicate that the first slave is correctly received address.
Using the embodiment of the present invention, the main frame in air-conditioner set connects after being instructed to the distribution of slave unit broadcast address The identity information that the first slave (some slave in such as slave unit) distributes instruction return according to the address is received, then basis The identity information generates the address to be allocated for giving the first slave, and the address of the generation is sent to corresponding first slave, from And realize and distribute address automatically for slave.It is main when multiple slaves be present in slave unit by the above embodiment of the present invention Machine is respectively that each slave distributes address automatically, so as to realize each slave distinguished in slave unit, without in the prior art Extra increase device, and extra increased device is set manually, so as to solve in the prior art when air-conditioner set , it is necessary to be set manually during the project installation of air-conditioner set when using RS485 buses progress data communication between distinct device Toggle switch, cause the technical problem that installation effectiveness is low, the distinct device realized as air-conditioner set distributes the effect of address automatically Fruit, improve the installation effectiveness of air-conditioner set.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the address distribution method of air-conditioning equipment according to embodiments of the present invention;
Fig. 2 is the flow chart of the address distribution method of another air-conditioning equipment according to embodiments of the present invention;
Fig. 3 is a kind of flow chart of the address distribution method of optional air-conditioning equipment according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of the address distributing device of air-conditioning equipment according to embodiments of the present invention;And
Fig. 5 is the schematic diagram of the address distributing device of another air-conditioning equipment according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the address distribution method of air-conditioning equipment is, it is necessary to say It is bright, it can be held the step of the flow of accompanying drawing illustrates in the computer system of such as one group computer executable instructions OK, although also, show logical order in flow charts, in some cases, can be with different from order herein Perform shown or described step.
Fig. 1 is a kind of flow chart of the address distribution method of air-conditioning equipment according to embodiments of the present invention, as shown in figure 1, This method may include steps of:
Step S102, the main frame in air-conditioner set distributes to slave unit broadcast address to be instructed.Wherein, wrapped in slave unit The multiple slaves contained belong to same communication network with main frame.Specifically, it is powered first after air-conditioner set installation, will Automatically into address allocation flow, the main frame in air-conditioner set refers to each Slave Broadcast address distribution into slave unit Order.
Alternatively, when main frame is the indoor set in air-conditioner set, slave is line control machine;When main frame is in air-conditioner set During outdoor unit, slave is the indoor set in air-conditioner set.
Step S104, main frame receive the identity information that the first slave distributes instruction return according to address.Wherein, the first slave For any one slave in slave unit.
Step S106, main frame generate the address to be allocated for giving the first slave according to the identity information of return.
Specifically, main frame automatically generates the address to be allocated to corresponding first slave according to the identity information received. When including multiple slaves in slave unit, each slave distributes instruction according to the address of host broadcast and returns to identity information extremely The identity information returned respectively according to each slave is automatically address corresponding to the generation of each slave by main frame, main frame.
Step S108, main frame send address to corresponding first slave.
Using the embodiment of the present invention, the main frame in air-conditioner set connects after being instructed to the distribution of slave unit broadcast address The identity information that the first slave (some slave in such as slave unit) distributes instruction return according to the address is received, then basis The identity information generates the address to be allocated for giving the first slave, and the address of the generation is sent to corresponding first slave, from And realize and distribute address automatically for slave.It is main when multiple slaves be present in slave unit by the above embodiment of the present invention Machine is respectively that each slave distributes address automatically, so as to realize each slave distinguished in slave unit, without in the prior art Extra increase device, and extra increased device is set manually, so as to solve in the prior art when air-conditioner set , it is necessary to be set manually during the project installation of air-conditioner set when using RS485 buses progress data communication between distinct device Toggle switch, cause the technical problem that installation effectiveness is low, the distinct device realized as air-conditioner set distributes the effect of address automatically Fruit, improve the installation effectiveness of air-conditioner set.
Further, by the above embodiment of the present invention, without increasing the difference that extra device can be air-conditioner set Equipment distributes address automatically, can reduce product cost.
According to the above embodiment of the present invention, the main frame in air-conditioner set distributes instruction to slave unit broadcast address Afterwards, above-mentioned method can also include:
Step S1, main frame judge whether to get the identity information that the first slave distributes instruction return according to address.
Wherein, judge to get the first slave not successfully according to the identity information of address distribution instruction return in main frame In the case of, perform step S2;Judge that successfully get the first slave believes according to the identity of address distribution instruction return in main frame In the case of breath, the step S104 to step S108 in above-described embodiment is performed.
Step S2, the distribution instruction of main frame repeated broadcast address, and judge whether that get the first slave distributes according to address Instruct the identity information returned.
Specifically, judge to get the situation for the identity information that the first slave returns according to address distribution instruction in main frame Under, perform the step S104 to step S108 in above-described embodiment;Otherwise, return and perform step S2.
It should be further stated that if main frame is distributed in repeated broadcast address after instructing preset times (such as 5 times), The identity information of the first slave return is still got not successfully, then judges that the first slave has got the address of host assignment.
Specifically, when including multiple slaves in slave unit, each slave distributes in the address for receiving host broadcast , all can be to identity information corresponding to host response itself, because part slave may be in the same time to main frame after instruction Identity information is replied, this will cause data overlap, and main frame None- identified goes out the identity information that the part slave returns.But always The time for having part slave to host response identity information staggers, and in this case, main frame can recognize slave The identity information of return.Replied that is, main frame always receives at least one slave (such as the first slave) in slave unit Identity information.
In this embodiment, in order to ensure the address that all slaves in slave unit can get host assignment, Main frame is needed after each broadcast address distributes instruction and completes address batch operation, the distribution instruction of repeated broadcast address;When When having the address that slave does not get host assignment in slave unit, the slave will return to identity information to main frame, so that main Machine can be that the slave distributes address automatically;When all slaves in slave unit have all got the address of host assignment, that Main frame will not receive the identity information of slave return, and now, main frame will continuously (such as 5 times) repeated broadcast address refers to for several times Order.When main frame, continuously (preset times described above) all do not get the identity information of the first slave return successfully for several times, That is there is no the address distribution instruction of slave response main frame in slave unit, at this point it is possible to judge the institute in slave unit There is the address that slave has got host assignment, now, address allocation procedure will terminate automatically.
By the above embodiment of the present invention, it can confirm that whether all slaves in slave unit have all got main frame point The address matched somebody with somebody, it is that it distributes address in the case where there is slave not receive the address of host assignment, does not have for several times continuously in main frame In the case of having the identity information for successfully getting slave return, it may be determined that whole slaves have all got the ground of host assignment Location, so as to which all slaves being embodied as in slave unit distribute address automatically.
In the above embodiment of the present invention, identity information of first slave according to address distribution instruction return is received in main frame Before, above-mentioned method can also include:
Step S3, the first slave judge whether there is the address for being used for identifying the first slave.
Wherein, in the case where the first slave is judged not having for identifying the address of the first slave, step S4 is performed To step S5;Judge in the first slave in the case that there is the address for being used for identifying the first slave, perform step S6 extremely Step S8.
Step S4, the first slave generation identity information.Wherein, identity information includes at least one following information:Identity is believed The check code of the frame head of breath, the identity recognition number of the first slave and corresponding address distribution instruction.
The identity information of generation is sent to main frame by step S5, slave.
Specifically, the frame head of the first slave identity-based information, itself identity recognition number (such as identification ID) and The corresponding check code of instruction is distributed with the address that it is received, generates identity information.First slave sends the identity information of generation To main frame, to perform subsequent step, the address of host assignment is obtained.
Alternatively, can be that each slave (such as line control machine) write-in is unique raw in the production process of air-conditioner set Bar code is produced, in this, as the identification ID of slave.
In the case where the first slave has the address for being used for identifying the first slave, the first slave does not return to identity letter Breath is to main frame, and now, main frame will perform step S6 to step S.
Step S6, main frame, which performs, to be judged whether to get the identity information that the first slave returns according to address distribution instruction Step.
Specifically, perform step S6 because the first slave does not return to identity information to main frame, main frame and will determine that out not successfully The identity information that the first slave distributes instruction return according to address is got, now, continues executing with step S7 to step S8.
Step S7, the distribution instruction of main frame repeated broadcast address, and judge whether that get the first slave distributes according to address Instruct the identity information returned.
Step S8, if main frame is distributed in repeated broadcast address after instruction preset times, first is still got not successfully The identity information that slave returns, then judge that the first slave has got the address of host assignment.
Specifically, step S7 to step S8 implementation is consistent with step S2 implementation, will not be repeated here.
By the above embodiment of the present invention, the slave with address no longer responds the address distribution of host broadcast and referred to Order, chance is provided so as to not get the slave of the address of host assignment yet for other, is obtaining ground between reduction slave Competitiveness during location, to ensure that all slaves in slave unit can smoothly get the address of host assignment.
According to the above embodiment of the present invention, the ground to be allocated for giving the first slave is generated according to the identity information of return in main frame Before location, above-mentioned method can also include:
Step S9, the identity information that main frame returns according to the verification slave of code check first.
Step S10, if the identity information that the first slave returns, by verification, main frame is according to the identification of the first slave Number generation address to be allocated for giving the first slave.
Specifically, the validity that verifies the code check identity information of the main frame in the identity information received, and should In the case of verification code check is successful, the identity information of the first slave return is judged by verification, now main frame is according to first Identity recognition number (such as identification ID) in the identity information of slave automatically generates the address to be allocated to first slave.
Pass through the above embodiment of the present invention, it can be ensured that corresponding address is distributed automatically for slave, so that it is guaranteed that from The address between each slave in machine unit is different, in the running of follow-up air-conditioner set, it is ensured that can distinguish Each slave in slave unit, without increasing additional devices in the prior art, product cost is both reduced, and without setting manually Extra increased device is put, the effect for distributing address automatically for all slaves in slave unit is realized, so as to improve sky The installation effectiveness of unit is adjusted, simplifies the installing engineering of air-conditioner set.
Fig. 2 is the flow chart of the address distribution method of another air-conditioning equipment according to embodiments of the present invention, such as Fig. 2 institutes Show, this method may include steps of:
Step S202, the address distribution instruction of the first slave Receiving Host broadcast in the slave unit in air-conditioner set. Wherein, the multiple slaves included in slave unit belong to same communication network with main frame, and the first slave is in slave unit Any one slave.Specifically, it is powered first after air-conditioner set installation, will be empty automatically into address allocation flow The main frame in unit is adjusted to distribute each Slave Broadcast address into slave unit to instruction.
Alternatively, when main frame is the indoor set in air-conditioner set, slave is line control machine;When main frame is in air-conditioner set During outdoor unit, slave is the indoor set in air-conditioner set.
Step S204, the first slave judge whether to receive the address of host assignment.
Step S206, if the first slave does not receive the address of host assignment, the first slave is to host response identity Information.Specifically, the first slave generates identity information after address distribution instruction is received, wherein, identity information is included such as At least one lower information:The verification of the frame head of identity information, the identity recognition number of the first slave and corresponding address distribution instruction Code;Identity information is sent to main frame by random times of first slave after identity information is generated.
It should be further stated that after the first slave distributes instruction in the address for receiving host broadcast, if its The address of host assignment is not yet received, random communication tupe will be entered:The address distribution instruction of main frame is responded, based on body The frame head of part information, itself identity recognition number (such as identification ID) and with the address corresponding school of distribution instruction that it is received Code is tested, generates the identity information of first slave, and a certain moment after address distribution instruction is received is by the body of generation Part information is sent to main frame.
Alternatively, can be that each slave (such as line control machine) write-in is unique raw in the production process of air-conditioner set Bar code is produced, in this, as the identification ID of slave.
In this embodiment, due to each slave in slave unit at random to main frame send identity information, partly from Machine may be in the same time to host response identity information, and this will cause data overlap, main frame None- identified go out the part from The identity information that machine returns.But the time for always having part slave to host response identity information staggers, in this feelings Under condition, main frame can recognize the identity information of slave return.That is, main frame is always received at least one in slave unit The identity information that individual slave (such as the first slave) is replied, and generate address corresponding with the identity information.
Step S208, the address that the first slave Receiving Host distributes according to identity information.Specifically, the first slave preserves ground Location;First slave to host response confirmation, wherein, confirmation be used for indicate the first slave be correctly received address. In this step, the first slave preserves the address received, and to host response confirmation (confirmation of such as shaking hands), with logical Know that main frame first slave has been properly received the address of host assignment, the automatic address distribution of first slave is i.e. complete Into.
It should be further stated that confirmation is used to show that the first slave is correctly received main frame as its automatic point The address matched somebody with somebody, its particular content and form can specify according to program development design agreement, and this is not limited by the present invention.
Using the embodiment of the present invention, the address of the first slave Receiving Host broadcast in the slave unit in air-conditioner set is divided With instruction, and judge whether to have been received by the address of host assignment, in the case of the address of host assignment is not received by, to Host response identity information, so that main frame automatically generates the address of first slave according to the identity information, and Receiving Host is pressed According to the address of identity information distribution, it is achieved thereby that distributing address automatically for slave.By the above embodiment of the present invention, work as slave When multiple slaves in unit be present, main frame is respectively that each slave distributes address automatically, is distinguished so as to realize in slave unit Each slave, set manually without additionally increasing device in the prior art, and to extra increased device, so as to solve In the prior art when using RS485 buses to carry out data communication between the distinct device of air-conditioner set, it is necessary in air-conditioner set Toggle switch is set manually during project installation, causes the technical problem that installation effectiveness is low, realizes as air-conditioner set not Distribute the effect of address automatically with equipment, improve the installation effectiveness of air-conditioner set.
Further, by the above embodiment of the present invention, without increasing the difference that extra device can be air-conditioner set Equipment distributes address automatically, can reduce product cost.
According to the above embodiment of the present invention, in step S204, the first slave judges whether to receive the address of host assignment Afterwards, if the first slave is judged to receive the address of host assignment, the first slave is not to host response identity information.
By the above embodiment of the present invention, the slave with address no longer responds the address distribution of host broadcast and referred to Order, chance is provided so as to not get the slave of the address of host assignment yet for other, is obtaining ground between reduction slave Competitiveness during location, to ensure that all slaves in slave unit can smoothly get the address of host assignment.
The present invention is discussed in detail with reference to alternative embodiment as shown in Figure 3, as shown in figure 3, this method can include Following steps:
Step S301, air-conditioner set are completed to install and be powered.Specifically, lead to first after air-conditioner set installation Electricity, following step S302 to S3 will be performed automatically automatically into address allocation flow.
Alternatively, can be that each slave (such as line control machine) write-in is unique raw in the production process of air-conditioner set Bar code is produced, in this, as the identity recognition number (such as identification ID) of slave.
Step S302, the distribution instruction of main frame (indoor set in such as air-conditioner set) broadcast address.
Specifically, the implementation of the step is consistent with the implementation of the step S102 in above-described embodiment, herein not Repeat again.
Instruction is distributed in step S303, the address of slave (such as line control machine) 1 to slave n difference Receiving Hosts.Wherein, n is certainly So number, slave 1 to the slave that slave n is in slave unit.
Step S304, slave 1 to slave n judge whether there is address respectively.
Specifically, the implementation of the step is consistent with the implementation of the step S3 in above-described embodiment, herein no longer Repeat.
Wherein, if it is judged that slave has address, then step S308 is performed;If it is judged that slave does not have address, Then perform step S305.
Step S305, slave enter random communication tupe, and a certain moment after address distribution instruction is received sends The identity information of itself is to main frame.
Specifically, the implementation of the step is consistent with the implementation of the step S5 in above-described embodiment, herein no longer Repeat.
Step S306, main frame receive the identity information of some slave.
Specifically, the implementation of the step is consistent with the implementation of the step S104 in above-described embodiment, herein not Repeat again.
Step S307, main frame be to should the slave of identity information distribute address automatically, and the address is sent to correspondingly The slave of the identity information.
Step S308, main frame judge whether that all online slaves have completed address distribution.
Specifically, the implementation of the step is consistent with the implementation of step S1 to step S2 in above-described embodiment, It will not be repeated here.
Wherein, in the case where main frame judges that all online slaves have completed address distribution, step S309 is performed; In the case where main frame judges that all online slaves not yet complete address distribution, return and perform step S302.
Step S309, distributes end of address (EOA) automatically.
Specifically, in an embodiment as illustrated in figure 3, in air-conditioner set installation and when being powered first, automatically into Address allocation procedure:
Step A, main frame (indoor set of such as air-conditioner set) broadcast address distribution instruction, now, slave (such as line control machine) with Identity information is replied in machine delay, and alternatively, the form of the identity information of reply can be " frame head+identification ID+ check codes ".
Step B, due to there is multiple (such as 4) line control machines meetings first backward host response identity information, according to probability theory, have Part line control machine may reply identity information simultaneously, and data will be caused overlapping so that the part identity information can not be indoor Mainboard identifies;But also there is part identity information because the time staggers, can be recognized by indoor mainboard, it is assumed here that warp Cross step B has a line control machine (being referred to as first line control machine in subsequent step) to be identified to afterwards.
Step C, indoor mainboard obtains the identification ID for the line control machine being identified to, and gives its automatic distribution address 1, To should identification ID line control machine reply and shake hands confirmation (confirmation i.e. in above-described embodiment), line control machine guarantor The address having been dispensed into is deposited, now, first line control machine address distribution has been completed.
Step D, repeat step B and step C, remaining 3 line control machines will gradually be assigned to address.
Step E, when the continuous 5 broadcast addresses distribution instruction of indoor mainboard, but the body of line control machine reply is not received During part information, represent that all line control machines have been allocated to address on network, the automatic assigning process in address terminates.
Pass through the above embodiment of the present invention, it is possible to achieve distribute address automatically for the distinct device of air-conditioner set, simplify empty The installing engineering of unit is adjusted, improves installation effectiveness.
Fig. 4 is a kind of schematic diagram of the address distributing device of air-conditioning equipment according to embodiments of the present invention.As shown in figure 4, The device can include:First radio unit 40, the first receiving unit 42, the first generation unit 44 and the first transmitting element 46。
Wherein, the first radio unit is used to distribute to slave unit broadcast address and instructed, wherein, included in slave unit Multiple slaves belong to same communication network with the main frame in air-conditioner set.Specifically, it is first after air-conditioner set installation Secondary energization, will be automatically into address allocation flow, and the main frame in air-conditioner set is by each Slave Broadcast into slave unit Location distribution instruction.
Alternatively, when main frame is the indoor set in air-conditioner set, slave is line control machine;When main frame is in air-conditioner set During outdoor unit, slave is the indoor set in air-conditioner set.
First receiving unit is used to receive the identity information that the first slave distributes instruction return according to address, wherein, first Slave is any one slave in slave unit.
First generation unit is used to generate the address to be allocated for giving the first slave according to the identity information of return.
Specifically, main frame automatically generates the address to be allocated to corresponding first slave according to the identity information received. When including multiple slaves in slave unit, each slave distributes instruction according to the address of host broadcast and returns to identity information extremely The identity information returned respectively according to each slave is automatically address corresponding to the generation of each slave by main frame, main frame.
First transmitting element is used to send address to corresponding first slave.
Using the embodiment of the present invention, the main frame in air-conditioner set connects after being instructed to the distribution of slave unit broadcast address The identity information that the first slave (some slave in such as slave unit) distributes instruction return according to the address is received, then basis The identity information generates the address to be allocated for giving the first slave, and the address of the generation is sent to corresponding first slave, from And realize and distribute address automatically for slave.It is main when multiple slaves be present in slave unit by the above embodiment of the present invention Machine is respectively that each slave distributes address automatically, so as to realize each slave distinguished in slave unit, without in the prior art Extra increase device, and extra increased device is set manually, so as to solve in the prior art when air-conditioner set , it is necessary to be set manually during the project installation of air-conditioner set when using RS485 buses progress data communication between distinct device Toggle switch, cause the technical problem that installation effectiveness is low, the distinct device realized as air-conditioner set distributes the effect of address automatically Fruit, improve the installation effectiveness of air-conditioner set.
Further, by the above embodiment of the present invention, without increasing the difference that extra device can be air-conditioner set Equipment distributes address automatically, can reduce product cost.
According to the above embodiment of the present invention, above-mentioned device can also include:First judging unit, the second radio unit with And first determining unit.
Wherein, the main frame that the first judging unit is used in air-conditioner set distributes instruction to slave unit broadcast address Afterwards, judge whether to get the identity information that the first slave distributes instruction return according to address.
Second radio unit is used to get identity of first slave according to address distribution instruction return not successfully in main frame In the case of information, the distribution instruction of repeated broadcast address, and judge whether that get the first slave returns according to address distribution instruction The identity information returned.
First determining unit is used for after main frame distributes instruction preset times in repeated broadcast address, still failed to obtain In the case of the identity information returned to the first slave, it is determined that judging that the first slave has got the address of host assignment.
Specifically, when including multiple slaves in slave unit, each slave distributes in the address for receiving host broadcast , all can be to identity information corresponding to host response itself, because part slave may be in the same time to main frame after instruction Identity information is replied, this will cause data overlap, and main frame None- identified goes out the identity information that the part slave returns.But always The time for having part slave to host response identity information staggers, and in this case, main frame can recognize slave The identity information of return.Replied that is, main frame always receives at least one slave (such as the first slave) in slave unit Identity information.
In this embodiment, in order to ensure the address that all slaves in slave unit can get host assignment, Main frame is needed after each broadcast address distributes instruction and completes address batch operation, the distribution instruction of repeated broadcast address;When When having the address that slave does not get host assignment in slave unit, the slave will return to identity information to main frame, so that main Machine can be that the slave distributes address automatically;When all slaves in slave unit have all got the address of host assignment, that Main frame will not receive the identity information of slave return, and now, main frame will continuously (such as 5 times) repeated broadcast address refers to for several times Order.When main frame, continuously (preset times described above) all do not get the identity information of the first slave return successfully for several times, That is there is no the address distribution instruction of slave response main frame in slave unit, at this point it is possible to judge the institute in slave unit There is the address that slave has got host assignment, now, address allocation procedure will terminate automatically.
By the above embodiment of the present invention, it can confirm that whether all slaves in slave unit have all got main frame point The address matched somebody with somebody, it is that it distributes address in the case where there is slave not receive the address of host assignment, does not have for several times continuously in main frame In the case of having the identity information for successfully getting slave return, it may be determined that whole slaves have all got the ground of host assignment Location, so as to which all slaves being embodied as in slave unit distribute address automatically.
In the above embodiment of the present invention, above-mentioned device can also include:Second judging unit, the second generation unit, Second transmitting element, the 3rd judging unit, the 3rd radio unit and the second determining unit.
Wherein, the second judging unit, believed for receiving the first slave in main frame according to the identity of address distribution instruction return Before breath, judge whether that there is the address for being used for identifying the first slave.
Second generation unit is used to, in the case where the first slave does not have the address for being used for identifying the first slave, generate body Part information, wherein, identity information includes at least one following information:The identity recognition number of the frame head of identity information, the first slave And the check code of corresponding address distribution instruction.
Second transmitting element, for the identity information of generation to be sent into main frame.
Specifically, the frame head of the first slave identity-based information, itself identity recognition number (such as identification ID) and The corresponding check code of instruction is distributed with the address that it is received, generates identity information.First slave sends the identity information of generation To main frame, to perform subsequent step, the address of host assignment is obtained.
Alternatively, can be that each slave (such as line control machine) write-in is unique raw in the production process of air-conditioner set Bar code is produced, in this, as the identification ID of slave.
In this embodiment, the first slave have be used for identify the first slave address in the case of, first from Machine does not return to identity information to main frame.
3rd judging unit is used to, in the case where the first slave has the address for being used for identifying the first slave, judge whether Get the identity information that the first slave distributes instruction return according to address.
Specifically, because the first slave does not return to identity information to main frame, the 3rd judging unit will determine that out to be obtained not successfully Get the identity information that the first slave distributes instruction return according to address.
3rd radio unit is used to get identity of first slave according to address distribution instruction return not successfully in main frame In the case of information, the distribution instruction of repeated broadcast address, and judge whether that get the first slave returns according to address distribution instruction The identity information returned.
Second determining unit is used for after main frame distributes instruction preset times in repeated broadcast address, still failed to obtain In the case of the identity information returned to the first slave, it is determined that judging that the first slave has got the address of host assignment.
By the above embodiment of the present invention, the slave with address no longer responds the address distribution of host broadcast and referred to Order, chance is provided so as to not get the slave of the address of host assignment yet for other, is obtaining ground between reduction slave Competitiveness during location, to ensure that all slaves in slave unit can smoothly get the address of host assignment.
According to the above embodiment of the present invention, said apparatus can also include:Verification unit and the 3rd generation unit.
Wherein, verification unit be used for main frame according to the identity information of the return generation address to be allocated for giving the first slave it Before, according to the identity information of the verification slave of code check first return.
3rd generation unit is used in the case where the identity information that the first slave returns is by verification, according to the first slave Identity recognition number generate the address to be allocated for giving the first slave.
Specifically, the validity that verifies the code check identity information of the main frame in the identity information received, and should In the case of verification code check is successful, the identity information of the first slave return is judged by verification, now main frame is according to first Identity recognition number (such as identification ID) in the identity information of slave automatically generates the address to be allocated to first slave.
Pass through the above embodiment of the present invention, it can be ensured that corresponding address is distributed automatically for slave, so that it is guaranteed that from The address between each slave in machine unit is different, in the running of follow-up air-conditioner set, it is ensured that can distinguish Each slave in slave unit, without increasing additional devices in the prior art, product cost is both reduced, and without setting manually Extra increased device is put, the effect for distributing address automatically for all slaves in slave unit is realized, so as to improve sky The installation effectiveness of unit is adjusted, simplifies the installing engineering of air-conditioner set.
Fig. 5 is the schematic diagram of the address distributing device of another air-conditioning equipment according to embodiments of the present invention.Such as Fig. 5 institutes Show, the device can include:Second receiving unit 50, the 4th judging unit 52, reply the receiving unit 56 of unit 54 and the 3rd.
Wherein, the second receiving unit is used for the address distribution instruction of Receiving Host broadcast, wherein, the slave in air-conditioner set Multiple slaves for being included in unit and main frame belong to same communication network, the first slave in slave unit in air-conditioner set For any one slave in slave unit.Specifically, it is powered first after air-conditioner set installation, will be automatically into ground Location allocation flow, the main frame in air-conditioner set distribute each Slave Broadcast address into slave unit to instruction.
Alternatively, when main frame is the indoor set in air-conditioner set, slave is line control machine;When main frame is in air-conditioner set During outdoor unit, slave is the indoor set in air-conditioner set.
4th judging unit is used to judge whether the first slave receives the address of host assignment.
Reply unit to be used in the case where the first slave does not receive the address of host assignment, believe to host response identity Breath.Specifically, replying unit can include:Generation module, for after address distribution instruction is received, generation identity to be believed Breath, wherein, identity information includes at least one following information:The frame head of identity information, the first slave identity recognition number and The check code of corresponding address distribution instruction;Sending module, for the random times after identity information is generated by identity information It is sent to main frame.
It should be further stated that after the first slave distributes instruction in the address for receiving host broadcast, if its The address of host assignment is not yet received, random communication tupe will be entered:The address distribution instruction of main frame is responded, based on body The frame head of part information, itself identity recognition number (such as identification ID) and with the address corresponding school of distribution instruction that it is received Code is tested, generates the identity information of first slave, and a certain moment after address distribution instruction is received is by the body of generation Part information is sent to main frame.
Alternatively, can be that each slave (such as line control machine) write-in is unique raw in the production process of air-conditioner set Bar code is produced, in this, as the identification ID of slave.
In this embodiment, due to each slave in slave unit at random to main frame send identity information, partly from Machine may be in the same time to host response identity information, and this will cause data overlap, main frame None- identified go out the part from The identity information that machine returns.But the time for always having part slave to host response identity information staggers, in this feelings Under condition, main frame can recognize the identity information of slave return.That is, main frame is always received at least one in slave unit The identity information that individual slave (such as the first slave) is replied, and generate address corresponding with the identity information.
3rd receiving unit is used for the address that Receiving Host distributes according to identity information.Specifically, the 3rd receiving unit can With including:Preserving module, for preserving address;Module is replied, for host response confirmation, wherein, confirmation is used Address is correctly received in the first slave of instruction.
In this embodiment, the first slave preserves the address that receives, and to the (confirmation of such as shaking hands of host response confirmation Information), to notify main frame first slave to be properly received the address of host assignment, the automatic address of first slave Distribution has been completed.
It should be further stated that confirmation is used to show that the first slave is correctly received main frame as its automatic point The address matched somebody with somebody, its particular content and form can specify according to program development design agreement, and this is not limited by the present invention.
Using the embodiment of the present invention, the address of the first slave Receiving Host broadcast in the slave unit in air-conditioner set is divided With instruction, and judge whether to have been received by the address of host assignment, in the case of the address of host assignment is not received by, to Host response identity information, so that main frame automatically generates the address of first slave according to the identity information, and Receiving Host is pressed According to the address of identity information distribution, it is achieved thereby that distributing address automatically for slave.By the above embodiment of the present invention, work as slave When multiple slaves in unit be present, main frame is respectively that each slave distributes address automatically, is distinguished so as to realize in slave unit Each slave, set manually without additionally increasing device in the prior art, and to extra increased device, so as to solve In the prior art when using RS485 buses to carry out data communication between the distinct device of air-conditioner set, it is necessary in air-conditioner set Toggle switch is set manually during project installation, causes the technical problem that installation effectiveness is low, realizes as air-conditioner set not Distribute the effect of address automatically with equipment, improve the installation effectiveness of air-conditioner set.
Further, by the above embodiment of the present invention, without increasing the difference that extra device can be air-conditioner set Equipment distributes address automatically, can reduce product cost.
According to the above embodiment of the present invention, reply unit and can be also used for judging to receive host assignment in the first slave Address in the case of, not to host response identity information.
By the above embodiment of the present invention, the slave with address no longer responds the address distribution of host broadcast and referred to Order, chance is provided so as to not get the slave of the address of host assignment yet for other, is obtaining ground between reduction slave Competitiveness during location, to ensure that all slaves in slave unit can smoothly get the address of host assignment.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (18)

  1. A kind of 1. address distribution method of air-conditioning equipment, it is characterised in that including:
    Main frame in air-conditioner set distributes to slave unit broadcast address to be instructed, wherein, included in the slave unit multiple Slave belongs to same communication network with the main frame;
    The main frame receives the identity information that the first slave distributes instruction return according to the address, wherein, first slave For any one slave in the slave unit;
    The main frame generates the address to be allocated to first slave according to the identity information of return;
    The main frame sends the address to corresponding first slave.
  2. 2. according to the method for claim 1, it is characterised in that when the main frame is the indoor set in the air-conditioner set When, the slave is line control machine;When the main frame is the outdoor unit in the air-conditioner set, the slave is the air conditioner Indoor set in group.
  3. 3. according to the method for claim 1, it is characterised in that main frame in air-conditioner set is to slave unit broadcast address After distribution instruction, methods described also includes:
    The main frame judges whether to get the identity information that first slave distributes instruction return according to the address;
    The identity information of first slave according to address distribution instruction return is got not successfully in the main frame In the case of, distribution instruction in address described in the main frame repeated broadcast, and judge whether to get first slave according to institute State the identity information that address distribution instruction returns;
    If the main frame still gets described first not successfully after distribution instruction preset times in address described in repeated broadcast The identity information that slave returns, then judge that first slave has got the address of the host assignment.
  4. 4. according to the method for claim 1, it is characterised in that receive the first slave according to the address point in the main frame Before the identity information returned with instruction, methods described also includes:
    First slave judges whether there is the address for being used for identifying first slave;
    If first slave generates institute without the address for being used to identify first slave, first slave Identity information is stated, wherein, the identity information includes at least one following information:The frame head of the identity information, described first The identity recognition number of slave and the check code of the corresponding address distribution instruction;
    The identity information of generation is sent to the main frame by the slave.
  5. 5. according to the method for claim 4, it is characterised in that
    If first slave has the address for being used to identify first slave, the main frame, which performs, to be judged whether Get the step of first slave distributes the identity information that instruction returns according to the address;
    The identity information of first slave according to address distribution instruction return is got not successfully in the main frame In the case of, distribution instruction in address described in the main frame repeated broadcast, and judge whether to get first slave according to institute State the identity information that address distribution instruction returns;
    If the main frame still gets described first not successfully after distribution instruction preset times in address described in repeated broadcast The identity information that slave returns, then judge that first slave has got the address of the host assignment.
  6. 6. according to the method for claim 4, it is characterised in that generated in the main frame according to the identity information of return Before address to be allocated to first slave, methods described also includes:
    The identity information that the main frame first slave according to the verification code check returns;
    If the identity information that first slave returns, by verification, the main frame is according to the identity of first slave Identifier generates the address to be allocated to first slave.
  7. A kind of 7. address distribution method of air-conditioning equipment, it is characterised in that including:
    The address distribution instruction of the first slave Receiving Host broadcast in slave unit in air-conditioner set, wherein, the slave The multiple slaves included in unit belong to same communication network with the main frame, and first slave is in the slave unit Any one slave;
    First slave judges whether to receive the address of the host assignment;
    If first slave does not receive the address of the host assignment, first slave is to the host response body Part information;
    First slave receives the address that the main frame distributes according to the identity information.
  8. 8. according to the method for claim 7, it is characterised in that include to the host response identity information:
    First slave generates the identity information after the address distribution instruction is received, wherein, the identity letter Breath includes at least one following information:The frame head of the identity information, the identity recognition number of first slave and corresponding institute State the check code of address distribution instruction;
    The identity information is sent to the main frame by random times of first slave after the identity information is generated.
  9. 9. according to the method for claim 7, it is characterised in that first slave receives the main frame according to the identity The address of information distribution includes:
    First slave preserves the address;
    First slave to the host response confirmation, wherein, the confirmation be used for indicate first slave It is correctly received the address.
  10. A kind of 10. address distributing device of air-conditioning equipment, it is characterised in that including:
    First radio unit, instructed for being distributed to slave unit broadcast address, wherein, included in the slave unit multiple Slave belongs to same communication network with the main frame in air-conditioner set;
    First receiving unit, the identity information returned for receiving the first slave according to address distribution instruction, wherein, it is described First slave is any one slave in the slave unit;
    First generation unit, for generating the address to be allocated to first slave according to the identity information of return;
    First transmitting element, for the address to be sent to corresponding first slave.
  11. 11. device according to claim 10, it is characterised in that when the main frame is the indoor set in the air-conditioner set When, the slave is line control machine;When the main frame is the outdoor unit in the air-conditioner set, the slave is the air conditioner Indoor set in group.
  12. 12. device according to claim 10, it is characterised in that described device also includes:
    First judging unit, after being instructed for the main frame in air-conditioner set to the distribution of slave unit broadcast address, judgement is The no identity information for getting first slave and instruction return being distributed according to the address;
    Second radio unit, returned for getting first slave not successfully in the main frame according to address distribution instruction In the case of the identity information returned, distribution instruction in address described in repeated broadcast, and judge whether to get described first from Machine distributes the identity information of instruction return according to the address;
    First determining unit, for the main frame described in repeated broadcast address distribution instruction preset times after, not yet into In the case that work(gets the identity information that first slave returns, it is determined that judging that first slave has been got The address of the host assignment.
  13. 13. device according to claim 10, it is characterised in that described device also includes:
    Second judging unit, for receiving identity information of first slave according to address distribution instruction return in the main frame Before, judge whether that there is the address for being used for identifying first slave;
    Second generation unit, for being used for the situation for identifying the address of first slave without described in first slave Under, the identity information is generated, wherein, the identity information includes at least one following information:The frame head of the identity information, The identity recognition number of first slave and the check code of the corresponding address distribution instruction;
    Second transmitting element, for the identity information of generation to be sent into the main frame.
  14. 14. device according to claim 13, it is characterised in that
    3rd judging unit, for there is the address for being used to identify first slave in first slave Under, judge whether to get the identity information that first slave distributes instruction return according to the address;
    3rd radio unit, returned for getting first slave not successfully in the main frame according to address distribution instruction In the case of the identity information returned, distribution instruction in address described in repeated broadcast, and judge whether to get described first from Machine distributes the identity information of instruction return according to the address;
    Second determining unit, for the main frame described in repeated broadcast address distribution instruction preset times after, not yet into In the case that work(gets the identity information that first slave returns, it is determined that judging that first slave has been got The address of the host assignment.
  15. 15. device according to claim 13, it is characterised in that described device also includes:
    Verification unit, for generating the ground to be allocated to first slave according to the identity information of return in the main frame Before location, according to the identity information of the first slave return described in the verification code check;
    3rd generation unit, for the identity information that is returned in first slave by verification in the case of, according to institute The identity recognition number for stating the first slave generates the address to be allocated to first slave.
  16. A kind of 16. address distributing device of air-conditioning equipment, it is characterised in that including:
    Instruction is distributed in second receiving unit, the address for Receiving Host broadcast, wherein, wrapped in the slave unit in air-conditioner set Multiple slaves for containing and the main frame belong to same communication network, the first slave in slave unit in the air-conditioner set For any one slave in the slave unit;
    4th judging unit, for judging whether first slave receives the address of the host assignment;
    Unit is replied, in the case of not receiving the address of the host assignment in first slave, to the main frame Reply identity information;
    3rd receiving unit, the address distributed for receiving the main frame according to the identity information.
  17. 17. device according to claim 16, it is characterised in that the reply unit includes:
    Generation module, for after the address distribution instruction is received, generating the identity information, wherein, the identity Information includes at least one following information:The frame head of the identity information, the identity recognition number of first slave and correspondingly The check code of the address distribution instruction;
    Sending module, the identity information is sent to the master for the random times after the identity information is generated Machine.
  18. 18. device according to claim 16, it is characterised in that the 3rd receiving unit includes:
    Preserving module, for preserving the address;
    Module is replied, for the host response confirmation, wherein, the confirmation is used to indicate first slave It is correctly received the address.
CN201510431740.5A 2015-07-21 2015-07-21 The address distribution method and device of air-conditioning equipment Active CN104964399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510431740.5A CN104964399B (en) 2015-07-21 2015-07-21 The address distribution method and device of air-conditioning equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510431740.5A CN104964399B (en) 2015-07-21 2015-07-21 The address distribution method and device of air-conditioning equipment

Publications (2)

Publication Number Publication Date
CN104964399A CN104964399A (en) 2015-10-07
CN104964399B true CN104964399B (en) 2017-12-19

Family

ID=54218455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510431740.5A Active CN104964399B (en) 2015-07-21 2015-07-21 The address distribution method and device of air-conditioning equipment

Country Status (1)

Country Link
CN (1) CN104964399B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391814A (en) * 2015-10-19 2016-03-09 珠海格力电器股份有限公司 Address allocation method and device for main and auxiliary wire controllers
CN106067837B (en) * 2016-05-18 2018-11-30 珠海格力电器股份有限公司 Multi-variable air conditioning unit and its address setting method and device
CN106101299B (en) * 2016-06-20 2019-07-09 海信(山东)空调有限公司 Method for assigning address to indoor unit and multi-line system
CN107071077A (en) * 2017-01-10 2017-08-18 邯郸美的制冷设备有限公司 Mailing address distribution method, equipment and its system of air-conditioning system
CN107249048B (en) * 2017-06-26 2020-08-11 珠海格力电器股份有限公司 Air conditioning system and address allocation method and device thereof
CN109428951A (en) * 2017-08-31 2019-03-05 亚瑞源科技(深圳)有限公司 Address automatic allocating method in serial communication system
TWI635729B (en) * 2017-09-01 2018-09-11 亞源科技股份有限公司 Automatic address assignment method in series communication system
CN107707684B (en) * 2017-09-06 2021-06-22 广东美的暖通设备有限公司 Indoor unit address allocation method, switching device and computer readable storage medium
CN108019881B (en) * 2017-11-10 2021-05-25 青岛海尔空调电子有限公司 Wire controller power supply control method and device of multi-connected air conditioning system and air conditioner
CN108769241B (en) * 2018-06-12 2021-11-23 广东芬尼克兹节能设备有限公司 Operation method, device and system for remote control of heat pump unit
CN109084404A (en) * 2018-07-06 2018-12-25 珠海格力电器股份有限公司 Unit address distribution method, device, system and unit
CN109373521B (en) * 2018-10-09 2020-08-25 广东美的制冷设备有限公司 Communication method and device of air conditioner, outdoor unit, indoor unit and air conditioner
CN111182086A (en) * 2018-11-13 2020-05-19 南京南瑞继保电气有限公司 CAN bus address allocation method and device based on one-master multi-slave module
CN111510358A (en) * 2019-01-30 2020-08-07 施耐德电气工业公司 Method, device and computer program product for configuring a slave device
CN109981821A (en) * 2019-04-10 2019-07-05 深圳市信锐网科技术有限公司 Distribution method, system, device, equipment and the medium of Internet of Things bus address
CN110296503B (en) * 2019-05-10 2021-04-27 珠海格力电器股份有限公司 Method for automatically allocating addresses to air conditioning unit and air conditioning system
CN110933194B (en) * 2019-11-05 2021-06-22 珠海格力电器股份有限公司 Automatic address allocation method, equipment and system
CN111147619B (en) * 2019-12-20 2022-07-19 海丰通航科技有限公司 Method and system for realizing automatic address allocation of RS485 slave equipment locally
CN111928439B (en) * 2020-08-04 2022-02-11 广东美的暖通设备有限公司 Address configuration method, configuration device, air conditioning system and readable storage medium
CN112601236A (en) * 2020-12-07 2021-04-02 深圳市佳贤通信设备有限公司 5G frequency shift multi-path system without adding network protocol and distribution method thereof
CN113542084A (en) * 2021-06-28 2021-10-22 珠海格力电器股份有限公司 Indoor unit individual networking method and system
CN114019865A (en) * 2021-11-03 2022-02-08 弘正储能(上海)能源科技有限公司 Automatic addressing device and method for low-voltage energy storage system
CN114785828B (en) * 2022-04-22 2023-05-02 珠海格力电器股份有限公司 Data communication method, special device, electric apparatus and storage medium
CN115314470A (en) * 2022-06-29 2022-11-08 广东南控云图科技有限公司 RS-485 networking communication address automatic allocation method, host, slave and system
CN115550312A (en) * 2022-08-25 2022-12-30 深圳市超思维电子股份有限公司 Battery address allocation method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401956A (en) * 2013-08-06 2013-11-20 四川长虹电器股份有限公司 Address assigning method, data transmission method, indoor unit, outdoor unit and air-conditioning system
CN104101048A (en) * 2013-04-15 2014-10-15 广东美的暖通设备有限公司 Setting method for communication address of indoor unit in air conditioning system and air conditioning system
CN104566858A (en) * 2014-12-24 2015-04-29 广东美的制冷设备有限公司 Air conditioner group system and control method for use in air conditioner group system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100550220B1 (en) * 2004-04-27 2006-02-08 위니아만도 주식회사 Method for setting automatic address for communication of multi air-conditioner
KR101232928B1 (en) * 2011-06-10 2013-02-13 오텍캐리어 주식회사 Automatic allocation method of communication address for multi­airconditioner system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104101048A (en) * 2013-04-15 2014-10-15 广东美的暖通设备有限公司 Setting method for communication address of indoor unit in air conditioning system and air conditioning system
CN103401956A (en) * 2013-08-06 2013-11-20 四川长虹电器股份有限公司 Address assigning method, data transmission method, indoor unit, outdoor unit and air-conditioning system
CN104566858A (en) * 2014-12-24 2015-04-29 广东美的制冷设备有限公司 Air conditioner group system and control method for use in air conditioner group system

Also Published As

Publication number Publication date
CN104964399A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104964399B (en) The address distribution method and device of air-conditioning equipment
CN105259806B (en) Controller upgrade method and system and master controller and from controller
CN105846858A (en) Multi connection air conditioning units, networking method thereof and device
US10204072B2 (en) Method for automatically allocating addresses to similar bus users
CN107071077A (en) Mailing address distribution method, equipment and its system of air-conditioning system
CN104949288B (en) Multi-variable air conditioning unit and its program upgrade system and method, program upgrade apparatus
US11336616B2 (en) Address competition method of multi-connected type control system
CN107632526A (en) A kind of control device, method, storage medium and equipment
CN107249048A (en) Air-conditioning system and its address distribution method and device
CN108121210A (en) Authority distributing method and device, storage medium, the processor of home appliance
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN108800446A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN107707684B (en) Indoor unit address allocation method, switching device and computer readable storage medium
CN108205621A (en) Authority distributing method and device
CN105588294B (en) A kind of establishing method and device of air-conditioning address
CN108592310A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN104580029B (en) Address distribution method and device
CN108616582A (en) The matching method of interior machine and line control machine, apparatus and system
CN108709290A (en) Network-building method and device, the storage medium and processor of air-conditioning system
CN108418606A (en) Data transmission method for uplink and device, multi-line system
CN108800454A (en) Method of data synchronization and device, multi-online air-conditioning system
CN108662718A (en) The network-building method and device of air conditioner
CN108105948A (en) Air conditioning control method, device, storage medium, air-conditioning and server
CN106571942A (en) Configuration data updating method, client side and server
CN107295117B (en) A kind of distribution method and device of address pool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant