CN115208961A - Multi-split air conditioner and communication method and device thereof - Google Patents

Multi-split air conditioner and communication method and device thereof Download PDF

Info

Publication number
CN115208961A
CN115208961A CN202210827620.7A CN202210827620A CN115208961A CN 115208961 A CN115208961 A CN 115208961A CN 202210827620 A CN202210827620 A CN 202210827620A CN 115208961 A CN115208961 A CN 115208961A
Authority
CN
China
Prior art keywords
data
communication
air conditioner
network
split air
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210827620.7A
Other languages
Chinese (zh)
Other versions
CN115208961B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Combustion & Propulsion (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a multi-split communication method and device and a 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; and broadcasting the second data to the first target node. According to the invention, the technical problem that the communication quality of the multi-split air conditioner in the related technology is limited by the installation environment is solved, the universality and compatibility of a network in the multi-split air conditioner are improved, and the flexibility of installation is also improved.

Description

Multi-split air conditioner and communication method and device thereof
Technical Field
The invention relates to the field of communication, in particular to a multi-split air conditioner and a communication method and device thereof.
Background
In the related art, in a conventional multi-split system, communication protocols generally include wired and wireless protocols. The wired communication network has the advantages of high reliability, special lines for private networks, high communication quality, small signal interference, small attenuation of communication signals, long communication distance and the like, but the communication needs to perform wiring operation on a unit, the requirement on installation personnel is high, and the defects of large difficulty in after-sale maintenance, expansion of new and old machine types and the like caused by communication line faults are overcome. The wireless communication network is easily interfered by the space environment, so that the unit can not normally communicate, and the abnormity occurs.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a multi-split air conditioner and a communication method and device thereof, and aims to solve the technical problem that the communication quality of the multi-split air conditioner is limited by an installation environment in the related art.
According to an aspect of an embodiment of the present application, a multi-split communication method is provided, 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; and 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 is transmitted by adopting a second communication protocol; converting the third data into fourth data, wherein the fourth data is data transmitted by adopting a first communication protocol; and broadcasting and sending the fourth data to a second target node.
Further, after receiving first data sent by a 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; and broadcasting the transparent transmission first data to a third target node by adopting the transceiver channel.
Further, converting the first data into 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.
Further, before converting the first data into second data, the method further comprises: detecting whether a network module is accessed to a local node or not, 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 the CAN network communication of the local node with the protocol conversion channel.
Further, converting the first data into second data comprises one of: if the first data is CAN bus data, performing aggregation and packaging on 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.
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 embodiments of the present application, there is also provided a multi-split communication apparatus including: the multi-split air conditioner comprises a first receiving module, a second receiving module and a control module, wherein the first receiving module is used for receiving first data sent by a first source node in the multi-split air conditioner, the multi-split air conditioner comprises a plurality of network nodes, and the first data is data 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 configured to receive third data sent by a second source node in the multi-split air conditioner, where the third data is data transmitted by using a second communication protocol; the second conversion module is configured to convert the third data into fourth data, where the fourth data is data transmitted by using 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 a 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 comprises: the switching unit is used for switching a network module to a protocol conversion channel, wherein the network module comprises a transceiver channel and a protocol conversion channel; and 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: a detecting module, configured to detect whether a network module accesses a local node before the first converting module converts the first data into second data, where the network module includes a transceiver channel and a protocol converting channel; and the connection module is used for connecting the CAN network communication of the local node with the protocol conversion channel if a network module is detected to be accessed to the local node.
Further, the first conversion module comprises one of: the second conversion unit is used for aggregating and packaging the CAN bus data to generate second data if the first data is 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 is 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 also provided a multi-split air conditioner, including an inner unit and an outer unit, where the inner unit or the outer unit 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 according to the above embodiment.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments 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; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application further provide a computer program product containing instructions, which when executed on a computer, cause the computer to perform the steps of the above method.
According to the method and the device, the first data sent by the first source node in the multi-split air conditioner are received, wherein the multi-split air conditioner comprises a plurality of network nodes, the first data are data transmitted by adopting a first communication protocol, the first data are converted into second data, the second data are data transmitted by adopting a second communication protocol, the second data are broadcast and transmitted to the first target node, the first data sent by the source node in the multi-split air conditioner are transmitted to other target nodes after protocol conversion, 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 selected preferentially in the various communication protocols, the data transmission efficiency is guaranteed, the technical problem that the communication quality of the multi-split air conditioner in the related technology is limited by an installation environment is solved, the universality and compatibility of a network in the multi-split air conditioner are improved, and the flexibility of installation is also improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of an air conditioner according to an embodiment of the present invention;
fig. 2 is a flowchart of a multi-split communication method according to an embodiment of the present invention;
fig. 3 is a first schematic diagram of a multi-split hybrid communication network according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a multi-split hybrid communication network according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the connection between the network module and the air conditioning node in this embodiment;
fig. 6 is a timing diagram of a hybrid communication network in an embodiment of the present invention;
fig. 7 is a block diagram illustrating a configuration of a multi-split air conditioner according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or 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 provided by the first embodiment of the present application may be executed in an air conditioner, a heating and ventilation device, or a similar cascade device. Taking an operation on an air conditioner as an example, fig. 1 is a hardware structure block diagram of an air conditioner according to an embodiment of the present invention. As shown in fig. 1, the air conditioner may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and it does not limit the structure of the air conditioner. 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 conditioner program, for example, a software program and a module of an application software, such as an air conditioner program corresponding to a multi-split communication method in an embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the air conditioner program stored in the memory 104, so as to implement the above method. The 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 located remotely from 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 an air conditioner. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected 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 used to communicate with the internet in a wireless manner.
In this embodiment, a multi-split communication method is provided, and fig. 2 is a flowchart of a multi-split communication method according to an embodiment of the present invention, and as shown in fig. 2, 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 inner units and outer units.
Step S204, converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol;
the inner machine node can communicate with the outer machine and other inner machines in a wired or wireless communication mode, and the outer machine can also communicate with the inner machines 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 wireless radio frequency communication such as wifi and bluetooth, and the wired communication protocol CAN be communication protocols such as a Controller Area Network (CAN) bus and an RS 485. In this embodiment, the first communication protocol is wifi, and the second communication protocol is CAN bus.
Fig. 3 is a first schematic diagram of a multi-split hybrid communication network in an embodiment of the present invention, and fig. 4 is a second schematic diagram of the multi-split hybrid communication network in the embodiment of the present invention, where the multi-split air conditioner includes 1 external unit and multiple internal units, a solid line represents wired communication, a dotted line represents wireless communication, and a network module is used for performing communication protocol conversion and data transmission.
Fig. 5 is a schematic diagram of the connection between the network module and the air conditioner node in this embodiment, where the air conditioner node includes an internal unit and an external unit, and the air conditioner node communicates with the network module through a serial port, all wired internal and external unit devices are also connected through a CAN serial port bus, and when the wired network is used, the internal and external unit devices and the network module are connected to the same CAN bus.
Step S206, broadcasting the transparent transmission second data to the first target node.
Through the steps, first data sent by a first source node in the multi-split air conditioner are received, wherein the multi-split air conditioner comprises a plurality of network nodes, the first data are data transmitted by adopting a first communication protocol and are converted into second data, the second data are data transmitted by adopting a second communication protocol, the second data are broadcast and transmitted to a first target node, the first data sent by the source node in the multi-split air conditioner are transmitted to other target nodes after protocol conversion, the multi-split air conditioner can be integrated with nodes of various communication protocols, various installation conditions are adapted, a communication mode can be selected preferentially in the various communication protocols, the data transmission efficiency is guaranteed, the technical problem that the communication quality of the multi-split air conditioner in the related technology is limited by an installation environment is solved, the universality and compatibility of a network in the multi-split air conditioner are improved, and the flexibility of installation is also improved.
In some other embodiments of this embodiment, the method further includes: receiving third data sent by a second source node in the multi-split air conditioner, wherein the third data is data transmitted by adopting a second communication protocol; converting the third data into fourth data, wherein the fourth data is data transmitted by adopting a first communication protocol; and broadcasting and transmitting the fourth data to the second target node.
In the embodiment, under a normal communication state, node devices in the multi-split air conditioner are provided with two paths of communication networks, one path is CAN serial bus communication, and the node devices are responsible for receiving communication data sent by other node devices on a bus, if wifi data received by the node devices are converted into CAN bus data, and the CAN bus data are transmitted and forwarded to other nodes on the CAN bus. And the other path is a wifi network, after the network module receives CAN bus data, the CAN data is automatically converted into wifi data, and the wifi data is sent to other node equipment in the wifi network in a broadcasting manner.
In some examples, after receiving first data transmitted by a 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; and broadcasting the transparent transmission first data to the third target node by adopting a transceiver channel.
Optionally, the 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 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 by a switch circuit, namely shares network nodes, so that the transmission reliability CAN be ensured by reducing the number of the nodes. When the CAN network is used, the communication switch is switched to the transceiver end, the wireless module is disconnected, CAN bus data CAN be directly sent at the moment, and the CAN wired network is used. When using the wifi network, communication switch switches to wireless module, disconnection CAN transceiver switch, and wireless module receives CAN data and directly passes through the wifi network.
In an implementation manner of this embodiment, before converting the first data into the second data, the method further includes: detecting whether a network module is accessed to a local node or not, 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 the CAN network communication of the local node with the protocol conversion channel.
The power-on of the unit, each equipment node is detected through the pin level, whether a network module is connected to the equipment is judged, if the network module is detected, the CAN network communication switch is automatically connected with the network module, the CAN transceiver communication switch is disconnected, the WIFI mode is entered at the moment, and data are transmitted through the WIFI network. 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 are directly forwarded to the bus.
Optionally, the converting the first data into the second data may be, but is not limited to: if the first data is CAN bus data, performing aggregation packaging on 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 the CAN is compatible with the wifi network data. 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 the CAN data, so that protocol compatibility CAN be guaranteed.
In one example, the CAN data is converted into wifi data, the network module receives the CAN bus data, the data is aggregated and packaged, and after the aggregation and packaging, the network broadcasts and sends the data through wifi. In another example, wifi data is converted into CAN data, the network module receives the wifi data, unpacks and analyzes the data, the data is converted into CAN bus data after being analyzed, and broadcasting and sending are carried out through a CAN bus.
Fig. 6 is a timing diagram of a hybrid communication network according to an embodiment of the present invention, including:
s61, powering up a system;
s62, the mesh module (network module) sends a networking entering command to the corresponding node equipment;
s63, after receiving the command, the corresponding node equipment stops sending data to the CAN bus and waits for the networking of the wifi-mesh module to be completed;
s64, completing networking by the mesh module, and sending a networking completion broadcast command to the CAN bus;
s65, after the bus corresponding to other node equipment receives the command, the bus enters a normal communication state;
s66, the wired equipment normally sends broadcast data to the bus;
s67, the mesh module receives the bus data, converts the bus data into wifi data and sends the wifi data to other node equipment;
and S68, converting the wifi data received by other node equipment into serial port data and then sending the serial port data to the bus.
In the embodiment, the protocol conversion is processed by the bottom layer in the chip through an algorithm, and the application layer CAN realize the intercommunication of the two network data without adding a conversion module, so that the protocol is universal. The outer machine or the inner machine is communicated with the network module and the CAN transceiver through CAN, so that wifi communication is realized, the protocol adopts a transparent transmission mode to receive CAN bus data, namely the wifi module transmits the data to a wireless network, and other node devices receive wifi data and directly transmit the data to a CAN bus. Two functions of CAN communication and wifi communication are integrated in the network module chip, CAN data and wifi data CAN be directly communicated through an internal algorithm, data or a protocol converter does not need to be additionally added, and meanwhile, the integration level of the functions of the equipment is improved.
The mode of this embodiment of adoption provides a novel many online communication network, and this network communication mode possesses the diversification, utilizes wireless communication transmission, and transmission rate is higher, and data bearing capacity is big, and the product can realize quick intelligent extension, solves the communication line installation and maintains a difficult problem. When the network environment is poor, the communication distance is far away, and wireless communication conditions are not met, a wired communication mode is used, the unit can be adapted to any installation environment, and the convenience and the flexibility of unit installation are greatly improved.
The network connection combination has the advantages that the network connection combination has the arbitrariness, the equipment and the nodes are not distinguished, the wired and wireless communication networks can be combined at will, the network communication time sequence and the data have the universality and the compatibility, the data based on different network equipment do not need to be identified, the special communication time sequence based on different networks does not need to be formulated, all the communication data adopt the transparent transmission broadcasting mode, the communication network has the arbitrariness expansibility, the wired or wireless node equipment is added at will, the equipment identification does not need to be added, and the communication time sequence does not need to be changed. The wireless communication solves the problems of difficult installation, product expansion, difficult after-sale maintenance and the like of engineering wiring. The reliability of unit communication is guaranteed through wired communication, and when a wireless network of the unit is interfered, the unit can be automatically switched to a wired network, so that the unit can adapt to any installation environment. The network connection is arbitrary, the wired and wireless networks can be combined arbitrarily, the network can be expanded arbitrarily, and the universality and the flexibility are strong.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
The embodiment also provides a multi-split communication device and a multi-split air conditioner, which are used for implementing the above embodiments and preferred embodiments, and are not described again after being described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram of a multi-split communication apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus 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-split air conditioner, where the multi-split air conditioner includes multiple network nodes, and the first data is data transmitted by using 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 by using a second communication protocol;
a first sending module 74, configured to broadcast the second data to the first target node.
Optionally, the apparatus further comprises: a second receiving module, configured to receive third data sent by a second source node in the multi-split air conditioner, where the third data is data transmitted by using a second communication protocol; the second conversion module is configured to convert the third data into fourth data, where the fourth data is data transmitted by using 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 comprises: the switching module is used for switching a 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: the switching unit is used for switching a network module to a protocol conversion channel, wherein the network module comprises a transceiver channel and a protocol conversion channel; and the first conversion unit is used for converting the first data into second data by adopting the protocol conversion channel.
Optionally, the apparatus further comprises: a detecting module, configured to detect whether a network module accesses a local node before the first converting module converts the first data into second data, where the network module includes a transceiver channel and a protocol converting channel; and the connection module is used for connecting the CAN network communication of the local node with the protocol conversion channel if a 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 second data if the first data is 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 is 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 further provides a multi-split air conditioner (multi-split air conditioner), which includes an internal unit and an external unit, where the internal unit or the external unit 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 communication device of the multi-split air conditioner in the above embodiments.
Adopt the multi-split air conditioner of this embodiment, CAN set up the treater on multi-split air conditioner's internal unit or outer machine, the treater includes network module and CAN serial ports, CAN serial ports and CAN bus connection, through set up two passageways in network module, the wifi data that the agreement conversion passageway will be received, convert CAN bus data into, pass through to other nodes of CAN bus and forward, after receiving CAN bus data, just convert CAN data automatic into wifi data, and broadcast the transmission to other wireless network node equipment of multi-split air conditioner, CAN make CAN data and wifi data direct intercommunication, need not additionally to increase data or protocol converter.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
the method includes the steps that S1, first data sent by a first source node in the multi-split air conditioner are received, 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 is transmitted by adopting a second communication protocol;
and S3, broadcasting and transmitting the second data to the first target node.
Optionally, in this embodiment, the storage medium may include but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention further provide an electronic device, comprising a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
Optionally, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
the method comprises the steps that S1, first data sent by a first source node in the multi-split air conditioner are received, wherein the multi-split air conditioner comprises a plurality of network nodes, and the first data are data transmitted by adopting a first communication protocol;
s2, converting the first data into second data, wherein the second data is transmitted by adopting a second communication protocol;
and S3, broadcasting and transmitting the second data to the first target node.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A method of communicating on-line, 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;
and broadcasting the second data to the first target node.
2. The method of claim 1, 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 a first communication protocol;
and broadcasting and sending the fourth data to a second target node.
3. The method of claim 1, wherein after receiving first data transmitted from a first source node in a multi-split air conditioner, the method further comprises:
switching a network module to a transceiver channel, wherein the network module comprises the transceiver channel and a protocol conversion channel;
and broadcasting the transparent transmission first data to a third target node by adopting the transceiver channel.
4. The method of claim 1, wherein converting the first data into 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.
5. The method of claim 1, wherein prior to converting the first data to second data, the method further comprises:
detecting whether a network module is accessed to a local node or not, 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 the CAN network communication of the local node with the protocol conversion channel.
6. The method of claim 1, wherein converting the first data into second data comprises one of:
if the first data are CAN bus data, performing aggregation packaging on the CAN bus data to generate second data;
and if the first data are wireless data, unpacking and analyzing the wireless data to generate second data.
7. The method according to any one of claims 1 to 6, wherein the first communication protocol is a wireless communication protocol and the second communication protocol is a wired communication protocol.
8. A multi-split communication apparatus, comprising:
the multi-split air conditioner comprises a first receiving module, a second receiving module and a control module, wherein the first receiving module is used for receiving first data sent by a first source node in the multi-split air conditioner, the multi-split air conditioner comprises a plurality of network nodes, and the first data is data 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 data transmitted by adopting a second communication protocol;
and the first sending module is used for broadcasting the transparent transmission of the second data to the first target node.
9. A multi-split air conditioner, characterized in that the multi-split air conditioner comprises an inner unit and an outer unit, the inner unit or the outer unit 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 multi-split communication device of claim 8.
10. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
11. 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 performing the method steps of any one of claims 1 to 7 by executing 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 true CN115208961A (en) 2022-10-18
CN115208961B 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
CN115208961B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
US5684796A (en) Method and apparatus for determining and maintaining agent topology information in a multi-segment network
CN106817264B (en) Method, device and system for detecting link fault
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
US5471461A (en) Digital communication network with a moderator station election process
CN108800446A (en) Communication means in air-conditioning system and air-conditioning system between unit
EP3422655B1 (en) Method for managing address of meter device, and acquisition terminal and meter device
CN104821925A (en) Data interaction method, system and device
CN105389278A (en) CAN bus based serial communication method for master and slave machines
CN112214441A (en) Communication switching method, equipment and system based on serial bus polling protocol
CN102365844A (en) Communication adapter device
CN112383463B (en) Repeater applied to AUTBUS bus and bus network
CN105515962A (en) Information processing method and smart home equipment
CN113518125A (en) Offline data uploading method and system, storage medium and electronic device
CN111884875A (en) Offline device determination method and device
CN112449444B (en) Communication control device and method for multi-connected equipment and multi-connected equipment
CN115208961A (en) Multi-split air conditioner and communication method and device thereof
CN208015725U (en) Multi-line system
CN111030754B (en) Repeater and monitoring method and system of optical fiber repeater
CN102301655B (en) Network system
CN102081383B (en) Device and method for secure network protocol for field control
CN114039898A (en) Communication system
CN116018785A (en) Method for operating a network
CN111008173A (en) Serial communication method, device and system
CN115235040A (en) Polarity judgment method of transceiver and multi-connected air conditioner
US7779186B2 (en) Master-slave card system and method for operating the same

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