CN114110958A - Control method and device of air conditioner, electronic equipment and storage medium - Google Patents

Control method and device of air conditioner, electronic equipment and storage medium Download PDF

Info

Publication number
CN114110958A
CN114110958A CN202111340969.XA CN202111340969A CN114110958A CN 114110958 A CN114110958 A CN 114110958A CN 202111340969 A CN202111340969 A CN 202111340969A CN 114110958 A CN114110958 A CN 114110958A
Authority
CN
China
Prior art keywords
air conditioner
accessory
program
patch data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111340969.XA
Other languages
Chinese (zh)
Inventor
单联瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111340969.XA priority Critical patent/CN114110958A/en
Publication of CN114110958A publication Critical patent/CN114110958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Mechanical Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Air Conditioning Control Device (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a control method, a control device, electronic equipment and a storage medium of an air conditioner, wherein the method is applied to the air conditioner which is provided with a first interface; the method comprises the following steps: when the first interface is detected to be connected with a first accessory, accessory information of the first accessory is obtained; and acquiring data matched with the accessory information from a server or the first accessory so that the air conditioner can acquire the information monitored by the first accessory and/or drive and control the first accessory. The first interface can be connected with different accessories, so that hardware of the air conditioner is expanded, the air conditioner can also have a function of acquiring information detected by the first accessory and/or driving and controlling the first accessory by acquiring data matched with accessory information from the server or the first accessory, so that the function of the air conditioner can be expanded by connecting the first interface with the accessory, and the function expansion range of the air conditioner is expanded.

Description

Control method and device of air conditioner, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of air conditioners, in particular to a control method and device of an air conditioner, electronic equipment and a storage medium.
Background
The air conditioner can adjust parameters such as temperature, humidity, carbon dioxide concentration and the like of an indoor environment, and the parameters are related to air quality or comfort, so that the air conditioner is an electric appliance which is unavailable in life. The air conditioner is developed rapidly, new functions are increased continuously, but the old air conditioner is limited by the loss of hardware, software and functional accessories, so that the old air conditioner cannot experience the new functions which are increased continuously, the new requirements of users cannot be met, the users can use the latest functions only by purchasing or replacing the old air conditioner, the use experience of the users is greatly reduced, and the use cost of the users is increased.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a control method and apparatus for an air conditioner, an electronic device, and a storage medium, so as to solve the defects in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a control method of an air conditioner, applied to the air conditioner, the air conditioner having a first interface; the method comprises the following steps:
when the first interface is detected to be connected with a first accessory, accessory information of the first accessory is obtained;
and acquiring data matched with the accessory information from a server or the first accessory so that the air conditioner can acquire the information monitored by the first accessory and/or drive and control the first accessory.
In one embodiment, the obtaining data matching the accessory information from the server includes:
sending the accessory information and the air conditioner type number to a server so that the server returns an upgrading program or patch data corresponding to the air conditioner type number, wherein the upgrading program or the patch data carries data matched with the accessory information;
and receiving the upgrading program or the patch data, and installing the upgrading program or the patch data.
In one embodiment, the sending the accessory information and the air conditioner type number to a server includes:
after acquiring accessory information of the first accessory, sending the accessory information and an air conditioner type number to a server; or the like, or, alternatively,
and when the time reaches the upgrading period of the air conditioner, sending the accessory information and the air conditioner type number to a server.
In one embodiment, the installing the upgrade program includes:
installing the upgrading program on the air conditioner, and deleting the original program on the air conditioner;
the installing the patch data includes:
and installing the patch data on the original program of the air conditioner.
In one embodiment, the obtaining data from the first accessory that matches the accessory information includes:
and acquiring a driver, a control program or a patch data packet of the first accessory carried by the first accessory.
In one embodiment, the first accessory has a storage unit for storing data matching the accessory information.
In one embodiment, the first fitting comprises at least one of:
camera, dust remover and position sensor.
According to a second aspect of the embodiments of the present disclosure, there is provided a control method of an air conditioner, applied to a server, the method including:
receiving accessory information of a first accessory and an air conditioner model, wherein the accessory information is obtained by the air conditioner after the first accessory is connected to a first interface of the air conditioner;
determining an upgrade program or patch data corresponding to the air conditioner model, and sending the upgrade program or the patch data to the air conditioner so that the air conditioner installs the upgrade program or the patch data, wherein the upgrade program or the patch data carries data matched with the accessory information.
In one embodiment, the determining an upgrade program or patch data corresponding to the air conditioner model includes:
and determining the latest version of the upgrading program or patch data corresponding to the air conditioner type number as the upgrading program or patch data corresponding to the air conditioner type number.
In one embodiment, the sending the upgrade program or the patch data to the air conditioner includes:
acquiring installed data in the air conditioner;
and sending the upgrading program or the patch data to the air conditioner under the condition that the installed data in the air conditioner does not comprise the upgrading program or the patch data.
In one embodiment, after the sending the upgrade program or the patch data to the air conditioner, the method further includes:
and adding the upgrading program or the patch data to the installed data in the air conditioner.
In one embodiment, the first fitting comprises at least one of:
camera, dust remover and position sensor.
According to a third aspect of the embodiments of the present disclosure, there is provided a control apparatus of an air conditioner, applied to the air conditioner, the air conditioner having a first interface; the device comprises:
the first acquisition module is used for acquiring the accessory information of a first accessory when the first interface is detected to be accessed into the first accessory;
and the second acquisition module is used for acquiring data matched with the accessory information from a server or the first accessory so that the air conditioner can acquire the information monitored by the first accessory and/or drive and control the first accessory.
In an embodiment, when the second obtaining module is configured to obtain the data matched with the accessory information from a server, the second obtaining module is specifically configured to:
sending the accessory information and the air conditioner type number to a server so that the server returns an upgrading program or patch data corresponding to the air conditioner type number, wherein the upgrading program or the patch data carries data matched with the accessory information;
and receiving the upgrading program or the patch data, and installing the upgrading program or the patch data.
In one embodiment, the second obtaining module is configured to, when sending the accessory information and the air conditioner type number to a server, specifically:
after acquiring accessory information of the first accessory, sending the accessory information and an air conditioner type number to a server; or the like, or, alternatively,
and when the time reaches the upgrading period of the air conditioner, sending the accessory information and the air conditioner type number to a server.
In an embodiment, when the second obtaining module is used for installing the upgrade program, the second obtaining module is specifically configured to:
installing the upgrading program on the air conditioner, and deleting the original program on the air conditioner;
the second obtaining module is specifically configured to, when the patch data is installed:
and installing the patch data on the original program of the air conditioner.
In an embodiment, when the second obtaining module is configured to obtain the data matched with the accessory information from the first accessory, the second obtaining module is specifically configured to:
and acquiring a driver, a control program or a patch data packet of the first accessory carried by the first accessory.
In one embodiment, the first accessory has a storage unit for storing data matching the accessory information.
In one embodiment, the first fitting comprises at least one of:
camera, dust remover and position sensor.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a control apparatus of an air conditioner, applied to a server, the apparatus including:
the receiving module is used for receiving accessory information of a first accessory and the type of the air conditioner, wherein the accessory information is obtained by the air conditioner after the first accessory is connected to a first interface of the air conditioner;
and the sending module is used for determining an upgrading program or patch data corresponding to the air conditioner type number and sending the upgrading program or the patch data to the air conditioner so that the air conditioner can install the upgrading program or the patch data, wherein the upgrading program or the patch data carries data matched with the accessory information.
In one embodiment, when the sending module is configured to determine an upgrade program or patch data corresponding to the air conditioner model, the sending module is specifically configured to:
and determining the latest version of the upgrading program or patch data corresponding to the air conditioner type number as the upgrading program or patch data corresponding to the air conditioner type number.
In an embodiment, when the sending module is configured to send the upgrade program or the patch data to the air conditioner, the sending module is specifically configured to:
acquiring installed data in the air conditioner;
and sending the upgrading program or the patch data to the air conditioner under the condition that the installed data in the air conditioner does not comprise the upgrading program or the patch data.
In one embodiment, the system further comprises a recording module for:
and after the upgrading program or the patch data is sent to the air conditioner, adding the upgrading program or the patch data to the installed data in the air conditioner.
In one embodiment, the first fitting comprises at least one of:
camera, dust remover and position sensor.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory for storing computer instructions executable on a processor and a processor for controlling an air conditioner based on the first or second aspect when executing the computer instructions.
In one embodiment, the electronic device is an air conditioner or a server;
the air conditioner is provided with a first interface used for being electrically connected with an accessory, and is also provided with a buckle structure and/or a magnetic attraction structure used for being fixedly connected with the accessory.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first or second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device, under the condition that the air conditioner detects that the first interface of the air conditioner is connected with the first accessory, the accessory information of the first accessory is obtained, and data matched with the accessory information is obtained from a server or the first accessory, so that the air conditioner can obtain the information monitored by the first accessory and/or drive and control the first accessory. The first interface can insert different accessories, thereby expanding the hardware of the air conditioner, and the air conditioner can also be through obtaining the data that matches with accessory information from server or first accessory, and possess the information that obtains first accessory detection, and/or drive, the function of the first accessory of control, consequently can insert the accessory and expand the function of air conditioner through first interface, the function extension scope of air conditioner has been improved greatly, satisfy user's newly-increased demand, user's use experience has been improved, the problem that old version air conditioner can't experience new function because of being limited to hardware of itself, software and the lack of function accessory is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a control method of an air conditioner applied to the air conditioner according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic view of an air conditioner according to an exemplary embodiment of the present disclosure connected to a first fitting;
FIG. 3 is a flow chart illustrating a manner of obtaining data from a server according to an exemplary embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a control method of an air conditioner applied to a server according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural view illustrating a control apparatus of an air conditioner applied to the air conditioner according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic structural diagram illustrating a control apparatus of an air conditioner applied to a server according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The air conditioner can adjust parameters such as temperature, humidity, carbon dioxide concentration and the like of an indoor environment, and the parameters are related to air quality or comfort, so that the air conditioner is an electric appliance which is unavailable in life. The air conditioner is developed rapidly, new functions are increased continuously, but the old air conditioner is limited by the loss of hardware, software and functional accessories, so that the old air conditioner cannot experience the new functions which are increased continuously, the new requirements of users cannot be met, the users can use the latest functions only by purchasing or replacing the old air conditioner, the use experience of the users is greatly reduced, and the use cost of the users is increased.
For example, the air conditioner can sense information such as a position, a body temperature and an action of a human body through the out-of-hole camera, control an air outlet direction according to the position information (for example, control the air outlet direction to follow the position of the human body or avoid the position of the human body), control an air outlet temperature according to the body temperature information, and determine a control instruction according to an action posture. That is, functions such as controlling the air outlet direction according to the position information of the human body, controlling the air outlet temperature according to the temperature of the human body, and determining a control instruction according to the action posture of the human body need to depend on the infrared camera, that is, the air conditioner without the infrared camera cannot obtain the functions. In a possible scenario, the air conditioner purchased by the user does not have the infrared camera and the functions related to the infrared camera, and in the later updating process of the air conditioner, the new air conditioner has the infrared camera and the related functions, so that the old air conditioner purchased by the user cannot obtain the functions because the old air conditioner does not have the infrared camera.
Based on this, in a first aspect, at least one embodiment of the present disclosure provides a control method of an air conditioner, please refer to fig. 1, which illustrates a flow of the method, including step S101 and step S103.
The method is applied to an air conditioner, and particularly can be applied to a main control board of an internal Unit of the air conditioner or a special Micro Control Unit (MCU) for executing the method.
Referring to fig. 2, the air conditioner has at least one first interface, the first interface is used for electrically connecting with an accessory, and the first interface can perform data interaction with the accessory after being electrically connected with the accessory. For example, the first interface may be an electrical socket and the accessory may have an electrical plug that plugs into the electrical socket to electrically connect the accessory to the first interface; for another example, the first interface may be a Near Field Communication (NFC) coil, and the accessory may also have a NFC coil, and the connection between the first interface and the accessory is realized through electromagnetic connection between the NFC coil of the accessory and the NFC coil of the first interface.
The air conditioner can also be provided with a buckling structure and/or an electromagnetic structure and is used for being fixedly connected with the accessory, and after the accessory is fixedly connected with the air conditioner, the accessory can be conveniently and electrically connected with the first interface of the air conditioner. The accessory is provided with a corresponding buckling structure and/or an electromagnetic structure.
In step S101, when it is detected that the first interface accesses a first accessory, accessory information of the first accessory is acquired.
After the first accessory is accessed into the first interface, the first interface can report to a main control board of the air conditioner or a special MCU of the method, so that the main control board or the MCU further obtains accessory information of the first accessory through the first interface. The accessory information may be information on the type of the accessory, and for example, the accessory information may be a camera such as a general camera or an infrared camera, a dust remover such as a high-pressure dust remover, a position sensor such as a millimeter wave/nanometer wave human body position measuring device, or the like.
The first interface may be one or a plurality of interfaces. When the first interfaces are multiple, after any first interface detects that the first accessory is accessed, accessory information of the accessed first accessory is obtained. The first interface can be arranged at the position where the air conditioner needs to be provided with the extension accessory, for example, the first interface is arranged on a panel of the air conditioner, and then the first interface can be connected with position sensors such as cameras such as a common camera and an infrared camera, a millimeter wave/nano wave human body position measurer and the like, and then the first interface is arranged at an air inlet, and then dust collectors such as a high-pressure dust collector and the like can be connected.
In step S102, data matched with the accessory information is acquired from a server or the first accessory, so that the air conditioner can acquire information monitored by the first accessory and/or drive and control the first accessory.
The data matched with the accessory information may be stored in an upgrade program of the air conditioner, patch data of the air conditioner, a driver of the first accessory, a control program of the first accessory, or a correction data packet of the first accessory.
In the step, two modes of acquiring the data matched with the accessory information exist, the first mode is that the air conditioner acquires the data matched with the accessory information from the server, and the second mode is that the air conditioner acquires the data matched with the accessory information from the first accessory.
Referring to fig. 3, a flow of the first mode is shown, which includes sub-step S1021 and sub-step S1022.
In step S1021, the accessory information and the air conditioner type number are sent to a server, so that the server returns an upgrade program or patch data corresponding to the air conditioner type number, where the upgrade program or the patch data carries data matched with the accessory information.
Wherein the accessory information and an air conditioner type number may be transmitted to a server after acquiring the accessory information of the first accessory; or, when the time reaches the upgrading period of the air conditioner, the accessory information and the air conditioner type number are sent to a server.
The server can store an identification table of the accessory information, and the identification table can record the special identification of each type of accessory information. Therefore, when the air conditioner transmits the accessory information to the server, the special identification of the accessory information can be transmitted, and after the server receives the special identification, the accessory information can be determined through the identification table.
After receiving the accessory information and the air conditioner model, the server determines an upgrading program or patch data which corresponds to the air conditioner model and carries data matched with the accessory information, and sends the upgrading program or patch data to the air conditioner. After receiving the accessory information and the air conditioner model, the server also determines a corresponding air conditioner address according to the source of the accessory information so as to return an upgrading program or patch data.
Optionally, when determining the upgrade program or patch data corresponding to the air conditioner type number, the upgrade program or patch data of the latest version corresponding to the air conditioner type number may be determined as the upgrade program or patch data corresponding to the air conditioner type number; when the upgrade program or the patch data is sent to the air conditioner, the installed data in the air conditioner may be obtained first, and the upgrade program or the patch data is sent to the air conditioner when the installed data in the air conditioner does not include the upgrade program or the patch data. The data installed by the air conditioner is recorded after the server sends the upgrading program or patch data to the air conditioner each time. It should be noted that, in the case where the installed data in the air conditioner includes the upgrade program or the patch data, the upgrade program or the patch data is not sent any more, in this case, the program upgrade has been completed before, that is, before the first interface is connected to the first accessory, the air conditioner has the function of acquiring the information monitored by the first accessory and/or driving and controlling the first accessory.
In one example, when the accessory information is a camera such as a general camera or an infrared camera, or a position sensor such as a millimeter wave/nanometer wave human body position measurer, the upgrade program or the patch data may have a function of controlling the air outlet direction according to the human body position information; when the accessory information is the infrared camera, the upgrading program or the patch data can have the functions of controlling the air outlet temperature according to the human body temperature, determining a control instruction according to the human body action posture and the like; when the accessory is a dust remover such as a high-pressure dust remover, the upgrading program or the patch data can have the functions of removing dust and the like in the air supply process of the air conditioner.
In step S1022, the upgrade program or the patch data is received, and the upgrade program or the patch data is installed.
Optionally, in the case of installing patch data, the patch data may be installed on an original program of the air conditioner, that is, a patch carrying data matched with accessory information is installed on an existing control program of the air conditioner, so that the control program of the air conditioner has a function matched with the accessory information; in the case of installing an upgrade program, the upgrade program may be installed on the air conditioner, and the original program on the air conditioner may be deleted, that is, a control program having a function matching the accessory information may be reinstalled on the air conditioner.
The first way is to obtain the upgrade program or patch data matched with the accessory information, the Air conditioner completes system upgrade by using Over-the-Air Technology (OTA), and the Air conditioner has the functions of obtaining the information monitored by the first accessory and/or driving and controlling the first accessory, and the like, which are matched with the first accessory.
In a second mode, the first accessory has a storage unit for storing data matched with the accessory information, so that the step can directly acquire a driver, a control program or a patch data packet of the first accessory carried by the first accessory, and further has functions of acquiring information monitored by the first accessory matched with the first accessory, and/or driving and controlling the first accessory.
According to the method and the device, under the condition that the air conditioner detects that the first interface of the air conditioner detects that the first accessory is connected, the accessory information of the first accessory is obtained, and the upgrading program or patch data matched with the accessory information is obtained from a server or the first accessory, so that the air conditioner can obtain the information monitored by the first accessory, and/or drive and control the first accessory. The first interface can insert different accessories, thereby expanding the hardware of the air conditioner, and the air conditioner can also be through obtaining the data that matches with accessory information from server or first accessory, and possess the information that obtains first accessory detection, and/or drive, the function of the first accessory of control, consequently can insert the accessory and expand the function of air conditioner through first interface, the function extension scope of air conditioner has been improved greatly, satisfy user's newly-increased demand, user's use experience has been improved, the problem that old version air conditioner can't experience new function because of being limited to hardware of itself, software and the lack of function accessory is solved.
For example, in one scenario, when a user purchases an air conditioner, the air conditioner does not have the human body perception function of the infrared camera, but a first interface is reserved; after the human body perception function of the infrared camera sensor of the air conditioner is finished by a follow-up air conditioner businessman, a user installs the infrared camera sensor module on the purchased first interface of the air conditioner through purchasing the infrared camera sensor module, and after the air conditioner automatically detects the infrared camera sensor module, software OTA is automatically carried out through the Internet of things, so that the air conditioner has the detection and control functions of the sensor.
In a second aspect, at least one embodiment of the present disclosure provides a method for controlling an air conditioner, and referring to fig. 4, a flow of the method is shown, which includes step S401 and step S402.
The method is applied to a server, program files of the air conditioners are stored in the server, and the server can be in communication connection with the plurality of air conditioners and performs data interaction with each air conditioner. The server and the air conditioner may be connected through a network.
In step S401, accessory information and an air conditioner model of a first accessory sent by the air conditioner are received, where the accessory information is obtained by the air conditioner after the first accessory is connected to a first interface of the air conditioner.
After a first interface of the air conditioner is connected to a first accessory, the air conditioner acquires accessory information of the first accessory through the first interface and sends the accessory information and the type number of the air conditioner to the server. The accessory information may be information on the type of the accessory, and for example, the accessory information may be a camera such as a general camera or an infrared camera, a dust remover such as a high-pressure dust remover, a position sensor such as a millimeter wave/nanometer wave human body position measuring device, or the like.
In step S402, an upgrade program or patch data corresponding to the air conditioner model is determined, and the upgrade program or the patch data is sent to the air conditioner, so that the air conditioner installs the upgrade program or the patch data, where the upgrade program or the patch data carries data matching with the accessory information.
The air conditioner and the server can respectively store identification tables of accessory information, and the identification tables can record special identifications of each type of accessory information. Therefore, when the air conditioner transmits the accessory information to the server, the special identification of the accessory information can be transmitted, and after the server receives the special identification, the accessory information can be determined through the identification table.
After receiving the accessory information and the air conditioner model, the server also determines a corresponding air conditioner address according to the source of the accessory information so as to return an upgrading program or patch data.
Optionally, when determining the upgrade program or patch data corresponding to the air conditioner type number, the upgrade program or patch data of the latest version corresponding to the air conditioner type number may be determined as the upgrade program or patch data corresponding to the air conditioner type number; when the upgrade program or the patch data is sent to the air conditioner, the installed data in the air conditioner may be obtained first, and the upgrade program or the patch data is sent to the air conditioner when the installed data in the air conditioner does not include the upgrade program or the patch data.
The data installed in the air conditioner is recorded after the server sends the upgrade program or the patch data to the air conditioner each time, that is, after the upgrade program or the patch data is sent to the air conditioner, the upgrade program or the patch data may be added to the data installed in the air conditioner. Therefore, the server can inquire the installed data in the corresponding air conditioner according to the address of the air conditioner.
In one example, when the accessory information is a camera such as a general camera or an infrared camera, or a position sensor such as a millimeter wave/nanometer wave human body position measurer, the upgrade program or the patch data may have a function of controlling the air outlet direction according to the human body position information; when the accessory information is the infrared camera, the upgrading program or the patch data can have the functions of controlling the air outlet temperature according to the human body temperature, determining a control instruction according to the human body action posture and the like; when the accessory is a dust remover such as a high-pressure dust remover, the upgrading program or the patch data can have the functions of removing dust and the like in the air supply process of the air conditioner.
It should be noted that, when the air conditioner installs the patch data, the patch data may be installed on an original program of the air conditioner, that is, a patch carrying data matched with the accessory information is installed on an existing control program of the air conditioner, so that the control program of the air conditioner has a function matched with the accessory information; when the air conditioner is provided with the upgrading program, the upgrading program can be installed on the air conditioner, and the original program on the air conditioner is deleted, namely the control program is reinstalled on the air conditioner, and the control program has a function matched with the accessory information. After the Air conditioner installs the upgrade program or patch data, the Air conditioner completes the system upgrade using Over-the-Air Technology (OTA).
According to a third aspect of the embodiments of the present disclosure, there is provided a control apparatus of an air conditioner, applied to the air conditioner, the air conditioner having a first interface; referring to fig. 5, the apparatus includes:
a first obtaining module 501, configured to obtain accessory information of a first accessory when it is detected that the first interface is connected to the first accessory;
a second obtaining module 502, configured to obtain data matching the accessory information from a server or the first accessory, so that the air conditioner can obtain information monitored by the first accessory, and/or drive and control the first accessory.
In some embodiments of the disclosure, the second obtaining module, when obtaining the data matched with the accessory information from the server, is specifically configured to:
sending the accessory information and the air conditioner type number to a server so that the server returns an upgrading program or patch data corresponding to the air conditioner type number, wherein the upgrading program or the patch data carries data matched with the accessory information;
and receiving the upgrading program or the patch data, and installing the upgrading program or the patch data.
In some embodiments of the disclosure, the second obtaining module is configured to, when sending the accessory information and the air conditioner type number to a server, specifically:
after acquiring accessory information of the first accessory, sending the accessory information and an air conditioner type number to a server; or the like, or, alternatively,
and when the time reaches the upgrading period of the air conditioner, sending the accessory information and the air conditioner type number to a server.
In some embodiments of the present disclosure, when the second obtaining module is used to install the upgrade program, the second obtaining module is specifically configured to:
installing the upgrading program on the air conditioner, and deleting the original program on the air conditioner;
the second obtaining module is specifically configured to, when the patch data is installed:
and installing the patch data on the original program of the air conditioner.
In some embodiments of the present disclosure, when the second obtaining module is configured to obtain the data matched with the accessory information from the first accessory, the second obtaining module is specifically configured to:
and acquiring a driver, a control program or a patch data packet of the first accessory carried by the first accessory.
In some embodiments of the present disclosure, the first accessory has a storage unit for storing data matching the accessory information.
In some embodiments of the disclosure, the first fitting comprises at least one of:
camera, dust remover and position sensor.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a control apparatus for an air conditioner, applied to a server, with reference to fig. 6, the apparatus including:
the receiving module 601 is configured to receive accessory information of a first accessory and a model of an air conditioner, where the accessory information is obtained by the air conditioner after the first accessory is connected to a first interface of the air conditioner;
a sending module 602, configured to determine an upgrade program or patch data corresponding to the air conditioner type number, and send the upgrade program or the patch data to the air conditioner, so that the air conditioner installs the upgrade program or the patch data, where the upgrade program or the patch data carries data matched with the accessory information.
In some embodiments of the present disclosure, when the sending module is configured to determine an upgrade program or patch data corresponding to the air conditioner model, the sending module is specifically configured to:
and determining the latest version of the upgrading program or patch data corresponding to the air conditioner type number as the upgrading program or patch data corresponding to the air conditioner type number.
In some embodiments of the present disclosure, the sending module is configured to, when sending the upgrade program or the patch data to the air conditioner, specifically:
acquiring installed data in the air conditioner;
and sending the upgrading program or the patch data to the air conditioner under the condition that the installed data in the air conditioner does not comprise the upgrading program or the patch data.
In some embodiments of the present disclosure, the method further comprises:
and after the upgrading program or the patch data is sent to the air conditioner, adding the upgrading program or the patch data to the installed data in the air conditioner.
In some embodiments of the disclosure, the first fitting comprises at least one of:
camera, dust remover and position sensor
Referring to fig. 7, according to a fifth aspect of the embodiments of the present disclosure, there is provided an electronic device, which includes a memory for storing computer instructions executable on a processor, and the processor is configured to perform the method for controlling an air conditioner according to the first aspect or the second aspect when executing the computer instructions.
In some embodiments of the present disclosure, the electronic device is an air conditioner or a server;
the air conditioner is provided with a first interface used for being electrically connected with an accessory, and is also provided with a buckle structure and/or a magnetic attraction structure used for being fixedly connected with the accessory.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first or second aspect.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (27)

1. The control method of the air conditioner is characterized by being applied to the air conditioner, wherein the air conditioner is provided with a first interface; the method comprises the following steps:
when the first interface is detected to be connected with a first accessory, accessory information of the first accessory is obtained;
and acquiring data matched with the accessory information from a server or the first accessory so that the air conditioner can acquire the information monitored by the first accessory and/or drive and control the first accessory.
2. The control method of an air conditioner according to claim 1, wherein said acquiring data matching the accessory information from the server includes:
sending the accessory information and the air conditioner type number to a server so that the server returns an upgrading program or patch data corresponding to the air conditioner type number, wherein the upgrading program or the patch data carries data matched with the accessory information;
and receiving the upgrading program or the patch data, and installing the upgrading program or the patch data.
3. The method of controlling an air conditioner according to claim 2, wherein the transmitting the accessory information and the air conditioner type number to a server includes:
after acquiring accessory information of the first accessory, sending the accessory information and an air conditioner type number to a server; or the like, or, alternatively,
and when the time reaches the upgrading period of the air conditioner, sending the accessory information and the air conditioner type number to a server.
4. The control method of an air conditioner according to claim 2 or 3, wherein the installing the upgrade program includes:
installing the upgrading program on the air conditioner, and deleting the original program on the air conditioner;
the installing the patch data includes:
and installing the patch data on the original program of the air conditioner.
5. The control method of an air conditioner according to claim 1, wherein said acquiring data matching the accessory information from the first accessory includes:
and acquiring a driver, a control program or a patch data packet of the first accessory carried by the first accessory.
6. The control method of an air conditioner according to claim 1 or 5, wherein the first accessory has a storage unit for storing data matching the accessory information.
7. The control method of an air conditioner according to any one of claims 1 to 6, wherein the first accessory includes at least one of:
camera, dust remover and position sensor.
8. A control method of an air conditioner is applied to a server, and the method comprises the following steps:
receiving accessory information of a first accessory and an air conditioner model, wherein the accessory information is obtained by the air conditioner after the first accessory is connected to a first interface of the air conditioner;
determining an upgrade program or patch data corresponding to the air conditioner model, and sending the upgrade program or the patch data to the air conditioner so that the air conditioner installs the upgrade program or the patch data, wherein the upgrade program or the patch data carries data matched with the accessory information.
9. The method of claim 8, wherein the determining an upgrade program or patch data corresponding to the air conditioner model comprises:
and determining the latest version of the upgrading program or patch data corresponding to the air conditioner type number as the upgrading program or patch data corresponding to the air conditioner type number.
10. The method of controlling an air conditioner according to claim 8, wherein the transmitting the upgrade program or the patch data to the air conditioner includes:
acquiring installed data in the air conditioner;
and sending the upgrading program or the patch data to the air conditioner under the condition that the installed data in the air conditioner does not comprise the upgrading program or the patch data.
11. The method for controlling an air conditioner according to claim 10, further comprising, after the transmitting the upgrade program or the patch data to the air conditioner:
and adding the upgrading program or the patch data to the installed data in the air conditioner.
12. The control method of an air conditioner according to any one of claims 8 to 11, wherein the first accessory includes at least one of:
camera, dust remover and position sensor.
13. The control device of the air conditioner is characterized by being applied to the air conditioner, wherein the air conditioner is provided with a first interface; the device comprises:
the first acquisition module is used for acquiring the accessory information of a first accessory when the first interface is detected to be accessed into the first accessory;
and the second acquisition module is used for acquiring data matched with the accessory information from a server or the first accessory so that the air conditioner can acquire the information monitored by the first accessory and/or drive and control the first accessory.
14. The control device of an air conditioner according to claim 13, wherein the second obtaining module is configured to, when obtaining the data matching the accessory information from the server, specifically:
sending the accessory information and the air conditioner type number to a server so that the server returns an upgrading program or patch data corresponding to the air conditioner type number, wherein the upgrading program or the patch data carries data matched with the accessory information;
and receiving the upgrading program or the patch data, and installing the upgrading program or the patch data.
15. The control device of an air conditioner according to claim 14, wherein the second obtaining module is configured to, when sending the accessory information and the air conditioner type number to the server, specifically:
after acquiring accessory information of the first accessory, sending the accessory information and an air conditioner type number to a server; or the like, or, alternatively,
and when the time reaches the upgrading period of the air conditioner, sending the accessory information and the air conditioner type number to a server.
16. The control device of an air conditioner according to claim 14 or 15, wherein the second obtaining module, when installing the upgrade program, is specifically configured to:
installing the upgrading program on the air conditioner, and deleting the original program on the air conditioner;
the second obtaining module is specifically configured to, when the patch data is installed:
and installing the patch data on the original program of the air conditioner.
17. The control device of an air conditioner according to claim 13, wherein the second obtaining module, when obtaining the data matching the accessory information from the first accessory, is specifically configured to:
and acquiring a driver, a control program or a patch data packet of the first accessory carried by the first accessory.
18. The control device of an air conditioner according to claim 13 or 17, wherein the first accessory has a storage unit for storing data matching the accessory information.
19. The control device of an air conditioner according to any one of claims 13 to 18, wherein the first fitting includes at least one of:
camera, dust remover and position sensor.
20. A control device of an air conditioner, applied to a server, the device comprising:
the receiving module is used for receiving accessory information of a first accessory and the type of the air conditioner, wherein the accessory information is obtained by the air conditioner after the first accessory is connected to a first interface of the air conditioner;
and the sending module is used for determining an upgrading program or patch data corresponding to the air conditioner type number and sending the upgrading program or the patch data to the air conditioner so that the air conditioner can install the upgrading program or the patch data, wherein the upgrading program or the patch data carries data matched with the accessory information.
21. The apparatus as claimed in claim 20, wherein the transmitting module, when determining the upgrade program or the patch data corresponding to the air conditioner model, is specifically configured to:
and determining the latest version of the upgrading program or patch data corresponding to the air conditioner type number as the upgrading program or patch data corresponding to the air conditioner type number.
22. The apparatus as claimed in claim 20, wherein the sending module is configured to, when sending the upgrade program or the patch data to the air conditioner, specifically:
acquiring installed data in the air conditioner;
and sending the upgrading program or the patch data to the air conditioner under the condition that the installed data in the air conditioner does not comprise the upgrading program or the patch data.
23. The control device of an air conditioner according to claim 22, further comprising a recording module for:
and after the upgrading program or the patch data is sent to the air conditioner, adding the upgrading program or the patch data to the installed data in the air conditioner.
24. The control device of an air conditioner according to any one of claims 20 to 23, wherein said first fitting includes at least one of:
camera, dust remover and position sensor.
25. An electronic device, characterized in that the electronic device comprises a memory for storing computer instructions executable on a processor, and a processor for controlling an air conditioner according to any one of claims 1 to 12 when executing the computer instructions.
26. The electronic device of claim 25, wherein the electronic device is an air conditioner or a server;
the air conditioner is provided with a first interface used for being electrically connected with an accessory, and is also provided with a buckle structure and/or a magnetic attraction structure used for being fixedly connected with the accessory.
27. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1 to 12.
CN202111340969.XA 2021-11-12 2021-11-12 Control method and device of air conditioner, electronic equipment and storage medium Pending CN114110958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111340969.XA CN114110958A (en) 2021-11-12 2021-11-12 Control method and device of air conditioner, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111340969.XA CN114110958A (en) 2021-11-12 2021-11-12 Control method and device of air conditioner, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114110958A true CN114110958A (en) 2022-03-01

Family

ID=80379373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111340969.XA Pending CN114110958A (en) 2021-11-12 2021-11-12 Control method and device of air conditioner, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114110958A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114992786A (en) * 2022-06-17 2022-09-02 四川长虹空调有限公司 Air conditioner assembling method and system
CN115077063A (en) * 2022-06-21 2022-09-20 北京小米移动软件有限公司 Program acquisition method, program acquisition device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389904A (en) * 2012-05-08 2013-11-13 珠海格力电器股份有限公司 Updating method of air conditioning system and data processing platform
CN104776560A (en) * 2015-04-02 2015-07-15 珠海格力电器股份有限公司 Program updating method, program updating system and air conditioner
CN206469440U (en) * 2016-12-30 2017-09-05 Tcl空调器(中山)有限公司 Air conditioner
CN108702365A (en) * 2016-02-22 2018-10-23 三星电子株式会社 Adapter and its control method
JP2019174076A (en) * 2018-03-29 2019-10-10 株式会社富士通ゼネラル Air conditioning system
WO2020044447A1 (en) * 2018-08-29 2020-03-05 三菱電機株式会社 Air conditioning system and air conditioning system program update method
CN112413847A (en) * 2020-11-20 2021-02-26 珠海格力电器股份有限公司 Function customizing method, device, system and storage medium
CN214586438U (en) * 2021-02-04 2021-11-02 松下家电(中国)有限公司 Household electrical appliances function upgrade control system and clothing care apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389904A (en) * 2012-05-08 2013-11-13 珠海格力电器股份有限公司 Updating method of air conditioning system and data processing platform
CN104776560A (en) * 2015-04-02 2015-07-15 珠海格力电器股份有限公司 Program updating method, program updating system and air conditioner
CN108702365A (en) * 2016-02-22 2018-10-23 三星电子株式会社 Adapter and its control method
CN206469440U (en) * 2016-12-30 2017-09-05 Tcl空调器(中山)有限公司 Air conditioner
JP2019174076A (en) * 2018-03-29 2019-10-10 株式会社富士通ゼネラル Air conditioning system
WO2020044447A1 (en) * 2018-08-29 2020-03-05 三菱電機株式会社 Air conditioning system and air conditioning system program update method
CN112413847A (en) * 2020-11-20 2021-02-26 珠海格力电器股份有限公司 Function customizing method, device, system and storage medium
CN214586438U (en) * 2021-02-04 2021-11-02 松下家电(中国)有限公司 Household electrical appliances function upgrade control system and clothing care apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114992786A (en) * 2022-06-17 2022-09-02 四川长虹空调有限公司 Air conditioner assembling method and system
CN114992786B (en) * 2022-06-17 2023-11-10 四川长虹空调有限公司 Air conditioner assembling method and system
CN115077063A (en) * 2022-06-21 2022-09-20 北京小米移动软件有限公司 Program acquisition method, program acquisition device, electronic equipment and storage medium
CN115077063B (en) * 2022-06-21 2024-06-11 北京小米移动软件有限公司 Program acquisition method, program acquisition device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114110958A (en) Control method and device of air conditioner, electronic equipment and storage medium
CN109491690B (en) Household appliance upgrading method and device and household appliance
CN111512655A (en) Method for providing communication service by using secure element and electronic device
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
WO2020228042A1 (en) Device operation method and apparatus, and gateway, electronic device and computer-readable medium
CN112448832B (en) Household appliance network distribution method, device and equipment
CN108702365B (en) Adapter and control method thereof
CN107172039B (en) Method, device and system for acquiring protocol key value
CN106856490A (en) A kind of method and apparatus that service is provided based on scene
CN104978959A (en) Voice control method and system
CN111915870A (en) Method and device for adding remote controller code value through voice, television and storage medium
CN113254038A (en) Upgrading confirmation method, server, wire controller and mobile terminal
CN113757950B (en) Program upgrading method and device for air conditioner, air conditioner and storage medium
CN105898075A (en) Method and device for automatically adjusting contextual model
CN114172756A (en) Version upgrading method and system for intelligent equipment electronic control firmware
JP4838096B2 (en) Home appliance communication control system
JPWO2018074422A1 (en) Fusion splicing device management system and splicing splicing device management method
CN101384057A (en) Diagnosis method, apparatus and system for mobile terminal software
WO2023168933A1 (en) Information processing method, device and system
US10256988B2 (en) Communication system, communication device, communication adapter, communication method, and program
CN113865043B (en) Program upgrading method and device for air conditioner, air conditioner and storage medium
CN115617861A (en) Automatic adjustment method and device for vehicle, server, vehicle and storage medium
JP2024513728A (en) Device and method for providing IoT services
WO2017166239A1 (en) Method, device, and system for controlling camera shutter
WO2018079063A1 (en) Network system, server, information processing method, air conditioner and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination