Air conditioner communication control method, operation control device, air conditioner control equipment and medium
By setting up multiple communication units in the air conditioner controller and using the communication connection self-test signal for type identification, the problem of poor compatibility in the prior art is solved, and high compatibility and low-cost communication protocol switching of the air conditioner controller are realized.
Patent Information
- Application Number
- CN202310589329.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
Since the existing air conditioning controller has only one interface, it is not compatible with the communication protocols of different indoor units, it requires the development of multiple models of controllers, which increases the cost and installation complexity.
By setting up multiple communication units in the air conditioner controller, type identification is performed using the communication connection self-test signal, and the corresponding communication protocol is automatically switched to achieve compatibility with indoor units.
High compatibility of air conditioning controllers is achieved, development and installation costs are reduced, communication efficiency is improved, and additional interfaces are avoided.
Smart Images

Figure CN119031052A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioning equipment, and in particular to an air conditioning communication control method, an operation control device, an air conditioning control device and a medium. Background Art
[0002] At present, in order to meet the needs of users, outdoor units, indoor units and controllers are constantly updated and iterated, and the communication method between the controller and the indoor unit has also been iterating. Therefore, there are many types of communication methods between the controller and the indoor unit bracket, but some controllers in the related technology have only one interface, which can only support communication of one communication protocol, and have poor compatibility. Due to the different types and functions of air conditioners, when the indoor unit needs to communicate through different communication protocols, this single controller is difficult to meet actual needs. At this time, it is necessary to redevelop multiple models of controllers to support different communication protocols, which is costly. At the same time, due to the existence of different communication methods, when the controller and the indoor unit communicate, they need to be distinguished according to different models, which brings inconvenience to installation and production. Therefore, how to achieve high compatibility of the controller has become an urgent problem to be solved. Summary of the invention
[0003] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and to provide an air conditioning communication control method, an operation control device, an air conditioning control device and a medium, which can automatically identify the communication mode of the indoor unit and the communication mode of the controller, improve the compatibility of the controller, and enhance the convenience of installation.
[0004] In a first aspect, an embodiment of the present invention provides an air conditioning communication control method, which is applied to an air conditioning controller, wherein the air conditioning controller includes a first port connected to an indoor unit, and a plurality of communication units supporting different communication protocol types, and different communication units correspond to different communication protocol types; the air conditioning communication control method includes:
[0005] receiving a communication connection self-test signal from the indoor unit through the first port;
[0006] Performing type identification processing on the communication connection self-test signal to determine the communication protocol type of the indoor unit;
[0007] The communication unit corresponding to the communication protocol type of the indoor unit is controlled to communicate with the indoor unit through the first port.
[0008] According to the air conditioning communication control method provided by the embodiment of the present invention, there are at least the following beneficial effects: the air conditioning controller is connected to the indoor unit through the first port, and receives the communication connection self-test signal sent by the indoor unit for judging whether the communication connection between the indoor unit and the air conditioning controller is successful. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air conditioning controller can use the communication connection self-test signal to perform type identification processing, judge the type of communication protocol adopted by the indoor unit, and then control the communication unit supporting the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to judge the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller can be achieved at a low cost.
[0009] In the air conditioner communication control method provided by an embodiment of the present invention, the type identification processing of the communication connection self-test signal to determine the communication protocol type of the indoor unit includes:
[0010] According to the preset type identification code, the communication connection self-test signal is subjected to type identification processing to determine the communication protocol type of the indoor unit.
[0011] In the air conditioner communication control method provided by an embodiment of the present invention, the preset type identification code includes a plurality of communication type codes for characterizing different communication protocol types; the type identification processing of the communication connection self-test signal according to the preset type identification code to determine the communication protocol type of the indoor unit includes:
[0012] Identify and match the communication connection self-test signal with each of the communication type codes to obtain a target type code;
[0013] Determine the communication protocol type corresponding to the target type code as the communication protocol type of the indoor unit;
[0014] Wherein, the target type code is the communication type code that matches the communication self-test signal.
[0015] In the air conditioner communication control method provided by an embodiment of the present invention, the communication type code includes a first type code for characterizing a first protocol type based on non-polarity communication, and a second type code for a second protocol type based on polarity communication; the communication connection self-test signal is identified and matched with each of the communication type codes to obtain a target type code, including:
[0016] When the communication connection self-test signal matches the first type code, determining the first type code as the target type code;
[0017] When the communication connection self-test signal matches the second type code, the second type code is determined as the target type code.
[0018] In the air conditioning communication control method provided in the embodiment of the present invention, the air conditioning communication control method further includes:
[0019] When the communication type code that matches the communication connection self-test signal cannot be determined, a communication abnormality signal is issued.
[0020] In the air conditioning communication control method provided by an embodiment of the present invention, the air conditioning controller further includes a relay unit for connecting the required communication unit; the control of the communication unit corresponding to the communication protocol type of the indoor unit communicates with the indoor unit through the first port, including:
[0021] The relay unit is controlled to be connected to a target communication unit so that the target communication unit communicates with the indoor unit through the first port, and the target communication unit is the communication unit corresponding to the communication protocol type of the indoor unit.
[0022] In the air-conditioning communication control method provided by the embodiment of the present invention, the communication connection self-check signal is generated by triggering the indoor unit to be powered on.
[0023] In a second aspect, an embodiment of the present invention provides an operation control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the air conditioning communication control method as described in the embodiment of the first aspect above.
[0024] The operation control device provided according to the embodiment of the present invention has at least the following beneficial effects: a communication connection self-test signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air-conditioning controller is successful is received through the first port. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air-conditioning controller can use the communication connection self-test signal to perform type identification processing, determine the type of communication protocol adopted by the indoor unit, and then control the communication unit supporting the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air-conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air-conditioning controller can be achieved at a low cost.
[0025] In a third aspect, an embodiment of the present invention provides an air conditioning control device, comprising an operation control device as described in the embodiment of the second aspect.
[0026] The air conditioning control device provided according to the embodiment of the present invention has at least the following beneficial effects: a communication connection self-test signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air conditioning controller is successful is received through the first port. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air conditioning controller can use the communication connection self-test signal to perform type identification processing, determine the type of communication protocol adopted by the indoor unit, and then control the communication unit supporting the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller can be achieved at a low cost.
[0027] In a fourth aspect, an embodiment of the present invention provides an air conditioning control device, including:
[0028] The first port is used to connect to the indoor unit to receive a communication connection self-test signal of the indoor unit;
[0029] A communication identification unit, used for performing type identification processing on the communication connection self-test signal to determine the communication protocol type of the indoor unit;
[0030] The communication unit is provided in plurality, and different communication units correspond to different communication protocol types;
[0031] A control unit is used to control the communication unit corresponding to the communication protocol type of the indoor unit to communicate with the indoor unit through the first port.
[0032] The air conditioning control device provided according to the embodiment of the present invention has at least the following beneficial effects: a communication connection self-test signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air conditioning controller is successful is received through the first port. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the communication connection self-test signal is type-identified and processed by the communication identification unit to determine the type of communication protocol used by the indoor unit, and then the communication unit supporting the communication protocol type of the indoor unit can be controlled to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller can be achieved at a low cost.
[0033] In a fifth aspect, an embodiment of the present invention provides an air conditioning system, the air conditioning system comprising an air conditioning control device as described in the embodiment of the third aspect or an air conditioning control device as described in the embodiment of the fourth aspect. The air conditioning system provided by the embodiment of the present invention has at least the following beneficial effects: the air conditioning system can receive a communication connection self-test signal sent by the indoor unit through the first port of the air conditioning controller to determine whether the communication connection between the indoor unit and the air conditioning controller is successful. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the communication connection self-test signal can be type-identified by the communication identification unit to determine the type of communication protocol used by the indoor unit, and then the communication unit supporting the communication protocol type of the indoor unit can be controlled to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller and the air conditioning system can be achieved at a low cost.
[0034] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the air conditioning communication control method as described in the embodiment of the first aspect above.
[0035] The computer-readable storage medium provided according to the embodiment of the present invention has at least the following beneficial effects: the air-conditioning controller is connected to the indoor unit through the first port, and receives the communication connection self-test signal sent by the indoor unit for judging whether the communication connection between the indoor unit and the air-conditioning controller is successful. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air-conditioning controller can use the communication connection self-test signal to perform type identification processing, judge the type of communication protocol adopted by the indoor unit, and then control the communication unit supporting the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to judge the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air-conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air-conditioning controller can be achieved at a low cost.
[0036] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0038] The present invention is further described below in conjunction with the accompanying drawings and embodiments;
[0039] Figure 1 is a schematic diagram of a system architecture of a control system for executing an air conditioning communication control method provided by an embodiment of the present invention;
[0040] Figure 2 is a flow chart of an air conditioning communication control method provided by an embodiment of the present invention;
[0041] Figure 3 The embodiment of the present invention provides Figure 2 A schematic diagram of a specific process in step S120 is shown;
[0042] Figure 4 The embodiment of the present invention provides Figure 3 A schematic diagram of a specific process in step S210 is shown;
[0043] Figure 5 The embodiment of the present invention provides Figure 4 A schematic diagram of a specific process in step S310 is shown;
[0044] Figure 6 The embodiment of the present invention provides Figure 4 Another specific process schematic diagram of the air conditioner communication control method shown;
[0045] Figure 7 The embodiment of the present invention provides Figure 2 Another specific process schematic diagram of the air conditioner communication control method shown;
[0046] Figure 8 is a specific implementation flow chart of the air conditioning communication control method provided by an embodiment of the present invention;
[0047] Fig. 9 is a structural schematic diagram of an operation control device provided by an embodiment of the present invention;
[0048] Fig.10 is a structural schematic diagram of an air conditioning control device provided by an embodiment of the present invention;
[0049] Fig.11 It is a structural schematic diagram of another air conditioning control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.
[0051] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, "above", "below", "within", etc. are understood to include the number itself, "at least one" means one or more, "at least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0052] It should be noted that the terms such as setting, installing, and connecting in the embodiments of the present invention should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the embodiments of the present invention in combination with the specific content of the technical solution. For example, the term "connection" can be a mechanical connection, an electrical connection, or mutual communication; it can be directly connected or indirectly connected through an intermediate medium.
[0053] It should be noted that the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0054] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0055] As an important control method of air conditioners, the wire controller is a control device between the indoor unit and the outdoor unit, which plays the role of regulating and controlling the operation of the air conditioner. At present, the indoor unit of the air conditioner and the wire controller complete data interaction according to the agreed protocol. Due to the continuous change of actual usage scenarios, the communication method between the indoor unit and the wire controller has been updated and iterated, that is, there are multiple communication methods between the indoor unit and the wire controller. However, the wire controller has only one interface, through which only data of the same communication protocol can be sent and received. When the communication protocol of the indoor unit is inconsistent with the communication protocol of the wire controller, the indoor unit and the wire controller cannot exchange data. Therefore, corresponding wire controllers are developed to match the communication protocols of the indoor unit. When the wire controller is connected and installed with the indoor unit, it is necessary to first determine the communication methods of the indoor unit and the wire controller to avoid incompatibility of the communication protocols. However, the indoor unit supports a wide variety of communication methods, and developing a wire controller that supports different communication protocols is not only costly, but also requires adding steps to identify the communication methods of the wire controller, and has poor compatibility. Therefore, how to achieve high compatibility of the controller at low cost has become an urgent problem to be solved.
[0056] Based on this, an embodiment of the present invention provides an air conditioning communication control method, an operation control device, an air conditioning control device and a computer-readable storage medium, wherein the air conditioning controller is connected to the indoor unit through a first port, and receives a communication connection self-check signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air conditioning controller is successful. Since the communication connection self-check signal is sent by the indoor unit using its own communication protocol, and the communication connection self-check signals sent using different communication protocols are different, the air conditioning controller can use the communication connection self-check signal to perform type identification processing, determine the type of communication protocol used by the indoor unit, and then control the communication unit supporting the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-check signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller can be achieved at a low cost.
[0057] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0058] Reference Figure 1 , Figure 1The schematic diagram of the architecture of the control system 100 for executing the air conditioning communication control method provided by the embodiment of the present invention is shown. It can be understood that the control system 100 includes a first port 110 for communicating with the indoor unit, and a plurality of communication units 120. In addition, the control system 100 also includes a control module 130, which is respectively connected to the first port 110 and each communication unit 120. Among them, the communication protocol types supported by each communication unit 120 are different. For example, the communication unit 120 includes a first unit and a second unit. The first unit supports the CAN communication protocol based on non-polarity communication, and the second unit supports RS485 communication with polarity communication. Since different communication protocols are not compatible, when the communication protocol of the indoor unit is the CAN communication protocol, the control unit 130 is required to control the first unit to interact with the indoor unit through the first port 110 for data; and when the communication protocol of the indoor unit is the RS485 communication protocol, the control unit 130 is required to control the second unit to interact with the indoor unit through the first port 110 for data. Therefore, it is also necessary to judge the communication protocol adopted by the indoor unit. The control unit 130 can receive the communication connection self-test signal sent by the indoor unit when performing communication connection detection through the first port 110, and use the communication connection self-test signal to perform type identification processing instead of communication connection detection judgment processing. The communication connection self-test signals sent by the indoor unit using different communication protocols are different, so the control unit 130 only decodes and decodes the communication connection self-test signal, and judges the communication protocol corresponding to the communication connection self-test signal, so as to judge the communication protocol adopted by the indoor unit, and then the control unit 130 controls the corresponding communication unit 120 to perform data interaction with the indoor unit through the first port 110. Therefore, the control system 100 does not need to adopt a complete high-compatibility communication protocol, but only needs to perform type identification on the communication connection detection signal sent by the indoor unit, that is, it can realize autonomous identification of the communication protocol type of the indoor unit, and automatically switch to the communication protocol type corresponding to the indoor unit, and there is no need to add additional communication ports to realize the sharing of multiple communication protocols, thereby improving the compatibility of the control system 100 while reducing costs as much as possible.
[0059] It can be understood by those skilled in the art that Figure 1 The structure of the control system 100 shown in the figure does not constitute a limitation on the embodiments of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0060] Based on the system architecture of the control system 100 described above, various embodiments of the air conditioner communication control method of the control system 100 of the first aspect of the present invention are proposed.
[0061] Reference Figure 2 , Figure 2is a flow chart of an air conditioning communication control method provided by an embodiment of the present invention. The air conditioning communication control method can be applied to Figure 1 The control system 100 shown in the figure, the air conditioning communication control method includes but is not limited to the following steps:
[0062] Step S110: receiving a communication connection self-test signal from the indoor unit through the first port;
[0063] Step S120: performing type identification processing on the communication connection self-test signal to determine the communication protocol type of the indoor unit;
[0064] Step S130: controlling a communication unit corresponding to the communication protocol type of the indoor unit to communicate with the indoor unit through the first port.
[0065] It is understandable that, by using the first port to connect to the indoor unit, and the communication protocol type of the indoor unit is consistent with the communication protocol type of the air-conditioning controller, the air-conditioning controller can exchange data with the indoor unit through the first port. At present, in order to determine whether the indoor unit is successfully connected to the controller, the indoor unit automatically sends a communication connection self-test signal to the controller. After the controller receives the communication connection self-test signal, the controller uses the current communication protocol of the controller to check the communication connection self-test signal. If the check is correct, it means that the controller and the indoor unit are successfully connected; if the check fails, it means that the connection between the controller and the indoor unit fails, and the controller cannot communicate with the indoor unit normally. After receiving the communication connection self-test signal, the air-conditioning controller provided in the embodiment of the present invention performs type identification processing on the communication connection signal instead of communication connection judgment. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air conditioning controller can use the communication connection self-test signal to determine the type of communication protocol adopted by the indoor unit, and then control the communication unit that supports the communication protocol type of the indoor unit to communicate with the indoor unit, so that it is only necessary to identify the communication connection self-test signal sent by the indoor unit to identify the communication protocol type of the indoor unit, and automatically switch the corresponding communication unit to use the first port to communicate with the indoor unit.
[0066] Compared with the solution in the related art that develops corresponding wire controllers to match different communication protocol types, the more communication methods supported by the indoor unit, the more wire controllers need to be developed, the higher the cost, and it also brings inconvenience in installation and is prone to incorrect pairing. The air-conditioning controller provided in the embodiment of the present invention uses the communication connection self-test signal to determine the communication protocol type adopted by the indoor unit, and automatically switches the communication protocol type of the air-conditioning controller, thereby achieving a high compatibility effect. There is no need to identify the communication protocol type first, which is convenient for installation. Since the current wire controller has only one communication interface, only data of one communication protocol can be sent and received through the communication interface, and the same communication protocol cannot be received and sent at the same time. In the related art, the communication interface of the wire controller is additionally extended so that the wire controller can support multiple communication protocol types through each communication interface respectively, which is costly. In order to ensure that the communication protocol can match, the communication interface of the indoor unit needs to be additionally occupied, which wastes the communication interface of the indoor unit. At the same time, the wire controller needs to send test signals to the indoor unit through different communication interfaces respectively to detect whether the corresponding interface receives the reply signal from the indoor unit. This takes a long time and has low communication efficiency. The embodiment of the present invention does not need to additionally extend the communication interface, and directly uses the communication connection self-test signal automatically sent by the indoor unit for type identification, and automatically switches the communication unit to use the same port for communication, which has low cost, high compatibility and high communication efficiency.
[0067] At present, in order to realize the automatic connection between the indoor unit and the wire controller after power-on without manual operation, the indoor unit is equipped with a pre-set trigger program. After the indoor unit is powered on, the trigger program is automatically triggered to generate a communication connection self-check signal and send it to the wire controller to communicate with the wire controller. Therefore, the communication connection self-check signal automatically triggered and sent after the indoor unit is powered on can be directly received, and the communication connection self-check signal can be used for type identification, without sending a test signal to the indoor unit first to obtain the indoor unit's reply signal, thereby improving communication efficiency.
[0068] Reference Figure 3 In the air conditioning communication control method provided in the embodiment of the present invention, Figure 2 In the step S120 shown, step S120 further includes step S210:
[0069] Step S210: performing type identification processing on the communication connection self-test signal according to the preset type identification code to determine the communication protocol type of the indoor unit.
[0070] It is understandable that since the communication connection self-test signal is generated and sent by the indoor unit using its own communication protocol type, it has different characteristics and coding formats, and the preset type identification code is a pre-set code for different communication protocol types. These codes are used to identify and compare the characteristics of the communication connection self-test signal sent by the indoor unit, and then the type of communication protocol used by the indoor unit is determined. Since different communication protocol types are incompatible with each other, before the air-conditioning controller communicates with the indoor unit, the type of communication protocol used by the indoor unit must be correctly determined before the corresponding communication method can be used for data exchange. The communication connection self-test signal is type-identified and processed by the preset type identification code without manual intervention, so as to automatically identify the type of communication protocol used by the indoor unit, improve the compatibility of the air-conditioning controller, and also improve the communication efficiency between the indoor unit and the air-conditioning controller, which helps to improve the intelligence of the air-conditioning system.
[0071] For example, the communication connection self-test signal can be decoded using a preset type identification code to find out the encoding method of the communication connection self-test signal, so as to identify the type of communication protocol adopted by the indoor unit. Since the communication connection self-test signal is transmitted through the indoor unit's own signal encoding method, that is, the communication protocol type, and the preset type identification code is a piece of data used to represent different communication protocol type encodings, it is helpful to decode the communication connection self-test signal. The received communication connection self-test signal can be decoded and decoded according to the encoding rules of the preset type identification code to obtain the corresponding data information. Different communication protocol types use different encoding methods. The type of communication protocol adopted by the indoor unit can be determined by comparing the decoded data information, so that the type of communication protocol adopted by the indoor unit can be efficiently judged.
[0072] In addition, the preset type identification code can be used to perform a formula algorithm operation on the communication connection self-test signal to obtain an operation result, and then the operation result is used to determine the communication protocol type corresponding to the communication connection self-test signal; for example, by subtracting the preset type identification code and the communication connection self-test signal to obtain a difference result, the difference result is judged, when the difference result is 0101, it can be considered that the communication protocol type of the indoor unit is the RS485 communication protocol, and when the difference result is 0100, it can be considered that the communication protocol type of the indoor unit is the CAN communication protocol.
[0073] Reference Figure 4 In the air conditioning communication control method provided in the embodiment of the present invention, Figure 3 In the step S210 shown, step S210 further includes steps S310 to S320:
[0074] Step S310: Identify and match the communication connection self-test signal with each communication type code to obtain a target type code;
[0075] Step S320: Determine the communication protocol type corresponding to the target type code as the communication protocol type of the indoor unit.
[0076] It can be understood that the preset type identification code includes multiple communication type codes, and the communication type code that matches the communication connection self-test signal is found from the multiple communication type codes as the target type code, and each communication type code corresponds to each communication protocol type. Therefore, the communication protocol type corresponding to the target type code can be determined as the communication protocol type of the indoor unit, thereby realizing automatic identification of the communication protocol type of the indoor unit, which helps to adjust the communication protocol type of the air-conditioning controller according to the identification result to achieve compatibility, reliability and efficiency. Moreover, by matching the identification type code with the communication connection self-test signal, compatibility problems and installation difficulties caused by multiple communication protocols are avoided, and the convenience of using the air-conditioning controller is improved.
[0077] Reference Figure 5 In the air conditioning communication control method provided in the embodiment of the present invention, Figure 4 In the step S310 shown, step S310 also includes step S410 and step S420:
[0078] Step S410: when the communication connection self-test signal matches the first type code, the first type code is determined as the target type code;
[0079] Step S420: When the communication connection self-test signal matches the second type code, the second type code is determined as the target type code.
[0080] It can be understood that the communication type code can be characterized as a type identification code of the indoor unit, which is used to indicate the different communication protocol types used by the indoor unit, wherein the first protocol type can be characterized as a communication protocol based on non-polarity communication, such as CAN bus communication protocol, LIN bus communication protocol, I2C bus communication protocol, etc. The communication protocol of non-polarity communication can determine the signal content by the difference between the two voltages, and the first type code is an identification code corresponding to the first protocol type. The second protocol type can be characterized as a communication protocol based on polarity communication, such as RS485 communication protocol and RS232 communication protocol. The communication protocol of polarity communication can determine the signal content by the positive and negative polarity of the difference between the two voltages, and the second type code is an identification code corresponding to the second protocol type. The communication connection self-test signal is decoded and decoded to identify the instruction code. If the instruction code matches the first type code, the first type code can be considered as the target type code, and the communication connection self-test signal is sent through the first protocol type, that is, it can be determined that the communication protocol type of the indoor unit is a communication protocol based on non-polarity communication. If the instruction code matches the second type code, the second type code can be considered as the target type code, and the communication connection self-test signal is sent through the second protocol type, that is, it can be determined that the communication protocol type of the indoor unit is a communication protocol based on polarized communication. Therefore, by directly comparing and matching the communication connection self-test signal with different communication type codes, the communication protocol type of the indoor unit can be quickly determined, so as to select the corresponding communication protocol to improve the communication stability and reliability between the air-conditioning controller and the indoor unit.
[0081] Reference Figure 6 In the air conditioning communication control method provided in the embodiment of the present invention, Figure 4 The air conditioning communication control method shown also includes step S510:
[0082] Step S510: When a communication type code matching the communication connection self-test signal cannot be determined, a communication abnormality signal is issued.
[0083] It is understandable that if the communication type code that matches the communication connection self-test signal cannot be found and determined from multiple communication type codes, it can be considered that the current air-conditioning controller does not support the communication protocol type of the indoor unit, or the communication connection self-test signal is wrong, and a communication abnormality signal is issued to remind timely inspection or replacement to avoid installation or use errors that may cause communication failure or damage to the air-conditioning controller.
[0084] Reference Figure 7 In the air conditioning communication control method provided in the embodiment of the present invention, Figure 2 The air conditioning communication control method shown also includes step S610:
[0085] Step S610: Control the relay unit to connect with the target communication unit so that the target communication unit communicates with the indoor unit through the first port, and the target communication unit is a communication unit corresponding to the communication protocol type of the indoor unit.
[0086] It is understandable that the air conditioning controller is also provided with a relay unit, and the relay unit can select one of the multiple communication units to connect, so that the connected communication unit works, and then the communication unit can send data with the indoor unit through the first port. Among them, each communication unit can be connected to the relay unit, and the relay unit is connected to the first port. When the relay unit is connected to the required communication unit, the communication unit can communicate with the indoor unit through the first port. In addition, each communication unit can be connected to the first port respectively, and the relay unit can be connected to the power supply. When the relay unit is not connected to the communication unit, the communication unit has no power supply and cannot communicate with the indoor unit. When the relay is connected to the required communication unit, the communication unit is powered on and can communicate with the indoor unit through the first port.
[0087] Therefore, by controlling the relay unit to connect with the target communication unit, the communication unit corresponding to the communication protocol type of the indoor unit is powered on, and then the same communication protocol type can be used to interact with the indoor unit for data. Compared with the software program switching method, the physical hardware switching method of the communication unit realized by the relay unit can make the air-conditioning controller more stable and reliable. Since the hardware switching method is that the relay unit switches the communication unit through the physical circuit, it will not be affected by factors such as software failures, and avoid system failures caused by software problems. At the same time, the hardware switching method can achieve faster response speed and more accuracy, while the control of the communication unit through the software program requires program operation processing and has a slow response speed. Therefore, the connection method of switching the communication unit by the relay unit can be free from the problem of software delay, ensure the timeliness and accuracy of the communication signal, and effectively avoid signal loss and errors. In addition, the use of the relay unit to connect the target communication unit can also reduce the occupation of program resources in the air-conditioning controller and improve communication efficiency.
[0088] The air conditioning communication control method provided by the embodiment of the present invention is described in detail below with reference to a specific example.
[0089] Reference Figure 8 , Figure 8The specific implementation flow chart of the air conditioning communication control method provided by the embodiment of the present invention is shown. In some air conditioning systems that need to connect a wire controller, when the air conditioning controller is connected to the indoor unit through the first port, in order to determine whether the indoor unit and the air conditioning controller have successfully established a communication connection, the indoor unit will send a communication connection self-test signal after power is supplied. The air conditioning controller in the related art can use its own default communication protocol type to identify the communication connection self-test signal. If the communication connection self-test signal is successfully identified, it means that the air conditioning controller and the indoor unit have completed the communication connection. The air conditioning controller in the embodiment of the present invention will decode and decode the communication connection self-test signal, identify and obtain the communication instruction code corresponding to the communication connection self-test signal. For example, the communication connection self-test signal is a string of communication instructions, specifically ABAB, and the specific content of the communication instruction code obtained after decoding is 0101. After obtaining the communication instruction code, the preset type identification code is compared, wherein the preset type identification code includes a first type code characterized as a first protocol type based on non-polarity communication, and a second type code characterized as a second protocol type based on polarity communication, and the first type code can be 0101, and the second type code is 0100; since the communication instruction code matches the first type code, it can be determined that the communication connection self-test signal sent by the indoor unit is of the first protocol type. The air-conditioning controller includes a first communication unit for communicating with the indoor unit using a first protocol type, a second communication unit for communicating with the indoor unit using a second protocol type, and a relay unit for switching connections between the communication units. Therefore, after determining that the communication protocol type of the indoor unit is the first protocol type, the relay unit can be controlled to connect with the first communication unit so that the first communication unit is powered on and operates, thereby being able to use the first communication unit to exchange data with the indoor unit through the first port. There is no need to additionally expand the connection port of the air-conditioning controller, nor is there any need to additionally develop a new communication protocol. It is only necessary to identify which communication protocol type the communication connection self-test signal sent by the indoor unit represents, so that the communication mode of the indoor unit can be automatically identified, and the communication mode of the air-conditioning controller itself can be automatically switched. Different communication modes can be selected according to different types of indoor units. This is suitable for air-conditioning systems that need to be connected to a wire controller, thereby achieving high compatibility of the air-conditioning controller at a low cost.
[0090] Second, refer to Fig. 9 The embodiment of the present invention provides an operation control device 900, including a memory 920, a processor 910, and a computer program stored in the memory 920 and executable on the processor 910. The processor 1210 executes the program to implement the air conditioning communication control method of the first embodiment, for example, Figure 2 or performing steps S110 to S130 of the method Figure 3 In step S210 of the method, or executing Figure 4Steps S310 to S320 of the method, or performing Figure 5 Steps S410 to S420 of the method, or executing Figure 6 In step S510 of the method, or executing Figure 7 Method step S610 in .
[0091] According to the operation control device provided by the embodiment of the present invention, a communication connection self-test signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air-conditioning controller is successful is received through the first port. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air-conditioning controller can use the communication connection self-test signal to perform type identification processing, determine the type of communication protocol adopted by the indoor unit, and then control the communication unit that supports the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air-conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air-conditioning controller can be achieved at a low cost.
[0092] In a third aspect, an embodiment of the present invention provides an air conditioning control device, comprising an operation control device according to the embodiment of the second aspect above.
[0093] According to the air conditioning control device provided by the embodiment of the present invention, a communication connection self-test signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air conditioning controller is successful is received through the first port. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the air conditioning controller can use the communication connection self-test signal to perform type identification processing, determine the type of communication protocol adopted by the indoor unit, and then control the communication unit that supports the communication protocol type of the indoor unit to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller can be achieved at a low cost.
[0094] In a fourth aspect, an embodiment of the present invention provides an air conditioning control device, referring to Fig.10 , Fig.10 A schematic structural diagram of an air conditioning control device 1000 provided in an embodiment of the present invention is shown.
[0095] It can be understood that the air conditioning control device 1000 includes a first port 1010, a communication identification unit 1020, a control unit 1040 and a plurality of communication units 1030, wherein each communication unit 1030 supports different communication protocol types, and the first port 1010 can be connected to the indoor unit, so the communication identification unit 1020 can receive the communication connection self-test signal sent by the indoor unit through the first port 1010 for judging whether the communication connection between the indoor unit and the air conditioning controller is successful. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the communication connection self-test signal is type-identified by the communication identification unit 1020 to judge the type of communication protocol adopted by the indoor unit, so that the control unit 1040 can control the communication unit 1030 supporting the communication protocol type to communicate with the indoor unit through the first port 1010 according to the communication protocol type determined by the communication identification unit 1020. Therefore, the air conditioning control device 1000 only needs to identify the communication connection self-test signal to determine the communication protocol type of the indoor unit, switch the corresponding communication unit 1030 to use the same port to communicate with the indoor unit, and realize the function of autonomously identifying the communication protocol type of the indoor unit and automatically switching the communication method of the air conditioning controller. There is no need to redevelop a complete high-compatibility communication protocol or add additional communication ports, thereby achieving high compatibility of the air conditioning controller at a low cost.
[0096] In addition, refer to Fig.11 , Fig.11 The structural diagram of the air conditioning control device 1000 provided by another embodiment of the present invention is shown. The air conditioning control device 1000 also includes a relay unit 1050. The relay unit 1050 can be connected to the corresponding communication unit 1030 under the control of the control unit 1040, and then the communication unit 1030 can communicate with the indoor unit through the first port 1010. Therefore, after determining the communication protocol type of the indoor unit, the relay unit 1050 is connected to the corresponding communication unit 1030, so that the communication unit 1030 corresponding to the communication protocol type of the indoor unit is powered on, and then the same communication protocol type can be used to interact with the indoor unit. The physical hardware switching method of the communication unit 1030 is realized by the relay unit 1050. Compared with using a software program to control the corresponding communication unit 1030 for communication, the scheme is simple to implement, and the air conditioning controller can be made more stable and reliable, achieve a faster response speed, and be more accurate, ensuring the timeliness and accuracy of the communication signal, and effectively avoiding signal loss and errors.
[0097] In a fifth aspect, an embodiment of the present invention provides an air-conditioning system, which may include an air-conditioning control device as described in the embodiment of the third aspect or an air-conditioning control device as described in the embodiment of the fourth aspect.
[0098] According to the air conditioning system provided by the embodiment of the present invention, the air conditioning system may also include an indoor unit, and the indoor unit may be connected to the first port of the air conditioning controller, so that the indoor unit may interact with the air conditioning controller through the first port, for example, sending a communication self-test signal to the air conditioning controller or receiving a communication control signal sent by the air conditioning controller for controlling the operation of the indoor unit. The indoor unit may be pre-set with an automatic trigger condition for the communication connection self-test signal, and the automatic trigger condition may be that when the indoor unit is powered on, that is, when the automatic trigger condition is satisfied after the indoor unit is powered on, the indoor unit may send a communication connection self-test signal to the air conditioning controller through the first port within a preset time, thereby determining whether the communication connection between the indoor unit and the air conditioning controller is successful.
[0099] The air conditioning system provided by the embodiment of the present invention can receive a communication connection self-test signal sent by the indoor unit through the first port of the air conditioning controller to determine whether the communication connection between the indoor unit and the air conditioning controller is successful. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the communication connection self-test signal can be type-identified and processed by the communication identification unit to determine the type of communication protocol used by the indoor unit, and then the communication unit supporting the communication protocol type of the indoor unit can be controlled to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air conditioning controller and the air conditioning system can be achieved at a low cost.
[0100] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the air conditioning communication control method of the first aspect of the embodiment, for example, to execute Figure 2 or performing steps S110 to S130 of the method Figure 3 In step S210 of the method, or executing Figure 4 Steps S310 to S320 of the method, or performing Figure 5 Steps S410 to S420 of the method, or executing Figure 6 In step S510 of the method, or executing Figure 7 Method step S610 in .
[0101] According to the computer-readable storage medium provided by the embodiment of the present invention, a communication connection self-test signal sent by the indoor unit for determining whether the communication connection between the indoor unit and the air-conditioning controller is successful is received through the first port. Since the communication connection self-test signal is sent by the indoor unit using its own communication protocol, and the communication connection self-test signals sent using different communication protocols are different, the communication connection self-test signal is type-identified and processed by the communication identification unit to determine the type of communication protocol used by the indoor unit, and then the communication unit supporting the communication protocol type of the indoor unit can be controlled to communicate with the indoor unit, so that only the communication connection self-test signal needs to be identified to determine the type of communication protocol of the indoor unit, and the corresponding communication unit is switched to communicate with the indoor unit using the same port, so that the communication protocol type of the indoor unit can be autonomously identified, and the communication mode of the air-conditioning controller can be automatically switched, and at the same time, there is no need to redevelop a complete high-compatibility communication protocol, and there is no need to add additional communication ports, so that the high compatibility of the air-conditioning controller can be achieved at a low cost.
[0102] An embodiment of the present invention also discloses a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, and a processor of an operation control device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the operation control device executes the air conditioning communication control method as in the previous embodiment.
[0103] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. The integrated physical components may be stored in a computer-readable storage medium if implemented in the form of software functional units and sold or used as independent products. Based on such an understanding, the technical solution of the present invention may be essentially or partly or all or partly in the form of a software product that contributes to the prior art, and the computer software product may be stored in a storage medium, including several instructions for enabling 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 methods of various embodiments of the present invention. As a term well known to those skilled in the art, computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk DVD or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0104] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. An air conditioning communication control method, characterized in that: Applied to an air-conditioning controller, the air-conditioning controller comprises a first port connected to an indoor unit, and a plurality of communication units supporting different communication protocol types, and different communication units correspond to different communication protocol types; The air conditioning communication control method comprises: receiving a communication connection self-test signal from the indoor unit through the first port; Performing type identification processing on the communication connection self-test signal to determine the communication protocol type of the indoor unit; The communication unit corresponding to the communication protocol type of the indoor unit is controlled to communicate with the indoor unit through the first port.
2. The air conditioning communication control method according to claim 1, characterized in that: The performing type identification processing on the communication connection self-test signal to determine the communication protocol type of the indoor unit includes: According to the preset type identification code, the communication connection self-test signal is subjected to type identification processing to determine the communication protocol type of the indoor unit.
3. The air conditioning communication control method according to claim 2, characterized in that: The preset type identification code includes a plurality of communication type codes for characterizing different communication protocol types; The step of performing type identification processing on the communication connection self-test signal according to the preset type identification code to determine the communication protocol type of the indoor unit includes: Identify and match the communication connection self-test signal with each of the communication type codes to obtain a target type code; Determine the communication protocol type corresponding to the target type code as the communication protocol type of the indoor unit; Wherein, the target type code is the communication type code that matches the communication self-test signal.
4. The air conditioning communication control method according to claim 3, characterized in that: The communication protocol type of the indoor unit includes a first protocol type for characterizing a communication protocol based on non-polarity communication, and a second protocol type for characterizing a communication protocol based on polarity communication; the communication type code includes a first type code corresponding to the first protocol type, and a second type code corresponding to the second protocol type; The step of identifying and matching the communication connection self-test signal with each of the communication type codes to obtain a target type code includes: When the communication connection self-test signal matches the first type code, determining the first type code as the target type code; When the communication connection self-test signal matches the second type code, the second type code is determined as the target type code.
5. The air conditioning communication control method according to claim 3, characterized in that: The air conditioning communication control method further includes: When the communication type code matching the communication connection self-check signal cannot be determined, a communication abnormality signal is issued.
6. The air conditioning communication control method according to claim 1, characterized in that: The air conditioning controller further includes a relay unit for connecting the required communication unit; the communication unit corresponding to the communication protocol type of the control and the indoor unit communicates with the indoor unit through the first port, including: The relay unit is controlled to be connected to a target communication unit so that the target communication unit communicates with the indoor unit through the first port, and the target communication unit is the communication unit corresponding to the communication protocol type of the indoor unit.
7. The air conditioning communication control method according to claim 1, characterized in that: The communication connection self-check signal is generated by triggering the indoor unit to be powered on.
8. An operation control device, characterized in that: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the air conditioning communication control method according to any one of claims 1 to 7.
9. An air conditioning control device, characterized in that: Comprising the operation control device as claimed in claim 8.
10. An air conditioning control device, characterized in that: include: The first port is used to connect to the indoor unit to receive a communication connection self-test signal of the indoor unit; A communication identification unit, used for performing type identification processing on the communication connection self-test signal to determine the communication protocol type of the indoor unit; The communication unit is provided in plurality, and different communication units correspond to different communication protocol types; A control unit is used to control the communication unit corresponding to the communication protocol type of the indoor unit to communicate with the indoor unit through the first port.
11. The air conditioning control device according to claim 10, characterized in that: The air conditioning control device further includes a relay unit for connecting to the required communication unit.
12. An air conditioning system, characterized in that: It includes the air conditioning control device according to claim 9 or the air conditioning control device according to any one of claims 10 to 11.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the air conditioning communication control method according to any one of claims 1 to 7.
