Data upgrading method and device of air conditioner, air conditioner and readable storage medium
By obtaining the air conditioner model identification identifier and sending it to the server to receive the target data packet, the problem of air conditioner data upgrade is solved, and the correspondence between internal and external machine programs and the cost of data upgrade is reduced.
Patent Information
- Application Number
- CN202311445710.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2025-05-06
AI Technical Summary
It is difficult to effectively upgrade the data of air conditioners in the prior art, especially when user needs change, function upgrades and fault repairs, how to better upgrade air conditioners data has become an urgent problem.
By obtaining the model identification identifier of the air conditioner, the identification is sent to the server based on the determination of the internal unit and the external unit to receive the corresponding target data packet, and the air conditioner data is upgraded based on the data packet.
This method ensures the correspondence between internal and external computer programs during data upgrade, reduces the cost of data upgrade, and improves the flexibility and accuracy of data upgrade.
Smart Images

Figure CN119938083A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of air conditioners, and in particular to a data upgrade method and device for an air conditioner, an air conditioner, and a readable storage medium. Background Art
[0002] With the development of air conditioners and the increasing application of Internet of Things technology, the functions of air conditioners are becoming more and more diversified. It is also increasingly common to upgrade the data of air conditioners due to changes in user needs, function upgrades of air conditioners, and fault repairs, such as upgrading the firmware of air conditioners. Therefore, how to better upgrade the data of air conditioners is a technical problem that needs to be solved urgently. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a data upgrade method and device for an air conditioner, an air conditioner and a readable storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for upgrading data of an air conditioner is provided, comprising:
[0005] Obtaining a model identification of the air conditioner, wherein the model identification is determined according to an indoor unit and an outdoor unit of the air conditioner;
[0006] Sending the model identification to a server, and receiving a target data packet corresponding to the model identification from the server;
[0007] The data of the air conditioner is updated based on the target data packet.
[0008] Optionally, obtaining the model identification of the air conditioner includes:
[0009] Acquire a first identification mark corresponding to the indoor unit, and acquire a second identification mark corresponding to the outdoor unit;
[0010] The first identification mark and the second identification mark are combined to obtain a model identification mark of the air conditioner.
[0011] Optionally, combining the first identification mark and the second identification mark to obtain the model identification mark of the air conditioner includes:
[0012] When it is determined that the indoor unit and the outdoor unit are powered on, the indoor unit is instructed to receive the second identification identifier from the outdoor unit, and the second identification identifier of the outdoor unit and the first identification identifier of the indoor unit are combined to obtain a model identification identifier of the air conditioner.
[0013] Optionally, the first identification mark is used to indicate the chip platform of the indoor unit and the project platform of the indoor unit, and the second identification mark is used to indicate the chip platform of the outdoor unit and the control parameters of the air conditioner.
[0014] Optionally, the receiving, from the server, a target data packet corresponding to the model identification identifier includes:
[0015] When receiving an OTA upgrade instruction sent by the electronic device, downloading a firmware package corresponding to the model identification from the server according to the OTA upgrade instruction;
[0016] The step of upgrading the data of the air conditioner based on the target data packet includes:
[0017] The firmware package is used to upgrade the firmware of the air conditioner.
[0018] Optionally, the firmware package includes an indoor unit upgrade package and / or an outdoor unit upgrade package, and the upgrading of the firmware of the air conditioner by using the firmware package includes:
[0019] The internal unit is OTA-upgraded using the internal unit upgrade package, and / or the external unit is OTA-upgraded using the external unit upgrade package.
[0020] Optionally, the method further comprises:
[0021] When it is detected that the control chip of the indoor unit and / or the control chip of the outdoor unit is changed, the model identification of the air conditioner is reacquired based on the indoor unit and / or the outdoor unit after the control chip is replaced.
[0022] According to a second aspect of an embodiment of the present disclosure, there is provided a data upgrade device for an air conditioner, comprising:
[0023] An acquisition module is configured to acquire a model identification mark of the air conditioner, wherein the model identification mark is determined according to an indoor unit and an outdoor unit of the air conditioner;
[0024] A receiving module, configured to send the model identification to a server, and receive a target data packet corresponding to the model identification from the server;
[0025] An upgrading module is configured to upgrade the data of the air conditioner based on the target data packet.
[0026] According to a third aspect of an embodiment of the present disclosure, there is provided an air conditioner, comprising:
[0027] processor;
[0028] a memory for storing processor-executable instructions;
[0029] Wherein, the processor is configured to:
[0030] Obtaining a model identification of the air conditioner, wherein the model identification is determined according to an indoor unit and an outdoor unit of the air conditioner;
[0031] Sending the model identification to a server, and receiving a target data packet corresponding to the model identification from the server;
[0032] The data of the air conditioner is updated based on the target data packet.
[0033] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the air conditioner data upgrade method provided by the first aspect of the present disclosure are implemented.
[0034] The disclosed embodiment can obtain the model identification of the air conditioner, and the model identification is determined according to the indoor and outdoor units of the air conditioner. On this basis, the model identification is sent to the server, and a target data packet corresponding to the model identification is received from the server, and then the data of the air conditioner is upgraded based on the target data packet. Since the acquisition of the model identification is combined with the determination of the indoor and outdoor units, the acquisition of the target data packet based on the model identification can ensure that the programs of the indoor and outdoor units correspond when the data is upgraded, thereby reducing the cost of data upgrade.
[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0037] Figure 1 The present invention is a flowchart showing a method for updating data of an air conditioner according to an exemplary embodiment.
[0038] Figure 2 The figure is a flow chart showing another method for updating data of an air conditioner according to an exemplary embodiment.
[0039] Figure 3 The figure is an example diagram of a model identification mark in another method for upgrading data of an air conditioner according to an exemplary embodiment.
[0040] Figure 4 The diagram is an example diagram of interaction among various devices in another method for upgrading data of an air conditioner according to an exemplary embodiment.
[0041] Figure 5 The invention is a block diagram showing a data upgrading device for an air conditioner according to an exemplary embodiment.
[0042] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment.
[0043] Figure 7 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0045] In the description of the present disclosure, the terms used, such as "first", "second", etc., are used to distinguish similar objects and do not have to be understood as a specific order or sequence. In addition, in the description with reference to the accompanying drawings, the same symbols in different drawings represent the same elements unless otherwise stated.
[0046] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.
[0047] Some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
[0048] WiFi module, also known as serial port WiFi module or WiFi module, belongs to the transmission layer of the Internet of Things. Its function is to convert the serial port or TTL level into an embedded module that meets the WiFi wireless network communication standard. Traditional hardware devices embedded with WiFi modules can directly use WiFi to connect to the Internet. It is an important part of realizing wireless smart home, machine-to-machine (M2M) and other IoT applications.
[0049] OTA (Over The Air) is a technology that remotely manages mobile terminal devices and SIM card data through the air interface of mobile communications. OTA is a data value-added service (referred to as OTA service) based on the short message mechanism, which dynamically downloads, deletes and updates the service menu in the SIM card through the mobile terminal or server (online), so that users can obtain personalized information services. It is a technology that remotely manages SIM card data and applications through the air interface of mobile communications. The application of OTA technology can provide new service downloads, and application and content service providers can continuously develop more personalized services that are closer to user needs without being limited by the platform. Through OTA air download technology, users can download various service menus provided by the network to the device according to their personal preferences using the OTA mechanism with simple operations, and can also customize specific services according to their own wishes.
[0050] EE parameters, which can be control parameters of the air conditioner, include general parameters and key parameters, wherein general parameters can be parameters that can be flexibly set according to user needs, such as power-off memory parameters, function setting parameters or cold wind protection parameters, etc.; key parameters are usually the air conditioner's own attribute parameters, which are unique and cannot be changed, such as model parameters, motor parameters or unit type parameters.
[0051] In some embodiments, after the model identification (model number) of the air conditioner is obtained, it can be sent to the server (background). The server can determine the current model configuration by identifying different model identifications (model numbers). Optionally, when performing an OTA upgrade, the server can also push the upgraded air conditioner program according to the program package hanging under the corresponding model identification (model number). However, the current program corresponds to a fixed model identification (model number) and a fixed internal and external unit configuration, which is not conducive to production and after-sales management.
[0052] In addition, the model identification (model number) of the air conditioner will be reported to the WiFi module by the indoor unit every time the air conditioner is powered on. The WiFi module can upload the model identification (model number) to the server. When performing an OTA upgrade of the air conditioner program, the server can send the corresponding firmware package of the indoor and outdoor units of the air conditioner to the air conditioner equipment. At this time, if the control chip of the indoor and outdoor units is replaced, the corresponding program packages will also be different, which will result in the inability of indoor and outdoor controllers of different models to be used interchangeably. The main reason is that the model reported by the indoor unit is fixed. If mixed, the indoor or outdoor program of the air conditioner will not correspond during the OTA upgrade.
[0053] Figure 1 is a flow chart of a method for upgrading data of an air conditioner according to an exemplary embodiment. Figure 1As shown, the method may include the following steps.
[0054] In step S110, the model identification of the air conditioner is obtained.
[0055] In the disclosed embodiment, the model identification of the air conditioner may be the model number of the air conditioner, and the model identification may be determined based on the indoor unit and outdoor unit of the air conditioner. Specifically, the indoor unit of the air conditioner may include an indoor unit control chip, and the outdoor unit of the air conditioner may include an outdoor unit control chip, and the model identification of the air conditioner may be determined based on the indoor unit control chip and the outdoor unit control chip. Exemplarily, the model identification of the air conditioner may be determined based on the identification of the indoor unit control chip and the identification of the outdoor unit control chip.
[0056] As an optional method, when the embodiment of the present disclosure detects that the control chip of the indoor unit and / or the control chip of the outdoor unit has changed, the model identification of the air conditioner is re-obtained based on the indoor unit and / or the outdoor unit after the control chip is replaced.
[0057] Specifically, when a change is detected in the control chip of the outdoor unit, the embodiment of the present disclosure can re-acquire the model identification of the air conditioner based on the outdoor unit after the control chip is replaced, that is, the model identification of the air conditioner can be obtained comprehensively based on the outdoor unit after the control chip is replaced and the indoor unit without replacing the control chip.
[0058] For example, the identification mark of the outdoor unit before replacing the control chip is h00, the identification mark of the outdoor unit after replacing the control chip is h01, and the control chip of the indoor unit has not been changed to r08. Then the model identification mark of the air conditioner obtained based on the outdoor unit after replacing the control chip and the indoor unit without replacing the control chip can be r08h00.
[0059] Optionally, when a change in the control chip of the indoor unit is detected, the embodiment of the present disclosure can re-acquire the model identification of the air conditioner based on the indoor unit after the control chip is replaced, that is, the model identification of the air conditioner is obtained based on the indoor unit after the control chip is replaced and the outdoor unit without replacing the control chip.
[0060] For example, the identification mark of the indoor unit before replacing the control chip is r08, the identification mark of the indoor unit after replacing the control chip is r09, and the control chip of the outdoor unit has not been changed to h00. Then the model identification mark of the air conditioner obtained based on the indoor unit after replacing the control chip and the outdoor unit without replacing the control chip can be r09h00.
[0061] Optionally, when it is detected that both the control chip of the indoor unit and the control chip of the outdoor unit have changed, the embodiment of the present disclosure can re-obtain the model identification of the air conditioner based on the indoor unit and the outdoor unit after the control chip is replaced, that is, the model identification of the air conditioner can be comprehensively obtained based on the indoor unit after the control chip is replaced and the outdoor unit after the control chip is replaced.
[0062] For example, the identification mark of the indoor unit before replacing the control chip is r08, the identification mark of the indoor unit after replacing the control chip is r09, the identification mark of the outdoor unit before replacing the control chip is h00, and the identification mark of the outdoor unit after replacing the control chip is h01. Then the model identification mark of the air conditioner obtained based on the indoor unit after replacing the control chip and the outdoor unit after replacing the control chip can be r09h01.
[0063] In step S120, the model identification identifier is sent to the server, and a target data packet corresponding to the model identification identifier is received from the server.
[0064] As an optional method, after obtaining the model identification of the air conditioner, the embodiment of the present disclosure can send the model identification to the server to instruct the server to obtain the target data packet corresponding to the model identification. On this basis, the air conditioner can receive the target data packet corresponding to the model identification sent by the server.
[0065] As another optional method, after detecting that the indoor and outdoor units of the air conditioner are powered on, the embodiment of the present disclosure can obtain the model identification of the air conditioner, and can send the model identification to the server to instruct the server to obtain the target data packet corresponding to the model identification.
[0066] In step S130, the data of the air conditioner is updated based on the target data packet.
[0067] In some embodiments, after receiving the target data packet from the server, the air conditioner can upgrade the data of the air conditioner based on the target data packet. Exemplarily, the air conditioner can upgrade the indoor unit data and / or outdoor unit data of the air conditioner based on the target data packet.
[0068] The disclosed embodiment can obtain the model identification of the air conditioner, and the model identification is determined according to the indoor and outdoor units of the air conditioner. On this basis, the model identification is sent to the server, and a target data packet corresponding to the model identification is received from the server, and then the data of the air conditioner is upgraded based on the target data packet. Since the acquisition of the model identification is combined with the determination of the indoor and outdoor units, the acquisition of the target data packet based on the model identification can ensure that the programs of the indoor and outdoor units correspond when the data is upgraded, thereby reducing the cost of data upgrade.
[0069] Figure 2 is a flow chart showing another method for upgrading data of an air conditioner according to an exemplary embodiment. Figure 2 As shown, the method may include the following steps.
[0070] In step S210, a first identification mark corresponding to the indoor unit is obtained, and a second identification mark corresponding to the outdoor unit is obtained.
[0071] In the disclosed embodiment, the first identification mark corresponding to the indoor unit can be used to indicate the chip platform of the indoor unit and the project platform of the indoor unit. Optionally, the second identification mark corresponding to the outdoor unit can be used to indicate the chip platform of the outdoor unit and the control parameters of the air conditioner.
[0072] As a specific implementation, the number of digits of the first identification mark corresponding to the indoor unit may be greater than or equal to 3. Optionally, the number of digits of the second identification mark corresponding to the outdoor unit may be greater than or equal to 3.
[0073] As an example, the number of digits of the first identification mark corresponding to the indoor unit is 3 digits, such as Figure 3 The first identification mark can be represented by Figure 3 The internal machine combination 1, internal machine combination 2 and internal machine combination 3 are shown. Among them, the internal machine combination 1 (the first digit of the first identification mark) can be represented by 36 characters from 0 to 9 and a to z. The internal machine combination 1 is used to represent the chip platform of the internal machine. Different manufacturers and chip models correspond to different characters; the internal machine combination 2 (the second digit of the first identification mark) and the internal machine combination 3 (the third digit of the first identification mark) can also be represented by 36 characters from 0 to 9 and a to z respectively. The combination of the internal machine combination 2 and the internal machine combination 3 represents the project platform of the internal machine. Among them, the internal machine combination 2 and the internal machine combination 3 can be combined into different internal machine project platforms, that is, the internal machine combination 2 and the internal machine combination 3 can be used to represent 1296 projects.
[0074] For example, the internal machine combination 1 may be "chip 1: r", "chip 2: h", and "chip 3: s", etc.; the internal machine combination 2 and the internal machine combination 3 may be "project 1: 01", "project 2: 02", "project 3: 03", "project 4: 04", and "project 5: 05", etc. For example, the first identification corresponding to the internal machine may be r09, h02, and s03, etc.
[0075] In addition, the number of digits of the second identification mark corresponding to the external unit is 3 digits, such as Figure 3 The second identification mark can be Figure 3The outdoor unit combination 1, outdoor unit combination 2 and outdoor unit combination 3 are shown. The outdoor unit combination 1 (the first digit of the second identification mark) is used to represent the chip platform of the outdoor unit, and different manufacturers and chip models correspond to different characters; the outdoor unit combination 2 (the second digit of the second identification mark) and the outdoor unit combination 3 (the third digit of the second identification mark) can also be represented by 36 characters from 0 to 9 and a to z. Here, the combination of the outdoor unit combination 2 and the outdoor unit combination 3 represents the control parameters of the air conditioner. In other words, the outdoor unit combination 2 and the outdoor unit combination 3 can not only represent the outdoor unit platform and different chip platforms, but also expand multiple sets of EE parameters, where different EE parameters can correspond to different system configurations.
[0076] For example, external unit combination 1 may be "chip 1: r", "chip 2: h", and "chip 3: s", etc.; external unit combination 2 and external unit combination 3 may be "chip (1-6 sets of parameters): 00", "chip (7-12 sets of parameters): 01", and "chip (13-18 sets of parameters): 02", etc. For example, the second identification corresponding to the external unit may be r00, h00, and s00, etc.
[0077] In addition, through Figure 3 It is known that the model identification mark of the air conditioner can not only include the first identification mark (indoor unit combination 1, indoor unit combination 2, indoor unit combination 3) and the second identification mark (outdoor unit combination 1, outdoor unit combination 2, outdoor unit combination 3), but it can also include a model number prefix, by which different model identification marks can be distinguished.
[0078] In step S220, the first identification mark and the second identification mark are combined to obtain the model identification mark of the air conditioner.
[0079] In the embodiment of the present disclosure, the first identification identifier and the second identification identifier can be any combination of numbers and letters. After obtaining the first identification identifier and the second identification identifier, the embodiment of the present disclosure can combine the first identification identifier and the second identification identifier to obtain the model identification identifier of the air conditioner. Specifically, in the process of combining the first identification identifier and the second identification identifier, the first identification identifier can be placed in the leading position, and the second identification identifier can be placed in the trailing position. For example, the first identification identifier is r09, and the second identification identifier is h00. After combining the first identification identifier and the second identification identifier, the obtained model identification identifier can be r09h00.
[0080] Optionally, in the process of combining the first identification identifier and the second identification identifier, the second identification identifier may be placed in the front position, and the first identification identifier may be placed in the back position. For example, the first identification identifier is r09, and the second identification identifier is h00. After combining the first identification identifier and the second identification identifier, the obtained model identification identifier may be h00r09.
[0081] Optionally, the first identification identifier and the second identification identifier may be combined alternately during the process of combining the first identification identifier and the second identification identifier. For example, the first digit of the model identification identifier may be the first digit of the first identification identifier, the second digit of the model identification identifier may be the first digit of the second identification identifier, the third and fourth digits of the model identification identifier may be the second and third digits of the first identification identifier, and the fifth digit of the model identification identifier may be the second and third digits of the second identification identifier. How to combine the first identification identifier and the second identification identifier is not explicitly defined here and can be selected according to actual conditions.
[0082] As an optional method, the embodiment of the present disclosure can instruct the indoor unit to receive a second identification identifier from the outdoor unit when it is determined that the indoor unit and the outdoor unit are powered on, and combine the second identification identifier of the outdoor unit with the first identification identifier of the indoor unit to obtain the model identification identifier of the air conditioner.
[0083] Specifically, after determining that the indoor and outdoor units of the air conditioner are powered on, the outdoor unit can send its second identification (such as a 3-digit model number) to the indoor unit through the communication module. On this basis, the indoor unit can combine its first identification (such as a 3-digit model number) with the second identification according to the dynamic model rule to obtain the model identification of the air conditioner. Afterwards, the indoor unit can report the combined model identification to the WiFi module, so that the dynamically obtained indoor unit identification can be sent to the server (backend) through the WiFi module.
[0084] It can be seen that the model identification mark of the air conditioner in the embodiment of the present disclosure is a dynamic model, which can change according to the changes of the indoor unit and / or outdoor unit, that is, when the control chip of the indoor unit and / or outdoor unit changes, the model identification mark can also be dynamically adjusted. Therefore, the embodiment of the present disclosure can use different indoor and outdoor unit controllers interchangeably, which can greatly reduce the production, transportation and after-sales management costs.
[0085] Through the above introduction, it is known that when it is detected that the control chip of the indoor unit and / or the control chip of the outdoor unit has changed, the embodiment of the present disclosure can re-acquire the model identification of the air conditioner based on the indoor unit and / or the outdoor unit after the control chip is replaced, that is, when the indoor unit controller or the outdoor unit controller is replaced, the new model number is recombined and reported according to the dynamic model rule. Optionally, when it is detected that the control chip of the indoor unit and the control chip of the outdoor unit have not changed, the embodiment of the present disclosure can directly obtain the historical model identification and send the model identification to the server.
[0086] In step S230, the model identification identifier is sent to the server, and a target data packet corresponding to the model identification identifier is received from the server.
[0087] As an optional method, after obtaining the model identification of the air conditioner, the embodiment of the present disclosure can send the model identification to the server to instruct the server to obtain the target data packet corresponding to the model identification. On this basis, the air conditioner can receive the target data packet corresponding to the model identification sent from the server.
[0088] Specifically, the embodiment of the present disclosure can download a firmware package corresponding to the model identification identifier from a server according to the OTA upgrade instruction when an OTA upgrade instruction is received from an electronic device, and then use the firmware package to upgrade the firmware of the air conditioner.
[0089] In order to better illustrate the process of firmware upgrade, the present disclosure provides the following examples: Figure 4 The interaction diagram shown in Figure 4 It is known that the electronic device can send an OTA upgrade instruction to the air conditioner, so that the air conditioner can send the OTA upgrade instruction to the server, and the electronic device can also directly send the OTA upgrade instruction to the server. After receiving the OTA upgrade instruction, the server can obtain a target data packet corresponding to the model identification identifier and send the data packet to the air conditioner.
[0090] On this basis, the air conditioner can upgrade the data of the air conditioner based on the target data packet. Here, upgrading the data of the air conditioner can be upgrading the firmware of the air conditioner, that is, upgrading the indoor data and / or outdoor data of the air conditioner, so that the identification and matching of OTA upgrades of indoor and outdoor units of different models can be achieved.
[0091] It should be noted that the model identification in the embodiment of the present disclosure can be sent to the server together with the OTA upgrade instruction, or the model identification can be sent to the server first, and then the OTA upgrade instruction is sent to the server. There is no clear restriction on which one is sent first and which one is sent later, and it can be selected according to the actual situation.
[0092] It should be noted that the OTA upgrade instruction in the embodiment of the present disclosure can be triggered by the user clicking a specified control on an electronic device, where the electronic device can be a mobile phone, an air conditioner remote control, a watch, a tablet, etc. In addition, the OTA upgrade instruction can be triggered by clicking, or by voice, gesture, etc.
[0093] As another optional method, when receiving a user information acquisition instruction, the embodiment of the present disclosure can also acquire user information corresponding to the model identification identifier according to the user information acquisition instruction, and can receive the user information from the server, where the user information can be used as a target data packet. On this basis, the existing user information of the air conditioner is updated based on the user information.
[0094] As another optional method, when receiving a configuration upgrade instruction, the embodiment of the present disclosure can also obtain configuration information corresponding to the model identification according to the configuration upgrade instruction, and can receive the configuration information from the server, where the configuration information can be used as a target data packet. On this basis, the configuration information of the air conditioner is upgraded based on the configuration information.
[0095] In the disclosed embodiment, the program packages on the server (backend) can be configured according to different machine type identification identifiers (model numbers), and the internal and external machine programs can be merged and reported. By adding a dynamic model function, different internal and external machine controllers can be used interchangeably, which can greatly reduce the production, transportation and after-sales management costs.
[0096] In step S240, the data of the air conditioner is updated based on the target data packet.
[0097] In the disclosed embodiment, the firmware package corresponding to the model identification identifier sent by the server may include an internal unit upgrade package and / or an external unit upgrade package. The disclosed embodiment can use the internal unit upgrade package to perform OTA upgrade on the internal unit, and / or use the external unit upgrade package to perform OTA upgrade on the external unit.
[0098] Specifically, when it is determined that the firmware package includes an internal machine upgrade package, the embodiment of the present disclosure can perform an OTA upgrade on the internal machine based on the internal machine upgrade package, that is, use the internal machine upgrade package to upgrade the data of the internal machine. Optionally, when it is determined that the firmware package includes an external machine upgrade package, the embodiment of the present disclosure can perform an OTA upgrade on the external machine based on the external machine upgrade package, that is, use the external machine upgrade package to upgrade the data of the external machine.
[0099] Optionally, when it is determined that the firmware package includes an internal unit upgrade package and an external unit upgrade package, the disclosed embodiment can perform OTA upgrade on the internal unit based on the internal unit upgrade package, and perform OTA upgrade on the external unit based on the external unit upgrade package, that is, use the internal unit upgrade package to upgrade the data of the internal unit, and use the external unit upgrade package to upgrade the data of the external unit.
[0100] In summary, the embodiment of the present disclosure identifies its own chip solution and model through the indoor and outdoor units, so that the indoor and outdoor units can be combined into a model identification identifier (model number) and dynamically reported. Different indoor and outdoor unit configurations can report different model identification identifiers (model numbers). The server (backend) can obtain the firmware program of the corresponding configuration according to the model identification identifier (model number) and send the firmware program to the air conditioner.
[0101] The disclosed embodiment can obtain the model identification of the air conditioner, and the model identification is determined based on the indoor and outdoor units of the air conditioner. On this basis, the model identification is sent to the server, and a target data packet corresponding to the model identification is received from the server, and then the data of the air conditioner is upgraded based on the target data packet. Since the acquisition of the model identification is combined with the determination of the indoor and outdoor units, the acquisition of the target data packet based on the model identification can ensure that the programs of the indoor and outdoor units correspond when the data is upgraded, thereby reducing the cost of data upgrade. In addition, the disclosed embodiment does not increase the cost by dynamically acquiring the model identification of the air conditioner, and has strong versatility and is applicable to the reporting of all air conditioner model numbers, thus ensuring the flexibility and accuracy of data upgrades.
[0102] Figure 5 FIG. 5 is a block diagram of a data upgrade device 500 for an air conditioner according to an exemplary embodiment. Figure 5 The data upgrade device 500 of the air conditioner includes an acquisition module 510, a receiving module 520 and an upgrade module 530.
[0103] The acquisition module 510 is configured to acquire a model identification of the air conditioner, wherein the model identification is determined according to an indoor unit and an outdoor unit of the air conditioner;
[0104] The receiving module 520 is configured to send the model identification to a server, and receive a target data packet corresponding to the model identification from the server;
[0105] The upgrading module 530 is configured to upgrade the data of the air conditioner based on the target data packet.
[0106] In some implementations, the acquisition module 510 may include:
[0107] an identification acquisition submodule, configured to acquire a first identification corresponding to the indoor unit, and to acquire a second identification corresponding to the outdoor unit;
[0108] The combining submodule is configured to combine the first identification mark and the second identification mark to obtain the model identification mark of the air conditioner.
[0109] In some embodiments, the combination submodule is also configured to, when it is determined that the indoor unit and the outdoor unit are powered on, instruct the indoor unit to receive the second identification identifier from the outdoor unit, and combine the second identification identifier of the outdoor unit with the first identification identifier of the indoor unit to obtain a model identification identifier of the air conditioner.
[0110] In some implementations, the first identification mark is used to indicate the chip platform of the indoor unit and the project platform of the indoor unit, and the second identification mark is used to indicate the chip platform of the outdoor unit and the control parameters of the air conditioner.
[0111] In some embodiments, the receiving module 520 may be configured to download a firmware package corresponding to the model identification from the server according to the OTA upgrade instruction when receiving the OTA upgrade instruction sent by the electronic device. The upgrade module 530 may be configured to upgrade the firmware of the air conditioner using the firmware package.
[0112] In some embodiments, the firmware package includes an internal unit upgrade package and / or an external unit upgrade package, and the upgrade module 530 can also be configured to use the internal unit upgrade package to perform OTA upgrade on the internal unit, and / or use the external unit upgrade package to perform OTA upgrade on the external unit.
[0113] In some embodiments, the acquisition module 510 can also be configured to re-acquire the model identification of the air conditioner based on the indoor unit and / or the outdoor unit after replacing the control chip when a change is detected in the control chip of the indoor unit and / or the control chip of the outdoor unit.
[0114] The disclosed embodiment can obtain the model identification of the air conditioner, and the model identification is determined according to the indoor and outdoor units of the air conditioner. On this basis, the model identification is sent to the server, and a target data packet corresponding to the model identification is received from the server, and then the data of the air conditioner is upgraded based on the target data packet. Since the acquisition of the model identification is combined with the determination of the indoor and outdoor units, the acquisition of the target data packet based on the model identification can ensure that the programs of the indoor and outdoor units correspond when the data is upgraded, thereby reducing the cost of data upgrade.
[0115] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0116] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the steps of the air conditioner data upgrade method provided by the present disclosure.
[0117] The present disclosure also provides an air conditioner, comprising:
[0118] processor;
[0119] a memory for storing processor-executable instructions;
[0120] Wherein, the processor is configured to:
[0121] Obtaining a model identification of the air conditioner, wherein the model identification is determined according to an indoor unit and an outdoor unit of the air conditioner;
[0122] Sending the model identification to a server, and receiving a target data packet corresponding to the model identification from the server;
[0123] The data of the air conditioner is updated based on the target data packet.
[0124] Figure 6 1 is a block diagram of an electronic device 800 for a data upgrade method for an air conditioner according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0125] Reference Figure 6 , the electronic device 800 may include one or more of the following components: a first processing component 802 , a first memory 804 , a first power component 806 , a multimedia component 808 , an audio component 810 , a first input / output interface 812 , a sensor component 814 , and a communication component 816 .
[0126] The first processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to complete all or part of the steps of the data upgrade method of the air conditioner described above. In addition, the first processing component 802 may include one or more modules to facilitate the interaction between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the first processing component 802.
[0127] The first memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The first memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0128] The first power supply component 806 provides power to various components of the electronic device 800. The power supply component 806 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0129] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0130] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0131] The first input / output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0132] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0133] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0134] In an exemplary embodiment, the electronic device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the data upgrade method for the above-mentioned air conditioner.
[0135] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 804 including instructions, and the instructions can be executed by a first processor 820 of an electronic device 800 to complete the data upgrade method of the air conditioner. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0136] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned air conditioner data upgrade method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, such as the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the first memory, and when the executable instruction is executed by the processor, the above-mentioned air conditioner data upgrade method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned air conditioner data upgrade method.
[0137] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned data upgrade method for the air conditioner when executed by the programmable device.
[0138] Figure 7 FIG. 1 is a block diagram of a server 1900 for a data upgrade method for an air conditioner according to an exemplary embodiment. Figure 7 The server 1900 includes a second processing component 1922, which further includes one or more processors, and a memory resource represented by a second memory 1932, for storing instructions executable by the second processing component 1922, such as an application. The application stored in the second memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the second processing component 1922 is configured to execute instructions to perform the data upgrade method of the air conditioner.
[0139] The server 1900 may further include a second power supply component 1926 configured to perform power management of the server 1900, a wired or wireless network interface 1950 configured to connect the server 1900 to the network, and a second input / output interface 1958. The server 1900 may operate based on an operating system stored in the second memory 1932, such as Windows Server 1900. TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or similar.
[0140] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0141] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A data upgrade method for an air conditioner, characterized in that: include: Obtaining a model identification of the air conditioner, wherein the model identification is determined according to an indoor unit and an outdoor unit of the air conditioner; Sending the model identification to a server, and receiving a target data packet corresponding to the model identification from the server; The data of the air conditioner is updated based on the target data packet.
2. The method according to claim 1, characterized in that Obtaining the model identification of the air conditioner, including: Acquire a first identification mark corresponding to the indoor unit, and acquire a second identification mark corresponding to the outdoor unit; The first identification mark and the second identification mark are combined to obtain the model identification mark of the air conditioner.
3. The method according to claim 2, characterized in that The combining the first identification mark and the second identification mark to obtain the model identification mark of the air conditioner includes: When it is determined that the indoor unit and the outdoor unit are powered on, the indoor unit is instructed to receive the second identification identifier from the outdoor unit, and the second identification identifier of the outdoor unit and the first identification identifier of the indoor unit are combined to obtain a model identification identifier of the air conditioner.
4. The method according to claim 2, characterized in that: The first identification mark is used to indicate the chip platform of the indoor unit and the project platform of the indoor unit, and the second identification mark is used to indicate the chip platform of the outdoor unit and the control parameters of the air conditioner.
5. The method according to claim 1, characterized in that The receiving, from the server, a target data packet corresponding to the model identification identifier, comprises: When receiving an OTA upgrade instruction sent by the electronic device, downloading a firmware package corresponding to the model identification from the server according to the OTA upgrade instruction; The step of upgrading the data of the air conditioner based on the target data packet includes: The firmware of the air conditioner is upgraded using the firmware package.
6. The method according to claim 5, characterized in that The firmware package includes an indoor unit upgrade package and / or an outdoor unit upgrade package, and the firmware package is used to upgrade the firmware of the air conditioner, including: The internal unit is OTA-upgraded using the internal unit upgrade package, and / or the external unit is OTA-upgraded using the external unit upgrade package.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When it is detected that the control chip of the indoor unit and / or the control chip of the outdoor unit is changed, the model identification of the air conditioner is reacquired based on the indoor unit and / or the outdoor unit after the control chip is replaced.
8. A data upgrade device for an air conditioner, characterized in that: include: An acquisition module is configured to acquire a model identification mark of the air conditioner, wherein the model identification mark is determined according to an indoor unit and an outdoor unit of the air conditioner; A receiving module, configured to send the model identification to a server, and receive a target data packet corresponding to the model identification from the server; An upgrading module is configured to upgrade the data of the air conditioner based on the target data packet.
9. An air conditioner, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: Obtaining a model identification of the air conditioner, wherein the model identification is determined according to an indoor unit and an outdoor unit of the air conditioner; Sending the model identification to a server, and receiving a target data packet corresponding to the model identification from the server; The data of the air conditioner is updated based on the target data packet.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Dynamic model code generation method, dynamic model code upgrading method, air conditioner and storage medium
CN117249571A
Method for generating dynamic machine type communication code, method for upgrading, air conditioner and storage medium
CN117249571B