Method, device, computer equipment and storage medium for loading air conditioning control parameters

By determining a suitable combination of air-conditioning control parameters in the air-conditioner single-chip microcomputer, the problem of utilizing the remaining memory space in the air-conditioner single-chip microcomputer is solved, and efficient storage of the air-conditioner and saving of hardware costs are achieved.

CN115061401BActive Publication Date: 2025-09-09GUANGDONG WANZHENZI INTELLIGENT CONTROL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210677993.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-15
Publication Date
2025-09-09
Estimated Expiration
2042-06-15

AI Technical Summary

Technical Problem

In the prior art, the remaining memory space in the FLASH area of ​​the MCU of the air conditioner outdoor unit control unit is not fully utilized, making it difficult to effectively store differentiated air conditioning control parameters, resulting in a waste of hardware costs.

Method used

By obtaining the amount of storage space of the remaining memory space in the air conditioner microcontroller and the amount of control parameter data of different air conditioning unit types, the air conditioning parameter combination whose total data volume is not greater than the storage space is determined, and according to the pre-set loading principle, the target combination is screened from the air conditioning parameter combination, and the air conditioning control parameters are loaded into the remaining memory space.

Benefits of technology

The invention realizes the maximum utilization of the memory space of the air conditioner single chip microcomputer, saves the hardware cost of the air conditioner, and improves the adaptability of the air conditioner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115061401B_ABST
    Figure CN115061401B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, computer equipment and storage medium for loading air-conditioning control parameters. The method obtains the amount of storage space of the remaining memory space in the air-conditioning microcontroller and the amount of data corresponding to the air-conditioning control parameters of different types of air-conditioning units; obtains an air-conditioning parameter combination whose total data amount is not greater than the amount of storage space based on the amount of data corresponding to the air-conditioning control parameters; then determines a target air-conditioning parameter combination from the air-conditioning parameter combination, and loads the air-conditioning control parameters in the target air-conditioning parameter combination into the remaining memory space in the air-conditioning microcontroller, thereby adaptively loading the air-conditioning control parameter combination into the memory space in the air-conditioning microcontroller based on the amount of remaining memory space in the air-conditioning microcontroller and the amount of data of the air-conditioning control parameters of different types of air-conditioning units, thereby maximizing the utilization of the air-conditioning microcontroller and saving hardware costs in the air-conditioner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of air conditioning technology, and in particular to a method, device, computer equipment and storage medium for loading air conditioning control parameters. Background Art

[0002] At present, the control unit of an air conditioner outdoor unit usually adopts a combination of an MCU (Microcontroller Unit) and an EEPROM (Electrically Erasable Programmable Read Only Memory) chip, wherein the general control code is stored in the MCU, and the differentiated control parameters are stored in the EEPROM, so as to achieve compatibility of the main control logic with a variety of different air conditioner models. As the storage space of the FLASH area in the MCU continues to increase, the FLASH area still has remaining memory space after storing the general control code, which can be used to replace the EEPROM to store differentiated control parameters, thereby saving costs. However, the size of the remaining memory space in the FLASH area of ​​the MCU often changes with the size of the memory space of the FLASH area and the amount of control code data. Therefore, the amount of control parameter data that can be stored also varies. How to maximize the use of the remaining memory space after storing the control code to store data urgently needs to be solved. Summary of the Invention

[0003] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for loading air conditioning control parameters to address the above technical problems.

[0004] In a first aspect, the present application provides a method for loading air conditioning control parameters, the method comprising:

[0005] Obtaining the amount of storage space remaining in the air conditioner microcontroller's memory and the amount of data corresponding to air conditioning control parameters of different air conditioning unit types;

[0006] According to the data volume corresponding to the air conditioning control parameter, an air conditioning parameter combination with a total data volume not greater than the storage space volume is obtained; the air conditioning parameter combination includes at least one air conditioning control parameter;

[0007] A target air-conditioning parameter combination is determined from the air-conditioning parameter combinations, and the air-conditioning control parameters in the target air-conditioning parameter combination are loaded into the remaining memory space in the air-conditioner single chip microcomputer.

[0008] In some embodiments of the present application, determining a target air-conditioning parameter combination from the air-conditioning parameter combination includes:

[0009] If the number of air-conditioning parameter combinations is 1, the air-conditioning parameter combination is determined as a target air-conditioning parameter combination;

[0010] If the number of the air-conditioning parameter combinations is greater than 1, a target air-conditioning parameter combination is screened from the air-conditioning parameter combinations according to the air-conditioning parameter information corresponding to each air-conditioning parameter combination.

[0011] In some embodiments of the present application, the air conditioning parameter information includes the number of air conditioning control parameters and the type of air conditioning unit corresponding to each air conditioning control parameter;

[0012] According to the air conditioning parameter information corresponding to each air conditioning parameter combination, a target air conditioning parameter combination is screened from the air conditioning parameter combinations, including:

[0013] Obtaining a pre-screened air-conditioning parameter combination with the largest number of air-conditioning control parameters from each air-conditioning parameter combination;

[0014] If the number of the pre-screened air-conditioning parameter combinations is 1, the pre-screened air-conditioning parameter combination is determined as the target air-conditioning parameter combination;

[0015] If the number of the initially screened air-conditioning parameter combinations is greater than 1, target air-conditioning parameter combinations are screened from the initially screened air-conditioning parameter combinations according to the air-conditioning unit types corresponding to the air-conditioning control parameters in each of the initially screened air-conditioning parameter combinations.

[0016] In some embodiments of the present application, based on the air conditioning unit type corresponding to each air conditioning control parameter in each pre-screened air conditioning parameter combination, a target air conditioning parameter combination is screened from the pre-screened air conditioning parameter combination, including:

[0017] Determine the combination priority of each initially screened air conditioning parameter combination based on the air conditioning unit type corresponding to each air conditioning control parameter in each initially screened air conditioning parameter combination;

[0018] The initially screened air-conditioning parameter combination with the highest combination priority is determined as the target air-conditioning parameter combination.

[0019] In some embodiments of the present application, the combination priority of each preliminary screening air conditioning parameter combination is determined based on the air conditioning unit type corresponding to each air conditioning control parameter in each preliminary screening air conditioning parameter combination, including:

[0020] Obtaining the first air conditioning unit type in each initially screened air conditioning parameter combination;

[0021] The combination priority of each initially screened air-conditioning parameter combination is determined according to the first air-conditioning unit type in each initially screened air-conditioning parameter combination.

[0022] In some embodiments of the present application, after obtaining the first air conditioning unit type in each pre-screened air conditioning parameter combination, the method further includes:

[0023] If the first air conditioning unit type of at least two of the initially screened air conditioning parameter combinations is the same, obtain the second air conditioning unit type in each of the initially screened air conditioning parameter combinations;

