CN111091829B - Voice control method and device and electronic equipment - Google Patents

Voice control method and device and electronic equipment Download PDF

Info

Publication number
CN111091829B
CN111091829B CN202010108460.1A CN202010108460A CN111091829B CN 111091829 B CN111091829 B CN 111091829B CN 202010108460 A CN202010108460 A CN 202010108460A CN 111091829 B CN111091829 B CN 111091829B
Authority
CN
China
Prior art keywords
brand
time interval
voice
voice signal
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
CN202010108460.1A
Other languages
Chinese (zh)
Other versions
CN111091829A (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.)
Zhuhai Rongbang Electronic Technology Co ltd
Original Assignee
Zhuhai Rongbang Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Rongbang Electronic Technology Co ltd filed Critical Zhuhai Rongbang Electronic Technology Co ltd
Priority to CN202010108460.1A priority Critical patent/CN111091829B/en
Publication of CN111091829A publication Critical patent/CN111091829A/en
Application granted granted Critical
Publication of CN111091829B publication Critical patent/CN111091829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the technical field of voice control, in particular to a voice control method, a voice control device and electronic equipment. The method comprises the following steps: acquiring a first voice signal; transmitting a timing control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment; determining a response time interval of at least one brand of target device using the timing control signal; when the second voice signal is acquired, comparing the time of acquiring the second voice signal with the response time interval of at least one brand of target equipment to determine a brand corresponding to the second voice signal; and controlling the determined brand of target equipment based on the second voice signal. And performing awakening control according to the first voice signal, and judging whether a second voice signal exists in the response time interval of the corresponding brand by determining the response time interval, so that the controlled equipment can quickly respond to the control instruction sent by the control device and execute corresponding control action.

Description

