Air conditioner control method and device, universal controller and storage medium
By obtaining air conditioning equipment status information, filtering and converting standard parameters, the problem of customization of wired controllers for different models of air conditioners was solved, enabling remote batch configuration, improving configuration efficiency and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2026-03-12
- Publication Date
- 2026-06-05
AI Technical Summary
Different models of air conditioners have significant differences in control logic, parameter naming, communication protocols and display formats, resulting in highly customized wired controller designs that cannot achieve remote batch configuration.
By acquiring the device status information of the target air conditioning equipment, using the current software version, device capability tag set, and parameter feature description, configurable standard parameters are filtered in the parameter database, and then converted into parameters that the target air conditioning equipment can recognize through the parameter mapping table, generating configuration commands for remote batch configuration.
It enables remote batch configuration of different air conditioner models, improves configuration efficiency, reduces the development and maintenance costs of wired controllers, and ensures the accuracy and stability of configuration.
Smart Images

Figure CN122149073A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning technology, and in particular to an air conditioning control method, device, universal wired controller and storage medium. Background Technology
[0002] In air conditioning systems, the wired controller is the core interface for user interaction with the equipment, undertaking key functions such as temperature setting, mode switching, fan speed adjustment, and fault diagnosis. However, with the expansion of product lines, different models of air conditioners (such as split units, multi-split units, and ducted units) have significant differences in control logic, parameter naming, communication protocols, and display formats. This results in highly customized wired controller designs that are difficult to reuse. Each air conditioner model requires independent hardware and software development for its wired controller, and parameters must be configured for each model through its corresponding wired controller. Therefore, it is impossible to achieve remote batch configuration for different air conditioner models. Summary of the Invention
[0003] This application provides an air conditioning control method, device, universal wired controller, and storage medium to solve the problem of not being able to remotely configure air conditioners of different models in batches.
[0004] In a first aspect, this application provides an air conditioning control method, the method comprising: When a parameter configuration command corresponding to the target air conditioning device is detected, the device status information of the target air conditioning device is obtained; Based on the current software version, device capability tag set, and parameter feature description in the device status information, the configurable standard parameters corresponding to the target air conditioning device are filtered out from the parameter database. Based on the parameter feature description and parameter mapping table in the device status information, the configurable standard parameters are converted into target device parameters that the target air conditioning device can recognize; A parameter configuration command is generated based on the target device parameters and sent to the target air conditioning device, instructing the target air conditioning device to configure its parameters according to the target device parameters.
[0005] Optionally, before obtaining the device status information of the target air conditioning device when a parameter configuration instruction corresponding to the target air conditioning device is detected, the method further includes: Obtain multiple standard parameters and the original configuration files corresponding to different wired controllers; Semantic recognition is performed on the original configuration file to extract functional parameters; Based on the matching results between the functional parameters and the mapping keyword library of each of the standard parameters, the candidate parameters corresponding to the functional parameters are determined; Based on the matching results between the candidate parameters and the functional parameters in the original configuration file, the parameter compatibility status between the candidate parameters and the functional parameters is determined; When the parameter compatibility status is compatible, the conversion scheme of the candidate parameter relative to the air conditioning equipment corresponding to the functional parameter is determined based on the functional parameter. A parameter mapping table is generated based on the conversion scheme of different standard parameters relative to different functional parameters of the corresponding air conditioning equipment.
[0006] Optionally, determining the parameter compatibility status between the candidate parameters and the functional parameters based on the matching result between the candidate parameters and the functional parameters in the original configuration file includes: Based on the matching result between the parameter attributes of the candidate parameters and the parameter attributes corresponding to the functional parameters in the original configuration file, the data compatibility status between the candidate parameters and the functional parameters is determined, wherein the parameter attributes include parameter unit, parameter range, and parameter precision; When the data compatibility status is compatible, determine the type compatibility status between the data type of the candidate parameter and the data type of the functional parameter; When the type compatibility status is compatible, determine the enumeration value compatibility status between the enumeration value set of the candidate parameter and the enumeration value set of the function parameter; When the enumeration value is in a compatible state, the parameter compatibility state between the candidate parameter and the function parameter is determined to be compatible.
[0007] Optionally, when the parameter compatibility state is compatible, determining the conversion scheme of the candidate parameter relative to the air conditioning device corresponding to the functional parameter based on the functional parameter includes: When the parameter compatibility status is compatible, the conversion function between the candidate parameter and the functional parameter is derived based on the feature transformation rule set in the candidate parameter and the functional parameter. The conversion function between the candidate parameters and the functional parameters is used as the conversion scheme for the candidate parameters relative to the air conditioning equipment corresponding to the functional parameters.
[0008] Optionally, the step of filtering out the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set, and parameter feature description in the device status information includes: The parameter database is used to select standard parameters whose current software version is between the introduced version and the deprecated version, and whose capability tag set is a subset of the device capability tag set. When the parameter value of the candidate parameter is within the parameter range in the device status information, and the precision of the candidate parameter is compatible with the precision of the parameter in the device status information, and the data type of the candidate parameter is compatible with the data type in the device status information, the candidate parameter is used as the configurable standard parameter corresponding to the target air conditioning device. The parameter feature description includes parameter range, parameter precision, and data type.
[0009] Optionally, based on the parameter feature description and parameter mapping table in the device status information, the configurable standard parameters are converted into target device parameters recognizable by the target air conditioning device, including: Query the target transformation function of the configurable standard parameters with respect to the target air conditioning device in the parameter mapping table; The configurable standard parameters are converted into intermediate parameters according to the target transformation function; By using the parameter range, parameter precision, and data type described in the device status information to constrain the intermediate parameters, and by using the dependencies between parameters to perform logical constraints, the target device parameters that can be identified by the target air conditioning device are obtained.
[0010] Optionally, after filtering out the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set, and parameter feature description in the device status information, the method further includes: The remaining standard parameters in the parameter database, excluding the configurable standard parameters, are determined to be invalid parameters. A parameter deletion instruction is generated based on the invalid parameters and sent to the target air conditioning device, instructing the target air conditioning device to delete the invalid parameters.
[0011] Secondly, this application provides an air conditioning control device, the device comprising: The acquisition module is used to acquire the device status information of the target air conditioning device when a parameter configuration instruction corresponding to the target air conditioning device is detected; The processing module is used to filter out the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set and parameter feature description in the device status information. The conversion module is used to convert the configurable standard parameters into target device parameters that can be recognized by the target air conditioning device based on the parameter feature description and parameter mapping table in the device status information. The configuration module is used to generate parameter configuration commands based on the target device parameters and send them to the target air conditioning device, so that the target air conditioning device can configure its parameters according to the target device parameters.
[0012] Thirdly, this application provides a universal wired controller, which includes the air conditioning control device described above.
[0013] Fourthly, this application also provides a computer storage medium storing computer-executable instructions for executing the above-described air conditioning control method.
[0014] Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application initiates a remote configuration process for the wired controller of the target air conditioning device based on the parameter configuration command corresponding to the target air conditioning device. It filters configurable standard parameters corresponding to the target air conditioning device from the parameter database according to three dimensions: the current software version of the target air conditioning device, the device capability tag set, and the parameter feature description. This avoids misjudgment or omission caused by the traditional single-dimensional parameter filtering, thereby improving the filtering accuracy of the wired controller configuration parameters. Then, based on the parameter feature description and parameter mapping table, the configurable standard parameters are converted into target device parameters that the target air conditioning device can recognize. The parameter configuration command corresponding to the target device parameters is then sent to the target air conditioning device to configure the parameters according to the target device parameters. For different models of air conditioners, remote batch configuration can be achieved based on the aforementioned filtering of configurable standard parameters and the conversion of device-recognizable parameters, thereby improving the configuration efficiency of air conditioning devices and enabling one-to-many control. Compared with customized wired controllers for different models, this reduces the development and maintenance costs of the wired controller. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0016] 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, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0018] Figure 1 An application environment diagram of an air conditioning control method provided in this application embodiment; Figure 2 A schematic flowchart of an air conditioning control method provided in an embodiment of this application; Figure 3 A structural block diagram of an air conditioning control device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the internal structure of a universal wired controller provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0021] Figure 1 This is a diagram illustrating the application environment of an air conditioning control method in one embodiment. (Refer to...) Figure 1 This air conditioning control method is applied to an air conditioning control system. The air conditioning control system includes a universal wired controller 110 and an air conditioning unit 120. The universal wired controller 110 and the air conditioning unit 120 are connected via a network. The universal wired controller 110 can be independently located on a cloud server, separate from the air conditioning unit 120, or integrated into the air conditioning unit 120 or a control terminal. The air conditioning unit 120 can be a split-type, multi-split, or ducted air conditioning unit, or other different types of air conditioning units. The universal wired controller 110 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0022] In one embodiment, Figure 2 This is a flowchart illustrating an air conditioning control method in one embodiment, with reference to... Figure 2 This invention provides an air conditioning control method. This embodiment primarily applies this method to the aforementioned... Figure 1 Taking the air conditioning control device in the universal wired controller 110 as an example, the air conditioning control method specifically includes the following steps: Step S210: When a parameter configuration command corresponding to the target air conditioning device is detected, the device status information of the target air conditioning device is obtained.
[0023] Specifically, parameter configuration commands can be generated periodically by the target air conditioning device, or triggered when the target air conditioning device is connected to a universal wired controller, or manually issued by the cloud / air conditioning management platform when remotely configuring and maintaining the target air conditioning device, or automatically triggered after the target air conditioning device / universal wired controller completes a firmware version upgrade, or manually issued by after-sales / production line personnel when conducting on-site debugging of the target air conditioning device through a local management terminal.
[0024] The parameter configuration instructions must include at least the target air conditioning device's equipment identifier, configuration scope, and configuration mode. The configuration scope includes full configuration, incremental configuration, and targeted configuration. Full configuration refers to configuring all standard parameters, incremental configuration refers to configuring only changed / added parameters, and targeted configuration refers to configuring specified parameters. Configuration modes include manual configuration and automatic configuration. Manual configuration requires the operator to review the compatibility preview before configuring parameters, while automatic configuration requires no manual intervention and executes automatically according to a preset configuration strategy.
[0025] Step S220: Based on the current software version, device capability tag set, and parameter feature description in the device status information, filter out the configurable standard parameters corresponding to the target air conditioning device from the parameter database.
[0026] Specifically, the current software version refers to the version number of the embedded software / firmware running on the target air conditioning device / general-purpose wired controller. The device capability tag set includes capability tags corresponding to the functions possessed by the target air conditioning device, such as capability tags supporting energy consumption viewing, supporting dual-system control, and supporting smart grid control. The parameter feature description is the specific characteristic information of a single parameter supported locally by the target air conditioning device, provided to the general-purpose wired controller through preset or proactive reporting. It serves as a technical specification of the device's parameter processing capabilities. The parameter feature description includes feature descriptions of multiple device parameters, including data type, parameter unit, parameter precision, and value range. For example, the feature description for the device parameter "cooling set temperature" is: data type = uint16, parameter unit = ℃, parameter precision = 0.1℃, parameter range = 16~30.
[0027] Based on three dimensions—the current software version of the target air conditioning device, the device capability tag set, and the parameter feature description—the system filters the configurable standard parameters corresponding to the target air conditioning device from the parameter database. This avoids misjudgments or omissions caused by traditional single-dimensional parameter filtering, thereby improving the filtering accuracy of the wired controller's configuration parameters. The configurable standard parameters are used to synchronize to the target air conditioning device. The three-dimensional filtering accurately selects the standard parameters that are compatible with the target air conditioning device.
[0028] Step S230: Based on the parameter feature description and parameter mapping table in the device status information, the configurable standard parameters are converted into target device parameters that the target air conditioning device can recognize.
[0029] Specifically, the parameter mapping table contains conversion functions for standard parameters relative to different air conditioning models to accommodate the parameter formats supported by various air conditioning devices. The conversion function for configurable standard parameters relative to the target air conditioning device is retrieved from the parameter mapping table. Then, the configurable standard parameters are converted into target device parameters recognizable by the target air conditioning device according to this conversion function. In other words, the target device parameters are obtained by converting the configurable standard parameters. This parameter conversion process yields the target device parameters adapted to the target air conditioning device.
[0030] Step S240: Generate a parameter configuration command based on the target device parameters and send it to the target air conditioning device, so that the target air conditioning device can configure the parameters according to the target device parameters.
[0031] Specifically, the parameter configuration command includes fields such as the parameter identifier, parameter value, data type, capability tag set, and execution context of the target device parameters. The parameter configuration command corresponding to the target device parameters is sent to the target air conditioning device to configure the parameters according to the target device parameters. For different models of air conditioners, remote batch configuration can be achieved based on the aforementioned configurable standard parameters and device-recognizable parameter conversion, thereby improving the configuration efficiency of air conditioning devices and realizing one-to-many control. Compared with customized wired controllers for different models, it can reduce the development and maintenance costs of wired controllers.
[0032] Upon receiving the parameter configuration command, the target air conditioning device performs verification processing. This verification process includes verifying whether the parameter identifier in the parameter configuration command is within the parameter list supported by the target air conditioning device, checking whether the current software version is between the introduced and deprecated versions corresponding to the parameter identifier in the parameter configuration command, and checking whether the local capability tag set covers the capability tag set in the parameter configuration command. If the parameter identifier in the parameter configuration command is within the parameter list supported by the target air conditioning device, the current software version is between the introduced and deprecated versions corresponding to the parameter identifier in the parameter configuration command, and the local capability tag set covers the capability tag set in the parameter configuration command, then the verification result is determined to be successful. The parameter value of the target device parameter in the parameter configuration command is written, and the execution result is returned. If the verification result is a failure, the parameter value of the target device parameter in the parameter configuration command is refused to be written. If the execution result is an execution failure, the device is rolled back to any historical parameter version or the previous parameter version according to the parameter version snapshot, and a configuration failure alarm signal is issued.
[0033] This verification mechanism significantly improves the accuracy and stability of air conditioning equipment parameter configuration. Through multiple verifications of parameter identifiers, software versions, and capability tag sets, it effectively avoids equipment malfunctions or performance degradation caused by incompatible parameter configurations. Once verification is successful, parameter values are accurately written, ensuring the equipment operates according to expected parameters, improving operational efficiency and user experience. Conversely, in the event of verification or execution failure, a rollback to a historical parameter version and an alarm signal are issued, quickly restoring the equipment to a stable state and promptly notifying relevant personnel for handling. This minimizes the impact of equipment failures on user experience and ensures the continuous and reliable operation of the air conditioning equipment. Simultaneously, this mechanism provides reliable support for software upgrades and parameter updates, enabling the equipment to maintain good performance and compatibility during continuous updates.
[0034] In one embodiment, before obtaining the device status information of the target air conditioning device when a parameter configuration instruction corresponding to the target air conditioning device is detected, the method further includes: Obtain multiple standard parameters and the original configuration files corresponding to different wired controllers; Semantic recognition is performed on the original configuration file to extract functional parameters; Based on the matching results between the functional parameters and the mapping keyword library of each of the standard parameters, the candidate parameters corresponding to the functional parameters are determined; Based on the matching results between the candidate parameters and the functional parameters in the original configuration file, the parameter compatibility status between the candidate parameters and the functional parameters is determined; When the parameter compatibility status is compatible, the conversion scheme of the candidate parameter relative to the air conditioning equipment corresponding to the functional parameter is determined based on the functional parameter. A parameter mapping table is generated based on the conversion scheme of different standard parameters relative to different functional parameters of the corresponding air conditioning equipment.
[0035] Specifically, standard parameters include parameter identifier, function name, associated functional module, data type, parameter value, parameter unit, parameter range, parameter precision, introduced version, deprecated version, capability tag set, mapping keyword library, and feature conversion rule set. The introduced version indicates the first version of the embedded software to take effect, while the deprecated version indicates the version that has been discontinued. The capability tag set in the standard parameter contains capability tags corresponding to all functions required by that standard parameter. The mapping keyword library includes aliases similar to the function names of the standard parameter. For example, the function name of the standard parameter "cooling set temperature" is REF_SET_TEMP_COOL, and its mapping keyword library includes Tset_cool and target_temp_cool, used to adapt to different naming conventions for the same parameter in different air conditioning models. The feature conversion rule set contains the differences in the expression of the standard parameter across different models and the conversion strategies. The feature conversion rule set includes the target data type, target unit, target precision, and the correspondence between the transmitted value and the actual value (e.g., transmitted value = actual value) that the standard parameter can be converted to. 0.1), Offset (e.g., transmitted value = actual value) 0.1+10), an enumerated set of values. The original configuration file can be a historical configuration file or a configuration file provided by a third-party device. Semantic parsing is performed on multiple original configuration files to extract parameter keywords to form functional parameters. Functional parameters include parameter keywords such as function name, unit, precision, range, and data type. Then, the functional parameter is searched in the mapping keyword library of standard parameters to determine if it matches. If it matches, it means the functional parameter is an alias of the standard parameter, and the standard parameter is used as a candidate parameter. Otherwise, if it does not match, it means the functional parameter is not an alias of the standard parameter, and the search continues in the mapping keyword library of the next standard parameter.
[0036] Candidate parameters are selected to avoid inconsistent naming of the same functional parameters across different air conditioning models. The selected candidate parameters are then matched with the functional parameters to determine their compatibility. This compatibility indicates whether the functional and candidate parameters are physically compatible, preventing errors such as mapping voltage parameters to temperature parameters.
[0037] When the parameter compatibility status is "compatible," a conversion scheme is derived based on the original parameter definition of the functional parameters to transform the candidate parameters into equipment parameters recognizable by the corresponding air conditioning equipment. This means that the parameter values converted from the candidate parameters according to this conversion scheme meet the parameter requirements of the functional parameters. Each standard parameter serves as a candidate parameter for different functional parameters to derive the corresponding conversion function. The conversion functions of different standard parameters relative to the air conditioning equipment corresponding to different functional parameters are then summarized to generate a parameter mapping table.
[0038] In one embodiment, determining the parameter compatibility status between the candidate parameters and the functional parameters based on the matching result between the candidate parameters and the functional parameters in the original configuration file includes: Based on the matching result between the parameter attributes of the candidate parameters and the parameter attributes corresponding to the functional parameters in the original configuration file, the data compatibility status between the candidate parameters and the functional parameters is determined, wherein the parameter attributes include parameter unit, parameter range, and parameter precision; When the data compatibility status is compatible, determine the type compatibility status between the data type of the candidate parameter and the data type of the functional parameter; When the type compatibility status is compatible, determine the enumeration value compatibility status between the enumeration value set of the candidate parameter and the enumeration value set of the function parameter; When the enumeration value is in a compatible state, the parameter compatibility state between the candidate parameter and the function parameter is determined to be compatible.
[0039] Specifically, the units, ranges, and precision of the candidate parameters are matched with those of the functional parameters. Unit matching determines whether the units of the candidate and functional parameters are convertible; for example, ℃ and ℉ can be converted, as can kPa and MPa, but ℃ and kPa cannot. Range matching checks whether the value ranges of the functional and candidate parameters overlap or are mappable. Precision matching determines whether the precision of the functional and candidate parameters is compatible. If the precision of the functional and candidate parameters is divisible by an integer or a multiple of that integer, they are considered compatible. If the precision is not a multiple of that integer, the precision difference between the functional and candidate parameters is further checked to see if it is less than a precision threshold. If the difference is less than the threshold, they are considered compatible; otherwise, if the difference is greater than or equal to the threshold, they are considered incompatible.
[0040] If the units of the candidate parameters and the functional parameters can be converted, and the value ranges of the functional parameters and the value ranges of the candidate parameters overlap or can be linearly mapped, and their precisions are compatible, then the compatibility status of the parameter units, parameter ranges, and parameter precisions is considered to be compatible, and the data compatibility status is determined to be compatible. Conversely, if at least one of the parameter units, parameter ranges, and parameter precisions is incompatible, then the data compatibility status is determined to be incompatible.
[0041] If the data compatibility status is "compatible", then determine whether the data type of the candidate parameter is compatible with the data type of the function parameter. That is, determine whether the data type of the candidate parameter can be converted to the data type supported by the function parameter. If the data type of the candidate parameter can be converted to the data type supported by the function parameter, that is, there is a conversion relationship between the data types of the candidate parameter and the function parameter, or the data types of the candidate parameter and the function parameter are the same, then the type compatibility status is determined to be "compatible". Conversely, if the data type of the candidate parameter cannot be converted to the data type supported by the function parameter, that is, there is no conversion relationship between the data types of the candidate parameter and the function parameter, and / or the data types of the candidate parameter and the function parameter are different, then the type compatibility status is determined to be "incompatible".
[0042] If the type compatibility status is compatible, the system continues to determine whether the enumeration value set of the candidate parameter is compatible with the enumeration value set of the function parameter. Specifically, it determines whether there is a clear, one-to-one mapping relationship between the enumeration value set of the candidate parameter and the enumeration value set of the function parameter. The system matches the number, meaning, and encoding of the enumeration values in the two enumeration value sets. If the number, meaning, and encoding of the enumeration values in the two enumeration value sets are completely consistent, it means that the enumeration value set of the candidate parameter and the enumeration value set of the function parameter are completely matched. For example, the enumeration value set of the function parameter is {0: cooling, 1: heating, 2: ventilation}, while the enumeration value set of the candidate parameter is {0: cooling, 1: heating, 2: ventilation}. If at least one of the following matches in the quantity, meaning, or encoding of enumeration values in two sets of enumeration values, it indicates that the candidate parameter's enumeration value set partially matches the function parameter's enumeration value set. For example, the function parameter's enumeration value set is {0: cooling, 1: heating}, while the candidate parameter's enumeration value set is {0: cooling, 1: heating, 2: dehumidification}, or the candidate parameter's enumeration value set is {0: cooling, 1: cooling}. If the quantity, meaning, or encoding of enumeration values in two sets of enumeration values have no corresponding relationship and a mapping cannot be established, then it is determined that the candidate parameter's enumeration value set does not match the function parameter's enumeration value set. When the candidate parameter's enumeration value set partially or completely matches the function parameter's enumeration value set, the enumeration value compatibility status is determined to be compatible; when the candidate parameter's enumeration value set does not match the function parameter's enumeration value set, the enumeration value compatibility status is determined to be incompatible.
[0043] If all three conditions—data compatibility, type compatibility, and enumeration value compatibility—are met, the parameter compatibility between the candidate parameter and the functional parameter is determined to be compatible. If at least one of these conditions is incompatible, the parameter compatibility between the candidate parameter and the functional parameter is determined to be incompatible.
[0044] In one embodiment, when the parameter compatibility state is compatible, determining the conversion scheme of the candidate parameter relative to the air conditioning device corresponding to the functional parameter based on the functional parameter includes: When the parameter compatibility status is compatible, the conversion function between the candidate parameter and the functional parameter is derived based on the feature transformation rule set in the candidate parameter and the functional parameter. The conversion function between the candidate parameters and the functional parameters is used as the conversion scheme for the candidate parameters relative to the air conditioning equipment corresponding to the functional parameters.
[0045] Specifically, a parameter compatibility status of "compatible" indicates that candidate parameters and functional parameters are compatible across multiple dimensions, including units, precision, range, data types, and enumeration mappings. The conversion function is derived by combining the feature conversion rule set of the candidate parameters and according to the parameter requirements (parameter definition) of the functional parameters. Functional parameters define parameter units, ranges, precision, data types, and business constraints. For example, a functional parameter might be a cooling set temperature, with units in °C, a range of 16-30 °C, a precision of 1 °C, a data type of uint8, and a business constraint of rounding to the nearest integer. First, the parameter values of the candidate parameters are calculated according to the conversion strategy in the feature conversion rule set. For example, the candidate parameter... The parameter value calculated based on the conversion strategy is 23.6℃. Then, combined with the parameter requirements of the functional parameters, the unit of the candidate parameter value is converted to ℃. According to the accuracy constraint (1℃), 23.6℃ is rounded to 24℃. According to the data type constraint, 24℃ is converted to uint8(24)=24. According to the range constraint, it is checked whether 24 is within the parameter range of the functional parameters. If it exceeds the parameter range of the functional parameters, a limit value is applied. The upper limit of the parameter range is used as the final parameter value after conversion. The above calculation process is encapsulated into a conversion function. The input value of the conversion function is the parameter value of the candidate parameter, and the output value is the parameter value of the converted equipment parameter.
[0046] Each standard parameter corresponds to a conversion function for different models. Based on the conversion function, the same standard parameter can be converted into equipment parameters that can be recognized by different models of air conditioning equipment, thereby enabling batch configuration of parameters for different air conditioning equipment.
[0047] In one embodiment, the step of filtering configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set, and parameter feature description in the device status information includes: The parameter database is used to select standard parameters whose current software version is between the introduced version and the deprecated version, and whose capability tag set is a subset of the device capability tag set. When the parameter value of the candidate parameter is within the parameter range in the device status information, and the precision of the candidate parameter is compatible with the precision of the parameter in the device status information, and the data type of the candidate parameter is compatible with the data type in the device status information, the candidate parameter is used as the configurable standard parameter corresponding to the target air conditioning device. The parameter feature description includes parameter range, parameter precision, and data type.
[0048] Specifically, for each standard parameter in the parameter database, a triple compatibility assessment is performed: version compatibility, capability compatibility, and feature expressibility. The version compatibility assessment determines whether the current software version is between the referenced and deprecated versions of the standard parameter. If the current software version is between the referenced and deprecated versions of the standard parameter, it is determined that the current software version is compatible with the standard parameter version. Conversely, if the current software version exceeds the referenced or deprecated version of the standard parameter, it is determined that the current software version is incompatible with the standard parameter version.
[0049] Capability compatibility assessment determines whether the target air conditioning equipment possesses all the capabilities required by the standard parameters. Specifically, it determines whether the capability tag set of the standard parameters is a subset of the equipment capability tag set. If the capability tag set of the standard parameters is a subset of the equipment capability tag set, and the current software version is compatible with the version of the standard parameters, then the standard parameter is determined as a candidate parameter for further compatibility assessment of feature expressibility.
[0050] The compatibility judgment of feature expressibility involves determining whether the parameter value of the candidate parameter is within the parameter range in the device status information, and whether the parameter precision and data type of the candidate parameter are compatible with those in the device status information. If the parameter value of the candidate parameter is within the parameter range in the device status information, and the precision compatibility between the candidate parameter and the parameter precision in the device status information is positive, and the data type compatibility between the candidate parameter and the data type in the device status information is positive, then the candidate parameter is used as the configurable standard parameter corresponding to the target air conditioning device, thereby filtering out standard parameters compatible with the target air conditioning device.
[0051] In one embodiment, based on the parameter feature description and parameter mapping table in the device status information, the configurable standard parameters are converted into target device parameters recognizable by the target air conditioning device, including: Query the target transformation function of the configurable standard parameters with respect to the target air conditioning device in the parameter mapping table; The configurable standard parameters are converted into intermediate parameters according to the target transformation function; By using the parameter range, parameter precision, and data type described in the device status information to constrain the intermediate parameters, and by using the dependencies between parameters to perform logical constraints, the target device parameters that can be identified by the target air conditioning device are obtained.
[0052] Specifically, the system queries the parameter mapping table for the target conversion function of the configurable standard parameters for the target air conditioning unit. Following this conversion function, the configurable standard parameters are converted into intermediate parameters. These intermediate parameters are then formatted according to the parameter definitions in the device status information, and logical constraints are applied using the dependencies between different standard parameters to prevent conflicts. The final result is target device parameters that are recognizable by the target air conditioning unit and meet its execution requirements. This process ensures that the target device parameters are within the acceptable range for the target air conditioning unit, preventing issues caused by parameters exceeding the range, mismatched precision, or incompatible data types that could prevent proper device recognition and processing. Simultaneously, it improves the accuracy and reliability of parameter conversion, enabling the accurate conversion of configurable standard parameters from different standards into parameters recognizable by the target air conditioning unit. This enhances the compatibility and interoperability between the system and the target air conditioning unit, effectively improving the control efficiency and operational stability of the air conditioning unit, reducing equipment failures and anomalies caused by parameter issues, and providing strong technical support for the intelligent control and efficient operation of air conditioning units.
[0053] In one embodiment, after filtering out the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set, and parameter feature description in the device status information, the method further includes: The remaining standard parameters in the parameter database, excluding the configurable standard parameters, are determined to be invalid parameters. A parameter deletion instruction is generated based on the invalid parameters and sent to the target air conditioning device, instructing the target air conditioning device to delete the invalid parameters.
[0054] Specifically, in addition to configurable standard parameters, the standard parameters in the parameter database are invalid parameters of the target air conditioning device. Invalid parameters are parameters that the target air conditioning device explicitly does not support and has no alternative function. A parameter deletion command is generated for invalid parameters and sent to the target air conditioning device to delete the invalid parameters, thereby freeing up the corresponding memory or Flash storage space and updating the configuration file. This achieves automatic cleanup of the configuration space, improves system stability and security, and solves the technical problem of the control method being out of sync with the hardware platform, failing to form a closed-loop governance, and causing invalid parameter residue and configuration conflicts.
[0055] The air conditioning control device records a complete log for the above configuration process. The log includes the original values of the configurable standard parameters, the converted parameter values, the accuracy loss indicator, the execution status, and the execution reason, so as to facilitate data backtracking.
[0056] Figure 2 This is a flowchart illustrating an air conditioning control method in one embodiment. It should be understood that, although... Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0057] In one embodiment, such as Figure 3 As shown, an air conditioning control device is provided, comprising: The acquisition module 310 is used to acquire the device status information of the target air conditioning device when a parameter configuration instruction corresponding to the target air conditioning device is detected; Processing module 320 is used to filter out the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set and parameter feature description in the device status information; The conversion module 330 is used to convert the configurable standard parameters into target device parameters that can be recognized by the target air conditioning device based on the parameter feature description and parameter mapping table in the device status information. The configuration module 340 is used to generate a parameter configuration command based on the target device parameters and send it to the target air conditioning device, so that the target air conditioning device can perform parameter configuration according to the target device parameters.
[0058] In one embodiment, the acquisition module 310 is further configured to: Obtain multiple standard parameters and the original configuration files corresponding to different wired controllers; Semantic recognition is performed on the original configuration file to extract functional parameters; Based on the matching results between the functional parameters and the mapping keyword library of each of the standard parameters, the candidate parameters corresponding to the functional parameters are determined; Based on the matching results between the candidate parameters and the functional parameters in the original configuration file, the parameter compatibility status between the candidate parameters and the functional parameters is determined; When the parameter compatibility status is compatible, the conversion scheme of the candidate parameter relative to the air conditioning equipment corresponding to the functional parameter is determined based on the functional parameter. A parameter mapping table is generated based on the conversion scheme of different standard parameters relative to different functional parameters of the corresponding air conditioning equipment.
[0059] In one embodiment, the acquisition module 310 is further configured to: Based on the matching result between the parameter attributes of the candidate parameters and the parameter attributes corresponding to the functional parameters in the original configuration file, the data compatibility status between the candidate parameters and the functional parameters is determined, wherein the parameter attributes include parameter unit, parameter range, and parameter precision; When the data compatibility status is compatible, determine the type compatibility status between the data type of the candidate parameter and the data type of the functional parameter; When the type compatibility status is compatible, determine the enumeration value compatibility status between the enumeration value set of the candidate parameter and the enumeration value set of the function parameter; When the enumeration value is in a compatible state, the parameter compatibility state between the candidate parameter and the function parameter is determined to be compatible.
[0060] In one embodiment, the acquisition module 310 is further configured to: When the parameter compatibility status is compatible, the conversion function between the candidate parameter and the functional parameter is derived based on the feature transformation rule set in the candidate parameter and the functional parameter. The conversion function between the candidate parameters and the functional parameters is used as the conversion scheme for the candidate parameters relative to the air conditioning equipment corresponding to the functional parameters.
[0061] In one embodiment, the processing module 320 is further configured to: The parameter database is used to select standard parameters whose current software version is between the introduced version and the deprecated version, and whose capability tag set is a subset of the device capability tag set. When the parameter value of the candidate parameter is within the parameter range in the device status information, and the precision of the candidate parameter is compatible with the precision of the parameter in the device status information, and the data type of the candidate parameter is compatible with the data type in the device status information, the candidate parameter is used as the configurable standard parameter corresponding to the target air conditioning device. The parameter feature description includes parameter range, parameter precision, and data type.
[0062] In one embodiment, the processing module 320 is further configured to: Query the target transformation function of the configurable standard parameters with respect to the target air conditioning device in the parameter mapping table; The configurable standard parameters are converted into intermediate parameters according to the target transformation function; By using the parameter range, parameter precision, and data type described in the device status information to constrain the intermediate parameters, and by using the dependencies between parameters to perform logical constraints, the target device parameters that can be identified by the target air conditioning device are obtained.
[0063] In one embodiment, the processing module 320 is further configured to: The remaining standard parameters in the parameter database, excluding the configurable standard parameters, are determined to be invalid parameters. A parameter deletion instruction is generated based on the invalid parameters and sent to the target air conditioning device, instructing the target air conditioning device to delete the invalid parameters.
[0064] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should also be noted that the above modules, as part of a device, can operate in environments such as... Figure 1 The hardware environment shown can be implemented either through software or through hardware.
[0065] like Figure 4 As shown, this application embodiment provides a universal wired controller, including a processor 711, a communication interface 712, a memory 713, and a communication bus 714. The processor 711, the communication interface 712, and the memory 713 communicate with each other through the communication bus 714. The memory 713 is used to store computer programs. When the processor 711 executes the program stored in the memory 713, it implements the air conditioning control method provided in any of the aforementioned method embodiments.
[0066] The memory and processor in the aforementioned electronic devices communicate with each other via a communication bus and a communication interface. The communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0067] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0068] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0069] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the general-purpose wired controller to which the present application is applied. A specific general-purpose wired controller may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0070] According to another aspect of the embodiments of this application, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a universal remote control reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the universal remote control to perform the steps of any of the above embodiments.
[0071] In one embodiment, the air conditioning control device provided in this application can be implemented as a computer program, and the computer program can be implemented in such a way as... Figure 4 It operates on the universal wired controller shown. The memory of the universal wired controller can store the various program modules that make up the air conditioning control device, for example, Figure 3 The acquisition module 310, processing module 320, conversion module 330, and configuration module 340 are shown. The computer program comprised of these modules causes the processor to execute the air conditioning control methods of the various embodiments of this application described in this specification.
[0072] Figure 4 The universal wired controller shown can be used as follows Figure 3 The acquisition module 310 in the air conditioning control device, upon detecting a parameter configuration command corresponding to the target air conditioning device, acquires the device status information of the target air conditioning device. The universal wired controller, through the processing module 320, filters the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set, and parameter feature description in the device status information. The universal wired controller, through the conversion module 330, converts the configurable standard parameters into target device parameters recognizable by the target air conditioning device based on the parameter feature description and parameter mapping table in the device status information. The universal wired controller, through the configuration module 340, generates a parameter configuration command based on the target device parameters and sends it to the target air conditioning device, instructing the target air conditioning device to configure its parameters according to the target device parameters.
[0073] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the air conditioning control method provided in any of the foregoing method embodiments.
[0074] Optionally, in embodiments of this application, the computer-readable medium is configured to store program code for the processor to perform the following steps: When a parameter configuration command corresponding to the target air conditioning device is detected, the device status information of the target air conditioning device is obtained; Based on the current software version, device capability tag set, and parameter feature description in the device status information, the configurable standard parameters corresponding to the target air conditioning device are filtered out from the parameter database. Based on the parameter feature description and parameter mapping table in the device status information, the configurable standard parameters are converted into target device parameters that the target air conditioning device can recognize; A parameter configuration command is generated based on the target device parameters and sent to the target air conditioning device, instructing the target air conditioning device to configure its parameters according to the target device parameters.
[0075] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.
[0076] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0077] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0078] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0079] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0080] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0081] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0082] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0083] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a USB flash drive, external hard drive, ROM, RAM, magnetic disk, or optical disk, or other media capable of storing program code, including several instructions to cause a general-purpose wired controller (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0084] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also mean including the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that alternatives or substitutions may be used.
[0085] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An air conditioning control method, characterized in that, The method includes: When a parameter configuration command corresponding to the target air conditioning device is detected, the device status information of the target air conditioning device is obtained; Based on the current software version, device capability tag set, and parameter feature description in the device status information, the configurable standard parameters corresponding to the target air conditioning device are filtered out from the parameter database. Based on the parameter feature description and parameter mapping table in the device status information, the configurable standard parameters are converted into target device parameters that the target air conditioning device can recognize; A parameter configuration command is generated based on the target device parameters and sent to the target air conditioning device, instructing the target air conditioning device to configure its parameters according to the target device parameters.
2. The method according to claim 1, characterized in that, Before obtaining the device status information of the target air conditioning device when the parameter configuration command corresponding to the target air conditioning device is detected, the method further includes: Obtain multiple standard parameters and the original configuration files corresponding to different wired controllers; Semantic recognition is performed on the original configuration file to extract functional parameters; Based on the matching results between the functional parameters and the mapping keyword library of each of the standard parameters, the candidate parameters corresponding to the functional parameters are determined; Based on the matching results between the candidate parameters and the functional parameters in the original configuration file, the parameter compatibility status between the candidate parameters and the functional parameters is determined; When the parameter compatibility status is compatible, the conversion scheme of the candidate parameter relative to the air conditioning equipment corresponding to the functional parameter is determined based on the functional parameter. A parameter mapping table is generated based on the conversion scheme of different standard parameters relative to different functional parameters of the corresponding air conditioning equipment.
3. The method according to claim 2, characterized in that, The step of determining the parameter compatibility status between the candidate parameters and the functional parameters based on the matching result between the candidate parameters and the functional parameters in the original configuration file includes: Based on the matching result between the parameter attributes of the candidate parameters and the parameter attributes corresponding to the functional parameters in the original configuration file, the data compatibility status between the candidate parameters and the functional parameters is determined, wherein the parameter attributes include parameter unit, parameter range, and parameter precision; When the data compatibility status is compatible, determine the type compatibility status between the data type of the candidate parameter and the data type of the functional parameter; When the type compatibility status is compatible, determine the enumeration value compatibility status between the enumeration value set of the candidate parameter and the enumeration value set of the function parameter; When the enumeration value is in a compatible state, the parameter compatibility state between the candidate parameter and the function parameter is determined to be compatible.
4. The method according to claim 2, characterized in that, When the parameter compatibility status is compatible, determining the conversion scheme of the candidate parameter relative to the air conditioning equipment corresponding to the functional parameter based on the functional parameter includes: When the parameter compatibility status is compatible, the conversion function between the candidate parameter and the functional parameter is derived based on the feature transformation rule set in the candidate parameter and the functional parameter. The conversion function between the candidate parameters and the functional parameters is used as the conversion scheme for the candidate parameters relative to the air conditioning equipment corresponding to the functional parameters.
5. The method according to claim 1, characterized in that, The step involves filtering configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set, and parameter feature description in the device status information, including: The parameter database is used to select standard parameters whose current software version is between the introduced version and the deprecated version, and whose capability tag set is a subset of the device capability tag set. When the parameter value of the candidate parameter is within the parameter range in the device status information, and the precision of the candidate parameter is compatible with the precision of the parameter in the device status information, and the data type of the candidate parameter is compatible with the data type in the device status information, the candidate parameter is used as the configurable standard parameter corresponding to the target air conditioning device. The parameter feature description includes parameter range, parameter precision, and data type.
6. The method according to claim 5, characterized in that, Based on the parameter feature descriptions and parameter mapping tables in the device status information, the configurable standard parameters are converted into target device parameters recognizable by the target air conditioning device, including: Query the target transformation function of the configurable standard parameters with respect to the target air conditioning device in the parameter mapping table; The configurable standard parameters are converted into intermediate parameters according to the target transformation function; By using the parameter range, parameter precision, and data type described in the device status information to constrain the intermediate parameters, and by using the dependencies between parameters to perform logical constraints, the target device parameters that can be identified by the target air conditioning device are obtained.
7. The method according to claim 1, characterized in that, Based on the current software version, device capability tag set, and parameter feature description in the device status information, after filtering out the configurable standard parameters corresponding to the target air conditioning device from the parameter database, the method further includes: The remaining standard parameters in the parameter database, excluding the configurable standard parameters, are determined to be invalid parameters. A parameter deletion instruction is generated based on the invalid parameters and sent to the target air conditioning device, instructing the target air conditioning device to delete the invalid parameters.
8. An air conditioning control device, characterized in that, The device includes: The acquisition module is used to acquire the device status information of the target air conditioning device when a parameter configuration instruction corresponding to the target air conditioning device is detected; The processing module is used to filter out the configurable standard parameters corresponding to the target air conditioning device from the parameter database based on the current software version, device capability tag set and parameter feature description in the device status information. The conversion module is used to convert the configurable standard parameters into target device parameters that can be recognized by the target air conditioning device based on the parameter feature description and parameter mapping table in the device status information. The configuration module is used to generate parameter configuration commands based on the target device parameters and send them to the target air conditioning device, so that the target air conditioning device can configure its parameters according to the target device parameters.
9. A universal wired controller, characterized in that, The universal wired controller includes the air conditioning control device as described in claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.