[0024] The priority of each initially screened air-conditioning parameter combination is determined according to the type of the second air-conditioning unit in each initially screened air-conditioning parameter combination.

[0025] In some embodiments of the present application, loading the air conditioning control parameters in the target air conditioning parameter combination into the remaining memory space in the air conditioner single chip microcomputer includes:

[0026] Obtaining the air conditioning unit type identifier of the target air conditioning parameter combination;

[0027] Reading target air conditioning control parameters corresponding to the air conditioning unit type identifier from an EEPROM chip connected to the air conditioner microcontroller;

[0028] Save the target air conditioning control parameters to the remaining memory space.

[0029] In a second aspect, the present application provides a device for loading air conditioning control parameters, the device comprising:

[0030] A storage information acquisition module is used to obtain the amount of storage space remaining in the air conditioner microcontroller and the amount of data corresponding to the air conditioning control parameters of different air conditioning unit types;

[0031] a control parameter determination module, configured to obtain, based on the amount of data corresponding to the air conditioning control parameter, an air conditioning parameter combination whose total data amount is not greater than the amount of storage space; the air conditioning parameter combination including at least one air conditioning control parameter;

[0032] The control parameter storage module is used to determine a target air conditioning parameter combination from the air conditioning parameter combination, and load the air conditioning control parameters in the target air conditioning parameter combination into the remaining memory space in the air conditioner single chip microcomputer.

[0033] In a third aspect, the present application further provides a computer device, comprising:

[0034] one or more processors;

[0035] Memory; and

[0036] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the method for loading air-conditioning control parameters.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium on which a computer program is stored. The computer program is loaded by a processor to execute the steps in the method for loading air-conditioning control parameters.

[0038] In a fifth aspect, embodiments of the present application provide a computer program product or computer program, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method provided in the first aspect.

[0039] The above-mentioned air-conditioning control parameter loading method, device, computer equipment and storage medium obtain the storage space amount of the remaining memory space in the air-conditioning microcontroller and the data amount corresponding to the air-conditioning control parameters of different air-conditioning unit types; according to the data amount corresponding to the air-conditioning control parameters, obtain an air-conditioning parameter combination whose total data amount is not greater than the storage space amount; then determine the target air-conditioning parameter combination from the air-conditioning parameter combination, and load the air-conditioning control parameters in the target air-conditioning parameter combination into the remaining memory space in the air-conditioning microcontroller, so as to realize adaptive loading of the air-conditioning control parameters into the memory space in the air-conditioning microcontroller based on the size of the remaining memory space and the data amount of the air-conditioning control parameters of different air-conditioning unit types, thereby maximizing the utilization of the storage space of the air-conditioning microcontroller and saving the hardware cost in the air conditioner. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 Schematic diagram of a method for loading air-conditioning control parameters in an embodiment of the present application;

[0042] Figure 2 1 is a flow chart of a method for loading air-conditioning control parameters in an embodiment of the present application;

[0043] Figure 3 1 is a flow chart of the steps for obtaining a target air conditioning parameter combination in an embodiment of the present application;

[0044] Figure 4 is a flowchart of another step of obtaining a target air-conditioning parameter combination in an embodiment of the present application;

[0045] Figure 5 Schematic diagram of the structure of the device for loading air-conditioning control parameters in an embodiment of the present application;

[0046] Figure 6 It is a structural diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0048] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the described features. In the description of this application, "plurality" means two or more, unless otherwise specifically specified.

[0049] In the description of this application, the word "for example" is used to mean "used as an example, illustration or illustration". Any embodiment described in this application as "for example" is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any person skilled in the art to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0050] The method for loading air conditioning control parameters provided in the embodiment of the present application can be applied to Figure 1 The air conditioning control parameter loading system shown in FIG. The air conditioning control parameter loading system includes an air conditioner microcontroller 100 and an EEPROM chip 200. Specifically, the air conditioner microcontroller 100 obtains the amount of storage space in the local remaining memory space and reads the amount of data corresponding to the air conditioning control parameters of different air conditioning unit types from the EEPROM chip 200. Furthermore, based on the amount of data corresponding to the air conditioning control parameters, an air conditioning parameter combination is obtained whose total data amount is no greater than the amount of storage space. The air conditioning parameter combination includes at least one air conditioning control parameter. Finally, a target air conditioning parameter combination is determined from the air conditioning parameter combination, and the air conditioning control parameters in the target air conditioning parameter combination are loaded into the remaining memory space in the air conditioner microcontroller.

[0051] Those skilled in the art will understand that Figure 1The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer computer devices as shown in Figure 1 Only one air conditioner microcontroller 100 is shown in FIG. It is understandable that the air conditioner control parameter loading system may also include one or more other servers, which are not specifically limited here. Figure 1 As shown, the air-conditioning control parameter loading system may further include a memory for storing data, such as storing air-conditioning control parameters of different types of air-conditioning units.

[0052] It should also be noted that Figure 1 The scenario diagram of the air-conditioning control parameter loading system shown is only an example. The air-conditioning control parameter loading system and scenario described in the embodiment of the present invention are intended to more clearly illustrate the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the air-conditioning control parameter loading system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.

[0053] See Figure 2 The embodiment of the present application provides a method for loading air conditioning control parameters, which is mainly applied to the above Figure 1 Taking the air conditioner single chip computer 100 in FIG. 1 as an example, the method includes steps S210 to S230, which are specifically as follows:

[0054] S210, obtaining the amount of storage space remaining in the air conditioner single chip microcomputer and the amount of data corresponding to the air conditioning control parameters of different air conditioning unit types.

[0055] Among them, the air conditioner microcontroller refers to the control unit of the air conditioner outdoor unit, and the control code of the air conditioner is stored in the memory space of the air conditioner microcontroller; the amount of storage space remaining in the air conditioner microcontroller refers to the size of the memory space remaining in the memory space of the air conditioner microcontroller after the storage of the control code is completed.

[0056] Among them, air conditioning control parameters refer to parameters used to realize air conditioner control, including configuration parameters and control parameters of the air conditioner. For example, configuration parameters include but are not limited to communication port parameters of the air conditioner and model parameters of the air conditioner. Control parameters include motor drive parameters and system control parameters. Motor drive parameters include drive parameters of the indoor fan and drive parameters of the outdoor fan. System control parameters include but are not limited to the speed of the indoor fan, the angle of the air guide plate, the speed of the outdoor fan and the frequency of the outdoor compressor.

