Air conditioner and control method and apparatus therefor, and storage medium
By obtaining and localizing the control parameters of the second device of the air conditioner, the problem of inefficient adaptation of new models of equipment in the prior art is solved, and an adaptive adaptation method is realized, and the adaptation efficiency is improved.
Patent Information
- Application Number
- PCT/CN2024/125459
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-30
- Filing Date
- 2024-10-17
- Publication Date
- 2025-05-08
AI Technical Summary
In the existing air conditioner technology, when adapting to newly developed internal and external models, the stored parameters need to be updated, and this process requires the intervention of users or professionals, resulting in inefficient adaptation.
By obtaining the model code of the second device, the corresponding control parameters are found in the local parameter library. If it does not exist, a parameter acquisition instruction is sent to the second device, and the control parameters are received and localized to realize an adaptive adaptation method.
No need for operational intervention from users or professionals, improves adaptation efficiency and achieves rapid adaptation of air conditioners to new models of equipment.
Smart Images

Figure CN2024125459_08052025_PF_FP_ABST
Abstract
Description
Air conditioner and control method, device and storage medium thereof
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202311426534.6 and application date October 30, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present application relates to the technical field of air conditioners, and in particular to an air conditioner and a control method, device and storage medium thereof. Background Art
[0004] In the air conditioning industry, pairing indoor and outdoor units is typically accomplished through preset parameters. For example, when pairing an outdoor unit with an indoor unit, factory experience and experimentation are used to determine the parameters required for pairing the outdoor unit with the indoor unit. These parameters are then written into the memory chips of both the outdoor and indoor units. These parameters are specific to each model, so when a specific outdoor unit model is paired with multiple indoor units, multiple sets of parameters are typically stored. The same principle applies to pairing an indoor unit with an outdoor unit, so this will not be discussed further.
[0005] In related technologies, only known internal or external unit parameters can be preset. When pairing with newly developed products, the stored parameters of the old product need to be updated to adapt to the new product. Updating the parameters requires disassembling the machine and rewriting the storage chip with a burner, or upgrading through remote control, wired control, OTA, etc.
[0006] However, any of the above methods requires the intervention of users or even professionals, so the adaptation efficiency is low.
[0007] Summary of the Invention
[0008] In view of this, the embodiments of the present application provide an air conditioner and a control method, device and storage medium thereof, aiming to solve the technical problem of low adaptation efficiency in related technologies.
[0009] In a first aspect, an embodiment of the present application provides a method for controlling an air conditioner, which is applied to a first device, and the method includes:
[0010] Obtain the model code of the second device;
[0011] Searching for the model code in a local parameter library, and if it is determined that the control parameter corresponding to the model code does not exist, sending a first parameter acquisition instruction to the second device;
[0012] receiving a first control parameter sent by the second device;
[0013] The first control parameter is a parameter used by the first device to control the operation of the second device; the first device is an indoor unit and the second device is an outdoor unit, or the first device is an outdoor unit and the second device is an indoor unit.
[0014] In the above solution, after receiving the first control parameter sent by the second device, the method further includes:
[0015] Parameter localization is performed on the first control parameter to obtain a localized first control parameter; wherein the format of the localized first control parameter can be recognized and read by the first device.
[0016] In the above solution, after localizing the first control parameter to obtain the localized first control parameter, the method further includes:
[0017] Get the first running instruction;
[0018] In response to the first operating instruction, the second device is controlled to operate according to the localized first control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
[0019] In the above solution, if it is determined that the control parameter corresponding to the model code exists, the method further includes:
[0020] Sending a second parameter acquisition instruction to the second device;
[0021] Receive a second control parameter sent by the second device; wherein the second control parameter is the latest control parameter after the second device is updated.
[0022] In the above solution, before sending the second parameter acquisition instruction to the second device, the method further includes:
[0023] Sending an information acquisition instruction to the second device;
[0024] Receiving a first file verification code sent by the second device; wherein the first file verification code is a file verification code of the latest control parameter of the second device;
[0025] If it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and the step of sending a second parameter acquisition instruction to the second device is executed; wherein, the second file verification code is the file verification code of the control parameters of the second device stored in the local parameter library.
[0026] In the above solution, after receiving the second control parameter sent by the second device, the method further includes:
[0027] Obtain a second operation instruction;
[0028] In response to the second operating instruction, the second device is controlled to operate according to the second control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
[0029] In the above solution, the method further includes:
[0030] Based on the second control parameter, the control parameter of the second device and the second file verification code in the local parameter library are updated.
[0031] In a second aspect, an embodiment of the present application further provides a control device for an air conditioner, applied to a first device, the device comprising:
[0032] A code acquisition module configured to acquire a model code of the second device;
[0033] an instruction sending module configured to search for the model code in a local parameter library, and if it is determined that the control parameter corresponding to the model code does not exist, send a parameter acquisition instruction to the second device;
[0034] a parameter acquisition module, configured to receive a first control parameter sent by the second device;
[0035] The first control parameter is a parameter used by the first device to control the operation of the second device; the first device is an indoor unit and the second device is an outdoor unit, or the first device is an outdoor unit and the second device is an indoor unit.
[0036] In a third aspect, an embodiment of the present application further provides an air conditioner comprising a first device and a second device; the first device comprises: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is configured to execute the steps of the method described in the first aspect when running the computer program.
[0037] In a fourth aspect, an embodiment of the present application further provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0038] The present application provides an air conditioner and its control method, device and storage medium, which obtains the model code of the second device; searches for the model code in the local parameter library, and if it is determined that the control parameter corresponding to the model code does not exist, sends a first parameter acquisition instruction to the second device; receives the first control parameter sent by the second device; wherein the first control parameter is the parameter used by the first device to control the operation of the second device; the first device is an indoor unit and the second device is an outdoor unit, or the first device is an outdoor unit and the second device is an indoor unit. When the first device updates the control parameter of the second device, it can actively communicate to obtain it from the other party if it is not stored in the local parameter library. This is an adaptive adaptation method that does not require the intervention of users or even professionals in related technologies, so the adaptation efficiency is relatively high. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] FIG1 is a schematic diagram of a flow chart of a method for controlling an air conditioner according to an embodiment of the present application;
[0040] FIG2 is a schematic flow chart of a method for controlling an air conditioner according to another embodiment of the present application;
[0041] FIG3 is a flow chart of a method for controlling an air conditioner according to another embodiment of the present application;
[0042] FIG4 is a schematic diagram of a storage structure of a first device in an embodiment of the present application;
[0043] FIG5 is a flow chart of a method for controlling an air conditioner according to a specific embodiment of the present application;
[0044] FIG6 is a schematic structural diagram of a control device for an air conditioner according to an embodiment of the present application;
[0045] FIG7 is a schematic structural diagram of the first device in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The present application will be described in further detail below with reference to the accompanying drawings and embodiments.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.
[0048] In order to clearly understand the technical solution of this application, the solution of the related technology is first introduced in detail.
[0049] In the related art, the external unit can only preset the control parameters of the known internal unit, and the internal unit can only preset the control parameters of the known external unit. Taking the external unit as an example, when pairing with a newly developed internal unit product, it is usually necessary to update the control parameters of the internal unit stored in the external unit to adapt to the new internal unit product. When updating the control parameters of the internal unit stored in the external unit, it is usually necessary to disassemble the unit, rewrite the storage chip with a burner, or upgrade through remote control, wired control, OTA, etc. The same applies to updating the stored control parameters of the external unit in the internal unit, so it will not be elaborated. However, any of the above methods requires the intervention of users or even professionals, so the adaptation efficiency is low.
[0050] When faced with the technical problems of related technologies, the inventors discovered through creative research that the indoor unit or outdoor unit can be set as the first device, and for any second device currently communicating with the first device, if the control parameters of the second device are not found in the local parameter library of the first device, a first parameter acquisition instruction is sent to the second device to obtain the first control parameters sent by the second device. The first control parameter is the parameter that the first device can use to control the operation of the second device. It can be seen that when the first device updates the control parameters of the second device, it can actively communicate to obtain them from the other party if the local parameter library does not store them. This is an adaptive adaptation method that does not require the intervention of users or even professionals in related technologies, so the adaptation efficiency is relatively high.
[0051] FIG1 is a control method for an air conditioner provided in one embodiment of the present application. The control method for an air conditioner provided in this embodiment may be executed by a first device of the air conditioner. The control method for an air conditioner provided in this embodiment includes the following steps:
[0052] Step 101: Obtain the model code of the second device.
[0053] The model code is the model code of the second device and is unique. Each second device has a unique corresponding model code.
[0054] A mapping relationship is pre-stored in the local parameter library of the first device. This mapping relationship stores the correspondence between the model code and control parameters of the legacy second device. Here, the legacy second device can be understood as a second device that has previously undergone parameter adaptation with the first device. The second device in step 101 is the second device currently in communication with the first device.
[0055] The triggering timing for the step of obtaining the model code of the second device may be any time point after starting the air conditioner and before the first device controls the operation of the second device. The first device actively obtains the model code of the second device, or the second device actively sends its own model code to the first device after powering on. The embodiments of the present application do not limit this.
[0056] Step 102: Search the local parameter library for the model code. If it is determined that the control parameter corresponding to the model code does not exist, send a first parameter acquisition instruction to the second device.
[0057] The control parameter is a parameter used by the first device to control the operation of the second device.
[0058] Specifically, after the model code of the second device is currently obtained, it can be searched in the local parameter library according to the model code of the second device and the aforementioned mapping relationship. If it is determined that the model code of the second device can be found in the local parameter library, it is determined that the control parameters corresponding to the model code exist; if it is determined that the model code of the second device cannot be found in the local parameter library, it is determined that the control parameters corresponding to the model code do not exist.
[0059] When it is determined that there are control parameters corresponding to the model code of the second device, the control parameters can be used directly for subsequent device control operations, or the availability of the control parameters can be judged again. If it is determined that the control parameters are unavailable, the latest control parameters can be obtained from the second device.
[0060] If it is determined that there is no control parameter corresponding to the model code of the second device, a first parameter acquisition instruction may be sent to the second device. In response to the first parameter acquisition instruction, the second device may send the first control parameter to the first device.
[0061] Step 103: Receive a first control parameter sent by the second device.
[0062] The first control parameter is a parameter used by the first device to control the operation of the second device.
[0063] For example, the first device is an indoor unit, and the first control parameter may be a frequency range of a compressor in the outdoor unit. Only after knowing the frequency range of the outdoor unit's compressor can the indoor unit operate the outdoor unit's compressor within the frequency range to ensure normal operation of the outdoor unit's compressor.
[0064] After receiving the first control parameter sent by the second device, the model code of the current second device and the first control parameter are stored in a mapping relationship in the local parameter library.
[0065] In this application, the model code of the second device is obtained; the model code is searched in the local parameter library, and if it is determined that the control parameter corresponding to the model code does not exist, a first parameter acquisition instruction is sent to the second device; the first control parameter sent by the second device is received; wherein, the first control parameter is the parameter used by the first device to control the operation of the second device; the first device is an indoor unit and the second device is an outdoor unit, or the first device is an outdoor unit and the second device is an indoor unit. It can be seen that when the first device updates the control parameters of the second device, it can actively communicate to obtain them from the other party if there is no local storage. This is an adaptive adaptation method that does not require the intervention of users or even professionals in related technologies, so the adaptation efficiency is relatively high.
[0066] Taking the first device as the indoor unit and the second device as the outdoor unit as an example, the process of the indoor unit obtaining the control parameters of the outdoor unit is: the indoor unit obtains the model code of the outdoor unit; searches for the model code of the outdoor unit in the local parameter library of the indoor unit. If it is determined that the control parameters corresponding to the model code do not exist, a first parameter acquisition instruction is sent to the outdoor unit; and the first control parameters sent by the outdoor unit are received.
[0067] When the first device is an outdoor unit and the second device is an indoor unit, the method for obtaining the first control parameter when the outdoor unit is the executing entity is the same as when the indoor unit is the executing entity. Specifically, the method involves: obtaining the model code of the first device; searching the local parameter library for the model code; if the control parameter corresponding to the model code does not exist, sending a third parameter acquisition instruction to the first device; and receiving the third control parameter sent by the first device. The third control parameter is the parameter used by the second device to control the operation of the first device. Here, the local parameter library refers to the parameter library of the second device.
[0068] In one embodiment, as shown in FIG2 , the control method of the air conditioner provided in this embodiment includes the following steps:
[0069] Step 101: Obtain the model code of the second device.
[0070] Step 102: Search the local parameter library for the model code. If it is determined that the control parameter corresponding to the model code does not exist, send a first parameter acquisition instruction to the second device.
[0071] Step 103: Receive a first control parameter sent by the second device.
[0072] Step 104: localize the first control parameter to obtain a localized first control parameter.
[0073] Among them, the purpose of parameter localization is to enable the first device to recognize and utilize the first control parameter after receiving it. Therefore, after the first control parameter is localized, the format of the localized first control parameter obtained can be recognized and read by the first device. The process of parameter localization depends on the storage format of the first control parameter. For example, for parameters that are directly arranged by address in binary format, they can be directly stored in the local adaptive parameter area after acquisition. This method has a fast access speed. For first control parameters stored in the form of key-value pairs, the first device updates the first control parameters in the form of each key-value pair to the local parameter library one by one. The present invention does not limit the storage method of the first control parameter. Some possible methods are listed here for the convenience of explanation.
[0074] In this embodiment, after receiving the first control parameter sent by the second device, the first control parameter is further localized to obtain a localized first control parameter; wherein the format of the localized first control parameter can be recognized and read by the first device. Because the first device performs parameter localization on the received first control parameter, the localized first control parameter obtained after the processing can be recognized and read by the first device, facilitating the first device to perform corresponding control based on the localized first control parameter.
[0075] In one embodiment, as shown in FIG3 , the control method of the air conditioner provided in this embodiment includes the following steps:
[0076] Step 101: Obtain the model code of the second device.
[0077] Step 102: Search the local parameter library for the model code. If it is determined that the control parameter corresponding to the model code does not exist, send a first parameter acquisition instruction to the second device.
[0078] Step 103: Receive a first control parameter sent by the second device.
[0079] Step 104: localize the first control parameter to obtain a localized first control parameter.
[0080] Step 105: Obtain a first operation instruction.
[0081] The purpose of the first device actively communicating to obtain the first control parameter is to subsequently control the operation of the second device accordingly based on the first control parameter. The control operation starts when the first device receives a first operation instruction. The first operation instruction can be generated by a user pressing a button on a remote control, or sent by a user terminal to the air conditioner via Bluetooth, near-field communication, or other means. This embodiment of the application does not specifically limit this.
[0082] The first operation instruction is generated after the air conditioner is started, which is the triggering time point for the first device to control the operation of the second device.
[0083] Step 106 : In response to the first operating instruction, control the second device to operate according to the localized first control parameter, so that the second device performs heat exchange with an outdoor or indoor space through a refrigerant.
[0084] Specifically, the first device controls the operation of the second device according to the localized first control parameter in response to the first operation instruction. The operation of the second device means that the second device exchanges heat with the indoor or outdoor space through the refrigerant. As mentioned above, if the first device is an outdoor unit, the operation of the second device means that the second device exchanges heat with the indoor space through the refrigerant. If the first device is an indoor unit, the operation of the second device means that the second device exchanges heat with the outdoor space through the refrigerant. Heat exchange refers to the transfer of heat from one object to another. For example, if the second device exchanges heat with the outdoor space through the refrigerant, it means that the second device transfers heat from the outdoor space to the indoor space through the refrigerant.
[0085] Taking the operating frequency of the compressor of the outdoor unit controlled by the indoor unit as an example, the first device is the indoor unit, the second device is the outdoor unit, the localized first control parameter is 1~70Hz, and the first device responds to the first operating instruction to control the compressor of the second device to operate in the frequency range of 1~70Hz.
[0086] In this embodiment, a first operating instruction is obtained; in response to the first operating instruction, the second device is controlled to operate according to the localized first control parameters, so that the second device exchanges heat with the outdoor or indoor space via the refrigerant. During application, after receiving the first operating instruction, the first device controls the second device to operate according to the localized first control parameters, thereby enabling normal operation of the second device to perform heat exchange.
[0087] In one embodiment, as shown in FIG3 , the control method of the air conditioner provided in this embodiment includes the following steps:
[0088] a. Get the first running instruction.
[0089] b. Obtain the model code of the second device.
[0090] c. Searching for the model code in a local parameter library, and if it is determined that the control parameter corresponding to the model code does not exist, sending a first parameter acquisition instruction to the second device.
[0091] d. Receive the first control parameter sent by the second device.
[0092] e. If it is determined that the first control parameter is received, in response to the first operation instruction, control the operation of the second device according to the localized first control parameter, so that the second device exchanges heat with the outdoor or indoor space through the refrigerant.
[0093] This embodiment differs from the previous embodiment in that the model code of the second device can be obtained after receiving the first operation instruction and before responding to the first operation instruction by first receiving the first control parameter.
[0094] In one embodiment, if it is determined that the control parameter corresponding to the model code exists, the method further includes the following steps:
[0095] a. Send a second parameter acquisition instruction to the second device.
[0096] When it is determined that the control parameters corresponding to the model code of the second device exist in the local parameter library of the first device, the first device can send a second parameter acquisition instruction to the second device, and the second device sends the second control parameters to the first device in response to the second parameter acquisition instruction.
[0097] b. Receive a second control parameter sent by the second device.
[0098] The second control parameter is the latest control parameter after the second device is updated. If the second device is updated, the second control parameter is different from the corresponding control parameter stored in the local parameter library of the first device. If the second device is not updated, the second control parameter is the same as the corresponding control parameter stored in the local parameter library of the first device.
[0099] In one embodiment, upon determining that the control parameters corresponding to the model code exist in the local parameter library, the first device may send a second parameter acquisition instruction to the second device, regardless of whether the second device has been updated, to obtain the latest control parameters in the second device, i.e., the second control parameters. In one embodiment, the first device may also first determine whether the second device has been updated, and upon determining that the second device has been updated, send a second parameter acquisition instruction to the second device to obtain the latest control parameters in the second device.
[0100] In this embodiment, a second parameter acquisition instruction is sent to the second device, and a second control parameter is received from the second device. The second control parameter is the latest control parameter after the second device is updated. By sending the second parameter acquisition instruction to the second device, the latest control parameter can be obtained from the second device. The first device can then ensure normal control of the second device based on the latest control parameter.
[0101] In one embodiment, if it is determined that a control parameter corresponding to the model code exists, the method further includes:
[0102] a. Send an information acquisition instruction to the second device.
[0103] b. Receive the first file verification code sent by the second device.
[0104] The first file verification code is the file verification code of the latest control parameter of the second device. The file verification code is unique. Each control parameter carries a unique file verification code. If the control parameter is modified, the file verification code will change accordingly.
[0105] c. If it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and a second parameter acquisition instruction is sent to the second device.
[0106] The second file verification code is a file verification code of the control parameters of the second device stored in the local parameter library of the first device.
[0107] If the first file verification code differs from the second file verification code, it indicates that the second device has been updated and the control parameters for the second device stored in the first device's local parameter library have become invalid. If the control parameters have become invalid, the first device will initiate a request to the second device to obtain the latest control parameters. If the control parameters have not become invalid, the first device will not initiate a request to the second device and will control the second device based on the stored control parameters.
[0108] d. Receive a second control parameter sent by the second device.
[0109] The second control parameter is the latest control parameter after the second device is updated.
[0110] In this embodiment, an information acquisition instruction is sent to the second device; a first file verification code is received from the second device; wherein the first file verification code is the file verification code of the latest control parameters of the second device; if it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and the step of sending a second parameter acquisition instruction to the second device is executed; wherein the second file verification code is the file verification code of the control parameters of the second device stored in the local parameter library. By verifying the first file verification code and the second file verification code, it can be determined whether the second device has been updated. If an update has occurred, an instruction is sent to the second device to obtain the latest control parameters of the second device. Compared with the method of obtaining the latest control parameters of the second device regardless of whether the second device has been updated, this embodiment can reduce data redundancy of the control parameters.
[0111] In one embodiment, after receiving the second control parameter sent by the second device, the method further includes:
[0112] a. Get the second operation instruction.
[0113] There is no essential difference between the second operating instruction and the first operating instruction, and the names are different only for the convenience of distinction.
[0114] b. In response to the second operation instruction, controlling the operation of the second device according to the second control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
[0115] In this embodiment, after receiving the second control parameter, the first device obtains the second operation instruction and can control the operation of the second device according to the second control parameter.
[0116] In one embodiment, after receiving the second control parameter sent by the second device, the method further includes:
[0117] a. Perform parameter localization on the second control parameter to obtain a localized second control parameter.
[0118] The format of the localized second control parameter can be recognized and read by the first device.
[0119] b. Obtain the second operation instruction.
[0120] The second operation instruction may be generated by a user's remote control button operation, or sent by the user terminal to the air conditioner via Bluetooth, near field communication, etc., without specific limitation.
[0121] The second operation instruction is generated after the air conditioner is started, which is the triggering time point for the first device to control the operation of the second device.
[0122] c. In response to the second operation instruction, controlling the operation of the second device according to the localized second control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
[0123] Here, the operation of the second device is controlled according to the localized second control parameters. For the process method, reference may be made to the relevant limitations according to the localized first control parameters.
[0124] In this embodiment, during the application process, after receiving the second operation instruction, the first device controls the operation of the second device according to the localized second control parameters, so that the second device can be normally controlled to perform hot exchange.
[0125] In one embodiment, the air conditioner control method provided in this embodiment includes the following steps:
[0126] a. Obtain the model code of the second device.
[0127] b. Searching for the model code in a local parameter library, and if it is determined that the control parameter corresponding to the model code exists, sending an information acquisition instruction to the second device.
[0128] c. Receive the first file verification code sent by the second device.
[0129] The first file verification code is the file verification code of the latest control parameter of the second device
[0130] d. If it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and a second parameter acquisition instruction is sent to the second device.
[0131] The second file verification code is a file verification code of the control parameters of the second device stored in the local parameter library.
[0132] e. Receive a second control parameter sent by the second device.
[0133] The second control parameter is the latest control parameter of the second device after being updated.
[0134] f. Perform parameter localization on the second control parameter to obtain a localized second control parameter.
[0135] g. Get the second operation instruction.
[0136] h. In response to the second operating instruction, control the operation of the second device according to the localized second control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
[0137] In this embodiment, the process of first obtaining the model code of the second device and then obtaining the localized second control parameters is performed. When the localized second control parameters are generated, when the first operating instruction is subsequently obtained, the operation of the second device is controlled according to the localized second control parameters in response to the first operating instruction.
[0138] In one embodiment, the air conditioner control method provided in this embodiment includes the following steps:
[0139] a. Get the second operation instruction.
[0140] b. Obtain the model code of the second device.
[0141] c. Searching for the model code in a local parameter library, and if it is determined that the control parameter corresponding to the model code exists, sending an information acquisition instruction to the second device.
[0142] d. Receive the first file verification code sent by the second device.
[0143] The first file verification code is the file verification code of the latest control parameter of the second device
[0144] e. If it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and a second parameter acquisition instruction is sent to the second device.
[0145] The second file verification code is a file verification code of the control parameters of the second device stored in the local parameter library.
[0146] f. Receive a second control parameter sent by the second device.
[0147] The second control parameter is the latest control parameter of the second device after being updated.
[0148] g. Perform parameter localization on the second control parameter to obtain a localized second control parameter.
[0149] h. In response to the second operating instruction, control the operation of the second device according to the localized second control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
[0150] In this embodiment, the second operating instruction is first obtained, and then the model code of the second device is obtained to obtain the localized second control parameters. Only when the localized second control parameters are generated, the second operating instruction is responded to and the operation of the second device is controlled according to the localized second control parameters.
[0151] In one embodiment, the air conditioner control method further includes: updating the control parameters of the second device and the second file verification code in the local parameter library based on the second control parameters.
[0152] That is, when the latest control parameters are obtained, the first device updates the data in the local parameter library. In addition, the corresponding control parameters previously stored in the local parameter library can be deleted to reduce data redundancy.
[0153] In this embodiment, by updating the control parameters of the second device and the second file verification code in the local parameter library based on the second control parameter, the first device does not need to obtain them from the second device each time it is used subsequently.
[0154] In each of the above embodiments, as shown in FIG4 , the storage area of the first device may include: a local parameter library, a first adaptive parameter library, and a second adaptive parameter library. The local parameter library, the first adaptive parameter library, and the second adaptive parameter library are communicatively connected to the processor of the first device. The local parameter library stores a mapping relationship that stores a preset model code of the second device and the corresponding control parameters. The first adaptive parameter library stores control parameters obtained from the second device via communication, such as the first control parameter and the second control parameter. The second adaptive parameter library stores control parameters for the other party to obtain from the first device via communication, such as the aforementioned third control parameter.
[0155] The methods described in the above embodiments are for a one-to-one air conditioner setup, but can also be applied to a one-to-multiple setup. In this scenario, the outdoor unit, acting as the network master, polls all connected indoor units on the network to obtain corresponding control parameters from each unit. The control parameters from the outdoor unit can be sent to each indoor unit using a broadcast notification.
[0156] The present application will be described in further detail below in conjunction with application examples.
[0157] In a specific embodiment, as shown in FIG5 , the control method of the air conditioner specifically includes:
[0158] When the second device is connected to the first device, step 201 is executed to obtain the model code of the second device. After the first device obtains the model code of the second device, step 202 is first executed to search the local parameter library for the model code. If the model code is determined to exist, it is determined that the second device is not connected for the first time. If the model code is determined not to exist, it is determined that the second device is connected for the first time. Accordingly, the second device connected for the first time does not have corresponding control parameters in the local parameter library of the first device.
[0159] For a second device connected for the first time, the local parameter library of the first device does not contain control parameters corresponding to its model code. In this case, step 203 is executed, and the first device sends a first parameter acquisition instruction to the second device. In response to the first parameter acquisition instruction, the second device sends a first control parameter to the first device. The first device then executes step 204 to receive the first control parameter sent by the second device. The first control parameter is the parameter used by the first device to control the operation of the second device.
[0160] For a second device that is not connected for the first time, the first device can directly use the control parameters of the second device stored in the local parameter library as the parameters for controlling the operation of the second device. Furthermore, consider that the control parameters of the second device may have been updated, and the control parameters of the second device stored in the local parameter library of the first device have not been synchronized and updated in a timely manner. In this case, after executing step 202 to determine that the control parameters corresponding to the model code exist in the local parameter library, the first device can also execute step 205 to determine whether the second device has been updated. If it is determined that the second device has been updated, the first device executes step 206 to send a second parameter acquisition instruction to the second device. The second device sends the second control parameters to the first device in response to the second parameter acquisition instruction. The first device then executes step 207 to receive the second control parameters sent by the second device. The second control parameters are the latest control parameters in the second device used by the first device to control the operation of the second device. After receiving the second control parameters, if the first device obtains the second operation instruction, it will respond to the second operation instruction and control the operation of the second device according to the second control parameters, so that the second device exchanges heat with the outdoor or indoor space through the refrigerant.
[0161] It should be noted that when the first device is an indoor unit, the second device is an outdoor unit. When the first device is an outdoor unit, the second device is an indoor unit. Furthermore, the first device and the second device are located in the same air conditioner.
[0162] It is understandable that the second device can also obtain the model code of the first device and execute a method similar to that of the first device, thereby updating the control parameters of the first device on the second device side, thereby achieving adaptive adaptation control.
[0163] In this application embodiment, when the first device updates the control parameters of the second device, it can actively communicate to obtain them from the other party if they are not stored in the local parameter library. This is an adaptive adaptation method that does not require the intervention of users or even professionals in related technologies. Therefore, the adaptation efficiency is relatively high.
[0164] In order to implement the method of the embodiment of the present application, as shown in Figure 6, the embodiment of the present application also provides a control device for an air conditioner, and the control device 400 of the air conditioner corresponds to the control method of the above-mentioned air conditioner and is applied to the first device. The various steps in the embodiment of the control method of the above-mentioned air conditioner are also fully applicable to the embodiment of the control device 400 of the air conditioner.
[0165] The device 400 includes: a code acquisition module 401, an instruction sending module 402 and a parameter acquisition module 403;
[0166] A code acquisition module 401 is configured to acquire a model code of a second device;
[0167] The instruction sending module 402 is configured to search for the model code in the local parameter library, and if it is determined that the control parameter corresponding to the model code does not exist, send a parameter acquisition instruction to the second device;
[0168] The parameter acquisition module 403 is configured to receive a first control parameter sent by the second device; wherein the first control parameter is a parameter used by the first device to control the operation of the second device; the first device is an indoor unit, the second device is an outdoor unit, or the first device is an outdoor unit, and the second device is an indoor unit.
[0169] In one embodiment, the control device 400 of the air conditioner also includes a parameter processing module 404, which is specifically configured to: after receiving the first control parameter sent by the second device, localize the first control parameter to obtain a localized first control parameter; wherein the format of the localized first control parameter can be recognized and read by the first device.
[0170] In one embodiment, the control device 400 of the air conditioner also includes an equipment operation module 405, which is specifically configured as follows: after localizing the first control parameter and obtaining the localized first control parameter, obtaining a first operation instruction; in response to the first operation instruction, controlling the operation of the second device according to the localized first control parameter, so that the second device exchanges heat with the outdoor or indoor space through the refrigerant.
[0171] In one embodiment, the parameter acquisition module 403 is further configured to: if it is determined that there are control parameters corresponding to the model code, send a second parameter acquisition instruction to the second device; receive the second control parameter sent by the second device; wherein the second control parameter is the latest control parameter after the second device is updated.
[0172] In one embodiment, the parameter acquisition module 403 is further configured to: before sending the second parameter acquisition instruction to the second device, send an information acquisition instruction to the second device; receive a first file verification code sent by the second device; wherein the first file verification code is the file verification code of the latest control parameters of the second device; if it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and the step of sending a second parameter acquisition instruction to the second device is executed; wherein the second file verification code is the file verification code of the control parameters of the second device stored in the local parameter library.
[0173] In one embodiment, the device operation module 405 is further configured to: obtain a second operation instruction after receiving the second control parameter sent by the second device; and control the operation of the second device according to the second control parameter in response to the second operation instruction, so that the second device exchanges heat with the outdoor or indoor space through the refrigerant.
[0174] In one embodiment, the air conditioner control device 400 further includes a parameter updating module 406 , which is specifically configured to update the control parameters of the second device and the second file verification code in the local parameter library based on the second control parameters.
[0175] In actual application, the code acquisition module 401, the instruction sending module 402, the parameter acquisition module 403, the parameter processing module 404, the device operation module 405, and the parameter updating module 406 can be implemented by a processor in the air conditioner control device. Of course, the processor needs to run the computer program in the memory to realize its functions.
[0176] It should be noted that the air conditioner control device provided in the above embodiment, when performing food information management, is illustrated only by the division of the aforementioned program modules. In actual applications, the aforementioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the aforementioned processing. In addition, the air conditioner control device provided in the above embodiment and the air conditioner control method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0177] Based on the hardware implementation of the above program modules and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a first device. Figure 7 only shows an exemplary structure of the first device rather than the entire structure. Part or all of the structure shown in Figure 7 can be implemented as needed.
[0178] As shown in FIG7 , the first device 500 provided in an embodiment of the present application includes: at least one processor 501, a memory 502, a user interface 503, and at least one network interface 504. The various components in the first device 500 are coupled together via a bus system 505. It will be appreciated that the bus system 505 is used to implement connections and communications between these components. In addition to including a data bus, the bus system 505 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in FIG7 , each bus is labeled as the bus system 505.
[0179] The user interface 503 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0180] The memory 502 in the embodiment of the present application is used to store various types of data to support the operation of the first device. Examples of such data include: any computer program used to operate on the first device.
[0181] The follow-up prescription coordination disclosed in the embodiments of the present application can be applied to the processor 501 or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. During the implementation process, the various steps of the follow-up prescription coordination can be completed by the hardware integrated logic circuit or software instructions in the processor 501. The above-mentioned processor 501 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 501 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 502. The processor 501 reads the information in the memory 502 and completes the steps of the follow-up prescription coordination provided in the embodiments of the present application in combination with its hardware.
[0182] In an exemplary embodiment, the first device can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0183] It is understood that the memory 502 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk or a magnetic tape. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0184] It should be noted that the terms "first" and "second" are used to distinguish similar objects and do not necessarily describe a specific order or precedence. Furthermore, the second device can also serve as an execution entity to obtain control parameters from the first device. The structure of the second device is the same as that of the first device shown in Figure 7.
[0185] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
[0186] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for controlling an air conditioner, applied to a first device, the method comprising: Obtain the model code of the second device; Searching for the model code in a local parameter library, and if it is determined that there is no control parameter corresponding to the model code, sending a first parameter acquisition instruction to the second device; receiving a first control parameter sent by the second device; The first control parameter is a parameter used by the first device to control the operation of the second device; the first device is an indoor unit and the second device is an outdoor unit, or the first device is an outdoor unit and the second device is an indoor unit.
2. The method according to claim 1, wherein: After receiving the first control parameter sent by the second device, the method further includes: The first control parameter is localized to obtain a localized first control parameter; wherein the format of the localized first control parameter can be recognized and read by the first device.
3. The method according to claim 2, wherein: After localizing the first control parameter to obtain the localized first control parameter, the method further includes: Obtaining a first operation instruction; In response to the first operation instruction, the second device is controlled to operate according to the localized first control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
4. The method according to claim 1, wherein: If it is determined that there is a control parameter corresponding to the model code, the method further includes: Sending a second parameter acquisition instruction to the second device; Receive a second control parameter sent by the second device; wherein the second control parameter is the latest control parameter after the second device is updated.
5. The method according to claim 4, wherein: Before sending the second parameter acquisition instruction to the second device, the method further includes: Sending an information acquisition instruction to the second device; Receive a first file verification code sent by the second device; wherein the first file verification code is a file verification code of the latest control parameter of the second device; If it is determined that the first file verification code and the second file verification code are different, it is determined that the second device has been updated, and the step of sending a second parameter acquisition instruction to the second device is executed; wherein the second file verification code is the file verification code of the control parameters of the second device stored in the local parameter library.
6. The method according to claim 4 or 5, wherein: After receiving the second control parameter sent by the second device, the method further includes: Obtain a second operation instruction; In response to the second operation instruction, the second device is controlled to operate according to the second control parameter, so that the second device exchanges heat with an outdoor or indoor space through a refrigerant.
7. The method according to claim 5, wherein: The method further comprises: Based on the second control parameter, the control parameter of the second device and the second file verification code in the local parameter library are updated.
8. A control device for an air conditioner, applied to a first device, the device comprising: A code acquisition module, used to acquire a model code of a second device; an instruction sending module, configured to search for the model code in a local parameter library, and if it is determined that no control parameter corresponding to the model code exists, send a parameter acquisition instruction to the second device; A parameter acquisition module, configured to receive a first control parameter sent by the second device; The first control parameter is a parameter used by the first device to control the operation of the second device; the first device is an indoor unit and the second device is an outdoor unit, or the first device is an outdoor unit and the second device is an indoor unit.
9. An air conditioner, comprising a first device and a second device; the first device comprising: A processor and a memory for storing a computer program that can be executed on the processor, wherein: The processor is used to execute the steps of the method according to any one of claims 1 to 7 when running a computer program.
10. A computer storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Air conditioning system and parameter updating method thereof
CN105465913A
Method for automatically matching operation parameters of outdoor unit and newly-installed indoor unit
CN112944566A
Configuration method and device of indoor unit controller parameter and medium
CN113418270A
Operation control method of outdoor unit, operation control method of indoor unit and air conditioner
CN114857738A
Control parameter processing method and device and storage medium
CN115143590A