WO2022222589A1 - Method and apparatus for controlling air conditioner, and server - Google Patents

Method and apparatus for controlling air conditioner, and server Download PDF

Info

Publication number
WO2022222589A1
WO2022222589A1 PCT/CN2022/077160 CN2022077160W WO2022222589A1 WO 2022222589 A1 WO2022222589 A1 WO 2022222589A1 CN 2022077160 W CN2022077160 W CN 2022077160W WO 2022222589 A1 WO2022222589 A1 WO 2022222589A1
Authority
WO
WIPO (PCT)
Prior art keywords
air conditioner
voice broadcast
disturb
volume
state
Prior art date
Application number
PCT/CN2022/077160
Other languages
French (fr)
Chinese (zh)
Inventor
李艳春
郭继宾
路炎
李恒元
封荣杰
Original Assignee
海尔(深圳)研发有限责任公司
青岛海尔空调器有限总公司
青岛海尔空调电子有限公司
海尔智家股份有限公司
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 海尔(深圳)研发有限责任公司, 青岛海尔空调器有限总公司, 青岛海尔空调电子有限公司, 海尔智家股份有限公司 filed Critical 海尔(深圳)研发有限责任公司
Publication of WO2022222589A1 publication Critical patent/WO2022222589A1/en

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/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
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • F24F11/526Indication arrangements, e.g. displays giving audible indications
    • 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/88Electrical aspects, e.g. circuits

