Indoor unit online quantity updating method and device, medium and air conditioner
By obtaining the target communication quality score of the air conditioner and dynamically adjusting the stable judgment time, the problem of misjudgment of the number of online indoor units in multi-split air conditioning systems under strong signal interference is solved, thereby improving the accuracy and stability of indoor unit number identification and adapting to complex and ever-changing communication environments.
Patent Information
- Application Number
- CN202610487980.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-13
- Publication Date
- 2026-07-31
AI Technical Summary
Existing multi-split air conditioning systems are prone to misjudging the number of indoor units online under strong signal interference, leading to fault alarms. The existing fixed update rules cannot flexibly adapt to the complex and ever-changing communication environment, and their anti-interference capabilities are rigid.
By obtaining the target communication quality score of the air conditioner, the stable judgment time is dynamically determined. The online number memory value is updated only when the number of indoor units identified online is greater than the memory value and remains unchanged within the stable judgment time. The stable judgment time is flexibly adjusted to adapt to different communication environments by using the bit error rate and time difference fluctuation rate scores.
It improves the accuracy and stability of online identification of the number of indoor units in multi-split air conditioning systems, avoids erroneous updates of memory values due to momentary interference, achieves rapid response to changes in the number of indoor units, and adapts to complex and ever-changing communication environments.
Smart Images

