CN115164377A - Air conditioner control method and system - Google Patents

Air conditioner control method and system Download PDF

Info

Publication number
CN115164377A
CN115164377A CN202210646096.3A CN202210646096A CN115164377A CN 115164377 A CN115164377 A CN 115164377A CN 202210646096 A CN202210646096 A CN 202210646096A CN 115164377 A CN115164377 A CN 115164377A
Authority
CN
China
Prior art keywords
state
channel
air conditioner
target
intelligent air
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210646096.3A
Other languages
Chinese (zh)
Inventor
陈祖江
张桂芳
耿宝寒
纪国超
贾丽萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Haier Shenzhen R&D Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Haier Shenzhen R&D Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd, Haier Shenzhen R&D Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202210646096.3A priority Critical patent/CN115164377A/en
Publication of CN115164377A publication Critical patent/CN115164377A/en
Priority to PCT/CN2023/097053 priority patent/WO2023236810A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/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

The invention provides an air conditioner control method and system, wherein the method comprises the following steps: when the intelligent air conditioner is detected to be powered on, the Bluetooth of the intelligent air conditioner is started, and the intelligent air conditioner is controlled to start a default state according to the equipment state of the intelligent air conditioner; receiving a first user instruction, wherein the first user instruction is used for starting a first target function occupying Bluetooth; according to the equipment state, not responding to the first user instruction, or responding to the first user instruction; when a first user instruction is responded, the intelligent air conditioner is controlled to be switched from a default state to a first target state corresponding to a first target function; and distributing the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function, so that the function of freely switching the intelligent air conditioner to use the Bluetooth is realized.

Description

