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

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

Info

Publication number
CN115435472A
CN115435472A CN202211173596.6A CN202211173596A CN115435472A CN 115435472 A CN115435472 A CN 115435472A CN 202211173596 A CN202211173596 A CN 202211173596A CN 115435472 A CN115435472 A CN 115435472A
Authority
CN
China
Prior art keywords
air conditioner
target
operation mode
working area
target object
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
CN202211173596.6A
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 CN202211173596.6A priority Critical patent/CN115435472A/en
Publication of CN115435472A publication Critical patent/CN115435472A/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/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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/46Improving electric energy efficiency or saving
    • 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/52Indication arrangements, e.g. displays
    • 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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • 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/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/10Occupancy
    • F24F2120/12Position of occupants

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides a control method and a control device of an air conditioner, a storage medium and electronic equipment, wherein the method comprises the following steps: in the running process of the air conditioner, if the fact that the continuous duration of the target object does not exist in the working area corresponding to the air conditioner is larger than a preset duration threshold value is detected, prompt information is sent to a control terminal corresponding to the air conditioner, and the prompt information is used for prompting a user to select whether the air conditioner is turned off or not; if the response instruction aiming at the prompt message is not received within the waiting time, controlling the air conditioner to shut down; starting the air conditioner and determining each historical operation mode of the air conditioner in a historical time period under the condition that a trigger signal of target equipment is received or a target object in a working area is detected through an image collected by a camera; selecting a target operation mode from all historical operation modes; and controlling the air conditioner to operate according to the target operation mode. By applying the method provided by the embodiment of the invention, energy can be saved, and the aging loss of the air conditioner can be reduced.

Description

