Method, apparatus, electronic device and storage medium for controlling air conditioner
By using a voice recognition model to obtain the user's intent, determine the target operating mode, and perform corresponding control, the problem of false responses in smart air conditioners is solved, improving the accuracy of air conditioner responses and user experience.
Patent Information
- Application Number
- CN202310473472.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-04-27
AI Technical Summary
Existing smart air conditioners are prone to misresponding to user voice commands when users mention preset control keywords, leading to frequent erroneous responses.
By acquiring the user's voice intent through a speech recognition model, the target operating mode of the air conditioner is determined based on the intent, and corresponding control is performed when necessary, including switching between deep sleep mode and voice interaction mode, to reduce false responses.
It effectively reduces the chance of air conditioner malfunctions, improves user experience, and ensures that the air conditioner responds to the user's voice commands at the appropriate time.
Smart Images

Figure CN118856536B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of speech recognition, for example, to a method and device for controlling an air conditioner, an electronic device and a storage medium. BACKGROUND
[0002] At present, the traditional air conditioner is mainly controlled by a control panel and a remote controller. When using the panel keys, it is common for cabinet air conditioners to need to be close to the air conditioner touch panel to operate. When using the remote controller, it is common for wall-mounted air conditioners and cabinet air conditioners to need to operate within a certain range and at a specified angle. If the set temperature or air speed needs to be changed, continuous key operation is required to adjust to the user's required setting. With the continuous progress of science and technology, household air conditioners are becoming more and more intelligent, and there are also intelligent air conditioners controlled by voice.
[0003] In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
[0004] At present, the intelligent air conditioner usually directly responds to the user's voice instruction when the user mentions the preset control keyword, without distinguishing whether the user needs the response of the air conditioner, thereby causing the situation of incorrect response of the air conditioner.
[0005] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present application, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0006] To have a basic understanding of some aspects of the disclosed embodiments, a brief overview is given below. The overview is not a comprehensive review of the application, nor is it intended to determine key / important elements or delineate the scope of the embodiments, but to serve as a prelude to the detailed description below.
[0007] The embodiments of the present disclosure provide a method and device for controlling an air conditioner, an electronic device and a storage medium, so as to reduce the probability of incorrect response of the air conditioner.
[0008] In some embodiments, the method for controlling an air conditioner comprises: in the case of receiving voice information, obtaining the voice intention of the user according to the voice information; determining the target operating mode of the air conditioner according to the voice intention; and controlling the air conditioner according to the target operating mode.
[0009] In some embodiments, obtaining the voice intention of the user according to the voice information comprises: using a voice recognition model to perform semantic recognition on the voice information to obtain the voice intention.
[0010] In some embodiments, the voice intention of the user is acquired according to the voice information, including: acquiring a number of tonalities in the voice information, and acquiring the voice intention of the user according to the number of tonalities.
[0011] In some embodiments, the voice intention of the user is acquired according to the number of tonalities, including: in a case where the number of tonalities is multiple, it is determined that the voice intention represents that the voice interaction with the air conditioner is not performed.
[0012] In some embodiments, the voice intention of the user is acquired according to the number of tonalities, including: in a case where the number of tonalities is one, it is determined that the voice intention represents that the voice interaction with the air conditioner is performed.
[0013] In some embodiments, the target operation mode of the air conditioner is determined according to the voice intention, including: in a case where the voice intention represents that the voice interaction with the air conditioner is not performed, it is determined that the target operation mode is a deep sleep mode; and / or, in a case where the voice intention represents that the voice interaction with the air conditioner is performed, it is determined that the target operation mode is a voice interaction mode.
[0014] In some embodiments, the target operation mode is the deep sleep mode, and after the air conditioner is controlled according to the target operation mode, the method further includes: in a case where a preset wake-up word is received, counting a number of preset keywords received in a first preset time period; and in a case where the number of preset keywords received in the first preset time period is less than a preset number, controlling the air conditioner to enter the voice interaction mode.
[0015] In some embodiments, the device for controlling the air conditioner includes: an acquisition module configured to acquire a voice intention of a user according to voice information in a case where the voice information is received; a determination module configured to determine a target operation mode of the air conditioner according to the voice intention; and a control module configured to control the air conditioner according to the target operation mode.
[0016] In some embodiments, the electronic device includes a processor and a memory having program instructions stored therein, and the processor is configured to execute the above-mentioned method for controlling the air conditioner when the program instructions are executed.
[0017] In some embodiments, the storage medium has program instructions stored therein, and the program instructions are executed to perform the above-mentioned method for controlling the air conditioner.
[0018] The method, device, electronic device and storage medium for controlling an air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects: by acquiring the voice intention of a user according to voice information when the voice information is received, it can be determined whether the air conditioner needs to respond. Then, the target operation mode of the air conditioner is determined according to the voice intention, and the air conditioner is controlled according to the target operation mode. The operation mode of the air conditioner can be changed with the change of the voice intention, thereby reducing the probability of incorrect response of the air conditioner.
[0019] The foregoing general description and the following description are merely exemplary and explanatory, and are not intended to limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0020] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, which are schematic and not intended to be limiting of the embodiments, and in which like reference numerals designate similar elements in the accompanying drawings, the drawings do not limit the present embodiments, and wherein:
[0021] Figure 1 is a schematic diagram of one method for controlling an air conditioner provided by the embodiments of the present disclosure;
[0022] Figure 2 is a schematic diagram of another method for controlling an air conditioner provided by the embodiments of the present disclosure;
[0023] Figure 3 is a schematic diagram of another method for controlling an air conditioner provided by the embodiments of the present disclosure;
[0024] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided by the embodiments of the present disclosure;
[0025] Figure 5 is a schematic diagram of one device for controlling an air conditioner provided by the embodiments of the present disclosure;
[0026] Figure 6 is a schematic diagram of one electronic device provided by the embodiments of the present disclosure. DETAILED DESCRIPTION
[0027] In order to enable a person skilled in the art to more fully understand the features and technical contents of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, which are used only for reference and do not limit the embodiments of the present disclosure. In the following technical description, in order to facilitate explanation, a plurality of details are provided to provide a full understanding of the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices can be simplified to facilitate the drawings.
[0028] The terms "first", "second", and the like in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.
[0029] Unless otherwise specified, the term "a plurality of" means two or more.
[0030] In the present disclosure, the character " / " represents a "or" relationship between the objects before and after it. For example, A / B means: A or B.
[0031] The term "and / or" is a description of the association relationship between objects, which means that there can be three relationships. For example, A and / or B means: A or B, or, A and B, the three relationships.
[0032] The term "corresponding" can refer to an association or binding relationship. A and B correspond to each other means that there is an association or binding relationship between A and B.
[0033] In the present disclosure, the air conditioner is a smart air conditioner capable of voice interaction. The smart air conditioner refers to an air conditioner product formed after introducing microprocessors, sensor technology, network communication technology into the air conditioner, which has the characteristics of intelligent control, intelligent sensing and intelligent application. The operation process of the smart air conditioner often depends on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, a smart home appliance air conditioner can achieve remote control and management of the smart air conditioner by connecting electronic devices.
[0034] In the present disclosure, the execution subject of the method for controlling the air conditioner is an electronic device, which is a server, a computer or an air conditioner.
[0035] In some embodiments, in the case of a server or a computer, the server or the computer is connected to the air conditioner through the Internet. The air conditioner is provided with a voice collection device, which is used to collect voice in a preset area and obtain voice information. The server or the computer obtains the voice information through the voice collection device on the air conditioner. The server or the computer determines the target operation mode of the air conditioner according to the voice information, so as to control the air conditioner according to the voice information.
[0036] In some embodiments, in the case of an air conditioner, the air conditioner is provided with a voice collection device. The air conditioner collects voice by using the voice collection device and obtains voice information. The air conditioner determines the target operation mode of the air conditioner according to the voice information, so as to control the air conditioner according to the voice information.
[0037] In combination withFigure 1 As shown, the embodiment of the present disclosure provides a method for controlling an air conditioner, comprising:
[0038] In step S101, in the case of receiving voice information, the electronic device acquires the voice intention of the user according to the voice information.
[0039] In step S102, the electronic device determines the target operation mode of the air conditioner according to the voice intention.
[0040] In step S103, the electronic device controls the air conditioner according to the target operation mode.
[0041] The method for controlling an air conditioner provided by the embodiment of the present disclosure can determine whether the air conditioner needs to respond by acquiring the voice intention of the user according to the voice information in the case of receiving the voice information. Then, the target operation mode of the air conditioner is determined according to the voice intention, and the air conditioner is controlled according to the target operation mode. The operation mode of the air conditioner can change with the change of the voice intention, thereby reducing the probability of false response of the air conditioner on the basis of ensuring that the air conditioner can respond to the voice information.
[0042] Optionally, acquiring the voice intention of the user according to the voice information comprises: performing semantic recognition on the voice information by using a voice recognition model to obtain the voice intention. In this way, the voice intention of the user can be obtained to facilitate more accurate determination of whether the air conditioner needs to respond.
[0043] In some embodiments, the voice recognition model is obtained by: obtaining a plurality of first sample voices, each of which carries a first sample label, the first sample label being a voice intention for representing voice interaction with the air conditioner; obtaining a plurality of second sample voices, each of which carries a second sample label; the second sample label representing a voice intention for representing no voice interaction with the air conditioner; and inputting the first sample voice and the second sample voice into a preset neural network model for training to obtain the voice recognition model.
[0044] Further, the first sample voice is obtained by: in the case that the air conditioner is in a first sample voice collection mode, determining the collected voice information as first target voice information, and determining the first target voice information as the first sample voice. The first target voice information is the voice information of the user in the area where the air conditioner is located. The first target voice information is a dialect or a common language. In this way, the voice recognition model trained by using the first target voice information can not only perform semantic recognition on the voice of the common language, but also perform semantic recognition on the voice of the dialect. Thus, the application range of the voice recognition model can be expanded.
[0045] In some embodiments, the operation mode of the air conditioner is adjusted to the first sample voice collection mode in a case where a control instruction for characterizing the operation of the first sample voice collection mode is received. The user can send the control instruction to the air conditioner through a remote controller, voice or a control panel.
[0046] Further, the second sample voice is obtained by: determining collected voice information as second target voice information and determining the second target voice information as the second sample voice in a case where the air conditioner is in the second sample voice collection mode. The second target voice information includes voice of a user in a region where the air conditioner is located and voice played by a voice playing device. The voice of the user is, for example, voice when the user makes a phone call. The voice playing device is, for example, a television. In this way, the voice recognition model trained by using the second target voice information can not only recognize the voice of the user, but also perform semantic recognition on the voice played by the voice playing device, so that a more accurate voice intention can be obtained in a case where the voice recognition model recognizes the voice information, thereby reducing the probability of incorrect voice reply of the air conditioner.
[0047] In some embodiments, the second target voice information includes voice information when the user makes a phone call.
[0048] In combination with Figure 2 As shown in the drawings, the embodiments of the present disclosure provide a method for controlling an air conditioner, comprising:
[0049] In step S201, in a case where voice information is received, an electronic device performs semantic recognition on the voice information by using a voice recognition model to obtain a voice intention.
[0050] In step S202, the electronic device determines a target operation mode of the air conditioner according to the voice intention.
[0051] In step S203, the electronic device controls the air conditioner according to the target operation mode.
[0052] By using the method for controlling an air conditioner provided by the embodiments of the present disclosure, the voice intention of a user can be obtained by recognizing voice information by using a voice recognition model in a case where the voice information is received, so that it can be determined whether the air conditioner needs to respond. Then, the target operation mode of the air conditioner is determined according to the voice intention, and the air conditioner is controlled according to the target operation mode. The operation mode of the air conditioner can be changed according to the change of the voice intention, so that the probability of incorrect response of the air conditioner is reduced on the basis of ensuring that the air conditioner can respond to the voice information.
[0053] Optionally, the voice intention of the user is obtained according to the voice information, comprising: obtaining a number of tones in the voice information, and obtaining the voice intention of the user according to the number of tones.
[0054] Optionally, the voice intention of the user is acquired according to the number of tones, including: in a case where the number of tones is multiple, determining that the voice intention represents that the air conditioner does not perform voice interaction.
[0055] Further, the voice information is received, including: receiving voice information in a second preset time period. Since the speaking time of different users is usually different when the user is in conversation, for example, user B usually speaks after user A finishes speaking. Therefore, by receiving voice information in a second preset time period and acquiring the number of tones of the voice information in the second preset time period, whether multiple users exist in the space region where the air conditioner is located can be more accurately determined.
[0056] Optionally, the voice intention of the user is acquired according to the number of tones, including: in a case where the number of tones is one, determining that the voice intention represents that the air conditioner performs voice interaction. In a case where the number of tones is one, it represents that only one user exists in the space region where the air conditioner is located, and at this time, the voice intention is the voice interaction mode, so that the air conditioner can respond to the user in time.
[0057] Optionally, the target operation mode of the air conditioner is determined according to the voice intention, including: in a case where the voice intention represents that the air conditioner does not perform voice interaction, determining that the target operation mode is a deep sleep mode.
[0058] In some embodiments, the deep sleep mode represents that the air conditioner can receive voice information, but does not make any reply. Not making any reply represents not making any operation, and also does not perform voice reply.
[0059] In combination Figure 3 The embodiments of the present disclosure provide a method for controlling an air conditioner, including:
[0060] In step S301, the electronic device receives voice information in a second preset time period.
[0061] In step S302, the electronic device acquires the number of tones in the voice information.
[0062] In step S303, in a case where the number of tones is multiple, the electronic device determines that the target operation mode of the air conditioner is a deep sleep mode.
[0063] In step S304, the electronic device controls the air conditioner according to the deep sleep mode.
[0064] The method for controlling the air conditioner provided in the embodiments of the present disclosure is used to obtain the number of tones in the voice information in the second preset time period, and control the air conditioner in the deep sleep mode when the number of tones is multiple. Since the number of tones is multiple, it indicates that there are multiple persons in the space region where the air conditioner is located, and these persons are in conversation. Therefore, by determining the target operation mode of the air conditioner as the deep sleep mode, the situation that the air conditioner mistakenly performs voice reply and disturbs the user can be avoided, thereby improving the experience of the user using the air conditioner.
[0065] In some embodiments, the space region where the air conditioner is located is a room, multiple users exist in the room, and the multiple users are in conversation. In the second preset time period, the air conditioner receives voice information, and obtains the number of tones in the received voice information. When the number of tones in the voice information is multiple, the air conditioner enters the deep sleep mode. Thus, the situation that the air conditioner mistakenly performs voice reply is reduced.
[0066] Optionally, determining the target operation mode of the air conditioner according to the voice intent comprises: in the case that the voice intent indicates voice interaction with the air conditioner, determining the target operation mode as the voice interaction mode.
[0067] In some embodiments, in the case that the air conditioner enters the voice interaction mode, the air conditioner can not only execute the corresponding operation mode in response to the voice instruction, but also can use the loudspeaker to respond to the voice instruction issued by the user. For example, the voice instruction is used to indicate to lower the temperature. The air conditioner lowers the temperature according to the voice instruction when the voice instruction is received. Or, the voice instruction is used to indicate to broadcast the temperature, and the air conditioner broadcasts the current running temperature using the loudspeaker when the voice instruction is received.
[0068] Optionally, the target operation mode is the deep sleep mode, and after controlling the air conditioner according to the target operation mode, the method further comprises: in the case that a preset wake-up word is received, counting the number of times of the preset keyword received in the first preset time period. In the case that the number of times of the preset keyword received in the first preset time period is less than a preset number of times, controlling the air conditioner to enter the voice interaction mode. When the user talks about the air conditioner, the preset wake-up word may be mentioned by mistake. However, in general, if the topic involves the air conditioner, the performance, mode or volume of the air conditioner and the like will also be mentioned. Therefore, by counting the number of times of the preset keyword received in the first preset time period and judging whether the number of times of the preset keyword received is less than the preset number of times, it can be more accurately determined whether the user wants to control the air conditioner or simply mentions the air conditioner.
[0069] In some embodiments, in the case that the number of times of the preset keyword received in the first preset time period is less than the preset number of times, controlling the air conditioner to enter the voice interaction mode comprises: determining response information corresponding to the preset keyword, and controlling the air conditioner to respond according to the response information.
[0070] In some embodiments, the preset wake-up word is "Hello, air conditioner". The preset keywords are, for example, "cooling", "heating", "fresh air", and words used to represent air conditioner components. The preset number of times is 4. The first preset time period is one minute. In some embodiments, during a conversation between multiple users, user A mentions "Hello, air conditioner". At this time, the master controller of the air conditioner determines that the received voice information includes the preset wake-up word, and then the air conditioner continues to receive voice information for one minute and determines whether the preset keywords such as "cooling", "heating", or "fresh air" are included in the voice information for one minute. In the case where the preset keywords are included in the voice information for one minute, the number of occurrences of the preset keywords is counted, and in the case where the number of occurrences of the preset keywords is less than the preset number of times, the response information corresponding to the preset keywords is determined, and a response is made according to the response information.
[0071] In combination with Figure 4 The embodiments of the present disclosure provide a method for controlling an air conditioner, comprising:
[0072] In step S401, the electronic device receives voice information within a second preset time period.
[0073] In step S402, the electronic device obtains the number of voice tones in the voice information.
[0074] In step S403, in the case where the number of voice tones is multiple, the electronic device determines that the target operating mode of the air conditioner is a deep sleep mode.
[0075] In step S404, the electronic device controls the air conditioner according to the deep sleep mode.
[0076] In step S405, in the case where a preset wake-up word is received, the electronic device counts the number of times of a preset keyword received within a first preset time period.
[0077] In step S406, in the case where the number of times of the preset keyword received within the first preset time period is less than a preset number of times, the electronic device controls the air conditioner to enter a voice interaction mode.
[0078] The method for controlling the air conditioner provided by the embodiment of the present disclosure is used to obtain the number of timbres in the voice information, and in the case that the number of timbres is multiple, the air conditioner is finally controlled according to the deep sleep mode. Since in the case that the number of timbres is multiple, it is indicated that there are multiple persons in the space where the air conditioner is located, and these persons are in a conversation state. Therefore, by determining the target operation mode of the air conditioner as the deep sleep mode, the situation that the air conditioner mistakenly performs voice reply and disturbs the user can be avoided, thereby improving the experience of the user using the air conditioner. Moreover, in the case that the preset wake-up word is received, the number of times of the preset keyword received in the first preset time period is counted, and it is determined whether the number of times of the preset keyword received is less than the preset number of times. It can be more accurately determined whether the user wants to control the air conditioner or simply mentions the air conditioner.
[0079] In combination Figure 5 The embodiment of the present disclosure provides a device 500 for controlling an air conditioner, comprising an acquisition module 501, a determination module 502 and a control module 503. The acquisition module 501 is configured to acquire a voice intention of a user according to voice information in the case that voice information is received. The determination module 502 is configured to determine a target operation mode of the air conditioner according to the voice intention. The control module 503 is configured to control the air conditioner according to the target operation mode.
[0080] The device for controlling the air conditioner provided by the embodiment of the present disclosure is used to acquire the voice intention of the user according to the voice information in the case that the voice information is received, so as to determine whether the air conditioner needs to respond. Then, the target operation mode of the air conditioner is determined according to the voice intention, and the air conditioner is controlled according to the target operation mode. The operation mode of the air conditioner can be changed with the change of the voice intention, so as to reduce the probability of the air conditioner responding incorrectly on the basis of ensuring that the air conditioner can respond to the voice information.
[0081] Optionally, the acquisition module is configured to acquire the voice intention of the user according to the voice information by using a voice recognition model to perform semantic recognition on the voice information to obtain the voice intention.
[0082] Optionally, the acquisition module is configured to acquire the voice intention of the user according to the voice information by acquiring the number of timbres in the voice information and acquiring the voice intention of the user according to the number of timbres.
[0083] Optionally, acquiring the voice intention of the user according to the number of timbres comprises: in the case that the number of timbres is multiple, determining that the voice intention represents that voice interaction is not performed with the air conditioner.
[0084] Optionally, acquiring the voice intention of the user according to the number of timbres comprises: in the case that the number of timbres is one, determining that the voice intention represents that voice interaction is performed with the air conditioner.
[0085] Optionally, the determining module is configured to determine the target operation mode of the air conditioner according to the voice intention in the following manner: in a case where the voice intention represents that the voice interaction is not performed with the air conditioner, determining that the target operation mode is the deep sleep mode; and / or in a case where the voice intention represents that the voice interaction is performed with the air conditioner, determining that the target operation mode is the voice interaction mode.
[0086] Optionally, the control module is further configured to, after controlling the air conditioner in the deep sleep mode, in a case where a preset wake-up word is received, count a number of preset keywords received in a first preset time period. In a case where the number of preset keywords received in the first preset time period is less than a preset number, controlling the air conditioner to enter the voice interaction mode.
[0087] In combination with Figure 6 As shown in the figure, the electronic device 600 provided by the embodiment of the present disclosure includes a processor 601 and a memory 602. Optionally, the apparatus can further include a communication interface 603 and a bus 604. The processor 601, the communication interface 603, and the memory 602 can complete mutual communication through the bus 604. The communication interface 603 can be used for information transmission. The processor 601 can invoke the logical instructions in the memory 602 to execute the method for controlling the air conditioner in the above-mentioned embodiments.
[0088] By using the electronic device provided by the embodiment of the present disclosure, the voice intention of the user can be obtained according to the voice information in a case where the voice information is received, so as to determine whether the air conditioner needs to respond. Then, the target operation mode of the air conditioner is determined according to the voice intention, and the air conditioner is controlled according to the target operation mode. The operation mode of the air conditioner can be changed with the change of the voice intention, so as to reduce the probability of the air conditioner responding incorrectly on the basis of ensuring that the air conditioner can respond to the voice information.
[0089] In addition, the logical instructions in the memory 602 described above can be implemented in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium.
[0090] The memory 602 as a kind of computer readable storage medium can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 601 executes the program instructions / modules stored in the memory 602, so as to execute function application and data processing, that is, to implement the method for controlling the air conditioner in the above-mentioned embodiments.
[0091] The memory 602 can include a program storage area and a data storage area, where the program storage area can store an operating system, application programs required by at least one function; the data storage area can store data created according to the use of the terminal device, and the like. In addition, the memory 602 can include a high-speed random access memory, and can also include a nonvolatile memory.
[0092] The embodiment of the present disclosure provides a storage medium, which stores program instructions. When the program instructions are executed, the method for controlling an air conditioner is executed.
[0093] The computer readable storage medium described above can be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
[0094] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes, or can be a transitory storage medium.
[0095] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0096] Those skilled in the art will 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, or a combination of computer software and electronic hardware. 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 implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0097] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to apparatuses, devices, etc.), can be implemented in other manners. For example, the described apparatus embodiments can be implemented only in a form of a logical function, and can be implemented by using a manner such as software (for example, application program) or the like. In some embodiments, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or indirect coupling or communication connection between different components can be implemented by using some interfaces, and a combination of indirect coupling and direct coupling can be used. The integrated display or functional division can be physical or logical, and can be any other form. Some or all of the units can be selected according to actual needs to implement the embodiments. In addition, the units in the embodiments disclosed herein can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit.
[0098] The flowcharts and block diagrams in the drawings show the possible implementation architectures, functions and operations of the system, method and computer program product according to the embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks can occur in an order different from that noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the drawings, the operations or steps corresponding to different blocks can also occur in an order different from that disclosed in the descriptions, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. Each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an air conditioner, characterized in that, include: Upon receiving voice information, the user's voice intent is obtained based on the voice information; Determine the target operating mode of the air conditioner based on the voice intent; Control the air conditioner according to the target operating mode; Determining the target operating mode of the air conditioner based on voice intent includes: determining the target operating mode as deep sleep mode when the voice intent represents no voice interaction with the air conditioner; and / or determining the target operating mode as voice interaction mode when the voice intent represents voice interaction with the air conditioner. The target operating mode is a deep sleep mode. After controlling the air conditioner according to the target operating mode, the method further includes: when a preset wake-up word is received, counting the number of times the preset keyword is received within a first preset time period; when the number of times the preset keyword is received within the first preset time period is less than a preset number, controlling the air conditioner to enter the voice interaction mode.
2. The method according to claim 1, characterized in that, The user's voice intent is obtained based on voice information, including: Speech recognition models are used to perform semantic recognition on speech information to obtain the speech intent.
3. The method according to claim 1, characterized in that, The user's voice intent is obtained based on voice information, including: Obtain the number of timbres in the voice information, and then determine the user's voice intent based on the number of timbres.
4. The method according to claim 3, characterized in that, The user's voice intent is obtained based on the number of timbres, including: When there are multiple timbres, it is determined that the speech intent representation does not interact with the air conditioner via voice.
5. The method according to claim 3, characterized in that, The user's voice intent is obtained based on the number of timbres, including: When there is only one timbre, the speech intent representation is determined to interact with the air conditioner via voice.
6. A device for controlling an air conditioner, characterized in that, The apparatus includes the method for controlling an air conditioner as described in claim 1, wherein the apparatus comprises: The acquisition module is configured to acquire the user's voice intent based on the received voice information. The determination module is configured to determine the target operating mode of the air conditioner based on the voice intent. The control module is configured to control the air conditioner according to the target operating mode.
7. An electronic device comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute, when running the program instructions, the method for controlling an air conditioner as described in any one of claims 1 to 5.
8. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling the air conditioner as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Control method and device for air conditioner and air conditioner
CN113375310A
Voice equipment control method and device, electronic equipment and storage medium
CN115171687A