Definitions

  • the present application relates to the technical field of air conditioners, and in particular, to a method and device for controlling an air conditioner, and a server.
  • air conditioners basically have a voice broadcast function, that is, the air conditioner executes the user. After executing the command, it will give the user voice feedback, prompting the user that the execution of the command has been completed.
  • the voice broadcast of the air conditioner may disturb the user, and the existing air conditioner capable of voice broadcast does not have a do-not-disturb function, which makes the user experience poor.
  • Embodiments of the present disclosure provide a method, device, and server for controlling an air conditioner, so as to be able to perform a do-not-disturb setting on the voice broadcast function of the air conditioner.
  • the method includes: in the case of receiving a do-not-disturb state on instruction, determining a do-not-disturb time period; generating a first control instruction according to the do-not-disturb time period; the first control instruction carrying Indicates the preset threshold of the voice broadcast volume of the air conditioner; sends the first control command to the air conditioner, and triggers the air conditioner to enter a do-not-disturb state according to the first control command; the do-not-disturb state is that the voice broadcast volume is the state of the preset threshold.
  • the apparatus includes a processor and a memory storing program instructions, the processor being configured to execute the above-described method for controlling an air conditioner when the program instructions are executed.
  • the server includes an apparatus for controlling an air conditioner as described above.
  • the method, device, and server for controlling an air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects: by determining a do-not-disturb time period when an instruction to turn on the do-not-disturb state is received; The first control command; the first control command carries a preset threshold representing the volume of the voice broadcast of the air conditioner; the first control command is sent to the air conditioner, and the air conditioner is triggered to enter the do-not-disturb state according to the first control command; the do-not-disturb state is the voice Announces the state that the volume is at the preset threshold.
  • the non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
  • FIG. 1 is a schematic flowchart of a method for controlling an air conditioner provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an apparatus for controlling an air conditioner provided by an embodiment of the present disclosure.
  • A/B means: A or B.
  • a and/or B means: A or B, or, A and B three relationships.
  • an embodiment of the present disclosure provides a method for controlling an air conditioner, including:
  • a first control instruction is generated according to the do-not-disturb time period; the first control instruction carries a preset threshold representing the volume of the voice broadcast of the air conditioner.
  • the do-not-disturb state is a state in which the volume of the voice broadcast is a preset threshold.
  • a do-not-disturb time period is determined; and a first control command is generated according to the do-not-disturb time period; the first control command carries There is a preset threshold representing the voice broadcast volume of the air conditioner; a first control command is sent to the air conditioner to trigger the air conditioner to enter a do-not-disturb state according to the first control command; the do-not-disturb state is a state where the voice broadcast volume is a preset threshold.
  • the non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
  • determining the do-not-disturb time period includes: matching the do-not-disturb time period corresponding to the do-not-disturb state on instruction in the preset do-not-disturb timetable, the do-not-disturb time period.
  • the table stores the correspondence between the do-not-disturb state turn-on instruction and the do-not-disturb time period.
  • the instruction for enabling the DND state includes: enabling DND, enabling DND in a specific time period, and the like.
  • a DND time period from 23:00 to 6:00 corresponding to enabling DND is matched in the preset DND schedule.
  • a preset do-not-disturb time period is acquired.
  • the preset DND time period is 23:00 to 6:00, and in the case that the DND state enabling instruction is to enable DND, 23:00 to 6:00 is determined as the DND time period.
  • the do-not-disturb state on instruction is to turn on the do-not-disturb in a specific time period
  • the specific time period is the do-not-disturb time period corresponding to the do-not-disturb state on instruction.
  • the ON instruction of the DND state is to enable DND from 13:00 to 14:00
  • generating the first control instruction according to the do-not-disturb time period includes: generating the first control instruction at the start time of the do-not-disturb time period.
  • triggering the air conditioner to enter the do-not-disturb state includes: triggering the air conditioner to adjust the volume of the voice announcement to a preset threshold.
  • the preset threshold is 0.
  • the method when generating the first control command, further includes: obtaining the first voice broadcast volume sent by the air conditioner; and in the case of successfully sending the first control command to the air conditioner, determining the do not disturb time period according to the duration of the do not disturb time period. end time; in the case of reaching the do-not-disturb end time, generate and send a second control command to the air conditioner, triggering the air conditioner to adjust the voice broadcast volume to the first voice broadcast volume; the second control command carries the first voice broadcast volume .
  • determining the DND end time according to the duration of the DND time period includes: adding the duration of the DND time period to the start time of the DND time period to obtain the DND end time.
  • the DND time period is from 13:00 in the afternoon of the current day to 14:00 in the afternoon of the next day, adding a duration of 25 hours to the start time 13:00, the DND will be obtained.
  • the interruption ends at 14:00 in the afternoon of the next day.
  • the DND end time is usually obtained directly, and in the case of directly obtaining the DND end time, 14:00 in the afternoon of the current day is determined as the DND end time, thus causing errors.
  • the present application avoids the error caused by directly obtaining the do-not-disturb end time in the prior art.
  • generating and sending a second control instruction to the air conditioner, and triggering the air conditioner to adjust the voice broadcast volume to the first voice broadcast volume including: acquiring the second voice broadcast volume sent by the air conditioner; When the preset thresholds are the same, a second control command is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume.
  • the air conditioner In the case where the second voice broadcast volume is the same as the preset threshold, it is determined that the air conditioner is still in the do-not-disturb state, a second control command is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume, That is, the air conditioner is triggered to exit the do-not-disturb state through the second control instruction.
  • the first voice broadcast volume sent by the air conditioner is obtained, and in the case that the first control command is successfully sent to the air conditioner, the do not disturb end time is determined according to the duration of the do not disturb time period;
  • the end time of DND is reached, obtain the volume of the second voice broadcast sent by the air conditioner, and when the volume of the second voice broadcast is different from the preset threshold, do not issue any instructions, so that the air conditioner keeps the second voice Announce volume.
  • the volume of the second voice broadcast is different from the preset threshold, it is determined that the air conditioner has exited the do-not-disturb state. Therefore, no instruction is issued, so that the air conditioner maintains the volume of the second voice broadcast.
  • the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a third control instruction to the air conditioner, and triggering the air conditioner to broadcast a voice message.
  • the volume is adjusted to the first voice broadcast volume; the third control instruction carries the first voice broadcast volume.
  • the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a fourth control instruction to the air conditioner, and triggering the air conditioner to broadcast prompt information. ;
  • the prompt information is used to indicate that the air conditioner exits the Do Not Disturb state.
  • the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a fourth control instruction to the air conditioner, and triggering the air conditioner to broadcast a voice message.
  • the volume is adjusted to the preset volume and the prompt information is broadcast; the prompt information is used to indicate that the air conditioner exits the do-not-disturb state; the fourth control instruction carries the preset volume.
  • the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a fourth control instruction to the air conditioner, and triggering the air conditioner to broadcast a voice message.
  • the volume is adjusted to the first voice broadcast volume and the prompt information is broadcast; the prompt information is used to indicate that the air conditioner exits the do-not-disturb state; the fourth control instruction carries the first voice broadcast volume.
  • the first control command is generated, the first voice broadcast volume V1 sent by the air conditioner is obtained, and the first control command is sent to the air conditioner.
  • V2 is not equal to the preset threshold, no instruction is issued, so that the air conditioner maintains the second voice broadcast volume V2. In this way, it is possible to perform a non-disturbance setting on the voice broadcast function of the air conditioner, ensuring that the user is not disturbed by the voice broadcast function of the air conditioner, and improving the user's experience of using the air conditioner.
  • an embodiment of the present disclosure provides an apparatus for controlling an air conditioner, including a processor (processor) 100 and a memory (memory) 101 .
  • the apparatus may further include a communication interface (Communication Interface) 102 and a bus 103 .
  • the processor 100 , the communication interface 102 , and the memory 101 can communicate with each other through the bus 103 .
  • Communication interface 102 may be used for information transfer.
  • the processor 100 may invoke the logic instructions in the memory 101 to execute the method for controlling an air conditioner of the above-described embodiments.
  • the device for controlling an air conditioner provided by the embodiment of the present disclosure can achieve the following technical effects: by determining a do-not-disturb time period when a do-not-disturb state turn-on instruction is received; and generating a first control instruction according to the do-not-disturb time period;
  • the first control command carries a preset threshold value representing the volume of the voice broadcast of the air conditioner;
  • the first control command is sent to the air conditioner to trigger the air conditioner to enter the do-not-disturb state according to the first control command;
  • the do-not-disturb state is that the volume of the voice broadcast is preset The state of the threshold.
  • the non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
  • logic instructions in the memory 101 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 101 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 100 executes the program instructions/modules stored in the memory 101 to execute functional applications and data processing, that is, to implement the method for controlling the air conditioner in the above embodiments.
  • the memory 101 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.
  • the memory 101 may include high-speed random access memory, and may also include non-volatile memory.
  • An embodiment of the present disclosure provides a server, including the above-mentioned apparatus for controlling an air conditioner.
  • the server determines a do-not-disturb time period when receiving a do-not-disturb state turn-on instruction; and generates a first control command according to the do-not-disturb time period; the first control command carries a preset threshold representing the volume of the voice broadcast of the air conditioner ; Send the first control command to the air conditioner, and trigger the air conditioner to enter the do-not-disturb state according to the first control command; the do-not-disturb state is a state in which the volume of the voice broadcast is a preset threshold.
  • the non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
  • Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are configured to execute the above method for controlling an air conditioner.
  • An embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause all The computer executes the above-described method for controlling an air conditioner.
  • the above-mentioned computer-readable storage medium may be a transient computer-readable storage medium, and may also be a non-transitory computer-readable storage medium.
  • the technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, and the computer software products are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods described in the embodiments of the present disclosure.
  • the aforementioned storage medium can be a non-transitory storage medium, including: U disk, removable hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
  • the term “and/or” as used in this application is meant to include any and all possible combinations of one or more of the associated listings.
  • the term “comprise” and its variations “comprises” and/or including and/or the like refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these.
  • an element qualified by the phrase “comprising a" does not preclude the presence of additional identical elements in the process, method, or device that includes the element.
  • each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other.
  • the methods, products, etc. disclosed in the embodiments if they correspond to the method section disclosed in the embodiments, reference may be made to the description of the method section for relevant parts.
  • the disclosed methods and products may be implemented in other ways.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units may only be a logical function division.
  • there may be other division methods for example, multiple units or components may be combined Either it can be integrated into another system, or some features can be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • each functional unit in the embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks 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.

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 present application relates to the technical field of air conditioners, and discloses a method for controlling an air conditioner, comprising: determining a no-disturbance time period when a no-disturbance state starting instruction is received; generating a first control instruction according to the no-disturbance time period, the first control instruction bearing a preset threshold representing the voice broadcast volume of an air conditioner; and sending the first control instruction to the air conditioner, and triggering the air conditioner to enter a no-disturbance state according to the first control instruction, the no-disturbance state being a state in which the voice broadcast volume is the preset threshold. In the present application, when the no-disturbance state starting instruction is received, the no-disturbance time period is determined, the air conditioner is controlled to enter the no-disturbance state according to the no-disturbance time period, and the voice broadcast volume of the air conditioner is adjusted to the preset threshold, so that a user is not disturbed by a voice broadcast of the air conditioner, improving the experience of the user using the air conditioner. The present application also discloses an apparatus for controlling an air conditioner, and a server.