Air conditioner control method and system
Technical Field
The invention relates to the technical field of control, in particular to an air conditioner control method and system.
Background
With the development of scientific technology, household appliances such as air conditioners are also more and more intelligent. Present intelligent air conditioner all disposes modules such as bluetooth and speaker usually, and intelligent air conditioner has the function of more use bluetooth, therefore how freely switch intelligent air conditioner and use the function of bluetooth, is the problem that needs to solve at present urgently.
Disclosure of Invention
In view of this, embodiments of the present invention provide an air conditioner control method and system to implement a function of freely switching an intelligent air conditioner to use bluetooth.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the embodiments of the present invention discloses an air conditioner control method, including:
when detecting that the intelligent air conditioner is powered on, starting Bluetooth of the intelligent air conditioner, and controlling the intelligent air conditioner to start a default state according to the equipment state of the intelligent air conditioner;
receiving a first user instruction, wherein the first user instruction is used for starting a first target function occupying the Bluetooth;
according to the equipment state, not responding to the first user instruction, or responding to the first user instruction;
when the first user instruction is responded, the intelligent air conditioner is controlled to be switched from the default state to a first target state corresponding to the first target function;
and distributing the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function.
Preferably, the process of controlling the intelligent air conditioner to switch from the default state to the first target state corresponding to the first target function includes:
determining whether the default state is consistent with a first target state corresponding to the first target function;
if the default state is consistent with the first target state, controlling the intelligent air conditioner to keep the default state;
and if the default state is inconsistent with the first target state, controlling the intelligent air conditioner to be switched to the first target state from the default state.
Preferably, the allocating the audio focus of the intelligent air conditioner to a target channel to play the voice information corresponding to the first target function by using a preset audio focus occupation strategy includes:
determining whether an audio focus of the smart air conditioner is occupied by a first other channel;
preempting the audio focus to deactivate the first other channel if the audio focus is occupied by the first other channel and determining whether a second other channel exists that needs to be active;
if the second other channel does not exist and needs to be active, or if the second other channel exists and needs to be active, the audio focus is allocated to a target channel to play the voice information corresponding to the first target function, wherein 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 comprises:
in the process of playing the voice information corresponding to the first target function, if at least one third other channel needs to be active, preempting the audio focus to inactivate the target channel;
assigning the audio focus 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:
responding to the first user instruction when the equipment state is a first specific state, a third specific state or a fourth specific state;
when the equipment state is a second specific state, not responding to the first user instruction;
wherein the first particular state indicates: the distribution network history does not exist and the configuration information of WIFI is not received; the second particular state indicates: no distribution network history exists, the configuration information is received, and the wireless access point is connected with the distribution network history; the third particular state indicates: the network distribution history exists and is connected with the wireless access point; the fourth particular state indicates: the distribution network is successful and the configuration information is received.
Preferably, after the intelligent air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function, the method further includes:
receiving a second user instruction, wherein the second user instruction is used for starting a second target function occupying the Bluetooth;
responding to the second user instruction to control the intelligent air conditioner to be switched from the first target state to a second target state corresponding to the second target function;
and distributing the audio focus to a target channel by using the audio focus occupation strategy so as to play the voice information corresponding to the second target function.
Preferably, the method further comprises:
receiving a Bluetooth closing instruction;
when the equipment state is a first specific state, a third specific state or a fourth specific state, responding to the Bluetooth closing instruction to control the intelligent air conditioner to close the Bluetooth;
and allocating the audio focus to a target channel by using the audio focus occupation strategy so as to play voice information for indicating to close the Bluetooth.
A second aspect of an embodiment of the present invention discloses an air conditioner control system, including:
the first control unit is used for starting the Bluetooth of the intelligent air conditioner when the intelligent air conditioner is detected to be powered on, and controlling the intelligent air conditioner to start a default state according to the equipment state of the intelligent air conditioner;
a first receiving unit, configured to receive a first user instruction, where the first user instruction is used to start a first target function occupying the bluetooth;
the processing unit is used for not responding to the first user instruction or responding to the first user instruction according to the equipment state;
the second control unit is used for controlling the intelligent air conditioner to be switched from the default state to a first target state corresponding to the first target function when responding to the first user instruction;
and the allocation unit is used for allocating the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function.
Preferably, the second control unit is specifically configured to: determining whether the default state is consistent with a first target state corresponding to the first target function; if the default state is consistent with the first target state, controlling the intelligent air conditioner to keep the default state; and if the default state is inconsistent with the first target state, controlling the intelligent air conditioner to be switched to the first target state from the default state.
Preferably, the distribution unit includes:
a determining subunit, configured to determine whether an audio focus of the smart air conditioner is occupied by a 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 a second other channel needs to be active;
and an allocating subunit, configured to allocate the audio focus to a target channel to play the voice information corresponding to the first target function if the second other channel does not exist and needs to be active, or if the second other channel exists and is active, where a channel priority of the target channel is higher than channel priorities of the first other channel and the second other channel.
Based on the air conditioner control method and system provided by the embodiment of the invention, the method comprises the following steps: when the intelligent air conditioner is detected to be powered on, the Bluetooth of the intelligent air conditioner is started, and the intelligent air conditioner is controlled to start a default state according to the equipment state of the intelligent air conditioner; receiving a first user instruction, wherein the first user instruction is used for starting a first target function occupying Bluetooth; according to the equipment state, not responding to the first user instruction, or responding to the first user instruction; when a first user instruction is responded, the intelligent air conditioner is controlled to be switched from a default state to a first target state corresponding to a first target function; and distributing the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function. According to the scheme, when a first user instruction for starting a first target function needing to occupy Bluetooth is received, the intelligent air conditioner is controlled to be switched from a default state to a first target state corresponding to the first target function according to the equipment state of the intelligent air conditioner, and an audio focus occupation strategy is utilized to distribute an audio focus of the intelligent air conditioner to a target channel so as to play voice information corresponding to the first target function, so that the function of the intelligent air conditioner using Bluetooth can be freely switched.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an air conditioner control method according to an embodiment of the present invention;
fig. 2 is an exemplary diagram of channel detail information provided by an embodiment of the present invention;
FIG. 3 is a flow chart of assigning audio focus to a target channel according to an embodiment of the present invention;
fig. 4 is a block diagram of an air conditioner control system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
As can be seen from the background art, the existing intelligent air conditioner has a function of using bluetooth more, so how to freely switch the function of using bluetooth for the intelligent air conditioner is a problem to be solved.
Therefore, an embodiment of the present invention provides an air conditioner control method and system, where when a first user instruction for starting a first target function that needs to occupy bluetooth is received, according to an equipment state of an intelligent air conditioner, the intelligent air conditioner is controlled to switch from a default state to a first target state corresponding to the first target function, and an audio focus occupation policy is used to allocate an audio focus of the intelligent air conditioner to a target channel to play voice information corresponding to the first target function, so as to implement free switching of a bluetooth function used by the intelligent air conditioner.
Referring to fig. 1, a flowchart of an air conditioner control method according to an embodiment of the present invention is shown, where the air conditioner control method includes:
step S101: when the intelligent air conditioner is detected to be powered on, the Bluetooth of the intelligent air conditioner is started, and the intelligent air conditioner is controlled to start a default state according to the equipment state of the intelligent air conditioner.
In the process of specifically implementing the step S101, when detecting that the intelligent air conditioner is powered on (or when detecting that the intelligent air conditioner is started), starting bluetooth of the intelligent air conditioner; and controlling the intelligent air conditioner to start a default state (or enter the default state) according to the equipment state of the intelligent air conditioner.
In some embodiments, the default state is a distribution network state, a bluetooth function speaker broadcast state or a no specific state, wherein the no specific state is a state in which the intelligent air conditioner does not start any bluetooth function broadcast; the default state may be set according to an actual situation, the content of the default state given above 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 intelligent air conditioner is configured with a plurality of functions that need to occupy bluetooth, and the bluetooth can be occupied by only one of the functions at a time.
Step S102: a first user instruction is received.
It should be noted that the first user command is used to activate the first target bluetooth enabled function.
In the process of implementing step S102 specifically, a first user instruction is received, where the first user instruction may be triggered by voice, for example: the intelligent air conditioner is provided with a device (such as a microphone) capable of detecting a voice signal, and a first user instruction is obtained by analyzing the voice signal of a user; similarly, the first user instruction may also be triggered by a remote control device, for example: a user triggers a first user instruction through remote control equipment of the intelligent air conditioner; in the embodiment of the present invention, a trigger manner of the first user instruction is not specifically limited.
In some embodiments, the first target function may be an air conditioner networking function, a bluetooth speaker function, an applet function (also referred to as a bluetooth applet function), or the like that requires bluetooth. After the first target function is started, the intelligent air conditioner may enter a first target state corresponding to the first target function, for example: after the Bluetooth sound box function is started, the intelligent air conditioner enters a Bluetooth sound box function broadcasting state (a first target state); after the air conditioner networking function is started, the intelligent air conditioner enters a distribution network state (a first target state); after the applet function is started, the intelligent air conditioner enters an applet function broadcasting state (a first target state).
It should be noted that, after the applet function of the intelligent air conditioner is started, the user can control the intelligent air conditioner through the applet.
In some embodiments, when the intelligent air conditioner enters a bluetooth sound box function broadcast state or an applet function broadcast state, the intelligent air conditioner (equivalent to a slave device) can be in bluetooth pairing connection with a mobile terminal (equivalent to a master device) such as a mobile phone; after the Bluetooth pairing connection is successful, the mobile terminals such as the mobile phone can control the intelligent air conditioner through the Bluetooth. The process of performing bluetooth pairing connection on a mobile terminal such as an intelligent air conditioner and a mobile phone mainly comprises a bluetooth device pairing step, a bluetooth device connection step and a bluetooth device control step, and the following explanation is respectively performed on the process of bluetooth pairing connection.
Bluetooth equipment pairing step: the slave device (intelligent air conditioner) turns on the bluetooth so that the device identifier of the slave device (or the name of the bluetooth) can be searched by the nearby devices, and the device identifier of the slave device can be uniformly set to be 'AC-XXXX (four bits after the WIFI-mac address)'. The main equipment (mobile terminal) opens the Bluetooth to search for the equipment which can be connected nearby; and the slave equipment and the master equipment complete the first communication authentication in a pairing mode.
Connecting the Bluetooth equipment: for the master device, the slave device with the history of successful pairing connection can be directly connected (the master device does not need to be paired again), and the master device is automatically connected with the slave device which is connected once after the Bluetooth switch is turned on. After the master device is successfully connected with the slave device, the slave device can play the voice information of 'Bluetooth connection'; after the master device fails to connect with the slave device or the Bluetooth is disconnected, the slave device can play the voice message of 'Bluetooth is disconnected'.
Bluetooth equipment control step: after the master device and the slave device are successfully connected, the master device can control the slave device to play audio information, and specifically can trigger instructions such as play/continue play, pause, previous, next, fast forward, fast rewind, sound increase, sound decrease and the like.
Step S103: according to the state of the equipment, the first user instruction is not responded, or the first user instruction is responded.
It should be noted that the device state is a first specific state, a second specific state, a third specific state or a fourth specific state; wherein the first specific status indicates: the intelligent air conditioner has no distribution network history and does not receive the configuration information of WIFI; the second specific state indicates: the intelligent air conditioner has no distribution network history, receives configuration information and is connected to a wireless Access Point (AP); the third particular state indicates: the intelligent air conditioner has a history of distribution network and is connected with the wireless access point; the fourth specific state indicates: the distribution network is successful and the configuration information is received.
When the device state is the first specific state, the default state may be a distribution network state; when the device state is the second state or the third state, the default state may be no specific state; when the device status is the fourth specific status, the default status may be a bluetooth speaker broadcast status.
In the process of implementing step S103 specifically, when the device status is the first specific status, the third specific status or the fourth specific status, the first user instruction is responded.
When the equipment state is in a second specific state, the first user instruction is not responded, namely, if the intelligent air conditioner has no distribution network history, but the intelligent air conditioner receives the configuration information and is connected with the AP (or is bound with the AP), the first user instruction is not responded.
Step S104: and when responding to a first user instruction, controlling the intelligent air conditioner to be switched from the default state to a first target state corresponding to the first target function.
In the process of implementing step S104 specifically, when responding to the first user instruction, the intelligent air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function, specifically, the intelligent air conditioner is controlled to exit (or stop) the default state, and then the intelligent air conditioner is controlled 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: when the intelligent air conditioner is in a default state of a networking state, a user triggers a first user instruction to trigger an air conditioner networking function (the corresponding first target state is a distribution network state), and at the moment, the first target state is the same as the default state.
In some embodiments, it is determined whether the default state is consistent with a first target state corresponding to the first target function; if the default state is consistent with the first target state, controlling the intelligent air conditioner to keep the default state; and if the default state is inconsistent with the first target state, controlling the intelligent air conditioner to be switched to the first target state from the default state.
For example: setting a default state of the intelligent air conditioner as a distribution network state, and setting a first target state as a distribution network state; and responding to the first user instruction, and controlling the intelligent air conditioner to keep the distribution network state.
Another example is: and setting the default state of the intelligent air conditioner as a distribution network state, setting the first target state as a Bluetooth sound box function broadcasting state, responding to a first user instruction, controlling the intelligent air conditioner to stop the distribution network state, and then controlling the intelligent air conditioner to enter the Bluetooth sound box function broadcasting state.
Step S105: and distributing the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function.
It should be noted that the intelligent air conditioner is provided with a playing device (such as a sound box); the target channel is used for playing TTS (Text To Speech), and the audio focus of the smart air conditioner can be allocated To one channel at a time, or can be occupied by only one channel at a time (which is equivalent To only one channel being active).
Channels include, but are not limited to: a voice output channel (i.e., a target channel), a talk channel, a voice input channel, an alarm channel, a content channel, etc.; each channel is provided with corresponding channel detail information including, but not limited to: channel priority, active acquisition of audio focus opportunity, preemption of audio focus opportunity, active release of audio focus opportunity, loss of audio focus opportunity, and the like.
An exemplary diagram of channel detail information, such as that provided in fig. 2, the channels include: a voice output channel (i.e., a target channel), a talk channel, a voice input channel, an alarm channel, and a content channel. Each channel is provided with a channel priority, an audio focus opportunity is actively acquired, the audio focus opportunity is preempted, the audio focus opportunity is actively released, and the audio focus opportunity is lost, wherein the channel priority of the voice output channel is the highest, and the channel priority of the content channel is the lowest. For a communication channel, the channel priority of the communication channel is 2 levels, the time for actively acquiring an audio focus of the communication channel is 'dialing a customer service call through a loudspeaker box', the time for preempting the audio focus of the communication channel is 'local prompt tone/cloud tts active', the time for actively releasing the audio focus of the communication channel is 'call ending', and the time for losing the audio focus of the communication channel is 'stopping recording'; for the channel priorities of other channels, actively acquiring the audio focus timing, preempting the audio focus timing, actively releasing the audio focus timing, losing the audio focus timing, and the like, the contents shown in fig. 2 can be seen, and detailed description thereof is omitted.
An audio focus occupation strategy is preset, and audio focuses of the intelligent air conditioner are distributed through the audio focus occupation strategy, wherein the audio focus occupation strategy has the following four rules.
The first point rule is as follows: while only one channel can be active, or the audio focus can only be occupied by one channel.
The second point rule: if multiple channels need to be active (or multiple channels need to occupy audio focus), the audio focus is assigned to the channel with the highest channel priority according to the channel priority.
The third point rule is that: the services of the same channel are mutually exclusive, and a near distribution principle is adopted, namely, the new service of the same channel interrupts the old service.
The fourth rule: for any channel needing to be activated, if the channel priority of the channel currently occupying the audio focus is higher than that of the channel (the channel needing to be activated mentioned above), the audio focus needs to be preempted, and then the audio focus is allocated according to the channel priority after the audio focus is preempted, wherein the audio focus is preferentially allocated to the channel with the higher channel priority. For example: with reference to the content shown in fig. 2, currently, the voice output channel is occupying an audio focus (i.e., the intelligent air conditioner is currently playing tts), at this time, the alarm clock channel and the content channel (e.g., bluetooth audio) need to be active, and at this time, the audio focus of the voice output channel (or the audio focus of tts) needs to be preempted first, so that the voice output channel is deactivated; and determining to allocate the audio focus to the alarm clock channel because the channel priority of the alarm clock channel is higher than the channel priority of the content channel.
In the process of implementing step S105 specifically, after the intelligent air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function, the audio focus of the intelligent air conditioner is allocated to the target channel by using the audio focus occupation policy to play the voice information corresponding to the first target function, where the voice information (corresponding to tts) corresponding to different first target functions are different. For example: after the intelligent air conditioner is switched to the Bluetooth sound box function from the default state, the audio focus of the intelligent air conditioner is distributed to a target channel to play, namely tts, that a user opens the Bluetooth sound box function and please use equipment such as a mobile phone to finish Bluetooth pairing connection.
In the embodiment of the invention, when a first user instruction for starting a first target function needing to occupy Bluetooth is received, the intelligent air conditioner is controlled to be switched from a default state to a first target state corresponding to the first target function according to the equipment state of the intelligent air conditioner, and an audio focus occupation strategy is utilized to allocate an audio focus of the intelligent air conditioner to a target channel so as to play voice information corresponding to the first target function, so that the Bluetooth using function of the intelligent air conditioner can be freely switched.
Fig. 3 shows a flowchart of allocating an audio focus to a target channel according to an embodiment of the present invention, which includes the following steps:
step S301: it is determined whether an 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, go to step S304; if the audio focus is occupied by the first other channel, step S302 and step S303 are performed.
It should be noted that the channel priority of the target channel is higher than the channel priority of the first other channel and the second other channel. As shown in fig. 2, the target channel is a voice output channel, and the channel priority of the target channel is higher than that of the other channels.
In the process of implementing step S301 specifically, according to the rule of the audio focus occupation policy mentioned in step S105 of fig. 1 in the embodiment of the present invention, after the intelligent air conditioner is controlled to switch from the default state to the first target state, the target channel needs to be active; at this time, whether the audio focus of the intelligent air conditioner is occupied by the first other channel is judged firstly, or whether the audio focus is occupied by the first other channel is judged firstly.
If the audio focus is not occupied by the first other channel, step S304 is executed to assign the audio focus to the target channel to play the voice information corresponding to the first target function.
If the audio focus is occupied by the first other channel, step S302 is executed to preempt the audio focus.
Step S302: preempting the audio focus to deactivate the first other channel.
In the process of implementing step S302, if the audio focus is occupied by the first other channel, the audio focus is preempted to make the first other channel inactive.
Step S303: it is determined whether there is a second other channel to be active. If there is no second other channel to be active, or if there is a second other channel to be active, step S304 is executed.
In the process of implementing step S303 specifically, after preempting the audio focus to deactivate the first other channel, it is determined whether there is a second other channel that needs to be activated, that is, it needs to be determined whether there is a second other channel that needs to be activated in addition to the target channel that needs to be activated.
Since the channel priority of the target channel is highest, 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 to be active, or if there is a second other channel to be active, step S304 is executed to allocate the audio focus to the target channel to play the voice message corresponding to the first target function.
Step S304: and allocating an audio focus to the target channel to play the voice information corresponding to the first target function.
In some embodiments, in the process of playing the voice information corresponding to the first target function, if at least one third other channel needs to be active, an audio focus is preempted to deactivate the target channel; audio focus is assigned to a third other channel with the highest channel priority. That is, when the target channel occupies the audio focus, if a new channel (third other channel) needs to be acquired, the audio focus is preempted to deactivate the target channel, and then the audio focus is allocated to the third other channel with the highest channel priority according to the channel priority.
After the intelligent air conditioner starts the first target function, the function of the intelligent air conditioner can be switched through a second user instruction (for example, the function can be triggered through voice or remote control equipment), that is, other functions of the intelligent air conditioner can be switched and started through the second user instruction in the using process of the intelligent air conditioner. For example: after the intelligent air conditioner starts the bluetooth sound box function, the user can control the intelligent air conditioner to start the applet function to enter the applet function broadcasting state (at this moment, the bluetooth sound box function broadcasting state needs to be stopped first) through a second user instruction.
In some embodiments, a second user instruction is received, the second user instruction for initiating a second target function for bluetooth engagement; responding to a second user instruction to control the intelligent air conditioner to be switched from the first target state to a second target state corresponding to a second target function; and distributing the audio focus to a target channel by using the audio focus occupation strategy so as to play the voice information corresponding to the second target function. For the distribution of audio focus, see the description of the above embodiments for details, and are not repeated herein.
As can be seen from the above contents of the embodiments, the function of occupying bluetooth may be started by the first user instruction or the second user instruction, and similarly, the bluetooth of the intelligent air conditioner may also be turned off by the bluetooth turn-off instruction (e.g., may be triggered by voice or a remote control device).
In some embodiments, a bluetooth shutdown command is received; when the equipment state is a first specific state, a third specific state or a fourth specific state, responding to a Bluetooth closing instruction to control the intelligent air conditioner to close the Bluetooth; and allocating an audio focus to a target channel by using an audio focus occupation strategy to play voice information for indicating Bluetooth closing. For example: the user triggers a Bluetooth closing instruction through a command word 'Bluetooth closing', and when the equipment state is a first specific state, a third specific state or a fourth specific state, the user responds to the Bluetooth closing instruction to control the intelligent air conditioner to close Bluetooth, and an audio focus is allocated to a target channel to play voice information 'Bluetooth is closed'.
In some embodiments, the intelligent air conditioner starts a Bluetooth distribution network broadcast by default to enter a Bluetooth distribution network state, so that a user can be supported to configure the functions (the functions needing to occupy Bluetooth) of the intelligent air conditioner through command words, and even if the distribution network is not successful, the user can also be supported to configure the functions of the intelligent air conditioner through the command words; the command word is a voice signal for triggering the first user instruction, the second user instruction or the bluetooth shutdown instruction mentioned above.
The content shown in table 1 is for details, it should be noted that the content shown in table 1 is only the execution logic corresponding to a part of the command words and the specific content of the played tts, and table 1 is not used to limit the execution logic corresponding to the command words and the specific content of the played tts.
Table 1:
Figure BDA0003685968350000121
in some embodiments, after the intelligent air conditioner is successfully distributed with the network, the default state of the intelligent air conditioner is the bluetooth speaker function broadcasting state, that is, the intelligent air conditioner is successfully distributed with the network and then is defaulted to enter the bluetooth speaker broadcasting state.
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, and may be uniformly set to "AC-XXXX (four digits after WIFI-mac address)", for example.
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, the description is given by way of example through the contents shown in table 2; specific contents of the first specific state, the second specific state, the third specific state, the fourth specific state and the default state, and actions and execution results that can be executed by the intelligent air conditioner in different states are shown in table 2; it should be noted that the contents shown in table 2 are only a part of exemplary contents, and are not used to specifically limit the specific contents of the first specific state, the second specific state, the third specific state, the fourth specific state, and the default state.
Table 2:
Figure BDA0003685968350000122
Figure BDA0003685968350000131
corresponding to the air conditioner control method provided by the embodiment of the present invention, referring to fig. 4, the embodiment of the present invention further provides a structural block diagram of an air conditioner control system, where the air conditioner control system includes: a first control unit 401, a first receiving unit 402, a processing unit 403, a second control unit 404, and an assigning unit 405;
the first control unit 401 is configured to, when detecting that the intelligent air conditioner is powered on, start bluetooth of the intelligent air conditioner, and control the intelligent air conditioner to enable a default state according to an equipment state of the intelligent air conditioner.
A first receiving unit 402, configured to receive a first user instruction, where the first user instruction is used to start a first target function occupying bluetooth.
The processing unit 403 is configured to not respond to the first user instruction or respond to the first user instruction according to the device status.
In a specific implementation, the processing unit 403 is specifically configured to: responding to a first user instruction when the equipment state is a first specific state, a third specific state or a fourth specific state; when the equipment state is a second specific state, not responding to the first user instruction; wherein the first specific state indicates: the distribution network history does not exist and the configuration information of WIFI is not received; the second specific state indicates: no distribution network history exists, the configuration information is received and the wireless access point is connected; the third particular state indicates: the network distribution history exists and is connected with the wireless access point; the fourth particular state indicates: the distribution network is successful and the configuration information is received.
And the second control unit 404 is configured to control the intelligent 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.
In a specific implementation, the second control unit 404 is specifically configured to: determining whether the default state is consistent with a first target state corresponding to the first target function; if the default state is consistent with the first target state, controlling the intelligent air conditioner to keep the default state; and if the default state is inconsistent with the first target state, controlling the intelligent air conditioner to be switched to the first target state from the default state.
The allocating unit 404 is configured to allocate an audio focus of the smart air conditioner to a target channel by using a preset audio focus occupation policy to play voice information corresponding to the first target function.
In the embodiment of the invention, when a first user instruction for starting a first target function needing to occupy Bluetooth is received, the intelligent air conditioner is controlled to be switched from a default state to a first target state corresponding to the first target function according to the equipment state of the intelligent air conditioner, and an audio focus occupation strategy is utilized to allocate an audio focus of the intelligent air conditioner to a target channel so as to play voice information corresponding to the first target function, so that the Bluetooth function of the intelligent air conditioner can be freely switched.
Preferably, in conjunction with what is shown in fig. 4, the assigning unit 404 includes: a determining subunit, a processing subunit and an allocating subunit; the specific implementation principle of each subunit is as follows:
and the determining subunit is used for determining whether the audio focus of the intelligent 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;
and the allocation subunit is used for allocating the audio focus to the target channel to play the voice information corresponding to the first target function if no second other channel needs to be active or if the second other channel is active, wherein 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 processing subunit is further configured to, in 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, preempt an audio focus to deactivate the target channel;
an assigning subunit further configured to assign an audio focus to the third other channel with the highest channel priority.
Preferably, in combination with the content shown in fig. 4, the air conditioning control system further includes:
and the second receiving unit is used for receiving a second user instruction, and the second user instruction is used for starting a second target function occupying the Bluetooth.
And the third control unit is used for responding to a second user instruction so as to control the intelligent air conditioner to be switched from the first target state to a second target state corresponding to the second target function.
Accordingly, the allocation unit 404 is further configured to: and distributing the audio focus to a target channel by using the audio focus occupation strategy so as to play the voice information corresponding to the second target function.
Preferably, in combination with the content shown in fig. 4, the air conditioning control system further includes:
and the third receiving unit is used for receiving the Bluetooth closing instruction.
And the fourth control unit is used for responding to the Bluetooth closing instruction to control the intelligent air conditioner to close the Bluetooth when the equipment state is the first specific state, the third specific state or the fourth specific state.
The allocation unit 404 is further configured to: and allocating an audio focus to a target channel by using the audio focus occupation strategy so as to play voice information for indicating the Bluetooth to be turned off.
In summary, embodiments of the present invention provide an air conditioner control method and system, when a first user instruction for starting a first target function that needs to occupy bluetooth is received, according to an equipment state of an intelligent air conditioner, the intelligent air conditioner is controlled to switch from a default state to a first target state corresponding to the first target function, and an audio focus occupation policy is used to allocate an audio focus of the intelligent air conditioner to a target channel to play voice information corresponding to the first target function, so as to implement free switching of a bluetooth function used by the intelligent air conditioner.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person 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 applied to 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 (10)

