CN110375417B - Control method and device of voice module and air conditioner - Google Patents

Control method and device of voice module and air conditioner Download PDF

Info

Publication number
CN110375417B
CN110375417B CN201910670595.4A CN201910670595A CN110375417B CN 110375417 B CN110375417 B CN 110375417B CN 201910670595 A CN201910670595 A CN 201910670595A CN 110375417 B CN110375417 B CN 110375417B
Authority
CN
China
Prior art keywords
predetermined
air conditioner
preset
voice module
vibration signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910670595.4A
Other languages
Chinese (zh)
Other versions
CN110375417A (en
Inventor
相龙龙
伍衍亮
郑良剑
侯辰
刘德茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910670595.4A priority Critical patent/CN110375417B/en
Publication of CN110375417A publication Critical patent/CN110375417A/en
Application granted granted Critical
Publication of CN110375417B publication Critical patent/CN110375417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • F24F11/526Indication arrangements, e.g. displays giving audible indications
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The invention discloses a voice module control method and device and an air conditioner. Wherein, the method comprises the following steps: acquiring a vibration signal, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined part of the air conditioner; determining the number of times of performing a predetermined operation on a predetermined component based on the vibration signal; after determining that a predetermined instruction to be executed by the voice module of the air conditioner needs to be controlled based on the number of times the predetermined operation is performed on the predetermined component, the voice module of the air conditioner is controlled to execute the predetermined instruction. The invention solves the technical problem of low user experience caused by low intelligence degree of the air conditioner with the online voice function in the related technology.

Description

Control method and device of voice module and air conditioner
Technical Field
The invention relates to the technical field of intelligent household appliances, in particular to a voice module control method and device and an air conditioner.
Background
At present, air conditioners with online voice functions are more and more common, and especially when the air conditioners are used for playing music or news and the like, if music switching is needed or voice types are switched (for example, switching from music to news), the voice functions need to be waken up first, and then instruction words are sent out for switching operation, so that the air conditioners with the online voice functions are more complicated to use virtually, and the use experience of users is further reduced.
Aiming at the problem of low user experience caused by low intelligence degree of the air conditioner with the online voice function in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a voice module and an air conditioner, and aims to at least solve the technical problem of low user experience caused by low intelligence degree of the air conditioner with an online voice function in the related art.
According to an aspect of an embodiment of the present invention, there is provided a method for controlling a voice module, including: acquiring a vibration signal, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined part of the air conditioner; determining the number of times of performing a predetermined operation on the predetermined component based on the vibration signal; after determining that a predetermined instruction needs to be executed by a voice module of the air conditioner based on the number of times of executing the predetermined operation on the predetermined component, controlling the voice module of the air conditioner to execute the predetermined instruction.
Optionally, before determining the number of times of performing the predetermined operation on the predetermined component based on the vibration signal, the control method of the voice module further includes: and filtering the vibration signal to obtain an effective vibration signal, wherein the effective vibration signal is a signal generated by executing the predetermined operation on the predetermined component.
Optionally, filtering the vibration signal comprises at least one of: acquiring the frequency of each vibration signal in the vibration signals, comparing the frequency of each vibration signal with a preset frequency range, and filtering out the vibration signals of which the frequency is out of the preset frequency range in the vibration signals based on a comparison result; and acquiring the waveform of each vibration signal in the vibration signals, comparing the waveform of each vibration signal with a preset waveform, and filtering out the vibration signals of which the deviation between the waveform in the vibration signals and the preset waveform exceeds the preset deviation based on the comparison result.
Optionally, before determining that the predetermined instruction executed by the voice module for controlling the air conditioner needs to be executed based on the number of times of executing the predetermined operation on the predetermined component, the control method of the voice module further includes: the configuration information sent by a preset device is obtained, wherein the preset device is a device matched with the air conditioner and used for setting validity of the number of times of executing the preset operation on the preset component and a preset instruction corresponding to the number of times of executing the preset operation on the preset component.
Optionally, the determining that the predetermined instruction to be executed by the voice module of the air conditioner needs to be controlled based on the number of times the predetermined operation is performed on the predetermined component includes: determining the number of times that the predetermined component performs the predetermined operation as the effective number of times based on the configuration information; and determining a preset instruction which needs to be executed by a voice module of the air conditioner according to the effective times.
Optionally, the determining that the predetermined instruction to be executed by the voice module of the air conditioner needs to be controlled based on the number of times the predetermined operation is performed on the predetermined component includes: determining a current state of the speech module; and determining the preset instruction according to the effective times and the current state.
Optionally, the predetermined instruction comprises one of: switching instructions, starting instructions and closing instructions.
Optionally, the predetermined component is a panel integrated on an internal unit of the air conditioner, and the predetermined operation is a knocking operation.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus for a voice module, including: a first acquisition unit for acquiring a vibration signal, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined component of the air conditioner; a determination unit configured to determine the number of times a predetermined operation is performed on the predetermined component based on the vibration signal; and the control module is used for controlling the voice module of the air conditioner to execute the preset instruction after the preset instruction which needs to be executed by the voice module of the air conditioner is determined based on the number of times of executing the preset operation on the preset component.
Optionally, the control device of the voice module further includes: and the filtering unit is used for filtering the vibration signal to obtain an effective vibration signal before determining the number of times of executing the preset operation on the preset component based on the vibration signal, wherein the effective vibration signal is a signal generated by executing the preset operation on the preset component.
Optionally, the filtering unit includes at least one of: the first filtering module is used for acquiring the frequency of each vibration signal in the vibration signals, comparing the frequency of each vibration signal with a preset frequency range, and filtering out the vibration signals of which the frequency is out of the preset frequency range in the vibration signals based on a comparison result; the second filtering module is used for acquiring the waveform of each vibration signal in the vibration signals, comparing the waveform of each vibration signal with a preset waveform, and filtering out the vibration signals of which the deviation between the waveform in the vibration signals and the preset waveform exceeds the preset deviation based on the comparison result.
Optionally, the control device of the voice module further includes: and the second acquisition unit is used for acquiring the configuration information sent by a predetermined device before determining a predetermined instruction needing to control the voice module of the air conditioner to execute based on the number of times of executing the predetermined operation on the predetermined component, wherein the predetermined device is a device used with the air conditioner, and is used for setting the effectiveness of the number of times of executing the predetermined operation on the predetermined component and the predetermined instruction corresponding to the number of times of executing the predetermined operation on the predetermined component.
Optionally, the control unit comprises: the first determination module is used for determining the number of times of executing the predetermined operation by the predetermined component as the effective number of times based on the configuration information; and the second determining module is used for determining a preset instruction which needs to be executed by the voice module of the air conditioner according to the effective times.
Optionally, the control unit comprises: a third determining module, configured to determine a current state of the voice module; and the fourth determining module is used for determining the preset instruction according to the effective times and the current state.
Optionally, the predetermined instruction comprises one of: switching instructions, starting instructions and closing instructions.
Optionally, the predetermined component is a panel integrated on an internal unit of the air conditioner, and the predetermined operation is a knocking operation.
According to another aspect of the embodiment of the invention, an air conditioner is further provided, and the air conditioner uses the control method of the voice module.
According to another aspect of the embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the control method of the voice module described in any one of the above.
According to another aspect of the embodiment of the present invention, there is also provided a processor, configured to execute a program, where the program executes a control method of a voice module according to any one of the above.
In the embodiment of the invention, the vibration signal is obtained by adopting a method that the vibration signal is sensed by a vibration sensor which is arranged at a preset part of the air conditioner; and determining the number of times of performing a predetermined operation on a predetermined component based on the vibration signal; the voice module of the air conditioner is controlled in a mode of controlling the voice module of the air conditioner to execute the preset instruction after the preset instruction which needs to be executed by the voice module of the air conditioner is determined based on the number of times of executing the preset operation on the preset component.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a control method of a voice module according to an embodiment of the present invention;
fig. 2 is a schematic view of a front panel of an air conditioner according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a vibration sensor according to an embodiment of the present invention;
FIG. 4 is a preferred flow chart of a method of controlling a speech module according to an embodiment of the invention;
fig. 5 is a schematic diagram of a control device of a voice module according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of a method for controlling a speech module, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a control method of a voice module according to an embodiment of the present invention, and as shown in fig. 1, the control method of the voice module includes the following steps:
step S102, a vibration signal is acquired, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined part of the air conditioner.
In an embodiment of the present invention, the predetermined component is a panel integrated on an internal unit of the air conditioner, and the predetermined operation is a knocking operation.
Specifically, the predetermined component may be a front panel of an air conditioner, and the type of the air conditioner is not specifically limited in the embodiment of the present invention, and may be: a wall-mounted air conditioner, a cabinet air conditioner, a window air conditioner, and a ceiling air conditioner, wherein, for the convenience of user operation, the cabinet air conditioner is taken as an example in the embodiment of the present invention, fig. 2 is a schematic view of a front panel of an air conditioner according to an embodiment of the present invention, and fig. 2 shows the front panel of the cabinet air conditioner. FIG. 3 is a schematic diagram of a vibration sensor according to an embodiment of the present invention. In the embodiment of the present invention, the vibration sensor shown in fig. 3 is disposed below the front panel of the indoor unit of the air conditioner shown in fig. 2. It should be noted that a gap of a predetermined distance, for example, 1 to 2mm, needs to be reserved between the vibration sensor and the front panel to ensure the stroke variation of the probe on the surface of the vibration sensor, and then, the vibration signal is obtained.
In addition, the vibration sensor in the embodiment of the invention can detect the variation of 0-500 g, and the precision can reach 0.2g, so that the vibration sensor can detect only the tiny vibration of the front panel, and the vibration sensor can identify the knocking action in any area of the front panel. The filtering algorithm is integrated in the main controller of the air conditioner, so that vibration signals from the air conditioner body can be filtered, whether a user has knocking actions on the front panel is detected, and when the user has the knocking actions, the main controller of the air conditioner executes corresponding actions according to different knocking times.
Step S104, determining the number of times of executing the predetermined operation on the predetermined component based on the vibration signal.
It should be noted that, before determining the number of times of performing the predetermined operation on the predetermined component based on the vibration signal, the control method of the voice module may further include: and filtering the vibration signal to obtain an effective vibration signal, wherein the effective vibration signal is a signal generated by executing a preset operation on a preset component. In this embodiment, it is possible to filter an interference signal sensed by the vibration sensor, for example, a vibration signal of the air conditioner itself, a vibration signal generated by an external accidental collision or noise, or the like.
In an alternative embodiment, filtering the vibration signal comprises at least one of: acquiring the frequency of each vibration signal in the vibration signals, comparing the frequency of each vibration signal with a preset frequency range, and filtering out the vibration signals of which the frequency is out of the preset frequency range in the vibration signals based on the comparison result; and acquiring the waveform of each vibration signal in the vibration signals, comparing the waveform of each vibration signal with a preset waveform, and filtering out the vibration signals of which the deviation between the waveform and the preset waveform exceeds the preset deviation in the vibration signals based on the comparison result. In this embodiment, the frequency or waveform of each vibration signal in the acquired vibration signals may be analyzed to filter out interference signals, so that the voice module of the air conditioner may be controlled more accurately.
And step S106, after determining that the preset instruction executed by the voice module of the air conditioner needs to be controlled based on the number of times of executing the preset operation on the preset component, controlling the voice module of the air conditioner to execute the preset instruction.
Through the above steps, a vibration signal may be acquired, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined part of the air conditioner; and determining the number of times of performing a predetermined operation on a predetermined component based on the vibration signal; and after determining that a predetermined instruction needs to be executed by the voice module of the air conditioner based on the number of times the predetermined operation is performed on the predetermined component, controlling the voice module of the air conditioner to execute the predetermined instruction. Compared with the air conditioner with the online voice function module in the related technology, the air conditioner with the online voice function module in the related technology has the disadvantages that the air conditioner is complicated to use and the user experience is low easily caused.
Before determining that a predetermined instruction for controlling the voice module of the air conditioner to perform is required based on the number of times the predetermined operation is performed on the predetermined component in step S106, the method for controlling the voice module may further include: the configuration information sent by the predetermined equipment is acquired, wherein the predetermined equipment is used together with the air conditioner and is used for setting validity of the number of times of executing the predetermined operation on the predetermined component and a predetermined instruction corresponding to the number of times of executing the predetermined operation on the predetermined component.
For example, it is possible to customize, by a predetermined device (for example, a terminal device such as a mobile phone) used in cooperation with the air conditioner, in which case the predetermined operation performed by the user is effective, and different numbers of times of the predetermined operation performed by the user may be used to control which operation is performed by the air conditioner, respectively. For example, the predetermined operation times may be set to be 2 times or 3 times, and the valid operation times may be set to be 3 times by a predetermined application program of the predetermined device, and when the user performs the predetermined operation on the predetermined component for 2 times or 3 times, the main controller of the air conditioner may respond to control the voice module of the air conditioner based on the predetermined instruction corresponding to the different times. Of course, if the user does not make a setting for the validity of the predetermined operation and the function through the APP of the predetermined device (i.e., the above-described application), the main controller of the air conditioner does not respond when the user performs the operation on the predetermined component.
Specifically, the user may check the following functions: firstly, setting continuous knocking for 3 times to be effective; and secondly, setting continuous knocking for 2 times to be effective, and the like, if the functions are not selected in advance in the APP, even if a user knocks the front panel, the main controller of the indoor unit of the air conditioner does not respond.
In an alternative embodiment, the determining that the predetermined instruction to be executed by the voice module of the air conditioner needs to be controlled based on the number of times the predetermined operation is performed on the predetermined component may include: determining the number of times that the predetermined component performs the predetermined operation as the effective number of times based on the configuration information; and determining a preset instruction to be executed by a voice module of the air conditioner according to the effective times.
In addition, in order to more precisely control the voice module, determining the predetermined instruction to be executed by the voice module controlling the air conditioner based on the number of times the predetermined operation is performed on the predetermined part includes: determining the current state of a voice module; and determining a preset instruction according to the effective times and the current state.
Wherein the predetermined instruction comprises one of: switching instructions, starting instructions and closing instructions.
An alternative embodiment of the present invention will be described in detail below, taking the predetermined operation as a tapping operation and the predetermined component as a front panel.
Fig. 4 is a preferred flowchart of a control method of a voice module according to an embodiment of the present invention, and as shown in fig. 4, the number of times of tapping corresponding to a vibration signal sensed by a vibration sensor when a user taps a front panel of an internal unit of an air conditioner is obtained; judging whether the continuous knocking times are 2 times or not; if yes, judging whether the preset equipment is set for 2 times as the effective times; otherwise, judging whether the continuous knocking times are 3 times, if the judgment result is 3 times, judging whether the preset equipment is set to be the effective times for 3 times, if so, judging whether the current state of the voice module is a music playing state, if so, stopping playing the music, otherwise, starting playing the music; and under the condition that the continuous knocking is judged to be effective for 2 times, judging whether the current state of the voice module is a music playing state, if so, controlling the voice module to play the next music, and otherwise, not responding.
For example, when the master control detects a user tapping the front through the vibration sensor, the following logical judgment and corresponding action are performed: the first step is as follows: the internal machine main controller judges whether the continuous knocking is carried out for 2 times, if so, the second step is executed, and if not, the fourth step is executed; the second step is that: the internal machine controller judges whether the APP is set to be effective for 2 times, if so, the third step is executed, and if not, the judgment of the unit is finished and no response is made; the third step: the internal machine controller judges whether the machine set is playing music, if so, the next operation is switched, and if not, the judgment is finished and no response is made; the fourth step: the internal machine controller judges whether the continuous knocking is carried out for 3 times, if so, the fifth step is executed, and if not, the judgment is finished and no response is made; the fifth step: the internal machine controller judges whether the APP is effective for 3 times, if so, the sixth step is executed, and if not, the judgment of the unit is finished and no response is made; and a sixth step: and the internal machine controller judges whether the machine set is playing music, if so, the operation of stopping playing music is executed and then the judgment is ended, otherwise, the operation of starting playing music is executed and then the judgment is ended.
The control method of the voice module provided by the embodiment of the invention can realize that the functions of playing, pausing and switching music can be completed only by lightly knocking the front panel of the air conditioner body by a user, the user does not need to perform awakening operation on the voice module of the air conditioner, and the voice instruction word does not need to be sent, so that the technological sense of the air conditioner is improved, the vibration sensor is added to detect the knocking action of any area of the front panel of the air conditioner body, when the main controller detects the knocking action, the specific action can be executed, and the trouble of repeatedly awakening the voice module is avoided.
Example 2
According to another aspect of the embodiment of the present invention, there is further provided an embodiment of an apparatus for performing a method for controlling a voice module, and fig. 5 is a schematic diagram of a control apparatus for a voice module according to an embodiment of the present invention, as shown in fig. 5, the control apparatus for a voice module includes: a first acquisition unit 51, a determination unit 53 and a control module 55. The control device of the voice module will be described in detail below.
A first acquisition unit 51 for acquiring a vibration signal, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined part of the air conditioner.
A determination unit 53 for determining the number of times a predetermined operation is performed on a predetermined component based on the vibration signal.
And a control module 55 for controlling the voice module of the air conditioner to execute a predetermined instruction after determining that the predetermined instruction executed by the voice module of the air conditioner needs to be controlled based on the number of times the predetermined operation is performed on the predetermined component.
It should be noted here that the first acquiring unit 51, the determining unit 53 and the control module 55 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
As can be seen from the above, in the above-described embodiment of the present invention, the vibration signal may be acquired by the first acquisition unit, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined component of the air conditioner; and determining, with the determination unit, a number of times a predetermined operation is performed on the predetermined component based on the vibration signal; and controlling, by the control module, the voice module of the air conditioner to execute the predetermined instruction after determining that the predetermined instruction executed by the voice module of the air conditioner needs to be controlled based on the number of times the predetermined operation is performed on the predetermined component. According to the embodiment of the invention, the vibration sensor is arranged at the preset position of the air conditioner to sense the preset operation executed by the user so as to control the voice module of the air conditioner, so that the complicated flow of sending out instruction words after awakening is avoided, the intelligent degree of the air conditioner with the voice module is improved, and the technical problem of low user experience caused by low intelligent degree of the air conditioner with the online voice function in the related technology is solved.
In an optional embodiment, the control device of the voice module may further include: and the filtering unit is used for filtering the vibration signal to obtain an effective vibration signal before determining the number of times of executing the preset operation on the preset component based on the vibration signal, wherein the effective vibration signal is a signal generated by executing the preset operation on the preset component.
In an alternative embodiment, the filtering unit comprises at least one of: the first filtering module is used for acquiring the frequency of each vibration signal in the vibration signals, comparing the frequency of each vibration signal with a preset frequency range, and filtering out the vibration signals of which the frequency is out of the preset frequency range in the vibration signals based on the comparison result; the second filtering module is used for acquiring the waveform of each vibration signal in the vibration signals, comparing the waveform of each vibration signal with a preset waveform, and filtering out the vibration signals of which the deviation between the waveform and the preset waveform exceeds the preset deviation based on the comparison result.
In an optional embodiment, the control device of the voice module further includes: and a second acquisition unit, configured to acquire the configuration information sent by the predetermined device before determining a predetermined instruction to be executed by the voice module of the air conditioner based on the number of times of executing the predetermined operation on the predetermined component, wherein the predetermined device is a device used in cooperation with the air conditioner, and is used to set the validity of the number of times of executing the predetermined operation on the predetermined component and the predetermined instruction corresponding to the number of times of executing the predetermined operation on the predetermined component.
In an alternative embodiment, the control unit comprises: the first determining module is used for determining the number of times of executing the predetermined operation by the predetermined component as the effective number of times based on the configuration information; and the second determining module is used for determining a preset instruction which needs to be executed by the voice module of the air conditioner according to the effective times.
In an alternative embodiment, the control unit comprises: the third determining module is used for determining the current state of the voice module; and the fourth determining module is used for determining the preset instruction according to the effective times and the current state.
In an alternative embodiment, the predetermined instruction comprises one of: switching instructions, starting instructions and closing instructions.
In an alternative embodiment, the predetermined component is a panel integrated on an internal unit of the air conditioner, and the predetermined operation is a tapping operation.
Example 3
According to another aspect of the embodiment of the invention, an air conditioner is further provided, and the air conditioner uses the control method of the voice module. According to the control method of the voice module, the vibration sensor is arranged at the preset position of the air conditioner to sense the preset operation executed by the user so as to control the voice module of the air conditioner, so that the complex process that the instruction word is sent out after awakening is avoided, the intelligent degree of the air conditioner with the voice module is improved, and the technical problem of low user experience caused by low intelligent degree of the air conditioner with the online voice function in the related technology is solved.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the control method of the voice module of any one of the above.
Example 5
According to another aspect of the embodiment of the present invention, there is provided a processor, configured to execute a program, where the program executes a control method of a speech module in any one of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A control method of a voice module is characterized by comprising the following steps:
acquiring a vibration signal, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined part of the air conditioner;
determining the number of times of performing a predetermined operation on the predetermined component based on the vibration signal;
after determining that a predetermined instruction needs to be executed by a voice module of the air conditioner based on the number of times of executing the predetermined operation on the predetermined component, controlling the voice module of the air conditioner to execute the predetermined instruction;
before determining a predetermined instruction to be executed by a voice module for controlling the air conditioner based on the number of times of executing the predetermined operation on the predetermined component, the method further comprises the following steps:
the configuration information sent by a preset device is obtained, wherein the preset device is a device matched with the air conditioner and used for setting validity of the number of times of executing the preset operation on the preset component and a preset instruction corresponding to the number of times of executing the preset operation on the preset component.
2. The method of claim 1, further comprising, prior to determining a number of times to perform a predetermined operation on the predetermined component based on the vibration signal: and filtering the vibration signal to obtain an effective vibration signal, wherein the effective vibration signal is a signal generated by executing the predetermined operation on the predetermined component.
3. The method of claim 2, wherein filtering the vibration signal comprises at least one of:
acquiring the frequency of each vibration signal in the vibration signals, comparing the frequency of each vibration signal with a preset frequency range, and filtering out the vibration signals of which the frequency is out of the preset frequency range in the vibration signals based on a comparison result;
and acquiring the waveform of each vibration signal in the vibration signals, comparing the waveform of each vibration signal with a preset waveform, and filtering out the vibration signals of which the deviation between the waveform in the vibration signals and the preset waveform exceeds the preset deviation based on the comparison result.
4. The method of claim 1, wherein determining that the predetermined instruction to be executed by the voice module controlling the air conditioner based on the number of times the predetermined operation is performed on the predetermined component comprises:
determining the number of times that the predetermined component performs the predetermined operation as the effective number of times based on the configuration information;
and determining a preset instruction which needs to be executed by a voice module of the air conditioner according to the effective times.
5. The method of claim 4, wherein determining that the predetermined instruction to be executed by the voice module controlling the air conditioner based on the number of times the predetermined operation is performed on the predetermined component comprises:
determining a current state of the speech module;
and determining the preset instruction according to the effective times and the current state.
6. The method of any of claims 1 to 5, wherein the predetermined instruction comprises one of: switching instructions, starting instructions and closing instructions.
7. The method according to any one of claims 1 to 5, wherein the predetermined component is a panel integrated on an internal unit of the air conditioner, and the predetermined operation is a knocking operation.
8. A control apparatus for a speech module, comprising:
a first acquisition unit for acquiring a vibration signal, wherein the vibration signal is a signal sensed by a vibration sensor provided at a predetermined component of the air conditioner;
a determination unit configured to determine the number of times a predetermined operation is performed on the predetermined component based on the vibration signal;
the control module is used for controlling the voice module of the air conditioner to execute a preset instruction after the preset instruction which needs to be executed by the voice module of the air conditioner is determined based on the number of times of executing the preset operation on the preset component;
wherein, the control device of the voice module further comprises: and the second acquisition unit is used for acquiring the configuration information sent by a predetermined device before determining a predetermined instruction needing to control the voice module of the air conditioner to execute based on the number of times of executing the predetermined operation on the predetermined component, wherein the predetermined device is a device used with the air conditioner, and is used for setting the effectiveness of the number of times of executing the predetermined operation on the predetermined component and the predetermined instruction corresponding to the number of times of executing the predetermined operation on the predetermined component.
9. An air conditioner, characterized in that the air conditioner uses the control method of the voice module according to any one of claims 1 to 7.
10. A storage medium characterized by comprising a stored program, wherein the program executes the control method of a voice module according to any one of claims 1 to 7.
11. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the control method of the speech module according to any one of claims 1 to 7 when running.
CN201910670595.4A 2019-07-24 2019-07-24 Control method and device of voice module and air conditioner Active CN110375417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910670595.4A CN110375417B (en) 2019-07-24 2019-07-24 Control method and device of voice module and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910670595.4A CN110375417B (en) 2019-07-24 2019-07-24 Control method and device of voice module and air conditioner

Publications (2)

Publication Number Publication Date
CN110375417A CN110375417A (en) 2019-10-25
CN110375417B true CN110375417B (en) 2020-08-11

Family

ID=68255541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910670595.4A Active CN110375417B (en) 2019-07-24 2019-07-24 Control method and device of voice module and air conditioner

Country Status (1)

Country Link
CN (1) CN110375417B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113566399B (en) * 2020-04-28 2022-09-20 广东美的制冷设备有限公司 Control method and device of air conditioner and air conditioner
CN112760904B (en) * 2020-12-24 2022-05-24 珠海格力电器股份有限公司 Washing machine control method and device, storage medium and washing machine
CN114124601A (en) * 2021-11-16 2022-03-01 青岛海尔科技有限公司 Terminal device control method, terminal device, control device, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107787097A (en) * 2016-08-25 2018-03-09 北京小米移动软件有限公司 Flash lamp control method and device
CN109102808A (en) * 2018-10-25 2018-12-28 珠海格力电器股份有限公司 A kind of local speech recognition system and its method based on display interaction

Also Published As

Publication number Publication date
CN110375417A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110375417B (en) Control method and device of voice module and air conditioner
CN110308660B (en) Intelligent equipment control method and device
CN107991891B (en) Method and system for adjusting environmental parameters and user equipment
EP3432092A1 (en) Control method and device for smart home
CN106775053B (en) The determination method and device of sensitivity of touch screen
KR101813061B1 (en) Data reporting method and apparatus, and terminal device
CN104879882A (en) Method and system for controlling air conditioner
CN111475413B (en) Test method and device
CN104866226A (en) Terminal device and method for controlling same
CN108900941A (en) The method for controlling volume and device of earphone
CN114755931A (en) Control instruction prediction method and device, storage medium and electronic device
CN107145221A (en) A kind of information processing method and electronic equipment
CN114115251A (en) Control method and control device of intelligent cleaning equipment and intelligent system
CN110736221B (en) Control method, device and system of air conditioner
CN105376385A (en) Volume adjusting method and user terminal
CN106371328B (en) Control method and device of intelligent household appliance
CN104731330A (en) Information processing method and electronic equipment
CN111105794A (en) Voice recognition method and device of equipment
CN114283773A (en) Method and apparatus for reducing environmental noise for voice device, and storage medium
CN107357465B (en) Information processing method, information processing apparatus, and non-volatile computer storage medium
CN109428790B (en) Water purifying dispenser, control system and control method thereof, and computer-readable storage medium
CN112486376A (en) Method and device for displaying home equipment list and intelligent terminal
CN107958289B (en) Data processing method and device for robot and robot
CN106250096B (en) Method and device for automatically playing music by audio equipment
CN108965510A (en) Electronic equipment, screen control method and related product

Legal Events

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