[0057] It is understandable that the data volume of the air-conditioning control parameters corresponding to different air-conditioning unit types is different; for example, the air-conditioning unit types include but are not limited to 26-unit unit types, 32-unit unit types and 35-unit unit types. Accordingly, the data volume of the air-conditioning control parameters of the 26-unit unit type is 1KB, the data volume of the air-conditioning control parameters of the 32-unit unit type is 2KB, and the data volume of the air-conditioning control parameters of the 35-unit unit type is 4KB.

[0058] Specifically, the air conditioner microcontroller can pre-burn the control code. After the air conditioner microcontroller is powered on, the air conditioner microcontroller executes the control code, calculates the amount of storage space of the remaining memory space in the local memory space of the air conditioner microcontroller, and reads the data corresponding to the air conditioning control parameters of different air conditioning unit types from the external database.

[0059] S220 , obtaining an air conditioning parameter combination whose total data volume is not greater than the storage space volume based on the data volume corresponding to the air conditioning control parameter; the air conditioning parameter combination includes at least one air conditioning control parameter.

[0060] Among them, the air-conditioning parameter combination includes air-conditioning control parameters corresponding to at least one air-conditioning unit type; as above, the air-conditioning unit types include but are not limited to 26-unit unit types, 32-unit unit types and 35-unit unit types. For example, the air-conditioning parameter combination can only include the air-conditioning control parameters of the 26-unit type, or only include the air-conditioning control parameters of the 35-unit type, or include the air-conditioning control parameters of the 26-unit type and the 32-unit type. Examples are not given one by one here.

[0061] After obtaining the amount of storage space of the remaining memory space in the air conditioner microcontroller and the amount of data corresponding to the air conditioning control parameters of different types of air conditioning units, the air conditioning control parameters of different types of air conditioning units can be adaptively combined according to the amount of storage space of the remaining memory space to obtain an air conditioning parameter combination whose total data amount is no greater than the amount of storage space.

[0062] For example, if the data size of the air conditioning control parameters for a 26-unit group is 1 KB, the data size of the air conditioning control parameters for a 32-unit group is 2 KB, and the data size of the air conditioning control parameters for a 35-unit group is 4 KB, and assuming that the remaining memory space is 1 KB, there is one air conditioning parameter combination, namely, the air conditioning parameter combination includes the air conditioning control parameters for the 26-unit group. If the remaining memory space is 2 KB, there are two air conditioning parameter combinations, namely, the first air conditioning parameter combination includes only the air conditioning control parameters for the 26-unit group, and the second air conditioning parameter combination includes only the air conditioning control parameters for the 32-unit group. If the remaining memory space is 3 KB, there are three air conditioning parameter combinations, namely, the first air conditioning parameter combination includes only the air conditioning control parameters for the 26-unit group, the second air conditioning parameter combination includes only the air conditioning control parameters for the 32-unit group, and the third air conditioning parameter combination includes both the air conditioning control parameters for the 26-unit group and the air conditioning control parameters for the 32-unit group. It is understandable that the air conditioning parameter combinations vary based on the amount of remaining memory space in the air conditioner microcontroller, and examples are not provided here.

[0063] S230 , determining a target air-conditioning parameter combination from the air-conditioning parameter combinations, and loading the air-conditioning control parameters in the target air-conditioning parameter combination into the remaining memory space in the air-conditioner single chip microcomputer.

[0064] Among them, after obtaining the air-conditioning parameter combination, the target air-conditioning parameter combination can be screened from the air-conditioning parameter combination based on the pre-set air-conditioning control parameter loading principle, and the air-conditioning control parameters corresponding to each air-conditioning unit type contained in the target air-conditioning parameter combination can be loaded into the remaining memory space in the air-conditioner microcontroller.

[0065] Specifically, based on the different amounts of storage space remaining in the air conditioner microcontroller, the combination of air conditioning parameter combinations is different. In one embodiment, a target air conditioning parameter combination is determined from the air conditioning parameter combinations, including: if the number of air conditioning parameter combinations is 1, the air conditioning parameter combination is determined as the target air conditioning parameter combination; if the number of air conditioning parameter combinations is greater than 1, the target air conditioning parameter combination is screened from the air conditioning parameter combinations according to the air conditioning parameter information corresponding to each air conditioning parameter combination.

[0066] When there is only one combination of air-conditioning parameter combinations whose total data volume is not greater than the storage space volume, that is, there is only one air-conditioning parameter combination, the air-conditioning parameter combination is determined as the target air-conditioning parameter combination; when there are multiple combinations of air-conditioning parameter combinations whose total data volume is not greater than the storage space volume, that is, there are n (n>1) air-conditioning parameter combinations, then based on the pre-set air-conditioning control parameter loading principle, the target air-conditioning parameter combination can be screened from the air-conditioning parameter combination according to the air-conditioning parameter information corresponding to each air-conditioning parameter combination.

[0067] Continuing with the example of the data size of the air-conditioning control parameters for the 26-unit group type being 1 KB, the data size of the air-conditioning control parameters for the 32-unit group type being 2 KB, and the data size of the air-conditioning control parameters for the 35-unit group type being 4 KB, assuming that the remaining memory space is 1 KB, there is only one air-conditioning parameter combination, namely, an air-conditioning parameter combination that only includes the air-conditioning control parameters corresponding to the 26-unit group type. In this case, this air-conditioning parameter combination is the target air-conditioning parameter combination. Assuming that the remaining memory space is 3 KB, there are three air-conditioning parameter combinations, including: air-conditioning parameter combination A that only includes the air-conditioning control parameters corresponding to the 26-unit group type, air-conditioning parameter combination B that only includes the air-conditioning control parameters corresponding to the 32-unit group type, and air-conditioning parameter combination C that includes the air-conditioning control parameters corresponding to both the 26-unit group type and the 32-unit group type. In this case, a target air-conditioning parameter combination is determined from air-conditioning parameter combination A, air-conditioning parameter combination B, or air-conditioning parameter combination C based on the air-conditioning parameter information corresponding to each air-conditioning parameter combination.

[0068] Furthermore, the air conditioning parameter information may include the number of air conditioning control parameters and the air conditioning unit types corresponding to each air conditioning control parameter. The number of air conditioning control parameters refers to the number of air conditioning control parameters corresponding to the air conditioning unit types included in the air conditioning parameter combination. For example, if the air conditioning parameter combination includes air conditioning control parameters corresponding to a 26-unit unit type and a 32-unit unit type, the air conditioning parameter information for the air conditioning parameter combination indicates the number of air conditioning control parameters is 2, and the air conditioning unit types are 26-unit type and 32-unit type.

