Data upgrading method and device of air conditioner, air conditioner and readable storage medium
By obtaining the model identification mark and model information of the air conditioner, selecting the target upgrade package for data upgrade, solving the problem of high cost of air conditioner data upgrade and inconsistent procedures in the existing technology, and achieving efficient and low-cost data upgrades.
Patent Information
- Application Number
- CN202311456981.6
- 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
The existing air conditioner data upgrade methods have problems such as high cost and inconsistent internal and external unit procedures, resulting in low data upgrade efficiency and high cost.
By obtaining the model identification identifier of the air conditioner, sending it to the server to receive candidate data packets, selecting the target upgrade package from multiple model upgrade packages based on the model information of the internal and external units, and upgrading the air conditioner data based on the target upgrade package.
The correspondingness of internal and external computer programs is achieved, the cost and complexity of data upgrades is reduced, and the efficiency of data upgrades is improved.
Smart Images

Figure CN119938086A_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;
[0006] Sending the model identification to a server, and receiving a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes a plurality of model upgrade packages;
[0007] Selecting a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner;
[0008] The data of the air conditioner is upgraded based on the target upgrade package.
[0009] Optionally, selecting a target upgrade package from the multiple model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner includes:
[0010] Acquire first model information corresponding to the control chip of the indoor unit and second model information corresponding to the control chip of the outdoor unit;
[0011] A target upgrade package is selected from the multiple model upgrade packages according to the first model information and the second model information.
[0012] Optionally, the selecting a target upgrade package from the multiple model upgrade packages according to the first model information and the second model information includes:
[0013] In the case where it is determined that the indoor unit and the outdoor unit are powered on, instructing the indoor unit to obtain the first model information and the second model information, and determining the matching type of the indoor unit and the outdoor unit based on the first model information and the second model information;
[0014] The target upgrade package is selected from the multiple machine model upgrade packages according to the combination type.
[0015] Optionally, the candidate data packet further includes version information and the number of internal and external machine platforms, where the number of internal and external machine platforms is the total number of the control chips.
[0016] Optionally, the receiving, from the server, a candidate data packet corresponding to the model identification identifier includes:
[0017] When an OTA upgrade instruction sent by the electronic device is received, a candidate data packet corresponding to the model identification identifier is downloaded from the server according to the OTA upgrade instruction.
[0018] The target upgrade package includes an indoor unit upgrade package and / or an outdoor unit upgrade package, and the upgrading of the data of the air conditioner based on the target upgrade 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, a target upgrade package is reselected from the multiple model upgrade packages 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;
[0024] A receiving module, configured to send the model identification identifier to a server, and receive a candidate data packet corresponding to the model identification identifier from the server, wherein the candidate data packet includes a plurality of model upgrade packages;
[0025] A screening module, configured to select a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner;
[0026] An upgrade module is configured to upgrade the data of the air conditioner based on the target upgrade package.
[0027] According to a third aspect of an embodiment of the present disclosure, there is provided an air conditioner, comprising:
[0028] processor;
[0029] a memory for storing processor-executable instructions;
[0030] Wherein, the processor is configured to:
[0031] Obtaining a model identification of the air conditioner;
[0032] Sending the model identification to a server, and receiving a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes a plurality of model upgrade packages;
[0033] Selecting a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner;
[0034] The data of the air conditioner is upgraded based on the target upgrade package.
[0035] 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.
[0036] The disclosed embodiment can obtain the model identification of the air conditioner, send the model identification to the server, and receive a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes multiple model upgrade packages, on this basis, a target upgrade package is selected from the multiple model upgrade packages according to the indoor and outdoor units of the air conditioner, and then the data of the air conditioner is upgraded based on the target upgrade package. Since the candidate data packet obtained from the server includes multiple model upgrade packages, the accurate target upgrade package can be obtained by screening the candidate data packet, so that the correspondence between the indoor and outdoor unit programs can be ensured during the data upgrade, thereby reducing the cost of data upgrade.
[0037] 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
[0038] 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.
[0039] Figure 1 The figure is a diagram showing an example format of a data packet according to an exemplary embodiment.
[0040] Figure 2 The present invention is a flowchart showing a method for updating data of an air conditioner according to an exemplary embodiment.
[0041] Figure 3 The figure is a diagram showing an example format of a candidate data packet in a method for upgrading data of an air conditioner according to an exemplary embodiment.
[0042] Figure 4 The figure is a flow chart showing another method for updating data of an air conditioner according to an exemplary embodiment.
[0043] Figure 5 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.
[0044] Figure 6 The invention is a block diagram showing a data upgrading device for an air conditioner according to an exemplary embodiment.
[0045] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment.
[0046] Figure 8 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0047] 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.
[0048] 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.
[0049] 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.
[0050] Some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] In addition, the model identification (model number) will be reported to the air conditioner's WiFi module 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 air conditioner indoor and outdoor unit firmware packages 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 unit 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 unit programs of the air conditioner will not correspond during the OTA upgrade.
[0056] For example, in the related art, the program package received by the air conditioner from the server usually only includes a set of firmware bins, as shown in detail. Figure 1 As shown, the firmware bin of the mounted platform mainly includes a group of outdoor firmware bins and indoor firmware bins, which results in a high cost for data upgrade of the air conditioner.
[0057] Figure 2 is a flow chart of a method for upgrading data of an air conditioner according to an exemplary embodiment. Figure 2 As shown, the method may include the following steps.
[0058] In step S210, the model identification of the air conditioner is obtained.
[0059] 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 according to the indoor unit of the air conditioner. Specifically, the indoor unit of the air conditioner may include an indoor unit control chip, and the model identification of the air conditioner may be determined according to the indoor unit control chip. Exemplarily, the model identification of the air conditioner may be determined according to the identification of the indoor unit control chip.
[0060] In step S220, the model identification identifier is sent to the server, and a candidate data packet corresponding to the model identification identifier is received from the server.
[0061] 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 candidate data packet corresponding to the model identification. On this basis, the air conditioner can receive the candidate data packet corresponding to the model identification sent by the server.
[0062] 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 candidate data packet corresponding to the model identification.
[0063] In some implementations, the candidate data package may include multiple model upgrade packages, and the candidate data package may be an on-hook platform firmware bin, as shown in detail. Figure 3 By Figure 3 It is known that the candidate data packet corresponding to the model identification identifier sent by the server may include multiple model upgrade packages, wherein the multiple model upgrade packages may include multiple outdoor unit firmware bins and multiple indoor unit firmware bins. The number of outdoor unit firmware bins and indoor unit firmware bins may be the same or different.
[0064] As an example, multiple model upgrade packages may include multiple groups of firmware packages, and each group of firmware packages may include an outdoor unit firmware bin and an indoor unit firmware bin. Figure 3 The upper-mounted platform firmware bin shown may include four model upgrade packages, which may be outdoor unit 1 (chip 1) firmware bin, indoor unit 1 (chip 1) firmware bin, outdoor unit 2 (chip 2) firmware bin, and indoor unit 2 (chip 2) firmware bin.
[0065] In other implementations, the candidate data packet may further include total header code information, which may include version information and the number of internal and external machine platforms (the number of internal and external machine platforms), wherein the number of internal and external machine platforms may be the total number of control chips.
[0066] Specifically, the number of indoor and outdoor platforms can be the total number of indoor and outdoor platforms, or the total number of indoor platforms / total number of outdoor platforms (the number of indoor and outdoor platform pairs). In this case, the number of indoor platforms and the number of outdoor platforms can be the same. Figure 3 When the number of internal and external machine platforms is the total number of internal and external machines, it can be 4. For example, Figure 3 When the number of indoor and outdoor machine platforms is the total number of indoor machines / total number of outdoor machines (the number of indoor and outdoor machine pairs), it can be 2.
[0067] In addition, the number of internal and external machine platforms can include the number of internal machines and the number of external machines, such as Figure 3 The number of indoor units is 2, and the number of outdoor units is 2. At this time, the number of indoor units and the number of outdoor units can be the same or different.
[0068] It should be noted that the size of the internal and external devices of the firmware package of the hanging platform can be fixed, and the total size can be determined according to the number of chip platforms.
[0069] In the disclosed embodiment, the candidate data packet may include code information of all air conditioner models, and the air conditioner may obtain the code information of all air conditioner models from the server through the WiFi module. In other words, the server / cloud may store the code information of all air conditioner models, and after receiving the model identification, the server may send the code information (candidate data packet) of all air conditioner models corresponding to the model identification to the WiFi module of the air conditioner.
[0070] In step S230, a target upgrade package is selected from a plurality of model upgrade packages according to the indoor unit and outdoor unit of the air conditioner.
[0071] As an optional method, after obtaining the candidate data packet corresponding to the model identification identifier, the disclosed embodiment can select a target upgrade package from multiple model upgrade packages according to the indoor unit and outdoor unit of the air conditioner. Specifically, the target upgrade package is selected from multiple model upgrade packages according to the model information of the control chip of the indoor unit and the model information of the control chip of the outdoor unit. The target upgrade package may include an indoor unit upgrade package and / or an outdoor unit upgrade package.
[0072] Optionally, the embodiment of the present disclosure can filter / cut candidate data packets based on the model information of the indoor and outdoor air conditioners to be upgraded fed back to the WiFi module by the indoor unit to obtain the corresponding model signal upgrade package, and then send the obtained model signal upgrade package to the indoor and outdoor units, and complete the upgrade of the indoor and outdoor units based on the model signal upgrade package. The operation of filtering / cutting and sending candidate data packets by the WiFi module of the present disclosure can realize the interoperability of different indoor and outdoor unit controllers, which can greatly reduce the production, transportation and after-sales management costs without increasing costs, has strong versatility, and is applicable to all indoor and outdoor unit interoperability upgrade solutions for air conditioners.
[0073] In step S240, the data of the air conditioner is upgraded based on the target upgrade package.
[0074] In some implementations, after acquiring the target upgrade package, the air conditioner can upgrade the data of the air conditioner based on the target upgrade package. Exemplarily, the air conditioner can upgrade the indoor unit data and / or outdoor unit data of the air conditioner based on the target upgrade package.
[0075] The disclosed embodiment can obtain the model identification of the air conditioner, send the model identification to the server, and receive a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes multiple model upgrade packages, on this basis, a target upgrade package is selected from the multiple model upgrade packages according to the indoor and outdoor units of the air conditioner, and then the data of the air conditioner is upgraded based on the target upgrade package. Since the candidate data packet obtained from the server includes multiple model upgrade packages, the accurate target upgrade package can be obtained by screening the candidate data packet, so that the correspondence between the indoor and outdoor unit programs can be ensured during the data upgrade, thereby reducing the cost of data upgrade.
[0076] Figure 4 is a flow chart of a method for upgrading data of an air conditioner according to an exemplary embodiment. Figure 4 As shown, the method may include the following steps.
[0077] In step S410, the model identification of the air conditioner is obtained.
[0078] The specific implementation of step S410 has been described in detail in the above embodiment and will not be repeated here.
[0079] In step S420, the model identification identifier is sent to the server, and a candidate data packet corresponding to the model identification identifier is received from the server.
[0080] 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 candidate data packet corresponding to the model identification. On this basis, the air conditioner can receive the candidate data packet corresponding to the model identification sent from the server.
[0081] Specifically, in the embodiment of the present disclosure, when receiving an OTA upgrade instruction sent by an electronic device, the target upgrade package corresponding to the model identification identifier can be downloaded from the server according to the OTA upgrade instruction, and on this basis, the firmware of the air conditioner can be upgraded using the target upgrade package. Here, the target upgrade package can include multiple model upgrade packages.
[0082] In order to better illustrate the process of firmware upgrade, the present disclosure provides the following examples: Figure 5 The interaction diagram shown in Figure 5 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, or the OTA upgrade instruction can be sent directly to the server. After receiving the OTA upgrade instruction, the server can obtain a candidate data packet (firmware package) corresponding to the model identification identifier, and can send the candidate data packet to the air conditioner.
[0083] 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.
[0084] 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.
[0085] In step S430, first model information corresponding to the control chip of the indoor unit and second model information corresponding to the control chip of the outdoor unit are obtained.
[0086] As an optional method, the embodiment of the present disclosure can obtain the first model information corresponding to the control chip of the indoor unit and the second model information corresponding to the control chip of the outdoor unit. The first model information can be the configuration information of the indoor unit, and the second model information can be the configuration information of the outdoor unit.
[0087] Specifically, when it is determined that the indoor unit and the outdoor unit are powered on, the embodiment of the present disclosure can instruct the indoor unit to obtain the first model information and the second model information, and determine the matching type of the indoor unit and the outdoor unit based on the first model information and the second model information. Among them, the matching type of the indoor unit and the outdoor unit can be a combination of different chips, which can be determined by the controller / control chip of each of the indoor and outdoor units. For example, the matching type of the indoor unit and the outdoor unit can be outdoor unit 1 (chip 1) + indoor unit 2 (chip 2).
[0088] Optionally, after determining the matching type of the internal unit and the external unit, the disclosed embodiment may select a target upgrade package from multiple model upgrade packages according to the matching type, that is, cut the candidate data packages to obtain the target upgrade package.
[0089] Exemplarily, the indoor unit of the air conditioner can feed back the first model information corresponding to the indoor unit and the second model information corresponding to the outdoor unit to the WiFi module of the air conditioner, and the WiFi module will filter (cut) the candidate data packets sent by the server to obtain the target upgrade package.
[0090] It can be seen that in the embodiment of the present disclosure, after the indoor and outdoor units are powered on, the indoor unit can report the indoor and outdoor unit matching type to the module. When receiving the OTA upgrade instruction, the WiFi module of the air conditioner can cut / filter the program packages (candidate data packages) it receives to ensure that only the corresponding outdoor unit and indoor unit program packages are sent.
[0091] In step S440, a target upgrade package is selected from a plurality of model upgrade packages according to the first model information and the second model information.
[0092] As an optional manner, after obtaining the first model information corresponding to the indoor unit and the second model information corresponding to the outdoor unit, the embodiment of the present disclosure may select a target upgrade package from the candidate data packages (multiple model upgrade packages).
[0093] In summary, after receiving the candidate data packet, the disclosed embodiment can select a target upgrade package from the candidate data packet according to the indoor and outdoor units of the air conditioner, and upgrade the data of the air conditioner based on the target upgrade package. Here, upgrading the data of the air conditioner can be upgrading the firmware of the air conditioner, that is, upgrading the indoor 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.
[0094] In step S450, the data of the air conditioner is upgraded based on the target upgrade package.
[0095] In the embodiment of the present disclosure, the target upgrade package obtained by screening may include an internal unit upgrade package and / or an external unit upgrade package. In the embodiment of the present disclosure, the internal unit upgrade package can be used to perform OTA upgrade on the internal unit, and / or, the external unit upgrade package can be used to perform OTA upgrade on the external unit.
[0096] Specifically, when it is determined that the target upgrade 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 target upgrade 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.
[0097] Optionally, when it is determined that the target upgrade 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.
[0098] In summary, during OTA upgrade, the disclosed embodiment can cut / screen the firmware package (candidate data package) sent by the server (backend) according to the indoor and outdoor unit configuration information fed back by the air conditioner to the WiFi module, and cut / screen the firmware package corresponding to the indoor and outdoor unit configuration and send it to the indoor and outdoor units of the air conditioner. In this way, the indoor and outdoor unit controllers of different schemes can be used interchangeably, and OTA upgrades of air conditioners of different models can be realized.
[0099] The disclosed embodiment can obtain the model identification of the air conditioner, send the model identification to the server, and receive a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes multiple model upgrade packages, on this basis, select the target upgrade package from the multiple model upgrade packages according to the indoor and outdoor units of the air conditioner, and then upgrade the data of the air conditioner based on the target upgrade package. Since the candidate data packet obtained from the server includes multiple model upgrade packages, the accurate target upgrade package can be obtained by screening the candidate data packet, so that the correspondence between the indoor and outdoor unit programs can be ensured during the data upgrade, thereby reducing the cost of data upgrade. In addition, by adding the module firmware package cutting and issuing function, the disclosed embodiment can achieve interoperability between different indoor and outdoor unit controllers, thereby significantly reducing the production, transportation and after-sales management costs, wherein the module firmware package cutting and issuing function can be used to screen the candidate data packets and issue them to the corresponding indoor and outdoor units.
[0100] Figure 6 FIG. 6 is a block diagram of a data upgrade device 600 for an air conditioner according to an exemplary embodiment. Figure 6 The data upgrade device 600 for air conditioners includes an acquisition module 610 , a receiving module 620 , a screening module 630 and an upgrade module 640 .
[0101] The acquisition module 610 is configured to acquire a model identification mark of the air conditioner;
[0102] The receiving module 620 is configured to send the model identification identifier to a server, and receive a candidate data packet corresponding to the model identification identifier from the server, wherein the candidate data packet includes multiple model upgrade packages;
[0103] The screening module 630 is configured to select a target upgrade package from the plurality of model upgrade packages according to the indoor unit and outdoor unit of the air conditioner;
[0104] The upgrade module 640 is configured to upgrade the data of the air conditioner based on the target upgrade package.
[0105] In some implementations, the screening module 630 may include:
[0106] A model information acquisition submodule, configured to acquire first model information corresponding to the control chip of the indoor unit and second model information corresponding to the control chip of the outdoor unit;
[0107] The screening submodule is configured to select a target upgrade package from the multiple model upgrade packages according to the first model information and the second model information.
[0108] In some embodiments, the screening submodule is configured to, when it is determined that the indoor unit and the outdoor unit are powered on, instruct the indoor unit to obtain the first model information and the second model information, and determine the matching type of the indoor unit and the outdoor unit based on the first model information and the second model information; and select the target upgrade package from the multiple model upgrade packages according to the matching type.
[0109] In some implementations, the candidate data packet further includes version information and the number of internal and external machine platforms, where the number of internal and external machine platforms is the total number of the control chips.
[0110] In some implementations, the receiving module 620 may also be configured to, upon receiving an OTA upgrade instruction sent by the electronic device, download a candidate data packet corresponding to the model identification identifier from the server according to the OTA upgrade instruction.
[0111] In some embodiments, the target upgrade package includes an internal unit upgrade package and / or an external unit upgrade package, and the upgrade module 640 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.
[0112] In some embodiments, the screening module 630 may also be configured to, upon detecting that a change has occurred to the control chip of the internal unit and / or the control chip of the external unit, reselect a target upgrade package from the multiple model upgrade packages based on the internal unit and / or the external unit after replacement of the control chip.
[0113] The disclosed embodiment can obtain the model identification of the air conditioner, send the model identification to the server, and receive a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes multiple model upgrade packages, on this basis, a target upgrade package is selected from the multiple model upgrade packages according to the indoor and outdoor units of the air conditioner, and then the data of the air conditioner is upgraded based on the target upgrade package. Since the candidate data packet obtained from the server includes multiple model upgrade packages, the accurate target upgrade package can be obtained by screening the candidate data packet, so that the correspondence between the indoor and outdoor unit programs can be ensured during the data upgrade, thereby reducing the cost of data upgrade.
[0114] 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.
[0115] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the air conditioner data upgrade method provided by the present disclosure are implemented.
[0116] The present disclosure also provides an air conditioner, comprising:
[0117] processor;
[0118] a memory for storing processor-executable instructions;
[0119] Wherein, the processor is configured to:
[0120] Obtaining a model identification of the air conditioner;
[0121] Sending the model identification to a server, and receiving a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes a plurality of model upgrade packages;
[0122] Selecting a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner;
[0123] The data of the air conditioner is upgraded based on the target upgrade package.
[0124] Figure 7 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 7 , 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 8 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 8 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: The method comprises: Obtaining a model identification of the air conditioner; Sending the model identification to a server, and receiving a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes a plurality of model upgrade packages; Selecting a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner; The data of the air conditioner is upgraded based on the target upgrade package.
2. The method according to claim 1, characterized in that The step of selecting a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner comprises: Acquire first model information corresponding to the control chip of the indoor unit and second model information corresponding to the control chip of the outdoor unit; A target upgrade package is selected from the multiple model upgrade packages according to the first model information and the second model information.
3. The method according to claim 2, characterized in that The selecting a target upgrade package from the plurality of model upgrade packages according to the first model information and the second model information includes: In the case where it is determined that the indoor unit and the outdoor unit are powered on, instructing the indoor unit to obtain the first model information and the second model information, and determining the matching type of the indoor unit and the outdoor unit based on the first model information and the second model information; The target upgrade package is selected from the multiple machine model upgrade packages according to the combination type.
4. The method according to claim 2, characterized in that: The candidate data packet also includes version information and the number of internal and external machine platforms, where the number of internal and external machine platforms is the total number of the control chips.
5. The method according to claim 1, characterized in that The step of receiving, from the server, a candidate data packet corresponding to the model identification identifier comprises: When an OTA upgrade instruction sent by the electronic device is received, a candidate data packet corresponding to the model identification identifier is downloaded from the server according to the OTA upgrade instruction.
6. The method according to claim 5, characterized in that The target upgrade package includes an indoor unit upgrade package and / or an outdoor unit upgrade package, and the upgrading of the data of the air conditioner based on the target upgrade package includes: 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, a target upgrade package is reselected from the multiple model upgrade packages 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; A receiving module, configured to send the model identification identifier to a server, and receive a candidate data packet corresponding to the model identification identifier from the server, wherein the candidate data packet includes a plurality of model upgrade packages; A screening module, configured to select a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner; An upgrade module is configured to upgrade the data of the air conditioner based on the target upgrade package.
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; Sending the model identification to a server, and receiving a candidate data packet corresponding to the model identification from the server, wherein the candidate data packet includes a plurality of model upgrade packages; Selecting a target upgrade package from the plurality of model upgrade packages according to the indoor unit and the outdoor unit of the air conditioner; The data of the air conditioner is upgraded based on the target upgrade package.
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.