Description

用于控制空调器的方法及装置、服务器Method and device for controlling air conditioner, server
本申请基于申请号为202110431387.6、申请日为2021年4月21日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110431387.6 and the filing date of April 21, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及空调器技术领域,具体涉及一种用于控制空调器的方法及装置、服务器。The present application relates to the technical field of air conditioners, and in particular, to a method and device for controlling an air conditioner, and a server.
背景技术Background technique
目前,随着人类科技和智能生活进入互联网时代,人们对于家电控制智能化的需求不断更新,因此智能空调成为了空调生产商们争夺的技术性重点,目前空调基本具有语音播报功能,即空调执行用户的执行命令后,会给与用户语音反馈,提示用户执行命令已执行完成。At present, as human technology and intelligent life enter the Internet era, people's demand for intelligent control of home appliances is constantly updated. Therefore, intelligent air conditioners have become the technical focus of air conditioner manufacturers. At present, air conditioners basically have a voice broadcast function, that is, the air conditioner executes the user. After executing the command, it will give the user voice feedback, prompting the user that the execution of the command has been completed.
在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
空调进行语音播报可能会打扰用户,现有的能够进行语音播报的空调没有设置免打扰的功能,这样使得用户的体验感较差。The voice broadcast of the air conditioner may disturb the user, and the existing air conditioner capable of voice broadcast does not have a do-not-disturb function, which makes the user experience poor.
发明内容SUMMARY OF THE INVENTION
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended to be an extensive review, nor to identify key/critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于控制空调器方法及装置、服务器,以能够对空调器的语音播报功能进行免打扰设置。Embodiments of the present disclosure provide a method, device, and server for controlling an air conditioner, so as to be able to perform a do-not-disturb setting on the voice broadcast function of the air conditioner.
在一些实施例中,所述方法包括:在接收到免打扰状态开启指令的情况下,确定免打扰时间段;根据所述免打扰时间段生成第一控制指令;所述第一控制指令携带有表征空调器的语音播报音量的预设阈值;发送所述第一控制指令至空调器,触发所述空调器根据所述第一控制指令进入免打扰状态;所述免打扰状态为语音播报音量为所述预设阈值的状态。In some embodiments, the method includes: in the case of receiving a do-not-disturb state on instruction, determining a do-not-disturb time period; generating a first control instruction according to the do-not-disturb time period; the first control instruction carrying Indicates the preset threshold of the voice broadcast volume of the air conditioner; sends the first control command to the air conditioner, and triggers the air conditioner to enter a do-not-disturb state according to the first control command; the do-not-disturb state is that the voice broadcast volume is the state of the preset threshold.
在一些实施例中,所述装置包括:处理器和存储有程序指令的存储器,所述处理器被配置为在运行所述程序指令时,执行上述所述的用于控制空调器的方法。In some embodiments, the apparatus includes a processor and a memory storing program instructions, the processor being configured to execute the above-described method for controlling an air conditioner when the program instructions are executed.
在一些实施例中,所述服务器包括,如上述所述的用于控制空调器的装置。In some embodiments, the server includes an apparatus for controlling an air conditioner as described above.
本公开实施例提供的用于控制空调器的方法及装置、服务器,可以实现以下技术效果:通过在接收到免打扰状态开启指令的情况下,确定免打扰时间段;并根据免打扰时间段生成第一控制指令;第一控制指令携带有表征空调器的语音播报音量的预设阈值;发送第一控制指令至空调器,触发空调器根据第一控制指令进入免打扰状态;免打扰状态为语音播报音量为预设阈值的状态。实现了对空调器的语音播报功能进行免打扰设置,使得用户不受空调器语音播报的打扰,提升了用户使用空调器的体验。The method, device, and server for controlling an air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects: by determining a do-not-disturb time period when an instruction to turn on the do-not-disturb state is received; The first control command; the first control command carries a preset threshold representing the volume of the voice broadcast of the air conditioner; the first control command is sent to the air conditioner, and the air conditioner is triggered to enter the do-not-disturb state according to the first control command; the do-not-disturb state is the voice Announces the state that the volume is at the preset threshold. The non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the accompanying drawings, which are not intended to limit the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, The drawings do not constitute a limitation of scale, and in which:
图1是本公开实施例提供的一个用于控制空调器的方法的流程示意图;1 is a schematic flowchart of a method for controlling an air conditioner provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一个用于控制空调器的装置的示意图。FIG. 2 is a schematic diagram of an apparatus for controlling an air conditioner provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, which are for reference only and are not intended to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, numerous details are provided 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 simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances for the purposes of implementing the embodiments of the disclosure described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示: A或B。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 means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that three relationships can exist. For example, A and/or B, means: A or B, or, A and B three relationships.
结合图1所示,本公开实施例提供一种用于控制空调器的方法,包括:1, an embodiment of the present disclosure provides a method for controlling an air conditioner, including:
S01,在接收到免打扰状态开启指令的情况下,确定免打扰时间段。S01 , in the case of receiving an instruction for turning on the do-not-disturb state, determine a do-not-disturb time period.
S02,根据免打扰时间段生成第一控制指令;第一控制指令携带有表征空调器的语音播报音量的预设阈值。S02, a first control instruction is generated according to the do-not-disturb time period; the first control instruction carries a preset threshold representing the volume of the voice broadcast of the air conditioner.
S03,发送第一控制指令至空调器,触发空调器根据第一控制指令进入免打扰状态;免打扰状态为语音播报音量为预设阈值的状态。S03 , sending a first control command to the air conditioner, and triggering the air conditioner to enter a do-not-disturb state according to the first control command; the do-not-disturb state is a state in which the volume of the voice broadcast is a preset threshold.
采用本公开实施例提供的用于控制空调器的方法,在接收到免打扰状态开启指令的情况下,确定免打扰时间段;并根据免打扰时间段生成第一控制指令;第一控制指令携带有表征空调器的语音播报音量的预设阈值;发送第一控制指令至空调器,触发空调器根据第一控制指令进入免打扰状态;免打扰状态为语音播报音量为预设阈值的状态。实现了对空调器的语音播报功能进行免打扰设置,使得用户不受空调器语音播报的打扰,提升了用户使用空调器的体验。By adopting the method for controlling an air conditioner provided by the embodiment of the present disclosure, in the case of receiving a do-not-disturb state on instruction, a do-not-disturb time period is determined; and a first control command is generated according to the do-not-disturb time period; the first control command carries There is a preset threshold representing the voice broadcast volume of the air conditioner; a first control command is sent to the air conditioner to trigger the air conditioner to enter a do-not-disturb state according to the first control command; the do-not-disturb state is a state where the voice broadcast volume is a preset threshold. The non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
可选地,在接收到免打扰状态开启指令的情况下,确定免打扰时间段,包括:在预设的免打扰时间表中匹配出免打扰状态开启指令对应的免打扰时间段,免打扰时间表存储有免打扰状态开启指令和免打扰时间段之间的对应关系。Optionally, in the case of receiving the do-not-disturb state on instruction, determining the do-not-disturb time period includes: matching the do-not-disturb time period corresponding to the do-not-disturb state on instruction in the preset do-not-disturb timetable, the do-not-disturb time period. The table stores the correspondence between the do-not-disturb state turn-on instruction and the do-not-disturb time period.
可选的,免打扰状态开启指令包括:开启免打扰、在具体时间段开启免打扰等。Optionally, the instruction for enabling the DND state includes: enabling DND, enabling DND in a specific time period, and the like.
在一些实施例中,在免打扰状态开启指令为开启免打扰的情况下,在预设的免打扰时间表中匹配出开启免打扰对应的免打扰时间段23:00到6:00。In some embodiments, when the DND state on instruction is to enable DND, a DND time period from 23:00 to 6:00 corresponding to enabling DND is matched in the preset DND schedule.
可选地,在免打扰状态开启指令为开启免打扰的情况下,获取预设的免打扰时间段。在一些实施例中,预设的免打扰时间段为23:00到6:00,在免打扰状态开启指令为开启免打扰的情况下,确定23:00到6:00为免打扰时间段。Optionally, in the case where the instruction for enabling the do-not-disturb state is to enable do-not-disturb, a preset do-not-disturb time period is acquired. In some embodiments, the preset DND time period is 23:00 to 6:00, and in the case that the DND state enabling instruction is to enable DND, 23:00 to 6:00 is determined as the DND time period.
可选的,在免打扰状态开启指令为在具体时间段开启免打扰的情况下,确定该具体时间段为免打扰状态开启指令对应的免打扰时间段。在一些实施例中,在免打扰状态开启指令为在13:00到14:00开启免打扰的情况下,确定13:00到14:00为免打扰时间段。Optionally, in the case where the do-not-disturb state on instruction is to turn on the do-not-disturb in a specific time period, it is determined that the specific time period is the do-not-disturb time period corresponding to the do-not-disturb state on instruction. In some embodiments, in the case that the ON instruction of the DND state is to enable DND from 13:00 to 14:00, it is determined that 13:00 to 14:00 is the DND time period.
可选地,根据免打扰时间段生成第一控制指令,包括:在免打扰时间段的开始时刻,生成第一控制指令。Optionally, generating the first control instruction according to the do-not-disturb time period includes: generating the first control instruction at the start time of the do-not-disturb time period.
可选的,触发空调器进入免打扰状态,包括:触发空调器将语音播报音量调节为预设阈值。可选的,预设阈值为0。Optionally, triggering the air conditioner to enter the do-not-disturb state includes: triggering the air conditioner to adjust the volume of the voice announcement to a preset threshold. Optionally, the preset threshold is 0.
可选地,生成第一控制指令时,还包括:获取空调器发送的第一语音播报音量;在成功发送第一控制指令至空调器的情况下,根据免打扰时间段的持续时间确定免打扰结束时间;在到达免打扰结束时间的情况下,生成并发送第二控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量;第二控制指令携带有第一语音播报音量。Optionally, when generating the first control command, the method further includes: obtaining the first voice broadcast volume sent by the air conditioner; and in the case of successfully sending the first control command to the air conditioner, determining the do not disturb time period according to the duration of the do not disturb time period. end time; in the case of reaching the do-not-disturb end time, generate and send a second control command to the air conditioner, triggering the air conditioner to adjust the voice broadcast volume to the first voice broadcast volume; the second control command carries the first voice broadcast volume .
可选的,根据免打扰时间段的持续时间确定免打扰结束时间,包括:在免打扰时间段的开始时刻的基础上加上免打扰时间段的持续时长,获得免打扰结束时间。Optionally, determining the DND end time according to the duration of the DND time period includes: adding the duration of the DND time period to the start time of the DND time period to obtain the DND end time.
在一些实施例中,在免打扰时间段为当天下午的13:00到第二天下午的14:00的情况下,在开始时刻13:00的基础上加上持续时长25小时,则获得免打扰结束时间为第二天下午的14:00。但现有技术中通常直接获取免打扰结束时间,而直接获取免打扰结束时间存在将当天下午的14:00确定为免打扰结束时间的情况,这样,就产生了误差。本申请避免了现有技术中直接获取免打扰结束时间所产生的误差。In some embodiments, if the DND time period is from 13:00 in the afternoon of the current day to 14:00 in the afternoon of the next day, adding a duration of 25 hours to the start time 13:00, the DND will be obtained. The interruption ends at 14:00 in the afternoon of the next day. However, in the prior art, the DND end time is usually obtained directly, and in the case of directly obtaining the DND end time, 14:00 in the afternoon of the current day is determined as the DND end time, thus causing errors. The present application avoids the error caused by directly obtaining the do-not-disturb end time in the prior art.
可选地,生成并发送第二控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量,包括:获取空调器发送的第二语音播报音量;在第二语音播报音量与预设阈值相同的情况下,生成并发送第二控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量。在第二语音播报音量与预设阈值相同的情况下,确定空调器仍处于免打扰状态,生成并发送第二控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量,即通过第二控制指令触发空调退出免打扰状态。Optionally, generating and sending a second control instruction to the air conditioner, and triggering the air conditioner to adjust the voice broadcast volume to the first voice broadcast volume, including: acquiring the second voice broadcast volume sent by the air conditioner; When the preset thresholds are the same, a second control command is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume. In the case where the second voice broadcast volume is the same as the preset threshold, it is determined that the air conditioner is still in the do-not-disturb state, a second control command is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume, That is, the air conditioner is triggered to exit the do-not-disturb state through the second control instruction.
可选的,生成第一控制指令时,获取空调器发送的第一语音播报音量,在成功发送第一控制指令至空调器的情况下,根据免打扰时间段的持续时间确定免打扰结束时间;在到达免打扰结束时间的情况下,获取空调器发送的第二语音播报音量,在第二语音播报音量与预设阈值不同的情况下,不做任何指令下发,使得空调器保持第二语音播报音量。在第二语音播报音量与预设阈值不同的情况下,确定空调器已经退出了免打扰状态,因此,不做任何指令下发,使得空调器保持第二语音播报音量。Optionally, when the first control command is generated, the first voice broadcast volume sent by the air conditioner is obtained, and in the case that the first control command is successfully sent to the air conditioner, the do not disturb end time is determined according to the duration of the do not disturb time period; When the end time of DND is reached, obtain the volume of the second voice broadcast sent by the air conditioner, and when the volume of the second voice broadcast is different from the preset threshold, do not issue any instructions, so that the air conditioner keeps the second voice Announce volume. When the volume of the second voice broadcast is different from the preset threshold, it is determined that the air conditioner has exited the do-not-disturb state. Therefore, no instruction is issued, so that the air conditioner maintains the volume of the second voice broadcast.
可选的,触发空调器根据第一控制指令进入免打扰状态后,还包括:在接收到免打扰状态关闭指令的情况下,生成并发送第三控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量;第三控制指令携带有第一语音播报音量。Optionally, after triggering the air conditioner to enter the do-not-disturb state according to the first control instruction, the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a third control instruction to the air conditioner, and triggering the air conditioner to broadcast a voice message. The volume is adjusted to the first voice broadcast volume; the third control instruction carries the first voice broadcast volume.
可选的,触发空调器根据第一控制指令进入免打扰状态后,还包括:在接收到免 打扰状态关闭指令的情况下,生成并发送第四控制指令给空调器,触发空调器播报提示信息;提示信息用于表征空调器退出免打扰状态。Optionally, after triggering the air conditioner to enter the do-not-disturb state according to the first control instruction, the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a fourth control instruction to the air conditioner, and triggering the air conditioner to broadcast prompt information. ; The prompt information is used to indicate that the air conditioner exits the Do Not Disturb state.
可选的,触发空调器根据第一控制指令进入免打扰状态后,还包括:在接收到免打扰状态关闭指令的情况下,生成并发送第四控制指令给空调器,触发空调器将语音播报音量调节为预设音量并播报提示信息;提示信息用于表征空调器退出免打扰状态;第四控制指令携带有预设音量。Optionally, after triggering the air conditioner to enter the do-not-disturb state according to the first control instruction, the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a fourth control instruction to the air conditioner, and triggering the air conditioner to broadcast a voice message. The volume is adjusted to the preset volume and the prompt information is broadcast; the prompt information is used to indicate that the air conditioner exits the do-not-disturb state; the fourth control instruction carries the preset volume.
可选的,触发空调器根据第一控制指令进入免打扰状态后,还包括:在接收到免打扰状态关闭指令的情况下,生成并发送第四控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量并播报提示信息;提示信息用于表征空调器退出免打扰状态;第四控制指令携带有第一语音播报音量。Optionally, after triggering the air conditioner to enter the do-not-disturb state according to the first control instruction, the method further includes: in the case of receiving the do-not-disturb state closing instruction, generating and sending a fourth control instruction to the air conditioner, and triggering the air conditioner to broadcast a voice message. The volume is adjusted to the first voice broadcast volume and the prompt information is broadcast; the prompt information is used to indicate that the air conditioner exits the do-not-disturb state; the fourth control instruction carries the first voice broadcast volume.
在一些实施例中,在接收到用户通过用户app或语音下发免打扰开启指令,例如“在18:00到8:00开启免打扰”的情况下,确定18:00到8:00为对应的免打扰时间段,在到达免打扰时间段的开始时刻18:00的情况下,生成第一控制指令,并获取空调器发送的第一语音播报量V1,下发第一控制指令至空调器,触发空调器将语音播报音量调节为预设阈值0;根据免打扰时间段的持续时间14小时,在开始时刻18:00的基础上加上14小时,则确定免打扰结束时间为第二天早上8:00,在到达免打扰结束时间第二天早上8:00的情况下,获取空调器发送的第二语音播报量V2,判断第二语音播报量V2是否为预设阈值,在第二语音播报量V2等于预设阈值的情况下,即V2=0,生成并发送第二控制指令给空调器,触发空调器将语音播报音量调节为第一语音播报音量V1;在第二语音播报量V2不等于预设阈值的情况下,不做任何指令下发,使得空调器保持第二语音播报量V2。这样,使得能够对空调器的语音播报功能进行免打扰设置,保证用户不受空调器的语音播报功能的打扰,提升了用户使用空调器的体验。In some embodiments, in the case of receiving an instruction to enable DND from the user through the user app or voice, for example, "Turn DND on from 18:00 to 8:00", it is determined that 18:00 to 8:00 corresponds to When the start time of the non-disturb time period reaches 18:00, the first control command is generated, the first voice broadcast volume V1 sent by the air conditioner is obtained, and the first control command is sent to the air conditioner. , trigger the air conditioner to adjust the volume of the voice broadcast to the preset threshold 0; according to the duration of the DND period of 14 hours, add 14 hours to the start time 18:00, then determine the DND end time is the next day At 8:00 in the morning, when the do-not-disturb end time reaches 8:00 in the next morning, obtain the second voice broadcast volume V2 sent by the air conditioner, and determine whether the second voice broadcast volume V2 is the preset threshold. When the voice broadcast volume V2 is equal to the preset threshold, that is, V2=0, a second control command is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume V1; in the second voice broadcast volume When V2 is not equal to the preset threshold, no instruction is issued, so that the air conditioner maintains the second voice broadcast volume V2. In this way, it is possible to perform a non-disturbance setting on the voice broadcast function of the air conditioner, ensuring that the user is not disturbed by the voice broadcast function of the air conditioner, and improving the user's experience of using the air conditioner.
结合图2所示,本公开实施例提供一种用于控制空调器的装置,包括处理器(processor)100和存储器(memory)101。可选地,该装置还可以包括通信接口(Communication Interface)102和总线103。其中,处理器100、通信接口102、存储器101可以通过总线103完成相互间的通信。通信接口102可以用于信息传输。处理器100可以调用存储器101中的逻辑指令,以执行上述实施例的用于控制空调器的方法。With reference to FIG. 2 , an embodiment of the present disclosure provides an apparatus for controlling an air conditioner, including a processor (processor) 100 and a memory (memory) 101 . Optionally, the apparatus may further include a communication interface (Communication Interface) 102 and a bus 103 . The processor 100 , the communication interface 102 , and the memory 101 can communicate with each other through the bus 103 . Communication interface 102 may be used for information transfer. The processor 100 may invoke the logic instructions in the memory 101 to execute the method for controlling an air conditioner of the above-described embodiments.
本公开实施例提供的用于控制空调器的装置可以实现以下技术效果:通过在接收到免打扰状态开启指令的情况下,确定免打扰时间段;并根据免打扰时间段生成第一控制指令;第一控制指令携带有表征空调器的语音播报音量的预设阈值;发送第一控制指 令至空调器,触发空调器根据第一控制指令进入免打扰状态;免打扰状态为语音播报音量为预设阈值的状态。实现了能够对空调器的语音播报功能进行免打扰设置,使得用户不受空调器语音播报的打扰,提升了用户使用空调器的体验。The device for controlling an air conditioner provided by the embodiment of the present disclosure can achieve the following technical effects: by determining a do-not-disturb time period when a do-not-disturb state turn-on instruction is received; and generating a first control instruction according to the do-not-disturb time period; The first control command carries a preset threshold value representing the volume of the voice broadcast of the air conditioner; the first control command is sent to the air conditioner to trigger the air conditioner to enter the do-not-disturb state according to the first control command; the do-not-disturb state is that the volume of the voice broadcast is preset The state of the threshold. The non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
此外,上述的存储器101中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 101 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
存储器101作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器100通过运行存储在存储器101中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述实施例中用于控制空调器的方法。As a computer-readable storage medium, the memory 101 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes the program instructions/modules stored in the memory 101 to execute functional applications and data processing, that is, to implement the method for controlling the air conditioner in the above embodiments.
存储器101可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器101可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 101 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 101 may include high-speed random access memory, and may also include non-volatile memory.
本公开实施例提供了一种服务器,包含上述的用于控制空调器的装置。An embodiment of the present disclosure provides a server, including the above-mentioned apparatus for controlling an air conditioner.
该服务器通过在接收到免打扰状态开启指令的情况下,确定免打扰时间段;并根据免打扰时间段生成第一控制指令;第一控制指令携带有表征空调器的语音播报音量的预设阈值;发送第一控制指令至空调器,触发空调器根据第一控制指令进入免打扰状态;免打扰状态为语音播报音量为预设阈值的状态。实现了对空调器的语音播报功能进行免打扰设置,使得用户不受空调器语音播报的打扰,提升了用户使用空调器的体验。The server determines a do-not-disturb time period when receiving a do-not-disturb state turn-on instruction; and generates a first control command according to the do-not-disturb time period; the first control command carries a preset threshold representing the volume of the voice broadcast of the air conditioner ; Send the first control command to the air conditioner, and trigger the air conditioner to enter the do-not-disturb state according to the first control command; the do-not-disturb state is a state in which the volume of the voice broadcast is a preset threshold. The non-disturbing setting of the voice broadcast function of the air conditioner is realized, so that the user is not disturbed by the voice broadcast of the air conditioner, and the experience of the user using the air conditioner is improved.
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述用于控制空调器的方法。Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are configured to execute the above method for controlling an air conditioner.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述用于控制空调器的方法。An embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause all The computer executes the above-described method for controlling an air conditioner.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transient computer-readable storage medium, and may also be a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种 可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, and the computer software products are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, removable hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. A medium that can store program codes, and can also be a transient storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The foregoing description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The examples are only representative of possible variations. Unless expressly required, individual components and functions are optional and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in this application are used to describe the embodiments only and not to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a" (a), "an" (an) and "the" (the) are intended to include the plural forms as well, unless the context clearly dictates otherwise. . Similarly, the term "and/or" as used in this application is meant to include any and all possible combinations of one or more of the associated listings. Additionally, when used in this application, the term "comprise" and its variations "comprises" and/or including and/or the like refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, or device that includes the element. Herein, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, reference may be made to the description of the method section for relevant parts.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Skilled artisans may use different methods for implementing the described functionality for each particular application, but such implementations should not be considered beyond the scope of the disclosed embodiments. The skilled person can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units can refer to the corresponding processes in the foregoing method embodiments, and details are not repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部 件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to apparatuses, devices, etc.) may be implemented in other ways. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units may only be a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined Either it can be integrated into another system, or some features can be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. This embodiment may be implemented by selecting some or all of the units according to actual needs. In addition, each functional unit in the embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be 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 that contains one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks 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 descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, operations or steps corresponding to different blocks may also occur in different sequences than those disclosed in the description, and sometimes there is no specific relationship between different operations or steps. order. For example, two consecutive operations or steps may, in fact, be performed substantially concurrently, or they may sometimes be performed 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 in special purpose hardware-based systems that perform the specified functions or actions, or special purpose hardware implemented in combination with computer instructions.