[0069] The pre-set air conditioning control parameter loading principle may specifically be to prioritize loading an air conditioning parameter combination that includes more air conditioning control parameters corresponding to the air conditioning unit types, i.e., to determine the air conditioning parameter combination with more air conditioning control parameters as the target air conditioning parameter combination; if there are multiple air conditioning parameter combinations corresponding to the same number of air conditioning control parameters, then, among these air conditioning parameter combinations, the air conditioning parameter combination that includes the air conditioning unit type specified by the air conditioning control parameter loading principle is prioritized. Specifically, in one embodiment, if Figure 3 As shown, according to the air conditioning parameter information corresponding to each air conditioning parameter combination, a target air conditioning parameter combination is screened from the air conditioning parameter combinations, including:

[0070] S310, obtaining a pre-screened air-conditioning parameter combination with the largest number of air-conditioning control parameters from each air-conditioning parameter combination;

[0071] S320: If the number of the pre-screened air-conditioning parameter combinations is 1, determine the pre-screened air-conditioning parameter combination as the target air-conditioning parameter combination;

[0072] S330: If the number of the preliminarily screened air-conditioning parameter combinations is greater than 1, target air-conditioning parameter combinations are screened from the preliminarily screened air-conditioning parameter combinations according to the air-conditioning unit types corresponding to the air-conditioning control parameters in the preliminarily screened air-conditioning parameter combinations.

[0073] Among them, after determining the air-conditioning parameter combination whose total data volume is not greater than the storage space volume, calculate the number of air-conditioning control parameters in each air-conditioning parameter combination, and determine the air-conditioning parameter combination with the largest number of air-conditioning control parameters as the preliminary screening air-conditioning parameter combination; at this time, the number of preliminary screening air-conditioning parameter combinations is only 1, that is, there is only 1 preliminary screening air-conditioning parameter combination, and the preliminary screening air-conditioning parameter combination is determined as the target air-conditioning parameter combination; when there are multiple preliminary screening air-conditioning parameter combinations, that is, there are n (n>1) preliminary screening air-conditioning parameter combinations, then the target air-conditioning parameter combination can be screened from the preliminary screening air-conditioning parameter combinations according to the air-conditioning unit type corresponding to the air-conditioning control parameters contained in each preliminary screening air-conditioning parameter combination.

[0074] By giving priority to loading air-conditioning parameter combinations that contain air-conditioning control parameters corresponding to more air-conditioning unit types, the air-conditioner microcontroller can adapt to air conditioners of more air-conditioning unit types, maximize the utilization of the memory space in the air-conditioner microcontroller, and save the hardware cost of the air conditioner; if there are multiple air-conditioning parameter combinations with the same number of air-conditioning control parameters, then based on the air-conditioning unit types corresponding to each air-conditioning control parameter in each preliminary screened air-conditioning parameter combination, the air-conditioning parameter combination containing the air-conditioning unit types specified in the air-conditioning control parameter loading principle is given priority to be loaded to adapt to production needs and improve the adaptability of the air-conditioner microcontroller.

[0075] In one embodiment, Figure 4 As shown, according to the air-conditioning unit type corresponding to each air-conditioning control parameter in each preliminary screening air-conditioning parameter combination, the target air-conditioning parameter combination is screened from the preliminary screening air-conditioning parameter combination, including:

[0076] S410, determining the combination priority of each of the preliminarily screened air conditioning parameter combinations based on the air conditioning unit type corresponding to each of the air conditioning control parameters in each of the preliminarily screened air conditioning parameter combinations;

[0077] S420: Determine the pre-screened air-conditioning parameter combination with the highest combination priority as the target air-conditioning parameter combination.

[0078] Among them, different priorities are set in advance for the air-conditioning unit types corresponding to the air-conditioning control parameters. Specifically, different priorities can be set according to the data volume of the air-conditioning control parameters corresponding to different air-conditioning unit types, or according to the performance of the air-conditioning control parameters corresponding to different air-conditioning unit types. Different priorities can also be set according to other production demand conditions, which are not limited here; for example, air-conditioning unit types include but are not limited to 26-unit unit types, 32-unit unit types, and 35-unit unit types, wherein the data volume of the air-conditioning control parameters corresponding to the 35-unit unit type, the 32-unit unit type, and the 26-unit unit type decreases in sequence, and accordingly, the priorities of the 35-unit unit type, the 32-unit unit type, and the 26-unit unit type decrease in sequence. For another example, the air-conditioning control parameters corresponding to the 35-unit unit type can be adapted to the 35-unit unit, the 32-unit unit and the 26-unit unit; the air-conditioning control parameters corresponding to the 32-unit unit type can be adapted to the 32-unit unit and the 26-unit unit; the air-conditioning control parameters corresponding to the 26-unit unit type can be adapted to the 26-unit unit, that is, the performance of the 35-unit unit type, the 32-unit unit type and the 26-unit unit type decreases in sequence, and accordingly, the priorities of the 35-unit unit type, the 32-unit unit type and the 26-unit unit type decrease in sequence.

[0079] After obtaining multiple preliminary screening air-conditioning parameter combinations, for any preliminary screening air-conditioning parameter combination, analyze the air-conditioning unit type corresponding to the air-conditioning control parameters contained in the preliminary screening air-conditioning parameter combination; then, determine the combination priority of the preliminary screening air-conditioning parameter combination according to the priority level corresponding to the air-conditioning unit type contained in the preliminary screening air-conditioning parameter combination; after obtaining the combination priority of each preliminary screening air-conditioning parameter combination, determine the preliminary screening air-conditioning parameter combination with the largest combination priority as the target air-conditioning parameter combination.

[0080] Specifically, the priority level corresponding to the air-conditioning unit type with the smallest priority level contained in the preliminary screening air-conditioning parameter combination can be determined as the level of the combination priority of the preliminary screening air-conditioning parameter combination; or the priority level corresponding to the air-conditioning unit type with the largest priority level contained in the preliminary screening air-conditioning parameter combination can be determined as the level of the combination priority of the preliminary screening air-conditioning parameter combination, which is not limited here.

[0081] In the case that there are multiple air-conditioning parameter combinations containing the same number of air-conditioning control parameters, the combination priority of each preliminary screening air-conditioning parameter combination is determined based on the air-conditioning unit type corresponding to each air-conditioning control parameter in each preliminary screening air-conditioning parameter combination, so as to load the preliminary screening air-conditioning parameter combination with the largest combination priority. By pre-setting the air-conditioning control parameter loading principle, the air-conditioning control parameter combination can be flexibly loaded into the memory space of the air-conditioner microcontroller, so that the air-conditioner microcontroller adapts to production needs, improves the adaptability of the air-conditioner microcontroller, and realizes the maximum utilization of the air-conditioner microcontroller.

