WO2023236810A1 - Air conditioner control method and system - Google Patents

Air conditioner control method and system Download PDF

Info

Publication number
WO2023236810A1
WO2023236810A1 PCT/CN2023/097053 CN2023097053W WO2023236810A1 WO 2023236810 A1 WO2023236810 A1 WO 2023236810A1 CN 2023097053 W CN2023097053 W CN 2023097053W WO 2023236810 A1 WO2023236810 A1 WO 2023236810A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
air conditioner
target
state
smart air
Prior art date
Application number
PCT/CN2023/097053
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 WO2023236810A1 publication Critical patent/WO2023236810A1/en

Links

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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • 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

Abstract

An air conditioner control method and system. The method comprises: when it is detected that a smart air conditioner is powered on, turning on the Bluetooth of the smart air conditioner, and controlling, according to a device state of the smart air conditioner, the smart air conditioner to enable a default state; receiving a first user instruction, the first user instruction being used for enabling a first target function of occupying the Bluetooth; not responding to the first user instruction or responding to the first user instruction according to the device state; when responding to the first user instruction, controlling the smart air conditioner to switch from the default state to a first target state corresponding to the first target function; and using a preset audio focus occupancy policy to allocate an audio focus of the smart air conditioner to a target channel to play voice information corresponding to the first target function. Therefore, the function of freely switching the smart air conditioner to use the Bluetooth is achieved.

Description

