CN107270484A - Air-conditioning system and its data query answer method and device - Google Patents

Air-conditioning system and its data query answer method and device Download PDF

Info

Publication number
CN107270484A
CN107270484A CN201710497179.XA CN201710497179A CN107270484A CN 107270484 A CN107270484 A CN 107270484A CN 201710497179 A CN201710497179 A CN 201710497179A CN 107270484 A CN107270484 A CN 107270484A
Authority
CN
China
Prior art keywords
equipment
data frame
air
conditioning system
inquiry
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.)
Pending
Application number
CN201710497179.XA
Other languages
Chinese (zh)
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 CN201710497179.XA priority Critical patent/CN107270484A/en
Publication of CN107270484A publication Critical patent/CN107270484A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of air-conditioning system and its data query answer method and device.Wherein, this method includes:First equipment sends first to the second equipment by CAN and inquires about data frame, wherein, the second equipment is used to parse the first inquiry data frame and generates the first reply data frame according to analysis result;First equipment receives the first reply data frame from the second equipment by CAN.The present invention solves the low technical problem of inquiry response efficiency comparison of air-conditioning system.

Description

Air-conditioning system and its data query answer 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 data query answer method and dress Put.
Background technology
In air-conditioning system, for example, in multi-gang air-conditioner network, device node is more, the data that unit is transmitted in bus Amount is larger.And the communication baud rate of network is constant.When data volume reaches to a certain degree, it can cause to communicate congestion, data are passed It is defeated to be delayed, or even success can not be sent, it can so cause the real-time of unit to be deteriorated.
Simultaneously, it is necessary to inquire about the primary operating parameter or history fortune of each device node in the operation of analysis air-conditioning system Capable parameter, within air-conditioning systems, query argument can be simultaneously timely responded to as the even necessary item of a significant terms, existing skill Air-conditioning system in art causes the inquiry response efficiency comparison of data low due to carrying out communication using RS485 buses.
For air-conditioning system inquiry response efficiency comparison it is low the problem of, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of air-conditioning system and its data query answer method and device, at least to solve sky The low technical problem of the inquiry response efficiency comparison of adjusting system.
There is provided a kind of data query answer method of air-conditioning system, air-conditioning for one side according to embodiments of the present invention System includes the first equipment and the second equipment and air-conditioning system performs communication based on CAN communication agreement, and this method includes:First Equipment sends first to the second equipment by CAN and inquires about data frame, wherein, the second equipment is used to parse the first inquiry data Frame simultaneously generates the first reply data frame according to analysis result;First equipment receives first from the second equipment by CAN Reply data frame.
Further, air-conditioning system also includes the 3rd equipment, and method also includes:First equipment is by CAN to the 3rd Equipment sends second and inquires about data frame, wherein, the 3rd equipment is used to parse the second inquiry data frame and generated according to analysis result Second reply data frame;First equipment receives the second reply data frame from the 3rd equipment by CAN.
Further, this method also includes:Second equipment sends the 3rd to the first equipment by CAN and inquires about data Frame, wherein, the second equipment is used to parse the 3rd inquiry data frame and generates the 3rd reply data frame according to analysis result;Second sets It is standby that the 3rd reply data frame from the 3rd equipment is received by CAN.
Further, send first to the second equipment by CAN in the first equipment to inquire about after data frame, this method Also include:The data type of data frame, initial address and number of parameters are inquired about in second equipment parsing first.
Further, the preceding first predetermined bit position of the first inquiry data frame is the function code for representing inquiry, first Inquire about the address that the centre second predetermined bit position of data frame is used to store the second equipment, rear the of the first inquiry data frame Three predetermined bits position is used for the data category for storing inquiry data.
Further, the first equipment sends the first inquiry data frame to the second equipment by CAN and included:First equipment First is sent to multiple second equipment inquire about data frame by CAN.First equipment is received by CAN and set from second The first standby reply data frame includes:First equipment receives the first response from multiple second equipment by CAN respectively Data frame.
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 data query answering device of air-conditioning system, empty Adjusting system includes the first equipment and the second equipment and air-conditioning system performs communication, inquiry response device based on CAN communication agreement Including:Transmitting element, for causing the first equipment sends first by CAN to the second equipment to inquire about data frame, wherein, the Two equipment are used to parse the first inquiry data frame and generate the first reply data frame according to analysis result;Receiving unit, for making Obtain the first equipment and pass through first reply data frame of the CAN reception from the second equipment.
Further, air-conditioning system includes the first equipment and multiple second equipment, and transmitting element is used to cause the first equipment First is sent to multiple second equipment inquire about data frame by CAN, wherein, multiple second equipment are used to parse the first inquiry Data frame simultaneously generates the first reply data frame according to analysis result, and receiving unit is used to the first equipment is connect by CAN Receive the first reply data frame from multiple second equipment.
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 the first equipment Communication is performed based on CAN communication agreement with the second equipment and air-conditioning system, the first equipment is used to set to second by CAN Preparation send the first inquiry data frame and receives the first reply data frame from the second equipment by CAN, wherein, second sets Parsing first is ready for use on to inquire about data frame and generate the first reply data frame according to analysis result.
Further, air-conditioning system also includes the 3rd equipment, and the first equipment is additionally operable to send out to the 3rd equipment by CAN Send the second inquiry data frame and the second reply data frame from the 3rd equipment is received by CAN, wherein, the 3rd equipment is used Data frame is inquired about in parsing second and the second reply data frame is generated according to analysis result.
Further, the second equipment is additionally operable to send the 3rd inquiry data frame to the first equipment by CAN and passed through CAN receives the 3rd reply data frame from the 3rd equipment, wherein, the second equipment is used to parse the 3rd inquiry data frame simultaneously 3rd reply data frame is generated according to analysis result.
Further, the second equipment is additionally operable to the data type that data frame is inquired about in parsing first, initial address and parameter number Amount.
Further, the preceding first predetermined bit position of the first inquiry data frame is the function code for representing inquiry, first Inquire about the address that the centre second predetermined bit position of data frame is used to store the second equipment, rear the of the first inquiry data frame Three predetermined bits position is used for the data category for storing inquiry data.
Further, air-conditioning system include the first equipment and multiple second equipment, the first equipment be used for by CAN to Multiple second equipment send first and inquire about data frames, and received respectively by CAN from multiple second equipment first should Answer data frame.
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, send first to the second equipment by CAN using the first equipment and inquire about data frame, First equipment is inquired about by way of CAN receives the first reply data frame from the second equipment by CAN Response, improves inquiry response efficiency, and then solve the low technical problem of the inquiry response efficiency comparison of air-conditioning system.
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 data query answer method of air-conditioning system according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the data query answer method of optional air-conditioning system according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of the data query answering device of air-conditioning system according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of air-conditioning system according to embodiments of the present invention;And
Fig. 5 is a kind of schematic diagram of optional air-conditioning system 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.
There is provided a kind of data query answer method of air-conditioning system, the sky for one side according to embodiments of the present invention Adjusting system includes the first equipment and the second equipment and air-conditioning system is based on controller LAN (Controller Area Network, referred to as CAN) communications protocol performs communication.Fig. 1 is a kind of data of air-conditioning system according to embodiments of the present invention The flow chart of inquiry response method.As shown in figure 1, this method includes:
Step S102, the first equipment sends first to the second equipment by CAN and inquires about data frame, wherein, second sets Parsing first is ready for use on to inquire about data frame and generate the first reply data frame according to analysis result.
Step S104, the first equipment receives the first reply data frame from the second equipment by CAN.
First equipment can be the master control equipment in air-conditioning system, and the second equipment can be that the node in air-conditioning system is set Standby, conversely, the second equipment can be the master control equipment in air-conditioning system, the first equipment can be that the node in air-conditioning system is set It is standby, or, the first equipment and the second equipment can be the node device in air-conditioning system.More specifically, the embodiment of the present invention In master control equipment can be air-conditioning system outdoor unit, node device can be the indoor set of air-conditioning system, and the present invention is real It can be multi-gang air conditioner to apply the air-conditioning system in example, i.e. the multiple indoor sets of outdoor unit correspondence.First equipment can lead to CAN is crossed to send the first inquiry data frame to second equipment or send out to multiple second equipment by CAN The first inquiry data frame is sent, is inquired about sending first to multiple second equipment after data frame, receives come from multiple second respectively The reply data frame of equipment.
In this embodiment, send first to the second equipment by CAN using the first equipment and inquire about data frame, first Equipment is by way of CAN receives the first reply data frame from the second equipment, and carrying out inquiry by CAN should Answer, improve inquiry response efficiency, and then solve the low technical problem of the inquiry response efficiency comparison of air-conditioning system.
Alternatively, the air-conditioning system in the embodiment of the present invention can also include the 3rd equipment, the method for the embodiment of the present invention It can also include:First equipment sends second to the 3rd equipment by CAN and inquires about data frame, wherein, the 3rd equipment is used for Parsing second inquires about data frame and generates the second reply data frame according to analysis result;First equipment by CAN reception come From the second reply data frame of the 3rd equipment.3rd equipment can also be node device.
Alternatively, in embodiments of the present invention, this method can also include:Second equipment is set by CAN to first Preparation send the 3rd inquiry data frame, wherein, the second equipment, which is used to parsing the 3rd, inquires about data frame and according to analysis result generation the Three reply data frames;Second equipment receives the 3rd reply data frame from the 3rd equipment by CAN.
Alternatively, in embodiments of the present invention, send first to the second equipment by CAN in the first equipment and inquire about number After frame, this method also includes:The data type of data frame, initial address and parameter number are inquired about in second equipment parsing first Amount.Fig. 2 is a kind of flow chart of the data query answer method of optional air-conditioning system according to embodiments of the present invention, and Fig. 2 shows Go out the flow of the embodiment, that is, step S202 is to step S210, wherein, inquiry data frame can be function code 246, should It can be function code 214 to answer data frame.
Alternatively, in embodiments of the present invention, the preceding first predetermined bit position of the first inquiry data frame is for representing to look into The function code of inquiry, the predetermined bit position of centre second of the first inquiry data frame is used for the address for storing the second equipment, first Inquire about the data category that the rear 3rd predetermined bit position of data frame is used to store inquiry data.
The embodiment of the present invention additionally provides a kind of data query answering device of air-conditioning system, and air-conditioning system is set including first Standby and the second equipment and air-conditioning system performs communication based on CAN communication agreement.
Air-conditioning in the embodiment of the present invention can be HVAC.
Fig. 3 is a kind of schematic diagram of the data query answering device of air-conditioning system according to embodiments of the present invention, such as Fig. 3 institutes Show, the inquiry response device includes:
Transmitting element 102, for causing the first equipment sends first by CAN to the second equipment to inquire about data frame, Wherein, the second equipment is used to parse the first inquiry data frame and generates the first reply data frame according to analysis result.
Receiving unit 104, for causing the first equipment to pass through first reply data of the CAN reception from the second equipment Frame.
The embodiment of the present invention additionally provides a kind of air-conditioning system, and air-conditioning system includes the first equipment and the second equipment and sky Adjusting system performs communication based on CAN communication agreement, and the first equipment is used to send the first inquiry number to the second equipment by CAN The first reply data frame from the second equipment is received according to frame and by CAN, wherein, the second equipment is used for parsing first and looked into Ask data frame and the first reply data frame is generated according to analysis result.
First equipment can be the master control equipment in air-conditioning system, and the second equipment can be that the node in air-conditioning system is set Standby, conversely, the second equipment can be the master control equipment in air-conditioning system, the first equipment can be that the node in air-conditioning system is set It is standby, or, the first equipment and the second equipment can be the node device in air-conditioning system.More specifically, the embodiment of the present invention In master control equipment can be air-conditioning system outdoor unit, node device can be the indoor set of air-conditioning system, and the present invention is real It can be multi-gang air conditioner to apply the air-conditioning system in example, i.e. the multiple indoor sets of outdoor unit correspondence.First equipment can lead to CAN is crossed to send the first inquiry data frame to second equipment or send out to multiple second equipment by CAN The first inquiry data frame is sent, is inquired about sending first to multiple second equipment after data frame, receives come from multiple second respectively The reply data frame of equipment.
In this embodiment, send first to the second equipment by CAN using the first equipment and inquire about data frame, first Equipment is by way of CAN receives the first reply data frame from the second equipment, and carrying out inquiry by CAN should Answer, improve inquiry response efficiency, and then solve the low technical problem of the inquiry response efficiency comparison of air-conditioning system.
Alternatively, air-conditioning system also includes the 3rd equipment, and the first equipment is additionally operable to send to the 3rd equipment by CAN Second inquiry data frame simultaneously receives the second reply data frame from the 3rd equipment by CAN, wherein, the 3rd equipment is used for Parsing second inquires about data frame and generates the second reply data frame according to analysis result.
Alternatively, the second equipment is additionally operable to send the 3rd inquiry data frame and by CAN to the first equipment by CAN Bus receives the 3rd reply data frame from the 3rd equipment, wherein, the second equipment is used to parse the 3rd inquiry data frame and root The 3rd reply data frame is generated according to analysis result.
Alternatively, the second equipment is additionally operable to the data type that data frame is inquired about in parsing first, initial address and number of parameters.
Alternatively, the preceding first predetermined bit position of the first inquiry data frame is the function code for representing inquiry, and first looks into Asking the predetermined bit position of centre second of data frame is used for the address for storing the second equipment, the rear 3rd of the first inquiry data frame the Predetermined bit position is used for the data category for storing inquiry data.
More in view of the device node in the network of combined air conditioners, the data volume that unit is transmitted in bus is larger.And The communication baud rate of network is constant.The embodiment of the present invention further increases the real-time of the inquiry response of unit.
In the operation of air-conditioning system, the default operational factor of each device node or the ginseng of history run can also be inquired about Number, within air-conditioning systems, query argument can be simultaneously timely responded to as a significant terms, even necessary item.Therefore, this hair Bright embodiment devises the transmission means of a kind of data query based on multi-master communication network structure (CAN communication) and response.Make Multiple communication nodes in communication without waiting for showing the result inquired in time using inquiry mode;In important control In logic, the key parameter of other equipment can be collected in time using inquiry mode;For the device data being of little use, reality is not required to When in transmission over networks, without taking bus, using inquiry mode improve Realtime Capability of Communication.The scheme of the embodiment is conducive to number According to analyzing and improve air-conditioning system reliability of operation.
The data query frame and data acknowledgement frame of the CAN communication of design of the embodiment of the present invention, for what is communicated between unit Timely respond to, in embodiments of the present invention:
1st, when a certain device node needs the parameter of other equipment, corresponding inquiry data frame is sent, what inquiry needed Parameter, the format frame of transmission is as shown in table 1:
Table 1
Above-mentioned format frame is illustrated below:
(1) differentiation of section is arbitrated:
The preceding predetermined bit position of the arbitration section of format frame, for example, first 8 are used for function code and judge, it is inquiry frame during inquiry (246)。
The middle preset bit of the arbitration section of format frame, for example, middle 14 are used to place and are queried where equipment Address.
The last predetermined bit position of the arbitration section of format frame, for example, last 7 data class for being used to place inquiry data Not.
(2) data amount check is transmitted according to the number of data segment, for example, this inquiry frame is 2.
(3) data segment:1st byte sends the initial address being queried where the specific data of equipment, the 2nd table of bytes Show the quantity of query argument.
2nd, the equipment being queried is received after the inquiry data frame of query facility node transmission, the inquiry ginseng of response response at once Number, according to the quantity of query argument, the parameter of response respective numbers is begun to respond to from the initial address of query facility.
The format frame of inquiry response is as shown in table 2:
Table 2
Above-mentioned format frame is illustrated below:
(1) differentiation of section is arbitrated:
First 8 of the arbitration section of frame is used for function code and judged, is inquiry response (214) during inquiry response.
The centre 14 for arbitrating section is used for placing the address where answering equipment.
Last 7 of arbitration section are then used for placing the data category that answering equipment inquires about data.
(2) data amount check is transmitted according to the number of data segment, and scope is 0~7.
(3) data segment:1st byte sends the initial address where the specific data of answering equipment, byte below from Initial address starts response and sends corresponding parameter;Number of parameters is consistent with the quantity of inquiry frame requirement, if a frame can not be sent All query arguments are completed, then parameter is divided into multiframe sends, and each frame is sent according to this frame format.
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. 4 is a kind of schematic diagram of multi-gang air conditioner according to embodiments of the present invention.
As shown in figure 4, 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. 5 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 5, 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.
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 (15)