Control method and device of air conditioner, storage medium and electronic equipment
Technical Field
The present invention relates to the field of air conditioning technologies, and in particular, to a method and an apparatus for controlling an air conditioner, a storage medium, and an electronic device.
Background
At present, in the operation process of an air conditioner, a user usually forgets to turn off the air conditioner when going out, and under the condition, the air conditioner still continuously operates, so that the problems of energy waste and air conditioner aging are caused.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a control method of an air conditioner, which can save energy and reduce aging loss of the air conditioner.
The invention also provides a control device of the air conditioner, which is used for ensuring the realization and the application of the method in practice.
A control method of an air conditioner, comprising:
in the running process of the air conditioner, if it is detected that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the absence of the target object is greater than a preset duration threshold, sending prompt information to a control terminal corresponding to the air conditioner, wherein the prompt information is used for prompting a user to select whether to turn off the air conditioner;
if a response instruction aiming at the prompt message is not received within a preset waiting time length and the target object does not exist in the working area within the waiting time length is detected, controlling the air conditioner to shut down;
starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object in the working area is detected through an image collected by a camera; the target equipment is at least one of an intelligent door lock of the working area and the control terminal;
selecting a target operation mode from the historical operation modes;
and controlling the air conditioner to operate according to the target operation mode.
Optionally, the method for detecting that the target object does not exist in the working area corresponding to the air conditioner includes:
acquiring an image in a working area corresponding to the air conditioner through a preset camera;
carrying out target object detection on the currently acquired image to obtain a detection result;
and determining that no target object exists in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
The above method, optionally, further includes:
if a response instruction of the prompt message is received within a preset waiting time, acquiring instruction information in the response instruction;
and controlling the air conditioner to shut down under the condition that the instruction information indicates shutdown.
Optionally, the method further includes, before controlling the air conditioner to be turned off:
and recording the operation mode of the air conditioner.
Optionally, the method for selecting a target operation mode from the historical operation modes includes:
determining each candidate operation mode in each historical operation mode, wherein the candidate operation mode is the operation mode of the air conditioner in each target historical sub-period; the target historical sub-period is a historical sub-period corresponding to a current sub-period in the historical period, and the current sub-period is determined according to current time;
determining a time period for the air conditioner to operate each of the candidate operation modes within each of the target history sub-periods;
and taking the candidate running mode with the longest duration as the target running mode.
A control apparatus of an air conditioner, comprising:
the detection unit is used for sending prompt information to a control terminal corresponding to the air conditioner if the fact that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the target object does not exist is larger than a preset duration threshold value is detected in the running process of the air conditioner, and the prompt information is used for prompting a user to select whether the air conditioner is turned off or not;
the first control unit is used for controlling the air conditioner to be powered off if a response instruction aiming at the prompt message is not received within a preset waiting time and the target object does not exist in the working area within the waiting time;
the system comprises a determining unit, a control unit and a processing unit, wherein the determining unit is used for starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object is detected to exist in a working area through an image collected by a camera, and the target equipment is at least one of an intelligent door lock and a control terminal of the working area;
the selection unit is used for selecting a target operation mode from the historical operation modes;
and the second control unit is used for controlling the air conditioner to operate according to the target operation mode.
The above apparatus, optionally, the detection unit, includes:
the acquisition subunit is used for acquiring an image in a working area corresponding to the air conditioner through a preset camera;
the detection subunit is used for detecting a target object of the currently acquired image to obtain a detection result;
and the determining subunit is used for determining that the target object does not exist in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
The above apparatus, optionally, further comprises:
the acquisition unit is used for acquiring instruction information in the response instruction if the response instruction of the prompt information is received within a preset waiting time;
and the second control unit is used for controlling the air conditioner to be shut down under the condition that the instruction information indicates the air conditioner to be shut down.
A storage medium, comprising a storage instruction, wherein when the instruction is executed, a device in which the storage medium is located is controlled to execute the control method of the air conditioner.
An electronic device comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to execute the control method of the air conditioner.
Compared with the prior art, the embodiment of the invention has the following advantages:
the embodiment of the invention provides a control method and device of an air conditioner, a storage medium and electronic equipment, wherein in the running process of the air conditioner, if a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the target object does not exist is larger than a preset duration threshold, prompt information is sent to a control terminal corresponding to the air conditioner; the prompt information is used for prompting a user to select whether to turn off the air conditioner; if the response instruction aiming at the prompt message is not received within the preset waiting time and the target object does not exist in the waiting time of the working area, the air conditioner is controlled to be shut down, so that energy can be saved and the aging loss of the air conditioner is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for controlling an air conditioner according to an embodiment of the present invention;
fig. 2 is a flowchart of a process of detecting that a target object does not exist in a working area corresponding to an air conditioner according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method of controlling an air conditioner according to another embodiment of the present invention;
fig. 4 is an exemplary diagram of an implementation scenario provided in an embodiment of the present invention;
fig. 5 is a flowchart of an air conditioner control process according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a control device of an air conditioner according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
After the air conditioner is started, the air conditioner mode before the last closing is continuously operated, however, the air conditioner mode before the last closing is often not the air conditioner mode currently required by the user, and the air conditioner usually encounters the situation that the user forgets to close the air conditioner when going out during the operation process, and under the situation, the air conditioner still continuously operates, which causes the problems of energy waste and air conditioner aging.
Based on this, an embodiment of the present invention provides a method for controlling an air conditioner, where the method may be applied to an electronic device, where the electronic device may be an air conditioner, and a flowchart of the method is shown in fig. 1, and specifically includes:
s101: in the running process of the air conditioner, if the fact that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the target object does not exist is larger than a preset duration threshold value is detected, prompt information is sent to a control terminal corresponding to the air conditioner; the prompt message is used for prompting the user to select whether to turn off the air conditioner.
In this embodiment, the working area corresponding to the air conditioner may be a home, an exhibition hall, a market, a station, a hospital, etc., and the target object may be one or more of a person, an animal, a plant, various objects having a specific temperature requirement, etc.
Optionally, the control terminal may be a mobile phone, a tablet computer, an intelligent wearable device, or the like, and sends a prompt message to the control terminal corresponding to the air conditioner, and after receiving the prompt message, the control terminal may prompt a user of the control terminal to select whether to turn off the air conditioner; the user can select whether to close the air conditioner on the control terminal, the control terminal generates a response instruction according to the selection result of the user, and the user does not respond to the prompt message, wherein the response instruction is used for indicating the air conditioner to keep running or close.
S102: and if a response instruction aiming at the prompt message is not received within a preset waiting time, and the target object does not exist in the working area within the waiting time, controlling the air conditioner to shut down.
In this embodiment, after sending the prompt message to the control terminal, it may be detected whether a response instruction for the prompt message is received within a preset waiting duration, and whether the target object exists in the working area within the waiting duration.
Specifically, after the prompt message is sent to the control terminal, the first timer can be started to time, whether the response instruction is received or not and whether the target object exists in the working area or not are detected, and if the response instruction is not received and the target object does not exist in the working area yet under the condition that the timing duration of the first timer is equal to the preset waiting duration, the air conditioner can be controlled to be shut down, energy can be saved, and the aging speed of the air conditioner can be reduced.
S103: starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object in the working area is detected through an image collected by a camera; the target equipment is at least one of an intelligent door lock of the working area and the control terminal.
In this embodiment, the trigger signal of the target device may be an unlocking signal of the intelligent door lock, or may be a connection signal or a start signal sent by the control terminal.
Optionally, the preset historical period may be a recent period, for example, within about 5 days, or within about one month, and the length of the historical period may be set according to needs.
In this embodiment, communication connection can be established with intelligent lock to the air conditioner, and intelligent lock can unblank when receiving the instruction of unblanking to send the unlocking signal to the air conditioner, unlocking signal is used for the suggestion lock to open, under this condition, can start the air conditioner. The air conditioner can also establish communication connection with the camera in the working area to obtain the image that the camera was gathered, can carry out target object detection to the image to obtain the testing result, including the condition of target object in the testing result characterization working area, can start the air conditioner, and control the air conditioner and follow the operation mode and move.
S104: and selecting a target operation mode from the historical operation modes.
In this embodiment, the target operation mode may be a history operation mode in which the number of operations is the largest or the operation time is the longest.
S105: and controlling the air conditioner to operate according to the target operation mode.
By applying the method provided by the embodiment of the invention, the air conditioner can be controlled to operate according to the target operation mode after the air conditioner is started, and the comfort level of a user can be improved.
In an embodiment of the present invention, based on the foregoing implementation process, specifically, the process of detecting that no target object exists in the working area corresponding to the air conditioner includes, as shown in fig. 2:
s201: and acquiring an image in a working area corresponding to the air conditioner through a preset camera.
In this embodiment, the cameras may be integrated in the air conditioner, or may be separately provided from the air conditioner in the work area, and the number of the cameras may be one or more.
S202: and detecting a target object of the currently acquired image to obtain a detection result.
In an implementation manner, the trained neural network model may be used to perform target object detection on the image, so as to obtain a detection result of the neural network model, where the detection result may be one of a first type detection result and a second type detection result, the first type detection result indicates that there is no target object, and the second type detection result indicates that there is at least one target object.
Optionally, the neural network model may be obtained by training a training sample set, where the training sample set may include a plurality of training samples, each training sample may include a sample picture and a sample label, and the sample label is used to label whether a target object exists in the sample picture.
S203: and determining that no target object exists in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
In an embodiment provided by the present invention, based on the implementation process, specifically, as shown in fig. 3, the implementation process further includes:
s106: and if the response instruction of the prompt message is received within the preset waiting time, acquiring the instruction information in the response instruction.
In this embodiment, the response instruction may be analyzed to obtain instruction information in the response instruction.
S107: and controlling the air conditioner to be powered off under the condition that the instruction information indicates the power-off.
In this embodiment, in the case where the instruction information indicates that the air conditioner keeps operating, the air conditioner is controlled to continue operating in the current operation mode.
In an embodiment of the invention, based on the foregoing implementation process, specifically, before controlling the air conditioner to shut down, the method further includes:
and recording the operation mode of the air conditioner.
In this embodiment, the current operation mode of the air conditioner and the operation time of the operation mode may be recorded in a preset configuration file, and the operation mode may be one of various modes such as a cooling mode, a heating mode, a defrosting mode, a sleep mode, and an energy saving mode.
In an embodiment of the present invention, based on the implementation process, specifically, the selecting a target operation mode from the historical operation modes includes:
determining each candidate operation mode in each historical operation mode, wherein the candidate operation mode is the operation mode of the air conditioner in each target historical sub-period; the target historical sub-period is a historical sub-period corresponding to a current sub-period in the historical period, and the current sub-period is determined according to current time;
determining a time period for the air conditioner to operate each of the candidate operation modes within each of the target history sub-periods;
and taking the candidate running mode with the longest duration as the target running mode.
In this embodiment, the history period includes a plurality of history sub-periods, for example, the history period may be a recent day, the history sub-period may be each sub-period in each day, for example, morning, noon, afternoon, evening, etc., and if the current sub-period is afternoon, the target history sub-period may be each afternoon of the recent five days.
In some embodiments, when a preset unlocking signal of the intelligent door lock is received or a target object in the working area is detected through an image acquired by a camera, a sub-period to which the current time belongs can be determined, an air conditioner operation mode of a historical sub-period corresponding to the sub-period is determined, and the air conditioner operation mode of the historical sub-period can be used as the current operation mode of the air conditioner. The sub-period may be divided by a user in advance, for example, one day may be divided into a plurality of sub-periods, if the sub-period to which the current time belongs is afternoon, and the corresponding target history sub-period may be afternoon in approximately 5 days, the historical operation mode of the air conditioner in the target history sub-period may be taken as the current target operation mode, specifically, the historical operation mode with the longest operation time in the target history sub-period may be taken as the target operation mode, and in some embodiments, one year may be divided into a plurality of time periods, spring, summer, autumn, winter, and the like.
Optionally, the historical air conditioner operation mode may be an air conditioner operation mode of any historical sub-period corresponding to the historical period, or may be an air conditioner operation mode with the largest occurrence frequency in each historical sub-period corresponding to the current sub-period, and the historical sub-period corresponding to the current sub-period may be a historical sub-period matched with the sub-period in the last N days or N years. For example, the current time period is afternoon, and the corresponding historical time period may be afternoon within approximately 3 days.
By applying the method provided by the embodiment of the invention, the operation mode of the air conditioner meets the requirements of users, the times of resetting the operation mode of the air conditioner by the users can be reduced, and the user experience is improved.
As shown in fig. 4, an implementation scenario example provided for the embodiment of the present invention shows an implementation scenario including an air conditioner and a smart door lock of a camera, where the air conditioner and the camera may be located in a working area, and the air conditioner is connected with the home camera and the smart door lock.
In the operation process of the air conditioner, as shown in fig. 5, whether a person is at home or not can be judged through the camera, if the person is at home, the air conditioner normally operates, if the person is not at home and the time exceeds 15min (the short-time outgoing condition is avoided, the time can be set or provided by a user, such as 5min, 10min, 15min, 30min and the like), the air conditioner pushes a shutdown prompt through an APP or a short message, if the remote shutdown signal is not received after 5min (the short-time outgoing condition is avoided, the time can be set or provided by the user, such as 5min, 10min, 15min, 30min and the like), and the air conditioner automatically stores the current operation mode and executes the shutdown action. When the intelligent door lock is normally opened (or a camera identifies a person at home or detects a signal of the intelligent wearable device), the air conditioner extracts and selects a user common mode to start and operate within 5 days.
Corresponding to the method illustrated in fig. 1, an embodiment of the present invention further provides a control device for an air conditioner, which is used for specifically implementing the method illustrated in fig. 1, where the control device for an air conditioner provided in the embodiment of the present invention may be applied to an electronic device, and a schematic structural diagram of the control device for an air conditioner is illustrated in fig. 6, and specifically includes:
a detecting unit 601, configured to, in a process of operating an air conditioner, send a prompt message to a control terminal corresponding to the air conditioner if it is detected that a target object does not exist in a working area corresponding to the air conditioner and a continuous time length for which the target object does not exist is greater than a preset time length threshold, where the prompt message is used to prompt a user to select whether to turn off the air conditioner;
a first control unit 602, configured to control the air conditioner to turn off if a response instruction for the prompt message is not received within a preset waiting duration and it is detected that the target object does not exist in the working area within the waiting duration;
the determining unit is used for starting the air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object exists in the working area is detected through an image collected by a camera, wherein the target equipment is at least one of an intelligent door lock and the control terminal of the working area;
the selection unit is used for selecting a target operation mode from the historical operation modes;
and the second control unit is used for controlling the air conditioner to operate according to the target operation mode.
In an embodiment provided by the present invention, based on the above scheme, specifically, the detecting unit 601 includes:
the acquisition subunit is used for acquiring an image in a working area corresponding to the air conditioner through a preset camera;
the detection subunit is used for detecting a target object of the currently acquired image to obtain a detection result;
and the determining subunit is used for determining that the target object does not exist in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
In an embodiment of the present invention, based on the above scheme, specifically, the control device of the air conditioner further includes:
the acquisition unit is used for acquiring instruction information in the response instruction if the response instruction of the prompt information is received within a preset waiting time;
and the second control unit is used for controlling the air conditioner to be shut down under the condition that the instruction information indicates the air conditioner to be shut down.
In an embodiment of the present invention, based on the above scheme, specifically, the control device of the air conditioner further includes:
and the recording unit is used for recording the operation mode of the air conditioner.
In an embodiment provided by the present invention, based on the above scheme, specifically, the selecting unit includes:
a first determining subunit, configured to determine, in each of the historical operating modes, each candidate operating mode, where the candidate operating mode is an operating mode of the air conditioner in each target historical sub-period; the target historical sub-period is a historical sub-period corresponding to a current sub-period in the historical period, and the current sub-period is determined according to current time;
a second determining subunit, configured to determine a duration for which the air conditioner operates in each of the candidate operation modes within each of the target history sub-periods;
and the execution subunit is used for taking the candidate running mode with the longest time as the target running mode.
The specific principle and the implementation process of each unit and module in the control device of the air conditioner disclosed in the embodiment of the present invention are the same as those of the control method of the air conditioner disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the control method of the air conditioner provided in the embodiment of the present invention, which are not described herein again.
An embodiment of the present invention further provides a storage medium, where the storage medium includes a stored instruction, where when the instruction runs, a device where the storage medium is located is controlled to execute a control method of the air conditioner, where the method specifically includes:
in the running process of the air conditioner, if it is detected that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the absence of the target object is greater than a preset duration threshold, sending prompt information to a control terminal corresponding to the air conditioner, wherein the prompt information is used for prompting a user to select whether to turn off the air conditioner;
if a response instruction aiming at the prompt message is not received within a preset waiting time length and the target object does not exist in the working area within the waiting time length is detected, controlling the air conditioner to shut down;
starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object in the working area is detected through an image collected by a camera; the target equipment is at least one of an intelligent door lock of the working area and the control terminal;
selecting a target operation mode from the historical operation modes;
and controlling the air conditioner to operate according to the target operation mode.
Optionally, the method, when detecting that the target object does not exist in the working area corresponding to the air conditioner, includes:
acquiring an image in a working area corresponding to the air conditioner through a preset camera;
carrying out target object detection on the currently acquired image to obtain a detection result;
and determining that the target object does not exist in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
The method described above, optionally, further includes:
if a response instruction of the prompt message is received within a preset waiting time, acquiring instruction information in the response instruction;
and controlling the air conditioner to be powered off under the condition that the instruction information indicates the power-off.
Optionally, the method further includes, before controlling the air conditioner to be turned off:
and recording the operation mode of the air conditioner.
Optionally, the method for selecting a target operation mode from the historical operation modes includes:
determining each candidate operation mode in each historical operation mode, wherein the candidate operation mode is the operation mode of the air conditioner in each target historical sub-period; the target historical sub-period is a historical sub-period corresponding to a current sub-period in the historical period, and the current sub-period is determined according to current time;
determining a time period for the air conditioner to operate each of the candidate operation modes within each of the target history sub-periods;
and taking the candidate running mode with the longest duration as the target running mode.
An embodiment of the present invention further provides an electronic device, a schematic structural diagram of which is shown in fig. 7, specifically including a memory 701 and one or more instructions 702, where the one or more instructions 702 are stored in the memory 701 and configured to be executed by one or more processors 703 to perform the following operations for the one or more instructions 702:
in the running process of the air conditioner, if it is detected that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the absence of the target object is greater than a preset duration threshold, sending prompt information to a control terminal corresponding to the air conditioner, wherein the prompt information is used for prompting a user to select whether to turn off the air conditioner;
if a response instruction aiming at the prompt message is not received within a preset waiting time length and the target object does not exist in the working area within the waiting time length is detected, controlling the air conditioner to shut down;
starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object in the working area is detected through an image collected by a camera; the target equipment is at least one of an intelligent door lock of the working area and the control terminal;
selecting a target operation mode from the historical operation modes;
and controlling the air conditioner to operate according to the target operation mode.
It should be noted that, in this specification, each embodiment is described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same as and similar to each other in each embodiment may be referred to. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The above detailed description is provided for the control method of the air conditioner, and the principle and the implementation of the present invention are explained by applying specific examples, and the above descriptions of the examples are only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of controlling an air conditioner, comprising:
in the running process of the air conditioner, if it is detected that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the absence of the target object is greater than a preset duration threshold, sending prompt information to a control terminal corresponding to the air conditioner, wherein the prompt information is used for prompting a user to select whether to turn off the air conditioner;
if a response instruction aiming at the prompt message is not received within a preset waiting time length and the target object does not exist in the working area within the waiting time length is detected, controlling the air conditioner to shut down;
starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object in the working area is detected through an image collected by a camera; the target equipment is at least one of an intelligent door lock of the working area and the control terminal;
selecting a target operation mode from the historical operation modes;
and controlling the air conditioner to operate according to the target operation mode.
2. The method according to claim 1, wherein the process of detecting that the target object does not exist in the working area corresponding to the air conditioner comprises:
acquiring an image in a working area corresponding to the air conditioner through a preset camera;
carrying out target object detection on the currently acquired image to obtain a detection result;
and determining that no target object exists in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
3. The method of claim 1, further comprising:
if a response instruction of the prompt message is received within a preset waiting time, acquiring instruction information in the response instruction;
and controlling the air conditioner to shut down under the condition that the instruction information indicates shutdown.
4. The method of claim 1, wherein before controlling the air conditioner to shut down, further comprising:
and recording the operation mode of the air conditioner.
5. The method of claim 1, wherein said selecting a target operating mode among said historical operating modes comprises:
determining each candidate operation mode in each historical operation mode, wherein the candidate operation mode is the operation mode of the air conditioner in each target historical sub-period; the target historical sub-period is a historical sub-period corresponding to a current sub-period in the historical period, and the current sub-period is determined according to current time;
determining a time period for the air conditioner to operate each of the candidate operation modes within each of the target history sub-periods;
and taking the candidate running mode with the longest duration as the target running mode.
6. A control apparatus of an air conditioner, comprising:
the detection unit is used for sending prompt information to a control terminal corresponding to the air conditioner if the fact that a target object does not exist in a working area corresponding to the air conditioner and the continuous duration of the target object does not exist is larger than a preset duration threshold value is detected in the running process of the air conditioner, and the prompt information is used for prompting a user to select whether the air conditioner is turned off or not;
the first control unit is used for controlling the air conditioner to be powered off if a response instruction aiming at the prompt message is not received within a preset waiting time and the target object does not exist in the working area within the waiting time;
the system comprises a determining unit, a control unit and a processing unit, wherein the determining unit is used for starting an air conditioner and determining each historical operation mode of the air conditioner in a preset historical time period under the condition that a trigger signal of target equipment is received or a target object is detected to exist in a working area through an image collected by a camera, and the target equipment is at least one of an intelligent door lock and a control terminal of the working area;
the selection unit is used for selecting a target operation mode from the historical operation modes;
and the second control unit is used for controlling the air conditioner to operate according to the target operation mode.
7. The apparatus of claim 6, wherein the detection unit comprises:
the acquisition subunit is used for acquiring an image in a working area corresponding to the air conditioner through a preset camera;
the detection subunit is used for detecting a target object of the currently acquired image to obtain a detection result;
and the determining subunit is used for determining that the target object does not exist in the working area corresponding to the air conditioner under the condition that the detection result is the first type detection result.
8. The apparatus of claim 6, further comprising:
the acquisition unit is used for acquiring instruction information in the response instruction if the response instruction of the prompt information is received within a preset waiting time;
and the second control unit is used for controlling the air conditioner to be shut down under the condition that the instruction information indicates the air conditioner to be shut down.
9. A storage medium characterized in that the storage medium includes a storage instruction, wherein a device on which the storage medium is located is controlled to perform the control method of an air conditioner according to any one of claims 1 to 5 when the instruction is executed.
10. An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the method of controlling the air conditioner according to any one of claims 1 to 5.
CN202211173596.6A 2022-09-26 2022-09-26 Control method and device of air conditioner, storage medium and electronic equipment Pending CN115435472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211173596.6A CN115435472A (en) 2022-09-26 2022-09-26 Control method and device of air conditioner, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211173596.6A CN115435472A (en) 2022-09-26 2022-09-26 Control method and device of air conditioner, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115435472A true CN115435472A (en) 2022-12-06