一种空调控制方法及系统Air conditioning control method and system
本申请基于申请号为202210646096.3、申请日为2022年6月9日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with application number 202210646096.3 and a filing date of June 9, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application as a reference.
技术领域Technical field
本发明涉及控制技术领域,具体涉及一种空调控制方法及系统。The present invention relates to the field of control technology, and in particular to an air conditioning control method and system.
背景技术Background technique
随着科学技术的发展,诸如空调等家电设备也越来越智能化。目前的智能空调通常都配置有蓝牙和扬声器等模块,智能空调具有较多使用蓝牙的功能,因此如何自由切换智能空调使用蓝牙的功能,是目前亟需待解决的问题。With the development of science and technology, home appliances such as air conditioners are becoming more and more intelligent. Current smart air conditioners are usually equipped with modules such as Bluetooth and speakers. Smart air conditioners have many functions that use Bluetooth. Therefore, how to freely switch the function of smart air conditioners using Bluetooth is an urgent problem that needs to be solved.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种空调控制方法及系统,以实现自由切换智能空调使用蓝牙的功能。In view of this, embodiments of the present invention provide an air conditioning control method and system to realize free switching of the function of smart air conditioners using Bluetooth.
为实现上述目的,本发明实施例提供如下技术方案:To achieve the above objectives, embodiments of the present invention provide the following technical solutions:
本发明实施例第一方面公开一种空调控制方法,所述方法包括:A first aspect of the embodiment of the present invention discloses an air conditioning control method. The method includes:
在检测到智能空调上电时,开启所述智能空调的蓝牙,并根据所述智能空调的设备状态控制所述智能空调启用默认状态;When it is detected that the smart air conditioner is powered on, turn on the Bluetooth of the smart air conditioner, and control the smart air conditioner to enable a default state according to the device status of the smart air conditioner;
接收第一用户指令,所述第一用户指令用于启动占用所述蓝牙的第一目标功能;Receive a first user instruction, the first user instruction is used to start occupying the first target function of the Bluetooth;
根据所述设备状态,不响应所述第一用户指令,或,响应所述第一用户指令;According to the device status, do not respond to the first user instruction, or respond to the first user instruction;
在响应所述第一用户指令时,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态;In response to the first user instruction, control the smart air conditioner to switch from the default state to a first target state corresponding to the first target function;
利用预设的音频焦点占用策略,将所述智能空调的音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息。Using a preset audio focus occupation strategy, the audio focus of the smart air conditioner is assigned to the target channel to play the voice information corresponding to the first target function.
优选的,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态的过程,包括:Preferably, the process of controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function includes:
确定所述默认状态与所述第一目标功能对应的第一目标状态是否一致;Determine whether the default state is consistent with the first target state corresponding to the first target function;
若所述默认状态和所述第一目标状态一致,控制所述智能空调保持所述默认状态; If the default state is consistent with the first target state, control the smart air conditioner to maintain the default state;
若所述默认状态与所述第一目标状态不一致,控制所述智能空调从所述默认状态切换为所述第一目标状态。If the default state is inconsistent with the first target state, the smart air conditioner is controlled to switch from the default state to the first target state.
优选的,利用预设的音频焦点占用策略,将所述智能空调的音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息,包括:Preferably, a preset audio focus occupation strategy is used to assign the audio focus of the smart air conditioner to a target channel to play the voice information corresponding to the first target function, including:
确定所述智能空调的音频焦点是否被第一其它信道占用;Determine whether the audio focus of the smart air conditioner is occupied by the first other channel;
若所述音频焦点被第一其它信道占用,抢占所述音频焦点以使所述第一其它信道失活,并确定是否存在第二其它信道需要活跃;If the audio focus is occupied by a first other channel, seize the audio focus to deactivate the first other channel, and determine whether there is a second other channel that needs to be active;
若不存在所述第二其它信道需要活跃,或,若存在所述第二其它信道活跃,将所述音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息,其中,所述目标信道的信道优先级高于所述第一其它信道和所述第二其它信道的信道优先级。If there is no second other channel that needs to be active, or if there is the second other channel that is active, the audio focus is assigned to the target channel to play the voice information corresponding to the first target function, wherein, the The channel priority of the target channel is higher than the channel priorities of the first other channel and the second other channel.
优选的,所述方法还包括:Preferably, the method further includes:
在播放所述第一目标功能对应的语音信息的过程中,若存在至少一个第三其它信道需要活跃,抢占所述音频焦点以使所述目标信道失活;During the process of playing the voice information corresponding to the first target function, if there is at least one third other channel that needs to be active, seize the audio focus to deactivate the target channel;
将所述音频焦点分配给信道优先级最高的所述第三其它信道。The audio focus is assigned to the third other channel with the highest channel priority.
优选的,根据所述设备状态,不响应所述第一用户指令,或,响应所述第一用户指令,包括:Preferably, according to the device status, not responding to the first user instruction, or responding to the first user instruction includes:
当所述设备状态为第一特定状态、第三特定状态或第四特定状态时,响应所述第一用户指令;When the device status is the first specific state, the third specific state, or the fourth specific state, respond to the first user instruction;
当所述设备状态为第二特定状态时,不响应所述第一用户指令;When the device status is the second specific status, do not respond to the first user instruction;
其中,所述第一特定状态指示:无配网历史且未收到WIFI的配置信息;所述第二特定状态指示:无配网历史、收到所述配置信息且连接无线接入点中;所述第三特定状态指示:存在配网历史且连接无线接入点中;所述第四特定状态指示:配网成功且接收到配置信息。Wherein, the first specific status indication: no network configuration history and no WIFI configuration information has been received; the second specific status indication: no network configuration history, the configuration information is received and the wireless access point is connected; The third specific status indication: there is a network configuration history and the wireless access point is connected; the fourth specific status indication: the network configuration is successful and configuration information is received.
优选的,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态之后,所述方法还包括:Preferably, after controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function, the method further includes:
接收第二用户指令,所述第二用户指令用于启动占用所述蓝牙的第二目标功能;Receive a second user instruction, the second user instruction is used to start occupying the second target function of the Bluetooth;
响应所述第二用户指令,以控制所述智能空调从所述第一目标状态切换为所述第二目标功能对应的第二目标状态;Respond to the second user instruction to control the smart air conditioner to switch from the first target state to a second target state corresponding to the second target function;
利用所述音频焦点占用策略,将所述音频焦点分配给目标信道以播放所述第二目标功能对应的语音信息。Using the audio focus occupation policy, the audio focus is allocated to a target channel to play voice information corresponding to the second target function.
优选的,所述方法还包括: Preferably, the method further includes:
接收蓝牙关闭指令;Receive Bluetooth shutdown command;
当所述设备状态为第一特定状态、第三特定状态或第四特定状态时,响应所述蓝牙关闭指令以控制所述智能空调关闭所述蓝牙;When the device state is the first specific state, the third specific state or the fourth specific state, respond to the Bluetooth turn-off instruction to control the smart air conditioner to turn off the Bluetooth;
利用所述音频焦点占用策略,将所述音频焦点分配给目标信道以播放用于指示关闭所述蓝牙的语音信息。Using the audio focus occupation policy, the audio focus is assigned to a target channel to play voice information indicating to turn off the Bluetooth.
本发明实施例第二方面公开一种空调控制系统,所述系统包括:A second aspect of the embodiment of the present invention discloses an air conditioning control system. The system includes:
第一控制单元,用于在检测到智能空调上电时,开启所述智能空调的蓝牙,并根据所述智能空调的设备状态控制所述智能空调启用默认状态;The first control unit is configured to turn on the Bluetooth of the smart air conditioner when it is detected that the smart air conditioner is powered on, and control the smart air conditioner to enable a default state according to the equipment status of the smart air conditioner;
第一接收单元,用于接收第一用户指令,所述第一用户指令用于启动占用所述蓝牙的第一目标功能;A first receiving unit configured to receive a first user instruction, the first user instruction being used to activate the first target function that occupies the Bluetooth;
处理单元,用于根据所述设备状态,不响应所述第一用户指令,或,响应所述第一用户指令;A processing unit configured to not respond to the first user instruction, or to respond to the first user instruction according to the device status;
第二控制单元,用于在响应所述第一用户指令时,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态;a second control unit configured to control the smart air conditioner to switch from the default state to a first target state corresponding to the first target function when responding to the first user instruction;
分配单元,用于利用预设的音频焦点占用策略,将所述智能空调的音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息。An allocation unit is configured to use a preset audio focus occupation strategy to allocate the audio focus of the smart air conditioner to a target channel to play the voice information corresponding to the first target function.
优选的,所述第二控制单元具体用于:确定所述默认状态与所述第一目标功能对应的第一目标状态是否一致;若所述默认状态和所述第一目标状态一致,控制所述智能空调保持所述默认状态;若所述默认状态与所述第一目标状态不一致,控制所述智能空调从所述默认状态切换为所述第一目标状态。Preferably, the second control unit is specifically configured to: determine whether the default state is consistent with the first target state corresponding to the first target function; if the default state is consistent with the first target state, control all The smart air conditioner maintains the default state; if the default state is inconsistent with the first target state, the smart air conditioner is controlled to switch from the default state to the first target state.
优选的,所述分配单元包括:Preferably, the distribution unit includes:
确定子单元,用于确定所述智能空调的音频焦点是否被第一其它信道占用;Determining subunit, used to determine whether the audio focus of the smart air conditioner is occupied by the first other channel;
处理子单元,用于若所述音频焦点被第一其它信道占用,抢占所述音频焦点以使所述第一其它信道失活,并确定是否存在第二其它信道需要活跃;A processing subunit configured to, if the audio focus is occupied by a first other channel, preempt the audio focus to deactivate the first other channel, and determine whether there is a second other channel that needs to be active;
分配子单元,用于若不存在所述第二其它信道需要活跃,或,若存在所述第二其它信道活跃,将所述音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息,其中,所述目标信道的信道优先级高于所述第一其它信道和所述第二其它信道的信道优先级。Allocation subunit, configured to allocate the audio focus to the target channel to play the voice corresponding to the first target function if there is no second other channel that needs to be active, or if the second other channel is active. Information, wherein the channel priority of the target channel is higher than the channel priorities of the first other channel and the second other channel.
基于上述本发明实施例提供的一种空调控制方法及系统,该方法为:在检测到智能空调上电时,开启智能空调的蓝牙,并根据智能空调的设备状态控制智能空调启用默认状态;接收第一用户指令,第一用户指令用于启动占用蓝牙的第一目标功能;根据设备状态,不响应第一用户指令,或,响应第一用户指令;在响应第一用户指令时,控制智能空调从默 认状态切换为第一目标功能对应的第一目标状态;利用预设的音频焦点占用策略,将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息。本方案中,在接收到用于启动需要占用蓝牙的第一目标功能的第一用户指令时,根据智能空调的设备状态,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态,并利用音频焦点占用策略将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息,以实现自由切换智能空调使用蓝牙的功能。An air conditioning control method and system are provided based on the above embodiments of the present invention. The method is: when detecting that the smart air conditioner is powered on, turning on the Bluetooth of the smart air conditioner, and controlling the smart air conditioner to enable the default state according to the equipment status of the smart air conditioner; receiving The first user instruction is used to start the first target function of occupying Bluetooth; according to the device status, it does not respond to the first user instruction, or responds to the first user instruction; when responding to the first user instruction, the smart air conditioner is controlled. From silence The recognition state is switched to the first target state corresponding to the first target function; using the preset audio focus occupation strategy, the audio focus of the smart air conditioner is assigned to the target channel to play the voice information corresponding to the first target function. In this solution, when receiving the first user instruction for activating the first target function that requires Bluetooth to be occupied, the smart air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function according to the equipment status of the smart air conditioner. , and use the audio focus occupancy strategy to allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function, so as to achieve free switching of the smart air conditioner's function of using Bluetooth.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without exerting creative efforts.
图1为本发明实施例提供的一种空调控制方法的流程图;Figure 1 is a flow chart of an air conditioning control method provided by an embodiment of the present invention;
图2为本发明实施例提供的信道详情信息的示例图;Figure 2 is an example diagram of channel detailed information provided by an embodiment of the present invention;
图3为本发明实施例提供的将音频焦点分配给目标信道的流程图;Figure 3 is a flow chart of allocating audio focus to a target channel according to an embodiment of the present invention;
图4为本发明实施例提供的一种空调控制系统的结构框图。Figure 4 is a structural block diagram of an air conditioning control system provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes none. Other elements expressly listed, or elements inherent to such process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
由背景技术可知,目前智能空调具有较多使用蓝牙的功能,因此如何自由切换智能空调使用蓝牙的功能,是目前亟需待解决的问题。It can be seen from the background technology that currently smart air conditioners have many functions using Bluetooth. Therefore, how to freely switch the functions of smart air conditioners using Bluetooth is an issue that needs to be solved urgently.
因此,本发明实施例提供一种空调控制方法及系统,在接收到用于启动需要占用蓝牙的第一目标功能的第一用户指令时,根据智能空调的设备状态,控制智能空调从默认状态 切换为第一目标功能对应的第一目标状态,并利用音频焦点占用策略将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息,以实现自由切换智能空调使用蓝牙的功能。Therefore, embodiments of the present invention provide an air-conditioning control method and system that, upon receiving a first user instruction for activating the first target function that requires occupying Bluetooth, controls the smart air-conditioner to change from the default state according to the equipment status of the smart air-conditioner. Switch to the first target state corresponding to the first target function, and use the audio focus occupancy strategy to allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function to achieve free switching of the smart air conditioner's function of using Bluetooth .
请参见图1,示出了本发明实施例提供的一种空调控制方法的流程图,该空调控制方法包括:Please refer to Figure 1, which shows a flow chart of an air conditioning control method provided by an embodiment of the present invention. The air conditioning control method includes:
步骤S101:在检测到智能空调上电时,开启智能空调的蓝牙,并根据智能空调的设备状态控制智能空调启用默认状态。Step S101: When it is detected that the smart air conditioner is powered on, the Bluetooth of the smart air conditioner is turned on, and the smart air conditioner is controlled to enable the default state according to the device status of the smart air conditioner.
在具体实现步骤S101的过程中,在检测到智能空调上电时(或者说在检测到智能空调启动时),开启该智能空调的蓝牙;根据该智能空调所处的设备状态,控制该智能空调启用默认状态(或者说进入默认状态)。In the specific implementation of step S101, when it is detected that the smart air conditioner is powered on (or when it is detected that the smart air conditioner is started), the Bluetooth of the smart air conditioner is turned on; the smart air conditioner is controlled according to the equipment status of the smart air conditioner. Enable the default state (or enter the default state).
一些实施例中,默认状态为配网状态、蓝牙功能音箱广播状态或无特定状态,其中,无特定状态为智能空调不启用任意蓝牙功能广播状态;默认状态可以根据实际情况设定,前述所给出的默认状态的内容仅为示例,本发明实施例中对默认状态的实际情况不做具体限定。In some embodiments, the default state is the network distribution state, the Bluetooth function speaker broadcast state, or no specific state, where the no specific state means that the smart air conditioner does not enable any Bluetooth function broadcast state; the default state can be set according to the actual situation, as given above The content of the default state shown is only an example, and the actual situation of the default state is not specifically limited in the embodiment of the present invention.
需要说明的是,智能空调配置有多个需占用蓝牙的功能,该蓝牙每次只能被其中一个功能所占用。It should be noted that the smart air conditioner is configured with multiple functions that require Bluetooth, and the Bluetooth can only be occupied by one of the functions at a time.
步骤S102:接收第一用户指令。Step S102: Receive the first user instruction.
需要说明的是,第一用户指令用于启动占用蓝牙的第一目标功能。It should be noted that the first user instruction is used to activate the first target function of occupying Bluetooth.
在具体实现步骤S102的过程中,接收第一用户指令,其中,第一用户指令可以通过语音触发,例如:智能空调配置有能够检测语音信号的设备(如麦克风),通过解析用户的语音信号以得到第一用户指令;同理,第一用户指令也可以由遥控设备触发,例如:用户通过智能空调的遥控设备触发第一用户指令;在本发明实施例中对第一用户指令的触发方式不做具体限定。During the specific implementation of step S102, a first user instruction is received, where the first user instruction can be triggered by voice. For example, the smart air conditioner is equipped with a device (such as a microphone) capable of detecting voice signals, and the user's voice signal is analyzed to detect the voice signal. Obtain the first user instruction; similarly, the first user instruction can also be triggered by the remote control device. For example, the user triggers the first user instruction through the remote control device of the smart air conditioner; in the embodiment of the present invention, the triggering method of the first user instruction does not change. Make specific limitations.
一些实施例中,第一目标功能可以是空调联网功能、蓝牙音箱功能或小程序功能(也称为蓝牙小程序功能)等需要占用蓝牙的功能。在启动第一目标功能后,智能空调会进入该第一目标功能对应的第一目标状态,例如:启动蓝牙音箱功能后,智能空调进入蓝牙音箱功能广播状态(第一目标状态);启动空调联网功能后,智能空调进入配网状态(第一目标状态);启动小程序功能后,智能空调进入小程序功能广播状态(第一目标状态)。In some embodiments, the first target function may be an air conditioner networking function, a Bluetooth speaker function, or an applet function (also called a Bluetooth applet function) that requires Bluetooth. After activating the first target function, the smart air conditioner will enter the first target state corresponding to the first target function. For example: after activating the Bluetooth speaker function, the smart air conditioner will enter the Bluetooth speaker function broadcast state (first target state); start the air conditioner networking After the function, the smart air conditioner enters the network distribution state (the first target state); after starting the mini program function, the smart air conditioner enters the mini program function broadcast state (the first target state).
需要说明的是,启动智能空调的小程序功能后,用户可以通过小程序控制智能空调。It should be noted that after activating the mini program function of the smart air conditioner, the user can control the smart air conditioner through the mini program.
一些实施例中,智能空调进入蓝牙音箱功能广播状态或小程序功能广播状态时,智能空调(相当于从设备)可以与手机等移动终端(相当于主设备)进行蓝牙配对连接;蓝牙 配对连接成功后,手机等移动终端可以通过蓝牙控制智能空调。智能空调与手机等移动终端进行蓝牙配对连接的过程主要包括蓝牙设备配对步骤、蓝牙设备连接步骤和蓝牙设备控制步骤,以下分别针对蓝牙配对连接的过程进行解释说明。In some embodiments, when the smart air conditioner enters the Bluetooth speaker function broadcast state or the applet function broadcast state, the smart air conditioner (equivalent to the slave device) can perform Bluetooth pairing connection with a mobile terminal such as a mobile phone (equivalent to the master device); Bluetooth After the pairing connection is successful, mobile terminals such as mobile phones can control the smart air conditioner through Bluetooth. The process of Bluetooth pairing and connection between a smart air conditioner and a mobile terminal such as a mobile phone mainly includes Bluetooth device pairing steps, Bluetooth device connection steps and Bluetooth device control steps. The following is an explanation of the Bluetooth pairing and connection process.
蓝牙设备配对步骤:从设备(智能空调)打开蓝牙,以使自身的设备标识(或者说蓝牙的名称)可以被附近的设备搜索到,从设备的设备标识可以统一设置为“AC-XXXX(WIFI-mac地址后四位)”。主设备(移动终端)打开蓝牙搜索附近可以连接的设备;从设备和主设备之间以配对的形式完成首次通讯认证。Bluetooth device pairing steps: Turn on Bluetooth from the device (smart air conditioner) so that its own device identification (or Bluetooth name) can be searched by nearby devices. The device identification of the slave device can be set to "AC-XXXX (WIFI) -last four digits of mac address)". The master device (mobile terminal) turns on Bluetooth and searches for nearby devices that can be connected; the slave device and the master device complete the first communication authentication in the form of pairing.
蓝牙设备连接步骤:对于主设备而言,可直接连接已有配对连接成功历史的从设备(无需再次配对),主设备打开蓝牙开关后自动连接上一次连接的从设备。主设备与从设备成功连接后,从设备可播放“蓝牙已连接”这一语音信息;主设备与从设备连接失败或蓝牙断开后,从设备可播放“蓝牙已断开”这一语音信息。Bluetooth device connection steps: For the master device, you can directly connect to the slave device that has a history of successful pairing and connection (no need to pair again). The master device will automatically connect to the last connected slave device after turning on the Bluetooth switch. After the master device and the slave device are successfully connected, the slave device can play the voice message "Bluetooth is connected"; after the connection between the master device and the slave device fails or Bluetooth is disconnected, the slave device can play the voice message "Bluetooth is disconnected" .
蓝牙设备控制步骤:主设备与从设备成功连接后,主设备可控制从设备播放音频类信息,具体可以触发播放/继续播放、暂停、上一首、下一首、快进、快退、声音增大、声音减小等指令。Bluetooth device control steps: After the master device and the slave device are successfully connected, the master device can control the slave device to play audio information. Specifically, it can trigger play/continue play, pause, previous song, next song, fast forward, rewind, and sound. Increase, decrease, etc. commands.
步骤S103:根据设备状态,不响应第一用户指令,或,响应第一用户指令。Step S103: According to the device status, do not respond to the first user instruction, or respond to the first user instruction.
需要说明的是,设备状态为第一特定状态、第二特定状态、第三特定状态或第四特定状态;其中,第一特定状态指示:智能空调无配网历史且未收到WIFI的配置信息;第二特定状态指示:智能空调无配网历史、收到配置信息且连接无线接入点(AP)中;第三特定状态指示:智能空调存在配网历史且连接无线接入点中;第四特定状态指示:配网成功且接收到配置信息。It should be noted that the device status is a first specific state, a second specific state, a third specific state or a fourth specific state; wherein, the first specific state indicates: the smart air conditioner has no network distribution history and has not received WIFI configuration information. ; The second specific status indication: the smart air conditioner has no network distribution history, has received configuration information and is connected to a wireless access point (AP); the third specific status indication: the smart air conditioner has a network distribution history and is connected to the wireless access point; the third specific status indication: the smart air conditioner has a network distribution history and is connected to the wireless access point; Four specific status indications: Network configuration is successful and configuration information is received.
设备状态为第一特定状态时,默认状态可以是配网状态;设备状态为第二状态或第三状态时,默认状态可以是无特定状态;设备状态为第四特定状态时,默认状态可以是蓝牙功能音箱广播状态。When the device state is the first specific state, the default state may be the network distribution state; when the device state is the second state or the third state, the default state may be no specific state; when the device state is the fourth specific state, the default state may be Bluetooth-enabled speakers broadcast status.
在具体实现步骤S103的过程中,当设备状态为第一特定状态、第三特定状态或第四特定状态时,响应第一用户指令。During the specific implementation of step S103, when the device state is the first specific state, the third specific state, or the fourth specific state, the first user instruction is responded to.
当设备状态为第二特定状态时,不响应第一用户指令,也就是说,如果智能空调无配网历史,但智能空调收到配置信息且正在连接AP(或者正在绑定AP)中,此时不响应第一用户指令。When the device status is the second specific state, it does not respond to the first user command. That is to say, if the smart air conditioner has no network configuration history, but the smart air conditioner has received configuration information and is connecting to the AP (or binding to the AP), this does not respond to the first user command.
步骤S104:在响应第一用户指令时,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态。Step S104: In response to the first user instruction, control the smart air conditioner to switch from the default state to the first target state corresponding to the first target function.
在具体实现步骤S104的过程中,在响应第一用户指令时,控制智能空调从默认状态 切换为第一目标功能对应的第一目标状态,具体而言,控制智能空调退出(或者说停止)默认状态,再控制智能空调进入第一目标状态。During the specific implementation of step S104, in response to the first user instruction, the smart air conditioner is controlled to change from the default state to Switch to the first target state corresponding to the first target function. Specifically, control the smart air conditioner to exit (or stop) the default state, and then control the smart air conditioner to enter the first target state.
需要说明的是,第一目标状态可能与默认状态相同,例如:智能空调处于联网状态这一默认状态下,用户触发第一用户指令以触发空调联网功能(相应的第一目标状态为配网状态),此时第一目标状态为与默认状态相同。It should be noted that the first target state may be the same as the default state. For example, in the default state of the smart air conditioner being in the networking state, the user triggers the first user instruction to trigger the air conditioner networking function (the corresponding first target state is the network distribution state ), at this time the first target state is the same as the default state.
一些实施例中,确定默认状态与第一目标功能对应的第一目标状态是否一致;若默认状态和第一目标状态一致,控制智能空调保持默认状态;若默认状态与第一目标状态不一致,控制智能空调从默认状态切换为第一目标状态。In some embodiments, it is determined whether the default state is consistent with the first target state corresponding to the first target function; if the default state is consistent with the first target state, the smart air conditioner is controlled to maintain the default state; if the default state is inconsistent with the first target state, the smart air conditioner is controlled to maintain the default state. The smart air conditioner switches from the default state to the first target state.
例如:设智能空调的默认状态为配网状态,第一目标状态为也配网状态;响应第一用户指令,控制智能空调保持配网状态。For example: assume that the default state of the smart air conditioner is the network distribution state, and the first target state is the network distribution state; in response to the first user instruction, the smart air conditioner is controlled to maintain the network distribution state.
又例如:设智能空调的默认状态为配网状态,第一目标状态为蓝牙音箱功能广播状态,响应第一用户指令,先控制智能空调停止配网状态,再控制智能空调进入蓝牙音箱功能广播状态。Another example: Assume that the default state of the smart air conditioner is the network distribution state, and the first target state is the Bluetooth speaker function broadcast state. In response to the first user instruction, the smart air conditioner is first controlled to stop the network distribution state, and then the smart air conditioner is controlled to enter the Bluetooth speaker function broadcast state. .
步骤S105:利用预设的音频焦点占用策略,将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息。Step S105: Using the preset audio focus occupation strategy, allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function.
需要说明的是,智能空调设置有播放装置(如音箱);目标信道用于播放TTS(Text To Speech),智能空调的音频焦点每次只能分配给一个信道,或者说,音频焦点每次只能被一个信道占用(相当于只有一个信道可以活跃)。It should be noted that the smart air conditioner is equipped with a playback device (such as a speaker); the target channel is used to play TTS (Text To Speech). The audio focus of the smart air conditioner can only be assigned to one channel at a time, or in other words, the audio focus can only be assigned to one channel at a time. Can be occupied by one channel (equivalent to only one channel can be active).
信道包括但不仅限于:语音输出信道(也就是目标信道)、通话信道、语音输入信道、闹钟信道和内容信道等;每个信道都设置有相应的信道详情信息,该信道详情信息包括但不仅限于:信道优先级、主动获取音频焦点时机、抢占音频焦点时机、主动释放音频焦点时机和失音频焦点时机等。Channels include but are not limited to: voice output channels (that is, target channels), call channels, voice input channels, alarm clock channels, content channels, etc.; each channel is set with corresponding channel details, which include but are not limited to : Channel priority, the timing of automatically acquiring audio focus, the timing of seizing audio focus, the timing of automatically releasing audio focus, and the timing of losing audio focus, etc.
例如图2提供的信道详情信息的示例图,信道包括:语音输出信道(也就是目标信道)、通话信道、语音输入信道、闹钟信道和内容信道。每个信道都设置有信道优先级、主动获取音频焦点时机、抢占音频焦点时机、主动释放音频焦点时机和失音频焦点时机,其中,语音输出信道的信道优先级最高,内容信道的信道优先级最低。对于通话信道,通话信道的信道优先级为2级,通话信道的主动获取音频焦点时机为“通过音箱拨打客服电话”,通话信道的抢占音频焦点时机为“本地提示音/云端tts活跃”,通话信道的主动释放音频焦点时机为“通话结束”,通话信道的失音频焦点时机为“停止录音”;对于其它信道的信道优先级、主动获取音频焦点时机、抢占音频焦点时机、主动释放音频焦点时机和失音频焦点时机等,可见图2示出的内容,在此不再一一详细说明。 For example, Figure 2 provides an example diagram of channel detailed information. Channels include: voice output channel (that is, target channel), call channel, voice input channel, alarm clock channel, and content channel. Each channel is set with channel priority, the timing of actively acquiring audio focus, the timing of seizing audio focus, the timing of actively releasing audio focus, and the timing of losing audio focus. Among them, the voice output channel has the highest channel priority, and the content channel has the lowest channel priority. . For the call channel, the channel priority of the call channel is level 2, the call channel's active audio focus acquisition time is "dial the customer service phone through the speaker", the call channel's audio focus preemption time is "local prompt tone/cloud tts active", call The channel's active audio focus release timing is "call end", and the call channel's audio focus loss timing is "stop recording"; for other channels, the channel priority, the timing of actively acquiring audio focus, the timing of preempting audio focus, and the timing of proactively releasing audio focus The timing of losing audio focus, etc. can be seen from the content shown in Figure 2, and will not be explained in detail here.
预先设置音频焦点占用策略,通过音频焦点占用策略来分配智能空调的音频焦点,音频焦点占用策略具有以下四点规则。The audio focus occupancy policy is set in advance, and the audio focus of the smart air conditioner is allocated through the audio focus occupancy policy. The audio focus occupancy policy has the following four rules.
第一点规则:同时只有一个信道能够活跃,或者说,音频焦点只能被一个信道占用。The first rule: only one channel can be active at the same time, or in other words, the audio focus can only be occupied by one channel.
第二点规则:若多个信道需要活跃(或者多个信道需要占用音频焦点),则根据信道优先级将音频焦点分配给信道优先级最高的信道。The second rule: If multiple channels need to be active (or multiple channels need to occupy the audio focus), the audio focus will be assigned to the channel with the highest channel priority according to the channel priority.
第三点规则:同一个信道的业务互斥,采用就近分配原则,即同一个信道的新业务打断旧的业务。The third rule: services on the same channel are mutually exclusive and adopt the nearest allocation principle, that is, new services on the same channel interrupt old services.
第四点规则:对于需要活跃的任意信道,如果当前占据音频焦点的信道的信道优先级高于该任意信道(前述提及的需要活跃的信道),则需要抢占音频焦点,抢占音频焦点之后再按照信道优选级分配音频焦点,其中,优先将音频焦点分配给信道优先级高的信道。例如:结合图2示出的内容,当前是语音输出信道正在占用音频焦点(即智能空调当前正在播放tts),此时闹钟信道和内容信道(如蓝牙音频)需要活跃,此时需要先抢占语音输出信道的音频焦点(或者说抢tts的音频焦点),使语音输出信道失去活跃;由于闹钟信道的信道优先级比内容信道的信道优先级高,判定将音频焦点分配给闹钟信道。The fourth rule: For any channel that needs to be active, if the channel priority of the channel currently occupying the audio focus is higher than that of any channel (the aforementioned channel that needs to be active), the audio focus needs to be preempted, and then the audio focus needs to be preempted. The audio focus is allocated according to the channel priority, wherein the audio focus is preferentially allocated to the channel with a high channel priority. For example: combined with the content shown in Figure 2, the voice output channel is currently occupying the audio focus (that is, the smart air conditioner is currently playing TTS). At this time, the alarm channel and content channel (such as Bluetooth audio) need to be active. At this time, the voice needs to be preempted first. The audio focus of the output channel (or grabbing the audio focus of tts) makes the voice output channel inactive; since the channel priority of the alarm channel is higher than the channel priority of the content channel, it is determined that the audio focus is assigned to the alarm channel.
在具体实现步骤S105的过程中,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态之后,利用音频焦点占用策略,将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息,不同的第一目标功能所对应的语音信息(相当于tts)有所不同。例如:将智能空调从默认状态切换为蓝牙音箱功能后,将智能空调的音频焦点分配给目标信道以播放“以为您打开蓝牙音箱功能,请使用手机等设备完成蓝牙配对连接”这一tts。During the specific implementation of step S105, after controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function, the audio focus occupancy strategy of the smart air conditioner is used to allocate the audio focus of the smart air conditioner to the target channel to play the first target The voice information corresponding to the function, the voice information corresponding to different first target functions (equivalent to tts) is different. For example: after switching the smart air conditioner from the default state to the Bluetooth speaker function, assign the audio focus of the smart air conditioner to the target channel to play the tts "To turn on the Bluetooth speaker function for you, please use a mobile phone or other device to complete the Bluetooth pairing connection."
在本发明实施例中,在接收到用于启动需要占用蓝牙的第一目标功能的第一用户指令时,根据智能空调的设备状态,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态,并利用音频焦点占用策略将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息,以实现自由切换智能空调使用蓝牙的功能。In the embodiment of the present invention, when receiving the first user instruction for activating the first target function that requires occupying Bluetooth, the smart air conditioner is controlled to switch from the default state to the third target function corresponding to the first target function according to the equipment status of the smart air conditioner. A target state, and uses the audio focus occupancy strategy to allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function, so as to achieve free switching of the smart air conditioner's function of using Bluetooth.
上述本发明实施例图1步骤S105中涉及的将音频焦点分配给目标信道的过程,请参见图3,示出了本发明实施例提供的将音频焦点分配给目标信道的流程图,包括以下步骤:For the process of allocating audio focus to the target channel involved in step S105 in Figure 1 of the embodiment of the present invention, please refer to Figure 3, which shows a flow chart of allocating audio focus to the target channel provided by the embodiment of the present invention, including the following steps :
步骤S301:确定智能空调的音频焦点是否被第一其它信道占用。若音频焦点未被第一其它信道占用,执行步骤S304;若音频焦点被第一其它信道占用,执行步骤S302和步骤S303。Step S301: Determine whether the audio focus of the smart air conditioner is occupied by the first other channel. If the audio focus is not occupied by the first other channel, step S304 is executed; if the audio focus is occupied by the first other channel, step S302 and step S303 are executed.
需要说明的是,目标信道的信道优先级高于第一其它信道和第二其它信道的信道优先级。如图2所示,目标信道为语音输出通道,目标信道的信道优先级高于其它信道。 It should be noted that the channel priority of the target channel is higher than the channel priorities of the first other channel and the second other channel. As shown in Figure 2, the target channel is the voice output channel, and the target channel has a higher channel priority than other channels.
在具体实现步骤S301的过程中,根据上述本发明实施例图1步骤S105中提及的音频焦点占用策略的规则,在控制智能空调从默认状态切换为第一目标状态之后,目标信道需要活跃;此时先判断智能空调的音频焦点是否被第一其它信道占用,或者说,先判断音频焦点当前是否被第一其它信道占用。In the process of specifically implementing step S301, according to the rules of the audio focus occupancy strategy mentioned in step S105 of Figure 1 of the embodiment of the present invention, after controlling the smart air conditioner to switch from the default state to the first target state, the target channel needs to be active; At this time, it is first determined whether the audio focus of the smart air conditioner is occupied by the first other channel, or in other words, it is first determined whether the audio focus is currently occupied by the first other channel.
如果音频焦点未被第一其它信道占用,执行步骤S304以将音频焦点分配给目标信道以播放第一目标功能对应的语音信息。If the audio focus is not occupied by the first other channel, step S304 is executed to allocate the audio focus to the target channel to play the voice information corresponding to the first target function.
如果音频焦点被第一其它信道占用,执行步骤S302先抢占音频焦点。If the audio focus is occupied by the first other channel, step S302 is executed to first seize the audio focus.
步骤S302:抢占音频焦点以使第一其它信道失活。Step S302: Seize the audio focus to deactivate the first other channel.
在具体实现步骤S302的过程中,如果音频焦点被第一其它信道占用,先抢占音频焦点以使第一其它信道失去活跃。During the specific implementation of step S302, if the audio focus is occupied by the first other channel, the audio focus is first preempted to make the first other channel inactive.
步骤S303:确定是否存在第二其它信道需要活跃。若不存在第二其它信道需要活跃,或,若存在第二其它信道活跃,执行步骤S304。Step S303: Determine whether there is a second other channel that needs to be active. If there is no second other channel that needs to be active, or if there is a second other channel that is active, step S304 is performed.
在具体实现步骤S303的过程中,抢占音频焦点以使第一其它信道失去活跃之后,确定是否存在第二其它信道需要活跃,也就是说,除了目标信道需要活跃之外,还需要确定是否存在第二其它信道需要活跃。In the process of specifically implementing step S303, after seizing the audio focus to make the first other channel inactive, it is determined whether there is a second other channel that needs to be active. That is to say, in addition to the target channel needing to be active, it is also necessary to determine whether there is a third other channel that needs to be active. 2. Other channels need to be active.
由于目标信道的信道优先级最高,故无论第二其它信道是否需要活跃,都是将音频焦点分配给目标信道;也就是说,若不存在第二其它信道需要活跃,或,若存在第二其它信道活跃,执行步骤S304,将音频焦点分配给目标信道以播放第一目标功能对应的语音信息。Since the target channel has the highest channel priority, the audio focus is assigned to the target channel regardless of whether the second other channel needs to be active; that is, if there is no second other channel that needs to be active, or if there is a second other channel If the channel is active, step S304 is executed to allocate the audio focus to the target channel to play the voice information corresponding to the first target function.
步骤S304:将音频焦点分配给目标信道以播放第一目标功能对应的语音信息。Step S304: Assign the audio focus to the target channel to play the voice information corresponding to the first target function.
一些实施例中,在播放第一目标功能对应的语音信息的过程中,若存在至少一个第三其它信道需要活跃,抢占音频焦点以使所述目标信道失活;将音频焦点分配给信道优先级最高的第三其它信道。也就是说,目标信道在占用音频焦点的时候,如果有新的信道(第三其它信道)需要获取,此时抢占音频焦点以使所述目标信道失活,再按照信道优先级将音频焦点分配给信道优先级最高的第三其它信道。In some embodiments, during the process of playing the voice information corresponding to the first target function, if there is at least one third other channel that needs to be active, the audio focus is preempted to deactivate the target channel; the audio focus is assigned to the channel priority Highest third other channel. That is to say, when the target channel occupies the audio focus, if there is a new channel (third other channel) that needs to be acquired, the audio focus is preempted to deactivate the target channel, and then the audio focus is allocated according to the channel priority. Give the channel the third highest priority among other channels.
智能空调在启动第一目标功能后,也可以通过第二用户指令(如可通过语音或遥控设备触发)切换智能空调的功能,也就是说,智能空调在使用过程中,可以通过第二用户指令切换启动智能空调的其它功能。例如:智能空调启动蓝牙音箱功能之后,用户可通过第二用户指令,控制智能空调启动小程序功能以进入小程序功能广播状态(此时需要先停止蓝牙音箱功能广播状态)。After activating the first target function, the smart air conditioner can also switch the function of the smart air conditioner through a second user instruction (such as being triggered by voice or remote control device). That is to say, during use of the smart air conditioner, the function can be switched through a second user instruction. Switch to activate other functions of the smart air conditioner. For example: after the smart air conditioner starts the Bluetooth speaker function, the user can control the smart air conditioner to start the mini program function through the second user instruction to enter the mini program function broadcast state (in this case, the Bluetooth speaker function broadcast state needs to be stopped first).
一些实施例中,接收第二用户指令,第二用户指令用于启动占用蓝牙的第二目标功能;响应第二用户指令,以控制智能空调从第一目标状态切换为第二目标功能对应的第二目标 状态;利用音频焦点占用策略,将音频焦点分配给目标信道以播放第二目标功能对应的语音信息。关于音频焦点的分配,详见以上实施例的说明,在此不再赘述。In some embodiments, a second user instruction is received, and the second user instruction is used to activate the second target function that occupies Bluetooth; and the second user instruction is responded to to control the smart air conditioner to switch from the first target state to the third target function corresponding to the second target function. Two goals status; using the audio focus occupancy policy, assign the audio focus to the target channel to play the voice information corresponding to the second target function. Regarding the allocation of audio focus, please refer to the description of the above embodiment for details, which will not be described again here.
通过以上各个实施例的内容可见,可通过第一用户指令或第二用户指令启动占用蓝牙的功能,同理,也可以通过蓝牙关闭指令(如可通过语音或遥控设备触发)关闭智能空调的蓝牙。It can be seen from the contents of the above embodiments that the function of occupying Bluetooth can be started through the first user instruction or the second user instruction. Similarly, the Bluetooth of the smart air conditioner can also be turned off through the Bluetooth shutdown instruction (for example, it can be triggered by voice or remote control device). .
一些实施例中,接收蓝牙关闭指令;当设备状态为第一特定状态、第三特定状态或第四特定状态时,响应蓝牙关闭指令以控制智能空调关闭蓝牙;利用音频焦点占用策略,将音频焦点分配给目标信道以播放用于指示关闭蓝牙的语音信息。例如:用户通过命令词“关闭蓝牙”触发蓝牙关闭指令,当设备状态为第一特定状态、第三特定状态或第四特定状态时,响应蓝牙关闭指令以控制智能空调关闭蓝牙,将音频焦点分配给目标信道以播放“蓝牙已关闭”这一语音信息。In some embodiments, a Bluetooth turn-off instruction is received; when the device state is the first specific state, the third specific state, or the fourth specific state, respond to the Bluetooth turn-off instruction to control the smart air conditioner to turn off Bluetooth; and use the audio focus occupation policy to set the audio focus to Assigned to the target channel to play a voice message indicating to turn off Bluetooth. For example: the user triggers the Bluetooth shutdown instruction through the command word "Turn off Bluetooth". When the device status is the first specific state, the third specific state, or the fourth specific state, the Bluetooth shutdown instruction is responded to to control the smart air conditioner to turn off Bluetooth and assign the audio focus. Give the target channel to play the voice message "Bluetooth is turned off".
一些实施例中,智能空调默认打开蓝牙配网广播以进入蓝牙配网状态,可支持用户通过命令词对智能空调的功能(需要占用蓝牙的功能)进行配置,即使在没有配网成功的情况下,也支持用户通过命令词对智能空调的功能进行配置;该命令词即为用于触发上述提及的第一用户指令、第二用户指令或蓝牙关闭指令的语音信号。In some embodiments, the smart air conditioner turns on the Bluetooth distribution network broadcast by default to enter the Bluetooth distribution network state, which can support the user to configure the functions of the smart air conditioner (functions that require Bluetooth) through command words, even if the network distribution is not successful. , also supports users to configure the functions of the smart air conditioner through command words; the command words are the voice signals used to trigger the above-mentioned first user command, second user command or Bluetooth shutdown command.
不同命令词所对应的执行逻辑以及所播放的tts的具体内容,详见表1示出的内容,需要说明的是,表1所示出的内容仅为部分命令词所对应的执行逻辑以及所播放的tts的具体内容,表1并不用于对命令词所对应的执行逻辑以及所播放的tts的具体内容进行限定。The execution logic corresponding to different command words and the specific content of the tts played are shown in Table 1. It should be noted that the content shown in Table 1 is only the execution logic corresponding to some command words and all the content. Regarding the specific content of the TTS played, Table 1 is not used to limit the execution logic corresponding to the command words and the specific content of the TTS played.
表1:
Table 1:
一些实施例中,智能空调配网成功后,智能空调的默认状态为蓝牙音箱功能广播状态,也就是说,智能空调配网成功后默认进入蓝牙音箱的广播状态。In some embodiments, after the smart air conditioner is successfully connected to the network, the default state of the smart air conditioner is the Bluetooth speaker function broadcast state. That is to say, after the smart air conditioner is successfully connected to the network, it defaults to the broadcast state of the Bluetooth speaker.
需要说明的是,智能空调的蓝牙音箱的名称和小程序的名称需设置为一致,例如可统一设置为“AC-XXXX(WIFI-mac地址后四位)”。 It should be noted that the name of the Bluetooth speaker of the smart air conditioner and the name of the applet need to be set to be consistent. For example, they can be set to "AC-XXXX (the last four digits of the WIFI-mac address)".
为更好解释说明上述实施例提及的智能空调的第一特定状态、第二特定状态、第三特定状态、第四特定状态和默认状态,通过表2示出的内容进行举例说明;表2中示出了第一特定状态、第二特定状态、第三特定状态、第四特定状态和默认状态的具体内容,以及智能空调在不同状态下所能执行的动作和执行结果;需要说明的是,表2示出的内容仅为部分示例内容,并不用于对第一特定状态、第二特定状态、第三特定状态、第四特定状态和默认状态的具体内容作具体限定。In order to better explain the first specific state, the second specific state, the third specific state, the fourth specific state and the default state of the smart air conditioner mentioned in the above embodiments, an example is provided through the content shown in Table 2; Table 2 shows the specific contents of the first specific state, the second specific state, the third specific state, the fourth specific state and the default state, as well as the actions and execution results that the smart air conditioner can perform in different states; it should be noted that , the content shown in Table 2 is only part of the example content, and is not used to specifically limit the specific content of the first specific state, the second specific state, the third specific state, the fourth specific state and the default state.
表2:
Table 2:
与上述本发明实施例提供的一种空调控制方法相对应,参见图4,本发明实施例还提供了一种空调控制系统的结构框图,该空调控制系统包括:第一控制单元401、第一接收单元402、处理单元403、第二控制单元404和分配单元405; Corresponding to the air conditioning control method provided by the above embodiment of the present invention, referring to Figure 4, the embodiment of the present invention also provides a structural block diagram of an air conditioning control system. The air conditioning control system includes: a first control unit 401, a first receiving unit 402, processing unit 403, second control unit 404 and distribution unit 405;
第一控制单元401,用于在检测到智能空调上电时,开启智能空调的蓝牙,并根据智能空调的设备状态控制智能空调启用默认状态。The first control unit 401 is configured to turn on the Bluetooth of the smart air conditioner when it is detected that the smart air conditioner is powered on, and control the smart air conditioner to enable a default state according to the device status of the smart air conditioner.
第一接收单元402,用于接收第一用户指令,第一用户指令用于启动占用蓝牙的第一目标功能。The first receiving unit 402 is configured to receive a first user instruction, and the first user instruction is used to activate the first target function of occupying Bluetooth.
处理单元403,用于根据设备状态,不响应第一用户指令,或,响应第一用户指令。The processing unit 403 is configured to not respond to the first user instruction, or to respond to the first user instruction according to the device status.
在具体实现中,处理单元403具体用于:当设备状态为第一特定状态、第三特定状态或第四特定状态时,响应第一用户指令;当设备状态为第二特定状态时,不响应第一用户指令;其中,第一特定状态指示:无配网历史且未收到WIFI的配置信息;第二特定状态指示:无配网历史、收到配置信息且连接无线接入点中;第三特定状态指示:存在配网历史且连接无线接入点中;第四特定状态指示:配网成功且接收到配置信息。In a specific implementation, the processing unit 403 is specifically configured to: respond to the first user instruction when the device status is the first specific state, the third specific state, or the fourth specific state; and not respond when the device status is the second specific state. The first user instruction; wherein, the first specific status indication: no network configuration history and no WIFI configuration information received; the second specific status indication: no network configuration history, configuration information received and connected to the wireless access point; The third specific status indication: There is a network configuration history and it is connected to the wireless access point; The fourth specific status indication: The network configuration is successful and configuration information is received.
第二控制单元404,用于在响应第一用户指令时,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态。The second control unit 404 is configured to control the smart air conditioner to switch from the default state to the first target state corresponding to the first target function when responding to the first user instruction.
在具体实现中,第二控制单元404具体用于:确定默认状态与第一目标功能对应的第一目标状态是否一致;若默认状态和第一目标状态一致,控制智能空调保持默认状态;若默认状态与第一目标状态不一致,控制智能空调从默认状态切换为第一目标状态。In a specific implementation, the second control unit 404 is specifically used to: determine whether the default state is consistent with the first target state corresponding to the first target function; if the default state is consistent with the first target state, control the smart air conditioner to maintain the default state; if the default state is consistent with the first target state, The state is inconsistent with the first target state, and the smart air conditioner is controlled to switch from the default state to the first target state.
分配单元404,用于利用预设的音频焦点占用策略,将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息。The allocation unit 404 is configured to use a preset audio focus occupation policy to allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function.
在本发明实施例中,在接收到用于启动需要占用蓝牙的第一目标功能的第一用户指令时,根据智能空调的设备状态,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态,并利用音频焦点占用策略将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息,以实现自由切换智能空调使用蓝牙的功能。In the embodiment of the present invention, when receiving the first user instruction for activating the first target function that requires occupying Bluetooth, the smart air conditioner is controlled to switch from the default state to the third target function corresponding to the first target function according to the equipment status of the smart air conditioner. A target state, and uses the audio focus occupancy strategy to allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function, so as to achieve free switching of the smart air conditioner's function of using Bluetooth.
优选的,结合图4示出的内容,分配单元404包括:确定子单元、处理子单元和分配子单元;各个子单元的具体执行原理如下:Preferably, in conjunction with the content shown in Figure 4, the allocation unit 404 includes: a determination sub-unit, a processing sub-unit and an allocation sub-unit; the specific execution principles of each sub-unit are as follows:
确定子单元,用于确定智能空调的音频焦点是否被第一其它信道占用。Determining subunit, used to determine whether the audio focus of the smart air conditioner is occupied by the first other channel.
处理子单元,用于若音频焦点被第一其它信道占用,抢占音频焦点以使第一其它信道失活,并确定是否存在第二其它信道需要活跃;A processing subunit, configured to seize the audio focus to deactivate the first other channel if the audio focus is occupied by the first other channel, and determine whether there is a second other channel that needs to be active;
分配子单元,用于若不存在第二其它信道需要活跃,或,若存在第二其它信道活跃,将音频焦点分配给目标信道以播放第一目标功能对应的语音信息,其中,目标信道的信道优先级高于第一其它信道和第二其它信道的信道优先级。The allocation subunit is used to allocate the audio focus to the target channel to play the voice information corresponding to the first target function if there is no second other channel that needs to be active, or if there is a second other channel that is active, wherein the channel of the target channel The priority is higher than the channel priority of the first other channel and the second other channel.
优选的,处理子单元,还用于在播放第一目标功能对应的语音信息的过程中,若存在至少一个第三其它信道需要活跃,抢占音频焦点以使目标信道失活; Preferably, the processing subunit is also configured to seize the audio focus to deactivate the target channel if there is at least one third other channel that needs to be active during the process of playing the voice information corresponding to the first target function;
分配子单元,还用于将音频焦点分配给信道优先级最高的所述第三其它信道。The allocation subunit is also used to allocate the audio focus to the third other channel with the highest channel priority.
优选的,结合图4示出的内容,该空调控制系统还包括:Preferably, in conjunction with the content shown in Figure 4, the air conditioning control system also includes:
第二接收单元,接收第二用户指令,第二用户指令用于启动占用蓝牙的第二目标功能。The second receiving unit receives a second user instruction, and the second user instruction is used to activate the second target function of occupying Bluetooth.
第三控制单元,用于响应第二用户指令,以控制智能空调从第一目标状态切换为第二目标功能对应的第二目标状态。The third control unit is configured to respond to the second user instruction to control the smart air conditioner to switch from the first target state to the second target state corresponding to the second target function.
相应的,分配单元404还用于:利用音频焦点占用策略,将音频焦点分配给目标信道以播放第二目标功能对应的语音信息。Correspondingly, the allocation unit 404 is also configured to use the audio focus occupation policy to allocate the audio focus to the target channel to play the voice information corresponding to the second target function.
优选的,结合图4示出的内容,该空调控制系统还包括:Preferably, in conjunction with the content shown in Figure 4, the air conditioning control system also includes:
第三接收单元,用于接收蓝牙关闭指令。The third receiving unit is used to receive the Bluetooth close command.
第四控制单元,用于当设备状态为第一特定状态、第三特定状态或第四特定状态时,响应蓝牙关闭指令以控制智能空调关闭蓝牙。The fourth control unit is used to control the smart air conditioner to turn off Bluetooth in response to the Bluetooth turn-off instruction when the device status is the first specific state, the third specific state, or the fourth specific state.
分配单元404还用于:利用所述音频焦点占用策略,将音频焦点分配给目标信道以播放用于指示关闭蓝牙的语音信息。The allocation unit 404 is also configured to use the audio focus occupation policy to allocate audio focus to the target channel to play voice information indicating to turn off Bluetooth.
综上所述,本发明实施例提供一种空调控制方法及系统,在接收到用于启动需要占用蓝牙的第一目标功能的第一用户指令时,根据智能空调的设备状态,控制智能空调从默认状态切换为第一目标功能对应的第一目标状态,并利用音频焦点占用策略将智能空调的音频焦点分配给目标信道以播放第一目标功能对应的语音信息,以实现自由切换智能空调使用蓝牙的功能。To sum up, embodiments of the present invention provide an air conditioning control method and system. When receiving a first user instruction for activating the first target function that requires Bluetooth to be occupied, the smart air conditioner is controlled according to the equipment status of the smart air conditioner. The default state is switched to the first target state corresponding to the first target function, and the audio focus occupancy strategy is used to allocate the audio focus of the smart air conditioner to the target channel to play the voice information corresponding to the first target function to achieve free switching of the smart air conditioner using Bluetooth function.
本公开实施例提供了一种计算机程序,当所述计算机程序被计算机执行时,使所述计算机实现上述方法。An embodiment of the present disclosure provides a computer program, which when executed by a computer causes the computer to implement the above method.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机指令,当所述程序指令被计算机执行时,使所述计算机实现上述方法。Embodiments of the present disclosure provide a computer program product. The computer program product includes computer instructions stored on a computer-readable storage medium. When the program instructions are executed by a computer, the computer implements the above method.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。 Each embodiment in this specification is described in a progressive manner. The same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on its differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the partial description of the method embodiment. The system and system embodiments described above are only illustrative, in which the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. In order to clearly illustrate the possible functions of hardware and software, Interchangeability, in the above description, the composition and steps of each example have been generally described according to functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered to be beyond the scope of the present invention.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

  1. 一种空调控制方法,其特征在于,所述方法包括:An air conditioning control method, characterized in that the method includes:
    在检测到智能空调上电时,开启所述智能空调的蓝牙,并根据所述智能空调的设备状态控制所述智能空调启用默认状态;When it is detected that the smart air conditioner is powered on, turn on the Bluetooth of the smart air conditioner, and control the smart air conditioner to enable a default state according to the device status of the smart air conditioner;
    接收第一用户指令,所述第一用户指令用于启动占用所述蓝牙的第一目标功能;Receive a first user instruction, the first user instruction is used to start occupying the first target function of the Bluetooth;
    根据所述设备状态,不响应所述第一用户指令,或,响应所述第一用户指令;According to the device status, do not respond to the first user instruction, or respond to the first user instruction;
    在响应所述第一用户指令时,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态;In response to the first user instruction, control the smart air conditioner to switch from the default state to a first target state corresponding to the first target function;
    利用预设的音频焦点占用策略,将所述智能空调的音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息。Using a preset audio focus occupation strategy, the audio focus of the smart air conditioner is assigned to the target channel to play the voice information corresponding to the first target function.
  2. 根据权利要求1所述的方法,其特征在于,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态的过程,包括:The method of claim 1, wherein the process of controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function includes:
    确定所述默认状态与所述第一目标功能对应的第一目标状态是否一致;Determine whether the default state is consistent with the first target state corresponding to the first target function;
    若所述默认状态和所述第一目标状态一致,控制所述智能空调保持所述默认状态;If the default state is consistent with the first target state, control the smart air conditioner to maintain the default state;
    若所述默认状态与所述第一目标状态不一致,控制所述智能空调从所述默认状态切换为所述第一目标状态。If the default state is inconsistent with the first target state, the smart air conditioner is controlled to switch from the default state to the first target state.
  3. 根据权利要求1或2所述的方法,其特征在于,利用预设的音频焦点占用策略,将所述智能空调的音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息,包括:The method according to claim 1 or 2, characterized in that, using a preset audio focus occupation strategy, the audio focus of the smart air conditioner is assigned to a target channel to play the voice information corresponding to the first target function, including :
    确定所述智能空调的音频焦点是否被第一其它信道占用;Determine whether the audio focus of the smart air conditioner is occupied by the first other channel;
    若所述音频焦点被第一其它信道占用,抢占所述音频焦点以使所述第一其它信道失活,并确定是否存在第二其它信道需要活跃;If the audio focus is occupied by a first other channel, seize the audio focus to deactivate the first other channel, and determine whether there is a second other channel that needs to be active;
    若不存在所述第二其它信道需要活跃,或,若存在所述第二其它信道活跃,将所述音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息,其中,所述目标信道的信道优先级高于所述第一其它信道和所述第二其它信道的信道优先级。If there is no second other channel that needs to be active, or if there is the second other channel that is active, the audio focus is assigned to the target channel to play the voice information corresponding to the first target function, wherein, the The channel priority of the target channel is higher than the channel priorities of the first other channel and the second other channel.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, further comprising:
    在播放所述第一目标功能对应的语音信息的过程中,若存在至少一个第三其它信道需要活跃,抢占所述音频焦点以使所述目标信道失活;During the process of playing the voice information corresponding to the first target function, if there is at least one third other channel that needs to be active, seize the audio focus to deactivate the target channel;
    将所述音频焦点分配给信道优先级最高的所述第三其它信道。The audio focus is assigned to the third other channel with the highest channel priority.
  5. 根据权利要求1至4中任一所述的方法,其特征在于,根据所述设备状态,不响应所述第一用户指令,或,响应所述第一用户指令,包括: The method according to any one of claims 1 to 4, characterized in that, according to the device status, not responding to the first user instruction, or responding to the first user instruction includes:
    当所述设备状态为第一特定状态、第三特定状态或第四特定状态时,响应所述第一用户指令;When the device status is the first specific state, the third specific state, or the fourth specific state, respond to the first user instruction;
    当所述设备状态为第二特定状态时,不响应所述第一用户指令;When the device status is the second specific status, do not respond to the first user instruction;
    其中,所述第一特定状态指示:无配网历史且未收到WIFI的配置信息;所述第二特定状态指示:无配网历史、收到所述配置信息且连接无线接入点中;所述第三特定状态指示:存在配网历史且连接无线接入点中;所述第四特定状态指示:配网成功且接收到配置信息。Wherein, the first specific status indication: no network configuration history and no WIFI configuration information has been received; the second specific status indication: no network configuration history, the configuration information is received and the wireless access point is connected; The third specific status indication: there is a network configuration history and the wireless access point is connected; the fourth specific status indication: the network configuration is successful and configuration information is received.
  6. 根据权利要求1至5中任一所述的方法,其特征在于,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态之后,所述方法还包括:The method according to any one of claims 1 to 5, characterized in that after controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function, the method further includes:
    接收第二用户指令,所述第二用户指令用于启动占用所述蓝牙的第二目标功能;Receive a second user instruction, the second user instruction is used to start occupying the second target function of the Bluetooth;
    响应所述第二用户指令,以控制所述智能空调从所述第一目标状态切换为所述第二目标功能对应的第二目标状态;Respond to the second user instruction to control the smart air conditioner to switch from the first target state to a second target state corresponding to the second target function;
    利用所述音频焦点占用策略,将所述音频焦点分配给目标信道以播放所述第二目标功能对应的语音信息。Using the audio focus occupation policy, the audio focus is allocated to a target channel to play voice information corresponding to the second target function.
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, further comprising:
    接收蓝牙关闭指令;Receive Bluetooth shutdown command;
    当所述设备状态为第一特定状态、第三特定状态或第四特定状态时,响应所述蓝牙关闭指令以控制所述智能空调关闭所述蓝牙;When the device state is the first specific state, the third specific state or the fourth specific state, respond to the Bluetooth turn-off instruction to control the smart air conditioner to turn off the Bluetooth;
    利用所述音频焦点占用策略,将所述音频焦点分配给目标信道以播放用于指示关闭所述蓝牙的语音信息。Using the audio focus occupation policy, the audio focus is assigned to a target channel to play voice information indicating to turn off the Bluetooth.
  8. 一种空调控制系统,其特征在于,所述系统包括:An air conditioning control system, characterized in that the system includes:
    第一控制单元,用于在检测到智能空调上电时,开启所述智能空调的蓝牙,并根据所述智能空调的设备状态控制所述智能空调启用默认状态;The first control unit is configured to turn on the Bluetooth of the smart air conditioner when it is detected that the smart air conditioner is powered on, and control the smart air conditioner to enable a default state according to the equipment status of the smart air conditioner;
    第一接收单元,用于接收第一用户指令,所述第一用户指令用于启动占用所述蓝牙的第一目标功能;A first receiving unit configured to receive a first user instruction, the first user instruction being used to activate the first target function that occupies the Bluetooth;
    处理单元,用于根据所述设备状态,不响应所述第一用户指令,或,响应所述第一用户指令;A processing unit configured to not respond to the first user instruction, or to respond to the first user instruction according to the device status;
    第二控制单元,用于在响应所述第一用户指令时,控制所述智能空调从所述默认状态切换为所述第一目标功能对应的第一目标状态;a second control unit configured to control the smart air conditioner to switch from the default state to a first target state corresponding to the first target function when responding to the first user instruction;
    分配单元,用于利用预设的音频焦点占用策略,将所述智能空调的音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息。 An allocation unit is configured to use a preset audio focus occupation strategy to allocate the audio focus of the smart air conditioner to a target channel to play the voice information corresponding to the first target function.
  9. 根据权利要求8所述的系统,其特征在于,所述第二控制单元具体用于:确定所述默认状态与所述第一目标功能对应的第一目标状态是否一致;若所述默认状态和所述第一目标状态一致,控制所述智能空调保持所述默认状态;若所述默认状态与所述第一目标状态不一致,控制所述智能空调从所述默认状态切换为所述第一目标状态。The system according to claim 8, characterized in that the second control unit is specifically configured to: determine whether the default state is consistent with the first target state corresponding to the first target function; if the default state and If the first target state is consistent, the smart air conditioner is controlled to maintain the default state; if the default state is inconsistent with the first target state, the smart air conditioner is controlled to switch from the default state to the first target state. state.
  10. 根据权利要求8所述的系统,其特征在于,所述分配单元包括:The system according to claim 8, characterized in that the distribution unit includes:
    确定子单元,用于确定所述智能空调的音频焦点是否被第一其它信道占用;Determining subunit, used to determine whether the audio focus of the smart air conditioner is occupied by the first other channel;
    处理子单元,用于若所述音频焦点被第一其它信道占用,抢占所述音频焦点以使所述第一其它信道失活,并确定是否存在第二其它信道需要活跃;A processing subunit configured to, if the audio focus is occupied by a first other channel, preempt the audio focus to deactivate the first other channel, and determine whether there is a second other channel that needs to be active;
    分配子单元,用于若不存在所述第二其它信道需要活跃,或,若存在所述第二其它信道活跃,将所述音频焦点分配给目标信道以播放所述第一目标功能对应的语音信息,其中,所述目标信道的信道优先级高于所述第一其它信道和所述第二其它信道的信道优先级。Allocation subunit, configured to allocate the audio focus to the target channel to play the voice corresponding to the first target function if there is no second other channel that needs to be active, or if the second other channel is active. Information, wherein the channel priority of the target channel is higher than the channel priorities of the first other channel and the second other channel.
  11. 一种计算机程序,当所述计算机程序被计算机执行时,使所述计算机实现如权利要求1至7任一项所述的方法。A computer program, when the computer program is executed by a computer, causes the computer to implement the method according to any one of claims 1 to 7.
  12. 一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机指令,当所述程序指令被计算机执行时,使所述计算机实现如权利要求1至7任一项所述的方法。 A computer program product. The computer program product includes computer instructions stored on a computer-readable storage medium. When the program instructions are executed by a computer, the computer implements any one of claims 1 to 7. Methods.