Voice control method and device and electronic equipment
Technical Field
The invention relates to the technical field of voice control, in particular to a voice control method, a voice control device and electronic equipment.
Background
The infrared remote control mode is a remote control mode which is mainly adopted by the current household appliances, and due to the fact that standards are not uniform, although the adopted communication mode is infrared rays, control protocols of the household appliances are different, and the household appliance bodies cannot be controlled by the same household appliance or remote controllers of various brands.
In order to control infrared household appliances of various brands, the current control method usually requires a user to connect a control device through an intelligent terminal (such as a mobile phone) or directly operate the control device for setting, so that a control signal of the control device can be matched with a controlled device, and the controlled device can be further operated. However, if the control device is switched to another control device, the control device needs to be used to re-match the setting, but the controlled device still has the problem that the controlled device cannot respond quickly to perform the control action in the process of re-matching or controlling the actual application.
Disclosure of Invention
In view of this, embodiments of the present invention provide a voice control method, apparatus and electronic device to solve the problem that a controlled device cannot respond quickly to perform a control action.
According to a first aspect, an embodiment of the present invention provides a voice control method, including:
acquiring a first voice signal;
transmitting a timing control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment;
determining a response time interval of the at least one brand of target device using the timing control signal;
when the second voice signal is acquired, comparing the time for acquiring the second voice signal with the response time interval of the target equipment of the at least one brand to determine the brand corresponding to the second voice signal;
and controlling the determined target equipment of the brand based on the second voice signal.
And when a second voice signal exists in the response time zone of the brand target equipment, determining the brand corresponding to the second voice signal, and executing a corresponding control action. And performing awakening control according to the first voice signal, and determining a response time interval to judge whether a second voice signal exists in the response time interval of the corresponding brand, so that the controlled equipment can quickly respond to a control instruction sent by the control device and execute corresponding control action.
With reference to the first aspect, in a first implementation of the first aspect, the timing control signal includes a wake-up time interval of the at least one brand of target device; wherein the determining, by the timing control signal, a response time interval of the at least one brand of target device comprises:
acquiring preset reaction time;
determining a response time interval of the at least one brand of target device based on the preset reaction time and the wake-up time interval of the at least one brand of target device.
The response time interval of the target equipment of the brand is set by acquiring the preset response time and the preset wake-up time, so that the time sequence control signals can be sent in order, and subsequent controlled equipment can perform quick response and execute a response control command.
With reference to the first aspect, in a second implementation manner of the first aspect, the determining a response time interval of the at least one brand of target device based on the preset reaction time and a wake-up time interval of the at least one brand of target device includes:
extracting an end time of a wake-up time interval of the at least one brand of target device;
calculating the sum of the ending time and the preset reaction time to obtain the length of the response time interval of the target equipment of the at least one brand;
determining a response time interval of the at least one brand of target device using an end time of a wake time interval of the at least one brand of target device and a length of a response time interval of the at least one brand of target device.
The response time interval of the target equipment of the brand can be used for preparing for quickly determining corresponding brand control equipment subsequently, so that control of different brands can be guaranteed.
With reference to the first aspect, in a third embodiment of the first aspect, the method includes:
updating the timing control signal based on the determined brand to adjust a timing of waking up the at least one brand of target device.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the updating the timing control signal based on the determined brand corresponding to the second voice signal includes:
and adjusting the determined awakening time interval corresponding to the brand to be a first awakening time interval of the time sequence control signal so as to obtain the updated time sequence control signal.
Through determining the brand, thereby realizing intelligent control based on second speech signal to, can make fast through twice speech signal and controlled the equipment and carry out the action, utilize speech control still to simplify operating procedure, save loaded down with trivial details manual matching process, promote controlgear's flexibility simultaneously, make it controlled the equipment can sound the instruction that controlgear sent fast.
With reference to the first aspect, in a fifth implementation manner of the first aspect, the determining a brand corresponding to the second voice signal further includes:
when the second voice signal is acquired and the response time intervals of the at least two brands of target equipment are partially overlapped, comparing the response time intervals of the at least two brands of target equipment, and taking the response time interval of the first acquired second voice signal to determine the brand corresponding to the second voice signal.
Under the condition that the response time intervals are overlapped, the first interval compared with the second voice signal is taken by comparing the time lengths of the response time intervals of the target devices corresponding to the overlapped brands, so that the time sequence signals of all the brands can be sent in order, the quick response can be ensured, and the corresponding control instruction is executed.
With reference to the first aspect, in a sixth implementation manner of the first aspect, a timing control signal is sent in a time-sharing manner based on the first voice signal.
By time-sharing transmission, the effect of transmitting multi-path data through one line is guaranteed, one control device controls a plurality of brands of equipment, each controlled brand of equipment can respond quickly, and corresponding operation instructions are executed.
According to a second aspect, an embodiment of the present invention provides a voice control apparatus, including:
the first acquisition module is used for acquiring a first voice signal;
a sending module, configured to send a timing control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment;
a first determining module, configured to determine a response time interval of the at least one brand of target device by using the timing control signal;
the second obtaining module is used for comparing the time for obtaining the second voice signal with the response time interval of the target equipment of the at least one brand so as to determine the brand corresponding to the second voice signal when the second voice signal is obtained;
and the second determining module is used for controlling the determined target equipment of the brand based on the second voice signal.
Through the first acquisition module, acquire first speech signal, first speech signal is used for awakening controlled device, and set up first confirming module according to the sequential control signal that sending module sent, first confirming module is used for confirming the response time interval of the target device of brand, thereby guarantee to realize the brand that quick discernment needs the control, later through the second acquisition module, acquire the second speech signal, its second speech signal is control command, make the time of second speech signal compare with the response time interval of the target device of confirming the brand that confirms, the response time interval of the target device of brand that the time of inquiry second speech signal corresponds, then can confirm controlled device's brand, thereby realize quick control, and the simplified operation, realize automatic switch-over and match controlled device.
According to a third aspect, embodiments of the present invention provide an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the voice control method according to the first aspect or any one of the embodiments of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the voice control method described in the first aspect or any one of the implementation manners of the first aspect.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
FIG. 1 is a flow chart of a voice control method of an embodiment of the present invention;
FIG. 2 is a flow chart of a voice control method of an alternate embodiment of the present invention;
FIG. 3 is a block diagram of a voice control method in accordance with an alternative embodiment of the present invention;
FIG. 4 is a control flow diagram of the A, B, C control signals of a voice control method of an alternative embodiment of the present invention;
FIG. 5 is a diagram of brand time intervals for a voice control method in accordance with an alternative embodiment of the present invention;
FIG. 6 is an exemplary timing adjustment of the transmitted signals for a voice control method in accordance with an alternative embodiment of the present invention;
fig. 7 is a block diagram of a voice control apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention;
reference numerals
1-a user; 2-voice control means; 3-a controlled device; 10-a first acquisition module; 11-a sending module; 12-a first determination module; 13-a second acquisition module; 14-a second determination module; 21-a processor; 22-a memory; 23-bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all embodiments of the present invention. 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.
The invention sends voice instruction information to the control device by a user, the control device receives the voice information sent by the user, and utilizes the voice recognition function in the control device to recognize and screen the voice information, and extracts the information which needs to be recognized by the control device. The information to be identified by the control device may be data information preset corresponding to a designated function or having a pointing function, such as a brand name and an action command. The data information can extract the data pre-stored in the control device and control the controlled equipment.
In the existing control mode, the connected protocol needs to be disconnected, and the corresponding protocol needs to be reselected for connection control, but the invention utilizes the control protocol preset in the control device to perform data transmission and control in the modes of infrared, radio frequency and the like, can also realize automatic matching of the controlled equipment through voice control, adjusts the control sequence of the controlled equipment through voice, and sets the user reaction time, thereby reducing the delay time between the control equipment and the controlled equipment, enabling the controlled equipment to quickly respond, and executing the corresponding control action.
An embodiment of the present invention provides a voice control method, as shown in fig. 1, including:
s1, acquiring a first voice signal; the first voice signal can be the action words of turning on the air conditioner, turning on the television, turning on the lamp and the like.
S2, sending a time sequence control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment; and enabling the target equipment of the corresponding brand to enter a state to be controlled through the first voice signal. When the control device receives the first voice signal, the control device also sequentially transmits the time sequence control signals, wherein the time sequence control signals can be infrared control codes of different brands.
S3, determining a response time interval of at least one brand of target equipment by using the time sequence control signal; and determining the response time interval of each brand of target equipment according to the time transmitted by the time sequence control signal. The control signal of each brand of target equipment is sent in a time-sharing manner according to a time sequence, namely the time sequence control signals have a sequence; some brand signal emission time sequences are in front of each other, some brand signal emission time sequences are behind each other, and the sequence and delay time of time sequence control signals influence the control of target equipment, so that the target equipment cannot respond to voice signals quickly to execute corresponding control operation.
Optionally, the number of the sent time sequence control signals is not less than 1, where each time sequence control signal corresponds to a brand of target device, and each time sequence control signal has a certain time length, which may be: the time length of the timing control signal sent by each brand signal from the voice control device from the beginning to the end of signal transmission is as follows: the time length of brand a is 600ms.
And combining the time length of each time sequence control signal, the reaction delay time of the user and the time length of the set time zone interval into a response time interval of the target equipment of each brand, so that the target equipment of the controlled brand can be quickly determined through the corresponding time interval.
In addition, different brands correspond to the response time of target equipment of respective brands, and by judging and comparing, the target equipment of the brand controlled by the voice signal can be determined in a certain brand response interval in which the time length of the voice signal is consistent within a certain response time. And through the reaction delay time of the user and the time length of the set time zone interval, the error and the interference between the response time intervals of the target devices of all brands can be reduced, and the response time intervals of the determined target devices of the brands can accurately correspond to the corresponding target devices.
For example: knowing that the time length of brand a is 600ms, the response delay time of the user is 100ms, and the time length of the set time zone interval is 300ms, the response time interval of the target device of one brand is the time length of brand a + the time length from the response delay time of the user to brand a + the response delay time of the user + the time length of the set time zone interval, that is, between 700ms and 1000ms, it is only necessary to determine whether the received voice signal falls within the response time interval of the set target device of brand a, and the target device of brand a can be quickly determined to be the controlled device.
S4, when the second voice signal is acquired, comparing the time for acquiring the second voice signal with the response time interval of at least one brand of target equipment to determine the brand corresponding to the second voice signal; and comparing the time length of the second voice signal with the response time interval of the brand target equipment through the second voice signal sent by the user, judging that the second voice signal is in the response time interval of the brand target equipment, and executing a corresponding control instruction if the brand corresponding to the response time interval of the brand target equipment is the target equipment.
For example: the control device acquires the second voice signal 'adjust temperature', and according to the time of the second voice signal, the time of the second voice signal may be 600ms of signal transmission time, and the response time interval of the brand a target device is 600-950ms, then the response time interval of the second voice signal and the brand a target device is compared, the time of the second voice signal may be signal transmission completion time, and the time of the second voice signal falls within the response time interval of the brand a target device, so that it can be determined that the brand a is the target device which correspondingly executes the second voice signal.
Another example is: the time of the second voice signal may be 1600ms, the response time interval of the target device of the brand a is 600-950ms, and the response time interval of the target device of the brand B is 1000-2200ms, so that the second voice signal cannot be compared in the response time interval of the target device of the brand a, it is necessary to determine that the brand B is the target device corresponding to the execution of the second voice signal by comparing the response time intervals of the target devices of the brand B, and meanwhile, the timing control signal of the brand B needs to be pre-adjusted or initially adjusted.
Optionally, the user may preset the response delay time of the user and the time length of the set time zone interval, and adjust the length of the delay time and the time length of the set time zone interval according to the user setting, so as to control the delay time of the target device corresponding to the brand, so that the target device of the controlled device/brand can respond quickly to implement the control action, thereby improving the execution efficiency of the control device, and the target device of the brand which can be automatically matched without manual matching through voice control, thereby facilitating the user operation and practicality. The second voice signal is a control command which is sent by the user and needs to be executed, for example: the user sends a voice command of turning on the air conditioner to the control device and then sends a time sequence control signal, while the user continues to send control command information of adjusting the temperature, and the temperature is adjusted at the time to be a second voice signal.
And S5, controlling the determined target equipment of the brand based on the second voice signal. Wherein the target device of the brand may be the controlled device.
And when a second voice signal exists in the response time zone of the brand target equipment, determining the brand corresponding to the second voice signal, and executing a corresponding control action. And performing awakening control according to the first voice signal, and determining a response time interval to judge whether a second voice signal exists in the response time interval of the corresponding brand, so that the controlled equipment can quickly respond to a control instruction sent by the control device and execute corresponding control action.
Alternative embodiments
Including S1-S5 above, where in performing S3, it is necessary to:
acquiring preset reaction time; the preset response time can be user response delay time, preset user setting time and the emission time, wherein the user response delay time and the preset user setting time can be set by a user, signal matching and comparison can be rapidly carried out by setting the user response delay time and the preset user setting time, the delay time of the controlled equipment is reduced, and the execution efficiency of the controlled equipment is improved. And determining a response time interval of the at least one brand of target equipment based on the preset reaction time and the awakening time interval of the at least one brand of target equipment.
In executing S4, as shown in fig. 2, it is necessary to execute:
s21, extracting the end time of the awakening time interval of the target equipment of at least one brand; for example: if the wake-up time interval of brand a is set to 0-600ms, the end time is 600ms.
S22, calculating the sum of the ending time and the preset reaction time to obtain the length of the response time interval of the target equipment of at least one brand; for example: the ending time is 600ms, the preset reaction time is 300ms, and the length of the response time interval of the target device of one brand is 600+300=900ms.
And S23, determining the response time interval of the at least one brand of target equipment by using the end time of the wake-up time interval of the at least one brand of target equipment and the length of the response time interval of the at least one brand of target equipment. For example, according to the obtained time length, the response time interval of a brand of target devices can be calculated to be between 600ms and 900ms.
Through the response time interval of the target equipment who sets up the brand to realize the response time interval contrast of follow-up second speech information and the target equipment of brand, determine controlled brand equipment, thereby guarantee that the messenger target equipment of brand can control the response fast. The embodiment of the invention can also adjust the delay time between the target equipment of each brand and the control device by adjusting the length of the response time interval of the target equipment of the brand, so that the target equipment of each controlled brand can be adjusted according to the needs of the user to ensure that the target equipment of the controlled brand can quickly respond to the control command of the user.
Optionally, the timing control signal includes a wake-up time interval of at least one brand of target device. The timing control signal may be an infrared control protocol of different brands of signals.
Optionally, when the timing control signal is updated based on the determined brand, the timing for waking up the target device of at least one brand is adjusted.
And when the timing sequence control signal is updated based on the determined brand corresponding to the second voice signal, adjusting the awakening time interval corresponding to the determined brand to be the first awakening time interval of the timing sequence control signal so as to obtain the updated timing sequence control signal.
Optionally, determining a brand corresponding to the second voice signal further includes:
when the second voice signal is obtained and the response time intervals of the at least two brands of target equipment are partially overlapped, comparing the response time intervals of the at least two brands of target equipment, and taking the response time interval of the first obtained second voice signal to determine the brand corresponding to the second voice signal. Since the time-series signal is sent in a time-sharing manner, there may be a case where the time lengths in the response time intervals of the two brands of target devices overlap, and at this time, when the time length of the second voice signal exactly corresponds to the time length of the area where the overlap occurs, it is necessary to determine the time length in the response time interval of the target device of the brand corresponding to the time length of the second voice signal, which is the earliest time length in the response time intervals of the two brands of target devices, so as to determine the target device of the corresponding brand.
Under the condition that the response time intervals are overlapped, the time length of the response time interval of the target equipment corresponding to the overlapped brands is compared, the first interval compared with the second voice signal is taken, so that the time sequence signals of all brands can be sent in order, the quick response can be guaranteed, and the corresponding control instruction is executed.
Optionally, the time-sharing sending of the timing control signal is performed based on the first voice signal. By time-sharing transmission, the effect of transmitting multi-path data through one line is ensured, so that one control device controls a plurality of brand devices, each controlled brand device can quickly respond, and corresponding operation instructions are executed.
Alternative embodiments
As shown in fig. 3, includes: a user 1, a voice control device 2 and a controlled apparatus 3.
When the user 1 can wake up the voice function of the voice control device 2 through the wake-up word, the voice control device 2 can transmit a signal to control the controlled equipment 3 through the voice command word, and the transmitted signal is an infrared control signal;
the voice control device 2 comprises a voice recognition unit, a control unit and a communication unit, wherein the voice recognition unit can recognize the awakening word and the voice command word, the control unit can select a corresponding control protocol and a corresponding communication mode according to the recognition result of the awakening word and the voice command word and code a control signal, and the communication unit is responsible for transmitting the control signal coded by the control unit; in the case where the voice control device 2 cannot know the brand of the equipment to be controlled explicitly, the transmitted signals will be transmitted together in time division according to a default timing sequence, as shown in fig. 5;
when the controlled brand device 3 receives the corresponding brand control signal and responds to the execution, specifically: and judging the matching of the transmitting signal and the equipment according to the response time interval between the command words, thereby realizing the adjustment of the transmitting time sequence of the control signal. Fig. 5 is an example of a time interval of the present invention, where TA, TB, and TC are the time duration from the start of signal transmission of the voice control device to the completion of signal transmission of each brand signal; tx is the reaction delay time of the user, specifically the time from the user hearing the response of the controlled equipment to speaking the voice command control; Δ T is the time length of the set time zone interval.
Wherein, the control of the device requires two voice commands, for example, after the device is turned on, the state of the device is adjusted accordingly. After the first voice command of the user is responded, the device 3 judges the time interval matched with the second voice command, and then the brand corresponding to the time interval can be judged to be the actually controlled brand device.
Specifically, as shown in fig. 6:
first, a user reaction time Tx =1.2s, a time interval Δ T =0.4s, and respective brand completion times TA =300ms, tb =700ms, tb =1100ms are set by a computer or a voice function. Also according to fig. 4-6, after receiving the first voice command, the voice control device starts to emit an infrared signal according to a default timing:
(1) When the TA arrives, whether a second voice command is detected in a time interval A (namely, the TA + Tx arrives at the TA + Tx + delta T) or not is judged, namely, whether the second voice command is recognized in 1.5s to 1.9s after 300ms arrives, if so, the actual controlled equipment is judged to be A, and if not, the following judgment is continued;
(2) When the TB arrives, whether a second voice command is detected in a time interval B (namely, between the TB + Tx and the TB + Tx + delta T) or not is judged, namely, whether the second voice command is recognized in 1.9s to 2.3s after 700ms arrives, if so, the actual controlled equipment is judged to be B, and if not, the following judgment is continued;
(3) When the TC arrives, whether a second voice command is detected in a time interval C (namely from TC + Tx to TC + Tx + delta T) or not is judged, namely whether the second voice command is recognized in 2.3s to 2.7s after 1100ms arrives, if so, the actual controlled equipment is judged to be C, and if not, the judgment is given up.
If the time interval is overlapped when the time is set, and the second voice command falls in the overlapping time, the judgment is based on the time interval before. For example: if the time interval A and the time interval B are overlapped, when the voice command falls in the overlapped area, the judgment is carried out according to the time interval A, and after the actual controlled equipment brand is judged, the time sequence of the transmitting signal corresponding to the brand is arranged in the front or in the head.
The control flow of the three brands a, B, and C shown in fig. 4 may be:
s40, a user wakes up the voice control device; wherein the user's wake-up voice command is the voice message "XX hello" containing the name of the control device, or the voice message "hello" not containing the control device.
S41, when the user says 'turn on the air conditioner', transmitting control signals according to the time sequence of brands A, B and C; the user says 'turn on the air conditioner' as a first voice command, so that the control device sends each time sequence transmitting signal, and each brand of controlled equipment enters a standby state or executes the first voice command.
S42, when the control signal just transmits the brand A signal, the brand B signal is not transmitted;
s43, judging whether a voice command is received in the brand A time interval in the time interval shown in the figures 5-6, wherein the voice command at the moment is a second voice command, such as 'adjusting the temperature of an air conditioner';
and S44, if the brand A time interval receives the voice command, the brand A equipment responds to the received voice command, and the transmitting sequence of the brand A signal is kept unchanged.
And S45, if the voice command is not received in the time interval of the brand A, checking that the control signal just transmits the brand B signal and does not transmit the brand C signal.
And S46, judging whether the brand B time interval in the time interval receives the voice command or not.
And S47, if the brand B device receives the voice command in the brand B time interval, responding to the received voice command by the brand B device, and leading the transmission sequence of the brand B signal.
And S48, if the voice command is not received in the B brand time interval, checking that the control signal just transmits the brand C signal.
And S49, judging whether the brand C time interval in the time interval receives the voice command or not.
S410, if the voice command is received in the brand C time interval, the brand C device responds to the received voice command, and the transmitting sequence of the brand C signal is advanced.
And S410, if the voice command is not received in the brand C time interval, finishing the judgment and prompting no response.
The advantages of this embodiment:
the infrared codes of a plurality of brands are transmitted together in a time-sharing manner, the brand equipment which is transmitted preferentially responds preferentially due to different transmission time sequences of signals of the brands, and the faster the response is, the faster the rhythm of a user speaking a voice control command is, so that the adjustment of the time-sharing transmission sequence of the infrared codes is realized, and the matching of the infrared control signals of the controlled household appliance is realized.
Through the infrared emission time sequence of speech control, do not need the user to set up, and can be according to voice command automatic adjustment transmission signal sequence for traditional infrared controlling means, make its control more accurate, more quick.
According to the present invention, a voice control apparatus is provided, as shown in fig. 7, including:
a first obtaining module 10, configured to obtain a first voice signal;
a sending module 11, configured to send a timing control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment;
a first determining module 12, configured to determine a response time interval of at least one brand of target device by using the timing control signal;
the second obtaining module 13 is configured to, when the second voice signal is obtained, compare time of obtaining the second voice signal with a response time interval of at least one brand of target device, so as to determine a brand corresponding to the second voice signal;
and a second determining module 14, configured to control the determined brand of target device based on the second voice signal.
Through the first acquisition module, acquire first speech signal, first speech signal is used for awakening controlled device, and set up first confirming module according to the sequential control signal that sending module sent, first confirming module is used for confirming the response time interval of the target device of brand, thereby guarantee to realize the brand that quick discernment needs the control, later through the second acquisition module, acquire the second speech signal, its second speech signal is control command, make the time of second speech signal compare with the response time interval of the target device of confirming the brand that confirms, the response time interval of the target device of brand that the time of inquiry second speech signal corresponds, then can confirm controlled device's brand, thereby realize quick control, and the simplified operation, realize automatic switch-over and match controlled device.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, the electronic device may include a processor 21 and a memory 22, where the processor 21 and the memory 22 may be connected through a bus 23 or in another manner, and fig. 8 takes the connection through the bus as an example.
The processor 21 may be a Central Processing Unit (CPU). The Processor 51 may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 22, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the key shielding method of the in-vehicle display device in the embodiment of the present invention (for example, the first acquiring module 10, the sending module 11, the first determining module 12, the second acquiring module 13, and the second determining module 14 shown in fig. 7). The processor 51 executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory 22, namely, implements the voice control method in the above method embodiments.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 21, and the like. Further, the memory 22 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 22 may optionally include memory located remotely from the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in memory 22 and, when executed by processor 21, perform the voice control method of the embodiment shown in fig. 1-2.
The specific details of the electronic device may be understood by referring to the corresponding related descriptions and effects in the embodiments shown in fig. 1 to fig. 2, which are not described herein again.
Those skilled in the art will appreciate that all or part of the processes in the methods of the embodiments described above can be implemented by hardware instructed by a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A voice control method, comprising:
acquiring a first voice signal;
transmitting a timing control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment, and the at least one brand of target equipment belongs to the same household appliance category;
determining a response time interval of the at least one brand of target device using the timing control signal;
when a second voice signal is acquired, comparing the time for acquiring the second voice signal with the response time interval of the target equipment of the at least one brand to determine the brand corresponding to the second voice signal;
and controlling the determined target equipment of the brand based on the second voice signal.
2. The method of claim 1, wherein the timing control signal comprises a wake-up time interval of the at least one brand of target device; wherein the determining, by the timing control signal, a response time interval of the at least one brand of target device comprises:
acquiring preset reaction time;
determining a response time interval of the at least one brand of target device based on the preset reaction time and the wake-up time interval of the at least one brand of target device.
3. The method of claim 2, wherein determining the response time interval of the at least one brand of target device based on the preset reaction time and the wake-up time interval of the at least one brand of target device comprises:
extracting an end time of a wake-up time interval of the at least one brand of target device;
calculating the sum of the ending time and the preset reaction time to obtain the length of the response time interval of the target equipment of the at least one brand;
determining a response time interval of the at least one brand of target device using an end time of a wake time interval of the at least one brand of target device and a length of a response time interval of the at least one brand of target device.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
updating the timing control signal based on the determined brand to adjust a timing of waking up the at least one brand of target device.
5. The method of claim 4, wherein updating the timing control signal based on the determined brand corresponding to the second voice signal comprises:
and adjusting the determined awakening time interval corresponding to the brand to be a first awakening time interval of the time sequence control signal so as to obtain the updated time sequence control signal.
6. The method of claim 1, wherein determining the brand to which the second voice signal corresponds further comprises:
when the second voice signal is acquired and the response time intervals of the at least two brands of target equipment are partially overlapped, comparing the response time intervals of the at least two brands of target equipment, and taking the response time interval of the first acquired second voice signal to determine the brand corresponding to the second voice signal.
7. The method of claim 1, wherein the time-sharing transmitting of the timing control signal is based on the first speech signal.
8. A voice control apparatus, comprising:
the first acquisition module is used for acquiring a first voice signal;
a sending module, configured to send a timing control signal based on the first voice signal; the time sequence control signal is used for sequentially waking up at least one brand of target equipment, and the at least one brand of target equipment belongs to the same household appliance category;
a first determining module, configured to determine a response time interval of the at least one brand of target device by using the timing control signal;
the second obtaining module is used for comparing the time for obtaining the second voice signal with the response time interval of the target equipment of the at least one brand so as to determine the brand corresponding to the second voice signal when the second voice signal is obtained;
and the second determining module is used for controlling the determined target equipment of the brand based on the second voice signal.
9. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the voice control method of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the voice control method of any one of claims 1-7.
CN202010108460.1A 2020-02-21 2020-02-21 Voice control method and device and electronic equipment Active CN111091829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010108460.1A CN111091829B (en) 2020-02-21 2020-02-21 Voice control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010108460.1A CN111091829B (en) 2020-02-21 2020-02-21 Voice control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111091829A CN111091829A (en) 2020-05-01
CN111091829B true CN111091829B (en) 2023-03-14

