CN114576828B - Communication management method, bifurcation box, multi-split air conditioning system and storage medium - Google Patents
Communication management method, bifurcation box, multi-split air conditioning system and storage medium Download PDFInfo
- Publication number
- CN114576828B CN114576828B CN202011380377.6A CN202011380377A CN114576828B CN 114576828 B CN114576828 B CN 114576828B CN 202011380377 A CN202011380377 A CN 202011380377A CN 114576828 B CN114576828 B CN 114576828B
- Authority
- CN
- China
- Prior art keywords
- data
- communication protocol
- instruction
- communication
- outdoor unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 197
- 238000004378 air conditioning Methods 0.000 title claims abstract description 64
- 238000007726 management method Methods 0.000 title claims abstract description 49
- 238000010276 construction Methods 0.000 abstract description 9
- 238000000034 method Methods 0.000 description 17
- 238000006243 chemical reaction Methods 0.000 description 14
- 230000003993 interaction Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004806 packaging method and process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/89—Arrangement or mounting of control or safety devices
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F1/00—Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station
- F24F1/0003—Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station characterised by a split arrangement, wherein parts of the air-conditioning system, e.g. evaporator and condenser, are in separately located units
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/54—Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/88—Electrical aspects, e.g. circuits
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Small-Scale Networks (AREA)
- Air Conditioning Control Device (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a communication management method, a bifurcation box, a multi-split air conditioning system and a storage medium, wherein the communication management method comprises the following steps: receiving first data sent by an indoor unit and second data sent by an outdoor unit; analyzing the first data through a first communication protocol to obtain a first instruction, and analyzing the second data through a second communication protocol to obtain a second instruction; and encapsulating the first instruction through the second communication protocol to obtain third data and transmitting the third data to the outdoor unit, and encapsulating the second instruction through the first communication protocol to obtain fourth data and transmitting the fourth data to the indoor unit. According to the multi-split air conditioning system, the data of the indoor units and the data of the outdoor units can be interacted through the bifurcation box, so that the trouble that software programs are changed one by one when the indoor units and the outdoor units of different protocols are used for constructing the multi-split air conditioning system is avoided, and the construction efficiency of the multi-split air conditioning system is improved; and the software of the indoor and outdoor units is not required to be changed, so that the application range is wide and the universality is good.
Description
Technical Field
The present invention relates to the field of air conditioning technologies, and in particular, to a communication management method, a manifold box, a multi-split air conditioning system, and a storage medium.
Background
In order to achieve communication between an outdoor unit and an indoor unit, the communication protocols of the outdoor unit and the indoor unit need to be kept consistent, but the following situations often occur in the practical process: the existing multiple air conditioners of a customer want to construct a multi-split system, but the multiple air conditioners adopt different communication protocols, so that the communication protocols of the indoor units and the outdoor units of different protocols need to be changed one by one, the efficiency is low, and the universality is poor.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a communication management method, a bifurcation box, a multi-split air conditioning system and a storage medium, wherein protocol conversion of indoor and outdoor machine communication data is performed in the bifurcation box, so that efficient construction of the multi-split air conditioning system is realized.
An embodiment of a first aspect of the present invention provides a communication management method applied to a bifurcation box in a multi-split air conditioning system, where the bifurcation box is respectively connected with an indoor unit and an outdoor unit in a communication manner, the indoor unit communicates based on a first communication protocol, and the outdoor unit communicates based on a second communication protocol, and the communication management method includes:
receiving first data sent by the indoor unit and second data sent by the outdoor unit;
analyzing the first data through the first communication protocol to obtain a first instruction, and analyzing the second data through the second communication protocol to obtain a second instruction;
and encapsulating the first instruction through the second communication protocol to obtain third data and sending the third data to the outdoor unit, and encapsulating the second instruction through the first communication protocol to obtain fourth data and sending the fourth data to the indoor unit.
The communication management method according to the embodiment of the first aspect of the present invention has at least the following advantages: protocol conversion is carried out on data in a bifurcation box of the multi-split air conditioning system, so that the data of the indoor unit and the data of the outdoor unit can be interacted through the bifurcation box, the trouble that software programs are changed one by one when the indoor unit and the outdoor unit of different protocols are used for constructing the multi-split air conditioning system is avoided, and the construction efficiency of the multi-split air conditioning system is improved; the indoor and outdoor units with different protocols can be connected through the bifurcation box, and the existing indoor and outdoor units can directly form the multi-split air conditioning system without changing software of the indoor and outdoor units, so that the multi-split air conditioning system has wide application range and better universality.
In some embodiments, the receiving the first data sent by the indoor unit and the second data sent by the outdoor unit includes:
alternately inquiring the indoor unit and the outdoor unit;
when the indoor unit is inquired, receiving first data sent by the indoor unit;
and when the outdoor unit is inquired, receiving second data sent by the outdoor unit.
In some embodiments, after receiving the first data sent by the indoor unit and the second data sent by the outdoor unit, the method further includes:
determining that the communication protocol of the first data is the first communication protocol;
determining that the communication protocol of the second data is the second communication protocol.
In some embodiments, after parsing the first data through the first communication protocol to obtain a first instruction, the communication management method further includes: temporarily storing the first instruction;
after parsing the second data through the second communication protocol to obtain a second instruction, the communication management method further includes: temporarily storing the second instruction.
In some embodiments, the encapsulating the first command via the second communication protocol to obtain third data and transmitting the third data to the outdoor unit includes:
when the second data is received and the first instruction is determined to be temporarily stored, the first instruction is packaged through the second communication protocol to obtain third data;
and transmitting the third data to the outdoor unit.
In some embodiments, the encapsulating the second instruction by the first communication protocol to obtain fourth data and transmitting the fourth data to the indoor unit includes:
when the first data is received and the second instruction is determined to be temporarily stored, the second instruction is packaged through the first communication protocol to obtain fourth data;
and transmitting the fourth data to the indoor unit.
In some embodiments, the indoor unit and the outdoor unit are both connected to the bifurcation box through an RS485 communication bus.
An embodiment of the second aspect of the present invention provides a communication management apparatus, including at least one processor and a memory for communication connection with the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the communication management method of the first aspect as previously described.
The communication management device according to the embodiment of the second aspect of the present invention has at least the following advantageous effects: the communication management device for executing the communication management method is arranged in the bifurcation box, and protocol conversion can be carried out on data in the bifurcation box of the multi-split air conditioning system, so that the data of the indoor unit and the data of the outdoor unit can be interacted through the bifurcation box, the trouble that software programs are changed one by one when the indoor unit and the outdoor unit with different protocols are used for constructing the multi-split air conditioning system is avoided, and the construction efficiency of the multi-split air conditioning system is improved; the indoor and outdoor units with different protocols can be connected through the bifurcation box, and the existing indoor and outdoor units can directly form the multi-split air conditioning system without changing software of the indoor and outdoor units, so that the multi-split air conditioning system has wide application range and better universality.
An embodiment of a third aspect of the present invention provides a splitter box comprising the communication management apparatus of the foregoing second aspect.
According to the third aspect of the invention, the manifold box has at least the following beneficial effects: the communication management device is arranged in the bifurcation box so as to execute the communication management method, protocol conversion can be carried out on data in the bifurcation box of the multi-split air conditioning system, so that the data of the indoor unit and the data of the outdoor unit can be interacted through the bifurcation box, the trouble that software programs are changed one by one when the indoor unit and the outdoor unit with different protocols are used for constructing the multi-split air conditioning system is avoided, and the construction efficiency of the multi-split air conditioning system is improved; the indoor and outdoor units with different protocols can be connected through the bifurcation box, and the existing indoor and outdoor units can directly form the multi-split air conditioning system without changing software of the indoor and outdoor units, so that the multi-split air conditioning system has wide application range and better universality.
An embodiment of a fourth aspect of the present invention provides a multi-split air conditioning system, including the above-mentioned branching box of the third aspect, an outdoor unit, and an indoor unit, where the outdoor unit and the indoor unit are respectively connected with the branching box in a communication manner.
The air conditioner according to the fourth aspect of the present invention has at least the following advantages: the outdoor unit and the indoor units are connected through the branch boxes in the built multi-split air conditioning system, so that a communication management method set in the branch boxes is implemented, namely protocol conversion is carried out on data in the branch boxes of the multi-split air conditioning system, so that the data of the indoor units and the data of the outdoor units can be interacted through the branch boxes, the trouble that software programs are changed one by one when the indoor units and the outdoor units with different protocols build the multi-split air conditioning system is avoided, and the building efficiency of the multi-split air conditioning system is improved; the indoor and outdoor units with different protocols can be connected through the bifurcation box, and the existing indoor and outdoor units can directly form the multi-split air conditioning system without changing software of the indoor and outdoor units, so that the multi-split air conditioning system has wide application range and better universality.
An embodiment of the fifth aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to execute the communication management method of the foregoing first aspect.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
Fig. 1 is an overall flowchart of a communication management method provided by an embodiment of the present invention;
FIG. 2 is a flow chart of receiving first data and second data provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a determination of a communication protocol provided by an embodiment of the present invention;
fig. 4 is a flowchart of an embodiment of the present invention for encapsulating data into an outdoor unit;
fig. 5 is a flowchart of data encapsulation to an indoor unit according to an embodiment of the present invention;
FIG. 6 is a schematic illustration of communication interactions of program modules within the manifold of an example of the present invention;
fig. 7 is a schematic diagram of the module connection relationship of the manifold of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a communication management method, a bifurcation box, a multi-split air conditioning system and a storage medium, wherein protocol conversion is carried out on data of indoor and outdoor units in the bifurcation box, so that the indoor units and the outdoor units with different communication protocols can directly construct the multi-split air conditioning system without changing the communication protocols of the indoor units and the outdoor units, thereby realizing rapid construction of the multi-split air conditioning system.
Embodiments of the present invention will be further described below with reference to the accompanying drawings.
Referring to fig. 1, a first aspect of an embodiment of the present invention provides a communication management method applied to a manifold box in a multi-split air conditioning system, where the manifold box is respectively in communication connection with an indoor unit and an outdoor unit, the indoor unit communicates based on a first communication protocol, and the outdoor unit communicates based on a second communication protocol, and the communication management method includes, but is not limited to, the following steps S100, S200 and S300.
Step S100, receiving first data sent by an indoor unit and second data sent by an outdoor unit;
step S200, analyzing the first data through a first communication protocol to obtain a first instruction, and analyzing the second data through a second communication protocol to obtain a second instruction;
step S300, encapsulating the first instruction through the second communication protocol to obtain third data and transmitting the third data to the outdoor unit, and encapsulating the second instruction through the first communication protocol to obtain fourth data and transmitting the fourth data to the indoor unit.
In the existing multi-split air conditioning system built by the bifurcation box, the communication between the outdoor unit and the indoor unit is based on the same communication protocol, so that the indoor unit and the outdoor unit can realize direct communication. If the indoor and outdoor units are provided by the same air conditioner manufacturer, namely, the whole set of sold one-to-many air conditioning system (one outdoor unit corresponds to a plurality of indoor units), the indoor and outdoor units are preset with the same communication protocol, and installers do not need to change the communication protocol, so that the multi-split air conditioning system is directly assembled; however, in practice, there are often cases where a customer already installs multiple sets of air conditioners (one outdoor unit corresponds to one indoor unit), and wants to build a multi-split air conditioning system based on the existing air conditioner, so in the prior art, an installer needs to change the communication protocol of the indoor unit or the outdoor unit, so that the communication protocols of the indoor unit and the outdoor unit are the same. Obviously, the software of the indoor and outdoor units is not easy to change, the existing air conditioner of the client is often produced by an unfamiliar manufacturer of an installer, the changing difficulty is high, and each indoor and outdoor unit is possibly required to be changed one by one, so that the overall installation cost is very high.
Based on the above problems, the embodiment of the present invention performs protocol conversion on the data sent by the indoor unit and the outdoor unit in the branching box, so that the software of the indoor unit and the outdoor unit is not required to be changed, the process of building the multi-split air conditioning system under the condition of the existing air conditioner is simplified, specifically, when the indoor unit sends first data to the outdoor unit, the branching box receives the first data sent by the indoor unit, and because the first data is sent based on the first communication protocol, the branching box analyzes the first data based on the first communication protocol to obtain a first instruction, the first instruction is an instruction sent by the indoor unit to the outdoor unit, then, on the premise that the branching box knows that the outdoor unit is communicated based on the second communication protocol, the first instruction is packaged by the second communication protocol to obtain third data, and finally, the third data is sent to the outdoor unit, so that the outdoor unit can obtain the first instruction based on the original communication protocol analysis; similarly, when the outdoor unit sends second data to the indoor unit, the branching box receives the second data sent by the outdoor unit, and because the second data is sent based on the second communication protocol, the branching box analyzes the second data based on the second communication protocol to obtain a second instruction, the second instruction is an instruction sent by the outdoor unit to the indoor unit, then the branching box encapsulates the second instruction through the first communication protocol to obtain fourth data on the premise that the branching box knows that the indoor unit is in communication based on the first communication protocol, and finally the fourth data is sent to the indoor unit, so that the indoor unit can analyze the second instruction based on the original communication protocol.
By the two processes of sending data from the indoor unit to the outdoor unit and sending data from the outdoor unit to the indoor unit, the data interaction between the outdoor unit and the indoor unit is completed under the condition that the communication protocol of the indoor unit is not changed, and the construction process of the multi-split air conditioning system is simplified. Because only the communication protocols matched with different indoor and outdoor units are required to be set in the bifurcation box, even if more than three communication protocols exist in the multi-split air conditioning system built by the indoor and outdoor units, the data analysis can be set in the bifurcation box by using the corresponding communication protocols for different communication ports. Therefore, the communication management method of the embodiment of the invention is executed in the bifurcation box, software is not required to be changed aiming at indoor and outdoor units, the difficulty of the component multi-split air conditioning system can be greatly reduced, and the method is suitable for air conditioners of various existing communication protocols, so that the universality is good.
Referring to fig. 2, the above step S100 specifically includes, but is not limited to, the following steps S110, S120 and S130.
Step S110, alternately inquiring the indoor unit and the outdoor unit;
step S120, when the indoor unit is inquired, receiving first data sent by the indoor unit;
step S130, when the outdoor unit is queried, the second data sent by the outdoor unit is received.
The indoor and outdoor machine interactive communication modes realized by the branching boxes are various, wherein the ports of the indoor and outdoor machines are accessed in a time-sharing way by using a way of alternately inquiring in one branching box, for example, in a multi-split air conditioning system with one for three, the branching boxes are respectively connected with three indoor machines and one outdoor machine, the access ports of the branching boxes are divided into the ports of the indoor machines and the ports of the outdoor machines, the accessed ports are accessed according to a certain preset sequence, and only one port is accessed at each time point; based on this way of alternating access, there are special receiving and transmitting rules in terms of data interaction. These rules will be described in detail below. The bifurcation box in this embodiment executes the communication management method from step S110 to step S130, and performs data interaction, that is, through a manner of alternate access.
Wherein, step S120 and step S130 embody the feature of receiving data during alternate access: since only one port is accessible at the same time, when the outdoor unit or the indoor unit needs to transmit data to the manifold box, the data cannot be directly received by the manifold box, but when the manifold box accesses the outdoor unit or the indoor unit, the data to be transmitted by the outdoor unit or the indoor unit is received, that is, when the manifold box accesses one port at a time, the data can be transmitted and received to and from the port only. It will be appreciated that the data received through step S120 described above is obviously first data that has been encrypted by the first communication protocol, and step S130 is similarly received by the splitter box as second data that has been encrypted by the second communication protocol. The task of the bifurcation box is to identify the data and perform communication protocol conversion.
Therefore, referring to fig. 3, after the above step S100, the following steps S140 and S150 are further included:
step S140, determining the communication protocol of the first data as the first communication protocol;
step S150, determining the communication protocol of the second data as the second communication protocol.
When the first data is received, the bifurcation box carries out communication protocol identification on the first data, namely, the equipment which sends the first data is identified by the data content and the communication protocol of the equipment, so that the first data which is sent by the indoor unit based on the first communication protocol is determined, and the step S200 is executed to call the first communication protocol preset inside to analyze the first data; similarly, when the divergence box receives the second data, the divergence box performs communication protocol identification on the second data, so that it is determined that the outdoor unit sends the second data based on the second communication protocol, and therefore, the step S200 is executed to call the second communication protocol preset inside to analyze the second data.
It may be understood that, in order for the bifurcation box to identify the communication protocol of the first data and the second data, an installer may preset a parsing and packaging program of the first communication protocol and the second communication protocol in the bifurcation box, and set that data sent by the port corresponding to the indoor unit is parsed by the first communication protocol, data sent by the port corresponding to the outdoor unit is parsed by the second communication protocol, data sent to the port corresponding to the indoor unit is packaged by the first communication protocol, and data sent to the port corresponding to the outdoor unit is packaged by the second communication protocol. Of course, the first communication protocol and the second communication protocol are only used for illustration, if one indoor unit of the plurality of indoor units uses the third communication protocol, the parsing and packaging procedure of the third communication protocol can be preset in the above manner, and the data of the port can be parsed and packaged, so as to realize data transceiving. It can be understood that a plurality of different communication protocols can be preset in the bifurcation box, when the bifurcation box receives the data sent by the new port, the communication protocol used by the data is automatically identified through the message structure, and then the corresponding communication protocol is called to analyze the data. After analysis is successful, the communication protocol corresponding to the port is recorded for subsequent data receiving and transmitting.
After parsing the first data through the first communication protocol to obtain a first instruction, the communication management method further includes: the first instruction is temporarily stored. Because of the mechanism of alternate access, after receiving the first data sent by the indoor unit to the outdoor unit, the current access port is not the port corresponding to the outdoor unit, so that the first instruction corresponding to the first data cannot be directly forwarded to the outdoor unit, the first instruction is temporarily stored first, and the first instruction is packaged and sent to the outdoor unit after the branch box accesses the port corresponding to the outdoor unit. Similarly, after parsing the second data through the second communication protocol to obtain the second instruction, the communication management method further includes: the second instruction is temporarily stored. The second instruction is an instruction sent from the outdoor unit to the indoor unit, and therefore, the second instruction is not sent to the indoor unit until the branch box accesses the port corresponding to the indoor unit after being packaged.
Referring to fig. 4, a first command is obtained based on the temporary storage, and in step S300, third data is obtained by encapsulating the first command through a second communication protocol and sent to the outdoor unit, and the method includes the following steps:
step S310: when the second data is received and the first instruction is determined to be temporarily stored, the first instruction is packaged through a second communication protocol to obtain third data;
step S320: and transmitting the third data to the outdoor unit.
The above-mentioned step S310 and step S320 correspond to the case where the first command is temporarily stored in the divergence box and is accessed to the outdoor unit, and since the first command is required to be transmitted from the indoor unit to the outdoor unit, when the port of the outdoor unit is accessed (at this time, the data transmitted from the outdoor unit may be received, that is, the data corresponds to the above-mentioned step S130), the first command is encapsulated into third data through the second communication protocol and is transmitted to the outdoor unit.
Similarly, referring to fig. 5, a second instruction is obtained based on the temporary storage, and in step S300, fourth data is obtained by encapsulating the second instruction by the first communication protocol and sent to the indoor unit, and the method includes the following steps:
step S330: when the first data is received and the second instruction is determined to be temporarily stored, the second instruction is packaged through the first communication protocol to obtain fourth data;
step S340: and transmitting the fourth data to the indoor unit.
The above-mentioned step S330 and step S340 correspond to the case where the second instruction is temporarily stored in the branching box and is accessed to the indoor unit, and since the second instruction is to be transmitted to the indoor unit by the outdoor unit, when the port of the indoor unit is accessed (at this time, the data transmitted by the indoor unit may be received, that is, the data corresponds to the above-mentioned step S120), the second instruction is encapsulated into fourth data by the first communication protocol and is transmitted to the indoor unit.
The steps S310 to S340 embody the feature of sending data during the alternate access, and require that the branch box has a memory capable of temporarily storing instructions, and the memory is usually integrated in a hardware manner or externally connected to a control board of the branch box, where a control unit is provided in the control board to execute the communication management method according to the embodiment of the present invention, and form a communication connection with the memory, so as to implement protocol conversion between indoor units and outdoor units. Obviously, the control panel is used as an intermediary, and two sides of the control panel are respectively connected with the indoor unit and the outdoor unit to receive and transmit data, namely, the control panel corresponds to macroscopic: the branch box is connected with the indoor unit and the outdoor unit respectively.
On the physical connection port, the connection port between the bifurcation box and the indoor and outdoor units can take various forms; for example, in some cases, the indoor unit is connected to the manifold via an RS485 communication bus, and the outdoor unit is also connected to the manifold via an RS485 communication bus. The multi-split air conditioning system built by the RS485 communication bus can obtain good effects by applying the communication management method of the embodiment of the invention. Of course, the outdoor unit and the indoor unit may adopt different communication interfaces, and only the branch box may support the communication interfaces or may support the communication interfaces after interface conversion.
According to the communication management method provided by the embodiment of the invention, the data sent by the indoor units and the outdoor units with different protocols are subjected to protocol conversion through the bifurcation box, so that the multi-split air conditioning system can perform data interaction, and the difficulty of the multi-split air conditioning system with the indoor units and the outdoor units with different protocols is reduced.
The following describes an embodiment of the present invention in a practical example:
the multi-split air conditioning system adopts three indoor units, an outdoor unit and a split box to form a one-to-three system, wherein the split box is used as a slave of the outdoor unit and also used as a slave of the indoor unit. The three indoor units are all communicated based on a first communication protocol, the outdoor unit is communicated based on a second communication protocol, and the outdoor unit and the indoor units are all communicated by adopting an RS485 bus. The parsing and packaging program of the first communication protocol and the second communication protocol is preset in the bifurcation box, and is divided into the following modules according to the program functions, and the relationship between the modules can refer to fig. 6:
and a communication module: a program module for processing the data receiving and transmitting of the indoor and outdoor units;
protocol identification module: upon receiving the data, it is identified what protocol format the device is based on the data content. The data is sent to the indoor unit or the outdoor unit without passing through the module.
And a data processing module: and analyzing and packaging the data according to the protocol format identified by the protocol identification module. During analysis, processing the received data; and when packaging, processing the transmission data.
And a data interaction module: and the software function module is used for providing indoor unit data for the outdoor unit data processing module and providing outdoor unit data for the indoor unit data processing module.
When the indoor communication module of the divergence box receives the data of the indoor unit, the indoor communication module recognizes that the protocol is the first communication protocol, the indoor protocol recognition module and the indoor data processing module analyze the instruction content according to the first communication protocol, the instruction content is temporarily stored in the data interaction module, meanwhile, the received outdoor unit instruction (if the instruction is temporarily stored) in the data interaction module is extracted, the indoor data processing module packages the received outdoor unit instruction into a format of the first communication protocol, and the received outdoor unit instruction is sent back to the indoor unit through the indoor communication module. If the outdoor unit data is empty (the outdoor unit is not connected or the outdoor unit data is not received) in the data interaction module, the data is not transmitted to the indoor unit.
When the outdoor communication module of the divergence box receives the data of the outdoor unit, the outdoor communication module recognizes that the protocol is the second communication protocol, the indoor protocol recognition module and the indoor data processing module analyze the instruction content according to the second communication protocol, the instruction content is temporarily stored in the data interaction module, meanwhile, the received indoor unit instruction (if the instruction is temporarily stored) in the data interaction module is extracted, the indoor unit instruction is packaged into a format of the second communication protocol by the outdoor data processing module, and the indoor unit instruction is sent back to the outdoor unit through the outdoor communication module. If the corresponding indoor unit data is empty (if the indoor unit does not exist or has connection errors) in the data interaction module, the data is not sent to the outdoor unit.
The embodiment of the invention also provides a communication management device which comprises at least one processor and a memory for communication connection with the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the communication management method described previously.
Referring to fig. 7, the control processor 1001 and the memory 1002 in the communication management apparatus 1000 may be connected by a bus, for example. Memory 1002 is a non-transitory computer-readable storage medium that may be used to store non-transitory software programs as well as non-transitory computer-executable programs. In addition, the memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk memory, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1002 may optionally include memory remotely located relative to the control processor 1001, which may be connected to the communication management device 1000 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be appreciated by those skilled in the art that the device structure shown in fig. 7 is not limiting of the communication management device 1000 and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The communication management device of the embodiment of the invention realizes the protocol conversion of the data sent by the indoor units and the outdoor units with different protocols through the bifurcation box by executing the communication management method, thereby avoiding the trouble of changing software programs one by one when the indoor and outdoor units with different protocols are used for constructing the multi-split air conditioning system and improving the construction efficiency of the multi-split air conditioning system; the indoor and outdoor units with different protocols can be connected through the bifurcation box, and the existing indoor and outdoor units can directly form the multi-split air conditioning system without changing software of the indoor and outdoor units, so that the multi-split air conditioning system has wide application range and better universality.
The embodiment of the invention also provides a bifurcation box which comprises the communication management device. The branch box is used as an important component for communicating the indoor unit with the outdoor unit in the multi-split air conditioning system, plays an important role in data interaction of the indoor unit and the outdoor unit, and performs protocol conversion on data sent by the indoor unit and the outdoor unit with different protocols, so that the multi-split air conditioning system can perform data interaction, and the difficulty of the multi-split air conditioning system with the indoor unit and the outdoor unit with different protocols is reduced.
The embodiment of the invention also provides a multi-split air conditioning system which comprises the split box, an outdoor unit and an indoor unit, wherein the outdoor unit and the indoor unit are respectively in communication connection with the split box. The data sent by the indoor units and the outdoor units with different protocols are subjected to protocol conversion through the bifurcation box, so that the trouble that software programs are changed one by one when the indoor units and the outdoor units with different protocols are used for constructing the multi-split air conditioning system is avoided, and the construction efficiency of the multi-split air conditioning system is improved; the indoor and outdoor units with different protocols can be connected through the bifurcation box, and the existing indoor and outdoor units can directly form the multi-split air conditioning system without changing software of the indoor and outdoor units, so that the multi-split air conditioning system has wide application range and better universality.
The embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions that are executed by one or more control processors, for example, by one control processor 1001 in fig. 7, which may cause the one or more control processors to perform the overcurrent protection method in the above-described method embodiment, for example, to perform the method steps S100 to S300 in fig. 1, the method steps S110 to S130 in fig. 2, the method steps S310 to S320 in fig. 3, and the method steps S330 to S340 in fig. 5 described above.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the preferred embodiments of the present application have been described in detail, the present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present application, and these equivalent modifications and substitutions are intended to be included in the scope of the present application as defined in the appended claims.
Claims (8)
1. A communication management method applied to a branch box in a multi-split air conditioning system, wherein the branch box is respectively in communication connection with an indoor unit and an outdoor unit, the indoor unit communicates based on a first communication protocol, and the outdoor unit communicates based on a second communication protocol, the communication management method comprising:
receiving first data sent by the indoor unit and second data sent by the outdoor unit;
analyzing the first data through the first communication protocol to obtain a first instruction, temporarily storing the first instruction, analyzing the second data through the second communication protocol to obtain a second instruction, and temporarily storing the second instruction;
encapsulating the first instruction through the second communication protocol to obtain third data and sending the third data to the outdoor unit, and encapsulating the second instruction through the first communication protocol to obtain fourth data and sending the fourth data to the indoor unit;
wherein the encapsulating the first instruction through the second communication protocol to obtain third data and transmitting the third data to the outdoor unit includes:
when the second data is received and the first instruction is determined to be temporarily stored, the first instruction is packaged through the second communication protocol to obtain third data;
transmitting the third data to the outdoor unit;
or,
the encapsulating the second instruction through the first communication protocol to obtain fourth data and sending the fourth data to the indoor unit includes:
when the first data is received and the second instruction is determined to be temporarily stored, the second instruction is packaged through the first communication protocol to obtain fourth data;
and transmitting the fourth data to the indoor unit.
2. The communication management method according to claim 1, wherein the receiving the first data transmitted by the indoor unit and the second data transmitted by the outdoor unit includes:
alternately inquiring the indoor unit and the outdoor unit;
when the indoor unit is inquired, receiving first data sent by the indoor unit;
and when the outdoor unit is inquired, receiving second data sent by the outdoor unit.
3. The communication management method according to claim 1, further comprising, after receiving the first data transmitted by the indoor unit and the second data transmitted by the outdoor unit:
determining that the communication protocol of the first data is the first communication protocol;
determining that the communication protocol of the second data is the second communication protocol.
4. The communication management method according to claim 1, wherein the indoor unit and the outdoor unit are both connected to the divergence box through an RS485 communication bus.
5. A communication management apparatus comprising at least one processor and a memory for communication connection with the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the communication management method of any one of claims 1 to 4.
6. A splitter box comprising the communication management device of claim 5.
7. A multi-split air conditioning system, comprising an outdoor unit, an indoor unit and the split box of claim 6, wherein the outdoor unit and the indoor unit are respectively connected with the split box in a communication manner.
8. A computer-readable storage medium storing computer-executable instructions for causing a computer to execute the communication management method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380377.6A CN114576828B (en) | 2020-12-01 | 2020-12-01 | Communication management method, bifurcation box, multi-split air conditioning system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380377.6A CN114576828B (en) | 2020-12-01 | 2020-12-01 | Communication management method, bifurcation box, multi-split air conditioning system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114576828A CN114576828A (en) | 2022-06-03 |
CN114576828B true CN114576828B (en) | 2023-12-22 |
Family
ID=81767015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011380377.6A Active CN114576828B (en) | 2020-12-01 | 2020-12-01 | Communication management method, bifurcation box, multi-split air conditioning system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114576828B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115208961B (en) * | 2022-07-14 | 2023-12-08 | 珠海格力电器股份有限公司 | Communication method and device of multi-split air conditioner |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215230A (en) * | 2011-06-02 | 2011-10-12 | 首都师范大学 | Bus protocol-independent communication method for scalable processor architecture version 8 (SPARC V8) monitoring software |
CN103994555A (en) * | 2013-02-16 | 2014-08-20 | 广东美的暖通设备有限公司 | Air-conditioning system |
CN106032915A (en) * | 2015-03-18 | 2016-10-19 | 青岛海尔空调电子有限公司 | Control method for multi-split air-conditioning system, and indoor unit |
CN107869822A (en) * | 2017-11-08 | 2018-04-03 | 绵阳美菱软件技术有限公司 | A kind of multi-gang air-conditioner monitoring method, monitoring system and outdoor host computer |
CN109269033A (en) * | 2018-08-17 | 2019-01-25 | 青岛海信日立空调系统有限公司 | A kind of centralized control converter and air-conditioning system |
CN110762738A (en) * | 2019-11-08 | 2020-02-07 | 宁波奥克斯电气股份有限公司 | Multi-split protocol conversion control method, device and system and air conditioning system |
CN111503855A (en) * | 2020-04-29 | 2020-08-07 | 四川虹美智能科技有限公司 | Control system and control method of multi-split air conditioner |
CN111928438A (en) * | 2020-07-31 | 2020-11-13 | 海信(山东)空调有限公司 | Method for rewriting air conditioner control parameter and air conditioner |
-
2020
- 2020-12-01 CN CN202011380377.6A patent/CN114576828B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215230A (en) * | 2011-06-02 | 2011-10-12 | 首都师范大学 | Bus protocol-independent communication method for scalable processor architecture version 8 (SPARC V8) monitoring software |
CN103994555A (en) * | 2013-02-16 | 2014-08-20 | 广东美的暖通设备有限公司 | Air-conditioning system |
CN106032915A (en) * | 2015-03-18 | 2016-10-19 | 青岛海尔空调电子有限公司 | Control method for multi-split air-conditioning system, and indoor unit |
CN107869822A (en) * | 2017-11-08 | 2018-04-03 | 绵阳美菱软件技术有限公司 | A kind of multi-gang air-conditioner monitoring method, monitoring system and outdoor host computer |
CN109269033A (en) * | 2018-08-17 | 2019-01-25 | 青岛海信日立空调系统有限公司 | A kind of centralized control converter and air-conditioning system |
CN110762738A (en) * | 2019-11-08 | 2020-02-07 | 宁波奥克斯电气股份有限公司 | Multi-split protocol conversion control method, device and system and air conditioning system |
CN111503855A (en) * | 2020-04-29 | 2020-08-07 | 四川虹美智能科技有限公司 | Control system and control method of multi-split air conditioner |
CN111928438A (en) * | 2020-07-31 | 2020-11-13 | 海信(山东)空调有限公司 | Method for rewriting air conditioner control parameter and air conditioner |
Non-Patent Citations (1)
Title |
---|
丁洪伟等.多级门限服务轮询系统理论及应用研究.云南大学出版社,2015,(第第1版版),第11页. * |
Also Published As
Publication number | Publication date |
---|---|
CN114576828A (en) | 2022-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107347025A (en) | Data processing method, device, server and system | |
CN110808948B (en) | Remote procedure calling method, device and system | |
CN101436998A (en) | Method for obtaining message forwarding route and apparatus for forwarding message | |
CN112838940B (en) | Network controller frame and data processing method | |
WO2021223454A1 (en) | Screen projection method and system | |
CN112466303B (en) | Device discovery method, device, storage medium, and electronic apparatus | |
CN114576828B (en) | Communication management method, bifurcation box, multi-split air conditioning system and storage medium | |
CN116915827A (en) | Data transmission method and device of internet of things edge gateway, electronic equipment and medium | |
CN115567895A (en) | OTA software update data transmission method and system | |
CN110392096A (en) | A kind of method, apparatus of file distributing, master controller and storage medium | |
CN112511621A (en) | Data transmission method and device, storage medium, and electronic device | |
CN111885564A (en) | Data transmission method, equipment upgrading method and computer readable storage medium | |
CN116760872A (en) | Device control system, method, apparatus, computer device, and storage medium | |
CN112688984A (en) | Method, device and medium for issuing and executing instruction to network node | |
CN114157350B (en) | Optical fiber misconnection detection method and system | |
CN114915555B (en) | Gateway drive communication method, device, equipment and storage medium | |
CN116248721A (en) | Management method and device of Internet of things equipment, computer equipment and storage medium | |
CN110661850A (en) | Edge calculation method, system, computer equipment and storage medium | |
CN109640339B (en) | Method, device, system and storage medium for managing multiple Bluetooth antenna devices | |
CN114024822A (en) | Block chain-based Internet of things equipment management method, equipment, server and medium | |
CN108259527B (en) | Proxy-based service processing method and device and network element equipment | |
CN111314108A (en) | Data transmission method, device, equipment, storage medium and front-end system | |
CN112866083A (en) | Message sending method, electronic equipment and communication system | |
CN112653627B (en) | Data transmission method, device and system, computer equipment and computer readable storage medium | |
CN114827188B (en) | Platform equipment management method, system, terminal and storage medium |
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 |