[0082] Furthermore, in one embodiment, the combination priority of each preliminary screening air-conditioning parameter combination is determined based on the air-conditioning unit type corresponding to each air-conditioning control parameter in each preliminary screening air-conditioning parameter combination, including: obtaining the first air-conditioning unit type in each preliminary screening air-conditioning parameter combination; determining the combination priority of each preliminary screening air-conditioning parameter combination according to the first air-conditioning unit type in each preliminary screening air-conditioning parameter combination.

[0083] Among them, the first air-conditioning unit type refers to the air-conditioning unit type with the largest or smallest priority level contained in the initial screening air-conditioning parameter combination.

[0084] After obtaining the air-conditioning unit types corresponding to the air-conditioning control parameters contained in the preliminary screening air-conditioning parameter combination, obtain the priority levels of each air-conditioning unit type, and sort each air-conditioning unit type according to the priority level. For example, they can be sorted from large to small according to the priority level, or they can be sorted from small to large according to the priority level; and then the air-conditioning unit type ranked first is determined as the first air-conditioning unit type, and the priority level corresponding to the first air-conditioning unit type is determined as the combination priority of the preliminary screening air-conditioning parameter combination.

[0085] For example, taking the first air-conditioning unit type as the air-conditioning unit type with the highest priority level contained in the preliminary screening air-conditioning parameter combination as an example, assuming that the priority levels of the 35-unit unit type, the 32-unit unit type, and the 26-unit unit type are the first priority, the second priority, and the third priority respectively, there are two cases of preliminary screening air-conditioning parameter combinations, and the two air-conditioning parameter combinations are: air-conditioning parameter combination A including the air-conditioning control parameters corresponding to the 26-unit unit type and the air-conditioning control parameters corresponding to the 35-unit unit type, and air-conditioning parameter combination B including the air-conditioning control parameters corresponding to the 26-unit unit type and the air-conditioning control parameters corresponding to the 32-unit unit type; for the air-conditioning parameter combination A, its first air-conditioning unit type is the 35-unit unit type, and the corresponding combination priority of the air-conditioning parameter combination A is determined to be the first priority; for the air-conditioning parameter combination B, its first air-conditioning unit type is the 32-unit unit type, and the corresponding combination priority of the air-conditioning parameter combination B is determined to be the second priority.

[0086] Furthermore, considering the situation that the air-conditioning unit types with the highest priority levels in any two or more preliminary screening air-conditioning parameter combinations are the same, the priority level in the preliminary screening air-conditioning parameter combination can also be sorted at the priority level of the air-conditioning unit type with the second highest priority level, and determined as the combination priority of the preliminary screening air-conditioning parameter combination. Therefore, in one embodiment, after obtaining the first air-conditioning unit type in each preliminary screening air-conditioning parameter combination, it also includes: if the first air-conditioning unit type of at least two preliminary screening air-conditioning parameter combinations in the preliminary screening air-conditioning parameter combination is the same, obtaining the second air-conditioning unit type in each preliminary screening air-conditioning parameter combination; and determining the priority of each preliminary screening air-conditioning parameter combination according to the second air-conditioning unit type in each preliminary screening air-conditioning parameter combination.

[0087] The second air conditioner unit type refers to an air conditioner unit type included in the initial screening air conditioner parameter combination and ranked after the first air conditioner unit type in priority level. For example, if the first air conditioner unit type is the air conditioner unit type ranked first in priority level, the second air conditioner unit type is the air conditioner unit type ranked second in priority level; for another example, if the first air conditioner unit type is the air conditioner unit type ranked second in priority level, the second air conditioner unit type is the air conditioner unit type ranked third in priority level.

[0088] After obtaining the air-conditioning unit type corresponding to the air-conditioning control parameters contained in the preliminary screening air-conditioning parameter combination, obtain the priority level of each air-conditioning unit type; if the first air-conditioning unit type of at least two preliminary screening air-conditioning parameter combinations in the preliminary screening air-conditioning parameter combination is the same, obtain the air-conditioning unit type whose priority level is sorted after the first air-conditioning unit type in each preliminary screening air-conditioning parameter combination, that is, the second air-conditioning unit type, and determine the priority level of the second air-conditioning unit type as the combination priority of the preliminary screening air-conditioning parameter combination.

[0089] Continuing with the example that the first air-conditioning unit type is the air-conditioning unit type with the highest priority level contained in the preliminary screening air-conditioning parameter combination, the priority levels of the 35-unit unit type, the 32-unit unit type, and the 26-unit unit type are the first priority, the second priority, and the third priority, respectively. Assuming that there are two cases of preliminary screening air-conditioning parameter combinations, the two air-conditioning parameter combinations are: air-conditioning parameter combination A including the air-conditioning control parameters corresponding to the 26-unit unit type and the air-conditioning control parameters corresponding to the 35-unit unit type, and air-conditioning parameter combination B including the air-conditioning control parameters corresponding to the 32-unit unit type and the air-conditioning control parameters corresponding to the 35-unit unit type; since the first air-conditioning unit types of the air-conditioning parameter combination A and the air-conditioning parameter combination B are the same, for the air-conditioning parameter combination A, its combination priority is determined to be the third priority corresponding to the 26-unit unit type; for the air-conditioning parameter combination B, its combination priority is determined to be the second priority corresponding to the 32-unit unit type.

[0090] The pre-set air-conditioning control parameter loading principle can specifically be to give priority to loading the air-conditioning parameter combination that contains air-conditioning control parameters corresponding to more air-conditioning unit types, that is, to determine the air-conditioning parameter combination with a larger number of air-conditioning control parameters as the target air-conditioning parameter combination; if there are multiple air-conditioning parameter combinations containing the same number of air-conditioning control parameters, then among these air-conditioning parameter combinations, the air-conditioning parameter combination containing the air-conditioning unit type specified by the air-conditioning control parameter loading principle is given priority to loading.

[0091] In addition, in one embodiment, the pre-set air-conditioning control parameter loading principle can also be to prioritize loading air-conditioning parameter combinations that include air-conditioning unit types specified for priority loading (air-conditioning control parameter loading principle). If there are multiple air-conditioning parameter combinations that include air-conditioning control parameters corresponding to air-conditioning unit types specified for priority loading, then among these air-conditioning parameter combinations, the air-conditioning parameter combinations that include air-conditioning control parameters corresponding to more air-conditioning unit types (i.e., air-conditioning parameter combinations with more air-conditioning control parameters) are prioritized for loading.

[0092] For example, there are two types of air-conditioning parameter combinations, namely: air-conditioning parameter combination A that only includes air-conditioning control parameters corresponding to the 26-unit group type, and air-conditioning parameter combination B that only includes air-conditioning control parameters corresponding to the 32-unit group type; assuming that the 32-unit group type is the air-conditioning group type specified for priority loading, that is, the 32-unit group type has the highest priority level, then the air-conditioning parameter combination B includes the air-conditioning group type with a higher priority level, and therefore, the air-conditioning parameter combination B is determined as the target air-conditioning parameter combination.