Family

ID=70400285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010108460.1A Active CN111091829B (en) 2020-02-21 2020-02-21 Voice control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111091829B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3404655A1 (en) * 2017-05-19 2018-11-21 LG Electronics Inc. Home appliance and method for operating the same
CN108962250A (en) * 2018-09-26 2018-12-07 出门问问信息科技有限公司 Audio recognition method, device and electronic equipment
CN110322878A (en) * 2019-07-01 2019-10-11 华为技术有限公司 A kind of sound control method, electronic equipment and system
CN110459220A (en) * 2019-08-26 2019-11-15 杭州涂鸦信息技术有限公司 A kind of voice awakening method and system and readable storage medium storing program for executing, computer

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9849588B2 (en) * 2014-09-17 2017-12-26 Brain Corporation Apparatus and methods for remotely controlling robotic devices
US10783883B2 (en) * 2016-11-03 2020-09-22 Google Llc Focus session at a voice interface device
CN109391528A (en) * 2018-08-31 2019-02-26 百度在线网络技术(北京)有限公司 Awakening method, device, equipment and the storage medium of speech-sound intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3404655A1 (en) * 2017-05-19 2018-11-21 LG Electronics Inc. Home appliance and method for operating the same
CN108962250A (en) * 2018-09-26 2018-12-07 出门问问信息科技有限公司 Audio recognition method, device and electronic equipment
CN110322878A (en) * 2019-07-01 2019-10-11 华为技术有限公司 A kind of sound control method, electronic equipment and system
CN110459220A (en) * 2019-08-26 2019-11-15 杭州涂鸦信息技术有限公司 A kind of voice awakening method and system and readable storage medium storing program for executing, computer