1. a kind of data query answer method of air-conditioning system, it is characterised in that the air-conditioning system includes the first equipment and the The two equipment and air-conditioning system performs communication based on CAN communication agreement, methods described includes:
First equipment sends first to second equipment by CAN and inquires about data frame, wherein, second equipment For parsing the first inquiry data frame and generating the first reply data frame according to analysis result;And
First equipment receives the first reply data frame from second equipment by the CAN.
2. the data query answer method of air-conditioning system according to claim 1, it is characterised in that the air-conditioning system is also Including the 3rd equipment, methods described also includes:
First equipment sends second to the 3rd equipment by the CAN and inquires about data frame, wherein, the described 3rd Equipment is used to parse the second inquiry data frame and generates the second reply data frame according to analysis result;And
First equipment receives the second reply data frame from the 3rd equipment by the CAN.
3. the data query answer method of air-conditioning system according to claim 1, it is characterised in that methods described is also wrapped Include:
Second equipment sends the 3rd to first equipment by CAN and inquires about data frame, wherein, second equipment For parsing the 3rd inquiry data frame and generating the 3rd reply data frame according to analysis result;And
Second equipment receives the 3rd reply data frame from the 3rd equipment by the CAN.
4. the data query answer method of air-conditioning system according to claim 1, it is characterised in that in first equipment First is sent by CAN to second equipment to inquire about after data frame, methods described also includes:
The data type of second equipment parsing the first inquiry data frame, initial address and number of parameters.
5. the data query answer method of air-conditioning system according to claim 1, it is characterised in that the first inquiry number It is the function code for representing inquiry according to the first predetermined bit position before frame, the centre second of the first inquiry data frame is preset Bit is used for the address for storing second equipment, and the rear 3rd predetermined bit position of the first inquiry data frame is used for The data category of storage inquiry data.
6. the data query answer method of air-conditioning system according to claim 1, it is characterised in that
First equipment sends first by CAN to second equipment, which inquires about data frame, includes:First equipment First is sent to multiple second equipment inquire about data frame by CAN,
First equipment receives the first reply data frame from second equipment by the CAN to be included: First equipment receives the first reply data frame from the multiple second equipment respectively by the CAN.
7. the data query answer method of air-conditioning system according to claim 1, it is characterised in that the CAN communication association The frame format of view includes function code, data category, CAN network address and data segment.
8. a kind of data query answering device of air-conditioning system, it is characterised in that the air-conditioning system includes the first equipment and the The two equipment and air-conditioning system performs communication based on CAN communication agreement, the inquiry response device includes:
Transmitting element, for causing first equipment sends first by CAN to second equipment to inquire about data frame, Wherein, second equipment is used to parse the first inquiry data frame and generates the first reply data frame according to analysis result; And
Receiving unit, for causing first equipment to receive described the from second equipment by the CAN One reply data frame.
9. the data query answering device of air-conditioning system according to claim 8, it is characterised in that the air-conditioning system bag Include the first equipment and multiple second equipment, the transmitting element is used to causing first equipment by CAN to described many Individual second equipment sends first and inquires about data frame, wherein, the multiple second equipment is used to parse the first inquiry data frame And the first reply data frame is generated according to analysis result, the receiving unit is used to cause first equipment to pass through the CAN Bus receives the first reply data frame from the multiple second equipment.
10. a kind of air-conditioning system, it is characterised in that the air-conditioning system includes the first equipment and the second equipment and the air-conditioning System performs communication based on CAN communication agreement, and first equipment is used to send first to second equipment by CAN Inquire about data frame and the first reply data frame from second equipment is received by the CAN, wherein, it is described Second equipment is used to parse the first inquiry data frame and generates the first reply data frame according to analysis result.
11. air-conditioning system according to claim 10, it is characterised in that the air-conditioning system also includes the 3rd equipment, institute The first equipment is stated to be additionally operable to send the second inquiry data frame and by the CAN to the 3rd equipment by the CAN Bus receives the second reply data frame from the 3rd equipment, wherein, the 3rd equipment is used to parse described the Two inquiry data frames simultaneously generate the second reply data frame according to analysis result.
12. air-conditioning system according to claim 10, it is characterised in that second equipment is additionally operable to by CAN To first equipment send the 3rd inquire about data frame and received by the CAN from the 3rd equipment described the Three reply data frames, wherein, second equipment is used to parse the 3rd inquiry data frame and according to analysis result generation the Three reply data frames.
13. air-conditioning system according to claim 10, it is characterised in that second equipment is additionally operable to parsing described first Inquire about the data type of data frame, initial address and number of parameters.
14. air-conditioning system according to claim 10, it is characterised in that preceding the first of the first inquiry data frame is preset Bit is the function code for representing inquiry, and the predetermined bit position of centre second of the first inquiry data frame is used to store institute The address of the second equipment is stated, the rear 3rd predetermined bit position of the first inquiry data frame is used for the number for storing inquiry data According to classification.
15. air-conditioning system according to claim 10, it is characterised in that the air-conditioning system includes the first equipment and multiple Second equipment, first equipment is used to send the first inquiry data frame to multiple second equipment by the CAN, and leads to Cross the CAN and receive the first reply data frame from the multiple second equipment respectively.
CN201710497179.XA 2017-06-26 2017-06-26 Air-conditioning system and its data query answer method and device Pending CN107270484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710497179.XA CN107270484A (en) 2017-06-26 2017-06-26 Air-conditioning system and its data query answer method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710497179.XA CN107270484A (en) 2017-06-26 2017-06-26 Air-conditioning system and its data query answer method and device

