CN107249048A - Air-conditioning system and its address distribution method and device - Google Patents

Air-conditioning system and its address distribution method and device Download PDF

Info

Publication number
CN107249048A
CN107249048A CN201710497180.2A CN201710497180A CN107249048A CN 107249048 A CN107249048 A CN 107249048A CN 201710497180 A CN201710497180 A CN 201710497180A CN 107249048 A CN107249048 A CN 107249048A
Authority
CN
China
Prior art keywords
address
control device
node
air
conditioning system
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
CN201710497180.2A
Other languages
Chinese (zh)
Other versions
CN107249048B (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 CN201710497180.2A priority Critical patent/CN107249048B/en
Publication of CN107249048A publication Critical patent/CN107249048A/en
Application granted granted Critical
Publication of CN107249048B publication Critical patent/CN107249048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/40163Bus networks involving priority mechanisms by assigning priority to messages according to a message field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The invention discloses a kind of air-conditioning system and its address distribution method and device.This method includes:Control device receives the application IP addresses from node device by CAN, wherein, application IP addresses are used to ask control device to distribute address to node device;Control device distributes node device address so that node device carries out data communication by CAN by CAN.The present invention solves air-conditioning system low technical problem of Reliability comparotive when entering row address distribution.

Description

Air-conditioning system and its address distribution method and device
Technical field
The present invention relates to field of air conditioning, in particular to a kind of air-conditioning system and its address distribution method and device.
Background technology
The device node of air-conditioning network, which needs to have unique address, to be communicated, and air-conditioning, such as HVAC Project installation possess certain complexity, in the related art, generally using artificial setting address by the way of, and traditional people Work sets the mode too very complicated of address, particularly in multiple on-line system, as multiple on-line system constantly expands, by hand Dial-up is increasingly becoming the debug point that is most difficult to of installation and debugging after sale, and debugging workman is that record and checking dial-up need to expend substantial amounts of people Power.Further, due to the quality problems that dial-up error tape comes, the convenience and reliability of commissioning of central air conditioning systems are reduced.
The problem of Reliability comparotive is low when entering row address distribution for air-conditioning system, not yet proposes effective solve at present Scheme.
The content of the invention
The embodiments of the invention provide a kind of air-conditioning system and its address distribution method and device, at least to solve air-conditioning system System low technical problem of Reliability comparotive when entering row address distribution.
There is provided a kind of address distribution method of air-conditioning system, air-conditioning system for one side according to embodiments of the present invention Communication is performed based on CAN communication agreement including control device and node device and air-conditioning system, this method includes:Control device Application IP addresses from node device are received by CAN, wherein, application IP addresses are used to ask control device to node device Distribute address;Control device distributes node device address so that node device carries out data by CAN by CAN Communication.
Further, after control device receives the application IP addresses from node device by CAN, method is also wrapped Include:Control device judges whether the address in the data frame of application IP addresses is consistent with the address prestored;If it is judged that address Shen The address in data frame please is consistent with the address prestored, then the address prestored is distributed into node device by CAN;Such as The address that fruit judges address in the data frames of application IP addresses and prestored is inconsistent, then new address is passed through into CAN and divided Dispensing node device.
Further, the address prestored is distributed into node device by CAN includes:By sending distribution number of addresses Node device is distributed to according to by the address prestored;Record the distribution address date sent.
Further, new address is distributed into node device by CAN includes:By sending distribution address date Node device is distributed into new address;Record the distribution address date sent.
Another aspect according to embodiments of the present invention, additionally provides a kind of address distributing device of air-conditioning system, air-conditioning system System includes control device and node device and air-conditioning system performs communication based on CAN communication agreement, and device includes control device, Control device is used to receive the application IP addresses from node device by CAN and node device is distributed by CAN Address carries out data communication so as to node device by CAN, wherein, application IP addresses are used to ask control device to set node Back-up matches somebody with somebody address.
Further, control device is additionally operable to after the application IP addresses from node device are received by CAN, control Control equipment judges whether the address in the data frame of application IP addresses is consistent with the address prestored, is judging the data of application IP addresses When address in frame is consistent with the address prestored, node device is distributed into by CAN in the address prestored, is judging ground During address and the inconsistent address that prestores in the data frame of location application, node is distributed into by CAN in new address and set It is standby.
Further, control device is additionally operable to that the address prestored is distributed into node device by transmission distribution address date And record the distribution address date of transmission.
Further, control device is additionally operable to that new address is distributed into node device simultaneously by transmission distribution address date Record the distribution address date sent.
Further, the frame format of the CAN communication agreement includes function code, data category, CAN network address and data Section.
Another aspect according to embodiments of the present invention, additionally provides a kind of air-conditioning system, and air-conditioning system includes control device Communication is performed based on CAN communication agreement with node device and air-conditioning system, wherein, control device is used to connect by CAN Receive the application IP addresses from node device and distribute node device address by CAN so that node device is total by CAN Line carries out data communication, wherein, application IP addresses are used to ask control device to distribute address to node device.
Further, node device is used to receive the distribution address date from control device.
Further, node device distributes to other node devices for monitoring the bus data in CAN to monitor Address it is whether identical with Self address, it is defeated when monitoring that the address for distributing to other node devices is identical with Self address Go out address conflict prompt message.
Further, the frame format of the CAN communication agreement includes function code, data category, CAN network address and data Section.
In embodiments of the present invention, the application IP addresses from node device are received by CAN using control device, and By way of CAN carries out data communication so as to node device to node device distribution address by CAN, pass through CAN communication agreement enters row address distribution, improves reliability of the air-conditioning system when entering row address distribution, and then solve air-conditioning System low technical problem of Reliability comparotive when entering row address distribution.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute 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 system according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the address distribution method of optional air-conditioning system according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of multi-gang air conditioner according to embodiments of the present invention;And
Fig. 4 is a kind of schematic diagram of optional multi-gang air conditioner 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, should all belong to the model that the present invention is protected 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 using 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 Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to 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.
The embodiments of the invention provide a kind of address distribution method of air-conditioning system, air-conditioning system includes control device and section Point device and air-conditioning system are based on controller LAN (Controller Area Network, referred to as CAN) communications protocol Perform communication.Fig. 1 is a kind of flow chart of the address distribution method of air-conditioning system according to embodiments of the present invention.As shown in figure 1, This method includes:
Step S102, control device receives the application IP addresses from node device by CAN, wherein, application IP addresses For asking control device to distribute address to node device.
Step S104, control device distributes node device address so that node device passes through CAN by CAN Carry out data communication.
Alternatively, after control device receives the application IP addresses from node device by CAN, method is also wrapped Include:Control device judges whether the address in the data frame of application IP addresses is consistent with the address prestored;If it is judged that address Shen The address in data frame please is consistent with the address prestored, then the address prestored is distributed into node device by CAN;Such as The address that fruit judges address in the data frames of application IP addresses and prestored is inconsistent, then new address is passed through into CAN and divided Dispensing node device.
Alternatively, the address prestored is distributed into node device by CAN includes:By sending distribution address date Node device is distributed into the address prestored;Record the distribution address date sent.
Alternatively, new address is distributed into node device by CAN includes:Will by sending distribution address date Distribute to node device in new address;Record the distribution address date sent.
In embodiments of the present invention, on device node after electricity, control device node is periodically sent out primary address application, control Set up slave node and receive and address is distributed after information.Device node is received behind the address of control device node distribution, does not retransmit Shen Please information, into normal communication, see the address allocation flow of accompanying drawing 2.
Fig. 2 is a kind of flow chart of the address distribution method of optional air-conditioning system according to embodiments of the present invention.Below The address distribution method of the embodiment of the present invention is further described below with reference to Fig. 2:
1st, on device node after electricity, application IP addresses are periodically sent, the format frame of transmission is as shown in table 1 below:
Table 1
The format frame is illustrated below:
(1) differentiation of section is arbitrated:
Predetermined bit position before the arbitration section of frame, for example, first 8 are used for function code and judge, it is applied address during application IP addresses Frame (103);Others arbitration Duan Ze is used for the own MAC address information for sending device node, is used as each device node data The priority of transmission.
(2) data amount check is transmitted according to the number of data segment, for example, scope is 0~7.
(3) data segment:1st byte sends facility information, according to facility information when distribution address, determines distribution phase The address field answered, other data bit then refill the mac address information of device node.
2nd, device node is sent after application frame, and control device receives corresponding application IP addresses information, control device (main frame) The mac address information of the device node of original storage is read, device node module assignment address is given.
(1) control device reads the mac address information of storage and receives device node application IP addresses frame mac address information one Cause, then distribute original address.
(2) control device reads the mac address information of storage and receives device node application IP addresses frame mac address information not Unanimously, then from newly distributing new address.
(3) control device memory is received all mac address informations and its corresponding distribution address information, are easy to set next time When slave node re-powers application, directly address is distributed in the way of (1).
(4) address information for needing to distribute is sent to corresponding device node by control device, and the format frame of transmission is as follows Shown in table 2:
Table 2
The format frame is illustrated below:
(1) differentiation of section is arbitrated:
Predetermined bit position before the arbitration section of frame, for example, first 8 are used for function code and judge, it is distribution address when address is distributed Frame (71);Others arbitration Duan Ze is used for the mac address information for sending the device node for needing to distribute address, is sent as data Priority.
(2) data amount check is transmitted according to the number of data segment, for example, scope is 0~7.
(3) data segment:1st byte sends the facility information of applied address, according to facility information when distribution address, Determine the corresponding address field of distribution;Other data bit then refill the MAC Address letter for the device node for needing to distribute address Breath.
3rd, in same communication network, all node device network address are all unique, when there are two or more During identical address, then corresponding device sends address conflict frame, and applied address again.
The frame format of address conflict data frame is as shown in table 3 below:
Table 3
The format frame is illustrated below:
(1) differentiation of section is arbitrated:
Predetermined bit position before the arbitration section of frame, for example, first 8 are used for function code and judge, it is collision alert during address conflict Frame (85);Others arbitration Duan Ze is used for the mac address information for sending equipment of itself node, the priority sent as data.
(2) data amount check is transmitted according to the number of data segment, for example, scope is 0~7.
(3) data segment:1st byte sends the facility information of applied address;Other data bit then refill itself The mac address information of device node.
It should be noted that can be in such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated Performed in computer system, and, although logical order is shown in flow charts, but in some cases, can be with not The order being same as herein performs shown or described step.
The embodiment of the present invention additionally provides a kind of address distributing device of air-conditioning system, air-conditioning system include control device and Node device and air-conditioning system performs communication based on CAN communication agreement, the device includes control device, and control device is used to lead to CAN is crossed to receive the application IP addresses from node device and distribute node device address by CAN so that node is set It is standby that data communication is carried out by CAN, wherein, application IP addresses are used to ask control device to distribute address to node device.
Alternatively, control device is additionally operable to after the application IP addresses from node device are received by CAN, control Equipment judges whether the address in the data frame of application IP addresses is consistent with the address prestored, is judging the data frame of application IP addresses In address it is consistent with the address prestored when, node device is distributed into by CAN in the address prestored, address is being judged When address in the data frame of application and the inconsistent address prestored, node device is distributed into new address by CAN.
Alternatively, control device is additionally operable to that the address prestored is distributed into node device simultaneously by transmission distribution address date Record the distribution address date sent.
Alternatively, control device is additionally operable to that new address is distributed into node device by transmission distribution address date and remembered Record the distribution address date sent.
The embodiment of the present invention additionally provides a kind of air-conditioning system, and the system can be used for the side for performing the embodiment of the present invention Method.Air-conditioning system includes control device and node device and air-conditioning system performs communication based on CAN communication agreement, wherein, control Control equipment be used for by CAN reception the application IP addresses from node device and by CAN to node device distributively Location carries out data communication so as to node device by CAN, wherein, application IP addresses are used to ask control device to node device Distribute address.
Alternatively, node device is used to receive the distribution address date from control device.
Alternatively, the bus data that node device is used to monitor in CAN distributes to other node devices to monitor Whether address is identical with Self address, when monitoring that the address for distributing to other node devices is identical with Self address, output Address conflict prompt message.
In embodiments of the present invention, the application IP addresses from node device are received by CAN using control device, and By way of CAN carries out data communication so as to node device to node device distribution address by CAN, pass through CAN communication agreement enters row address distribution, improves reliability of the air-conditioning system when entering row address distribution, and then solve air-conditioning System low technical problem of Reliability comparotive when entering row address distribution.
Applied in air-conditioning, there is provided one that application IP addresses during CAN communication are distributed by CAN communication for the embodiment of the present invention Transmission means is planted, the mode of application IP addresses function, address allocation function and address conflict detection is defined, simplifies and installed Journey, has saved debugging cost, it is to avoid because the quality problems that dial-up error tape comes, and improves unit regulation convenience and reliable Property, multinode communication sets address without artificial again.
The air-conditioning system to the present invention further carries out citing description below.
Air-conditioning system provided in an embodiment of the present invention can be a kind of multi-gang air conditioner, and the multi-gang air conditioner includes the One control device and the second control device, the first control device are connected with multiple node devices.The multi-gang air conditioner is based on control Device LAN (Controller Area Network, referred to as CAN) communications protocol processed performs data communication.
Fig. 3 is a kind of schematic diagram of multi-gang air conditioner according to embodiments of the present invention.
As shown in figure 3, the air-conditioning system includes two layers of CAN network:First CAN network and the second CAN network, the first CAN Network can have multiple, it may for example comprise the one one CAN network.The CAN network 11 of one one CAN network namely diagram, second The CAN network 2 of CAN network namely diagram, specifically, the air-conditioning system includes:First control device, that is, control device 1; Second control device, that is, control device 2.One one CAN network includes control device 1 and the section being connected with the control device 1 Point device, control device 1 can be connected at least one node device, for example, it is illustrated that node device 11 to node device 1n. Second CAN network includes that in control device 1 and control device 2, second CAN network other equipment, example can also be connected with Such as, control device 1 or control device 2 can be controlled in the second CAN network as common control equipment by the second CAN network The operation of other equipment, or, single common control equipment can also be set in the second CAN network, controlled by the concentration Control equipment is controlled to control device 1 and control device 2.Equipment in second CAN network can be held by the second CAN network Row communication, the equipment in the one one CAN network can perform communication by the one one CAN network, for example, control device 1 and the The node device in CAN network is connected one by one.Specifically, the first control device and the second control device pass through the 2nd CAN nets Network is communicated, for example, the first control device is communicated or by the second CAN network with the second control device One control device and the second control device are communicated by the second CAN network with the other equipment in the second CAN network.Should Embodiment employs double-deck CAN communication network:One one CAN network, that is, CAN network 11;Second CAN network, that is, CAN Network 2.CAN network is constituted by control device 1 and with the node device that control device 1 is connected, and CAN network 2 is by CAN11 networks Control device, common control equipment and gateway device etc. constitute, CAN network 11 and CAN network 2 are separate communication networks Network;The data that the control device node of CAN network 11 is responsible for miscellaneous equipment node in network are uploaded to CAN network 2 and by CAN nets Device node of the data down transmission of the device nodes such as centralized Control, the gateway of network 2 into CAN1 networks.In this embodiment, control Control equipment 1 is located in CAN network 11, and equipment 11 that the CAN network 11 also includes being connected with control device 1, equipment 12 are to setting Standby 1n.
Include two layers of CAN network in the multi-gang air conditioner, i.e. the first CAN network and the second CAN network.First control Control equipment and multiple node devices of the first control device connection are respectively positioned on the first CAN network, are led to by the first CAN network News, the first control device is also located in the second CAN network simultaneously, is set by the second CAN network and other in the second CAN network It is standby to perform communication.
First control device is also located in the second CAN network.It should be noted that the multi-gang air conditioner can also include More than two layers of CAN network.
The multi-gang air conditioner communication network characteristic such as have unit high number, mounting distance remote.Fig. 4 is according to the present invention A kind of schematic diagram of optional multi-gang air conditioner of embodiment.Lead to as shown in figure 4, the embodiment of the present invention employs double-deck CAN Communication network:First CAN network and the second CAN network.First CAN network can include at least one CAN network, it may for example comprise Diagram:One one CAN network, that is, CAN network 11;Second CAN network, that is, CAN network 12 is to CAN network 1n.Lift For example, CAN11 networks are constituted by control device 1 and with the node device that the control device 1 is connected, and CAN network 2 is by CAN1 nets Control device 1, common control equipment and gateway device of network etc. are constituted, and CAN network 11 is separate lead to CAN network 2 Communication network;The data that the node of control device 1 of CAN network 11 is responsible for miscellaneous equipment node in network are uploaded to CAN network 2 and incited somebody to action Device node of the data down transmission of the device nodes such as centralized Control, the gateway of CAN network 2 into CAN1 networks.In the embodiment In, control device 1 is located in CAN network 11, and the CAN network 11 also includes equipment 11, the equipment 12 being connected with control device 1 To equipment 1n.Control device 2 be located at CAN network 12 in, the CAN network 12 also include be connected with control device 2 equipment 21, Equipment 22 is to equipment 2n.Control device 1 and control device 2 are also provided in CAN network 2, and n can be provided with CAN network 2 Control device, wherein, control device n is located in CAN network 1n, and CAN network 1n also includes the equipment being connected with control device n N1, equipment n2 are to equipment nn.Common control equipment and gateway device are also provided with CAN network 2.In addition, the implementation CAN network 11, CAN network 12 and CAN network 1n in example may be collectively referred to as CAN network 1.CAN network 1 is phase with CAN network 2 Mutual independent communication network.
It should be noted that in this embodiment, control device of the control device 1 into control device n can also be realized The function of Centralized Controller, now, it is not necessary to be separately provided the Centralized Controller shown in figure again, if control device 1 is to control Control device in control equipment n is also configured as the function for realizing gateway device, then can also be no longer in the embodiment of the present invention The single gateway device of diagram is set.
Communication efficiency is improved in order to further, and the one one CAN network is by the first CAN network equipment for pre-setting Location carries out CAN network communication, and the second CAN network is communicated by the second CAN network device address pre-set.Second CAN network can carry out CAN network by the first CAN network device address pre-set and the second CAN network device address Communication.
Alternatively, the communication frames of the one one CAN network include setting in advance in the first extension frame, the arbitration section of the first extension frame It is equipped with the first CAN network device address.The communication frames of second CAN network include the second extension frame, the arbitration section of the second extension frame In be previously provided with the second CAN network device address.
Alternatively, when data are transmitted in the one one CAN network, the first CAN network device address as data source Address or destination address.When data are transmitted in the second CAN network, the first CAN network device address and the second CAN network are set The combination of standby address as data source address or destination address.
Alternatively, the first control device includes:First outdoor unit.Second control device includes:Second outdoor unit.First group Node device includes:First group of indoor set.
Alternatively, common control equipment is additionally provided with the second CAN network, the first control device is used to set centralized Control Equipment of the standby data distributing into the one one CAN network, and the data of the equipment in the one one CAN network are uploaded to collection Middle control device.
Alternatively, multi-gang air conditioner also includes:Gateway device, with common control equipment, the first control device and second Control device is communicated.
Alternatively, multi-gang air conditioner also includes:Second group node equipment, wherein, the second control device and second group of section Communicated between point device by the one or two CAN network.
Alternatively, multi-gang air conditioner also includes:Second group node equipment includes:Second group of indoor set.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
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, 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 division of described unit, Ke Yiwei A kind of division of logic function, can there is other dividing mode when actually realizing, such as 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 the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious 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 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, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part 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 to cause a computer Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the 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 (12)

1. a kind of address distribution method of air-conditioning system, it is characterised in that the air-conditioning system includes control device and node is set Standby and described air-conditioning system performs communication based on CAN communication agreement, and methods described includes:
The control device receives the application IP addresses from the node device by CAN, wherein, the application IP addresses are used In asking the control device address is distributed to the node device;And
It is described so that the node device passes through that the control device distributes address by the CAN to the node device CAN carries out data communication.
2. the address distribution method of air-conditioning system according to claim 1, it is characterised in that pass through in the control device CAN is received after the application IP addresses from the node device, and methods described also includes:
The control device judges whether the address in the data frame of the application IP addresses is consistent with the address prestored;
If it is judged that the address in the data frame of the application IP addresses is consistent with the address prestored, then the address prestored is passed through The CAN distributes to the node device;And
If it is judged that address in the data frame of the application IP addresses and the address prestored are inconsistent, then new address is passed through The CAN distributes to the node device.
3. the address distribution method of air-conditioning system according to claim 2, it is characterised in that the address prestored is passed through into institute Stating CAN and distributing to the node device includes:
The address prestored is distributed to by the node device by transmission distribution address date;And
Record the distribution address date sent.
4. the address distribution method of air-conditioning system according to claim 2, it is characterised in that pass through new address described CAN, which distributes to the node device, to be included:
The new address is distributed to by the node device by transmission distribution address date;And
Record the distribution address date sent.
5. the address distribution method of air-conditioning system according to claim 1, it is characterised in that the CAN communication agreement Frame format includes function code, data category, CAN network address and data segment.
6. a kind of address distributing device of air-conditioning system, it is characterised in that the air-conditioning system includes control device and node is set Standby and described air-conditioning system performs communication based on CAN communication agreement, and described device includes the control device, and the control is set It is ready for use on and the application IP addresses from the node device is received by CAN and the node set by the CAN Back-up matches somebody with somebody address so that the node device carries out data communication by the CAN, wherein, the application IP addresses are used for please The control device is asked to distribute address to the node device.
7. the address distributing device of air-conditioning system according to claim 6, it is characterised in that the control device is additionally operable to After the application IP addresses from the node device are received by CAN, the control device judges the application IP addresses Data frame in address it is whether consistent with the address prestored, address in the data frame for judging the application IP addresses with it is pre- When the address deposited is consistent, the node device is distributed into by the CAN in the address prestored, the address is being judged When address in the data frame of application and the inconsistent address prestored, new address is distributed to by the CAN described Node device.
8. the address distributing device of air-conditioning system according to claim 7, it is characterised in that the control device is additionally operable to The address prestored is distributed to by the node device by transmission distribution address date and recorded described in transmission distributively Location data.
9. the address distributing device of air-conditioning system according to claim 7, it is characterised in that the control device is additionally operable to The new address is distributed to by the node device by transmission distribution address date and the distribution address of transmission is recorded Data.
10. a kind of air-conditioning system, it is characterised in that the air-conditioning system includes control device and node device and the air-conditioning System performs communication based on CAN communication agreement, wherein, the control device, which is used to receive by CAN, comes from the node The application IP addresses of equipment are simultaneously described so that the node device passes through to node device distribution address by the CAN CAN carry out data communication, wherein, the application IP addresses be used for ask the control device to the node device distributively Location.
11. air-conditioning system according to claim 10, it is characterised in that the node device, which is used to receive, comes from the control The distribution address date of control equipment.
12. air-conditioning system according to claim 10, it is characterised in that the node device is total for monitoring the CAN Bus data on line with monitor distribute to other node devices address it is whether identical with Self address, monitoring to distribute to When the address of other node devices is identical with Self address, OPADD conflict prompt message.
CN201710497180.2A 2017-06-26 2017-06-26 Air conditioning system and address allocation method and device thereof Active CN107249048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710497180.2A CN107249048B (en) 2017-06-26 2017-06-26 Air conditioning system and address allocation method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710497180.2A CN107249048B (en) 2017-06-26 2017-06-26 Air conditioning system and address allocation method and device thereof

Publications (2)

Publication Number Publication Date
CN107249048A true CN107249048A (en) 2017-10-13
CN107249048B CN107249048B (en) 2020-08-11

Family

ID=60014223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710497180.2A Active CN107249048B (en) 2017-06-26 2017-06-26 Air conditioning system and address allocation method and device thereof

Country Status (1)

Country Link
CN (1) CN107249048B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770300A (en) * 2017-10-31 2018-03-06 珠海格力电器股份有限公司 Address distribution method and device
CN109654667A (en) * 2018-11-16 2019-04-19 珠海格力电器股份有限公司 A kind of CAN bus based address distribution method, system and air conditioner
CN110061879A (en) * 2019-04-24 2019-07-26 宁波弘讯软件开发有限公司 Device and method, system, equipment, computer storage medium is arranged in node ID
CN110691147A (en) * 2018-07-05 2020-01-14 青岛海尔空调电子有限公司 Address competition method of multi-connected control system
CN110830338A (en) * 2019-11-13 2020-02-21 广东美的暖通设备有限公司 Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium
CN111698342A (en) * 2020-04-30 2020-09-22 北京海林节能科技股份有限公司 Temperature controller communication address allocation method and system
CN112866072A (en) * 2020-12-15 2021-05-28 杭州协能科技股份有限公司 Control method for CAN bus ID distribution
CN113098746A (en) * 2021-03-31 2021-07-09 三一汽车起重机械有限公司 CAN bus communication method and device for work machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101852472A (en) * 2009-04-01 2010-10-06 欧威尔空调(中国)有限公司 Automatic addressing method for air conditioning system and air conditioning controller
KR101232928B1 (en) * 2011-06-10 2013-02-13 오텍캐리어 주식회사 Automatic allocation method of communication address for multi­airconditioner system
CN104964399A (en) * 2015-07-21 2015-10-07 珠海格力电器股份有限公司 Address allocation method and device for air conditioning equipment
CN105007340A (en) * 2015-06-30 2015-10-28 苏州汇川技术有限公司 Distributed CAN (Controller Area Network) network supporting plug and play and automatic node address allocation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101852472A (en) * 2009-04-01 2010-10-06 欧威尔空调(中国)有限公司 Automatic addressing method for air conditioning system and air conditioning controller
KR101232928B1 (en) * 2011-06-10 2013-02-13 오텍캐리어 주식회사 Automatic allocation method of communication address for multi­airconditioner system
CN105007340A (en) * 2015-06-30 2015-10-28 苏州汇川技术有限公司 Distributed CAN (Controller Area Network) network supporting plug and play and automatic node address allocation method thereof
CN104964399A (en) * 2015-07-21 2015-10-07 珠海格力电器股份有限公司 Address allocation method and device for air conditioning equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770300A (en) * 2017-10-31 2018-03-06 珠海格力电器股份有限公司 Address distribution method and device
CN107770300B (en) * 2017-10-31 2020-05-22 珠海格力电器股份有限公司 Address allocation method and device
CN110691147A (en) * 2018-07-05 2020-01-14 青岛海尔空调电子有限公司 Address competition method of multi-connected control system
CN110691147B (en) * 2018-07-05 2021-07-27 青岛海尔空调电子有限公司 Address competition method of multi-connected control system
CN109654667A (en) * 2018-11-16 2019-04-19 珠海格力电器股份有限公司 A kind of CAN bus based address distribution method, system and air conditioner
CN109654667B (en) * 2018-11-16 2020-04-28 珠海格力电器股份有限公司 Address allocation method and system based on CAN bus and air conditioner
CN110061879A (en) * 2019-04-24 2019-07-26 宁波弘讯软件开发有限公司 Device and method, system, equipment, computer storage medium is arranged in node ID
CN110830338A (en) * 2019-11-13 2020-02-21 广东美的暖通设备有限公司 Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium
CN111698342A (en) * 2020-04-30 2020-09-22 北京海林节能科技股份有限公司 Temperature controller communication address allocation method and system
CN112866072A (en) * 2020-12-15 2021-05-28 杭州协能科技股份有限公司 Control method for CAN bus ID distribution
CN113098746A (en) * 2021-03-31 2021-07-09 三一汽车起重机械有限公司 CAN bus communication method and device for work machine

Also Published As

Publication number Publication date
CN107249048B (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN107249048A (en) Air-conditioning system and its address distribution method and device
CN104964399B (en) The address distribution method and device of air-conditioning equipment
US10204072B2 (en) Method for automatically allocating addresses to similar bus users
CN105846858A (en) Multi connection air conditioning units, networking method thereof and device
US20030167360A1 (en) Address assignment method for at least one bus device that has recently been connected to a bus system
CN108488914A (en) Air-conditioner set, the operating method of air-conditioner set and device
CN101635637A (en) Method and system for distributing intelligent addresses based on serial bus
CN106444602A (en) Security programmable logic controller communication system and communication method
CN108800446A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN106067837A (en) Multi-variable air conditioning unit and address setting method thereof and device
CN108592310A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN101072041B (en) Address conflict detecting method and system for electric-tuning antenna device
CN106506595A (en) Upgrade method based on point-to-point Internet of Things intelligent Community equipment
CN105099898A (en) PPPOE (point-to-point protocol over Ethernet) message forwarding method and BRAS (broadband remote access server)
WO2022042905A1 (en) Method and system for providing time-critical services
CN108418606A (en) Data transmission method for uplink and device, multi-line system
CN105323330A (en) Internet protocol addressing of industrial control devices employing the network ring topology
CN108800454A (en) Method of data synchronization and device, multi-online air-conditioning system
CN108800455A (en) The control method and central coordinator of air-conditioner set, air-conditioner set
CN108662718A (en) The network-building method and device of air conditioner
CN106302032A (en) A kind of point-to-multipoint poll means of communication
CN107270484A (en) Air-conditioning system and its data query answer method and device
CN108683708A (en) Data processing method, device and the multi-line system of multi-line system
CN208015725U (en) Multi-line system
CN106330640A (en) Data cross transmission method based on CAN bus

Legal Events

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