CN114877494A - Method and device for controlling air conditioner, server and storage medium - Google Patents

Method and device for controlling air conditioner, server and storage medium Download PDF

Info

Publication number
CN114877494A
CN114877494A CN202210265083.1A CN202210265083A CN114877494A CN 114877494 A CN114877494 A CN 114877494A CN 202210265083 A CN202210265083 A CN 202210265083A CN 114877494 A CN114877494 A CN 114877494A
Authority
CN
China
Prior art keywords
air conditioner
controlled
determining
area
spatial index
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
CN202210265083.1A
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.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home 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 Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202210265083.1A priority Critical patent/CN114877494A/en
Publication of CN114877494A publication Critical patent/CN114877494A/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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/49Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring ensuring correct operation, e.g. by trial operation or configuration checks
    • 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/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • 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/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • 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
    • 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/89Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2120/00Control inputs relating to users or occupants
    • F24F2120/20Feedback from users

Abstract

The application relates to the field of air conditioner control, and discloses a method for controlling an air conditioner, which comprises the following steps: receiving equipment information of an air conditioner to be controlled; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to an area where an air conditioner to be controlled is located, and acquiring a current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. In this way, since the reference air conditioner and the air conditioner to be controlled are in the same area, it is highly likely that the reference air conditioner is similar to or identical to the mode in which the air conditioner to be controlled is set, and the determination of the air-conditioning control mode from the operation mode of the reference air conditioner enables the air conditioner to operate in an appropriate mode. The application also discloses a device, a server and a storage medium for controlling the air conditioner.

Description