Claims (10)

  1. 一种用于控制空调器的方法,其特征在于,包括:A method for controlling an air conditioner, comprising:
    在接收到免打扰状态开启指令的情况下,确定免打扰时间段;In the case of receiving an instruction to turn on the Do Not Disturb state, determine the Do Not Disturb time period;
    根据所述免打扰时间段生成第一控制指令;所述第一控制指令携带有表征空调器的语音播报音量的预设阈值;generating a first control command according to the do-not-disturb time period; the first control command carries a preset threshold representing the volume of the voice broadcast of the air conditioner;
    发送所述第一控制指令至空调器,触发所述空调器根据所述第一控制指令进入免打扰状态;所述免打扰状态为语音播报音量为所述预设阈值的状态。The first control command is sent to the air conditioner, and the air conditioner is triggered to enter a do-not-disturb state according to the first control command; the do-not-disturb state is a state in which the volume of the voice broadcast is the preset threshold.
  2. 根据权利要求1所述的方法,其特征在于,在接收到免打扰状态开启指令的情况下,确定免打扰时间段,包括:The method according to claim 1, wherein, in the case of receiving a do-not-disturb state on instruction, determining a do-not-disturb time period, comprising:
    在预设的免打扰时间表中匹配出免打扰状态开启指令对应的免打扰时间段,所述免打扰时间表存储有免打扰状态开启指令和免打扰时间段的对应关系。The DND time period corresponding to the DND state opening instruction is matched in the preset DND timetable, and the DND timetable stores the corresponding relationship between the DND state opening instruction and the DND time segment.
  3. 根据权利要求1所述的方法,其特征在于,根据所述免打扰时间段生成第一控制指令,包括:The method according to claim 1, wherein generating the first control instruction according to the do-not-disturb time period comprises:
    在所述免打扰时间段的开始时刻,生成第一控制指令。At the start time of the do not disturb time period, a first control instruction is generated.
  4. 根据权利要求1所述的方法,其特征在于,触发所述空调器进入免打扰状态,包括:The method according to claim 1, wherein triggering the air conditioner to enter a do-not-disturb state comprises:
    触发所述空调器将语音播报音量调节为所述预设阈值。Triggering the air conditioner to adjust the volume of the voice announcement to the preset threshold.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,生成第一控制指令时,还包括:The method according to any one of claims 1 to 4, wherein when generating the first control instruction, the method further comprises:
    获取所述空调器发送的第一语音播报音量;obtaining the first voice broadcast volume sent by the air conditioner;
    在成功发送所述第一控制指令至空调器的情况下,根据所述免打扰时间段的持续时间确定免打扰结束时间;In the case of successfully sending the first control command to the air conditioner, determining a do-not-disturb end time according to the duration of the do-not-disturb time period;
    在到达所述免打扰结束时间的情况下,生成并发送第二控制指令给所述空调器,触发所述空调器将语音播报音量调节为所述第一语音播报音量;所述第二控制指令携带有所述第一语音播报音量。When the DND end time is reached, a second control instruction is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume; the second control instruction It carries the volume of the first voice broadcast.
  6. 根据权利要求5所述的方法,其特征在于,生成并发送第二控制指令给所述空调器,触发所述空调器将语音播报音量调节为所述第一语音播报音量,包括:The method according to claim 5, wherein generating and sending a second control instruction to the air conditioner, and triggering the air conditioner to adjust the voice broadcast volume to the first voice broadcast volume, comprises:
    获取所述空调器发送的第二语音播报音量;obtaining the volume of the second voice broadcast sent by the air conditioner;
    在所述第二语音播报音量与所述预设阈值相同的情况下,生成并发送第二控制指令给所述空调器,触发所述空调器将语音播报音量调节为所述第一语音播报音 量。In the case that the second voice broadcast volume is the same as the preset threshold, generate and send a second control instruction to the air conditioner to trigger the air conditioner to adjust the voice broadcast volume to the first voice broadcast volume .
  7. 根据权利要求5所述的方法,其特征在于,触发所述空调器根据所述第一控制指令进入免打扰状态后,还包括:The method according to claim 5, wherein after triggering the air conditioner to enter a do not disturb state according to the first control instruction, the method further comprises:
    在接收到免打扰状态关闭指令的情况下,生成并发送第三控制指令给所述空调器,触发所述空调器将语音播报音量调节为所述第一语音播报音量;所述第三控制指令携带有所述第一语音播报音量。In the case of receiving the do-not-disturb state closing instruction, a third control instruction is generated and sent to the air conditioner, and the air conditioner is triggered to adjust the voice broadcast volume to the first voice broadcast volume; the third control instruction It carries the volume of the first voice broadcast.
  8. 根据权利要求1所述的方法,其特征在于,触发所述空调器根据所述第一控制指令进入免打扰状态后,还包括:The method according to claim 1, wherein after triggering the air conditioner to enter the do-not-disturb state according to the first control instruction, the method further comprises:
    在接收到免打扰状态关闭指令的情况下,生成并发送第四控制指令给所述空调器,触发所述空调器播报提示信息;所述提示信息用于表征所述空调器退出所述免打扰状态。In the case of receiving the do-not-disturb state closing command, generate and send a fourth control command to the air conditioner to trigger the air-conditioner to broadcast prompt information; the prompt information is used to indicate that the air conditioner exits the do-not-disturb state state.
  9. 一种用于控制空调器的装置,包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在运行所述程序指令时,执行如权利要求1至8任一项所述的用于控制空调器的方法。A device for controlling an air conditioner, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute any one of claims 1 to 8 when executing the program instructions The described method for controlling an air conditioner.
  10. 一种服务器,其特征在于,包括如权利要求9所述的用于控制空调器的装置。A server, characterized by comprising the device for controlling an air conditioner as claimed in claim 9 .