[0093] For another example, there are three types of air-conditioning parameter combinations, namely: air-conditioning parameter combination A including only air-conditioning control parameters corresponding to the 26-unit group type, air-conditioning parameter combination B including only air-conditioning control parameters corresponding to the 32-unit group type, and air-conditioning parameter combination C including air-conditioning control parameters corresponding to the 26-unit group type and air-conditioning control parameters corresponding to the 32-unit group type; assuming that the 32-unit group type is the designated air-conditioning group type for priority loading, that is, the 32-unit group type has the highest priority level, air-conditioning parameter combination B and air-conditioning parameter combination C both include air-conditioning group types with higher priority levels. At this time, since the number of air-conditioning control parameters in air-conditioning parameter combination C is larger, air-conditioning parameter combination C is determined as the target air-conditioning parameter combination.

[0094] After determining the target air-conditioning parameter combination, the air-conditioning control parameters in the target air-conditioning parameter combination are loaded into the remaining memory space in the air-conditioner microcontroller, which may specifically include: obtaining the air-conditioning unit type identifier of the target air-conditioning parameter combination; reading the target air-conditioning control parameters corresponding to the air-conditioning unit type identifier from the EEPROM chip connected to the air-conditioner microcontroller; and saving the target air-conditioning control parameters to the remaining memory space.

[0095] Among them, the air-conditioning parameter combination can also include different air-conditioning unit type identifiers. After obtaining the target air-conditioning parameter combination, based on the air-conditioning unit type identifier in the target air-conditioning parameter combination, the target air-conditioning control parameters corresponding to the air-conditioning unit type identifier are read from the EEPROM chip connected to the air-conditioner microcontroller, and the target air-conditioning control parameters are loaded into the remaining memory space in the air-conditioner microcontroller.

[0096] In the above-mentioned method for loading air-conditioning control parameters, the storage space amount of the remaining memory space in the air-conditioner microcontroller and the data amount corresponding to the air-conditioning control parameters of different types of air-conditioning units are obtained; based on the data amount corresponding to the air-conditioning control parameters, an air-conditioning parameter combination whose total data amount is not greater than the storage space amount is obtained; and then a target air-conditioning parameter combination is determined from the air-conditioning parameter combination, and the air-conditioning control parameters in the target air-conditioning parameter combination are loaded into the remaining memory space in the air-conditioner microcontroller, so as to realize adaptive loading of the air-conditioning control parameter combination into the memory space in the air-conditioner microcontroller based on the size of the remaining memory space of the air-conditioner microcontroller and the data amount of the air-conditioning control parameters of different types of air-conditioning units, so as to maximize the utilization of the air-conditioner microcontroller and save the hardware cost of the air conditioner.

[0097] The following further describes the method for loading the above air conditioning control parameters in conjunction with specific application scenarios. Specifically:

[0098] 1) Write the air conditioning control parameters of different air conditioning unit types into the EEPROM chip.

[0099] Specifically, a large-capacity EEPROM chip is prepared on each air conditioner single-chip microcomputer production line, and the air conditioning control parameters of the same series and different types of air conditioning units to be produced are pre-burned into the EEPROM chip.

[0100] For example, the same series of models has three air-conditioning unit types, namely, 26-unit unit type, 32-unit unit type, and 35-unit unit type. All air-conditioning control parameters of the three air-conditioning unit types of the above three configurations can be stored in this EEPROM chip; at the same time, the data amount corresponding to the air-conditioning control parameters of each air-conditioning unit type is stored in a preset position of the EEPROM chip; for example, the air-conditioning control parameters corresponding to the 26-unit unit type occupy 1KB of space, the air-conditioning control parameters corresponding to the 32-unit unit type occupy 2KB of space, and the air-conditioning control parameters corresponding to the 35-unit unit type occupy 4KB of space.

[0101] 2) The main program is processed as follows:

[0102] Step 1: During the production of the air conditioner microcontroller, the air conditioner control code is pre-burned into the air conditioner microcontroller, and the EEPROM chip prepared in 1) is connected to the E-side reading port reserved in the air conditioner microcontroller.

[0103] Step 2: During the commodity inspection stage, after the air conditioner microcontroller is powered on, the air conditioner microcontroller runs based on the control code, calculates the amount of storage space of the remaining memory space (i.e., the total storage space of the local FLASH area minus the storage space occupied by the burned control code), and reads the data corresponding to the air conditioning control parameters of different air conditioning unit types stored in the EEPROM chip.

[0104] Step 3: According to the data volume corresponding to the air-conditioning control parameter, obtain an air-conditioning parameter combination whose total data volume is not greater than the storage space volume; the air-conditioning parameter combination includes at least one of the air-conditioning control parameters.

[0105] For example, assuming that the amount of storage space in the remaining memory space is 1 KB, there is only one combination of air conditioning parameters, that is, the combination of air conditioning parameters corresponding to the air conditioning control parameters of the 26-unit group type;

[0106] Assuming that the amount of storage space in the remaining memory space is 3 KB, there are three air conditioning parameter combinations, including: air conditioning parameter combination A including only air conditioning control parameters corresponding to the 26-unit unit type, air conditioning parameter combination B including only air conditioning control parameters corresponding to the 32-unit unit type, and air conditioning parameter combination C including air conditioning control parameters corresponding to both the 26-unit unit type and the 32-unit unit type;

[0107] Assuming that the storage space of the remaining memory space is 5KB, there are 5 types of air-conditioning parameter combinations, including: air-conditioning parameter combination A that only includes air-conditioning control parameters corresponding to the 26-unit group type, air-conditioning parameter combination B that only includes air-conditioning control parameters corresponding to the 32-unit group type, air-conditioning parameter combination C that only includes air-conditioning control parameters corresponding to the 35-unit group type, air-conditioning parameter combination D that includes air-conditioning control parameters corresponding to the 26-unit group type and the 32-unit group type, and air-conditioning parameter combination E that includes air-conditioning control parameters corresponding to the 26-unit group type and the 35-unit group type; and so on, and examples are not given here one by one.

[0108] Step 4: Determine the target air-conditioning parameter combination from the air-conditioning parameter combination, and obtain the air-conditioning unit type identifier of the target air-conditioning parameter combination, and then read the target air-conditioning control parameters corresponding to the air-conditioning unit type identifier from the EEPROM chip, and save the target air-conditioning control parameters to the remaining memory space.