Method and device for controlling air conditioner, server and storage medium
Technical Field
The present application relates to the field of air conditioner control, and for example, to a method and apparatus for controlling an air conditioner, a server, and a storage medium.
Background
At present, along with the popularization of smart homes, the intelligent requirement on an air conditioner is higher and higher, and the air conditioner is required to be capable of automatically adjusting the air conditioning mode so as to provide a comfortable indoor environment for a user. In the related art, the air-conditioning mode is generally set by season and month. However, since the north-south east-west span of China is large, even in the same season or month, the difference in weather conditions between different geographical locations is still large, so that the air-conditioning mode set according to the season and month may not be an operation mode suitable for the air-conditioning.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for controlling an air conditioner, a server and a storage medium, so that the air conditioner can operate in a proper mode.
In some embodiments, the method for controlling an air conditioner, applied to a server side, includes: receiving equipment information of an air conditioner to be controlled; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and acquiring the current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
In some embodiments, the apparatus for controlling an air conditioner, applied to a server side, includes: a receiving module configured to receive device information of an air conditioner to be controlled; the area determining module is configured to determine the area where the air conditioner to be controlled is located according to the equipment information; the current operation mode acquisition module is configured to determine a reference air conditioner corresponding to an area where the air conditioner to be controlled is located, and acquire a current operation mode of the reference air conditioner; a control module configured to determine an air-conditioning control mode according to each of the current operation modes; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
In some embodiments, the apparatus for controlling an air conditioner includes a processor and a memory storing program instructions, the processor being configured to execute the above-mentioned method for controlling an air conditioner when executing the program instructions.
In some embodiments, the server comprises the above-mentioned device for controlling an air conditioner.
In some embodiments, the storage medium, the program instructions when executed, perform the method for controlling an air conditioner as described above.
The method and the device for controlling the air conditioner, the server and the storage medium provided by the embodiment of the disclosure can realize the following technical effects: receiving equipment information of an air conditioner to be controlled; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to the area, and acquiring the current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. Therefore, the reference air conditioner and the air conditioner to be controlled are in the same area, so that the modes set by the reference air conditioner and the air conditioner to be controlled are likely to be similar or identical, the air conditioner control mode is determined according to the running mode of the reference air conditioner, the air conditioner can run in a proper mode, and the user experience is further improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
fig. 1 is a schematic diagram of a method for controlling an air conditioner according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of another method for controlling an air conditioner according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of another method for controlling an air conditioner according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of another method for controlling an air conditioner according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an apparatus for controlling an air conditioner according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of another apparatus for controlling an air conditioner according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and claims of the embodiments of the disclosure and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The application is applied to the server and used for providing a proper operation mode for the air conditioner. The method comprises the steps of firstly receiving equipment information of an air conditioner to be controlled, then determining an area where the air conditioner to be controlled is located according to the equipment information, then determining a reference air conditioner corresponding to the area and obtaining a current operation mode of the reference air conditioner, finally determining an air conditioner control mode according to each current operation mode, sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. Therefore, the reference air conditioner and the air conditioner to be controlled are in the same area, the mode set by the reference air conditioner and the mode set by the air conditioner to be controlled are likely to be similar or equal, the air conditioner control mode is determined according to the operation mode of the reference air conditioner, the air conditioner can operate in a proper mode, and the user experience is further improved.
Referring to fig. 1, a method for controlling an air conditioner, applied to a server side, includes:
step S101, a server receives equipment information of an air conditioner to be controlled;
step S102, the server determines the area where the air conditioner to be controlled is located according to the equipment information;
step S103, the server determines a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and obtains the current operation mode of the reference air conditioner;
step S104, the server determines an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
By adopting the method for controlling the air conditioner, the equipment information of the air conditioner to be controlled is received; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to the area, and acquiring a current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. In this way, since the reference air conditioner and the air conditioner to be controlled are in the same area, it is highly likely that the reference air conditioner and the mode set by the air conditioner to be controlled are similar or identical, and the air conditioner control mode is determined by the operation mode of the reference air conditioner, enabling the air conditioner to operate in an appropriate mode.
Optionally, the server receives the device information sent to the server by the air conditioner to be controlled.
Optionally, the device information includes a device address; the device information further includes one or more of device longitude and latitude, device model, and device brand information.
In some embodiments, the air conditioner uploads user information corresponding to the device address to the server. The user information includes a user name, a user age, and the like.
Optionally, determining the area where the air conditioner to be controlled is located according to the device information includes: determining a spatial index code corresponding to the device information; searching alternative sample air conditioners corresponding to the spatial index codes in a preset first sample database to obtain the number of the alternative sample air conditioners; the first sample database stores the corresponding relation between the spatial index codes and the alternative sample air conditioners; and determining the area where the air conditioners to be controlled are located according to the number of the alternative sample air conditioners. Therefore, the space index code corresponding to the equipment information is determined, searching is carried out through the space index code, the alternative sample air conditioners in the same area with the air conditioner to be controlled can be matched more quickly, and the number of the alternative sample air conditioners in the same area with the air conditioner to be controlled can be obtained.
Optionally, the spatial index code is used to characterize the area where the air conditioner is located.
In some embodiments, the spatial index is encoded in the form of a string. Sequentially comparing whether the characters of the first spatial index code and the second spatial index code are consistent or not according to the sequence of the character strings; in the case that each character of the first spatial index code has been compared and is consistent with the second spatial index code, and at the same time, there are characters of the second spatial index code that have not been compared, the region corresponding to the first spatial index code includes the region corresponding to the second spatial index code. In the case where each character of the first spatial index encoding has been compared and is consistent with the second spatial index encoding, while the second spatial index encoding does not have any characters that have not been compared, the region corresponding to the first spatial index encoding is equal to the region corresponding to the second spatial index encoding. For example: the first spatial index is coded as "wx 4g 0", the second spatial index is coded as "wx 4g0ec 1", and the region corresponding to the first spatial index contains the region corresponding to the second spatial index.
In some embodiments, the spatial index code is obtained by converting the latitude and longitude of the device through a GeoHash algorithm.
Optionally, the device information includes a device identification; determining a spatial index code corresponding to the device information, including: performing table look-up operation on the equipment identifier by using a preset second sample database to obtain a spatial index code corresponding to the equipment identifier; the second sample database stores the corresponding relation between the equipment identification and the spatial index code. Therefore, the space index code corresponding to the air conditioner is stored in the second sample database in advance, and the space index code is not calculated once when the air conditioner control mode of the air conditioner to be controlled is determined every time, so that the calculation amount of the server is reduced, and the efficiency of the server for providing the operation mode suitable for the operation of the air conditioner is improved.
Referring to fig. 2, the method for controlling an air conditioner, applied to a server side, includes:
step S201, a server receives an equipment identifier of an air conditioner to be controlled;
step S202, the server uses a preset second sample database to perform table look-up operation on the equipment identifier to obtain a spatial index code corresponding to the equipment identifier;
step S203, the server determines the area where the air conditioner to be controlled is located according to the spatial index code;
step S204, the server determines a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and acquires the current operation mode of the reference air conditioner;
step S205, the server determines an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
By adopting the method for controlling the air conditioner, the server receives the equipment identifier of the air conditioner to be controlled; obtaining a spatial index code corresponding to the equipment identifier by using a preset second sample database; determining the area where the air conditioner to be controlled is located according to the spatial index code; determining a reference air conditioner corresponding to an area where an air conditioner to be controlled is located, and acquiring a current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. Therefore, the space index code corresponding to the air conditioner is stored in the second sample database in advance, and the space index code is not calculated once when the air conditioner control mode of the air conditioner to be controlled is determined every time, so that the calculation amount of the server is reduced, and the efficiency of the server for providing the operation mode suitable for the operation of the air conditioner is improved.
Optionally, the device identification is a device MAC (Media Access Control Address) Address.
Optionally, the device information includes device longitude and latitude; determining a spatial index code corresponding to the device information, including: and converting the longitude and latitude of the equipment into a space index code by using a preset algorithm. Optionally, the preset algorithm is a GeoHash algorithm.
Referring to fig. 3, the method for controlling an air conditioner, applied to a server side, includes:
step S301, a server receives the longitude and latitude of the air conditioner to be controlled;
step S302, the server converts the latitude and longitude of the equipment into a space index code by utilizing a GeoHash algorithm;
step S303, the server determines the area where the air conditioner to be controlled is located according to the spatial index code;
step S304, the server determines a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and acquires the current operation mode of the reference air conditioner;
step S305, the server determines an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
By adopting the method for controlling the air conditioner, the latitude and longitude of the air conditioner to be controlled are received through the server; converting the longitude and latitude of the equipment into a spatial index code by using a GeoHash algorithm; determining the area where the air conditioner to be controlled is located according to the spatial index code; determining a reference air conditioner corresponding to an area where an air conditioner to be controlled is located, and acquiring a current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. Therefore, the longitude and latitude of the equipment are obtained, the longitude and latitude of the equipment are converted into the space index codes through the GeoHash principle, the longitude and latitude of the equipment are uploaded before the air conditioner to be controlled is controlled each time, the area where the air conditioner to be controlled is located can be accurately obtained, and therefore the current operation mode suitable for the air conditioner is provided.
In some embodiments, the air conditioner uploads the latitude and longitude of the device to the server, and the server receives the latitude and longitude and converts the latitude and longitude into a character string code capable of being sorted and compared by using the GeoHash principle. The character string code is a space index code and is used for representing the area where the air conditioner is located. When the character string code is increased by one character from left to right, the area represented by the character string code after the character is increased is correspondingly reduced compared with the area represented by the character string code before the character is increased. For example: the region represented by the character string code "wx 4sv 61" includes the region represented by the character string code "wx 4sv61 q", i.e., the region represented by the character string code "wx 4sv 61" is larger than the region represented by the character string code "wx 4sv61 q".
Optionally, searching for the candidate sample air conditioners corresponding to the spatial index codes in a preset first sample database, and obtaining the number of the candidate sample air conditioners, includes: acquiring alternative spatial index codes in a first sample database; sequentially comparing whether the characters of the alternative space index codes and the space index codes are consistent or not according to the sequence of the character strings; and under the condition that each character of the space index codes is compared and is consistent with the alternative space index codes, determining the air conditioner corresponding to the alternative space index codes as the alternative sample air conditioner.
In some embodiments, the spatial index code is "wx", the candidate spatial index code in the first sample database is obtained as "wx 4", and whether the spatial index code "w" is consistent with the candidate spatial index code "w" is first compared in the order of the character string. Then compare if the spatial index coded "x" is consistent with the alternative spatial index code "x". At this time, each character of the spatial index code is compared, the compared characters are consistent with the candidate spatial index codes, and the air conditioners corresponding to the candidate spatial index code "wx 4" are all determined as candidate sample air conditioners.
Optionally, the spatial index is encoded as a string; determining the area where the air conditioners to be controlled are located according to the number of the alternative sample air conditioners, wherein the method comprises the following steps: under the condition that the number of the alternative sample air conditioners is smaller than the preset number, executing preset operation until the number of the alternative sample air conditioners is larger than or equal to the preset number, and then determining the area corresponding to the spatial index code when the number of the alternative sample air conditioners is larger than or equal to the preset number as the area where the air conditioner to be controlled is located; the preset operation comprises the following steps: removing the last bit of the character string to obtain an updated spatial index code, and searching for alternative sample air conditioners corresponding to the updated spatial index code in a preset first sample database to obtain the number of the alternative sample air conditioners; and/or directly determining the area corresponding to the spatial index code as the area where the air conditioner to be controlled is located under the condition that the number of the alternative sample air conditioners is greater than or equal to the preset number.
Optionally, determining a reference air conditioner corresponding to an area where an air conditioner to be controlled is located, and acquiring a current operation mode of the reference air conditioner, including: performing table look-up operation on the spatial index code corresponding to the area where the air conditioner to be controlled is located by using a preset third sample database to obtain a reference air conditioner corresponding to the spatial index code and a current operation mode of the reference air conditioner; the third sample database stores the corresponding relation among the spatial index code, the reference air conditioner and the current operation mode of the reference air conditioner.
In some embodiments, the current operation mode of the reference air conditioner stored in the third sample database is updated in real time as the operation mode of the air conditioner is changed.
Optionally, the first sample database, the second sample database and the third sample database are the same database.
Optionally, determining the air conditioner control mode according to each current operation mode includes: and determining the current operation mode which operates most as the air-conditioning control mode.
Referring to fig. 4, the method for controlling an air conditioner, applied to a server side, includes:
step S401, a server receives equipment information of an air conditioner to be controlled;
step S402, the server determines the area where the air conditioner to be controlled is located according to the equipment information;
step S403, the server determines a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and acquires the current operation mode of the reference air conditioner;
step S404, the server determines the current operation mode which operates most as an air conditioner control mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
By adopting the method for controlling the air conditioner, the server receives the equipment information of the air conditioner to be controlled; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to an area where an air conditioner to be controlled is located, and acquiring a current operation mode of the reference air conditioner; determining the current operation mode which operates most as an air conditioner control mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. In this way, since the reference air conditioner and the air conditioner to be controlled are in the same area, the mode set by the reference air conditioner and the mode set by the air conditioner to be controlled are likely to be similar or identical, and the air conditioner operation mode to be controlled, which operates most in the area where the air conditioner to be controlled is located, is determined as the air conditioner control mode of the air conditioner to be controlled, so that the air conditioner can operate in a proper mode.
Optionally, determining the air conditioner control mode according to each current operation mode includes: acquiring a current air conditioner state of a reference air conditioner; counting a current operation mode corresponding to an on-line reference air conditioner in the air conditioner state; the most current operation mode is determined as the air-conditioning control mode.
In some embodiments, a preset third sample database is used for performing table look-up operation on the reference air conditioner to obtain a current air conditioner state corresponding to the reference air conditioner; the third sample database also stores the corresponding relation between the reference air conditioner and the current air conditioner state. Alternatively, the reference air conditioner is represented using the MAC address of the reference air conditioner. Table 1 is a correspondence between the MAC address of the reference air conditioner, the current operation mode, and the current air conditioner state; as shown in table 1, the current operation mode corresponding to the reference air conditioner with the MAC address of 4C65a852EFA2 is refrigeration, and the current air conditioner state is online; the current operation mode corresponding to the reference air conditioner with the MAC address of 4C65A852EFA3 is dehumidification, and the current air conditioner state is online; the current operation mode corresponding to the reference air conditioner with the MAC address of 4C65a852EFA4 is air supply, and the current air conditioner state is offline.
MAC address Current mode of operation Current air conditioning state
4C65A852EFA2 Refrigeration system On-line
4C65A852EFA3 Dehumidification On-line
4C65A852EFA4 Air supply Off-line
TABLE 1
In some embodiments, table 2 is a statistical table of the number of current operation modes, as shown in table 2, the number corresponding to the current operation mode being refrigeration is 950; the number of the air supply corresponding to the current operation mode is 2; the number of the current operation modes is Pmv (human body comfort intelligent control system) is 15; the current operation mode is dehumidification corresponding to a number of 2.
Current mode of operation Number of devices
Refrigeration system 950
Air supply 2
Pmv 15
Dehumidification 2
TABLE 2
As shown in fig. 5, an embodiment of the present disclosure provides an apparatus for controlling an air conditioner, applied to a server side, including: a receiving module 501, a region determining module 502, a current operation mode obtaining module 503 and a control module 504. A receiving module 501 configured to receive device information of an air conditioner to be controlled; an area determination module 502 configured to determine an area where the air conditioner to be controlled is located according to the device information; a current operation mode obtaining module 503, configured to determine a reference air conditioner corresponding to an area where an air conditioner to be controlled is located, and obtain a current operation mode of the reference air conditioner; a control module 504 configured to determine an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
By adopting the device for controlling the air conditioner, the equipment information of the air conditioner to be controlled is received through the receiving module; the area determining module determines the area where the air conditioner to be controlled is located according to the equipment information; the current operation mode acquisition module determines a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and acquires the current operation mode of the reference air conditioner; the control module determines an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. In this way, since the reference air conditioner and the air conditioner to be controlled are in the same area, it is highly likely that the reference air conditioner and the mode set by the air conditioner to be controlled are similar or identical, and the air conditioner control mode is determined by the operation mode of the reference air conditioner, enabling the air conditioner to operate in an appropriate mode.
As shown in fig. 6, an embodiment of the present disclosure provides an apparatus for controlling an air conditioner, which includes a processor (processor)600 and a memory (memory) 601. Optionally, the apparatus may also include a Communication Interface 602 and a bus 603. The processor 600, the communication interface 602, and the memory 601 may communicate with each other via a bus 603. The communication interface 602 may be used for information transfer. The processor 600 may call logic instructions in the memory 601 to perform the method for controlling the air conditioner of the above-described embodiment.
In addition, the logic instructions in the memory 601 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 601 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 600 performs functional applications and data processing, i.e., implements the method for controlling the air conditioner in the above-described embodiment, by executing program instructions/modules stored in the memory 601.
The memory 601 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 601 may include a high speed random access memory, and may also include a non-volatile memory.
By adopting the device for controlling the air conditioner, the equipment information of the air conditioner to be controlled is received; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to the area, and acquiring the current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. In this way, since the reference air conditioner and the air conditioner to be controlled are in the same area, it is highly likely that the reference air conditioner and the mode set by the air conditioner to be controlled are similar or identical, and the air conditioner control mode is determined by the operation mode of the reference air conditioner, enabling the air conditioner to operate in an appropriate mode.
The embodiment of the disclosure provides a server, which includes the above device for controlling an air conditioner.
By adopting the server provided by the embodiment of the disclosure, the equipment information of the air conditioner to be controlled is received; determining the area where the air conditioner to be controlled is located according to the equipment information; determining a reference air conditioner corresponding to the area, and acquiring the current operation mode of the reference air conditioner; determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode. In this way, since the reference air conditioner and the air conditioner to be controlled are in the same area, it is highly likely that the reference air conditioner and the mode set by the air conditioner to be controlled are similar or identical, and the air conditioner control mode is determined by the operation mode of the reference air conditioner, enabling the air conditioner to operate in an appropriate mode.
The disclosed embodiments provide a storage medium storing program instructions that, when executed, perform the above-described method for controlling an air conditioner.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-described method for controlling an air conditioner.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for controlling an air conditioner, applied to a server side, includes:
receiving equipment information of an air conditioner to be controlled;
determining the area where the air conditioner to be controlled is located according to the equipment information;
determining a reference air conditioner corresponding to the area where the air conditioner to be controlled is located, and acquiring the current operation mode of the reference air conditioner;
determining an air conditioner control mode according to each current operation mode; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
2. The method according to claim 1, wherein determining the area where the air conditioner to be controlled is located according to the device information comprises:
determining a spatial index code corresponding to the device information;
searching alternative sample air conditioners corresponding to the spatial index codes in a preset first sample database to obtain the number of the alternative sample air conditioners; the first sample database stores the corresponding relation between the spatial index codes and the alternative sample air conditioners;
and determining the area where the air conditioners to be controlled are located according to the number of the alternative sample air conditioners.
3. The method of claim 2, wherein the device information comprises a device identification; determining a spatial index code corresponding to the device information, including:
performing table look-up operation on the equipment identifier by using a preset second sample database to obtain a spatial index code corresponding to the equipment identifier; and the second sample database stores the corresponding relation between the equipment identification and the spatial index code.
4. The method of claim 2, wherein the spatial index is encoded as a string; determining the area where the air conditioners to be controlled are located according to the number of the alternative sample air conditioners, wherein the determining comprises the following steps:
under the condition that the number of the alternative sample air conditioners is smaller than the preset number, executing preset operation until the number of the alternative sample air conditioners is larger than or equal to the preset number, and then determining the area corresponding to the spatial index code when the number of the alternative sample air conditioners is larger than or equal to the preset number as the area where the air conditioner to be controlled is located; the preset operation comprises the following steps: removing the last bit of the character string to obtain an updated spatial index code, and searching for alternative sample air conditioners corresponding to the updated spatial index code in a preset first sample database to obtain the number of the alternative sample air conditioners; and/or the presence of a gas in the gas,
and determining the area corresponding to the spatial index code as the area where the air conditioner to be controlled is located under the condition that the number of the alternative sample air conditioners is greater than or equal to the preset number.
5. The method according to claim 4, wherein the step of determining a reference air conditioner corresponding to an area where the air conditioner to be controlled is located and acquiring the current operation mode of the reference air conditioner comprises the steps of:
performing table look-up operation on the spatial index code corresponding to the area where the air conditioner to be controlled is located by using a preset third sample database to obtain a reference air conditioner corresponding to the spatial index code and a current operation mode of the reference air conditioner; and the third sample database stores the corresponding relation among the spatial index code, the reference air conditioner and the current operation mode of the reference air conditioner.
6. The method of claim 1, wherein determining an air conditioning control mode based on each of the current operating modes comprises:
and determining the current operation mode which operates most as the air-conditioning control mode.
7. An apparatus for controlling an air conditioner, applied to a server side, comprising:
a receiving module configured to receive device information of an air conditioner to be controlled;
the area determining module is configured to determine the area where the air conditioner to be controlled is located according to the equipment information;
the current operation mode acquisition module is configured to determine a reference air conditioner corresponding to an area where the air conditioner to be controlled is located, and acquire a current operation mode of the reference air conditioner;
a control module configured to determine an air-conditioning control mode according to each of the current operation modes; and sending the air conditioner control mode to the air conditioner to be controlled, and triggering the air conditioner to be controlled to operate according to the air conditioner control mode.
8. An apparatus for controlling an air conditioner comprising a processor and a memory storing program instructions, characterized in that the processor is configured to execute the method for controlling an air conditioner according to any one of claims 1 to 6 when executing the program instructions.
9. A server characterized by comprising the apparatus for controlling an air conditioner according to claim 8.
10. A storage medium storing program instructions, characterized in that the program instructions, when executed, perform a method for controlling an air conditioner according to any one of claims 1 to 6.
CN202210265083.1A 2022-03-17 2022-03-17 Method and device for controlling air conditioner, server and storage medium Pending CN114877494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210265083.1A CN114877494A (en) 2022-03-17 2022-03-17 Method and device for controlling air conditioner, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210265083.1A CN114877494A (en) 2022-03-17 2022-03-17 Method and device for controlling air conditioner, server and storage medium