Publications (1)

Publication Number Publication Date
CN107270484A true CN107270484A (en) 2017-10-20

Family

ID=60068320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710497179.XA Pending CN107270484A (en) 2017-06-26 2017-06-26 Air-conditioning system and its data query answer method and device

Country Status (1)

Country Link
CN (1) CN107270484A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108800455A (en) * 2018-04-13 2018-11-13 珠海格力电器股份有限公司 The control method and central coordinator of air-conditioner set, air-conditioner set
CN110765347A (en) * 2018-07-27 2020-02-07 珠海格力电器股份有限公司 Equipment data query method, device and system
CN114500145A (en) * 2021-12-28 2022-05-13 深圳市研控自动化科技有限公司 Data communication system, method, terminal device and medium for driving and controlling integrated controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01212093A (en) * 1988-02-18 1989-08-25 Daikin Ind Ltd Thermal equipment control signal transmitting system
EP2365664A1 (en) * 2010-03-08 2011-09-14 LG Electronics Inc. System for controlling an air conditioner and method for controlling the same
CN103822330A (en) * 2014-01-21 2014-05-28 茹祥忠 Far-end intelligent energy-saving control system and method for central air-conditioner
CN104089371A (en) * 2014-07-02 2014-10-08 珠海格力电器股份有限公司 Multi-split air conditioning system
CN105180367A (en) * 2015-09-16 2015-12-23 珠海格力电器股份有限公司 Data transmitting method and system for air conditioner unit
CN105607583A (en) * 2014-10-29 2016-05-25 中兴通讯股份有限公司 Monitoring unit, monitoring device and first monitoring unit in power system
CN105737344A (en) * 2016-03-17 2016-07-06 广东美的制冷设备有限公司 Air conditioner, and control method and device and remote controller of air conditioner
CN105953371A (en) * 2016-05-18 2016-09-21 珠海格力电器股份有限公司 Multi-connected air-conditioning unit as well as method and device for controlling communication thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01212093A (en) * 1988-02-18 1989-08-25 Daikin Ind Ltd Thermal equipment control signal transmitting system
EP2365664A1 (en) * 2010-03-08 2011-09-14 LG Electronics Inc. System for controlling an air conditioner and method for controlling the same
CN103822330A (en) * 2014-01-21 2014-05-28 茹祥忠 Far-end intelligent energy-saving control system and method for central air-conditioner
CN104089371A (en) * 2014-07-02 2014-10-08 珠海格力电器股份有限公司 Multi-split air conditioning system
CN105607583A (en) * 2014-10-29 2016-05-25 中兴通讯股份有限公司 Monitoring unit, monitoring device and first monitoring unit in power system
CN105180367A (en) * 2015-09-16 2015-12-23 珠海格力电器股份有限公司 Data transmitting method and system for air conditioner unit
CN105737344A (en) * 2016-03-17 2016-07-06 广东美的制冷设备有限公司 Air conditioner, and control method and device and remote controller of air conditioner
CN105953371A (en) * 2016-05-18 2016-09-21 珠海格力电器股份有限公司 Multi-connected air-conditioning unit as well as method and device for controlling communication thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108800455A (en) * 2018-04-13 2018-11-13 珠海格力电器股份有限公司 The control method and central coordinator of air-conditioner set, air-conditioner set
CN108800455B (en) * 2018-04-13 2023-06-06 珠海格力电器股份有限公司 Air conditioning unit, control method of air conditioning unit and central coordinator
CN110765347A (en) * 2018-07-27 2020-02-07 珠海格力电器股份有限公司 Equipment data query method, device and system
CN114500145A (en) * 2021-12-28 2022-05-13 深圳市研控自动化科技有限公司 Data communication system, method, terminal device and medium for driving and controlling integrated controller