Family

ID=84249873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211173596.6A Pending CN115435472A (en) 2022-09-26 2022-09-26 Control method and device of air conditioner, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115435472A (en)

Similar Documents

Publication Publication Date Title
CN109855244B (en) Energy-saving timing control method and system
CN107726545B (en) Air conditioner control method, electronic device, and computer-readable storage medium
CN113411504B (en) Intelligent shooting method and system for field infrared camera
CN107703764B (en) Equipment control method and device
US20150211761A1 (en) Method of automating a building, and building automation system
CN112731821A (en) Equipment movement method and electronic equipment
CN111290565A (en) Doze mode control method, device, terminal and storage medium
CN109637535B (en) Voice instruction processing method and device and intelligent terminal
CN111365829A (en) Intelligent control method, system and platform of air conditioner
CN106484075A (en) Method and device for adjusting application program wake-up time
CN112413846B (en) Control method and device
CN115435472A (en) Control method and device of air conditioner, storage medium and electronic equipment
CN106101406B (en) Shutdown alarm triggering processing method based on mobile terminal and mobile terminal
CN116184851A (en) Sleep mode adjusting method, device, terminal and storage medium
CN115479370A (en) Air conditioner control method, device and equipment and air conditioner
CN109764475B (en) Air treatment equipment, control method and device thereof, and computer readable storage medium
CN113669911B (en) Heating control method, device, equipment and storage medium
CN113237238A (en) Energy-saving control method, system and device for water heater and storage medium
CN113848738A (en) Control method and device of intelligent equipment
CN110686364A (en) Air conditioner control method and device and computer readable storage medium
CN115682309A (en) Departure judgment method and device and computer readable storage medium
CN112856777A (en) Fresh air system control method and device and computer readable storage medium
EP4354037A1 (en) Control method and apparatus for air conditioner, and computer readable storage medium
CN109963197A (en) A kind of method, storage medium and the intelligent terminal of smart download video resource
CN116007138A (en) Intelligent reminding method, system, device and medium for device use

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