Publications (1)

Publication Number Publication Date
CN114877494A true CN114877494A (en) 2022-08-09

Family

ID=82667816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210265083.1A Pending CN114877494A (en) 2022-03-17 2022-03-17 Method and device for controlling air conditioner, server and storage medium

Country Status (1)

Country Link
CN (1) CN114877494A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104279725A (en) * 2014-09-30 2015-01-14 广东美的制冷设备有限公司 Configuration information sharing method of air conditioner, air conditioning system and mobile terminal
KR20180067777A (en) * 2016-12-12 2018-06-21 (주) 개마텍 Apparatus for remote controlling electric device, system and method of remote controlling contorl target air conditioner using the same
WO2019018510A1 (en) * 2017-07-21 2019-01-24 Carrier Corporation A service system of an air conditioning system
CN112325441A (en) * 2020-11-02 2021-02-05 珠海格力电器股份有限公司 Air conditioner cleaning control method, device, equipment and readable medium
CN113124551A (en) * 2021-04-20 2021-07-16 青岛海尔空调器有限总公司 Method, system, readable storage medium and server for linking air conditioning equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104279725A (en) * 2014-09-30 2015-01-14 广东美的制冷设备有限公司 Configuration information sharing method of air conditioner, air conditioning system and mobile terminal
KR20180067777A (en) * 2016-12-12 2018-06-21 (주) 개마텍 Apparatus for remote controlling electric device, system and method of remote controlling contorl target air conditioner using the same
WO2019018510A1 (en) * 2017-07-21 2019-01-24 Carrier Corporation A service system of an air conditioning system
CN112325441A (en) * 2020-11-02 2021-02-05 珠海格力电器股份有限公司 Air conditioner cleaning control method, device, equipment and readable medium
CN113124551A (en) * 2021-04-20 2021-07-16 青岛海尔空调器有限总公司 Method, system, readable storage medium and server for linking air conditioning equipment