1. An air conditioner control method, characterized in that the method comprises:
when detecting that the intelligent air conditioner is powered on, starting Bluetooth of the intelligent air conditioner, and controlling the intelligent air conditioner to start a default state according to the equipment state of the intelligent air conditioner;
receiving a first user instruction, wherein the first user instruction is used for starting a first target function occupying the Bluetooth;
according to the equipment state, not responding to the first user instruction, or responding to the first user instruction;
when the first user instruction is responded, the intelligent air conditioner is controlled to be switched from the default state to a first target state corresponding to the first target function;
and distributing the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function.
2. The method according to 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 comprises:
determining whether the default state is consistent with a first target state corresponding to the first target function;
if the default state is consistent with the first target state, controlling the intelligent air conditioner to keep the default state;
and if the default state is inconsistent with the first target state, controlling the intelligent air conditioner to be switched to the first target state from the default state.
3. The method of claim 1, wherein allocating the audio focus of the smart air conditioner to a target channel to play voice information corresponding to the first target function by using a preset audio focus occupation strategy comprises:
determining whether an audio focus of the smart air conditioner is occupied by a first other channel;
preempting the audio focus to deactivate the first other channel if the audio focus is occupied by the first other channel and determining whether a second other channel exists that needs to be active;
if the second other channel does not exist and needs to be active, or if the second other channel exists and needs to be active, the audio focus is allocated to a target channel to play the voice information corresponding to the first target function, wherein the channel priority of the target channel is higher than the channel priorities of the first other channel and the second other channel.
4. The method of claim 3, further comprising:
in the process of playing the voice information corresponding to the first target function, if at least one third other channel needs to be active, preempting the audio focus to inactivate the target channel;
assigning the audio focus to the third other channel with the highest channel priority.
5. The method of any of claims 1-4, wherein not responding to the first user instruction, or responding to the first user instruction, based on the device state, comprises:
responding to the first user instruction when the equipment state is a first specific state, a third specific state or a fourth specific state;
when the equipment state is a second specific state, not responding to the first user instruction;
wherein the first particular state indicates: the distribution network history does not exist and the configuration information of WIFI is not received; the second particular state indicates: no distribution network history exists, the configuration information is received and the wireless access point is connected; the third particular state indicates: the network distribution history exists and is connected with the wireless access point; the fourth particular state indicates: the distribution network succeeds and receives the configuration information.
6. The method of claim 1, wherein after controlling the smart air conditioner to switch from the default state to a first target state corresponding to the first target function, the method further comprises:
receiving a second user instruction, wherein the second user instruction is used for starting a second target function occupying the Bluetooth;
responding to the second user instruction to control the intelligent air conditioner to be switched from the first target state to a second target state corresponding to the second target function;
and distributing the audio focus to a target channel by using the audio focus occupation strategy so as to play the voice information corresponding to the second target function.
7. The method of claim 5, further comprising:
receiving a Bluetooth closing instruction;
when the equipment state is a first specific state, a third specific state or a fourth specific state, responding to the Bluetooth closing instruction to control the intelligent air conditioner to close the Bluetooth;
and allocating the audio focus to a target channel by using the audio focus occupation strategy so as to play voice information for indicating to close the Bluetooth.
8. An air conditioning control system, the system comprising:
the first control unit is used for starting the Bluetooth of the intelligent air conditioner when the intelligent air conditioner is detected to be powered on, and controlling the intelligent air conditioner to start a default state according to the equipment state of the intelligent air conditioner;
a first receiving unit, configured to receive a first user instruction, where the first user instruction is used to start a first target function occupying the bluetooth;
the processing unit is used for not responding to the first user instruction or responding to the first user instruction according to the equipment state;
the second control unit is used for controlling the intelligent air conditioner to be switched from the default state to a first target state corresponding to the first target function when responding to the first user instruction;
and the allocation unit is used for allocating the audio focus of the intelligent air conditioner to a target channel by using a preset audio focus occupation strategy so as to play the voice information corresponding to the first target function.
9. The system of claim 8, wherein the second control unit is specifically configured to: determining whether the default state is consistent with a first target state corresponding to the first target function; if the default state is consistent with the first target state, controlling the intelligent air conditioner to keep the default state; and if the default state is inconsistent with the first target state, controlling the intelligent air conditioner to be switched to the first target state from the default state.
10. The system of claim 8, wherein the allocation unit comprises:
a determining subunit, configured to determine whether an audio focus of the smart air conditioner is occupied by a 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 a second other channel needs to be active;
and an allocating subunit, configured to allocate the audio focus to a target channel to play the voice information corresponding to the first target function if the second other channel does not exist and needs to be active, or if the second other channel exists and is active, where a channel priority of the target channel is higher than channel priorities of the first other channel and the second other channel.
CN202210646096.3A 2022-06-09 2022-06-09 Air conditioner control method and system Pending CN115164377A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN115164377A true CN115164377A (en) 2022-10-11