PCT/CN2022/077160 2021-04-21 2022-02-22 Method and apparatus for controlling air conditioner, and server WO2022222589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110431387.6 2021-04-21
CN202110431387.6A CN113218058B (en) 2021-04-21 2021-04-21 Method and device for controlling air conditioner and server

Publications (1)

Publication Number Publication Date
WO2022222589A1 true WO2022222589A1 (en) 2022-10-27

Family

ID=77088263

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077160 WO2022222589A1 (en) 2021-04-21 2022-02-22 Method and apparatus for controlling air conditioner, and server

Country Status (2)

Country Link
CN (1) CN113218058B (en)
WO (1) WO2022222589A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113218058B (en) * 2021-04-21 2022-09-02 海尔(深圳)研发有限责任公司 Method and device for controlling air conditioner and server
CN114553620A (en) * 2022-01-14 2022-05-27 青岛海尔科技有限公司 Equipment disturbance-free setting method, equipment control method and device corresponding to method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080208955A1 (en) * 2005-09-29 2008-08-28 Beijing Watch Data System Co., Ltd Don't Disturb Service Management System And Implementation Thereof
CN105100498A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 Call volume adjusting method and device
CN106656688A (en) * 2016-09-26 2017-05-10 海尔优家智能科技(北京)有限公司 Noise processing method and apparatus
CN107339786A (en) * 2017-07-10 2017-11-10 绵阳美菱软件技术有限公司 A kind of air-conditioning, regulation and control air-conditioning loudspeaker report the system and method for volume
CN109243452A (en) * 2018-10-26 2019-01-18 北京雷石天地电子技术有限公司 A kind of method and system for sound control
CN111895580A (en) * 2020-08-03 2020-11-06 宁波奥克斯电气股份有限公司 Air conditioner anti-disturbance control method and device and air conditioner
CN113218058A (en) * 2021-04-21 2021-08-06 海尔(深圳)研发有限责任公司 Method and device for controlling air conditioner and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827489A (en) * 2016-03-10 2016-08-03 北京小米移动软件有限公司 Intelligent household electrical appliance control method and device and intelligent household electrical appliance
CN105847551A (en) * 2016-03-25 2016-08-10 乐视控股(北京)有限公司 Volume prompting method and apparatus by using alarm clock and cell phone
CN108363557B (en) * 2018-02-02 2020-06-12 刘国华 Human-computer interaction method and device, computer equipment and storage medium
CN108696640A (en) * 2018-05-14 2018-10-23 深圳市零度智控科技有限公司 Method for controlling of prompt tone, mobile terminal and computer readable storage medium
CN109186037A (en) * 2018-08-15 2019-01-11 珠海格力电器股份有限公司 A kind of air conditioning control method, device, storage medium and air-conditioning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080208955A1 (en) * 2005-09-29 2008-08-28 Beijing Watch Data System Co., Ltd Don't Disturb Service Management System And Implementation Thereof
CN105100498A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 Call volume adjusting method and device
CN106656688A (en) * 2016-09-26 2017-05-10 海尔优家智能科技(北京)有限公司 Noise processing method and apparatus
CN107339786A (en) * 2017-07-10 2017-11-10 绵阳美菱软件技术有限公司 A kind of air-conditioning, regulation and control air-conditioning loudspeaker report the system and method for volume
CN109243452A (en) * 2018-10-26 2019-01-18 北京雷石天地电子技术有限公司 A kind of method and system for sound control
CN111895580A (en) * 2020-08-03 2020-11-06 宁波奥克斯电气股份有限公司 Air conditioner anti-disturbance control method and device and air conditioner
CN113218058A (en) * 2021-04-21 2021-08-06 海尔(深圳)研发有限责任公司 Method and device for controlling air conditioner and server