Similar Documents

Publication Publication Date Title
CN112781192B (en) Method and device for humidifying and smart home system
CN112781193B (en) Method and device for humidifying and humidifying air conditioner
CN112984732B (en) Control method and device for air conditioner and air conditioner
CN113251609B (en) Control method and device for household appliance and household appliance
CN113903337A (en) Method and device for controlling voice air conditioner, cloud server and storage medium
CN103034267A (en) Apparatus and a method for controlling facility devices
CN113357772A (en) Method, device, platform equipment and system for pushing air conditioner care
CN107289581A (en) A kind of air conditioning control method, apparatus and system
CN113379113A (en) Method and device for predicting air conditioner operation mode and air conditioner
CN114484809A (en) Method, system, device, server and medium for determining air conditioner mode
CN113341808A (en) Method, system, device and server for controlling household appliance
CN112240633A (en) Method and device for controlling air conditioner and air conditioner
CN114811898A (en) Method and device for controlling air conditioner and air conditioner
CN113436631B (en) Voice information processing method and system and device for voice information processing
CN114877494A (en) Method and device for controlling air conditioner, server and storage medium
WO2023168933A1 (en) Information processing method, device and system
CN113251591B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN114801644A (en) Control method and device for parking air conditioner, parking air conditioner and storage medium
CN113357763B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN114488829A (en) Method and device for controlling household appliance and server
CN114740739A (en) Method, device, system and storage medium for intelligent household electrical appliance centralized control
CN113357760B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN111473523B (en) Control method and device for water heater and water heater
CN114234388A (en) Control method and device for air conditioner, air conditioner and storage medium
CN107656967A (en) A kind of scene information processing method and processing device

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