Air conditioner indoor and outdoor unit differentiated version upgrading method
By constructing the upgrade path and dependencies between the indoor and outdoor units of the air conditioner, the compatibility issues caused by the different versions of the indoor and outdoor units were resolved, and a stable and efficient upgrade process was achieved.
Patent Information
- Application Number
- CN202510532150.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2045-04-25
AI Technical Summary
After independent upgrades, the program modules and parameter configuration modules of the indoor and outdoor units of the air conditioner may have version differences, leading to compatibility issues, unusable functions, or problems with the operation of the air conditioner. Users cannot upgrade other current versions of program modules themselves, and cloud push notifications may be inaccurate.
Build the upgrade path for program modules and parameter configuration modules, determine the dependencies and constraints of version nodes, determine whether other modules need to be upgraded synchronously based on dependencies and constraints, generate the shortest and most effective upgrade path, and ensure compatibility and stability.
It improves the compatibility and stability of the differentiated version upgrades of air conditioner indoor and outdoor units, increases upgrade efficiency and success rate, and avoids the problem of unavailable functions.
Smart Images

Figure CN120232120B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of air conditioner upgrade technology, and in particular relates to a method for upgrading differentiated versions of indoor and outdoor air conditioner units. Background Technology
[0002] With the intelligent development of air conditioning technology, air conditioning OTA remote upgrade technology has become more and more mature. For example, OTA upgrade technology supports independent upgrades of the two program modules: the indoor unit's driver board program and the outdoor unit's main control program, or it supports independent upgrades of the parameter configuration module, so that the parameter configuration module can be upgraded without being upgraded along with the program module.
[0003] Independent upgrades of individual program modules and parameter configuration modules can lead to version differences, such as a higher version of the main control program than the driver board program. While version differences are permissible within acceptable compatibility limits due to the upward and backward compatibility of program and parameter configuration modules, exceeding these limits can cause other currently used program modules to become incompatible with the upgraded version, resulting in unusable upgraded functions or air conditioner malfunctions. In such cases, other currently used program modules or parameter configuration modules also need to be upgraded to adapt to the upgraded version. However, the version numbers of these modules are complex and varied, making it difficult for users to upgrade other currently used modules themselves. Furthermore, due to the independent nature of upgrades, the cloud may not push or accurately push upgrade versions of other currently used program modules. Therefore, addressing the aforementioned problems caused by version differences is a direction that requires further research. Summary of the Invention
[0004] In response to the problems raised in the background art, this invention proposes a method for upgrading differentiated versions of indoor and outdoor air conditioning units.
[0005] To achieve this objective, the present invention adopts the following technical solution: A method for upgrading air conditioner indoor and outdoor units to differentiate versions includes: Before performing a differentiated version upgrade, the following steps should be taken: Step A: Obtain all versions of the program modules and parameter configuration modules that support independent upgrades in the indoor and outdoor units of the air conditioner, treat each version as a version node, and build the upgrade path for each program module and parameter configuration module based on the version node; Step B: Based on the version compatibility between each program module and parameter configuration module, determine the dependencies and constraints of each version node in each upgrade link, and determine the dependency conditions required to upgrade to the corresponding version node based on the dependencies and constraints of each version node. When performing a version differentiation upgrade, the following steps are involved: Step C: Determine the current and target versions of the program module or parameter configuration module that needs to be upgraded; Step D1: Determine whether the program module or parameter configuration module to be upgraded meets the dependency conditions required to upgrade the current version to the target version. If yes, upgrade the program module or parameter configuration module to the target version from the current version; otherwise, proceed to step D2. Step D2: Based on the dependency conditions, determine the upgrade path of other program modules or parameter configuration modules in the upgrade chain. Request the corresponding version upgrade package of the other program modules or parameter configuration modules from the cloud server according to the version node in the upgrade path. After the other program modules or parameter configuration modules are upgraded to the corresponding version according to the upgrade package, the program module or parameter configuration module that needs to be upgraded will meet the dependency conditions required to upgrade the current version to the target version. The program module or parameter configuration module that needs to be upgraded will then be directly upgraded to the target version.
[0006] Preferably, step A includes: Obtain all versions of each program module or parameter configuration module, treat each version as a version node, arrange and associate the version nodes in ascending order according to the version number, and build an upgrade link for each program module or parameter configuration module.
[0007] Preferably, for an upgrade path, if there is at least one version node between a low version number version node and a high version number version node, it is determined whether the low version number version node and the high version number version node can be upgraded across levels. If so, the low version number version node is linked to the high version number version node across levels.
[0008] Preferably, in step B, determining the dependencies between version nodes in each upgrade link includes: For any version node in the upgrade path where the current program module or parameter configuration module is located, obtain other version nodes in the upgrade path where other program modules or parameter configuration modules are located that are compatible with the current version node, treat the other version nodes as multiple dependent version nodes, and establish a dependency relationship between the current version node and the multiple dependent version nodes. The dependency relationship indicates that if the current program module or parameter configuration module is to be upgraded to the target version, it is necessary to rely on the versions of other program modules or parameter configuration modules that are compatible with the target version. In other words, the versions of other program modules or parameter configuration modules must be the dependent versions corresponding to the target version.
[0009] Preferably, in step B, the constraints for determining the dependencies include: Establish constraints on the multiple dependencies between a version node and its corresponding multiple dependent version nodes. The constraints include mandatory constraints and non-mandatory constraints. Dependencies with mandatory constraints are marked as mandatory dependencies, and dependencies with non-mandatory constraints are marked as non-mandatory dependencies. If there is a mandatory dependency relationship among the multiple dependencies between the target version node and its corresponding multiple dependent version nodes, then when the program module or parameter configuration module that needs to be upgraded is upgraded to the target version, the versions of other program modules or parameter configuration modules must be forcibly upgraded to a version higher than or equal to the dependency version corresponding to the mandatory dependency relationship. When there are no mandatory dependencies among the multiple dependencies between the target version node and its corresponding multiple dependent version nodes, all of these dependencies are non-mandatory dependencies. In this case, when the program module or parameter configuration module to be upgraded is upgraded to the target version, the versions of other program modules or parameter configuration modules only need to be the dependency versions corresponding to any non-mandatory dependency.
[0010] Preferably, step D1 includes: Step D11: Determine whether there are any mandatory dependencies on the target version of the program module or parameter configuration module that needs to be upgraded. Step D12: If a mandatory dependency exists, determine whether the current version of other program modules or parameter configuration modules is higher than or equal to the dependency version corresponding to the mandatory dependency. If it is higher than or equal to, the program module or parameter configuration module that needs to be upgraded is upgraded from the current version to the target version. If not, proceed to step D2. Step D13: If there is no mandatory dependency, determine whether the current version of other program modules or parameter configuration modules is any of the dependency versions corresponding to all non-mandatory dependencies. If yes, upgrade the program module or parameter configuration module that needs to be upgraded from the current version to the target version. If not, proceed to step D2. Preferably, step D2 includes: Step D21: Based on the dependencies of other program modules or parameter configuration modules, gradually determine the upgrade paths of other program modules or parameter configuration modules; Step D22: Request the corresponding version upgrade package for other program modules or parameter configuration modules from the cloud server according to the version nodes in the upgrade path; Step D23: Other program modules or parameter configuration modules are upgraded step by step from low to high according to the version number of the upgrade package, so that other program modules or parameter configuration modules are upgraded from the current version to the dependency version corresponding to the mandatory dependency relationship in step D12, or upgraded to any dependency version corresponding to all non-mandatory dependencies in step D13. Step D24: Upgrade the program module or parameter configuration module that needs to be upgraded from the current version to the target version.
[0011] Preferably, when performing steps D1 and D2, the method further includes: Determine whether the current version of all program modules or parameter configuration modules can be upgraded to the corresponding target version. If so, all program modules or parameter configuration modules only need to download the upgrade package of the target version from the cloud server and perform an upgrade operation once to upgrade directly from the current version to the target version. If not, all program modules or parameter configuration modules need to download the corresponding version upgrade package from the cloud server sequentially according to the upgrade path and perform multiple upgrade operations to upgrade from the current version to the target version step by step.
[0012] The advantages of this invention over the prior art are: This invention constructs an upgrade chain for all versions of program modules or parameter configuration modules that support independent upgrades. Based on version compatibility, it establishes dependencies and constraints between different module versions, generating the shortest and most effective upgrade path that meets version compatibility requirements. By using dependencies and constraints, it avoids situations where other current version program modules cannot be adapted to the upgraded version, which could lead to unusable functions or operational problems after the differentiated version upgrade of the indoor and outdoor air conditioning units. This improves the compatibility and stability of the air conditioning system after the differentiated version upgrade of the indoor and outdoor units, and increases upgrade efficiency and success rate. Attached Figure Description
[0013] Figure 1 This is a flowchart of the differentiated version upgrade of the indoor and outdoor units of the air conditioner according to the present invention; Figure 2 This is a schematic diagram of the upgrade link of the outdoor unit main control board program module, the indoor unit driver board program module, and the parameter configuration module according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the upgrade chain for a cross-level upgrade of the indoor unit driver board program module version according to an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the dependency relationship between the versions of the outdoor unit main control board program module and the indoor unit driver board program module, according to another embodiment of the present invention. Figure 5This is a schematic diagram illustrating the dependency relationship between the versions of the outdoor unit main control board program module, the indoor unit driver board program module, and the parameter configuration module according to an embodiment of the present invention. Figure 6 These are schematic diagrams illustrating a mandatory dependency relationship in one embodiment of the present invention and a schematic diagram illustrating a non-mandatory dependency relationship in another embodiment. Figure 7 This is a schematic diagram illustrating the dependencies and constraints between the versions of the outdoor unit main control board program module, the indoor unit driver board program module, and the parameter configuration module, according to an embodiment of the present invention. Detailed Implementation
[0014] The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0015] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. 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.
[0016] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention 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, apparatus, product, or end 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 ends.
[0017] 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 the invention. 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.
[0018] In existing air conditioner indoor and outdoor unit upgrade technologies, independent upgrades of various program modules and parameter configuration modules can lead to version differences. For example, the main control program version might be higher than the driver board program version. Because program modules and parameter configuration modules are backward or forward compatible with other versions, such version-differentiated upgrades are permitted within the allowable compatibility range. However, if this compatibility range is exceeded, other current version program modules may become incompatible with the upgraded version, resulting in unusable upgraded functions or problems with air conditioner operation. In this case, other current version program modules or parameter configuration modules also need to be upgraded to adapt to the upgraded version. However, the version numbers of various program modules are complex and intertwined. Users cannot upgrade other current version program modules themselves, or due to independent upgrades, the cloud may not push or accurately push upgrade versions of other current version program modules.
[0019] To address the aforementioned issues, this application proposes a method for upgrading differentiated versions of indoor and outdoor air conditioning units. This method includes preparatory operations before the differentiated version upgrade. These preparatory operations process all versions of all program modules and parameter configuration modules, constructing upgrade links and necessary dependencies for each version. During the differentiated version upgrade, the upgrade links and dependencies accurately determine whether other program modules or parameter configuration modules also need to be upgraded simultaneously if the currently required upgrade is to be performed. This ensures that the upgraded program module's functionality is usable or will not cause problems with the air conditioner. It also accurately identifies the versions of other program modules or parameter configuration modules that need to be upgraded simultaneously. In this embodiment, the program modules or parameter configurations described in this application include the indoor unit driver board program module, the outdoor unit main control board program module, and the parameter configuration module supporting both indoor and outdoor unit functions. All of these modules are independently upgradable.
[0020] Specifically, before performing a differentiated version upgrade, the following steps must be taken: Step A: Obtain all versions of the program modules and parameter configuration modules that support independent upgrades in the indoor and outdoor units of the air conditioner, treat each version as a version node, and build the upgrade path for each program module and parameter configuration module based on the version node; In this embodiment, this application will obtain all versions of all program modules and parameter configuration modules in the indoor and outdoor units of the air conditioner that support independent upgrades. The program modules and parameter configuration modules described here include, for example, the indoor unit driver board program module, the outdoor unit main control board program module, and the parameter configuration module that supports indoor and outdoor unit functions mentioned above. We will obtain all versions of these modules and use these versions as version nodes to build upgrade links. For example, there are 5 versions of the indoor unit driver board program module, including the latest version and other older versions. We will set 5 version nodes for these 5 versions and build an upgrade link for these 5 version nodes. Similarly, the outdoor unit main control board program module and the parameter configuration module will also build their own upgrade links. Therefore, in this embodiment, it can be understood that we will build 3 independent upgrade links for the indoor unit driver board program module, the outdoor unit main control board program module, and the parameter configuration module that supports indoor and outdoor unit functions. When these modules release new versions, the new versions will also be added to the already built upgrade links.
[0021] Furthermore, building an upgrade path specifically includes: Obtain all versions of each program module or parameter configuration module, treat each version as a version node, arrange and associate the version nodes in ascending order according to the version number, and build an upgrade link for each program module or parameter configuration module.
[0022] like Figure 2 As shown, in this embodiment, we obtained 5 versions of the indoor unit driver board program module, including [V1.0, V2.0, V3.0, V4.0, V5.0], 6 versions of the outdoor unit main control board program module [V1.0, V2.0, V3.0, V4.0, V5.0, V6.0], and 4 versions of the parameter configuration module [V1.0, V2.0, V2.1, V3.0]. After obtaining all upgrade versions of these three modules, each module's version is treated as a version node and arranged and associated in ascending order of version number, resulting in three upgrade paths. These upgrade paths are essentially the upgrade paths for each module. For example, from the upgrade paths, we can see that if the current version of the outdoor unit's main control board program module is V1.0, and it needs to be upgraded to V3.0, the upgrade path is V1.0 → V2.0 → V3.0. In this upgrade path, if the outdoor unit's main control board program module cannot be directly upgraded from version V1.0 to V3.0, then when the cloud pushes the upgrade package, it will simultaneously push upgrade packages for both V2.0 and V3.0. The outdoor unit's main control board program module must upgrade to the V2.0 upgrade package first, and then upgrade to the V3.0 upgrade package. This avoids the situation where the cloud directly pushes the V3.0 upgrade package, preventing the outdoor unit's main control board program module from upgrading from version V1.0 to V3.0 due to the limitation of skipping upgrades.
[0023] Preferably, for an upgrade path, if there is at least one version node between a low version number version node and a high version number version node, it is determined whether the low version number version node and the high version number version node can be upgraded across levels. If so, the low version number version node is linked to the high version number version node across levels.
[0024] In this embodiment, as Figure 3 As shown, for some modules, version upgrades can be skipped. We support skipping versions and give them higher priority than version upgrades. This is because skipping versions can bypass intermediate versions, saving the storage impact of intermediate version upgrade packages and speeding up the upgrade process. In particular, for the upgrade path, finding the shortest upgrade path is one direction for optimization in this algorithm.
[0025] Furthermore, such as Figure 3 As shown, when we detect at least one version node between a lower version number and a higher version number, we need to determine whether the lower version number supports a cross-version upgrade to the higher version number. For example, version V2.0 of the indoor unit driver board program module can be upgraded to version V4.0, and similarly, version V2.0 can be upgraded to version V5.0. For version nodes that can be upgraded across versions, we will associate them to facilitate obtaining the shortest upgrade path later.
[0026] Step B: Based on the version compatibility between each program module and parameter configuration module, determine the dependencies and constraints of each version node in each upgrade link, and determine the dependency conditions required to upgrade to the corresponding version node based on the dependencies and constraints of each version node. After constructing the independent upgrade paths for each module, we also need to determine the dependencies between the upgrade paths based on the compatibility between the versions of different modules. Because not all versions of different modules are mutually compatible and supportive, for example, among the five versions of the indoor unit driver board program module and the four versions of the parameter configuration module mentioned above, versions V1.0, V2.0, and V2.1 of the parameter configuration module support version V3.0 of the indoor unit driver board program module, but do not support versions V4.0 and V5.0 of the indoor unit driver board program module, while version V3.0 of the parameter configuration module supports versions V4.0 and V5.0 of the indoor unit driver board program module. Therefore, if you want to upgrade the indoor unit driver board program module to version V4.0 or V5.0, you need to rely on version V3.0 of the parameter configuration module. This dependency is mandatory. If you want to upgrade the indoor unit driver board program module to version V3.0, you need to rely on version V1.0, V2.0, or V2.1 of the parameter configuration module. This dependency is non-mandatory. This mandatory or non-mandatory dependency is the constraint requirement of the dependency relationship described in this embodiment.
[0027] Therefore, there are dependencies between versions V1.0, V2.0, and V2.1 of the parameter configuration module and version V3.0 of the indoor unit driver board program module. Similarly, there are dependencies between version V3.0 of the parameter configuration module and versions V4.0 and V5.0 of the indoor unit driver board program module. The constraints of these dependencies differ, and these dependencies and constraints constitute the conditions required for each version upgrade. These conditions clearly indicate whether other program modules or the parameter configuration module also need to be upgraded, and to what version, when the current program module is upgraded. In the following sections, we will illustrate the concepts of dependencies and constraints with more detailed examples.
[0028] Preferably, in step B, determining the dependencies between version nodes in each upgrade link includes: For any version node in the upgrade path where the current program module or parameter configuration module is located, obtain other version nodes in the upgrade path where other program modules or parameter configuration modules are located that are compatible with the current version node, treat the other version nodes as multiple dependent version nodes, and establish a dependency relationship between the current version node and the multiple dependent version nodes. The dependency relationship indicates that if the current program module or parameter configuration module is to be upgraded to the target version, it is necessary to rely on the versions of other program modules or parameter configuration modules that are compatible with the target version. In other words, the versions of other program modules or parameter configuration modules must be the dependent versions corresponding to the target version.
[0029] In this embodiment, as Figure 4As shown, there are three versions of the outdoor unit main control board program module A [V1.0, V2.0, V3.0], and two versions of the indoor unit driver board program module B [V1.0, V2.0]. 1. Version 1.0 of A is only compatible with version 1.0 of B, but version 1.0 of A is not compatible with version 2.0 of B; The version node of version A (V1.0) depends on the version node of version B (V1.0), and the version node of version B (V1.0) depends on the version node of version A (V1.0). Versions A and B (V1.0) are mutually dependent, that is, a dependency relationship is established between version A (V1.0) of the outdoor unit main control board program module and version B (V1.0) of the indoor unit driver board program module. This means that when the version of the outdoor unit main control board program module is V1.0, the version of the indoor unit driver board program module can also only be V1.0. If the version of the indoor unit driver board program module is not V1.0, the outdoor unit main control board program module will have an incompatibility problem, which may cause the outdoor unit main control board program module to be unusable.
[0030] 2. Version 2.0 of A is compatible with versions 1.0 and 2.0 of B; The version node of version A (V2.0) depends on the version nodes of versions B (V1.0 and V2.0). The version node of version B (V1.0) depends on the version node of version A (V2.0). The version node of version B (V2.0) depends on the version node of version A (V2.0). Version A (V2.0) and versions B (V1.0 and V2.0) are mutually dependent. That is, version A (V2.0) of the outdoor unit main control board program module is dependent on versions B (V1.0 and V2.0) respectively. This means that if you want to upgrade the outdoor unit main control board program module from version V1.0 to V2.0, the indoor unit driver board program module must be version V1.0 or V2.0; if the indoor unit driver board program module is version V1.0, the outdoor unit main control board program module must also be version V1.0 or V2.0. If you want to upgrade the indoor unit driver board program module from version V1.0 to V2.0, since version V2.0 of the indoor unit driver board program module does not support version V1.0 of the outdoor unit main control board program module, you need to upgrade the outdoor unit main control board program module from version V1.0 to version V2.0. Otherwise, if the indoor unit driver board program module is upgraded to version V2.0 but the outdoor unit main control board program module is still version V1.0, it may cause the functions of the outdoor unit main control board program module or the functions of version V2.0 of the indoor unit driver board program module to be unusable.
[0031] 3. Version 3.0 of A is only compatible with version 2.0 of B, but version 3.0 of A is not compatible with version 1.0 of B; The version node of version A (V3.0) depends on the version node of version B (V2.0), and the version node of version B (V2.0) depends on the version node of version A (V3.0). Version A (V3.0) and version B (V2.0) are mutually dependent versions, that is, a dependency relationship is established between version A (V3.0) of the outdoor unit main control board program module and version B (V2.0) of the indoor unit driver board program module. This means that if you want to upgrade the outdoor unit main control board program module from version V1.0 or V2.0 to version V3.0, the indoor unit driver board program module must be version V2.0; or if you want to upgrade the indoor unit driver board program module from version V1.0 to version V2.0, the outdoor unit driver board program module must be upgraded to version V2.0 or V3.0.
[0032] Furthermore, the dependencies between program modules or parameter configuration modules do not only exist between two program modules or between a program module and a parameter configuration module, but also include dependencies between multiple modules. For example... Figure 5 As shown, for ease of explanation of the relationship, in Figure 5 The system contains two identical upgrade paths for parameter configuration module C; these two are essentially the same system. The system includes three versions of the outdoor unit main control board program module A [V1.0, V2.0, V3.0], two versions of the indoor unit driver board program module B [V1.0, V2.0], and three versions of the parameter configuration module C [V1.0, V2.0, V2.1]. 1. Version 1.0 of A, version 1.0 of B, and version 1.0 of C are compatible with each other; Then, versions V1.0 of A, V1.0 of B, and V1.0 of C are interdependent, that is, to establish an interdependent relationship between the V1.0 version of the outdoor unit main control board program module A, the V1.0 version of the indoor unit driver board program module B, and the V1.0 version of the parameter configuration module C. This means that when the version of the outdoor unit main control board program module is V1.0, the versions of the indoor unit driver board program module and the parameter configuration module must also be V1.0. If the version of the indoor unit driver board program module is not V1.0 or the version of the parameter configuration module is not V1.0, the outdoor unit main control board program module will have an incompatibility problem, which may cause the outdoor unit main control board program module to be unusable.
[0033] 2. Version 2.0 of A is compatible with versions 1.0 and 2.0 of B and versions 1.0 and 2.0 of C. Version 2.0 of B is compatible with versions 2.0 and 2.1 of C. Then, version 2.0 of A depends on versions 1.0 and 2.0 of B, version 2.0 of A depends on versions 1.0 and 2.0 of C, and version 2.0 of B depends on versions 2.0 and 2.1 of C. The dependency relationship between the three is established in this way at the corresponding version nodes. This means that if the version of the outdoor unit main control board program module is to be upgraded from V1.0 to V2.0, the version of the indoor unit driver board program module must be V1.0 or V2.0, and the version of the parameter configuration module must be V1.0 or V2.0. If the version of the indoor unit driver board program module is V2.0, the version of the parameter configuration module must be V2.0 or V2.1. Therefore, there are two upgrade paths. The first upgrade path occurs when the outdoor unit main control board program module version is upgraded from V1.0 to V2.0, while the indoor unit driver board program module version is V1.0 and the parameter configuration module version is V1.0. The V1.0 version of the indoor unit driver board program module is compatible with the V1.0 version of the parameter configuration module, hence it is represented as: Outdoor unit main control board program module V1.0→V2.0, indoor unit driver board program module V1.0, parameter configuration module V1.0; The second upgrade path is as follows: when the version of the outdoor unit main control board program module is upgraded from V1.0 to V2.0, the version of the indoor unit driver board program module is V2.0. At this time, since the V2.0 version of the indoor unit driver board program module is only compatible with the V2.0 version of the parameter configuration module, and the V2.0 version of the parameter configuration module is also compatible with the V2.0 version of the outdoor unit main control board program module, the version of the parameter configuration module can only be V2.0. Therefore, it is represented as: outdoor unit main control board program module V1.0→V2.0, indoor unit driver board program module V1.0→V2.0, parameter configuration module V1.0→V2.0; 3. Version 3.0 of A is compatible with version 2.0 of B and version 2.1 of C; Then, version 3.0 of A depends on version 2.0 of B, version 3.0 of A depends on version 2.1 of C, and version 2.0 of B depends on both versions 2.0 and 2.1 of C. This means that when the outdoor unit main control board program module is upgraded to version V3.0, the indoor unit driver board program module can only be version V2.0, and the parameter configuration module can only be version V2.1; while when the indoor unit driver board program module is upgraded to version V2.0, the parameter configuration module can be either version V2.0 or version V2.1. Therefore, there is only one upgrade path: when the outdoor unit main control board program module is upgraded from version V1.0 or V2.0 to version V3.0, the indoor unit driver board program module needs to be upgraded to version V2.0. Although version V2.0 of the indoor unit driver board program module is compatible with versions V2.0 and V2.1 of the parameter configuration module, version V3.0 of the outdoor unit main control board program module is only compatible with version V2.1 of the parameter configuration module. Therefore, the parameter configuration module can only be version V2.1, hence the following: The outdoor unit main control board program module V1.0 or V2.0 → V3.0, the indoor unit driver board program module V1.0 → V2.0, and the parameter configuration module V1.0 or V2.0 → V2.1.
[0034] Similarly, when the indoor unit driver board program module is upgraded, the outdoor unit main control board program module and / or parameter configuration module must also determine whether an upgrade is needed; when the parameter configuration module is upgraded, the outdoor unit main control board program module and / or the indoor unit driver board program module must also determine whether an upgrade is needed. In summary, regardless of which program module or parameter configuration module needs to be upgraded, the upgrade path or final upgrade version of other program modules or parameter configuration modules can be determined based on dependencies, so that other program modules or parameter configuration modules can be adapted to the currently upgraded program module or parameter configuration module.
[0035] Preferably, in step B, the constraints for determining the dependencies include: Establish constraints on the multiple dependencies between a version node and its corresponding multiple dependent version nodes. The constraints include mandatory constraints and non-mandatory constraints. Dependencies with mandatory constraints are marked as mandatory dependencies, and dependencies with non-mandatory constraints are marked as non-mandatory dependencies. If there is a mandatory dependency relationship among the multiple dependencies between the target version node and its corresponding multiple dependent version nodes, then when the program module or parameter configuration module that needs to be upgraded is upgraded to the target version, the versions of other program modules or parameter configuration modules must be forcibly upgraded to a version higher than or equal to the dependency version corresponding to the mandatory dependency relationship. When there are no mandatory dependencies among the multiple dependencies between the target version node and its corresponding multiple dependent version nodes, all of these dependencies are non-mandatory dependencies. In this case, when the program module or parameter configuration module to be upgraded is upgraded to the target version, the versions of other program modules or parameter configuration modules only need to be the dependency versions corresponding to any non-mandatory dependency.
[0036] like Figure 6As shown in 6-a, for example, in the three dependencies between the V2.0 version of the outdoor unit main control board program module A and the V1.0, V2.0 and V3.0 versions of the indoor unit driver board program module B, a mandatory constraint is added to the dependency relationship of A's V2.0 → B's V2.0, and this dependency relationship is marked as a mandatory dependency relationship. Then, although A's V2.0 version also adapts to B's V1.0 version, due to the mandatory constraint, when A is upgraded to V2.0, B must be forced to upgrade to V2.0 or V3.0. In some practical applications, while B's V1.0 is compatible with A's V2.0, some functions in A's V2.0 may become unusable. However, these unusable functions will not affect the normal operation of the air conditioner. Therefore, we allow the situation where A's V2.0 is used with B's V1.0. However, if a mandatory dependency exists, it means that B must be forcibly upgraded to V2.0 or higher to avoid affecting the normal operation of the air conditioner after A's upgrade to V2.0. For forced upgrades where B must be upgraded to V2.0 or V3.0, we generally only upgrade B to V2.0, ensuring that B's version meets the minimum requirements for A's upgrade to V2.0. This helps shorten the upgrade path and improve upgrade efficiency.
[0037] Furthermore, such as Figure 6 As shown in 6-b, if the dependencies A's V2.0 → B's V1.0, A's V2.0 → B's V2.0, and A's V2.0 → B's V3.0 do not have any mandatory constraints, then these three dependencies will be considered as non-mandatory dependencies. Therefore, when A needs to be upgraded to V2.0, B's version can be any one of V1.0, V2.0, or V3.0.
[0038] When performing a version differentiation upgrade, the following steps are involved: Step C: Determine the current and target versions of the program module or parameter configuration module that needs to be upgraded; Step D1: Determine whether the program module or parameter configuration module to be upgraded meets the dependency conditions required to upgrade the current version to the target version. If yes, upgrade the program module or parameter configuration module to the target version from the current version; otherwise, proceed to step D2. Specifically, step D1 also includes: Step D11: Determine whether there are any mandatory dependencies on all the dependencies of the target version of the program module or parameter configuration module that needs to be upgraded. Step D12: If a mandatory dependency exists, determine whether the current version of other program modules or parameter configuration modules is higher than or equal to the dependency version corresponding to the mandatory dependency. If it is higher than or equal to, the program module or parameter configuration module that needs to be upgraded is upgraded from the current version to the target version. If not, proceed to step D2. Step D13: If there is no mandatory dependency, determine whether the current version of other program modules or parameter configuration modules is any of the dependency versions corresponding to all non-mandatory dependencies. If yes, upgrade the program module or parameter configuration module that needs to be upgraded from the current version to the target version. If not, proceed to step D2. Step D2: Based on the dependency conditions, determine the upgrade path of other program modules or parameter configuration modules in the upgrade chain. Request the corresponding version upgrade package of the other program modules or parameter configuration modules from the cloud server according to the version node in the upgrade path. After the other program modules or parameter configuration modules are upgraded to the corresponding version according to the upgrade package, the program module or parameter configuration module that needs to be upgraded will meet the dependency conditions required to upgrade the current version to the target version. The program module or parameter configuration module that needs to be upgraded will then be directly upgraded to the target version.
[0039] Preferably, step D2 includes: Step D21: Based on the dependencies of other program modules or parameter configuration modules, gradually determine the upgrade paths of other program modules or parameter configuration modules; Step D22: Request the corresponding version upgrade package for other program modules or parameter configuration modules from the cloud server according to the version nodes in the upgrade path; Step D23: Other program modules or parameter configuration modules are upgraded step by step from low to high according to the version number of the upgrade package, so that other program modules or parameter configuration modules are upgraded from the current version to the dependency version corresponding to the mandatory dependency relationship in step D12, or upgraded to any dependency version corresponding to all non-mandatory dependencies in step D13. Step D24: Upgrade the program module or parameter configuration module that needs to be upgraded from the current version to the target version.
[0040] In one embodiment, three versions of the outdoor unit main control board program module A [V3.0, V4.0, V5.0], two versions of the indoor unit driver board program module B [V3.0, V4.0], and three versions of the parameter configuration module C [V2.0, V3.0, V4.0] are used to construct three upgrade links. The dependencies and constraints between the versions of these three modules are as follows: Figure 7As shown, the current version of the outdoor unit main control board program module is V3.0, the current version of the indoor unit driver board program module is V3.0, and the current version of the parameter configuration module is V2.0. If it is necessary to upgrade the outdoor unit main control board program module to V5.0, the judgment logic is as follows: The upgrade path for the outdoor unit main control board program module from V3.0 to V5.0 is V3.0→V4.0→V5.0, meaning the outdoor unit main control board program module needs to be upgraded to V4.0 first. Therefore, it's necessary to first determine whether the current versions of the indoor unit driver board program module and parameter configuration module support upgrading the outdoor unit main control board program module to V4.0. Figure 7 It is known that the current version V3.0 of the indoor unit driver board program module and the current version V2.0 of the parameter configuration module are not supported because they have no dependency on the V4.0 of the outdoor unit main control board program module. Next, determine the dependencies and constraints for upgrading the outdoor unit's main control board program module to V4.0. Figure 7 It can be seen that the outdoor unit main control board program module V4.0 does not forcibly depend on the parameter configuration module versions V3.0 and V4.0, but it is forcibly dependent on the indoor unit driver board program module V4.0. Therefore, it is necessary to upgrade the indoor unit driver module from version V3.0 to version V4.0, and upgrade the parameter configuration module from version V2.0 to version V3.0 or V4.0. Next, the dependencies and constraints of the in-unit driver module and the parameter configuration module were determined. It was found that upgrading the in-unit driver module from version V3.0 to version V4.0 forced the parameter configuration module to be upgraded to version V4.0. Therefore, the parameter configuration module could only be forcibly upgraded to version V4.0. After upgrading the parameter configuration module to version V4.0 and the indoor unit driver module to version V4.0, it is now possible to upgrade the outdoor unit main control board program module from V3.0 to V4.0. Next, the dependencies and constraints of upgrading the outdoor unit main control board program module from V4.0 to V5.0 were determined. It was found that upgrading the outdoor unit main control board program module to V5.0 does not require a mandatory dependency on the parameter configuration module V4.0 and the indoor unit driver board program module V4.0. At this time, both the parameter configuration module and the indoor unit driver board program module meet this dependency condition. Therefore, the outdoor unit main control board program module is upgraded to version V5.0.
[0041] The overall upgrade path is: 1. Parameter configuration module V2.0→V3.0→V4.0; 2. Indoor unit driver board program module V3.0→V4.0; 3. Outdoor unit main control board program module V3.0→V4.0→V5.0; Following the upgrade path, the system sequentially requests upgrade packages for version 3.0 and 4.0 of the parameter configuration module from the cloud server, gradually upgrading the parameter configuration module to version 4.0. Next, it sequentially requests upgrade packages for version 4.0 of the indoor unit driver board program module from the cloud server, upgrading the indoor unit driver board program module to version 4.0. Then, it sequentially requests upgrade packages for version 4.0 and 5.0 of the outdoor unit main control board program module from the cloud server, gradually upgrading the outdoor unit main control board program module to version 5.0.
[0042] Preferably, when performing steps D1 and D2, the method further includes: Determine whether the current version of all program modules or parameter configuration modules can be upgraded to the corresponding target version. If so, all program modules or parameter configuration modules only need to download the upgrade package of the target version from the cloud server and perform an upgrade operation once to upgrade directly from the current version to the target version. If not, all program modules or parameter configuration modules need to download the corresponding version upgrade package from the cloud server sequentially according to the upgrade path and perform multiple upgrade operations to upgrade from the current version to the target version step by step.
[0043] As mentioned above, when building the upgrade path, we determine whether a lower version node can be upgraded to a higher version node. For versions that can be upgraded, we can download the final version upgrade package and upgrade in one step. For versions that cannot be upgraded, we need to download intermediate version upgrade packages and upgrade step by step.
[0044] For example, the above text Figure 7 The upgrade path for the embodiment is: 1. Parameter configuration module V2.0→V3.0→V4.0; 2. Indoor unit driver board program module V3.0→V4.0; 3. Outdoor unit main control board program module V3.0→V4.0→V5.0; If the parameter configuration module version 2.0 can be upgraded to version 4.0, and the outdoor unit main control board program module version 3.0 can be upgraded to version 5.0, then the upgrade path is: 1. Parameter configuration module V2.0→V4.0; 2. Indoor unit driver board program module V3.0→V4.0; 3. Outdoor unit main control board program module V3.0→V5.0; According to the upgrade path, only the V4.0 upgrade package for the parameter configuration module needs to be requested from the cloud server. The V3.0 upgrade package for the parameter configuration module does not need to be requested. The parameter configuration module will be upgraded to V4.0 in one go. Then, the V4.0 upgrade package for the indoor unit driver board program module will be requested from the cloud server in sequence. The indoor unit driver board program module will be upgraded to V4.0. Then, the V5.0 upgrade package for the outdoor unit main control board program module will be requested from the cloud server in sequence. The V4.0 upgrade package for the outdoor unit main control board program module does not need to be requested. The outdoor unit main control board program module will be upgraded to V5.0 in one go.
[0045] The technical principles of the present invention have been described above with reference to specific embodiments. These descriptions are merely for explaining the principles of the invention and should not be construed as limiting the scope of protection of the invention in any way. Based on this explanation, those skilled in the art can readily conceive of other specific embodiments of the invention without inventive effort, and these embodiments will all fall within the scope of protection of the present invention.
Claims
1. A method for upgrading differentiated versions of indoor and outdoor units of an air conditioner, characterized in that: Before performing a differentiated version upgrade, the following steps should be taken: Step A: Obtain all versions of the program modules and parameter configuration modules that support independent upgrades in the indoor and outdoor units of the air conditioner. Treat each version as a version node. Arrange and associate the version nodes in order from low to high according to the version number. Build the upgrade links for the program modules and parameter configuration modules according to the version nodes. For an upgrade path, if there is at least one version node between a low version number version node and a high version number version node, then determine whether the low version number version node and the high version number version node can be upgraded across levels. If so, then the low version number version node is linked to the high version number version node across levels. Step B: Based on the version compatibility between each program module and parameter configuration module, determine the dependencies and constraints of each version node in each upgrade link, and determine the dependency conditions required to upgrade to the corresponding version node based on the dependencies and constraints of each version node. In step B, determining the dependencies between version nodes in each upgrade link includes: For any version node in the upgrade path where the current program module or parameter configuration module is located, obtain other version nodes in the upgrade path where other program modules or parameter configuration modules are located that are compatible with the current version node, treat the other version nodes as multiple dependent version nodes, and establish a dependency relationship between the current version node and the multiple dependent version nodes. The dependency relationship indicates that if the current program module or parameter configuration module is to be upgraded to the target version, it is necessary to rely on the versions of other program modules or parameter configuration modules that are compatible with the target version. In other words, the versions of other program modules or parameter configuration modules must be the dependent versions corresponding to the target version. The constraints for determining dependencies include: Establish constraints on the multiple dependencies between a version node and its corresponding multiple dependent version nodes. The constraints include mandatory constraints and non-mandatory constraints. Dependencies with mandatory constraints are marked as mandatory dependencies, and dependencies with non-mandatory constraints are marked as non-mandatory dependencies. If there is a mandatory dependency relationship among the multiple dependencies between the target version node and its corresponding multiple dependent version nodes, then when the program module or parameter configuration module that needs to be upgraded is upgraded to the target version, the versions of other program modules or parameter configuration modules must be forcibly upgraded to a version higher than or equal to the dependency version corresponding to the mandatory dependency relationship. When there are no mandatory dependencies among the multiple dependencies between the target version node and its corresponding multiple dependent version nodes, all of these dependencies are non-mandatory dependencies. In this case, when the program module or parameter configuration module to be upgraded is upgraded to the target version, the versions of other program modules or parameter configuration modules only need to be the dependency versions corresponding to any non-mandatory dependency. When performing a version differentiation upgrade, the following steps are involved: Step C: Determine the current and target versions of the program module or parameter configuration module that needs to be upgraded; Step D1: Determine whether the program module or parameter configuration module to be upgraded meets the dependency conditions required to upgrade the current version to the target version. If yes, upgrade the program module or parameter configuration module to the target version from the current version; otherwise, proceed to step D2. Step D1 specifically includes: Step D11: Determine whether there are any mandatory dependencies on the target version of the program module or parameter configuration module that needs to be upgraded. Step D12: If a mandatory dependency exists, determine whether the current version of other program modules or parameter configuration modules is higher than or equal to the dependency version corresponding to the mandatory dependency. If it is higher than or equal to, the program module or parameter configuration module that needs to be upgraded is upgraded from the current version to the target version. If not, proceed to step D2. Step D13: If there is no mandatory dependency, determine whether the current version of other program modules or parameter configuration modules is any of the dependency versions corresponding to all non-mandatory dependencies. If yes, upgrade the program module or parameter configuration module that needs to be upgraded from the current version to the target version. If not, proceed to step D2. Step D2: Based on the dependency conditions, determine the upgrade path of other program modules or parameter configuration modules in the upgrade chain, and request the corresponding version upgrade package of other program modules or parameter configuration modules from the cloud server according to the version node in the upgrade path. After the other program modules or parameter configuration modules are upgraded to the corresponding version according to the upgrade package, the program module or parameter configuration module that needs to be upgraded at present meets the dependency conditions required to upgrade the current version to the target version. The program module or parameter configuration module that needs to be upgraded is then directly upgraded to the target version. Step D2 includes: Step D21: Based on the dependencies of other program modules or parameter configuration modules, gradually determine the upgrade paths of other program modules or parameter configuration modules; Step D22: Request the corresponding version upgrade package for other program modules or parameter configuration modules from the cloud server according to the version nodes in the upgrade path; Step D23: Other program modules or parameter configuration modules are upgraded step by step from low to high according to the version number of the upgrade package, so that other program modules or parameter configuration modules are upgraded from the current version to the dependency version corresponding to the mandatory dependency relationship in step D12, or upgraded to any dependency version corresponding to all non-mandatory dependencies in step D13. Step D24: Upgrade the program module or parameter configuration module that needs to be upgraded from the current version to the target version.
2. The method for upgrading differentiated versions of indoor and outdoor units of an air conditioner according to claim 1, characterized in that: The execution of steps D1 and D2 also includes: Determine whether the current version of all program modules or parameter configuration modules can be upgraded to the corresponding target version. If so, all program modules or parameter configuration modules only need to download the upgrade package of the target version from the cloud server and perform an upgrade operation once to upgrade directly from the current version to the target version. If not, all program modules or parameter configuration modules need to download the corresponding version upgrade package from the cloud server sequentially according to the upgrade path and perform multiple upgrade operations to upgrade from the current version to the target version step by step.
Citation Information
Patent Citations
Linux system based drive module upgrading method and apparatus
CN105278993A
Remote upgrading system for central air conditioner
CN113865024A
