CN115208961B - Communication method and device of multi-split air conditioner - Google Patents

Communication method and device of multi-split air conditioner Download PDF

Info

Publication number
CN115208961B
CN115208961B CN202210827620.7A CN202210827620A CN115208961B CN 115208961 B CN115208961 B CN 115208961B CN 202210827620 A CN202210827620 A CN 202210827620A CN 115208961 B CN115208961 B CN 115208961B
Authority
CN
China
Prior art keywords
data
network
communication
air conditioner
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210827620.7A
Other languages
Chinese (zh)
Other versions
CN115208961A (en
Inventor
黄强
金国华
王文灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202210827620.7A priority Critical patent/CN115208961B/en
Publication of CN115208961A publication Critical patent/CN115208961A/en
Application granted granted Critical
Publication of CN115208961B publication Critical patent/CN115208961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F1/00Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station
    • F24F1/0003Room 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
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The application discloses a communication method and device of a multi-split air conditioner and the multi-split air conditioner, and belongs to the field of communication. Wherein the method comprises the following steps: receiving first data sent by a first source node in a multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data is transmitted by adopting a first communication protocol; converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol; broadcasting the second data to the first target node. The application solves the technical problem that the communication quality of the multi-split air conditioner in the related technology is limited by the installation environment, improves the universality and compatibility of the network in the multi-split air conditioner, and also improves the flexibility of installation.

Description

Communication method and device of multi-split air conditioner
Technical Field
The application relates to the field of communication, in particular to a multi-split communication method and device and a multi-split air conditioner.
Background
In the related art, in the conventional multi-split system, communication protocols generally include both wired and wireless. The wired communication network has the advantages of high reliability, special lines of the private network, high communication quality, small signal interference, reduced attenuation of communication signals, long communication distance and the like, but the communication needs to carry out wiring operation on a unit, has higher requirements on installers, and has the defects of great difficulty and the like in after-sale maintenance and new and old model expansion caused by communication line faults. The wireless communication network is easily interfered by the space environment, so that the unit can not normally communicate, and the abnormality can occur.
In view of the above problems in the related art, no effective solution has been found yet.
Disclosure of Invention
The embodiment of the application provides a communication method and device of a multi-split air conditioner and the multi-split air conditioner, which are used for solving the technical problem that the communication quality of the multi-split air conditioner in the related art is limited by an installation environment.
According to an aspect of the embodiment of the present application, there is provided a communication method of a multi-split air conditioner, including: receiving first data sent by a first source node in a multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data is transmitted by adopting a first communication protocol; converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol; broadcasting the second data to the first target node.
Further, the method further comprises: receiving third data sent by a second source node in the multi-split air conditioner, wherein the third data are transmitted by adopting a second communication protocol; converting the third data into fourth data, wherein the fourth data is transmitted by adopting a first communication protocol; and broadcasting and transmitting the fourth data to a second target node.
Further, after receiving the first data sent by the first source node in the multi-split air conditioner, the method includes: switching a network module to a transceiver channel, wherein the network module comprises the transceiver channel and a protocol conversion channel; broadcasting the first data to a third target node using the transceiver channel.
Further, converting the first data into second data includes: switching a network module to a protocol conversion channel, wherein the network module comprises a transceiver channel and a protocol conversion channel; and converting the first data into second data by adopting the protocol conversion channel.
Further, before converting the first data into the second data, the method further comprises: detecting whether a network module accesses a local node, wherein the network module comprises a transceiver channel and a protocol conversion channel; and if the network module is detected to be accessed to the local node, connecting CAN network communication of the local node with the protocol conversion channel.
Further, converting the first data into second data includes one of: if the first data are CAN bus data, aggregating and packaging the CAN bus data to generate the second data; and if the first data are wireless data, unpacking and analyzing the wireless data to generate the second data.
Further, the first communication protocol is a wireless communication protocol and the second communication protocol is a wired communication protocol.
According to another aspect of the embodiment of the present application, there is also provided a communication device of a multi-split air conditioner, including: the first receiving module is used for receiving first data sent by a first source node in the multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data is transmitted by adopting a first communication protocol; the first conversion module is used for converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol; and the first sending module is used for broadcasting the second data to the first target node.
Further, the apparatus further comprises: the second receiving module is used for receiving third data sent by a second source node in the multi-split air conditioner, wherein the third data is transmitted by adopting a second communication protocol; the second conversion module is used for converting the third data into fourth data, wherein the fourth data is transmitted by adopting a first communication protocol; and the second sending module is used for broadcasting and sending the fourth data to a second target node.
Further, the apparatus further comprises: the switching module is used for switching the network module to a transceiver channel after the first receiving module receives first data sent by a first source node in the multi-split air conditioner, wherein the network module comprises the transceiver channel and a protocol conversion channel; and the transparent transmission module is used for broadcasting the transparent transmission of the first data to a third target node by adopting the transceiver channel.
Further, the first conversion module includes: a switching unit, configured to switch a network module to a protocol conversion channel, where the network module includes a transceiver channel and a protocol conversion channel; the first conversion unit is used for converting the first data into second data by adopting the protocol conversion channel.
Further, the apparatus further comprises: the detection module is used for detecting whether a network module accesses a local node before the first conversion module converts the first data into the second data, wherein the network module comprises a transceiver channel and a protocol conversion channel; and the connection module is used for connecting the CAN network communication of the local node with the protocol conversion channel if the network module is detected to be accessed to the local node.
Further, the first conversion module includes one of: the second conversion unit is used for aggregating and packaging the CAN bus data to generate the second data if the first data are the CAN bus data; and the third conversion unit is used for unpacking and analyzing the wireless data to generate the second data if the first data are the wireless data.
Further, the first communication protocol is a wireless communication protocol and the second communication protocol is a wired communication protocol.
According to another aspect of the embodiment of the present application, there is further provided a multi-split air conditioner, including an internal machine and an external machine, where the internal machine or the external machine includes a processor, the processor includes a network module and a CAN serial port, the network module includes a transceiver channel and a protocol conversion channel, and the network module includes the apparatus described in the foregoing embodiments.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that performs the above steps when running.
According to another aspect of the embodiment of the present application, there is also provided an electronic device including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; and a processor for executing the steps of the method by running a program stored on the memory.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the above method.
According to the application, the first data sent by the first source node in the multi-split air conditioner is received, wherein the multi-split air conditioner comprises a plurality of network nodes, the first data is data transmitted by adopting a first communication protocol, the first data is converted into second data, the second data is data transmitted by adopting a second communication protocol, the second data is broadcast and transmitted to the first target node, and the first data sent by the source node in the multi-split air conditioner is transmitted to other target nodes after being subjected to protocol conversion, so that the nodes of various communication protocols can be integrated in the multi-split air conditioner, various installation conditions can be adapted, a communication mode can be preferentially selected in various communication protocols, the data transmission efficiency is ensured, the technical problem that the communication quality of the multi-split air conditioner in the related art is limited by the installation environment is solved, the universality and the compatibility of the network in the multi-split air conditioner are improved, and the installation flexibility is also improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of an air conditioner according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of communication of a multi-split air conditioner according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a hybrid multi-split communication network according to an embodiment of the present application;
FIG. 4 is a schematic diagram II of a hybrid multi-split communication network according to an embodiment of the present application;
fig. 5 is a schematic diagram of connection between a network module and an air conditioning node in the present embodiment;
FIG. 6 is a timing diagram of a hybrid communication network in an embodiment of the application;
fig. 7 is a block diagram of a multi-split air conditioner according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The method embodiment provided by the first embodiment of the application can be implemented in an air conditioner, a heating and ventilation device or similar cascade device. Taking an example of operation on an air conditioner, fig. 1 is a block diagram of a hardware structure of an air conditioner according to an embodiment of the present application. As shown in fig. 1, the air conditioner may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the air conditioner described above. For example, the air conditioner may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store an air conditioning program, for example, a software program of application software and a module, such as an air conditioning program corresponding to a communication method of a multi-split air conditioner in the embodiment of the present application, and the processor 102 executes the air conditioning program stored in the memory 104, thereby executing various functional applications and data processing, that is, implementing the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to the air conditioner 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.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the air conditioner. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a communication method of a multi-split air conditioner is provided, and fig. 2 is a flowchart of a communication method of a multi-split air conditioner according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, receiving first data sent by a first source node in a multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data is transmitted by adopting a first communication protocol;
the embodiment can be applied to cascade equipment comprising a plurality of equipment, such as a multi-split air conditioner comprising a plurality of internal units and external units.
Step S204, converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol;
the internal machine node can communicate with the external machine and other internal machines in a wired or wireless communication mode, and the external machine can also communicate with the internal machine in a wired or wireless communication mode. The first communication protocol is a wireless communication protocol, the second communication protocol is a wired communication protocol, the wireless communication mode CAN be wifi, bluetooth and other wireless radio frequency communication, and the wired communication protocol CAN be CAN (controller area network ) bus, RS485 and other communication protocols. In this embodiment, wifi is taken as a first communication protocol, and CAN bus is taken as a second communication protocol.
Fig. 3 is a schematic diagram one of a multi-split hybrid communication network in an embodiment of the present application, and fig. 4 is a schematic diagram two of a multi-split hybrid communication network in an embodiment of the present application, where a multi-split air conditioner includes 1 external unit and a plurality of internal units, where a solid line represents wired communication, a dotted line represents wireless communication, and a network module is used to perform communication protocol conversion and data transmission.
Fig. 5 is a schematic diagram of connection between a network module and an air conditioning node in this embodiment, where the air conditioning node includes an internal unit and an external unit, serial communication is adopted between the air conditioning node and the network module, all wired internal and external units are also connected through a CAN serial bus, and when the network is a wired network, the internal and external units and the network module are connected on the same CAN bus.
Step S206, broadcasting the transparent second data to the first target node.
Through the steps, the first data sent by the first source node in the multi-split air conditioner is received, wherein the multi-split air conditioner comprises a plurality of network nodes, the first data is data transmitted by adopting a first communication protocol, the first data is converted into second data, the second data is data transmitted by adopting a second communication protocol, the second data is broadcast to the first target node and transmitted thoroughly, the first data sent by the source node in the multi-split air conditioner is transmitted to other target nodes after being subjected to protocol conversion, the nodes of various communication protocols can be integrated in the multi-split air conditioner, various installation conditions are adapted, a communication mode can be preferentially selected in various communication protocols, the data transmission efficiency is ensured, the technical problem that the communication quality of the multi-split air conditioner in the related art is limited by the installation environment is solved, the universality and the compatibility of the network in the multi-split air conditioner are improved, and the installation flexibility is also improved.
In some other implementations of the present embodiment, further comprising: receiving third data sent by a second source node in the multi-split air conditioner, wherein the third data is transmitted by adopting a second communication protocol; converting the third data into fourth data, wherein the fourth data is transmitted by adopting the first communication protocol; and broadcasting and transmitting fourth data to the second target node.
In the normal communication state, the node equipment in the multi-split air conditioner is provided with two paths of communication networks, one path is CAN serial port bus communication and is responsible for receiving communication data sent by other node equipment on the bus, for example, the received wifi data is converted into CAN bus data, and transparent transmission and forwarding are carried out on other nodes on the CAN bus. In addition, the other path is a wifi network, after the network module receives CAN bus data, CAN data are automatically converted into wifi data, and broadcast transmission is carried out on other node equipment in the wifi network, and because the wifi data transmission mode adopts broadcasting, all node equipment in the wifi network CAN receive other node wifi data mutually, and therefore interconnection and intercommunication between wired nodes and wireless nodes in the hybrid network are achieved.
In some examples, after receiving the first data sent by the first source node in the multi-split air conditioner, the method further includes: switching a network module to a transceiver channel, wherein the network module comprises the transceiver channel and a protocol conversion channel; the first data is broadcast through to a third target node using a transceiver channel.
Optionally, converting the first data into the second data includes: switching a network module to a protocol conversion channel, wherein the network module comprises a transceiver channel and a protocol conversion channel; and converting the first data into the second data by adopting a protocol conversion channel.
The network module of the embodiment comprises a transceiver channel and a protocol conversion channel, shares a CAN communication network with the CAN transceiver, and is switched through a switch circuit, namely shares network nodes, so that the number of nodes is reduced, and the transmission reliability CAN be ensured. When the CAN network is used, the communication switch is switched to the transceiver end, and the wireless module is disconnected, so that CAN bus data CAN be directly transmitted at the moment, and the CAN wired network is used. When the wifi network is used, the communication switch is switched to the wireless module, the CAN transceiver switch is disconnected, and the wireless module receives CAN data and directly carries out transparent transmission through the wifi network.
In one implementation of the present embodiment, before converting the first data into the second data, the method further includes: detecting whether a network module accesses a local node, wherein the network module comprises a transceiver channel and a protocol conversion channel; and if the network module is detected to be accessed to the local node, connecting CAN network communication of the local node with the protocol conversion channel.
On the unit, each equipment node detects through the pin level, judges whether there is the network module to be connected to equipment in, if detect there is the network module, CAN network communication switch is connected with the network module automatically, breaks off CAN transceiver communication switch, gets into wifi mode this moment, passes data through wifi network thoroughly. If no network module is detected, the CAN network communication switch is automatically connected with the CAN transceiver module, the network module switch is disconnected, and CAN data is directly forwarded to the bus.
Alternatively, converting the first data into the second data may be, but is not limited to,: if the first data are CAN bus data, aggregating and packaging the CAN bus data to generate second data; and if the first data is wireless data, unpacking and analyzing the wireless data to generate second data.
When the network module sends data through the wifi wireless network, protocol conversion needs to be carried out on the data so as to ensure that CAN and wifi network data are compatible. The network module receives the CAN data and converts the CAN data into wifi network data, and the network module receives the wifi network data and converts the wifi network data into CAN data, so that protocol compatibility CAN be ensured.
In one example, the CAN data is converted into wifi data, the network module receives the CAN bus data, aggregates and packages the data, and broadcasts and sends the data through wifi after the completion. In another example, wifi data is converted into CAN data, the network module receives the wifi data, unpacks and analyzes the data, the analysis is completed and converted into CAN bus data, and broadcast transmission is performed through a CAN bus.
Fig. 6 is a timing diagram of a hybrid communication network in an embodiment of the application, comprising:
s61, powering up the system;
s62, a mesh module (network module) sends a command for entering networking to corresponding node equipment;
s63, after receiving the command, the corresponding node equipment stops sending data to the CAN bus and waits for the completion of the networking of the wifi-mesh module;
s64, the mesh module finishes networking, and sends a networking finishing broadcast command to the CAN bus;
s65, after the bus corresponds to other node equipment and receives the command, the bus enters a normal communication state;
s66, the wired device normally transmits broadcast data to the bus;
s67, after receiving the bus data, the mesh module converts the bus data into wifi data and sends the wifi data to other node equipment;
and S68, the other node equipment receives wifi data, converts the wifi data into serial data and sends the serial data to the bus.
Because the data transmission mechanisms of the communication modes of the CAN communication and the wifi communication are completely different, protocol conversion needs to be carried out on different network data to correspond to two different transmission protocols to realize data intercommunication, in the embodiment, the protocol conversion is processed by the bottom layer inside the chip through an algorithm, the application layer CAN realize the data intercommunication of the two networks without adding a conversion module, and the protocols are universal. The external machine or the internal machine and the network module share one path of CAN communication, so wifi communication is realized, the protocol adopts a transparent transmission mode, namely, the wifi module which receives CAN bus data is transmitted to the wireless network, and other node equipment receives the wifi data and directly transmits the wifi data to the CAN bus. The network module chip is internally integrated with two functions of CAN communication and wifi communication, CAN enable CAN data and wifi data to be directly communicated through an internal algorithm, does not need to additionally increase data or a protocol converter, and improves the integration level of equipment functions.
By adopting the mode of the embodiment, the novel multi-split communication network is provided, the network communication mode is diversified, wireless communication transmission is utilized, the transmission rate is higher, the data bearing capacity is large, the product can realize rapid intelligent expansion, and the problem of installation and maintenance of a communication line is solved. When the network environment is worse and the communication distance is far, and the wireless communication condition is not met, a wired communication mode is used, so that the unit is ensured to be suitable for any installation environment, the installation convenience and the flexibility of the unit are greatly improved.
The network connection combination has arbitrary property, does not distinguish equipment and does not distinguish nodes, the wired and wireless communication network can be combined at will, the network communication time sequence and data have universality and compatibility, the data based on different network equipment are not required to be identified, the special communication time sequence based on different networks is not required to be formulated, all communication data adopts a transparent broadcasting mode, the communication network has arbitrary expansibility, wired or wireless node equipment is added at will, equipment identification is not required to be added, and the communication time sequence is not required to be changed. The wireless communication solves the problems of engineering wiring, difficult installation, product expansion, difficult after-sales maintenance and the like. The reliability of the unit communication is guaranteed through wired communication, and when the wireless network of the unit is interfered, the unit can be automatically switched to the wired network, so that the unit can adapt to any installation environment. The arbitrary network connection, the wired and wireless network can be arbitrarily combined, the network can be arbitrarily expanded, the universality is high, and the flexibility is high.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
Example 2
The embodiment also provides a communication device of the multi-split air conditioner and the multi-split air conditioner, which are used for realizing the embodiment and the preferred implementation, and the description is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 7 is a block diagram of a communication device of a multi-split air conditioner according to an embodiment of the present application, as shown in fig. 7, the device includes: a first receiving module 70, a first converting module 72, a first transmitting module 74, wherein,
a first receiving module 70, configured to receive first data sent by a first source node in a multi-online air conditioner, where the multi-online air conditioner includes a plurality of network nodes, and the first data is data transmitted by adopting a first communication protocol;
a first conversion module 72, configured to convert the first data into second data, where the second data is data transmitted using a second communication protocol;
a first transmitting module 74 is configured to broadcast the second data to the first target node.
Optionally, the apparatus further includes: the second receiving module is used for receiving third data sent by a second source node in the multi-split air conditioner, wherein the third data is transmitted by adopting a second communication protocol; the second conversion module is used for converting the third data into fourth data, wherein the fourth data is transmitted by adopting a first communication protocol; and the second sending module is used for broadcasting and sending the fourth data to a second target node.
Optionally, the apparatus further includes: the switching module is used for switching the network module to a transceiver channel after the first receiving module receives first data sent by a first source node in the multi-split air conditioner, wherein the network module comprises the transceiver channel and a protocol conversion channel; and the transparent transmission module is used for broadcasting the transparent transmission of the first data to a third target node by adopting the transceiver channel.
Optionally, the first conversion module includes: a switching unit, configured to switch a network module to a protocol conversion channel, where the network module includes a transceiver channel and a protocol conversion channel; the first conversion unit is used for converting the first data into second data by adopting the protocol conversion channel.
Optionally, the apparatus further includes: the detection module is used for detecting whether a network module accesses a local node before the first conversion module converts the first data into the second data, wherein the network module comprises a transceiver channel and a protocol conversion channel; and the connection module is used for connecting the CAN network communication of the local node with the protocol conversion channel if the network module is detected to be accessed to the local node.
Optionally, the first conversion module includes one of: the second conversion unit is used for aggregating and packaging the CAN bus data to generate the second data if the first data are the CAN bus data; and the third conversion unit is used for unpacking and analyzing the wireless data to generate the second data if the first data are the wireless data.
Optionally, the first communication protocol is a wireless communication protocol, and the second communication protocol is a wired communication protocol.
The embodiment also provides a multi-split air conditioner (multi-split air conditioner), the multi-split air conditioner comprises an inner machine and an outer machine, the inner machine or the outer machine comprises a processor, the processor comprises a network module and a CAN serial port, the network module comprises a transceiver channel and a protocol conversion channel, and the network module comprises the communication device of the multi-split air conditioner in the embodiment.
The multi-split air conditioner of the embodiment CAN be used for setting a processor on an inner machine or an outer machine of the multi-split air conditioner, the processor comprises a network module and a CAN serial port, the CAN serial port is connected with a CAN bus, two channels are arranged in the network module, a protocol conversion channel converts received wifi data into CAN bus data, the CAN bus data is transmitted and forwarded to other nodes of the CAN bus, after the CAN bus data is received, the CAN data is automatically converted into wifi data, and broadcast transmission is carried out to other wireless network node equipment of the multi-split air conditioner, so that the CAN data and the wifi data CAN be directly communicated without adding data or a protocol converter.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
An embodiment of the application also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, receiving first data sent by a first source node in a multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data are transmitted by adopting a first communication protocol;
s2, converting the first data into second data, wherein the second data are transmitted by adopting a second communication protocol;
s3, broadcasting the second data to the first target node.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic device may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, receiving first data sent by a first source node in a multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data are transmitted by adopting a first communication protocol;
s2, converting the first data into second data, wherein the second data are transmitted by adopting a second communication protocol;
s3, broadcasting the second data to the first target node.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (10)

1. A communication method of a multi-split air conditioner, comprising:
receiving first data sent by a first source node in a multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data is transmitted by adopting a first communication protocol;
converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol;
broadcasting the second data to the first target node;
after receiving the first data sent by the first source node in the multi-split air conditioner, the method further comprises the following steps:
switching the network module to a transceiver channel;
broadcasting the first data to a third target node by adopting the transceiver channel;
the network module comprises a transceiver channel and a protocol conversion channel, and shares a CAN communication network with the CAN transceiver, and is switched by a switch circuit; when the CAN network is used, the switching circuit is switched to the CAN transceiver, and the wireless module is disconnected to directly send CAN bus data, and the CAN wired network is used; when the wifi network is used, the switch circuit is switched to the wireless module, the CAN transceiver is disconnected, and the wireless module receives CAN data and directly carries out transparent transmission through the wifi network.
2. The method according to claim 1, wherein the method further comprises:
receiving third data sent by a second source node in the multi-split air conditioner, wherein the third data are transmitted by adopting a second communication protocol;
converting the third data into fourth data, wherein the fourth data is transmitted by adopting a first communication protocol;
and broadcasting and transmitting the fourth data to a second target node.
3. The method of claim 1, wherein converting the first data to second data comprises:
switching a network module to a protocol conversion channel, wherein the network module comprises a transceiver channel and a protocol conversion channel;
and converting the first data into second data by adopting the protocol conversion channel.
4. The method of claim 1, wherein prior to converting the first data to second data, the method further comprises:
detecting whether a network module accesses a local node, wherein the network module comprises a transceiver channel and a protocol conversion channel;
and if the network module is detected to be accessed to the local node, connecting CAN network communication of the local node with the protocol conversion channel.
5. The method of claim 1, wherein converting the first data to second data comprises one of:
if the first data are CAN bus data, aggregating and packaging the CAN bus data to generate the second data;
and if the first data are wireless data, unpacking and analyzing the wireless data to generate the second data.
6. The method of any one of claims 1 to 5, wherein the first communication protocol is a wireless communication protocol and the second communication protocol is a wired communication protocol.
7. A communication device of a multi-split air conditioner, comprising:
the first receiving module is used for receiving first data sent by a first source node in the multi-split air conditioner, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data is transmitted by adopting a first communication protocol;
the first conversion module is used for converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol;
the first sending module is used for broadcasting the second data to the first target node;
after receiving first data sent by a first source node in a multi-split air conditioner, switching a network module to a transceiver channel, wherein the network module comprises the transceiver channel and a protocol conversion channel;
broadcasting the first data to a third target node by adopting the transceiver channel;
the network module comprises a transceiver channel and a protocol conversion channel, and shares a CAN communication network with the CAN transceiver, and is switched by a switch circuit; when the CAN network is used, the switching circuit is switched to the CAN transceiver, and the wireless module is disconnected to directly send CAN bus data, and the CAN wired network is used; when the wifi network is used, the switch circuit is switched to the wireless module, the CAN transceiver is disconnected, and the wireless module receives CAN data and directly carries out transparent transmission through the wifi network.
8. The utility model provides a many online air conditioner, its characterized in that, many online air conditioner includes interior machine and outer machine, interior machine or outer machine includes the treater, the treater includes network module and CAN serial ports, the network module includes transceiver passageway and protocol conversion passageway, the network module includes the communication device of many online of claim 7.
9. A storage medium comprising a stored program, wherein the program when run performs the method steps of any of the preceding claims 1 to 6.
10. An electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; wherein:
a memory for storing a computer program;
a processor for executing the method steps of any one of claims 1 to 6 by running a program stored on a memory.
CN202210827620.7A 2022-07-14 2022-07-14 Communication method and device of multi-split air conditioner Active CN115208961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210827620.7A CN115208961B (en) 2022-07-14 2022-07-14 Communication method and device of multi-split air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210827620.7A CN115208961B (en) 2022-07-14 2022-07-14 Communication method and device of multi-split air conditioner

Publications (2)

Publication Number Publication Date
CN115208961A CN115208961A (en) 2022-10-18
CN115208961B true CN115208961B (en) 2023-12-08

Family

ID=83582314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210827620.7A Active CN115208961B (en) 2022-07-14 2022-07-14 Communication method and device of multi-split air conditioner

Country Status (1)

Country Link
CN (1) CN115208961B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082742A (en) * 2009-11-27 2011-06-01 中国科学院自动化研究所 Intelligent network protocol conversion and communication control system
CN108616524A (en) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 Data transmission method, device and data converter
CN110762738A (en) * 2019-11-08 2020-02-07 宁波奥克斯电气股份有限公司 Multi-split protocol conversion control method, device and system and air conditioning system
CN112449444A (en) * 2020-11-05 2021-03-05 珠海格力电器股份有限公司 Communication control device and method for multi-connected equipment and multi-connected equipment
CN113691397A (en) * 2021-08-12 2021-11-23 江苏杰瑞信息科技有限公司 Low-delay 5G wireless transparent transmission method for industrial control data transmission
CN114576828A (en) * 2020-12-01 2022-06-03 佛山市顺德区美的电子科技有限公司 Communication management method, branching box, multi-split air conditioning system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082742A (en) * 2009-11-27 2011-06-01 中国科学院自动化研究所 Intelligent network protocol conversion and communication control system
CN108616524A (en) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 Data transmission method, device and data converter
CN110762738A (en) * 2019-11-08 2020-02-07 宁波奥克斯电气股份有限公司 Multi-split protocol conversion control method, device and system and air conditioning system
CN112449444A (en) * 2020-11-05 2021-03-05 珠海格力电器股份有限公司 Communication control device and method for multi-connected equipment and multi-connected equipment
CN114576828A (en) * 2020-12-01 2022-06-03 佛山市顺德区美的电子科技有限公司 Communication management method, branching box, multi-split air conditioning system and storage medium
CN113691397A (en) * 2021-08-12 2021-11-23 江苏杰瑞信息科技有限公司 Low-delay 5G wireless transparent transmission method for industrial control data transmission

Also Published As

Publication number Publication date
CN115208961A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US9935821B2 (en) Method for configuring one or more devices in an ethernet-based communication network
WO2019196462A1 (en) Air conditioning unit, operating method and device for air conditioning unit
CN107302786B (en) Method and system for establishing household intelligent network
CN108800446A (en) Communication means in air-conditioning system and air-conditioning system between unit
CN105225449A (en) Supervisory system and monitoring collector
CN102957596A (en) Daughter gateway device, system and method for processing data of terminal equipment
CN102202423A (en) Wireless LAN system, wireless LAN device and setting information setting method
CN113543277B (en) Distribution network processing method and device and electronic equipment
CN105389278A (en) CAN bus based serial communication method for master and slave machines
CN107645789A (en) The method, apparatus and system of networking
CN110519731A (en) Data communications method and system, BLE Bluetooth gateway based on BLE bluetooth, BLE equipment
CN101459568A (en) Field network system
CN115208961B (en) Communication method and device of multi-split air conditioner
CN112449444B (en) Communication control device and method for multi-connected equipment and multi-connected equipment
US11265798B2 (en) Method and radio communication system for an industrial automation system
CN108626847B (en) Multi-connected air conditioning unit system
CN104854912A (en) Shared media bridging
Biswas et al. A WiFi-based self-organizing multi-hop sensor network for Internet of Things
US9877355B2 (en) Wireless communicator connectable to different types of wireless communication networks
CN113810256A (en) Industrial communication method, system and readable storage medium
CN111465081A (en) Control instruction receiving and sending method, device, equipment and storage medium
CN110611589A (en) Control method and device of regional control system and air conditioning system
KR101617995B1 (en) Network apparatus and method for network using the same
CN113196082B (en) Communication system and communication method
CN111343589A (en) Communication networking method, sub-node equipment and main node equipment

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