Also Published As

Publication number Publication date
CN113218058B (en) 2022-09-02
CN113218058A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
WO2022222589A1 (en) Method and apparatus for controlling air conditioner, and server
CN105785929B (en) A kind of household electric appliance control method and system based on wechat
EP3197237A1 (en) Intelligent home terminal and control method therefor
CN108986821B (en) Method and equipment for setting relation between room and equipment
CN106558305B (en) Voice data processing method and device
CN107702274B (en) Terminal control method, device and computer readable storage medium
CN102904893A (en) Verifying device and verifying method
WO2019095388A1 (en) Remotely-assisted processing method and device
CN106445479B (en) Information-pushing method and device
CN109658934B (en) Method and device for controlling multimedia app through voice
CN112799656B (en) Script file configuration method, device, equipment and storage medium for automation operation
CN113436631A (en) Voice information processing method and system and device for voice information processing
CN107219780B (en) Control method of controlled device, control device, configuration method of control device and terminal
JP4678217B2 (en) Method and apparatus for managing numerical control apparatus
CN104144076B (en) A kind of flow process error control method, device and system
CN103873527A (en) Data processing method, electronic equipment and server
JP2007134843A (en) Communication terminal, remote operation method and program
JP4305395B2 (en) Telephone system and curled cordless telephone
CN105843672A (en) Control method, device and system for application program
CN106126096B (en) Application control method, control device and terminal
JP2019213141A (en) Electrical appliance, communication adaptor, electrical appliance setting method, and program
CN101971562B (en) Method, device and system for controlling automatic running process performance
JP2018169969A (en) Reliability determination device, reliability determination system, and source code shared system
CN115620710A (en) Speech recognition method, speech recognition device, storage medium and electronic device
JP6382026B2 (en) Message transmission server, external device, message transmission system, message transmission server control method, control program, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22790699

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22790699

Country of ref document: EP

Kind code of ref document: A1