Also Published As

Publication number Publication date
CN111091829A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN107101326B (en) Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal
WO2019205134A1 (en) Smart home voice control method, apparatus, device and system
CN106225174B (en) Air conditioner control method and system and air conditioner
WO2017152607A1 (en) Remote control method, remote controller and remote control system
US10749704B2 (en) Intelligent terminal remote controller-based internet-of-things control system and control method
CN104967971A (en) Method achieving bluetooth automatic return connection in Android system
JP2010514319A (en) Method and system for selecting each device of a wireless network, in particular a network of wireless lighting devices
CN111093105A (en) Remote control method and device
CN111312250A (en) Voice-based multi-device adaptation control method, device and system
CN112261638B (en) Method and device for rapidly identifying dual-mode Bluetooth device, IOS device and medium
CN111312249A (en) Voice control method and device and electronic equipment
CN111338221A (en) Multi-equipment self-adaptive control method, device and system
CN104901724B (en) A kind of data transmission method
CN111091829B (en) Voice control method and device and electronic equipment
CN113838275B (en) Bluetooth batch pairing method, display device and readable storage medium
WO2020057075A1 (en) Wireless communication control method and device, and household appliance
US20060129408A1 (en) A remote control device and method with speech control
US9489833B2 (en) Remote control and communication method for remote control
CN113490160A (en) Wireless communication method and wireless communication device
CN109669366B (en) Control method and device
CN113257228A (en) Intelligent terminal control method, equipment and system based on distributed microphone voice control
CN112331212A (en) Intelligent equipment voice control system and method
CN113129578A (en) Matching method, control method, system and storage medium of infrared equipment
CN104918307B (en) A kind of terminal
CN112099362A (en) Control terminal, remote control prompting method of household appliance and air conditioner

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