CN113496704B - Far-field voice control method, terminal and computer readable storage medium - Google Patents
Far-field voice control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN113496704B CN113496704B CN202110864988.6A CN202110864988A CN113496704B CN 113496704 B CN113496704 B CN 113496704B CN 202110864988 A CN202110864988 A CN 202110864988A CN 113496704 B CN113496704 B CN 113496704B
- Authority
- CN
- China
- Prior art keywords
- far
- state
- field voice
- switch
- mechanical switch
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 230000008569 process Effects 0.000 claims abstract description 51
- 230000003213 activating effect Effects 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims description 51
- 230000003993 interaction Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000001994 activation Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/28—Constructional details of speech recognition systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Software Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a far-field voice control method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring a level signal of a mechanical switch of a microphone, and reading state information of a software switch of the microphone according to the level signal; and controlling the on-off state of the far-field voice indicator lamp according to the state information of the software switch, and activating the far-field voice process according to the state of the software switch so as to activate the far-field voice function. According to the invention, the state information of the software switch of the microphone can be read according to the state of the mechanical switch by acquiring the level signal of the mechanical switch of the microphone, so that the switch state of the far-field indicator lamp is controlled according to the state of the software switch, and the far-field voice function is activated, and under the condition that a user does not determine that hardware is closed or software is closed, the far-field voice function of the terminal is automatically started, thereby solving the technical problem that the conventional far-field voice control mode cannot realize one-key start of the far-field voice function.
Description
Technical Field
The present invention relates to the field of terminal applications, and in particular, to a far-field speech control method, a terminal, and a computer readable storage medium.
Background
Along with the development of science and technology, electronic products are increasingly intelligent, more and more products such as digital televisions and television boxes are added with voice functions, and users can interact with the terminals through voice instructions to improve the use experience of the users.
The voice function is divided into near-field voice and far-field voice, wherein the control mode of the near-field voice is as follows: the user sends out a voice control instruction to the intelligent remote controller, and then the voice control instruction is transmitted to a terminal (such as a television) needing interaction through the remote controller; far-field speech does not require the intermediary of an intelligent remote control, and a user can directly interact with a terminal (e.g., a television). Because the voice information collection relates to personal privacy, a plurality of countries and regions have exported corresponding specifications, a far-field voice system is required to be designed with a hardware switch, and after the hardware switch is closed by a user, the far-field voice function cannot be opened through software operation; therefore, the far-field voice system can simultaneously design two switches, namely a hardware switch and a software switch.
Aiming at the hardware and software switch of the existing far-field voice control system, the control mode generally adopts a separation control mode, and specifically comprises the following two modes: the first type has two indicator lamps, which can respectively indicate whether the hardware and the software turn off the far-field voice system, if the user wants to turn on the far-field voice function, the user needs to execute corresponding operations according to different indicator lamps; the second type only has one indicator lamp, which can only indicate the switch state of far-field voice, but cannot indicate whether the switch state is a software switch state or a hardware switch state, and a user needs to turn on the hardware switch first and then turn on the software switch to use the voice function; no matter which control mode is adopted, the far-field voice function of one-key starting cannot be realized.
Accordingly, there is a need in the art for improvement.
Disclosure of Invention
The invention aims to solve the technical problems that the prior art has defects, and provides a far-field voice control method, a terminal and a computer readable storage medium, so as to solve the technical problems that the existing far-field voice control mode cannot realize one-key far-field voice function starting.
The technical scheme adopted for solving the technical problems is as follows:
in a first aspect, the present invention provides a far-field speech control method, the far-field speech control method comprising the steps of:
Acquiring a level signal of a mechanical switch of a microphone, and reading state information of a software switch of the microphone according to the level signal;
and controlling the on-off state of the far-field voice indicator lamp according to the state information of the software switch, and activating the far-field voice process according to the state of the software switch so as to activate the far-field voice function.
In one implementation, the step of obtaining the level signal of the mechanical switch of the microphone and reading the state information of the software switch of the microphone according to the level signal includes:
acquiring state information of the far-field voice function before the last shutdown;
And setting the far-field voice function to be in a state before the last shutdown according to the state information before the last shutdown.
In one implementation, the obtaining the level signal of the mechanical switch of the microphone and reading the state information of the software switch of the microphone according to the level signal includes:
Acquiring a level signal of the mechanical switch;
judging whether the level signal is a high level signal or not;
and if the level signal is the high level signal, reading the state information of the software switch.
In one implementation, the determining whether the level signal is a high level signal further includes:
and if the level signal is a low level signal, storing the state of the software switch as a preset state, and closing the far-field voice process.
In one implementation, the controlling the on-off state of the far-field voice indicator according to the state information of the software switch and activating the far-field voice process according to the state of the software switch includes:
judging whether the state of the software switch is an on state according to the state information of the software switch;
If the state of the software switch is an on state, controlling the state of the far-field voice indicator lamp to be an on state, and activating the far-field voice process;
And if the state of the software switch is the closing state, controlling the state of the far-field voice indicator lamp to be the closing state, and closing the far-field voice process.
In one implementation manner, the method controls the on-off state of the far-field voice indicator lamp according to the state information of the software switch, and activates the far-field voice process according to the state of the software switch, and then further includes:
Acquiring a user operation instruction;
Acquiring state information of the mechanical switch according to the user operation instruction;
Restoring the zone bit information of the mechanical switch according to the state information of the mechanical switch, and controlling the switch state of the far-field voice indicator lamp;
and activating far-field voice progress according to the switching state of the far-field voice indicator lamp.
In one implementation, the obtaining the state information of the mechanical switch according to the user operation instruction includes:
judging whether an operation object of a user is a mechanical switch according to the user operation instruction;
If the operation object of the user is the mechanical switch, acquiring state information of the mechanical switch;
And if the operation object of the user is a remote controller, reading the state information stored in the memory to determine the state information of the mechanical switch.
In one implementation manner, the restoring the flag bit information of the mechanical switch according to the state information of the mechanical switch, and controlling the on-off state of the far-field voice indicator lamp, includes:
judging whether the mechanical switch is switched from low level to high level according to the state information of the mechanical switch;
And if the mechanical switch is switched from low level to high level, restoring the zone bit information of the mechanical switch and controlling the far-field voice indicator lamp to be in an on state.
In a second aspect, the present invention provides a terminal comprising: the far-field speech control system comprises a processor and a memory, wherein the memory stores a far-field speech control program which is used for realizing the far-field speech control method according to the first aspect when being executed by the processor.
In a third aspect, the present invention provides a computer readable storage medium storing a far-field speech control program for implementing the far-field speech control method according to the first aspect when executed by a processor.
The technical scheme adopted by the invention has the following effects:
according to the invention, the state information of the software switch of the microphone can be read according to the state of the mechanical switch by acquiring the level signal of the mechanical switch of the microphone, so that the switch state of the far-field indicator lamp is controlled according to the state of the software switch, and the far-field voice function is activated, and under the condition that a user does not determine that hardware is closed or software is closed, the far-field voice function of the terminal is automatically started, thereby solving the technical problem that the conventional far-field voice control mode cannot realize one-key start of the far-field voice function.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a far field speech control method in one implementation of the invention.
FIG. 2 is a functional schematic of hardware modules in one implementation of the invention.
Fig. 3 is a functional schematic of a terminal in one implementation of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a far-field speech control method, where the far-field speech control method includes the following steps:
step S100, a level signal of a mechanical switch of a microphone is obtained, and state information of a software switch of the microphone is read according to the level signal.
In this embodiment, the far-field voice control method is applied to a terminal, where the terminal includes, but is not limited to: television (or intelligent television), mobile terminal, equipment with far-field voice function, etc.; in this embodiment, a television is taken as an example, and the far-field voice control method is described.
In this embodiment, the television is a television with far-field voice function, and the television includes: a hardware module and a software module operable to control a microphone that turns on or off far field voice functions of the television.
As shown in fig. 2, the hardware module includes: the device comprises a power supply, a mechanical switch (namely a mechanical switch module), a microphone array, a main control module and an indicator light module; the mechanical switch is connected with the power supply; the microphone array, the main control module and the indicator light module are respectively connected with the mechanical switch; the power supply supplies power to the microphone array through the mechanical switch so as to control the working state of the microphone array;
Further, in this embodiment, the mechanical switch is a hardware switch module capable of turning off a microphone power supply in the microphone array, and is characterized in that: the mechanical switch can be an independent switch or a functional module capable of controlling the on-off of a power supply; the microphone array is characterized in that the microphone array collects voice signals of a user and converts the voice signals into signals which can be processed by the main control module (main control SOC control chip), and the microphone array is characterized in that: the power supply of the microphone array is output by the mechanical switch.
The main function of the main control module is to further process the signals sent by the microphone array and to integrally control the far-field voice module of the television, and the main control module is characterized in that:
1) The main control module is powered by adopting a single power supply mode, and the power supply is not provided by the mechanical switch;
2) The main control module can detect the output signal of the mechanical switch in real time, if the state of the mechanical switch is an on state, the level signal detected by the main control module is high level, and if the state of the mechanical switch is an off state, the level signal detected by the main control module is low level;
3) The main control module controls the on and off states of the indicator lamps in the indicator lamp module through output signals.
The indicating lamp module is used for indicating the state of the current far-field voice module, and when the indicating lamp of the indicating lamp module is in a lighting state, the far-field voice module of the television is in an activated state, and the far-field voice module is in a working state; when the indicator light of the indicator light module is in a turned-off state, the far-field voice module of the television is in a turned-off state, and the far-field voice module is in a non-working state.
The indicator light module is characterized in that:
1) The power supply of the indicator light module is provided by the mechanical switch, and the power supply of the indicator light module is connected with the power supply of the microphone array in parallel;
2) The indication state of the indication lamp module is controlled by the signal of the main control module.
In this embodiment, the operation of the software module of far-field speech of the television can be divided into two parts: the software starts an initialization process and a man-machine interaction process; the software start initialization process means that after the television is started, the television can set the state of a far-field voice system to be the state before the television is turned off last time; the man-machine interaction process is that after software is started and initialized, the television can use far-field voice functions according to key operation of a user so as to realize far-field voice interaction.
Specifically, in the software start-up initialization process, the states of the far-field voice system set by the television set include: the working state of the hardware switch and the working state of the software switch; when the state of the far-field voice system is set, the state information of the far-field voice function before the last shutdown can be acquired, and the state information before the last shutdown comprises: state information of the hardware switch and state information of the software switch; after the state information before the last shutdown is obtained, the far-field voice function can be set to be in a state before the last shutdown according to the state information before the last shutdown; it can be understood that during the software start-up initialization process, the hardware switch state and the software switch state of the far-field voice system are mainly restored to the state when the far-field voice system is turned off last time.
That is, in one implementation of the present embodiment, step 100 is preceded by the steps of:
step 001, acquiring state information of the far-field voice function before the last shutdown;
And step 002, setting the far-field voice function to be in a state before the last shutdown according to the state information before the last shutdown.
In this embodiment, when the television is turned on, during the software start-up initialization process, a level signal of the mechanical switch may be obtained, then whether the level signal is a high level signal is determined, and the on-off state of the mechanical switch is determined by the obtained level signal of the mechanical switch, so as to obtain state information of the software switch, and activate a far-field speech process according to the state information of the software switch.
Further, when the level signal of the mechanical switch is acquired, the high level signal indicates that the mechanical switch is in an open state, and the low level signal indicates that the mechanical switch is in a closed state; when judging whether the level signal is a high level signal, if the level signal is the high level signal, reading state information of the software switch; the state information of the software switch is switch state information stored in far-field voice control software of the television, and on the premise that the mechanical switch is turned on, a user can turn on far-field voice functions of the television through a far-field voice switch button in the software.
In this embodiment, when determining whether the level signal is a high level signal, if the level signal is a low level signal, storing the state of the software switch as a preset state, and closing the far-field speech process; wherein the preset state is the same state as a mechanical switch of the microphone; it can be understood that when the level signal of the mechanical switch is a low level signal, the mechanical switch is in an off state, and at this time, the television sets the software switch to be in an off state, and simultaneously, the far-field voice process is also turned off, so that the far-field voice module is in an inactive state.
That is, in one implementation manner of the present embodiment, the step S100 specifically includes the following steps:
step S110, obtaining a level signal of the mechanical switch;
Step S120, judging whether the level signal is a high level signal;
Step S130, if the level signal is the high level signal, reading the state information of the software switch;
And step S140, if the level signal is a low level signal, storing the state of the software switch as a preset state, and closing the far-field voice process.
According to the embodiment, the state information of the software switch can be read by acquiring the level signal of the mechanical switch under the condition that the level signal is a high level signal, so that the far-field voice process is activated according to the software switch; and in the case that the level signal is a low level signal, setting the software switch to an off state as well, and simultaneously turning off the far-field voice process.
As shown in fig. 1, in one implementation manner of the embodiment of the present invention, the far-field voice control method further includes the following steps:
Step 200, controlling the on-off state of the far-field voice indicator lamp according to the state information of the software switch, and activating the far-field voice process according to the state of the software switch so as to activate the far-field voice function.
In this embodiment, after the state information of the software switch is read, the television may control the on-off state of the far-field voice indicator according to the state information of the software switch, and activate the far-field voice process according to the state of the software switch, so as to activate the far-field voice function; the switch state of the indicator lamp and the state of the software switch are corresponding.
Specifically, when the on-off state of the far-field voice indicator lamp is controlled, whether the state of the software switch is an on state or not can be judged according to the state information of the software switch; if the state of the software switch is an on state, controlling the state of the far-field voice indicator lamp to be an on state, and activating the far-field voice process, so that a far-field voice module of the television performs work; and if the state of the software switch is the closing state, controlling the state of the far-field voice indicator lamp to be the closing state, and closing the far-field voice process, so that the far-field voice module of the television stops working.
That is, in one implementation manner of the present embodiment, the step S200 specifically includes the following steps:
step S210, judging whether the state of the software switch is an on state according to the state information of the software switch;
step S220, if the state of the software switch is an on state, controlling the state of the far-field voice indicator lamp to be an on state, and activating the far-field voice process;
And step S230, if the state of the software switch is the off state, controlling the state of the far-field voice indicator lamp to be the off state, and closing the far-field voice process.
According to the embodiment, by judging whether the state of the software switch is the on state or not, when the software switch is in the on state, the state of the far-field voice indicator lamp is controlled to be the on state, and the far-field voice process is activated, so that a user can know the working state of far-field voice according to the indicator lamp, and the television can automatically activate the far-field voice process according to the states of the mechanical switch and the software switch.
In one implementation manner of the embodiment of the present invention, the far-field speech control method further includes the following steps:
Step S300, obtaining a user operation instruction;
step S400, acquiring state information of the mechanical switch according to the user operation instruction;
S500, restoring the zone bit information of the mechanical switch according to the state information of the mechanical switch, and controlling the switch state of the far-field voice indicator lamp;
and step S600, activating far-field voice process according to the on-off state of the far-field voice indicator lamp.
In this embodiment, after software of the television is initialized, the television may start a man-machine interaction process of far-field voice function; in the man-machine interaction flow, a user can start a far-field voice function through a mechanical switch (or a mechanical button) on the television or a far-field voice function key on a remote controller so as to execute the man-machine interaction flow of the far-field voice function.
Specifically, when executing the man-machine interaction flow of far-field voice function, the television firstly obtains the state information of the indicator lamp; because, in the software initialization stage of the television, the television already controls the indicator lamp to display the corresponding state; if the indicator lamp is in an on state, the far-field voice function of the television is started in the initialization stage, and at the moment, a user can directly use the far-field voice function of the television, namely, the user can directly control the television through voice.
In this embodiment, if the indicator light is in the off state, it indicates that the far-field voice function of the television is turned off in the initialization stage, and at this time, the far-field voice function needs to be turned on manually by a user, that is, by a mechanical switch (or a mechanical button) of the television or a far-field voice function key on a remote controller.
Further, when a far-field voice function is started manually by a user, the television acquires a user operation instruction, and acquires state information of the mechanical switch according to the user operation instruction; specifically, the television can judge whether the operation object of the user is a mechanical switch according to the user operation instruction, and if the operation object of the user is the mechanical switch, the state information of the mechanical switch is obtained, so that a far-field voice process is activated according to the state change process of the mechanical switch; and if the operation object of the user is a remote controller, reading the state information stored in the memory to determine the state information of the mechanical switch, so that the far-field voice process is directly activated according to the state information stored in the memory.
That is, in one implementation manner of the present embodiment, the step S400 specifically includes the following steps:
step S410, judging whether the operation object of the user is a mechanical switch according to the user operation instruction;
Step S420, if the operation object of the user is the mechanical switch, acquiring state information of the mechanical switch;
In step S430, if the operation object of the user is a remote controller, the state information stored in the memory is read to determine the state information of the mechanical switch.
In this embodiment, according to the operation object of the user, the television executes different activation processes, which are specifically as follows:
When the operation object of the user is a mechanical switch (or a mechanical button) of the television, the television firstly acquires the current state of the mechanical switch, then judges whether the mechanical switch is switched from a low level to a high level according to the state information of the mechanical switch, and restores the zone bit information of the mechanical switch and controls the far-field voice indicator lamp to be in an on state if the mechanical switch is switched from the low level to the high level.
Specifically, when the current state of the mechanical switch is acquired, the television needs to detect that the mechanical switch has a process of switching from a low level to a high level; if the current state of the mechanical switch is the off state, after the user is detected to turn on the mechanical switch, the television detects that the mechanical switch has a process of switching from a low level to a high level, at this time, the television restores the zone bit information of the mechanical switch (namely, the zone bit corresponding to the on state of the mechanical switch) at a software end, and controls the far-field voice indicator to be in the on state, and activates a far-field voice process under the condition that the user turns on the mechanical switch, so that the far-field voice function of the television can be used.
If the current state of the mechanical switch is an on state, in order to enable the television to detect that the mechanical switch has a process of switching from a low level to a high level, a user is required to turn off the mechanical switch first and then turn on the mechanical switch again; therefore, the television can detect that the mechanical switch has the process of switching from low level to high level, at the moment, the television restores the zone bit information of the mechanical switch at a software end and controls the far-field voice indicator lamp to be in an on state, and under the condition that the mechanical switch is turned on after a user turns off, the far-field voice process is activated, so that the far-field voice function of the television can be used.
That is, in one implementation manner of the present embodiment, the step S500 specifically includes the following steps:
step S510, judging whether the mechanical switch is switched from a low level to a high level according to the state information of the mechanical switch;
And step S520, if the mechanical switch is switched from low level to high level, restoring the zone bit information of the mechanical switch and controlling the far-field voice indicator lamp to be in an on state.
In this embodiment, when the operation object of the user is the remote controller of the television, the television directly reads the state information of the mechanical switch stored in the memory to determine the current state of the mechanical switch.
Specifically, when the current state of the mechanical switch is determined, if the read state of the mechanical switch is an off state, a pop-up dialog box prompts a user to turn on the mechanical switch, after the user turns on the mechanical switch, the television detects that the mechanical switch has a process of switching from a low level to a high level, at this time, the television restores the flag bit information of the mechanical switch at a software end and controls the far-field voice indicator to be in an on state, and under the condition that the user turns on the mechanical switch, a far-field voice process is activated, so that the far-field voice function of the television can be used.
If the read state of the mechanical switch is an on state, the television directly restores the zone bit information of the mechanical switch at a software end and controls the far-field voice indicator lamp to be in an on state, so that a far-field voice process is activated, and the far-field voice function of the television can be used.
In this embodiment, in the case that the user does not know whether the television is a far-field voice module that is turned off by software or hardware, by using the far-field voice control method, the user can activate the far-field voice process only by following the operation flow of the mechanical switch (by the operation of turning off-turning on again in the state that the indicator light is turned on and the mechanical switch is turned on), so as to turn on the far-field voice system of the television, and realize the "one-key on" function.
It should be noted that, in this embodiment, the far-field voice control method is applicable to a far-field voice system of one indicator lamp or two indicator lamps, that is, one indicator lamp or two indicator lamps can indicate the working state of far-field voice of the television.
According to the embodiment, the state information of the software switch of the microphone can be read according to the state of the mechanical switch by acquiring the level signal of the mechanical switch of the microphone, so that the switch state of the far-field indicator lamp is controlled according to the state of the software switch, and the far-field voice function is activated, and under the condition that a user does not determine that hardware is closed or software is closed, the far-field voice function of the terminal is automatically started, and the technical problem that the conventional far-field voice control mode cannot realize one-key start of the far-field voice function is solved.
Exemplary apparatus
Based on the above embodiment, the present invention also provides a terminal, and a functional block diagram thereof may be shown in fig. 3.
The terminal comprises: the system comprises a processor, a memory, an interface, a display screen and a communication module which are connected through a system bus; wherein the processor of the terminal is configured to provide computing and control capabilities; the memory of the terminal includes a computer-readable storage medium and an internal memory; the computer readable storage medium stores an operating system and a computer program; the internal memory provides an environment for the operation of the operating system and the computer program in the computer readable storage medium; the interface is used for connecting external terminal equipment, such as mobile terminals, computers and other equipment; the display screen is used for displaying corresponding far-field voice control information; the communication module is used for communicating with a cloud server or a mobile terminal.
The computer program is configured to implement a far-field speech control method when executed by a processor.
It will be appreciated by those skilled in the art that the functional block diagram shown in fig. 3 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the terminal to which the present inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a terminal is provided, including: the far-field voice control system comprises a processor and a memory, wherein the memory stores a far-field voice control program which is used for realizing the far-field voice control method when being executed by the processor.
In one embodiment, a computer readable storage medium is provided, wherein the computer readable storage medium stores a far-field speech control program, which when executed by a processor is configured to implement the far-field speech control method as above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium and which, when executed, may comprise the steps of the above-described embodiments of the methods. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory.
In summary, the present invention provides a far-field voice control method, a terminal, and a computer readable storage medium, where the method includes: acquiring a level signal of a mechanical switch of a microphone, and reading state information of a software switch of the microphone according to the level signal; and controlling the on-off state of the far-field voice indicator lamp according to the state information of the software switch, and activating the far-field voice process according to the state of the software switch so as to activate the far-field voice function. According to the invention, the state information of the software switch of the microphone can be read according to the state of the mechanical switch by acquiring the level signal of the mechanical switch of the microphone, so that the switch state of the far-field indicator lamp is controlled according to the state of the software switch, and the far-field voice function is activated, and under the condition that a user does not determine that hardware is closed or software is closed, the far-field voice function of the terminal is automatically started, thereby solving the technical problem that the conventional far-field voice control mode cannot realize one-key start of the far-field voice function.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (8)
1. The far-field voice control method is characterized by comprising the following steps of:
Acquiring a level signal of a mechanical switch of a microphone, and reading state information of a software switch of the microphone according to the level signal;
Controlling the on-off state of a far-field voice indicator lamp according to the state information of the software switch, and activating a far-field voice process according to the state of the software switch so as to activate a far-field voice function;
The state of the software switch corresponds to the switch state of the far-field voice indicator lamp;
the method comprises the steps of controlling the on-off state of a far-field voice indicator lamp according to the state information of the software switch, activating a far-field voice process according to the state of the software switch, and then further comprising:
Acquiring a user operation instruction;
Acquiring state information of the mechanical switch according to the user operation instruction;
Restoring the zone bit information of the mechanical switch according to the state information of the mechanical switch, and controlling the switch state of the far-field voice indicator lamp;
activating far-field voice progress according to the on-off state of the far-field voice indicator lamp;
The restoring the zone bit information of the mechanical switch according to the state information of the mechanical switch, controlling the switch state of the far-field voice indicator lamp, comprising:
judging whether the mechanical switch is switched from low level to high level according to the state information of the mechanical switch;
And if the mechanical switch is switched from low level to high level, restoring the zone bit information of the mechanical switch and controlling the far-field voice indicator lamp to be in an on state.
2. The far-field speech control method according to claim 1, wherein the step of acquiring a level signal of a mechanical switch of a microphone and reading state information of a software switch of the microphone according to the level signal comprises the steps of:
acquiring state information of the far-field voice function before the last shutdown;
And setting the far-field voice function to be in a state before the last shutdown according to the state information before the last shutdown.
3. The far-field speech control method according to claim 1, wherein the acquiring the level signal of the mechanical switch of the microphone and reading the state information of the software switch of the microphone according to the level signal includes:
Acquiring a level signal of the mechanical switch;
judging whether the level signal is a high level signal or not;
and if the level signal is the high level signal, reading the state information of the software switch.
4. The far-field speech control method according to claim 3, wherein said determining whether the level signal is a high level signal further comprises:
and if the level signal is a low level signal, storing the state of the software switch as a preset state, and closing the far-field voice process.
5. The far-field voice control method according to claim 1, wherein the controlling the switching state of the far-field voice indicator according to the state information of the software switch and activating the far-field voice process according to the state of the software switch comprises:
judging whether the state of the software switch is an on state according to the state information of the software switch;
If the state of the software switch is an on state, controlling the state of the far-field voice indicator lamp to be an on state, and activating the far-field voice process;
And if the state of the software switch is the closing state, controlling the state of the far-field voice indicator lamp to be the closing state, and closing the far-field voice process.
6. The far-field voice control method according to claim 1, wherein the acquiring the state information of the mechanical switch according to the user operation instruction includes:
judging whether an operation object of a user is a mechanical switch according to the user operation instruction;
If the operation object of the user is the mechanical switch, acquiring state information of the mechanical switch;
And if the operation object of the user is a remote controller, reading the state information stored in the memory to determine the state information of the mechanical switch.
7. A terminal, comprising: a processor and a memory storing a far-field speech control program which when executed by the processor is adapted to carry out the far-field speech control method according to any one of claims 1-6.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a far-field speech control program, which when executed by a processor is adapted to implement the far-field speech control method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110864988.6A CN113496704B (en) | 2021-07-29 | 2021-07-29 | Far-field voice control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110864988.6A CN113496704B (en) | 2021-07-29 | 2021-07-29 | Far-field voice control method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113496704A CN113496704A (en) | 2021-10-12 |
CN113496704B true CN113496704B (en) | 2024-05-24 |
Family
ID=77996695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110864988.6A Active CN113496704B (en) | 2021-07-29 | 2021-07-29 | Far-field voice control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113496704B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218785A (en) * | 2018-10-08 | 2019-01-15 | 四川长虹电器股份有限公司 | A kind of awakening method and system of standby mode intelligent TV set |
CN111679594A (en) * | 2020-06-24 | 2020-09-18 | 四川长虹电器股份有限公司 | Far-field voice switch control method and system of visual intelligent product |
KR20200109742A (en) * | 2019-03-14 | 2020-09-23 | 주식회사 엘지유플러스 | Remote control for speech recognition and method thereof |
CN112201231A (en) * | 2019-07-08 | 2021-01-08 | 青岛海尔多媒体有限公司 | Remote controller and control method and device thereof |
CN112860331A (en) * | 2021-03-19 | 2021-05-28 | Vidaa美国公司 | Display device and voice interaction prompting method |
CN213583111U (en) * | 2020-11-26 | 2021-06-29 | 四川长虹电器股份有限公司 | Far-field voice switch circuit and liquid crystal television |
CN113053089A (en) * | 2019-12-27 | 2021-06-29 | 深圳Tcl新技术有限公司 | Far-field voice privacy protection circuit and method |
CN113132793A (en) * | 2019-12-31 | 2021-07-16 | 深圳Tcl新技术有限公司 | Far-field voice control method, smart television, far-field voice module and connecting line |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108428452B (en) * | 2018-03-14 | 2019-12-13 | 百度在线网络技术(北京)有限公司 | Terminal support and far-field voice interaction system |
-
2021
- 2021-07-29 CN CN202110864988.6A patent/CN113496704B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218785A (en) * | 2018-10-08 | 2019-01-15 | 四川长虹电器股份有限公司 | A kind of awakening method and system of standby mode intelligent TV set |
KR20200109742A (en) * | 2019-03-14 | 2020-09-23 | 주식회사 엘지유플러스 | Remote control for speech recognition and method thereof |
CN112201231A (en) * | 2019-07-08 | 2021-01-08 | 青岛海尔多媒体有限公司 | Remote controller and control method and device thereof |
CN113053089A (en) * | 2019-12-27 | 2021-06-29 | 深圳Tcl新技术有限公司 | Far-field voice privacy protection circuit and method |
CN113132793A (en) * | 2019-12-31 | 2021-07-16 | 深圳Tcl新技术有限公司 | Far-field voice control method, smart television, far-field voice module and connecting line |
CN111679594A (en) * | 2020-06-24 | 2020-09-18 | 四川长虹电器股份有限公司 | Far-field voice switch control method and system of visual intelligent product |
CN213583111U (en) * | 2020-11-26 | 2021-06-29 | 四川长虹电器股份有限公司 | Far-field voice switch circuit and liquid crystal television |
CN112860331A (en) * | 2021-03-19 | 2021-05-28 | Vidaa美国公司 | Display device and voice interaction prompting method |
Also Published As
Publication number | Publication date |
---|---|
CN113496704A (en) | 2021-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20190051368A (en) | Electronic apparatus and Method of executing a function by speech recognition between the electronic apparatus | |
CN111246199B (en) | Control method and device for camera test, terminal equipment and storage medium | |
KR102531333B1 (en) | An electronic device providing a notofication for event occurred to the electronic device and control method thereof | |
US11176078B2 (en) | Communication method using input/output interface, and apparatus therefor | |
CN112492366A (en) | Remote controller key customization method and device for smart television, smart television and medium | |
CN103841291A (en) | Information processing apparatus | |
CN114879894B (en) | Function starting method, user interface and electronic equipment | |
CN113496704B (en) | Far-field voice control method, terminal and computer readable storage medium | |
CN113672070A (en) | Start-stop control method and device for transport mode and electronic equipment | |
CN112988246A (en) | System switching method and device, electronic equipment and storage medium | |
CN106101406B (en) | Shutdown alarm triggering processing method based on mobile terminal and mobile terminal | |
CN110109529B (en) | SD card power supply control method and device, storage medium and electronic equipment | |
CN111181218A (en) | Charging prompting method, electronic device and medium | |
CN113660149B (en) | Equipment control method and device, storage medium and electronic equipment | |
CN111831100B (en) | Electronic device control method and device, storage medium and electronic device | |
CN114552740A (en) | Plug-and-play intelligent switching system and control method thereof | |
US9516598B2 (en) | Information processing apparatus including communication function | |
CN114138100A (en) | Low-power-consumption startup and shutdown method, startup and shutdown circuit and intelligent terminal | |
CN104423278B (en) | Mobile power supply terminal and its method of supplying power to | |
CN113160812A (en) | Speech recognition apparatus, speech recognition method, and readable storage medium | |
JP2001282397A (en) | Pc card | |
CN111367535A (en) | Software burning method, vehicle-mounted equipment and medium | |
CN107068025B (en) | Mobile terminal and display screen positive and negative voltage output control method based on mobile terminal | |
US20130194441A1 (en) | Electronic device and imaging apparatus | |
CN111316525B (en) | Electric quantity regulation and control method and electric quantity regulation and control system of intelligent terminal |
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 |