Indoor unit control method and device based on multi-split air conditioner and multi-split air conditioner
By obtaining the communication error coefficient of multiple online air conditioners, optimizing the control strategy and control frame types, the problems of communication delay and energy consumption in multiple online air conditioners are solved, and the control efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410673873.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2025-07-25
AI Technical Summary
In multi-online air conditioning systems, due to installation site wiring problems, the communication stability of each internal unit is poor. Using the same retransmission method will lead to delayed communication time of internal and external units, increase energy consumption, and affect user experience.
By obtaining the communication error coefficient of each air conditioner internal unit, the control strategy of the main air conditioner internal unit to the slave air conditioner internal unit is determined based on the error coefficient, and different control confirmation times and maximum control times are adopted, and the internal control process is optimized by combining multi-function or single-function control frames.
It reduces the delay time of bus communication, reduces energy consumption, improves the accuracy and efficiency of internal unit control, reduces user operation time, and improves user experience.
Smart Images

Figure CN120368414A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and particularly to an indoor unit control method, device and multi-connected air conditioner based on a multi-connected air conditioner. Background Art
[0002] In a multi-connected air conditioner communication system, if a wired controller controls any one indoor unit, it is necessary to connect the wired controller to all indoor units, and the installation wiring is very complex. Moreover, when a user controls any air conditioner in the whole system through the wired controller, it may occur that the control frame fails to be controlled after being sent several times. In this case, it is often necessary to resend the control frame for repeated control. However, due to the wiring problem at the installation site, the communication stability of each indoor unit in the system is good or bad. Using the same resending method will cause a time delay in the communication between the indoor and outdoor units, an increase in energy consumption, and the effectiveness of indoor unit control cannot be accurately guaranteed, resulting in a problem of limited indoor unit control efficiency. At the same time, it will also extend the user's waiting time and bring a bad operation experience to the user. Summary of the Invention
[0003] The present invention provides an indoor unit control method, device and multi-connected air conditioner based on a multi-connected air conditioner, so as to solve the defects of time delay in the communication between the indoor and outdoor units, increased energy consumption, and affecting the user experience caused by using the same resending method in the prior art.
[0004] The present invention provides an indoor unit control method based on a multi-connected air conditioner. The multi-connected air conditioner includes: at least one air conditioner outdoor unit, a wired controller and a plurality of air conditioner indoor units. One of the plurality of air conditioner indoor units is connected to the wired controller to form a main air conditioner indoor unit, and the other air conditioner indoor units are connected to the main air conditioner indoor unit to form slave air conditioner indoor units; The method includes: Obtaining a communication error code coefficient of each air conditioner indoor unit, where the communication error code coefficient is used to characterize the communication quality between each air conditioner indoor unit and the air conditioner outdoor unit; Determining a control strategy of the main air conditioner indoor unit for each slave air conditioner indoor unit according to the obtained communication error code coefficient; Receiving and executing, by the main air conditioner indoor unit, a control instruction of the wired controller for each slave air conditioner indoor unit according to the control strategy.
[0005] According to the indoor unit control method based on a multi-connected air conditioner provided by the present invention, different communication error code coefficients correspond to control strategies with different control confirmation times and different maximum control times. The larger the communication error code coefficient, the larger the control confirmation times and the maximum control times.
[0006] According to the indoor unit control method based on a multi-connected air conditioner provided by the present invention, the step of determining the control strategy of the main air conditioner indoor unit for each slave air conditioner indoor unit according to the obtained communication error code coefficient specifically includes: If the obtained communication error code coefficient is within the first threshold range, execute the control strategy of the first control confirmation times and the first maximum control times; If the obtained communication error code coefficient is within the second threshold range, execute the control strategy of the second control confirmation times and the second maximum control times; If the obtained communication error code coefficient is within the third threshold range, execute the control strategy of the third control confirmation times and the third maximum control times; Among them, the communication error code coefficients corresponding to the first threshold range, the second threshold range, and the third threshold range increase step by step, the first control confirmation times and the second control confirmation times increase step by step, the third control confirmation times are equal to or greater than the second control confirmation times, and the first maximum control times, the second maximum control times, and the third maximum control times increase step by step.
[0007] According to the indoor unit control method of the multi-connected air conditioner provided by the present invention, the method further includes: If the obtained communication error code coefficient is within the first threshold range or the second threshold range, the control instruction adopts a multi-functional control frame; If the obtained communication error code coefficient is within the third threshold range, the control instruction adopts a single-functional control frame; Among them, the multi-functional control frame is an instruction including at least two functions, and the single-functional control frame is an instruction including one function.
[0008] According to the indoor unit control method of the multi-connected air conditioner provided by the present invention, the step of executing the control instruction of the line controller for each of the slave air conditioner indoor units specifically includes: Decompose the control instruction of the line controller for each of the slave air conditioner indoor units into the target control instructions of the master air conditioner indoor unit for each of the slave air conditioner indoor units; Based on each of the target control instructions, the master air conditioner indoor unit controls each of the slave control indoor units respectively.
[0009] According to the indoor unit control method of the multi-connected air conditioner provided by the present invention, the communication error code coefficient is the percentage of the number of communication failures between each of the air conditioner indoor units and the air conditioner outdoor unit in the total number of communications within a preset period.
[0010] According to the indoor unit control method of the multi-connected air conditioner provided by the present invention, the obtaining of the communication error code coefficient of each air conditioner indoor unit specifically includes: Obtain the number of times the air conditioner outdoor unit successfully sends out communication signals; Obtain the number of times each air conditioner indoor unit successfully responds to the communication signal; Calculate the communication error code coefficient of each of the air conditioner indoor units, and the communication error code coefficient is calculated by the following formula: Among them, fer(i) represents the communication error code coefficient of the i-th indoor unit of the air conditioner, and n i represents the number of successful responses of the i-th indoor unit of the air conditioner, and N represents the number of times the outdoor unit of the air conditioner successfully sends out communication signals.
[0011] The present invention also provides an indoor unit control device for a multi-connected air conditioner. The multi-connected air conditioner includes: at least one outdoor unit of the air conditioner, a wired controller, and a plurality of indoor units of the air conditioner. One of the plurality of indoor units of the air conditioner is connected to the wired controller to form a main indoor unit of the air conditioner, and the other indoor units of the air conditioner are connected to the main indoor unit of the air conditioner to form slave indoor units of the air conditioner. The device includes: An error code coefficient acquisition module, configured to acquire the communication error code coefficients of the respective indoor units of the air conditioner, and the communication error code coefficients are used to characterize the communication quality between the respective indoor units of the air conditioner and the outdoor unit of the air conditioner; A strategy determination module, configured to determine a control strategy of the main indoor unit of the air conditioner for each of the slave indoor units according to the acquired communication error code coefficients; An instruction execution module, configured to receive and execute, through the main indoor unit of the air conditioner, control instructions of the wired controller for each of the slave indoor units according to the control strategy.
[0012] The present invention also provides a multi-connected air conditioner, including: a memory and a processor; The memory and the processor communicate with each other through a bus; The memory stores computer instructions that can run on the processor; When the processor calls the computer instructions, it can execute any one of the above-mentioned indoor unit control methods for a multi-connected air conditioner.
[0013] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements any one of the above-mentioned indoor unit control methods for a multi-connected air conditioner.
[0014] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements any one of the above-mentioned indoor unit control methods for a multi-connected air conditioner.
[0015] The indoor unit control method, device and multi-connected air conditioner provided by the present invention obtain the communication error code coefficients of each indoor unit of the air conditioner, and the communication error code coefficients are used to characterize the probability of communication failure between each indoor unit of the air conditioner and the outdoor unit of the air conditioner; according to the obtained communication error code coefficients, determine the control strategy of the main indoor unit of the air conditioner for each slave indoor unit; according to the control strategy, the main indoor unit of the air conditioner receives and executes the control instructions of the remote controller for each slave indoor unit, reduces the delay time of bus communication, thereby reducing energy consumption, improving the accuracy of indoor unit control, improving the indoor unit control efficiency, reducing the operation time of users, and enhancing the user experience. Brief Description of the Drawings
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 It is a schematic flowchart of the indoor unit control method based on a multi-connected air conditioner provided by an embodiment of the present invention.
[0018] Figure 2 It is a cross-linking relationship diagram of a multi-connected air conditioner provided by an embodiment of the present invention.
[0019] Figure 3 It is a schematic structural diagram of the indoor unit control device based on a multi-connected air conditioner provided by an embodiment of the present invention.
[0020] Figure 4 It is a schematic structural diagram of an electronic device provided by the present invention. Detailed Description of the Embodiments
[0021] To make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention with reference to the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0022] The present invention will be specifically described below with reference to the accompanying drawings of the specification. The specific operation methods in the method embodiments can also be applied to the apparatus embodiments or system embodiments. In the description of the present invention, unless otherwise specified, the "indoor unit" refers to the "air conditioner indoor unit", the "outdoor unit" refers to the "air conditioner outdoor unit", the "main indoor unit" refers to the "main air conditioner indoor unit", the "slave indoor unit" refers to the "slave air conditioner indoor unit", the "communication between the indoor and outdoor units" refers to the "communication between the air conditioner indoor unit and the air conditioner outdoor unit", and the "indoor unit" or "air conditioner indoor unit" refers to the "indoor unit or air conditioner indoor unit corresponding to the same outdoor unit or air conditioner outdoor unit". "At least one" includes one or more. "Multiple" means two or more. For example, at least one of A, B, and C includes: A existing alone, B existing alone, A and B existing simultaneously, A and C existing simultaneously, B and C existing simultaneously, and A, B, and C existing simultaneously.
[0023] In a multi-connected air conditioner communication system, due to the wiring problem at the installation site, the communication stability of each indoor unit in the system is good or bad. When the user controls any air conditioner in the whole system through the wired controller, it may happen that the control frame is not successfully controlled after being sent once. At this time, it is necessary to resend, but the communication quality of the indoor unit is not considered during resending. Indoor units with good or bad communication quality adopt the same number of retransmissions, which will lead to the delay of the invalid communication time between the indoor and outdoor units, increase the communication energy consumption and the operation time of the user.
[0024] To solve the above problems, the present invention provides an indoor unit control method for a multi-connected air conditioner. In some specific implementation schemes of the present invention, as Figure 1 shown, Figure 1 is a schematic flowchart of the indoor unit control method for a multi-connected air conditioner provided by an embodiment of the present invention. Among them, the multi-connected air conditioner includes at least one air conditioner outdoor unit, a wired controller, and multiple air conditioner indoor units. One of the multiple air conditioner indoor units is connected to the wired controller to form the main air conditioner indoor unit, and the other air conditioner indoor units are connected to the main air conditioner indoor unit to form the slave air conditioner indoor units. On this basis, the indoor unit control method for a multi-connected air conditioner provided by an embodiment of the present invention includes: Step 100, obtaining the communication error code coefficients of each of the air conditioner indoor units, where the communication error code coefficients are used to characterize the communication quality between each of the air conditioner indoor units and the air conditioner outdoor unit; Step 200, determining the control strategies of the main air conditioner indoor unit for each of the slave air conditioner indoor units according to the obtained communication error code coefficients; Step 300, receiving and executing the control instructions of the wired controller for each of the slave air conditioner indoor units through the main air conditioner indoor unit according to the control strategies.
[0025] It should be noted that the multi-connected air-conditioning system mentioned in the embodiments of the present invention is usually one outdoor unit with multiple indoor units or multiple outdoor units with multiple indoor units, such as one outdoor unit system with 128 indoor unit systems installed, etc. The communication between the indoor and outdoor units usually refers to the information interaction carried out by means of the outdoor unit broadcasting a signal and all indoor units responding. The communication error code coefficient can also be simply referred to as the error rate, which is used to characterize the communication quality between the indoor and outdoor units, that is, the evaluation value of the communication quality of each node. The main indoor unit refers to the indoor unit that is connected to the wired controller and communicates directly with the wired controller. The slave indoor unit refers to the indoor unit that is not connected to the wired controller in the air-conditioning system but is controlled by the wired controller according to the user-set grouping. The slave indoor unit is connected to the main indoor unit.
[0026] The above steps of the present invention will be described in detail below with reference to specific embodiments.
[0027] Step 100: Obtain the communication error code coefficient of each air-conditioning indoor unit, where the communication error code coefficient is used to characterize the communication quality between each air-conditioning indoor unit and the air-conditioning outdoor unit; In this step, the communication error code coefficient needs to be calculated based on the communication data between the air-conditioning indoor unit and the air-conditioning outdoor unit.
[0028] Optionally, the communication error code coefficient can be set as the percentage of the number of communication failures between each air-conditioning indoor unit and the air-conditioning outdoor unit within a preset period to the total number of communications.
[0029] Specifically, in actual applications, the communication times are calculated by the outdoor unit broadcasting a signal and all indoor units responding. After all indoor units have responded, one round of communication is completed.
[0030] Each indoor unit node in the communication system can receive the data information of the air-conditioning outdoor unit and other air-conditioning indoor units on the bus. Therefore, each air-conditioning indoor unit can count the number of rounds of signals sent by the air-conditioning outdoor unit and the number of responses of each indoor unit in the system, so that the communication error code coefficient (or error rate) of this indoor unit can be evaluated. The communication quality is expressed as a percentage. Figure 2 This is the cross-link relationship diagram of the multi-connected air conditioner provided by the embodiments of the present invention. As Figure 2 shown in, No. 5 is the main indoor unit, and the other indoor units are slave indoor units. The wired controller can control other indoor units in the system through the No. 5 indoor unit. The specific process is as follows: The first step: When the system is powered on normally, confirm that there is no outdoor unit loss-of-unit fault. Each indoor unit in the system starts to evaluate the quality of each node. For each correct data frame received from the outdoor unit, the communication round number N is incremented by 1; The second step: Each indoor unit responds to the outdoor unit. The main indoor unit receives all the data of the indoor units including its own transmitted data. At the end of each round of communication, if the response in this round is correct, the number of successful responses n is incremented by 1; The third step: Calculate the communication error code coefficient of each node in the system: Among them, fer(i) represents the communication error code coefficient of the i-th indoor unit of the air conditioner, and n i represents the number of successful responses of the i-th indoor unit of the air conditioner, N represents the number of times the outdoor unit of the air conditioner successfully sends a communication signal, and n i ≤N.
[0031] Step 200: Determine the control strategy of the master indoor unit of the air conditioner for each slave indoor unit according to the obtained communication error code coefficient; In this step, the control strategy means that different communication error code coefficients correspond to different control confirmation times and different maximum control times. The larger the communication error code coefficient, the larger the control confirmation times and the maximum control times.
[0032] Specifically, according to the actual application requirements, a threshold value of the communication error code coefficient is preset in advance, and according to the actual communication error code coefficient of the indoor unit to be controlled, the control strategy of the master indoor unit for the indoor unit to be controlled is determined.
[0033] Based on the above embodiments, step 200 specifically includes: If the obtained communication error code coefficient is within the first threshold range, execute the control strategy of the first control confirmation times and the first maximum control times; If the obtained communication error code coefficient is within the second threshold range, execute the control strategy of the second control confirmation times and the second maximum control times; If the obtained communication error code coefficient is within the third threshold range, execute the control strategy of the third control confirmation times and the third maximum control times; Among them, the communication error code coefficients corresponding to the first threshold range, the second threshold range, and the third threshold range increase step by step, the first control confirmation times and the second control confirmation times increase step by step, the third control confirmation times are equal to or greater than the second control confirmation times, and the first maximum control times, the second maximum control times, and the third maximum control times increase step by step.
[0034] In a specific embodiment of the present invention, still referring to Figure 2 as shown, the indoor units of the air conditioner are all connected to the communication bus. The No. 5 indoor unit is connected to the wired controller and is the master indoor unit. When the master indoor unit needs to control any target slave indoor unit, the master indoor unit sends a control instruction containing the information of the target slave indoor unit to the communication bus. Each slave indoor unit receives the control instruction on the communication bus, and the control instruction is only valid for the target slave indoor unit. Through the above process, the master indoor unit can accurately control the target slave indoor unit.
[0035] In a possible embodiment, when the user controls any indoor unit in the system through the wired controller, the master indoor unit needs to judge how many times the control frame needs to be continuously sent for control confirmation and the maximum continuous sending control times when the control confirmation fails according to the communication quality of the target indoor unit.
[0036] Here, control confirmation means that the remote controller sends a control instruction to the main indoor unit, the main indoor unit sends the control instruction to the controlled indoor unit, and when the controlled indoor unit responds correctly, it is recorded as 1 control confirmation. When the bit error rate of the communication quality coefficient is greater than the preset range, two or more control confirmations are required. In the case where the control confirmation is unsuccessful, the main indoor unit will retransmit the control frame. The maximum number of retransmissions here is associated with the obtained node communication quality, that is, the communication bit error coefficient of each indoor unit, so as to ensure the successful sending of the control instruction as much as possible. For nodes with poor communication quality, the number of retransmissions of the control instruction will increase accordingly.
[0037] Exemplarily, still referring to Figure 2 , if the first threshold range is preset as the communication bit error coefficient ≤ 20%, the main indoor unit needs to send 1 control frame for control confirmation and the maximum consecutive sending control times when the control confirmation fails is 3 times; when the second threshold range is set as 20% < second threshold range < 50%, the main indoor unit needs to consecutively send 2 control frames for control confirmation and the maximum consecutive sending control times when the control confirmation fails is 5 times; when the third threshold range is set as the communication bit error coefficient ≥ 50%, the main indoor unit needs to consecutively send 2 control frames for control confirmation and the maximum consecutive sending control times when the control confirmation fails is 10 times. Based on the above control strategy, as Figure 2 In, if the instruction sent by the remote controller to the No. 5 main indoor unit includes the control of the No. 2 and No. 3 indoor units, the communication bit error coefficient of the No. 2 indoor unit is 43%, within the second threshold range, and the communication bit error coefficient of the No. 3 indoor unit is 60%, within the third threshold range. At this time, for the control of the No. 2 indoor unit by the No. 5 main indoor unit, a control strategy of consecutively sending 2 control frames for control confirmation and the maximum consecutive sending control times when the control confirmation fails is 5 times is adopted; for the control of the No. 3 indoor unit by the No. 5 main indoor unit, a control strategy of consecutively sending 2 control frames for control confirmation and the maximum consecutive sending control times when the control confirmation fails is 10 times is adopted.
[0038] On the basis of the above embodiments, in order to further reduce external interference during the indoor unit control process, it can be set that if the obtained communication bit error coefficient is within the first threshold range or the second threshold range, the control instruction uses a multi-functional control frame; if the obtained communication bit error coefficient is within the third threshold range, the control instruction uses a single-functional control frame; wherein, the multi-functional control frame is an instruction including at least two functions, and the single-functional control frame is an instruction including one function.
[0039] That is to say, when it is judged that the communication bit error coefficient is within the third threshold range, such as the communication bit error coefficient > 50%, it can be explained that the communication quality of this node is very poor. At this time, the control instruction can be set with a control frame definition different from that of the control frame of the indoor unit with good communication quality.
[0040] Exemplarily, for the indoor unit with a communication quality coefficient < 50%, the main indoor unit sends a control frame full-function frame A, such as including the target unit number, temperature control function, frequency control function, wind speed control function, etc. Correspondingly, for the indoor unit with a communication quality coefficient > 50%, the main indoor unit sends a control frame simple frame B, such as including the target unit number and temperature control function. In actual applications, the full-function frame A is usually used, and only the indoor units with particularly poor communication quality use the simple frame with a short data frame, and the control functions are sent one by one. By using the above method in the control process, the data frame can be transmitted quickly and is not prone to errors.
[0041] In the embodiment of the present invention, by evaluating the communication quality of each online node in the multi-connected air-conditioning system, different control schemes are selected according to the evaluation results of the communication quality, which reduces the delay time of each indoor unit in the bus communication while ensuring the effective control of the indoor unit, and improves the control efficiency of the indoor unit.
[0042] Step 300, according to the control strategy, the main air-conditioning indoor unit receives and executes the control instructions of the remote controller for each slave air-conditioning indoor unit through the main air-conditioning indoor unit.
[0043] In this step, the process of the user operating the remote controller to control the target indoor unit is realized by sending the control instructions to the main indoor unit, and then the main indoor unit directly controls each target indoor unit respectively.
[0044] That is to say, the step of executing the control instructions of the remote controller for each slave air-conditioning indoor unit may specifically include: decomposing the control instructions of the remote controller for each slave air-conditioning indoor unit into the target control instructions of the main air-conditioning indoor unit for each slave air-conditioning indoor unit; based on each target control instruction, the main air-conditioning indoor unit controls each slave control indoor unit respectively.
[0045] It can be seen from the above embodiments of the present invention that when the user controls multiple indoor units of the multi-connected air conditioner, only one control instruction needs to be sent, that is, the instructions for controlling all indoor units are sent to the main indoor unit in the form of serial codes. After the main indoor unit receives the above instructions, the above instructions are decomposed to obtain the target control instructions of the main indoor unit for each target indoor unit, and then the target indoor units are controlled point-to-point according to the target control instructions.
[0046] The above solution provided by the embodiment of the present invention can adopt different control strategies according to the communication error code coefficients of each target indoor unit, thereby saving the indoor unit control time and improving the indoor unit control efficiency.
[0047] It should be noted that the above embodiments are only partial embodiments of the present invention. The specific design indexes such as the threshold range, the number of control confirmations, and the maximum number of controls in the embodiments of the present invention can be specifically set according to the actual task requirements, and the present invention does not specifically limit such design indexes.
[0048] The following describes the indoor unit control device based on a multi-connected air conditioner provided by the present invention. The indoor unit control device based on a multi-connected air conditioner described below can be correspondingly referred to the indoor unit control method based on a multi-connected air conditioner described above.
[0049] Figure 3 It is a schematic structural diagram of the indoor unit control device based on a multi-connected air conditioner provided by an embodiment of the present invention. As Figure 3 shown, the multi-connected air conditioner includes: at least one outdoor air conditioner, a wired controller, and multiple indoor air conditioners. One of the multiple indoor air conditioners is connected to the wired controller to form a main indoor air conditioner, and the other indoor air conditioners are connected to the main indoor air conditioner to form slave indoor air conditioners. The device includes: An error code coefficient acquisition module 31, configured to acquire the communication error code coefficients of the indoor air conditioners, where the communication error code coefficients are used to represent the probabilities of communication failures between the indoor air conditioners and the outdoor air conditioner; A strategy determination module 32, configured to determine the control strategies of the main indoor air conditioner for the slave indoor air conditioners according to the acquired communication error code coefficients; An instruction execution module 33, configured to receive and execute the control instructions of the wired controller for the slave indoor air conditioners through the main indoor air conditioner according to the control strategies.
[0050] The indoor unit control device based on a multi-connected air conditioner provided by an embodiment of the present invention has an implementation principle and beneficial effects similar to those of the indoor unit control method based on a multi-connected air conditioner shown in the above embodiment. For the implementation principle and beneficial effects of the indoor unit control method based on a multi-connected air conditioner shown in the above embodiment, reference can be made, and details will not be described here.
[0051] In some specific implementation manners of the present invention, the present solution provides a multi-connected air conditioner, including: a memory 430 and a processor 410; the memory 430 and the processor 410 complete mutual communication through a communication bus 440; the memory 430 stores computer instructions that can run on the processor 410; when the processor 410 calls the computer instructions, it can execute the above-mentioned indoor unit control method based on a multi-connected air conditioner.
[0052] Figure 4 It exemplifies a schematic structural diagram of an electronic device. As Figure 4As shown in the figure, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440. Among them, the processor 410, the communications interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call the logical instructions in the memory 430 to execute an indoor unit control method for a multi-connected air conditioner. The method includes: obtaining a communication error code coefficient for each indoor unit of the air conditioner, where the communication error code coefficient is used to characterize the communication quality between each indoor unit of the air conditioner and the outdoor unit of the air conditioner; determining a control strategy for the main indoor unit of the air conditioner to each slave indoor unit according to the obtained communication error code coefficient; and receiving and executing, by the main indoor unit of the air conditioner, a control instruction from a remote controller for each slave indoor unit according to the control strategy.
[0053] In addition, when the logical instructions in the above-mentioned memory 430 are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc that can store program codes.
[0054] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the indoor unit control method for a multi-connected air conditioner provided by the above-mentioned various methods. The method includes: obtaining a communication error code coefficient for each indoor unit of the air conditioner, where the communication error code coefficient is used to characterize the communication quality between each indoor unit of the air conditioner and the outdoor unit of the air conditioner; determining a control strategy for the main indoor unit of the air conditioner to each slave indoor unit according to the obtained communication error code coefficient; and receiving and executing, by the main indoor unit of the air conditioner, a control instruction from a remote controller for each slave indoor unit according to the control strategy.
[0055] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the indoor unit control method based on a multi-connected air conditioner provided by the above-mentioned various methods. The method includes: obtaining the communication error code coefficients of each air conditioner indoor unit, where the communication error code coefficients are used to characterize the communication quality between each air conditioner indoor unit and the air conditioner outdoor unit; determining the control strategy of the main air conditioner indoor unit for each slave air conditioner indoor unit according to the obtained communication error code coefficients; and receiving and executing the control instructions of the remote controller for each slave air conditioner indoor unit through the main air conditioner indoor unit according to the control strategy.
[0056] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0057] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solutions, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0058] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An indoor unit control method based on a multi-connected air conditioner, characterized in that, The multi-connected air conditioner includes: at least one outdoor unit of the air conditioner, a wired controller, and a plurality of indoor units of the air conditioner. One of the plurality of indoor units of the air conditioner is connected to the wired controller to form a main indoor unit of the air conditioner, and the other indoor units of the air conditioner are connected to the main indoor unit of the air conditioner to form slave indoor units of the air conditioner; The method includes: Obtaining the communication error code coefficients of each of the indoor units of the air conditioner, where the communication error code coefficients are used to characterize the communication quality between each of the indoor units of the air conditioner and the outdoor unit of the air conditioner; Determining, according to the obtained communication error code coefficients, a control strategy of the main indoor unit of the air conditioner for each of the slave indoor units of the air conditioner; Receiving and executing, according to the control strategy, control instructions of the wired controller for each of the slave indoor units of the air conditioner through the main indoor unit of the air conditioner.
2. The indoor unit control method based on a multi-connected air conditioner according to claim 1, wherein Different communication error code coefficients correspond to control strategies with different control confirmation times and different maximum control times. The larger the communication error code coefficient, the larger the control confirmation times and the maximum control times.
3. The indoor unit control method based on a multi-connected air conditioner according to claim 2, wherein, The determining, according to the obtained communication error code coefficients, a control strategy of the main indoor unit of the air conditioner for each of the slave indoor units of the air conditioner specifically includes: If the obtained communication error code coefficient is within the first threshold range, executing a control strategy with a first control confirmation time and a first maximum control time; If the obtained communication error code coefficient is within the second threshold range, executing a control strategy with a second control confirmation time and a second maximum control time; If the obtained communication error code coefficient is within the third threshold range, executing a control strategy with a third control confirmation time and a third maximum control time; Wherein, the communication error code coefficients corresponding to the first threshold range, the second threshold range, and the third threshold range increase step by step, the first control confirmation time and the second control confirmation time increase step by step, the third control confirmation time is equal to or greater than the second control confirmation time, and the first maximum control time, the second maximum control time, and the third maximum control time increase step by step.
4. The indoor unit control method based on a multi-connected air conditioner according to claim 3, wherein The method further includes: if the obtained communication error code coefficient is within the first threshold range or the second threshold range, the control instruction adopts a multi-functional control frame; If the obtained communication error code coefficient is within the third threshold range, the control instruction adopts a single-functional control frame; Wherein, the multi-functional control frame is an instruction including at least two functions, and the single-functional control frame is an instruction including one function.
5. The indoor unit control method based on a multi-connected air conditioner according to claim 1, characterized in that The step of executing the control instructions of the wired controller for each of the slave indoor units of the air conditioner specifically includes: Decomposing the control instructions of the wired controller for each of the slave indoor units of the air conditioner into target control instructions of the main indoor unit of the air conditioner for each of the slave indoor units of the air conditioner; Based on each of the target control instructions, the main indoor unit of the air conditioner controls each of the slave indoor units respectively.
6. The indoor unit control method based on a multi-connected air conditioner according to claim 1, wherein The communication error code coefficient is the percentage of the number of communication failures between each of the indoor units of the air conditioner and the outdoor unit of the air conditioner within a preset period to the total number of communications.
7. The indoor unit control method based on a multi-connected air conditioner according to claim 6, wherein, The obtaining the communication error code coefficients of each indoor unit of the air conditioner specifically includes: Obtaining the number of times the outdoor unit of the air conditioner successfully sends out communication signals; Obtaining the number of times each indoor unit of the air conditioner successfully responds to the communication signals; Calculating the communication error code coefficients of each of the indoor units of the air conditioner, and the communication error code coefficients are calculated by using the following formula: Among them, fer(i) represents the communication error code coefficient of the i-th indoor air conditioner, n i represents the number of successful responses of the i-th indoor air conditioner, and N represents the number of times the outdoor air conditioner successfully sends out communication signals.
8. An indoor unit control device based on a multi-connected air conditioner, characterized in that, The multi-connected air conditioner includes: at least one outdoor unit of the air conditioner, a wired controller, and a plurality of indoor units of the air conditioner. One of the plurality of indoor units of the air conditioner is connected to the wired controller to form a main indoor unit of the air conditioner, and the other indoor units of the air conditioner are connected to the main indoor unit of the air conditioner to form slave indoor units of the air conditioner. The device includes: an error code coefficient acquisition module, configured to acquire the communication error code coefficients of the respective indoor units of the air conditioner, where the communication error code coefficients are used to characterize the communication quality between the respective indoor units of the air conditioner and the outdoor unit of the air conditioner; a policy determination module, configured to determine a control policy of the main indoor unit of the air conditioner for the respective slave indoor units according to the acquired communication error code coefficients; a command execution module, configured to receive and execute, according to the control policy, a control command of the wired controller for the respective slave indoor units through the main indoor unit of the air conditioner.
9. A multi-connected air conditioner, characterized in that, including: a memory and a processor; the memory and the processor complete communication with each other through a bus; the memory stores computer instructions that can run on the processor; when the processor calls the computer instructions, it can execute the indoor unit control method based on the multi-connected air conditioner according to any one of claims 1 to 7 above.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the indoor unit control method based on the multi-connected air conditioner according to any one of claims 1 to 7.