Figure CN122489864A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioner technology, and in particular to a method, apparatus, medium, and air conditioner for updating the number of indoor units online. Background Technology
[0002] When a multi-split air conditioning system is running, strong signal interference can easily cause the outdoor unit to misjudge the number of indoor units online. For example, when strong interference occurs, the outdoor unit may incorrectly determine that there are 30 online indoor units and simultaneously update its online unit count to 30. When the interference disappears, the outdoor unit may again determine that there are 20 online indoor units. Since the online unit count (20 units) is less than the online unit count (30 units), the outdoor unit is very likely to falsely report an "indoor unit missing" fault, ultimately affecting the normal operation of the entire multi-split system.
[0003] To address the aforementioned issues, existing technologies often employ a fixed memory value update rule: the outdoor unit will only update the indoor unit's online count memory value when the number of online identifications of the indoor unit exceeds the current online count memory value, and this online identification count can be stably maintained for a duration of T.
[0004] However, this fixed update scheme has obvious drawbacks. Its anti-interference capability is relatively rigid and it cannot flexibly adapt to complex and ever-changing communication environments. Summary of the Invention
[0005] Therefore, it is necessary to provide methods, devices, media, and air conditioners for updating the number of indoor units online, in order to solve the problem that the existing fixed update schemes have relatively rigid anti-interference capabilities and cannot flexibly adapt to complex and ever-changing communication environments.
[0006] In a first aspect, embodiments of this application provide a method for updating the online quantity of indoor units, applied to an air conditioner, the method comprising: Obtain the target communication quality score of the air conditioner, the number of online identified indoor units, and the online number memory value; Based on the target communication quality score, a stability determination duration is determined; wherein, the stability determination duration is negatively correlated with the communication quality indicated by the target communication quality score; When the number of online identifications is greater than the online number memory value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
[0007] In some embodiments of this application, the method for obtaining the target communication quality score includes: Within a first preset time period, the bit error rate and time difference fluctuation rate of the data frames between the outdoor unit and the target indoor unit are obtained; wherein, the outdoor unit of the air conditioner establishes a communication connection with multiple indoor units, and the target indoor unit is any one of the multiple indoor units; A first score is determined based on the bit error rate; wherein the first score is negatively correlated with the bit error rate. A second score is determined based on the time difference volatility of the data frame; wherein the second score is negatively correlated with the time difference volatility. The first score is added to the second score to obtain the sub-communication quality score of the target internal unit; The average of the sub-communication quality scores of the multiple internal units is calculated to obtain the target communication quality score.
[0008] In some embodiments of this application, the method for obtaining the number of online identifications includes: In each communication cycle, if there is a valid data frame transmission and reception action between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is increased by a first value; wherein, the outdoor unit of the air conditioner establishes a communication connection with multiple indoor units, the target indoor unit is any one of the multiple indoor units, and the valid data frame is a data frame whose data structure conforms to the communication protocol specification between the outdoor unit and the indoor unit; In each communication cycle, if there is no valid data frame transmission or reception between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is reduced by a second value; wherein, the first value is greater than the second value. Based on the target communication quality score, determine the online cumulative threshold; When the cumulative count value of the target indoor unit is greater than or equal to the online cumulative threshold, the target indoor unit is determined to be in an online state; The number of currently online internal units is counted to obtain the number of online identifications.
[0009] In some embodiments of this application, there is a positive correlation between the target communication quality score and the communication quality indicated by the target communication quality score, and determining the online cumulative threshold based on the target communication quality score includes: Obtain a first mapping relationship and a second mapping relationship; wherein, the first mapping relationship is a negative correlation between different communication quality scores and environmental interference coefficients, and the second mapping relationship is a positive correlation between different environmental interference coefficients and cumulative values; When the target communication quality score is greater than the first score threshold and less than the second score threshold, the environmental interference coefficient corresponding to the target communication quality score is determined as the target environmental interference coefficient based on the first mapping relationship; When the target communication quality score is less than or equal to the first score threshold, the preset first critical coefficient is determined as the target environmental interference coefficient; When the target communication quality score is greater than or equal to the second score threshold, a preset second critical coefficient is determined as the target environmental interference coefficient; wherein, the first critical coefficient is greater than the second critical coefficient; Based on the second mapping relationship, the cumulative value corresponding to the target environmental interference coefficient is determined as the online cumulative threshold.
[0010] In some embodiments of this application, determining the stability determination duration based on the target communication quality score includes: Obtain the third mapping relationship; wherein, the third mapping relationship is the negative correlation between different communication quality scores and duration; When the target communication quality score is greater than the third scoring threshold and less than the fourth scoring threshold, the duration corresponding to the target communication quality score is determined as the stable judgment duration based on the third mapping relationship. When the target communication quality score is less than or equal to the third score threshold, the first critical duration is determined as the stability determination duration; wherein, the first critical duration is the duration corresponding to the third score threshold in the third mapping relationship; When the target communication quality score is greater than or equal to the fourth score threshold, the second critical duration is determined as the stability determination duration; wherein, the second critical duration is the duration corresponding to the fourth score threshold in the third mapping relationship.
[0011] In some embodiments of this application, after determining the stability determination duration based on the target communication quality score, the method further includes: When the target communication quality score is greater than or equal to the fifth score threshold, the step of determining the online identification number as the updated online identification number memory value when the online identification number is greater than the online identification number memory value and the online identification number remains unchanged within the stable determination period is executed. When the target communication quality score is less than the sixth scoring threshold, the confidence coefficient is multiplied by the online quantity memory value to obtain the confidence value; wherein, the sixth scoring threshold is less than the fifth scoring threshold, and the confidence coefficient is greater than 1; When the number of online identifications is greater than the confidence value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
[0012] In some embodiments of this application, after determining the stability determination duration based on the target communication quality score, the process includes: When the target communication quality score is greater than or equal to the seventh score threshold, and the number of online identifications is less than the online number memory value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
[0013] Secondly, embodiments of this application also provide an indoor unit online quantity update device, the indoor unit online quantity update device comprising: The acquisition module is used to acquire the target communication quality score of the air conditioner, the number of online identified indoor units, and the online number memory value; The determining module is used to determine the stability determination duration based on the target communication quality score; wherein the stability determination duration is negatively correlated with the communication quality indicated by the target communication quality score; The update module is used to determine the online identification number as the updated online identification number when the online identification number is greater than the online identification number memory value and the online identification number remains unchanged within the stable determination period.
[0014] Thirdly, this application also provides an air conditioner, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the above-described method for updating the number of indoor units online.
[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-described method for updating the number of online internal machines.
[0016] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.
[0017] This invention provides a method, apparatus, medium, and air conditioner for updating the number of indoor units online. By acquiring a target communication quality score, the number of online identified indoor units, and the online quantity memory value, a stable determination time is dynamically determined based on the target communication quality score. The online quantity memory value is only updated when the number of online identified units exceeds the current online quantity memory value and remains unchanged within the stable determination time. This solution breaks away from the fixed update rules of existing technologies, flexibly adjusting the stable determination time according to different communication environments. In scenarios with poor communication quality and strong interference, the stable determination time is extended to avoid erroneous updates of the memory value caused by instantaneous interference. In scenarios with good communication quality and weak interference, the stable determination time is shortened, enabling rapid response to changes in the number of indoor units. This effectively solves the problems of rigid anti-interference capabilities and inflexibility in adapting to complex and changing communication environments in existing fixed update schemes, improving the accuracy and stability of online identification of indoor units in multi-split air conditioning systems. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] in: Figure 1 This is a schematic diagram of the first process of the method for updating the number of online internal units. Figure 2 This is a schematic diagram of the second process of the method for updating the number of online internal units; Figure 3 This is a schematic diagram of the third process of the method for updating the number of online internal units; Figure 4 This is a schematic diagram of the indoor unit online quantity update device; Figure 5 This is a structural block diagram of an air conditioner. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0022] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0023] This invention provides a method, apparatus, medium, and air conditioner for updating the number of indoor units online. In some embodiments of this application, the provided method for updating the number of indoor units online can be applied to air conditioners. Specifically, the air conditioner can be applied to different scenarios, including but not limited to industrial air conditioners or household air conditioners. In some embodiments of this application, the air conditioner can also be a central air conditioning system composed of multiple air conditioning units, such as a multi-split air conditioner, an air-cooled heat pump system, or an air conditioning system with heat recovery function.
[0024] Please see Figure 1 , Figure 1 This is a flowchart illustrating the method for updating the number of online in-units provided in an embodiment of this application. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the figures. Specifically, the specific flow of this method for updating the number of online in-units is as follows: S101, obtain the target communication quality score of the air conditioner, the number of online identifications of indoor units, and the online number memory value.
[0025] Among them, the target communication quality score is a quantitative indicator that reflects the overall communication quality between the outdoor and indoor units of the air conditioner. The number of online identified units refers to the total number of indoor units currently online, identified by the outdoor unit through real-time communication detection. The online unit count memory value refers to the recorded number of online indoor units stored in the outdoor unit as a historical reference.
[0026] Optionally, the system can count the number of fluctuations in the number of indoor units identified online within a continuous communication cycle, and simultaneously obtain a pre-set correspondence between the number of fluctuations and the score (e.g., fluctuations ≤1 within 5 seconds correspond to a score of 9-10, fluctuations ≥5 correspond to a score of 1-3), directly converting the statistical results into a target communication quality score. Furthermore, the indoor unit sends a heartbeat packet (containing the indoor unit's unique identifier, operating status, etc.) to the outdoor unit at a preset cycle (e.g., 100ms / time). Within a set detection window (e.g., 1 second), the outdoor unit counts the number of indoor units that successfully receive the heartbeat packet; this value is the number of indoor units identified online. If an indoor unit fails to send a heartbeat packet for several consecutive cycles, the outdoor unit determines it to be offline and does not count it in the online identification count. In addition, the outdoor unit controller has a built-in non-volatile storage module specifically for storing the online identification count. When step S101 is executed, the outdoor unit directly reads the latest written value from this storage module to obtain the online identification count.
[0027] In some embodiments of this application, the method for obtaining the target communication quality score in S101 includes: obtaining the bit error rate and time difference fluctuation rate of data frames between the outdoor unit and the target indoor unit within a first preset time period; determining a first score based on the bit error rate; determining a second score based on the time difference fluctuation rate of the data frames; adding the first score and the second score to obtain the sub-communication quality score of the target indoor unit; and calculating the average of the sub-communication quality scores of multiple indoor units to obtain the target communication quality score.
[0028] In this system, the outdoor unit of the air conditioner establishes communication connections with multiple indoor units, with the target indoor unit being any one of these units. The bit error rate (BER) refers to the proportion of erroneous bits in the data frames transmitted between the target indoor unit and the outdoor unit, relative to the total number of bits in the transmitted data frames. The first score is negatively correlated with the BER. The time difference volatility refers to the degree of fluctuation in the data frame transmission interval between the target indoor unit and the outdoor unit. The second score is negatively correlated with the time difference volatility.
[0029] Optionally, a fixed time interval can be pre-defined as the first preset duration, such as 5 minutes. Within this 5-minute duration, the data transmission process between the outdoor unit of the air conditioner and each target indoor unit is continuously monitored, and two indicators are collected. One indicator is the bit error rate of the data frames, which is calculated by dividing the number of data frames that erroneously occurred during transmission by the total number of transmitted data frames. The second indicator is the time difference fluctuation rate of the data frames, which is calculated by dividing the fluctuation range of the time interval between two adjacent data frame transmissions by the average time interval.
[0030] Next, based on the collected bit error rate, the first score is determined according to the preset scoring mapping rules, which can be shown in Table 1 below: Table 1 Bit Error Rate Scoring Mapping Table
[0031] In addition, based on the collected time difference volatility, a second score is determined according to a preset scoring mapping rule, which can be shown in Table 2 below: Table 2 Time Difference Volatility Scoring Mapping Table
[0032] Next, the first score and the second score are added together. The result is the sub-communication quality score for this target indoor unit. For example, if the first score for a certain indoor unit's bit error rate is 30 points and the second score for its time difference fluctuation rate is 40 points, then the sub-communication quality score for this indoor unit is 70 points. Finally, the sum of all indoor unit sub-communication quality scores is calculated and divided by the total number of indoor units. The average value is the final target communication quality score. For example, if there are 3 indoor units in the system, with sub-communication quality scores of 70, 80, and 60 points respectively, the sum is 210 points, and the average value is 70 points. This 70 points is the target communication quality score obtained in this calculation.
[0033] In some embodiments of this application, the method for obtaining the online identification count in S101 includes: In each communication cycle, if there is a valid data frame transmission and reception action between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is increased by a first value. In each communication cycle, if there is no valid data frame transmission and reception action between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is decreased by a second value. An online cumulative threshold is determined based on the target communication quality score. When the cumulative count value of the target indoor unit is greater than or equal to the online cumulative threshold, the target indoor unit is determined to be in an online state. The number of indoor units currently in an online state is counted to obtain the online identification count.
[0034] In this system, the outdoor unit of the air conditioner establishes communication connections with multiple indoor units. The target indoor unit can be any one of the multiple indoor units, and the valid data frame is a data frame whose data structure conforms to the communication protocol specification between the outdoor and indoor units. The cumulative count value is initially 0. The first value is greater than the second value.
[0035] Optionally, for each target indoor unit that establishes a communication connection with the outdoor unit, an initial cumulative count value is initialized, uniformly set to 0. Two adjustment values are preset: the first value is 5, and the second value is 1. Within each 100ms communication cycle, the outdoor unit detects whether there is a valid data frame transmission / reception action between it and the target indoor unit. If a valid data frame transmission / reception action exists, the cumulative count value of the target indoor unit is increased by the first value, i.e., increased by 5. If no valid data frame transmission / reception action exists, the cumulative count value of the target indoor unit is decreased by the second value, i.e., decreased by 1. The outdoor unit determines the corresponding online cumulative threshold based on the currently calculated target communication quality score and a preset mapping relationship. The target communication quality score and communication quality are positively correlated; the better the communication quality, the lower the corresponding online cumulative threshold is usually; the worse the communication quality, the higher the online cumulative threshold. For example, when the communication quality is good, the online cumulative threshold is set to 20; when the communication quality is poor, the online cumulative threshold is set to 30. The cumulative count value of each target indoor unit is continuously updated according to the communication cycle, and the relationship between the cumulative count value and the online cumulative threshold is compared in real time. When the cumulative count value of a target intranet unit is greater than or equal to the online cumulative threshold, that intranet unit is determined to be online. For example, if the online cumulative threshold is 20, and an intranet unit's cumulative count value reaches 22 after multiple communication cycles, then that intranet unit is determined to be online. The total number of intranet units currently online is counted; this value is the final online identification count. For example, in a multi-split system containing 10 intranet units, if it is determined that the cumulative count value of 8 intranet units has reached or exceeded the online cumulative threshold, then the online identification count for this instance is 8.
[0036] In some embodiments of this application, there is a positive correlation between the target communication quality score and the communication quality indicated by the target communication quality score. Determining an online cumulative threshold based on the target communication quality score specifically includes the following steps: obtaining a first mapping relationship and a second mapping relationship; when the target communication quality score is greater than the first scoring threshold and less than the second scoring threshold, determining the environmental interference coefficient corresponding to the target communication quality score as the target environmental interference coefficient based on the first mapping relationship; when the target communication quality score is less than or equal to the first scoring threshold, determining a preset first critical coefficient as the target environmental interference coefficient; when the target communication quality score is greater than or equal to the second scoring threshold, determining a preset second critical coefficient as the target environmental interference coefficient; and determining the cumulative value corresponding to the target environmental interference coefficient as the online cumulative threshold based on the second mapping relationship.
[0037] The first mapping relationship represents the negative correlation between different communication quality scores and environmental interference coefficients, while the second mapping relationship represents the positive correlation between different environmental interference coefficients and cumulative values. The environmental interference coefficient is a parameter used to quantify the intensity of interference in a communication environment. The first critical coefficient is greater than the second critical coefficient.
[0038] Optionally, a first mapping relationship, a second mapping relationship, a first critical coefficient, a second critical coefficient, a first scoring threshold, and a second scoring threshold are pre-defined. The first mapping relationship can be expressed as: , The environmental interference coefficient is... For communication quality scoring; the second mapping relationship can be expressed as: , This is a cumulative value. For example, the preset base value. The first critical coefficient K=1; the second critical coefficient K=0; the first scoring threshold is 30 points, and the second scoring threshold is 80 points. If the target communication quality score is greater than 30 points and less than 80 points, for example, a target communication quality score of 60 points, falling between 30 and 80 points, the corresponding environmental interference coefficient is calculated based on the first mapping relationship, i.e., K=(100-60) / 100=0.4, and 0.4 is determined as the target environmental interference coefficient. If the target communication quality score is less than or equal to 30 points, for example, a target communication quality score of 25 points, below 30 points, the preset first critical coefficient 1 is directly determined as the target environmental interference coefficient. If the target communication quality score is greater than or equal to 80 points, for example, a target communication quality score of 90 points, above 80 points, the preset second critical coefficient 0 is directly determined as the target environmental interference coefficient. Finally, the determined target environmental interference coefficient is substituted into the second mapping relationship formula to calculate the specific value, which is the final online cumulative threshold. When the target environment interference coefficient is 0.4, the online cumulative threshold = 15 × (1 + 0.4) = 21. When the target environment interference coefficient is 1, the online cumulative threshold = 15 × (1 + 1) = 30. When the target environment interference coefficient is 0, the online cumulative threshold = 15 × (1 + 0) = 15. Of course, the above specific values are merely examples in the embodiments and do not constitute a limitation on this application. In practical applications, the specific values can be pre-evaluated and set according to the actual needs of the target application scenario, or dynamically optimized through an adaptive learning algorithm, and are not limited here.
[0039] S102, determine the stability determination duration based on the target communication quality score.
[0040] Among them, the stability determination time refers to the time threshold used to verify whether the number of online identifications of the internal unit is stable. The stability determination time is negatively correlated with the communication quality indicated by the target communication quality score.
[0041] Optionally, a linear formula in univariate for expressing negative correlation can be constructed: In the above formula, To ensure stable determination of duration, This is the scaling factor that needs to be calibrated by the system. The maximum score for the target communication quality rating. Score the current target communication quality. To obtain the current minimum stability determination time allowed by the system. Substitute into the formula for calculation The stable determination time is obtained.
[0042] In some embodiments of this application, S102, determining the stability determination duration based on the target communication quality score, specifically includes the following steps: obtaining a third mapping relationship. When the target communication quality score is greater than a third scoring threshold and less than a fourth scoring threshold, the duration corresponding to the target communication quality score is determined as the stability determination duration based on the third mapping relationship. When the target communication quality score is less than or equal to the third scoring threshold, a first critical duration is determined as the stability determination duration. When the target communication quality score is greater than or equal to the fourth scoring threshold, a second critical duration is determined as the stability determination duration.
[0043] The third mapping relationship represents the negative correlation between different communication quality scores and duration. The first critical duration is the duration corresponding to the third score threshold in the third mapping relationship. The second critical duration is the duration corresponding to the fourth score threshold in the third mapping relationship.
[0044] Optionally, a third mapping relationship is pre-configured, for example, represented as: T = base duration (5s) × (1 / Q × 100); T represents the stability determination duration. Two scoring thresholds and corresponding critical durations are also set: the third scoring threshold is set to 40 points, with a corresponding first critical duration of 12.5s; the fourth scoring threshold is set to 80 points, with a corresponding second critical duration of 6.25s. If the target communication quality score is greater than the third scoring threshold and less than the fourth scoring threshold, for example, a target communication quality score of 60 points, falling within the 40-80 point range, the duration is calculated based on the third mapping relationship, i.e., T = 5s × (100 / 60) ≈ 8.33s, and 8.33s is determined as the stability determination duration. If the target communication quality score is less than or equal to the third scoring threshold, for example, a target communication quality score of 30 points, below 40 points, the first critical duration of 12.5s is directly determined as the stability determination duration. If the target communication quality score is greater than or equal to the fourth scoring threshold, for example, if the target communication quality score is 90 points, which is higher than 80 points, the second critical duration of 6.25 seconds is directly determined as the stable judgment duration. Of course, the specific values mentioned above are only examples in the embodiments and do not constitute a limitation of this application. In practical applications, the specific values of each value can be pre-evaluated and set according to the actual needs of the target application scenario, or dynamically optimized through an adaptive learning algorithm, and are not limited here.
[0045] S103, when the number of online recognitions is greater than the online number memory value, and the number of online recognitions remains unchanged within the stable determination period, the online recognition number is determined as the updated online number memory value.
[0046] For example, S101 obtains the current online recognition count as 25 units, the online count memory value is 20 units, and S102 determines the stable determination time as 8 seconds. Since 25 units is greater than 20 units, the precondition is met, and subsequent steps can continue. Then, the outdoor unit starts the timing function to detect the online recognition count in real time during these 8 seconds, confirming whether the value remains constant at 25 units. Finally, if the online recognition count remains constant throughout the stable determination time, the outdoor unit updates the online count memory value from 20 units to 25 units; if the count fluctuates within 8 seconds, for example, dropping to 23 units, the update operation is not performed, and the original memory value of 20 units remains unchanged.
[0047] The above embodiments acquire the target communication quality score, the number of online identified indoor units, and the online quantity memory value. Based on the target communication quality score, a stable judgment duration is dynamically determined. The online quantity memory value is only updated when the number of online identified units exceeds the current online quantity memory value and this number remains unchanged within the stable judgment duration. This solution breaks the fixed update rules of existing technologies and can flexibly adjust the stable judgment duration according to different communication environments. In scenarios with poor communication quality and strong interference, the stable judgment duration is extended to avoid erroneous updates of the memory value caused by instantaneous interference. In scenarios with good communication quality and weak interference, the stable judgment duration is shortened, enabling rapid response to changes in the number of indoor units. This effectively solves the problems of rigid anti-interference capabilities and inability to flexibly adapt to complex and changing communication environments in existing fixed update schemes, improving the accuracy and stability of online identification of indoor units in multi-split air conditioning systems.
[0048] In some embodiments of this application, such as Figure 2 As shown, after determining the stability determination time based on the target communication quality score in S102, the following steps are also performed: If the target communication quality score is greater than or equal to the fifth scoring threshold, execute S103. If the target communication quality score is less than the sixth scoring threshold, execute S104a.
[0049] S104a, multiply the confidence coefficient by the online quantity memory value to obtain the confidence value.
[0050] S105a, when the number of online recognitions is greater than the confidence value and the number of online recognitions remains unchanged within the stable determination period, the number of online recognitions is determined as the updated online number memory value.
[0051] Among them, the sixth scoring threshold is less than the fifth scoring threshold, and the confidence coefficient W > 1.
[0052] For example, the current online number of multi-split air conditioning systems is set to 25 units, the fifth scoring threshold is 80 points, and the sixth scoring threshold is 30 points; the confidence coefficient W is 1.5. When a target communication quality score of 85 points (≥80 points) is detected, S103 is executed, without increasing the difficulty of updating the online number memory value; when a target communication quality score of 22 points (<30 points) is detected, the difficulty of updating the online number memory value is increased, and S104a and S105a are executed, including first calculating the confidence value = 1.5 × 25 = 37.5 units. If the current online identification number is 32 units < 37.5 units, it will not be updated even if it remains stable within the stable determination period. If the subsequent online identification number steadily rises to 38 units (>37.5 units) and there is no fluctuation within the stable determination period, then the memory value is updated to 38 units. Of course, the above specific values are only examples in the embodiments and do not constitute a limitation of this application. In practical applications, the specific values of each value can be pre-evaluated and set according to the actual needs of the target application scenario, or dynamically optimized through adaptive learning algorithms, and are not limited here.
[0053] In some embodiments of this application, such as Figure 3 As shown, after determining the stability determination time based on the target communication quality score in S102, the following steps are also performed: S104b, when the target communication quality score is greater than or equal to the seventh score threshold, and the number of online identifications is less than the online number memory value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
[0054] For example, assuming the current online number of units in a multi-split air conditioning system is 30, and the preset seventh score threshold is 75 (indicating good communication quality, low interference, and meeting the update reliability requirements when the number of indoor units decreases), the stability judgment time follows the rule of "the better the communication quality, the shorter the time" (for example, a score of 75 corresponds to 8 seconds, and a score of 70 corresponds to 12 seconds). When the target communication quality score is detected to be 82 (≥75), the current online identification number is 26 (<30), and the number of 26 remains unchanged within the 8-second stability judgment time, the online number memory value is updated from 30 to 26, ensuring that the memory value can be updated in a timely and accurate manner when the number of indoor units actually decreases in a scenario with good communication quality. If the target communication quality score is 70 (<75), even if the number of online identification is 25 (<30) and remains stable within 12 seconds, no update operation is performed, to avoid false alarms of "missing indoor units" caused by false detection due to misdetection when the communication quality is average or interference is strong, thus ensuring the operational stability of the multi-split system. Of course, the specific values mentioned above are merely examples in the embodiments and do not constitute a limitation on this application. In practical applications, the specific values of each value can be pre-evaluated and set according to the actual needs of the target application scenario, or dynamically optimized through adaptive learning algorithms, and are not limited here.
[0055] To facilitate better implementation of the in-unit online quantity update method of this application, this application also provides an in-unit online quantity update device based on the above-described in-unit online quantity update method. The meanings of the terms used are the same as in the above-described in-unit online quantity update method, and specific implementation details can be found in the descriptions of the method embodiments.
[0056] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of the indoor unit online quantity update device provided in the embodiments of this application, which may specifically include: The acquisition module 401 is used to acquire the target communication quality score of the air conditioner, the number of online identifications of indoor units, and the online number memory value; The determination module 402 is used to determine the stability determination duration based on the target communication quality score; wherein the stability determination duration is negatively correlated with the communication quality indicated by the target communication quality score; The update module 403 is used to determine the online recognition number as the updated online recognition number when the number of online recognitions is greater than the online recognition number memory value and the number of online recognitions remains unchanged within the stable determination period.
[0057] In the above embodiment, the acquisition module 401 is used to acquire the target communication quality score, the number of online identified indoor units, and the online quantity memory value. The determination module 402 is used to dynamically determine the stable judgment duration based on the target communication quality score. The update module 403 is used to update the online quantity memory value only when the number of online identified units is greater than the current online quantity memory value and the number remains unchanged within the stable judgment duration. This solution breaks the fixed update rules of the prior art and can flexibly adjust the stable judgment duration according to different communication environments. In scenarios with poor communication quality and strong interference, the stable judgment duration is extended to avoid erroneous updates of the memory value caused by instantaneous interference. In scenarios with good communication quality and weak interference, the stable judgment duration is shortened, realizing a rapid response to changes in the number of indoor units. This effectively solves the problems of rigid anti-interference capabilities and inability to flexibly adapt to complex and changing communication environments in existing fixed update schemes, and improves the accuracy and stability of online identification of indoor units in multi-split air conditioning systems.
[0058] In some embodiments of this application, the method for obtaining the target communication quality score includes: Within a first preset time period, obtain the bit error rate and time difference fluctuation rate of the data frames between the outdoor unit and the target indoor unit; wherein, the outdoor unit of the air conditioner establishes communication connections with multiple indoor units, and the target indoor unit is any one of the multiple indoor units; The first score is determined based on the bit error rate; the first score is negatively correlated with the bit error rate. The second score is determined based on the time difference volatility of the data frames; the second score is negatively correlated with the time difference volatility. Add the first score to the second score to obtain the sub-communication quality score of the target internal unit; The target communication quality score is obtained by calculating the average of the sub-communication quality scores of multiple internal units.
[0059] In some embodiments of this application, the methods for obtaining the number of online identifiers include: In each communication cycle, if there is a valid data frame transmission and reception action between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is increased by the first value; wherein, the outdoor unit of the air conditioner establishes a communication connection with multiple indoor units, the target indoor unit is any one of the multiple indoor units, and the valid data frame is a data frame whose data structure conforms to the communication protocol specification between the outdoor unit and the indoor unit. In each communication cycle, if there is no valid data frame transmission or reception between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit will be reduced by a second value; wherein, the first value is greater than the second value. Determine the online cumulative threshold based on the target communication quality score; When the cumulative count value of the target indoor unit is greater than or equal to the online cumulative threshold, the target indoor unit is determined to be in an online state; The number of currently online internal units is counted to obtain the number of online identifications.
[0060] In some embodiments of this application, there is a positive correlation between the target communication quality score and the communication quality indicated by the target communication quality score. Based on the target communication quality score, an online cumulative threshold is determined, including: Obtain the first mapping relationship and the second mapping relationship; wherein, the first mapping relationship is the negative correlation between different communication quality scores and environmental interference coefficients, and the second mapping relationship is the positive correlation between different environmental interference coefficients and cumulative values; When the target communication quality score is greater than the first score threshold and less than the second score threshold, the environmental interference coefficient corresponding to the target communication quality score is determined as the target environmental interference coefficient based on the first mapping relationship. When the target communication quality score is less than or equal to the first score threshold, the preset first critical coefficient is determined as the target environmental interference coefficient. When the target communication quality score is greater than or equal to the second score threshold, the preset second critical coefficient is determined as the target environmental interference coefficient; wherein, the first critical coefficient is greater than the second critical coefficient; Based on the second mapping relationship, the cumulative value corresponding to the target environmental interference coefficient is determined as the online cumulative threshold.
[0061] In some embodiments of this application, the determining module 402 determines the stability determination duration based on the target communication quality score, including: Obtain the third mapping relationship; where the third mapping relationship is the negative correlation between different communication quality scores and duration; When the target communication quality score is greater than the third score threshold and less than the fourth score threshold, the duration corresponding to the target communication quality score is determined as the stable judgment duration based on the third mapping relationship. When the target communication quality score is less than or equal to the third score threshold, the first critical duration is determined as the stability determination duration; wherein, the first critical duration is the duration corresponding to the third score threshold in the third mapping relationship; When the target communication quality score is greater than or equal to the fourth score threshold, the second critical duration is determined as the stability determination duration; wherein, the second critical duration is the duration corresponding to the fourth score threshold in the third mapping relationship.
[0062] In some embodiments of this application, after determining the stability determination duration based on the target communication quality score, the determining module 402 further includes: When the target communication quality score is greater than or equal to the fifth score threshold, the step of determining the online identification number as the updated online identification number memory value is executed when the number of online identifications is greater than the online identification number memory value and the number of online identifications remains unchanged within the stable determination time. When the target communication quality score is less than the sixth scoring threshold, the confidence coefficient is multiplied by the online quantity memory value to obtain the confidence value; where the sixth scoring threshold is less than the fifth scoring threshold, the confidence coefficient is greater than 1; When the number of online recognitions is greater than the confidence value and remains unchanged within the stable determination period, the number of online recognitions is determined as the updated online number memory value.
[0063] In some embodiments of this application, after determining the stability determination duration based on the target communication quality score, the determining module 402 includes: When the target communication quality score is greater than or equal to the seventh score threshold, the number of online identifications is less than the online number memory value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications will be determined as the updated online number memory value.
[0064] In addition, this application also provides an air conditioner, such as Figure 5 As shown, it illustrates the structural diagram of the air conditioner involved in this application, specifically: The air conditioner may include components such as a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will understand that... Figure 5 The air conditioner structure shown does not constitute a limitation on the air conditioner and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 501 is the control center of the air conditioner. It connects to various parts of the air conditioner via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 502, and by calling data stored in the memory 502, it performs various functions and processes data, thereby providing overall monitoring of the air conditioner. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 501.
[0065] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created based on the use of the air conditioner, etc. In addition, the memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
[0066] The air conditioner also includes a power supply 503 that supplies power to various components. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 503 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0067] The air conditioner may also include an input unit 504, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0068] Although not shown, the air conditioner may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 501 in the air conditioner will load the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 will run the application programs stored in the memory 502, thereby realizing the steps in any of the indoor unit online quantity update methods provided in this application embodiment: obtaining the target communication quality score of the air conditioner, the online identification quantity of the indoor unit, and the online quantity memory value; determining the stable determination time based on the target communication quality score; wherein, the stable determination time is negatively correlated with the communication quality indicated by the target communication quality score; when the online identification quantity is greater than the online quantity memory value, and the online identification quantity remains unchanged within the stable determination time, the online identification quantity is determined as the updated online quantity memory value.
[0069] The above embodiments acquire the target communication quality score, the number of online identified indoor units, and the online quantity memory value. Based on the target communication quality score, a stable judgment duration is dynamically determined. The online quantity memory value is only updated when the number of online identified units exceeds the current online quantity memory value and this number remains unchanged within the stable judgment duration. This solution breaks the fixed update rules of existing technologies and can flexibly adjust the stable judgment duration according to different communication environments. In scenarios with poor communication quality and strong interference, the stable judgment duration is extended to avoid erroneous updates of the memory value caused by instantaneous interference. In scenarios with good communication quality and weak interference, the stable judgment duration is shortened, enabling rapid response to changes in the number of indoor units. This effectively solves the problems of rigid anti-interference capabilities and inability to flexibly adapt to complex and changing communication environments in existing fixed update schemes, improving the accuracy and stability of online identification of indoor units in multi-split air conditioning systems.
[0070] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0071] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0072] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the on-premises online quantity update methods provided in this application.
[0073] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0074] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0075] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the online quantity update methods for internal machines provided in this application, the beneficial effects that any of the online quantity update methods for internal machines provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0076] The above provides a detailed description of the method, apparatus, air conditioner, and computer-readable storage medium for updating the number of indoor units online, as provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for updating the number of indoor units online, characterized in that, Applied to air conditioners, the method includes: Obtain the target communication quality score of the air conditioner, the number of online identified indoor units, and the online number memory value; Based on the target communication quality score, a stability determination duration is determined; wherein, the stability determination duration is negatively correlated with the communication quality indicated by the target communication quality score; When the number of online identifications is greater than the online number memory value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
2. The method for updating the number of indoor units online according to claim 1, characterized in that, The method for obtaining the target communication quality score includes: Within a first preset time period, the bit error rate and time difference fluctuation rate of the data frames between the outdoor unit and the target indoor unit are obtained; wherein, the outdoor unit of the air conditioner establishes a communication connection with multiple indoor units, and the target indoor unit is any one of the multiple indoor units; A first score is determined based on the bit error rate; wherein the first score is negatively correlated with the bit error rate. A second score is determined based on the time difference volatility of the data frame; wherein the second score is negatively correlated with the time difference volatility. The first score is added to the second score to obtain the sub-communication quality score of the target internal unit; The average of the sub-communication quality scores of the multiple internal units is calculated to obtain the target communication quality score.
3. The method for updating the number of indoor units online according to claim 1, characterized in that, The methods for obtaining the number of online recognitions include: In each communication cycle, if there is a valid data frame transmission and reception action between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is increased by a first value; wherein, the outdoor unit of the air conditioner establishes a communication connection with multiple indoor units, the target indoor unit is any one of the multiple indoor units, and the valid data frame is a data frame whose data structure conforms to the communication protocol specification between the outdoor unit and the indoor unit; In each communication cycle, if there is no valid data frame transmission or reception between the outdoor unit and the target indoor unit, the cumulative count value of the target indoor unit is reduced by a second value; wherein, the first value is greater than the second value. Based on the target communication quality score, determine the online cumulative threshold; When the cumulative count value of the target indoor unit is greater than or equal to the online cumulative threshold, the target indoor unit is determined to be in an online state; The number of currently online internal units is counted to obtain the number of online identifications.
4. The method for updating the number of indoor units online according to claim 3, characterized in that, There is a positive correlation between the target communication quality score and the communication quality indicated by the target communication quality score. The step of determining the online cumulative threshold based on the target communication quality score includes: Obtain a first mapping relationship and a second mapping relationship; wherein, the first mapping relationship is a negative correlation between different communication quality scores and environmental interference coefficients, and the second mapping relationship is a positive correlation between different environmental interference coefficients and cumulative values; When the target communication quality score is greater than the first score threshold and less than the second score threshold, the environmental interference coefficient corresponding to the target communication quality score is determined as the target environmental interference coefficient based on the first mapping relationship; When the target communication quality score is less than or equal to the first score threshold, the preset first critical coefficient is determined as the target environmental interference coefficient; When the target communication quality score is greater than or equal to the second score threshold, a preset second critical coefficient is determined as the target environmental interference coefficient; wherein, the first critical coefficient is greater than the second critical coefficient; Based on the second mapping relationship, the cumulative value corresponding to the target environmental interference coefficient is determined as the online cumulative threshold.
5. The method for updating the number of indoor units online according to claim 1, characterized in that, The determination of the stability assessment duration based on the target communication quality score includes: Obtain the third mapping relationship; wherein, the third mapping relationship is the negative correlation between different communication quality scores and duration; When the target communication quality score is greater than the third scoring threshold and less than the fourth scoring threshold, the duration corresponding to the target communication quality score is determined as the stable judgment duration based on the third mapping relationship. When the target communication quality score is less than or equal to the third score threshold, the first critical duration is determined as the stability determination duration; wherein, the first critical duration is the duration corresponding to the third score threshold in the third mapping relationship; When the target communication quality score is greater than or equal to the fourth score threshold, the second critical duration is determined as the stability determination duration; wherein, the second critical duration is the duration corresponding to the fourth score threshold in the third mapping relationship.
6. The method for updating the number of indoor units online according to claim 1, characterized in that, After determining the stability determination duration based on the target communication quality score, the process further includes: When the target communication quality score is greater than or equal to the fifth score threshold, the step of determining the online identification number as the updated online identification number memory value when the online identification number is greater than the online identification number memory value and the online identification number remains unchanged within the stable determination period is executed. When the target communication quality score is less than the sixth scoring threshold, the confidence coefficient is multiplied by the online quantity memory value to obtain the confidence value; wherein, the sixth scoring threshold is less than the fifth scoring threshold, and the confidence coefficient is greater than 1; When the number of online identifications is greater than the confidence value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
7. The method for updating the number of indoor units online according to claim 1, characterized in that, After determining the stability determination duration based on the target communication quality score, the process includes: When the target communication quality score is greater than or equal to the seventh score threshold, and the number of online identifications is less than the online number memory value, and the number of online identifications remains unchanged within the stable determination period, the number of online identifications is determined as the updated online number memory value.
8. An online quantity update device for indoor units, characterized in that, The indoor unit online quantity update device, applied to air conditioners, includes: The acquisition module is used to acquire the target communication quality score of the air conditioner, the number of online identifications of indoor units, and the online number memory value; The determining module is used to determine the stability determination duration based on the target communication quality score; wherein the stability determination duration is negatively correlated with the communication quality indicated by the target communication quality score; The update module is used to determine the online identification number as the updated online identification number when the online identification number is greater than the online identification number memory value and the online identification number remains unchanged within the stable determination period.
9. A computer-readable storage medium, characterized in that, The device stores a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.
10. An air conditioner, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.