PCT/CN2023/097053 2022-06-09 2023-05-30 Air conditioner control method and system WO2023236810A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210646096.3A CN115164377A (en) 2022-06-09 2022-06-09 Air conditioner control method and system
CN202210646096.3 2022-06-09

Publications (1)

Publication Number Publication Date
WO2023236810A1 true WO2023236810A1 (en) 2023-12-14

Family

ID=83485785

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/097053 WO2023236810A1 (en) 2022-06-09 2023-05-30 Air conditioner control method and system

Country Status (2)

Country Link
CN (1) CN115164377A (en)
WO (1) WO2023236810A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115164377A (en) * 2022-06-09 2022-10-11 海尔(深圳)研发有限责任公司 Air conditioner control method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106128067A (en) * 2016-07-21 2016-11-16 珠海格力电器股份有限公司 A kind of apparatus control method, Apparatus and system
CN106288154A (en) * 2016-08-01 2017-01-04 珠海格力电器股份有限公司 Air-conditioning and control method, device and system
CN206281119U (en) * 2016-12-23 2017-06-27 福建澳尤机电有限公司 A kind of Multifunctional mobile air cooler
CN108419133A (en) * 2018-04-23 2018-08-17 青岛海信电器股份有限公司 A kind of application switching controls the method and device of audio output in the process
CN109695939A (en) * 2018-11-08 2019-04-30 佛山市中格威电子有限公司 A kind of air-conditioning speech control system based on remote terminal
CN110879695A (en) * 2019-11-22 2020-03-13 北京声智科技有限公司 Audio playing control method, device and storage medium
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment
WO2021054678A1 (en) * 2019-09-19 2021-03-25 삼성전자주식회사 Home appliance, home appliance network system, and connection method therefor
CN113655984A (en) * 2021-07-29 2021-11-16 北京小米移动软件有限公司 Audio playback control method, audio playback control device, and computer storage medium
CN115164377A (en) * 2022-06-09 2022-10-11 海尔(深圳)研发有限责任公司 Air conditioner control method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106128067A (en) * 2016-07-21 2016-11-16 珠海格力电器股份有限公司 A kind of apparatus control method, Apparatus and system
CN106288154A (en) * 2016-08-01 2017-01-04 珠海格力电器股份有限公司 Air-conditioning and control method, device and system
CN206281119U (en) * 2016-12-23 2017-06-27 福建澳尤机电有限公司 A kind of Multifunctional mobile air cooler
CN108419133A (en) * 2018-04-23 2018-08-17 青岛海信电器股份有限公司 A kind of application switching controls the method and device of audio output in the process
CN109695939A (en) * 2018-11-08 2019-04-30 佛山市中格威电子有限公司 A kind of air-conditioning speech control system based on remote terminal
WO2021054678A1 (en) * 2019-09-19 2021-03-25 삼성전자주식회사 Home appliance, home appliance network system, and connection method therefor
CN110879695A (en) * 2019-11-22 2020-03-13 北京声智科技有限公司 Audio playing control method, device and storage medium
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment
CN113655984A (en) * 2021-07-29 2021-11-16 北京小米移动软件有限公司 Audio playback control method, audio playback control device, and computer storage medium
CN115164377A (en) * 2022-06-09 2022-10-11 海尔(深圳)研发有限责任公司 Air conditioner control method and system

