Air conditioner control method and system
Patent Information
- Application Number
- CN202210646096.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-09
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-06-09
AI Technical Summary
[0045] An air conditioning control method and system based on the above embodiments of the present invention are provided. The method includes: when a smart air conditioner is detected to be powered on, enabling the smart air conditioner's Bluetooth and controlling it to activate a default state according to its device status; receiving a first user instruction, which is used to activate a first target function occupying Bluetooth; depending on the device status, either not responding to the first user instruction or responding to the first user instruction; when responding to the first user instruction, controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function; and using a preset audio focus occupancy strategy, allocating the smart air conditioner's audio focus to a target channel to play voice information corresponding to the first target function. In this solution, upon receiving a first user instruction to activate a first target function requiring Bluetooth occupancy, 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 its device status, and the audio focus of the smart air conditioner is allocated to a target channel using an audio focus occupancy strategy to play voice information corresponding to the first target function, thereby enabling free switching of the smart air conditioner's Bluetooth usage.
Smart Images

Figure CN115164377B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of control technology, specifically to an air conditioning control method and system. Background Technology
[0002] With the development of science and technology, home appliances such as air conditioners are becoming increasingly intelligent. Current smart air conditioners are typically equipped with modules such as Bluetooth and speakers. Since smart air conditioners have many Bluetooth functions, how to freely switch between Bluetooth functionality on a smart air conditioner is a problem that urgently needs to be solved. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide an air conditioning control method and system to enable the free switching of smart air conditioning to use Bluetooth.
[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0005] The first aspect of this invention discloses an air conditioning control method, the method comprising:
[0006] When the smart air conditioner is detected to be 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.
[0007] Receive a first user instruction, the first user instruction being used to activate a first target function that occupies the Bluetooth;
[0008] Depending on the device status, either the device does not respond to the first user command, or it responds to the first user command.
[0009] When responding to the first user instruction, the smart air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function;
[0010] Using a preset audio focus occupancy strategy, the audio focus of the smart air conditioner is allocated to the target channel to play the voice information corresponding to the first target function.
[0011] 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:
[0012] Determine whether the default state is consistent with the first target state corresponding to the first target function;
[0013] If the default state is consistent with the first target state, control the smart air conditioner to maintain the default state;
[0014] If the default state is inconsistent with the first target state, control the smart air conditioner to switch from the default state to the first target state.
[0015] Preferably, by utilizing a preset audio focus allocation strategy, the audio focus of the smart air conditioner is allocated to the target channel to play the voice information corresponding to the first target function, including:
[0016] Determine whether the audio focus of the smart air conditioner is occupied by a first other channel;
[0017] If the audio focus is occupied by a first other channel, the audio focus is preempted to deactivate the first other channel, and it is determined whether there is a second other channel that needs to be active.
[0018] If no other second channel needs to be active, or if another other second channel is active, the audio focus is assigned to the 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.
[0019] Preferably, the method further includes:
[0020] During the playback of the voice information corresponding to the first target function, if at least one third other channel needs to be active, it will preempt the audio focus to deactivate the target channel.
[0021] The audio focus is assigned to the third other channel, which has the highest channel priority.
[0022] Preferably, depending on the device state, not responding to the first user instruction, or responding to the first user instruction, includes:
[0023] When the device is in a first specific state, a third specific state, or a fourth specific state, it responds to the first user instruction.
[0024] When the device is in a second specific state, it does not respond to the first user command;
[0025] The first specific state indicates: no network configuration history and no WIFI configuration information received; the second specific state indicates: no network configuration history, received configuration information and connected to a wireless access point; the third specific state indicates: network configuration history exists and connected to a wireless access point; the fourth specific state indicates: network configuration successful and configuration information received.
[0026] 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:
[0027] Receive a second user instruction, the second user instruction being used to activate a second target function that occupies the Bluetooth;
[0028] In response to the second user instruction, the smart air conditioner is controlled to switch from the first target state to the second target state corresponding to the second target function;
[0029] Using the audio focus occupancy strategy, the audio focus is allocated to the target channel to play the voice information corresponding to the second target function.
[0030] Preferably, the method further includes:
[0031] Receive Bluetooth turn-off command;
[0032] When the device is in a first specific state, a third specific state, or a fourth specific state, it responds to the Bluetooth turn-off command to control the smart air conditioner to turn off Bluetooth.
[0033] Using the audio focus occupancy strategy, the audio focus is allocated to the target channel to play voice information indicating that the Bluetooth is turned off.
[0034] A second aspect of this invention discloses an air conditioning control system, the system comprising:
[0035] The first control unit is used to turn on the Bluetooth of the smart air conditioner when the smart air conditioner is detected to be powered on, and to control the smart air conditioner to enable the default state according to the device status of the smart air conditioner.
[0036] The first receiving unit is configured to receive a first user instruction, which is used to activate a first target function that occupies the Bluetooth.
[0037] The processing unit is configured to, depending on the device state, either not respond to the first user instruction or respond to the first user instruction;
[0038] The second control unit is used 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;
[0039] The allocation unit 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 by using a preset audio focus occupancy strategy.
[0040] Preferably, the second control unit 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 inconsistent with the first target state, control the smart air conditioner to switch from the default state to the first target state.
[0041] Preferably, the allocation unit includes:
[0042] A determining subunit is used to determine whether the audio focus of the smart air conditioner is occupied by a first other channel;
[0043] The processing subunit is configured to preempt the audio focus if the audio focus is occupied by a first other channel, thereby deactivating the first other channel, and to determine whether there is a second other channel that needs to be active.
[0044] An allocation subunit is configured to allocate the audio focus to a target channel to play the voice information corresponding to the first target function if no other second channel needs to be active, or if an other second 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.
[0045] An air conditioning control method and system based on the above embodiments of the present invention are provided. The method includes: when a smart air conditioner is detected to be powered on, enabling the smart air conditioner's Bluetooth and controlling it to activate a default state according to its device status; receiving a first user instruction, which is used to activate a first target function occupying Bluetooth; depending on the device status, either not responding to the first user instruction or responding to the first user instruction; when responding to the first user instruction, controlling the smart air conditioner to switch from the default state to the first target state corresponding to the first target function; and using a preset audio focus occupancy strategy, allocating the smart air conditioner's audio focus to a target channel to play voice information corresponding to the first target function. In this solution, upon receiving a first user instruction to activate a first target function requiring Bluetooth occupancy, 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 its device status, and the audio focus of the smart air conditioner is allocated to a target channel using an audio focus occupancy strategy to play voice information corresponding to the first target function, thereby enabling free switching of the smart air conditioner's Bluetooth usage. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0047] Figure 1 A flowchart of an air conditioning control method provided in an embodiment of the present invention;
[0048] Figure 2 Example diagram of channel details information provided in embodiments of the present invention;
[0049] Figure 3 A flowchart for assigning audio focus to a target channel provided in an embodiment of the present invention;
[0050] Figure 4 This is a structural block diagram of an air conditioning control system provided in an embodiment of the present invention. Detailed Implementation
[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0052] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0053] As the background technology shows, most smart air conditioners currently use Bluetooth. Therefore, how to freely switch the use of Bluetooth in smart air conditioners is a problem that urgently needs to be solved.
[0054] Therefore, embodiments of the present invention provide an air conditioning control method and system. When a first user instruction is received to activate a first target function that requires Bluetooth, the system controls the smart air conditioner to switch from a default state to a first target state corresponding to the first target function, based on the device state of the smart air conditioner. The system also uses an 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, thereby enabling the smart air conditioner to freely switch between using Bluetooth.
[0055] Please see Figure 1 The flowchart illustrates an air conditioning control method according to an embodiment of the present invention, the air conditioning control method comprising:
[0056] Step S101: When the smart air conditioner is detected to be powered on, turn on the Bluetooth of the smart air conditioner and control the smart air conditioner to enable the default state according to the device status of the smart air conditioner.
[0057] In the specific implementation of step S101, when the smart air conditioner is detected to be powered on (or when the smart air conditioner is detected to be started), the Bluetooth of the smart air conditioner is turned on; according to the device status of the smart air conditioner, the smart air conditioner is controlled to enable the default state (or enter the default state).
[0058] In some embodiments, the default state is a network configuration state, a Bluetooth speaker broadcast state, or no specific state. The no specific state is when the smart air conditioner does not enable any Bluetooth broadcast function. The default state can be set according to the actual situation. The default state given above is only an example. The actual situation of the default state is not specifically limited in the embodiments of the present invention.
[0059] It should be noted that smart air conditioners have multiple functions that require Bluetooth access, and only one function can be used at a time.
[0060] Step S102: Receive the first user instruction.
[0061] It should be noted that the first user command is used to activate the first target function that occupies Bluetooth.
[0062] In the specific implementation step S102, a first user instruction is received. The first user instruction can be triggered by voice, for example, the smart air conditioner is equipped with a device that can detect voice signals (such as a microphone), and the first user instruction is obtained by parsing the user's voice signal; similarly, the first user instruction can also be triggered by a remote control device, for example, the user triggers the first user instruction through the remote control device of the smart air conditioner; in the embodiments of the present invention, the triggering method of the first user instruction is not specifically limited.
[0063] In some embodiments, the first target function may be a function that requires Bluetooth access, such as an air conditioner network connection function, a Bluetooth speaker function, or a mini-program function (also known as a Bluetooth mini-program function). After activating the first target function, the smart air conditioner will enter the first target state corresponding to that function. For example, after activating the Bluetooth speaker function, the smart air conditioner enters the Bluetooth speaker function broadcast state (first target state); after activating the air conditioner network connection function, the smart air conditioner enters the network configuration state (first target state); after activating the mini-program function, the smart air conditioner enters the mini-program function broadcast state (first target state).
[0064] It should be noted that after activating the smart air conditioner's mini-program function, users can control the smart air conditioner through the mini-program.
[0065] In some embodiments, when the smart air conditioner enters the Bluetooth speaker function broadcast state or the mini-program function broadcast state, the smart air conditioner (equivalent to a slave device) can pair and connect with a mobile terminal such as a mobile phone (equivalent to a master device) via Bluetooth. After successful Bluetooth pairing and connection, the mobile terminal can control the smart air conditioner via Bluetooth. The process of pairing and connecting the smart air conditioner with 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 explains the Bluetooth pairing and connection process.
[0066] Bluetooth device pairing steps: The slave device (smart air conditioner) turns on Bluetooth so that its device identifier (or Bluetooth name) can be found by nearby devices. The slave device's device identifier can be uniformly set to "AC-XXXX (last four digits of the Wi-Fi MAC address)". The master device (mobile terminal) turns on Bluetooth and searches for nearby connectable devices; the slave and master devices complete the initial communication authentication through pairing.
[0067] Bluetooth device connection steps: For the master device, it can directly connect to a slave device that has a successful pairing history (no need to pair again). After the master device turns on Bluetooth, it will automatically connect to the previously connected slave device. After the master device and slave device are successfully connected, the slave device can play the voice message "Bluetooth connected"; if the connection between the master device and slave device fails or Bluetooth is disconnected, the slave device can play the voice message "Bluetooth disconnected".
[0068] Bluetooth device control steps: After the master device and slave device are successfully connected, the master device can control the slave device to play audio information, specifically triggering commands such as play / continue playback, pause, previous track, next track, fast forward, rewind, increase volume, decrease volume, etc.
[0069] Step S103: Depending on the device status, either do not respond to the first user command, or respond to the first user command.
[0070] It should be noted that the device status is either a first specific status, a second specific status, a third specific status, or a fourth specific status; where the first specific status indicates that the smart air conditioner has no network configuration history and has not received WIFI configuration information; the second specific status indicates that the smart air conditioner has no network configuration history, has received configuration information, and is connected to a wireless access point (AP); the third specific status indicates that the smart air conditioner has a network configuration history and is connected to a wireless access point; and the fourth specific status indicates that network configuration was successful and configuration information was received.
[0071] When the device is in the first specific state, the default state can be the network configuration state; when the device is in the second or third state, the default state can be no specific state; when the device is in the fourth specific state, the default state can be the Bluetooth speaker broadcast state.
[0072] In the specific implementation of step S103, when the device state is a first specific state, a third specific state, or a fourth specific state, it responds to the first user instruction.
[0073] When the device is in the second specific state, it will not respond to the first user command. That is, 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 is binding to the AP), it will not respond to the first user command.
[0074] Step S104: When responding to the first user command, control the smart air conditioner to switch from the default state to the first target state corresponding to the first target function.
[0075] In the specific implementation of step S104, when responding to the first user instruction, the smart air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function. Specifically, the smart air conditioner is controlled to exit (or stop) the default state, and then the smart air conditioner is controlled to enter the first target state.
[0076] It should be noted that the first target state may be the same as the default state. For example, when the smart air conditioner is in the default state of being connected to the network, the user triggers the first user command to activate the air conditioner's network function (the corresponding first target state is the network configuration state). In this case, the first target state is the same as the default state.
[0077] 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 and the first target state are consistent, the smart air conditioner is controlled to maintain the default state; if the default state and the first target state are inconsistent, the smart air conditioner is controlled to switch from the default state to the first target state.
[0078] For example: Suppose the default state of the smart air conditioner is the network distribution state, and the first target state is also the network distribution state; respond to the first user's command and control the smart air conditioner to maintain the network distribution state.
[0079] For example: Suppose the default state of the smart air conditioner is network pairing state, and the first target state is Bluetooth speaker function broadcast state. In response to the first user command, first control the smart air conditioner to stop network pairing state, and then control the smart air conditioner to enter Bluetooth speaker function broadcast state.
[0080] Step S105: Using a preset audio focus occupancy 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.
[0081] It should be noted that smart air conditioners are equipped with playback devices (such as speakers); the target channel is used to play TTS (Text-to-Speech), and 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 occupied by one channel at a time (equivalent to only one channel being active).
[0082] Channels include, but are not limited to: voice output channels (i.e., target channels), call channels, voice input channels, alarm clock channels, and content channels; each channel is configured with corresponding channel details, which include, but are not limited to: channel priority, timing for actively acquiring audio focus, timing for preempting audio focus, timing for actively releasing audio focus, and timing for losing audio focus.
[0083] For example Figure 2 The provided example diagram shows the channel details, including: voice output channel (i.e., target channel), call channel, voice input channel, alarm clock channel, and content channel. Each channel has a set channel priority, active audio focus acquisition timing, audio focus preemption timing, active audio focus release timing, and audio focus loss timing. The voice output channel has the highest channel priority, and the content channel has the lowest. For the call channel, the channel priority is level 2. The active audio focus acquisition timing is "dialing a customer service call via speaker," the audio focus preemption timing is "local notification tone / cloud TTS active," the active audio focus release timing is "call ended," and the audio focus loss timing is "stop recording." For the channel priorities, active audio focus acquisition timing, audio focus preemption timing, active audio focus release timing, and audio focus loss timing of other channels, see [details omitted]. Figure 2 The contents shown will not be explained in detail here.
[0084] The audio focus occupancy policy is preset to allocate the audio focus of the smart air conditioner. The audio focus occupancy policy has the following four rules.
[0085] The first rule is that only one channel can be active at a time, or in other words, the audio focus can only be occupied by one channel.
[0086] The second rule: If multiple channels need to be active (or multiple channels need to occupy audio focus), then the audio focus will be assigned to the channel with the highest channel priority according to the channel priority.
[0087] The third rule is that services on the same channel are mutually exclusive, and the principle of proximity is adopted, meaning that new services on the same channel interrupt old services.
[0088] The fourth rule: For any channel that needs to be active, if the channel currently holding audio focus has a higher channel priority than that channel (the aforementioned channel that needs to be active), then the channel needs to preempt the audio focus. After preempting the audio focus, the audio focus is then allocated according to channel priority, with priority given to channels with higher channel priorities. For example: combining Figure 2 The content shown indicates that the voice output channel is currently occupying the audio focus (i.e., the smart air conditioner is currently playing TTS). At this time, the alarm clock channel and the content channel (such as Bluetooth audio) need to be active. Therefore, it is necessary to first seize the audio focus of the voice output channel (or in other words, seize the audio focus of the TTS), so that the voice output channel becomes inactive. Since the channel priority of the alarm clock channel is higher than that of the content channel, it is determined that the audio focus will be allocated to the alarm clock channel.
[0089] In the specific implementation 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 of the smart air conditioner is allocated to the target channel using the audio focus occupancy strategy to play the voice information corresponding to the first target function. The voice information (equivalent to TTS) corresponding to different first target functions is different. For example, after switching the smart air conditioner from the default state to the Bluetooth speaker function, the audio focus of the smart air conditioner is allocated to the target channel to play the TTS "We have turned on the Bluetooth speaker function for you. Please use your mobile phone or other devices to complete the Bluetooth pairing connection".
[0090] In this embodiment of the invention, when a first user instruction is received to activate a first target function that requires Bluetooth, 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 device state of the smart air conditioner. The audio focus of the smart air conditioner is allocated to the target channel using an audio focus occupancy strategy to play the voice information corresponding to the first target function, so as to realize the function of freely switching the smart air conditioner to use Bluetooth.
[0091] The above embodiments of the present invention Figure 1 For the process of assigning audio focus to the target channel involved in step S105, please refer to [link / reference]. Figure 3 The diagram illustrates a flowchart of assigning audio focus to a target channel according to an embodiment of the present invention, including the following steps:
[0092] 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, proceed to step S304; if the audio focus is occupied by the first other channel, proceed to steps S302 and S303.
[0093] It should be noted that the target channel has a higher channel priority than the first and second other channels. For example... Figure 2 As shown, the target channel is the voice output channel, and the target channel has a higher channel priority than other channels.
[0094] In the specific implementation of step S301, according to the above embodiments of the present invention... Figure 1 The rules of the audio focus occupancy strategy mentioned in step S105 require that after the smart air conditioner switches 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.
[0095] 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.
[0096] If the audio focus is occupied by another channel, execute step S302 to preempt the audio focus.
[0097] Step S302: Preempt audio focus to deactivate the first other channel.
[0098] In the specific implementation of 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.
[0099] Step S303: Determine if there is a second channel that needs to be active. If there is no second channel that needs to be active, or if there is a second channel that is active, proceed to step S304.
[0100] In the specific implementation 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, in addition to the target channel needing to be active, it is also necessary to determine whether there is a second other channel that needs to be active.
[0101] Since the target channel has the highest channel priority, the audio focus is assigned to the target channel regardless of whether other second channels need to be active. That is, if no other second channel needs to be active, or if other second channels are active, step S304 is executed to assign the audio focus to the target channel to play the voice information corresponding to the first target function.
[0102] Step S304: Assign audio focus to the target channel to play the voice information corresponding to the first target function.
[0103] In some embodiments, during the playback of voice information corresponding to the first target function, if at least one third other channel needs to be active, the audio focus is preempted to deactivate the target channel; then the audio focus is allocated to the third other channel with the highest channel priority. That is, when the target channel is occupying 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 channel priority.
[0104] After activating its primary function, a smart air conditioner can also switch functions via a second user command (such as voice or remote control). In other words, during use, other functions of the smart air conditioner can be activated using a second user command. For example, after activating the Bluetooth speaker function, the user can use a second user command to control the air conditioner to activate a mini-program function to enter mini-program broadcast mode (the Bluetooth speaker broadcast mode needs to be stopped first).
[0105] In some embodiments, a second user instruction is received to activate a second target function that occupies Bluetooth; in response to the second user instruction, the smart air conditioner is controlled to switch from a first target state to a second target state corresponding to the second target function; and an audio focus occupancy strategy is used to allocate audio focus to a target channel to play voice information corresponding to the second target function. For details on audio focus allocation, please refer to the descriptions of the above embodiments, which will not be repeated here.
[0106] As can be seen from the above embodiments, the Bluetooth function can be activated by a first user command or a second user command. Similarly, the Bluetooth of the smart air conditioner can be turned off by a Bluetooth turn-off command (such as by voice or remote control device).
[0107] In some embodiments, a Bluetooth turn-off command is received; when the device state is in a first specific state, a third specific state, or a fourth specific state, the Bluetooth turn-off command is responded to to control the smart air conditioner to turn off Bluetooth; and an audio focus occupancy strategy is used to allocate audio focus to a target channel to play voice information indicating that Bluetooth is turned off. For example, if a user triggers a Bluetooth turn-off command by using the command word "turn off Bluetooth," and the device state is in the first specific state, a third specific state, or a fourth specific state, the Bluetooth turn-off command is responded to to control the smart air conditioner to turn off Bluetooth, and audio focus is allocated to a target channel to play the voice information "Bluetooth is off."
[0108] In some embodiments, the smart air conditioner defaults to enabling Bluetooth network configuration broadcasting to enter Bluetooth network configuration state, which allows users to configure the functions of the smart air conditioner (which requires Bluetooth functionality) via command words. Even if network configuration is unsuccessful, users can still configure the functions of the smart air conditioner via command words. The command words are voice signals used to trigger the aforementioned first user command, second user command, or Bluetooth shutdown command.
[0109] The execution logic corresponding to different command words and the specific content of the played TTS are detailed 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 the specific content of the played TTS. Table 1 is not intended to limit the execution logic corresponding to command words and the specific content of the played TTS.
[0110] Table 1:
[0111]
[0112] 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 broadcast state. That is to say, after the smart air conditioner is successfully connected to the network, it defaults to the Bluetooth speaker broadcast state.
[0113] It should be noted that the name of the Bluetooth speaker for the smart air conditioner and the name of the mini-program must be consistent. For example, they can be uniformly set to "AC-XXXX (last four digits of the WIFI-MAC address)".
[0114] To better explain the first specific state, second specific state, third specific state, fourth specific state, and default state of the smart air conditioner mentioned in the above embodiments, examples are provided in Table 2. Table 2 shows the specific content of the first specific state, second specific state, third specific state, fourth specific state, and default state, as well as the actions and results that the smart air conditioner can perform in different states. It should be noted that the content shown in Table 2 is only a partial example and is not intended to specifically limit the content of the first specific state, second specific state, third specific state, fourth specific state, and default state.
[0115] Table 2:
[0116]
[0117]
[0118] Corresponding to the air conditioning control method provided in the above embodiments of the present invention, see also... Figure 4The present invention also provides a structural block diagram of an air conditioning control system, which includes: a first control unit 401, a first receiving unit 402, a processing unit 403, a second control unit 404, and a distribution unit 405;
[0119] The first control unit 401 is used to turn on the Bluetooth of the smart air conditioner when the smart air conditioner is detected to be powered on, and to control the smart air conditioner to enable the default state according to the device status of the smart air conditioner.
[0120] The first receiving unit 402 is used to receive a first user instruction, which is used to activate the first target function of occupying Bluetooth.
[0121] The processing unit 403 is configured to either not respond to the first user instruction or respond to the first user instruction, depending on the device status.
[0122] In a specific implementation, the processing unit 403 is specifically used to: respond to a first user instruction when the device status is a first specific state, a third specific state, or a fourth specific state; and not respond to a first user instruction when the device status is a second specific state. The first specific state indicates: no network configuration history and no WIFI configuration information received; the second specific state indicates: no network configuration history, received configuration information, and connected to a wireless access point; the third specific state indicates: network configuration history exists and connected to a wireless access point; and the fourth specific state indicates: network configuration successful and configuration information received.
[0123] The second control unit 404 is used 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 command.
[0124] 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 and the first target state are consistent, control the smart air conditioner to maintain the default state; if the default state and the first target state are inconsistent, control the smart air conditioner to switch from the default state to the first target state.
[0125] The allocation unit 404 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 by using a preset audio focus occupancy strategy.
[0126] In this embodiment of the invention, when a first user instruction is received to activate a first target function that requires Bluetooth, 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 device state of the smart air conditioner. The audio focus of the smart air conditioner is allocated to the target channel using an audio focus occupancy strategy to play the voice information corresponding to the first target function, so as to realize the function of freely switching the smart air conditioner to use Bluetooth.
[0127] Preferred, combined Figure 4 The content shown indicates that allocation unit 404 includes: a determination subunit, a processing subunit, and an allocation subunit; the specific execution principle of each subunit is as follows:
[0128] The determination subunit is used to determine whether the audio focus of the smart air conditioner is occupied by a first other channel.
[0129] The processing subunit is used to preempt the audio focus to deactivate the first other channel if the audio focus is occupied by the first other channel, and to determine whether there is a second other channel that needs to be active.
[0130] The allocation subunit is used to allocate 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 priority of the target channel is higher than the channel priority of the first other channel and the second other channel.
[0131] Preferably, the processing subunit is also used to preempt the audio focus to deactivate the target channel if at least one third other channel needs to be active during the playback of voice information corresponding to the first target function.
[0132] The allocation subunit is also used to allocate audio focus to the third other channel, which has the highest channel priority.
[0133] Preferred, combined Figure 4 The air conditioning control system, as shown, also includes:
[0134] The second receiving unit receives a second user instruction, which is used to activate the second target function that occupies Bluetooth.
[0135] The third control unit is used to respond to the second user's command to control the smart air conditioner to switch from the first target state to the second target state corresponding to the second target function.
[0136] Accordingly, the allocation unit 404 is also used to: allocate audio focus to the target channel to play voice information corresponding to the second target function by using an audio focus occupancy strategy.
[0137] Preferred, combined Figure 4 The air conditioning control system, as shown, also includes:
[0138] The third receiving unit is used to receive Bluetooth turn-off commands.
[0139] The fourth control unit is used to respond to a Bluetooth turn-off command to control the smart air conditioner to turn off Bluetooth when the device is in a first specific state, a third specific state, or a fourth specific state.
[0140] The allocation unit 404 is further configured to: allocate audio focus to a target channel using the audio focus occupancy strategy to play voice information indicating that Bluetooth is turned off.
[0141] In summary, the embodiments of the present invention provide an air conditioning control method and system. When a first user instruction is received to activate a first target function that requires Bluetooth, the system controls the smart air conditioner to switch from a default state to a first target state corresponding to the first target function according to the device state of the smart air conditioner. The system also uses an 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, thereby realizing the ability to freely switch the smart air conditioner to use Bluetooth.
[0142] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0143] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0144] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the scope of the invention. Therefore, the invention is not 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
1. An air conditioning control method, characterized in that, The method includes: When the smart air conditioner is detected to be 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. Receive a first user instruction, the first user instruction being used to activate a first target function that occupies the Bluetooth; When the device is in a first specific state, a third specific state, or a fourth specific state, it responds to the first user instruction. When the device is in a second specific state, it does not respond to the first user command; The first specific state indicates: no network configuration history and no WIFI configuration information received; the second specific state indicates: no network configuration history, received configuration information and connected to the wireless access point; the third specific state indicates: network configuration history exists and connected to the wireless access point; the fourth specific state indicates: network configuration successful and configuration information received. When responding to the first user instruction, the smart air conditioner is controlled to switch from the default state to the first target state corresponding to the first target function; Using a preset audio focus occupancy strategy, the audio focus of the smart air conditioner is allocated to a target channel to play the voice information corresponding to the first target function. This includes: determining whether the audio focus of the smart air conditioner is occupied by a first other channel; if the audio focus is occupied by the first other channel, preempting the audio focus to deactivate the first other channel, and determining 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, allocating the audio focus to the 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. Receive a second user instruction, the second user instruction being used to activate a second target function that occupies the Bluetooth; In response to the second user instruction, the smart air conditioner is controlled to switch from the first target state to the second target state corresponding to the second target function; Using the audio focus occupancy strategy, the audio focus is allocated to the target channel to play the voice information corresponding to the second target function.
2. The method according to claim 1, characterized in that, 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, control the smart air conditioner to switch from the default state to the first target state.
3. The method according to claim 1, characterized in that, The method further includes: During the playback of the voice information corresponding to the first target function, if at least one third other channel needs to be active, it will preempt the audio focus to deactivate the target channel. The audio focus is assigned to the third other channel, which has the highest channel priority.
4. The method according to claim 1, characterized in that, The method further includes: Receive Bluetooth turn-off command; When the device is in a first specific state, a third specific state, or a fourth specific state, it responds to the Bluetooth turn-off command to control the smart air conditioner to turn off Bluetooth. Using the audio focus occupancy strategy, the audio focus is allocated to the target channel to play voice information indicating that the Bluetooth is turned off.
5. An air conditioning control system, characterized in that, The system includes: The first control unit is used to turn on the Bluetooth of the smart air conditioner when the smart air conditioner is detected to be powered on, and to control the smart air conditioner to enable the default state according to the device status of the smart air conditioner. The first receiving unit is configured to receive a first user instruction, which is used to activate a first target function that occupies the Bluetooth. The processing unit is configured to, depending on the device state, either not respond to the first user instruction or respond to the first user instruction; The second control unit is used 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; The allocation unit 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 by using a preset audio focus occupancy strategy. The allocation unit includes: A determining subunit is used to determine whether the audio focus of the smart air conditioner is occupied by a first other channel; The processing subunit is configured to preempt the audio focus if the audio focus is occupied by a first other channel, thereby deactivating the first other channel, and to determine whether there is a second other channel that needs to be active. An allocation subunit is configured to allocate the audio focus to a target channel to play the voice information corresponding to the first target function if no other second channel needs to be active, or if the other second channel is active, wherein the channel priority of the target channel is higher than the channel priority of the other first channel and the other second channel. The processing unit is specifically used to: respond to a first user instruction when the device status is a first specific state, a third specific state, or a fourth specific state; and not respond to the first user instruction when the device status is a second specific state; wherein, the first specific state indicates: no network configuration history and no WIFI configuration information received; the second specific state indicates: no network configuration history, configuration information received, and connected to a wireless access point; the third specific state indicates: network configuration history exists and connected to a wireless access point; and the fourth specific state indicates: network configuration successful and configuration information received. The air conditioning control system also includes: The second receiving unit receives a second user instruction, which is used to activate the second target function that occupies Bluetooth. The third control unit is used to respond to the second user's command to control the smart air conditioner to switch from the first target state to the second target state corresponding to the second target function; The allocation unit is further configured to: allocate audio focus to the target channel using an audio focus occupancy strategy to play voice information corresponding to the second target function.
6. The system according to claim 5, characterized in that, The second control unit 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 inconsistent with the first target state, control the smart air conditioner to switch from the default state to the first target state.
Citation Information
Patent Citations
Air conditioner and control method, device and system of air conditioner
CN106288154A
Audio playing control method, audio playing control device and computer storage medium
CN113655984A