Similar Documents

Publication Publication Date Title
CN104964399B (en) The address distribution method and device of air-conditioning equipment
CN107249048A (en) Air-conditioning system and its address distribution method and device
CN108488914A (en) Air-conditioner set, the operating method of air-conditioner set and device
CN107270484A (en) Air-conditioning system and its data query answer method and device
CN101849382B (en) Computing system and method for managing available resources of a computing system provided, in particular, for controlling an industrial robot
CN107592367A (en) Resource share method, device and the computer-readable recording medium of home appliance
CN106170024A (en) A kind of system, method and node processed based on data in software defined network
CN106101264A (en) Content distributing network daily record method for pushing, device and system
CN108800454A (en) Method of data synchronization and device, multi-online air-conditioning system
CN110505135A (en) CAN bus based battery system automatic network-building method
CN110166857B (en) Method for realizing dynamic configuration of fiber channel switch
CN108592310A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN108800446A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN106506595A (en) Upgrade method based on point-to-point Internet of Things intelligent Community equipment
CN107622771A (en) Home appliance and its control method, system and computer-readable recording medium
CN106302230B (en) A kind of data transmission method and device
CN108418606A (en) Data transmission method for uplink and device, multi-line system
CN106416139A (en) Relay device and air conditioning system
CN108800455A (en) The control method and central coordinator of air-conditioner set, air-conditioner set
CN110198229A (en) Network collocating method and device, storage medium and electronic device
CN107231281B (en) Air-conditioning system and its data transmission method and device
CN108662718A (en) The network-building method and device of air conditioner
CN108613258A (en) The communication means of air-conditioning system and air-conditioner set
CN107786448A (en) The method and apparatus for establishing the forward-path of Business Stream
CN108891227A (en) A kind of method, system and control panel that vehicle is communicated with air-conditioning

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020

RJ01 Rejection of invention patent application after publication