Family

ID=83485785

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Family Cites Families (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
KR20210033749A (en) * 2019-09-19 2021-03-29 삼성전자주식회사 Appliance, appliance network system and connection method thereof
CN110879695B (en) * 2019-11-22 2021-03-26 北京声智科技有限公司 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

Cited By (1)

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

Also Published As

Publication number Publication date
WO2023236810A1 (en) 2023-12-14

Similar Documents

Publication Publication Date Title
US20040116141A1 (en) Resource management on a personal area network
CN105979501B (en) Resource allocation methods and device
CN111447602B (en) Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium
WO2023236810A1 (en) Air conditioner control method and system
WO2011160339A1 (en) Application provision method and mobile terminal
US20230325145A1 (en) Audio Control System
KR20230140463A (en) Random access method and device, storage medium (RANDOM ACCESS METHOD AND DEVICE, AND STORAGE MEDIUM)
KR20230098360A (en) Bandwidth part configuration method and device
US20220417944A1 (en) Communication method and related apparatus
WO2013189153A1 (en) Emergency call establishment method, network apparatus, and communication system
WO2018028239A1 (en) Method and apparatus for controlling terminal, and computer storage medium
CN110738992B (en) Voice information processing method and device, storage medium and electronic device
WO2023087793A1 (en) Audio service processing method and apparatus, electronic device, and storage medium
CN112068794A (en) Audio mixing control method, device, electronic device and storage medium
CN111741456A (en) Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium
CN113691668B (en) Device control method, device, chip, electronic device and storage medium
US20190182331A1 (en) Head Unit of Vehicle and Method for Controlling the Same
CN107995369B (en) Method, device and equipment for solving audio conflict
CN115686424A (en) Priority configuration method, device, equipment and storage medium for audio playing
CN113727316A (en) Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth
CN105791932B (en) A kind of method, apparatus and smart television switching audiovisual applications
CN116528202A (en) Connection control method, device, electronic equipment and storage medium
CN107704172B (en) Multimedia application switching control method, system and storage device
CN110572844A (en) Random access method, device and terminal
CN112965685A (en) Audio control method, device, system, terminal equipment and storage medium

Legal Events

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