[0109] Determining the target air conditioning parameter combination from the air conditioning parameter combinations may specifically be a pre-set air conditioning control parameter loading principle, and determining the target air conditioning parameter combination from the air conditioning parameter combinations based on the air conditioning control parameter loading principle. For example, the air conditioning control parameter loading principle may be to prioritize loading an air conditioning parameter combination containing air conditioning control parameters corresponding to an air conditioning unit type with a higher priority level, i.e., determining the air conditioning parameter combination containing the air conditioning parameter combination containing the higher priority level as the target air conditioning parameter combination; if multiple air conditioning parameter combinations contain air conditioning control parameters corresponding to an air conditioning unit type with the same priority level, then prioritizing loading the air conditioning parameter combination containing more air conditioning control parameters corresponding to the air conditioning unit type among these air conditioning parameter combinations, i.e., determining the air conditioning parameter combination containing the larger number of air conditioning control parameters as the target air conditioning parameter combination. The air conditioning control parameter loading principle may also specifically be to prioritize loading the air conditioning parameter combination containing more air conditioning control parameters corresponding to the air conditioning unit type, i.e., determining the air conditioning parameter combination containing the larger number of air conditioning control parameters as the target air conditioning parameter combination; if multiple air conditioning parameter combinations contain the same number of air conditioning control parameters, then prioritizing loading the air conditioning parameter combination containing the air conditioning control parameters corresponding to the air conditioning unit type with a higher priority level among these air conditioning parameter combinations, i.e., determining the air conditioning parameter combination containing the higher priority level as the target air conditioning parameter combination. It is understandable that the air conditioning control parameter loading principle can be set according to actual production needs.

[0110] Among the target air-conditioning control parameters read from the EEPROM chip, only valid air-conditioning control parameters are read, and data information of the data volume corresponding to the air-conditioning control parameters is not loaded.

[0111] Furthermore, the air-conditioning unit type identification of the target air-conditioning parameter combination can be displayed on the commodity inspection tooling to remind production personnel that the air-conditioning microcontroller can adapt to the air-conditioning unit type, thereby maximizing the utilization of the FLASH area in the air-conditioning microcontroller, saving device costs, and increasing the adaptability of the air-conditioning microcontroller.

[0112] In order to better implement the method for loading the air conditioning control parameters provided in the embodiment of the present application, on the basis of the method for loading the air conditioning control parameters provided in the embodiment of the present application, an apparatus for loading the air conditioning control parameters is also provided in the embodiment of the present application, such as Figure 5 As shown, the air conditioning control parameter loading device 500 includes:

[0113] The storage information acquisition module 510 is used to obtain the amount of storage space remaining in the memory space of the air conditioner single chip microcomputer and the amount of data corresponding to the air conditioning control parameters of different air conditioning unit types;

[0114] A control parameter determination module 520 is configured to obtain, based on the data volume corresponding to the air conditioning control parameter, an air conditioning parameter combination whose total data volume is not greater than the storage space volume; the air conditioning parameter combination includes at least one air conditioning control parameter;

[0115] The control parameter storage module 530 is used to determine a target air conditioning parameter combination from the air conditioning parameter combinations, and load the air conditioning control parameters in the target air conditioning parameter combination into the remaining memory space in the air conditioner single chip microcomputer.

[0116] In some embodiments of the present application, the control parameter storage module 530 is specifically used to determine the air-conditioning parameter combination as the target air-conditioning parameter combination when the number of air-conditioning parameter combinations is 1; when the number of air-conditioning parameter combinations is greater than 1, filter the target air-conditioning parameter combination from the air-conditioning parameter combinations according to the air-conditioning parameter information corresponding to each air-conditioning parameter combination.

[0117] In some embodiments of the present application, the air-conditioning parameter information includes the number of air-conditioning control parameters and the type of air-conditioning unit corresponding to each air-conditioning control parameter; the control parameter storage module 530 is specifically used to obtain a preliminary screening air-conditioning parameter combination with the largest number of air-conditioning control parameters from each air-conditioning parameter combination; when the number of preliminary screening air-conditioning parameter combinations is 1, the preliminary screening air-conditioning parameter combination is determined as the target air-conditioning parameter combination; when the number of preliminary screening air-conditioning parameter combinations is greater than 1, the target air-conditioning parameter combination is screened from the preliminary screening air-conditioning parameter combination according to the type of air-conditioning unit corresponding to each air-conditioning control parameter in each preliminary screening air-conditioning parameter combination.

[0118] In some embodiments of the present application, the control parameter storage module 530 is specifically used to determine the combination priority of each preliminary screening air-conditioning parameter combination based on the air-conditioning unit type corresponding to each air-conditioning control parameter in each preliminary screening air-conditioning parameter combination; and determine the preliminary screening air-conditioning parameter combination with the largest combination priority as the target air-conditioning parameter combination.

[0119] In some embodiments of the present application, the control parameter storage module 530 is specifically used to obtain the first air-conditioning unit type in each preliminary screening air-conditioning parameter combination; and determine the combination priority of each preliminary screening air-conditioning parameter combination based on the first air-conditioning unit type in each preliminary screening air-conditioning parameter combination.

[0120] In some embodiments of the present application, the control parameter storage module 530 is specifically used to obtain the second air-conditioning unit type in each preliminary screening air-conditioning parameter combination when the first air-conditioning unit type of at least two preliminary screening air-conditioning parameter combinations in the preliminary screening air-conditioning parameter combination is the same; and determine the priority of each preliminary screening air-conditioning parameter combination according to the second air-conditioning unit type in each preliminary screening air-conditioning parameter combination.

[0121] In some embodiments of the present application, the control parameter storage module 530 is specifically used to obtain the air-conditioning unit type identifier of the target air-conditioning parameter combination; read the target air-conditioning control parameters corresponding to the air-conditioning unit type identifier from the EEPROM chip connected to the air-conditioner microcontroller; and save the target air-conditioning control parameters to the remaining memory space.

[0122] The specific definition of the air conditioning control parameter loading device can be found in the definition of the air conditioning control parameter loading method above, and will not be repeated here. The various modules in the above-mentioned air conditioning control parameter loading device can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of the above-mentioned modules.

[0123] In some embodiments of the present application, the air conditioning control parameter loading device 500 can be implemented in the form of a computer program. The computer program can be used in Figure 6 The computer device shown in FIG. 1 is run on the computer device shown in FIG. The memory of the computer device can store various program modules of the loading device 500 constituting the air conditioning control parameter, such as, Figure 5 The computer program composed of the storage information acquisition module 510, the control parameter determination module 520 and the control parameter storage module 530 shown in the figure enables the processor to execute the steps of the air conditioning control parameter loading method of each embodiment of the present application described in this specification.

