CN113496704A - 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 PDF

Info

Publication number
CN113496704A
CN113496704A CN202110864988.6A CN202110864988A CN113496704A CN 113496704 A CN113496704 A CN 113496704A CN 202110864988 A CN202110864988 A CN 202110864988A CN 113496704 A CN113496704 A CN 113496704A
Authority
CN
China
Prior art keywords
far
state
switch
field voice
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.)
Granted
Application number
CN202110864988.6A
Other languages
Chinese (zh)
Other versions
CN113496704B (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.)
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN202110864988.6A priority Critical patent/CN113496704B/en
Priority claimed from CN202110864988.6A external-priority patent/CN113496704B/en
Publication of CN113496704A publication Critical patent/CN113496704A/en
Application granted granted Critical
Publication of CN113496704B publication Critical patent/CN113496704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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 TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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

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 switching state of the far-field voice indicating lamp according to the state information of the software switch, and activating a far-field voice process according to the switching state so as to activate a 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 remote indicator light is controlled according to the state of the software switch, the far-field voice function is activated, the far-field voice function of the terminal is automatically started under the condition that a user does not determine hardware closing or software closing, and the technical problem that the existing far-field voice control mode cannot realize one-key far-field voice function starting is solved.

Description

Far-field voice control method, terminal and computer readable storage medium
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 becoming intelligent day by day, and more products such as digital television, TV box have increased voice function, and the user can carry out some interactions with the terminal through voice command to promote user's use and experience.
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: a user sends 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 need the intermediary of an intelligent remote controller, and a user can directly interact with a terminal (such as a television). Because voice information acquisition relates to personal privacy, a plurality of countries and regions have corresponding specifications, a far-field voice system is required to be provided with a hardware switch, and when a user closes the hardware switch, a far-field voice function cannot be opened through software operation; therefore, both hardware switches and software switches are designed for far-field speech systems.
For the existing far-field speech control system hardware and software switch, the control mode generally adopts a separate control mode, specifically, the following two modes are adopted: the first one has two indicator lights, which can respectively indicate whether hardware and software shut down the far-field speech system, if the user wants to turn on the far-field speech function, the user needs to execute corresponding operations according to different indicator lights; the second type only has one indicator light, which can only indicate the far-field voice on-off state, but cannot indicate whether the far-field voice on-off state is a software on-off state or a hardware on-off state, and a user needs to turn on a hardware switch first and then turn on a software switch to use the voice function; no matter which control mode is adopted, the function of starting the far-field voice by one key cannot be realized.
Therefore, the prior art has yet to be improved.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a far-field speech control method, a terminal and a computer readable storage medium to solve the technical problem that the existing far-field speech control method cannot realize the function of turning on the far-field speech by one key.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in a first aspect, the present invention provides a far-field speech control method, including 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 switching state of the far-field voice indicating lamp according to the state information of the software switch, and activating a far-field voice process according to the switching state so as to activate a far-field voice function.
In one implementation, the 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 previously includes:
acquiring state information of the far-field voice function before 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 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 includes:
acquiring a level signal of the mechanical switch;
judging whether the level signal is a high level signal;
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 switch state of the far-field voice indicating lamp according to the state information of the software switch and activating the far-field voice process according to the switch state includes:
judging whether the state of the software switch is an opening state or not according to the state information of the software switch;
if the state of the software switch is an opening state, controlling the state of the far-field voice indicator lamp to be an opening state, and activating the far-field voice process;
and if the state of the software switch is a closing state, controlling the state of the far-field voice indicating lamp to be a closing state, and closing the far-field voice process.
In one implementation, the controlling the switch state of the far-field voice indicating lamp according to the state information of the software switch and activating the far-field voice process according to the switch state further includes:
acquiring a user operation instruction;
acquiring state information of the mechanical switch according to the user operation instruction;
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;
and activating a far-field voice process according to the switching state of the far-field voice indicating 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 or not 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, the restoring flag 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 include:
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 if the mechanical switch is switched from low level to high level, the flag bit information of the mechanical switch is restored, and the far-field voice indicator lamp is controlled to be in an on state.
In a second aspect, the present invention provides a terminal, comprising: a processor and a memory, the memory storing a far-field speech control program, the far-field speech control program being executable by the processor for implementing the far-field speech control method according to the first aspect.
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 the far-field speech control program is executed by a processor.
The invention adopts the technical scheme and 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 remote indicator light is controlled according to the state of the software switch, the far-field voice function is activated, the far-field voice function of the terminal is automatically started under the condition that a user does not determine hardware closing or software closing, and the technical problem that the existing far-field voice control mode cannot realize one-key far-field voice function starting is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
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 implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a far-field speech control method, including the following steps:
step S100, 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.
In this embodiment, the far-field speech control method is applied to a terminal, and the terminal includes but is not limited to: a television (or an intelligent television), a mobile terminal, equipment with a far-field voice function and the like; the present embodiment takes a television as an example, and explains the far-field speech control method.
In this embodiment, the television is a television with far-field speech function, and the television includes: the system comprises a hardware module and a software module, wherein the hardware module and the software module can be used for controlling a microphone for turning on or off a far-field voice function of the television.
As shown in fig. 2, the hardware module includes: the microphone array 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 power supply of the microphone 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 has the functions of collecting voice signals of users and converting the voice signals into signals which can be processed by the main control module (main control SOC control chip), and is characterized in that: the power 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 adopts a separate power supply mode to supply power, and the power supply of the main control module is not provided by the mechanical switch;
2) the main control module can detect an output signal of the mechanical switch in real time, if the state of the mechanical switch is an on state, a level signal detected by the main control module is a high level, and if the state of the mechanical switch is an off state, the level signal detected by the main control module is a 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, when an indicating lamp of the indicating lamp module is in a lighting state, the indicating lamp module indicates that 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 an off state, the far-field voice module of the television is in a closed 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 indicating state of the indicating lamp module is controlled by the signal of the main control module.
In this embodiment, the operation of the software module for the far-field speech of the television set can be divided into two parts: starting an initialization process and a human-computer interaction process by software; the software starting initialization process refers to that after the television is started, the television can set the state of a far-field voice system to be the state of the television before the last shutdown; the human-computer interaction process is a process that after software is started and initialized, the television can use a far-field voice function according to key operation of a user so as to realize far-field voice interaction.
Specifically, in the software startup initialization process, the state of the far-field speech system set by the television includes: the working state of the hardware switch and the working state of the software switch; when the state of the far-field speech system is set, the state information of the far-field speech function before the last shutdown can be obtained, 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 the state before the last shutdown according to the state information before the last shutdown; it can be understood that, in the software startup initialization process, the hardware switch state and the software switch state of the far-field speech system are mainly restored to the state of the last shutdown.
That is, in one implementation manner of the present embodiment, step 100 includes the following steps before:
001, acquiring state information of the far-field voice function before last shutdown;
and 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, in the software startup initialization process, the level signal of the mechanical switch may be acquired, and then it is determined whether the level signal is a high level signal, and the on-off state of the mechanical switch is determined by the acquired level signal of the mechanical switch, so as to acquire the state information of the software switch, and activate the far-field speech process by the state information of the software switch.
Further, when a level signal of the mechanical switch is obtained, 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 the state information of the software switch; the state information of the software switch is the switch state information stored in the far-field voice control software of the television, and on the premise that the mechanical switch is turned on, a user can turn on the far-field voice function 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 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 a closed state, and at this time, the television sets the software switch to a closed state as well, and also closes the far-field speech process, so that the far-field speech module is in an inoperative state.
That is, in an implementation manner of this embodiment, step S100 specifically includes the following steps:
step S110, acquiring 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;
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 speech process.
In the embodiment, by acquiring the level signal of the mechanical switch, the state information of the software switch can be read under the condition that the level signal is a high level signal, so that a far-field voice process is activated according to the software switch; and under the condition that the level signal is a low level signal, setting the software switch to be in a closed state, and closing the far-field voice progress.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the far-field speech control method further includes the following steps:
and S200, controlling the switching state of the far-field voice indicator lamp according to the state information of the software switch, and activating a far-field voice process according to the switching state so as to activate a far-field voice function.
In this embodiment, after reading the state information of the software switch, the television set may control the switching state of the far-field voice indicator lamp according to the state information of the software switch, and activate the far-field voice process according to the switching state to activate the far-field voice function; the on-off state of the indicator light and the state of the software switch are corresponding states.
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 opening state, controlling the state of the far-field voice indicator lamp to be an opening state, and activating the far-field voice process, so that a far-field voice module of the television executes work; and if the state of the software switch is a closing state, controlling the state of the far-field voice indicating lamp to be a closing state, and closing the far-field voice process, so that the far-field voice module of the television stops working.
That is, in an implementation manner of this embodiment, the step S200 specifically includes the following steps:
step S210, judging whether the state of the software switch is an opening state or not according to the state information of the software switch;
step S220, if the state of the software switch is an open state, controlling the state of the far-field voice indicator lamp to be an open state, and activating the far-field voice process;
in step S230, if the state of the software switch is the off state, the far-field voice indicator is controlled to be in the off state, and the far-field voice process is turned off.
According to the embodiment, whether the state of the software switch is the opening state or not is judged, when the software switch is in the opening state, the state of the far-field voice indicating lamp is controlled to be the opening 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 indicating 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 an implementation manner of the embodiment of the present invention, the far-field speech control method further includes the following steps:
step S300, acquiring a user operation instruction;
step S400, acquiring state information of the mechanical switch according to the user operation instruction;
step S500, 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;
and step S600, activating a far-field voice process according to the switching state of the far-field voice indicating lamp.
In this embodiment, after software of the television is initialized, the television can start a human-computer interaction process of a far-field voice function; in the human-computer interaction process, a user may turn on 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 to execute the human-computer interaction process of the far-field voice function.
Specifically, when a man-machine interaction process of a far-field voice function is executed, the television firstly acquires state information of an indicator light; because, in the software initialization phase of the television, the television has already controlled the indicator light to display the corresponding status; if the indicator light is in an on state, the far-field voice function of the television is started in an 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 television has turned off the far-field voice function in the initialization stage, and at this time, the user is required to turn on the far-field voice function manually, that is, turn on the far-field voice function through a mechanical switch (or a mechanical button) of the television or a far-field voice function key on a remote controller.
Further, when the far-field voice function is manually started by a user, the television acquires a user operation instruction, and acquires the state information of the mechanical switch according to the user operation instruction; specifically, the television can judge whether an operation object of a user is a mechanical switch according to the user operation instruction, and if the operation object of the user is the mechanical switch, state information of the mechanical switch is acquired, so that a far-field voice process is activated according to a state change process of the mechanical switch; and if the user operation object 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 activated directly according to the state information stored in the memory.
That is, in an implementation manner of this embodiment, the step S400 specifically includes the following steps:
step S410, judging whether the operation object of the user is a mechanical switch or not according to the user operation instruction;
step S420, if the operation object of the user is the mechanical switch, acquiring the state information of the mechanical switch;
step S430, 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 this embodiment, according to an operation object of a user, the television executes different activation procedures, which are specifically as follows:
when the operation object of the user is the mechanical switch (or the 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, if the mechanical switch is switched from the low level to the high level, the flag bit information of the mechanical switch is restored, and the far-field voice indicator lamp is controlled to be in the on state.
Specifically, when the current state of the mechanical switch is obtained, 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 a closed state, after the mechanical switch is opened by the user to be detected, the television detects that the mechanical switch has a process of converting from a low level to a high level, at the moment, the television restores the mark bit information (namely the mark bit corresponding to the open state of the mechanical switch) of the mechanical switch at a software end and controls the far-field voice indicator lamp to be in an open state, and under the condition that the mechanical switch is opened by the user, a far-field voice process is activated, 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 needs to firstly turn off the mechanical switch and then turn on the mechanical switch again; therefore, the television can detect 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, controls the far-field voice indicator lamp to be in an on state, and activates a far-field voice process under the condition that a user turns on the mechanical switch after turning off, so that the far-field voice function of the television can be used.
That is, in an implementation manner of this 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, reducing the flag 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 a closed state, a dialog box pops up to prompt a user to open the mechanical switch, after the user opens 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 flag bit information of the mechanical switch at a software end and controls the far-field voice indicator lamp to be in an open state, and in the case that the user opens 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 open state, the television directly restores the flag bit information of the mechanical switch at a software end and controls the far-field voice indicator lamp to be in an open 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, when it is unclear whether the television is turned off by software or turned off by hardware, by using the far-field speech control method, the user can activate the far-field speech process only according to the operation flow of the mechanical switch (in the state where the indicator light is turned on, and in the case where the mechanical switch is turned on, by performing the operation of turning off and turning on again), so as to turn on the far-field speech system of the television, thereby implementing the "one-key-on" function.
It should be noted that, in this embodiment, the far-field speech control method is applicable to a far-field speech system with one indicator light or two indicator lights, that is, one indicator light or two indicator lights can both indicate the working state of the far-field speech of the television.
According to the method and the device, 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 remote indicator light is controlled according to the state of the software switch, the far-field voice function is activated, the far-field voice function of the terminal is automatically started under the condition that a user does not determine that hardware is closed or software is closed, and the technical problem that the existing far-field voice control mode cannot realize the function of starting the far-field voice by one key is solved.
Exemplary device
Based on the above embodiments, the present invention further provides a terminal, and a schematic block diagram thereof may be as shown in fig. 3.
The terminal includes: 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 an operating system and a computer program in the computer-readable storage medium; the interface is used for connecting external terminal equipment, such as mobile terminals and computers; 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 executed by a processor to implement a far-field speech control method.
It will be understood by those skilled in the art that the block diagram shown in fig. 3 is a block diagram of only a portion of the structure associated with the inventive arrangements and is not intended to limit the terminals to which the inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a terminal is provided, which includes: the device comprises a processor and a memory, wherein the memory stores a far-field voice control program, and the far-field voice control program 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 used to implement the far-field speech control method as above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory.
In summary, the present invention provides a far-field speech control method, a terminal and a computer-readable storage medium, wherein 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 switching state of the far-field voice indicating lamp according to the state information of the software switch, and activating a far-field voice process according to the switching state so as to activate a 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 remote indicator light is controlled according to the state of the software switch, the far-field voice function is activated, the far-field voice function of the terminal is automatically started under the condition that a user does not determine hardware closing or software closing, and the technical problem that the existing far-field voice control mode cannot realize one-key far-field voice function starting is solved.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A far-field speech control method, comprising:
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 switching state of the far-field voice indicating lamp according to the state information of the software switch, and activating a far-field voice process according to the switching state so as to activate a far-field voice function.
2. The far-field speech control method according to claim 1, wherein the obtaining of the level signal of the mechanical switch of the microphone and the reading of the state information of the software switch of the microphone according to the level signal previously comprises:
acquiring state information of the far-field voice function before 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 obtaining 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:
acquiring a level signal of the mechanical switch;
judging whether the level signal is a high level signal;
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 switch 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 switch state comprises:
judging whether the state of the software switch is an opening state or not according to the state information of the software switch;
if the state of the software switch is an opening state, controlling the state of the far-field voice indicator lamp to be an opening state, and activating the far-field voice process;
and if the state of the software switch is a closing state, controlling the state of the far-field voice indicating lamp to be a closing state, and closing the far-field voice process.
6. The far-field voice control method according to claim 1, wherein the method controls the switch 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 switch state, and then further comprises:
acquiring a user operation instruction;
acquiring state information of the mechanical switch according to the user operation instruction;
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;
and activating a far-field voice process according to the switching state of the far-field voice indicating lamp.
7. The far-field voice control method according to claim 6, wherein the obtaining of the state information of the mechanical switch according to the user operation instruction comprises:
judging whether an operation object of a user is a mechanical switch or not 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.
8. The far-field voice control method according to claim 6, wherein the restoring flag 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 comprise:
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 if the mechanical switch is switched from low level to high level, the flag bit information of the mechanical switch is restored, and the far-field voice indicator lamp is controlled to be in an on state.
9. A terminal, comprising: a processor and a memory, the memory storing a far-field speech control program, the far-field speech control program when executed by the processor being for implementing the far-field speech control method of any one of claims 1-8.
10. 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 configured to implement the far-field speech control method according to any one of claims 1 to 8.
CN202110864988.6A 2021-07-29 Far-field voice control method, terminal and computer readable storage medium Active CN113496704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110864988.6A CN113496704B (en) 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 Far-field voice control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113496704A true CN113496704A (en) 2021-10-12
CN113496704B CN113496704B (en) 2024-05-24

Family

ID=

Citations (9)

* Cited by examiner, † Cited by third party
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
US20190287521A1 (en) * 2018-03-14 2019-09-19 Baidu Online Network Technology (Beijing) Co., Ltd. Terminal holder and far-field voice interaction system
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190287521A1 (en) * 2018-03-14 2019-09-19 Baidu Online Network Technology (Beijing) Co., Ltd. Terminal holder and far-field voice interaction system
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

Similar Documents

Publication Publication Date Title
JP5016783B2 (en) Information processing apparatus and power supply control method thereof
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
CN109218785B (en) Awakening method and system for intelligent television in standby state
WO2020062670A1 (en) Method and apparatus for controlling electrical appliance, electrical appliance, and medium
TW200836052A (en) Apparatus, method and computer program for processing information
CN111246199B (en) Control method and device for camera test, terminal equipment and storage medium
CN111290926A (en) Terminal prompting method and device, storage medium and terminal
CN103841291A (en) Information processing apparatus
KR20210103415A (en) Speech chip and electronic device
CN110853644A (en) Voice wake-up method, device, equipment and storage medium
CN113672070A (en) Start-stop control method and device for transport mode and electronic equipment
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
JP2011040092A (en) Information processing device and method for controlling power unit of the same
CN113496704B (en) Far-field voice control method, terminal and computer readable storage medium
CN110764723A (en) Vehicle-mounted holographic display method and system
CN113496704A (en) Far-field voice control method, terminal and computer readable storage medium
CN106101406B (en) Shutdown alarm triggering processing method based on mobile terminal and mobile terminal
CN110943350A (en) WIFI smart jack, based on WIFI smart jack's computer watchdog system
CN113672071A (en) Operating system running method and device, storage medium and terminal
CN114138100A (en) Low-power-consumption startup and shutdown method, startup and shutdown circuit and intelligent terminal
CN106210834A (en) The method of work of touch-control system and touch-control system and there is its touch-control TV
CN113160812A (en) Speech recognition apparatus, speech recognition method, and readable storage medium
CN108376059B (en) Universal computer voice starting awakening device
CN111316525B (en) Electric quantity regulation and control method and electric quantity regulation and control system of intelligent terminal
US20130194441A1 (en) Electronic device and imaging apparatus

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