Also Published As

Publication number Publication date
CN115164377A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US11812485B2 (en) Bluetooth communication method and terminal
WO2023236810A1 (en) Air conditioner control method and system
US20100048133A1 (en) Audio data flow input/output method and system
CN111447602B (en) Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium
US20230325145A1 (en) Audio Control System
KR20170139534A (en) Multi-source wireless headphones and audio switching devices
EP3068150A1 (en) Method and device for controlling device
WO2023087793A1 (en) Audio service processing method and apparatus, electronic device, and storage medium
CN111372159A (en) Earphone play control method and earphone
WO2023001054A1 (en) Priority configuration method and apparatus for audio playing, and device and storage medium
CN111199743A (en) Audio coding format determining method and device, storage medium and electronic equipment
US20190182331A1 (en) Head Unit of Vehicle and Method for Controlling the Same
CN111741456A (en) Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium
WO2012155689A1 (en) Method and device for controlling call ring tone state of communication terminal
CN106408912B (en) A kind of AVRCP instruction distributing method and system based on device type
JP5571807B2 (en) Electronic device, audio output device, communication system, and communication control method for electronic device
JP2015002394A (en) Information processing apparatus and computer program
EP3886457A1 (en) Information processing device and information processing method
CN108184193B (en) Play control method of Bluetooth play terminal, Bluetooth device and computer storage medium
WO2023045784A1 (en) Call control method and apparatus, and electronic device and computer-readable storage medium
CN107704172B (en) Multimedia application switching control method, system and storage device
CN116528202A (en) Connection control method, device, electronic equipment and storage medium
TW200423756A (en) Ad-hoc media delivery system
JP4722762B2 (en) Wireless communication system
EP4117263A1 (en) Call method, terminal, and non-transitory computer-readable storage 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: 23818975

Country of ref document: EP

Kind code of ref document: A1