[0124] For example, the computer device shown in Figure 6 can be Figure 5 The storage information acquisition module 510 in the air conditioning control parameter loading device 500 shown executes step S210. The computer device can execute step S220 through the control parameter determination module 520. The computer device can execute step S230 through the control parameter storage module 530. The computer device includes a processor, a memory, and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external computer device through a network connection. When the computer program is executed by the processor, a method for loading air conditioning control parameters is implemented.

[0125] Those skilled in the art will understand that Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0126] In some embodiments of the present application, a computer device is provided, comprising one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured such that the processor executes the steps of the method for loading air conditioning control parameters. The steps of the method for loading air conditioning control parameters herein may be the steps of the method for loading air conditioning control parameters in each of the above embodiments.

[0127] In some embodiments of the present application, a computer-readable storage medium is provided, storing a computer program. The computer program is loaded by a processor, causing the processor to execute the steps of the method for loading air conditioning control parameters described above. The steps of the method for loading air conditioning control parameters herein may be the steps of the method for loading air conditioning control parameters described in each of the above embodiments.

[0128] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0129] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0130] The above is a detailed introduction to the method, device, computer equipment and storage medium for loading air-conditioning control parameters provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for loading air conditioning control parameters, characterized in that: include: Obtaining the amount of storage space remaining in the air conditioner microcontroller's memory and the amount of data corresponding to air conditioning control parameters of different air conditioning unit types; According to the data amount corresponding to the air conditioning control parameter, obtaining an air conditioning parameter combination with a total data amount not greater than the storage space amount; the air conditioning parameter combination includes at least one of the air conditioning control parameters; Determining a target air-conditioning parameter combination from the air-conditioning parameter combinations, and loading the air-conditioning control parameters in the target air-conditioning parameter combination into the remaining memory space in the air-conditioner single chip microcomputer; Determining a target air-conditioning parameter combination from the air-conditioning parameter combinations includes: If the number of the air-conditioning parameter combinations is 1, determining the air-conditioning parameter combination as a target air-conditioning parameter combination; If the number of the air-conditioning parameter combinations is greater than 1, the target air-conditioning parameter combination is filtered from the air-conditioning parameter combinations according to the air-conditioning parameter information corresponding to each of the air-conditioning parameter combinations; wherein the air-conditioning parameter information includes the number of air-conditioning control parameters and the air-conditioning unit type corresponding to each air-conditioning control parameter, and the number of air-conditioning control parameters includes the number of air-conditioning control parameters corresponding to the air-conditioning unit type included in the air-conditioning parameter combination.

2. The method according to claim 1, characterized in that The step of screening a target air-conditioning parameter combination from the air-conditioning parameter combinations according to the air-conditioning parameter information corresponding to each of the air-conditioning parameter combinations includes: Obtaining a pre-screened air-conditioning parameter combination with the largest number of air-conditioning control parameters from each of the air-conditioning parameter combinations; If the number of the initially screened air-conditioning parameter combinations is 1, determining the initially screened air-conditioning parameter combination as the target air-conditioning parameter combination; If the number of the initially screened air-conditioning parameter combinations is greater than 1, target air-conditioning parameter combinations are screened from the initially screened air-conditioning parameter combinations according to the air-conditioning unit types corresponding to the air-conditioning control parameters in the initially screened air-conditioning parameter combinations.

3. The method according to claim 2, characterized in that The step of screening a target air-conditioning parameter combination from the initially screened air-conditioning parameter combinations according to the air-conditioning unit type corresponding to each air-conditioning control parameter in each of the initially screened air-conditioning parameter combinations comprises: Determining the combination priority of each of the initially screened air-conditioning parameter combinations based on the type of air-conditioning unit corresponding to each air-conditioning control parameter in each of the initially screened air-conditioning parameter combinations; The initially screened air-conditioning parameter combination with the highest combination priority is determined as the target air-conditioning parameter combination.

4. The method according to claim 3, characterized in that The determining the combination priority of each of the preliminarily screened air-conditioning parameter combinations based on the air-conditioning unit type corresponding to each of the air-conditioning control parameters in each of the preliminarily screened air-conditioning parameter combinations comprises: Obtaining the first air conditioning unit type in each of the initially screened air conditioning parameter combinations; The combination priority of each of the initially screened air-conditioning parameter combinations is determined according to the first air-conditioning unit type in each of the initially screened air-conditioning parameter combinations.

5. The method according to claim 4, characterized in that After obtaining the first air conditioning unit type in each of the preliminarily screened air conditioning parameter combinations, the method further includes: If the first air conditioning unit types of at least two of the initially screened air conditioning parameter combinations are the same, obtaining the second air conditioning unit types in each of the initially screened air conditioning parameter combinations; The priority of each of the initially screened air-conditioning parameter combinations is determined according to the second air-conditioning unit type in each of the initially screened air-conditioning parameter combinations.

6. The method according to any one of claims 1 to 5, characterized in that The step of loading the air conditioning control parameters in the target air conditioning parameter combination into the remaining memory space in the air conditioner single chip microcomputer includes: Obtaining an air conditioning unit type identifier of the target air conditioning parameter combination; Reading the target air-conditioning control parameter corresponding to the air-conditioning unit type identifier from an EEPROM chip connected to the air-conditioning single-chip microcomputer; The target air conditioning control parameters are saved in the remaining memory space.

7. A device for loading air conditioning control parameters, characterized in that: The device comprises: A storage information acquisition module is used to obtain the amount of storage space remaining in the air conditioner microcontroller and the amount of data corresponding to the air conditioning control parameters of different air conditioning unit types; a control parameter determination module, configured to obtain, based on the data amount corresponding to the air conditioning control parameter, an air conditioning parameter combination whose total data amount is not greater than the storage space amount; the air conditioning parameter combination including at least one of the air conditioning control parameters; a control parameter storage module, configured to determine a target air conditioning parameter combination from the air conditioning parameter combination, and load the air conditioning control parameters in the target air conditioning parameter combination into the remaining memory space in the air conditioner single chip microcomputer; The control parameter storage module is specifically configured to: if the number of the air-conditioning parameter combinations is 1, determine the air-conditioning parameter combination as a target air-conditioning parameter combination; If the number of the air-conditioning parameter combinations is greater than 1, the target air-conditioning parameter combination is filtered from the air-conditioning parameter combinations according to the air-conditioning parameter information corresponding to each of the air-conditioning parameter combinations; wherein the air-conditioning parameter information includes the number of air-conditioning control parameters and the air-conditioning unit type corresponding to each air-conditioning control parameter, and the number of air-conditioning control parameters includes the number of air-conditioning control parameters corresponding to the air-conditioning unit type included in the air-conditioning parameter combination.

8. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the method for loading air-conditioning control parameters according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the method for loading air-conditioning control parameters according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method, apparatus and system for storing data

    CN109254733A