CN112435665A - Voice control method and device, terminal equipment and computer readable storage medium - Google Patents

Voice control method and device, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN112435665A
CN112435665A CN202011326408.XA CN202011326408A CN112435665A CN 112435665 A CN112435665 A CN 112435665A CN 202011326408 A CN202011326408 A CN 202011326408A CN 112435665 A CN112435665 A CN 112435665A
Authority
CN
China
Prior art keywords
control
voice
instruction
controlling
determining
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.)
Pending
Application number
CN202011326408.XA
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011326408.XA priority Critical patent/CN112435665A/en
Publication of CN112435665A publication Critical patent/CN112435665A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/2849Audio/video appliances

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The application discloses a voice control method, a voice control device, terminal equipment and a computer readable storage medium, wherein the method comprises the following steps: responding to a starting instruction of a user, receiving user voice of the user based on the starting instruction, and determining corresponding control parameters and thread identifications based on the user voice; determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter; and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the intelligent television to broadcast the prompt voice. According to the method and the device, the smart television can be controlled to finish corresponding operation without manual touch control or remote controller control, corresponding prompt information is broadcasted, and the intelligence of controlling the smart television is improved.

Description

Voice control method and device, terminal equipment and computer readable storage medium
Technical Field
The present application relates to the field of speech processing technologies, and in particular, to a method and an apparatus for controlling speech, a terminal device, and a computer-readable storage medium.
Background
At present, with the rapid development of the technology of the smart television, the smart television is more and more widely applied, and users are more and more accustomed to listening to news, watching movies, television programs and the like through the smart television.
The user needs to listen to news, watch movies, television programs and the like through the smart television, and needs to control the smart television through manual touch control or a remote controller. In some situations, the user cannot control the smart television through manual touch control or a remote controller, so that corresponding operation cannot be realized. Therefore, in this scenario, the user can control the smart television to implement corresponding operations through voice. For example, in a cooking scene, the two hands of the user are occupied and cannot be controlled through touch control, or the remote controller controls the smart television, and the user can control the smart television through voice to realize corresponding operation.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The application mainly aims to provide a voice control method, a voice control device, terminal equipment and a computer readable storage medium, and aims to improve the intelligence of controlling a smart television.
In order to achieve the above object, an embodiment of the present application provides a voice control method, where the voice control method is applied to a projection apparatus, and the voice control method includes:
responding to a starting instruction of a user, receiving user voice of the user based on the starting instruction, and determining corresponding control parameters and thread identifications based on the user voice;
determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter;
and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the smart television to broadcast the prompt voice.
Optionally, the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute a corresponding operation based on the function control instruction and the control parameter includes:
if the function control instruction corresponding to the thread identifier is an application control instruction, determining the corresponding application to be operated and the operation instruction in the control parameters;
and controlling the application to be operated to execute corresponding operation based on the operation instruction, and controlling the smart television to switch the current interface to the interface after the operation instruction is executed.
Optionally, the step of controlling the application to be operated to execute the corresponding operation based on the operation instruction includes:
if the operation instruction is an application starting instruction, detecting whether a function name corresponding to the application to be operated exists in the control parameter;
if the control parameter is detected to have a function name corresponding to the application to be operated, starting a function corresponding to the function name in the application to be operated; or,
and if the control parameter is detected to have no function name corresponding to the application to be operated, starting the application to be operated.
Optionally, the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute a corresponding operation based on the function control instruction and the control parameter includes:
if the function control instruction corresponding to the thread identifier is a channel control instruction, determining the system time in the control parameter, and detecting whether the system time is within a preset time;
and if the system time is detected to be within the preset time, acquiring preset channel information corresponding to the preset time, and controlling the intelligent television to display the preset channel information.
Optionally, the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute a corresponding operation based on the function control instruction and the control parameter includes:
if the function control instruction corresponding to the thread identifier is a remote controller simulation control instruction, determining a remote control command in the control parameter;
and determining a corresponding target switching interface based on the remote control command, and controlling the smart television to switch the current interface to the target switching interface.
Optionally, the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute a corresponding operation based on the function control instruction and the control parameter includes:
and if the function control instruction corresponding to the thread identifier is a volume control instruction, determining a target volume value in the control parameters, and controlling the intelligent television to adjust the current volume value to the target volume value.
Optionally, the step of determining the corresponding control parameter and thread identifier based on the user voice includes:
converting the user voice into corresponding description characters, and analyzing the description characters according to character features to obtain control parameters and first keywords in the user voice;
matching the first keyword with preset keywords in a database, determining a second keyword matched with the first keyword, and determining a target thread identifier corresponding to the second keyword;
and determining the target thread identification as the thread identification corresponding to the user voice.
The embodiment of the present application further provides a voice control device, where the voice control device includes:
the receiving module is used for responding to a starting instruction of a user and receiving user voice of the user based on the starting instruction;
the determining module is used for determining corresponding control parameters and thread identifications based on the user voice;
the determining module is further used for determining a corresponding function control instruction based on the thread identifier;
the control module is used for controlling the intelligent television to execute corresponding operation based on the function control instruction and the control parameter;
the control module is further used for generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the smart television to broadcast the prompt voice.
The embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a voice control program stored in the memory and running on the processor, and the voice control program, when executed by the processor, implements the steps of the voice control method described above.
The embodiment of the present application further provides a computer-readable storage medium, where a voice control program is stored on the computer-readable storage medium, and when the voice control program is executed by a processor, the steps of the voice control method are implemented as described above.
According to the voice control method, the voice control device, the terminal equipment and the computer readable storage medium, the user voice of the user is received on the basis of the starting instruction by responding to the starting instruction of the user, and the corresponding control parameter and the corresponding thread identifier are determined on the basis of the user voice; determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter; and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the intelligent television to broadcast the prompt voice. Therefore, in the process of voice control, the corresponding control parameters and the corresponding thread identifications are determined according to the received user voice, the corresponding function control instructions are determined according to the thread identifications, the intelligent television is controlled to execute the corresponding operation according to the function control instructions and the control parameters, the corresponding operation can be controlled to be executed by the intelligent television without manual touch control or remote controller control, the corresponding operation is executed, the corresponding prompt information is broadcasted after the execution of the corresponding operation is completed, and the intelligence of controlling the intelligent television is improved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an implementation of the voice control method of the present application;
FIG. 3 is a flowchart illustrating a first embodiment of a speech control method of the present application;
FIG. 4 is a block diagram of a control method for speech applications;
FIG. 5 is a flow chart illustrating another embodiment of a speech control method of the present application;
FIG. 6 is a flow chart illustrating another embodiment of a speech control method of the present application;
fig. 7 is a functional block diagram of a control device for a main application voice.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: receiving user voice of a user based on a starting instruction by responding to the starting instruction of the user, and determining corresponding control parameters and thread identifications based on the user voice; determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter; and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the intelligent television to broadcast the prompt voice. Therefore, in the process of voice control, the corresponding control parameters and the corresponding thread identifications are determined according to the received user voice, the corresponding function control instructions are determined according to the thread identifications, the intelligent television is controlled to execute the corresponding operation according to the function control instructions and the control parameters, the corresponding operation can be controlled to be executed by the intelligent television without manual touch control or remote controller control, the corresponding operation is executed, the corresponding prompt information is broadcasted after the execution of the corresponding operation is completed, and the intelligence of controlling the intelligent television is improved.
Specifically, referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present application.
The terminal device of the embodiment of the application can be an intelligent mobile terminal with a data processing function, such as a mobile phone and a tablet personal computer, and can also be a fixed terminal device with a data processing function or an intelligent television.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU (Central Processing Unit), a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. A communication bus 1002 is used to enable connection communications between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a keyboard (board), and the user interface 1003 may optionally include a standard wired interface (e.g., a USB (Universal Serial Bus) interface), and a wireless interface (e.g., a bluetooth interface). The network interface 1004 may include a standard wired interface, a Wireless interface (e.g., a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001. Optionally, the terminal device may further include an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating device, a network communication module, a user interface module, and a control program of voice. The operation device is a program for managing and controlling hardware and software resources of the terminal device, a control program for supporting voice, and operation of other software or programs.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client and performing data communication with the client; among other things, the processor 1001 may be configured to call a control program of a voice stored in the memory 1005, and perform the following operations:
responding to a starting instruction of a user, receiving user voice of the user based on the starting instruction, and determining corresponding control parameters and thread identifications based on the user voice;
determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter;
and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the smart television to broadcast the prompt voice.
Further, the processor 1001 may call the control program of the voice stored in the memory 1005, and also perform the following operations:
if the function control instruction corresponding to the thread identifier is an application control instruction, determining the corresponding application to be operated and the operation instruction in the control parameters;
and controlling the application to be operated to execute corresponding operation based on the operation instruction, and controlling the smart television to switch the current interface to the interface after the operation instruction is executed.
Further, the processor 1001 may call the control program of the voice stored in the memory 1005, and also perform the following operations:
if the operation instruction is an application starting instruction, detecting whether a function name corresponding to the application to be operated exists in the control parameter;
if the control parameter is detected to have a function name corresponding to the application to be operated, starting a function corresponding to the function name in the application to be operated; or,
and if the control parameter is detected to have no function name corresponding to the application to be operated, starting the application to be operated.
Further, the processor 1001 may call the control program of the voice stored in the memory 1005, and also perform the following operations:
if the function control instruction corresponding to the thread identifier is a channel control instruction, determining the system time in the control parameter, and detecting whether the system time is within a preset time;
and if the system time is detected to be within the preset time, acquiring preset channel information corresponding to the preset time, and controlling the intelligent television to display the preset channel information.
Further, the processor 1001 may call the control program of the voice stored in the memory 1005, and also perform the following operations:
if the function control instruction corresponding to the thread identifier is a remote controller simulation control instruction, determining a remote control command in the control parameter;
and determining a corresponding target switching interface based on the remote control command, and controlling the smart television to switch the current interface to the target switching interface.
Further, the processor 1001 may call the control program of the voice stored in the memory 1005, and also perform the following operations:
and if the function control instruction corresponding to the thread identifier is a volume control instruction, determining a target volume value in the control parameters, and controlling the intelligent television to adjust the current volume value to the target volume value.
Further, the processor 1001 may call the control program of the voice stored in the memory 1005, and also perform the following operations:
converting the user voice into corresponding description characters, and analyzing the description characters according to character features to obtain control parameters and first keywords in the user voice;
matching the first keyword with preset keywords in a database, determining a second keyword matched with the first keyword, and determining a target thread identifier corresponding to the second keyword;
and determining the target thread identification as the thread identification corresponding to the user voice.
The method comprises the steps of responding to a starting instruction of a user, receiving user voice of the user based on the starting instruction, and determining corresponding control parameters and thread identification based on the user voice; determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter; and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the intelligent television to broadcast the prompt voice. Therefore, in the process of voice control, the corresponding control parameters and the corresponding thread identifications are determined according to the received user voice, the corresponding function control instructions are determined according to the thread identifications, the intelligent television is controlled to execute the corresponding operation according to the function control instructions and the control parameters, the corresponding operation can be controlled to be executed by the intelligent television without manual touch control or remote controller control, the corresponding operation is executed, the corresponding prompt information is broadcasted after the execution of the corresponding operation is completed, and the intelligence of controlling the intelligent television is improved.
Based on the above terminal device architecture but not limited to the above architecture, the present application provides an embodiment of a voice control method, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that in this case.
The execution main body of the method in the embodiment of the present application may be a voice control device, or may also be an intelligent television, and the embodiment takes the intelligent television as the execution main body for example.
Referring to fig. 2, fig. 2 is a schematic diagram of an implementation of the voice control method of the present application, and a participant (user) may perform voice interaction with a smart television through voice. A participant controls a television channel, a volume, a remote controller simulation control and an application of the smart television through voice, wherein the application control comprises starting a corresponding application or starting a certain function corresponding to the application.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of the speech control method of the present application. The voice control method comprises the following steps:
step S10, responding to a start instruction of a user, receiving a user voice of the user based on the start instruction, and determining a corresponding control parameter and a corresponding thread identifier based on the user voice.
It should be noted that before responding to a start instruction of a user, the smart television needs to create a corresponding function control thread in the smart television, where the thread is a scheduling unit executing a corresponding operation, starts corresponding function control through the thread, binds the corresponding thread with a thread identifier corresponding to the thread, and stores the thread identifier in the smart television. Threads include, but are not limited to, volume control threads, channel control threads, and application control threads. The smart television can be started by calling the smart television continuously for the preset number of times, wherein the preset number of times is set according to requirements, and the embodiment is not limited.
And after the intelligent television detects a starting instruction of the user, responding to the starting instruction of the user and receiving the voice of the user through a microphone device in the intelligent television. After receiving the user voice, the smart television converts the user voice into corresponding description words, and then analyzes the description words to obtain keywords and control parameters in the description words, wherein the control parameters include but are not limited to volume adjustment, interface switching and application names of applications to be operated. And then, the smart television compares and matches the keywords with preset keywords in the smart television, and determines the preset keywords matched with the keywords in the smart television, wherein the preset keywords are keywords bound by the developer according to the thread type. And finally, the intelligent television determines the thread identification corresponding to the preset keyword, and determines the thread identification as the thread identification corresponding to the user voice.
In this embodiment, for example, the thread identifier corresponding to the volume control thread is 00x1, the corresponding keyword is "volume, sound, tone, and speaker, etc.", the thread identifier corresponding to the channel control thread is 00x2, and the corresponding keyword is "channel, program, drama, and anaglyph, etc. The user voice is "turn the volume to 60%", and the smart television determines that the thread corresponding to the user voice is identified as 00x 1.
And step S20, determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute a corresponding operation based on the function control instruction and the control parameter.
After the intelligent television determines the thread identification corresponding to the user voice, the function control thread corresponding to the thread identification is matched in the intelligent television, and the function control instruction corresponding to the user voice is determined. And then, the intelligent television determines the control parameters in the user voice, and controls the intelligent television to execute the execution operation corresponding to the function control instruction according to the control parameters.
In this embodiment, for example, the current volume value of the smart television is "75%", the keywords corresponding to the volume control thread are "volume, sound, tone, loudspeaker, and the like", and the keywords corresponding to the channel control thread are "channel, program, drama, art and the like". The voice of the user is 'the volume is adjusted to be 60%', the smart television determines that the keyword corresponding to the voice of the user is 'the volume', determines that the corresponding function control instruction is a volume control instruction according to the keyword 'the volume', the control parameter is '60%', and adjusts the current volume value '75%' to be '60%'.
And step S30, generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the smart television to broadcast the prompt voice.
After the intelligent television determines that the corresponding execution operation is completed, the corresponding execution result is determined according to the corresponding execution operation, the execution result is converted into the corresponding prompt voice, and then the voice broadcasting module of the intelligent television is controlled to broadcast the prompt voice. Note that the prompt voice is a natural semantic set by the developer.
In this embodiment, for example, after the smart tv adjusts the current volume value of "75%" to "60%", the smart tv will report a prompt that the user is good and the volume has been adjusted to 60% ".
Further, the step S10 includes:
step S101, converting the user voice into corresponding description characters, and analyzing the description characters according to character characteristics to obtain control parameters and first keywords in the user voice;
step S102, matching the first keyword with a preset keyword in a database, determining a second keyword matched with the first keyword, and determining a target thread identifier corresponding to the second keyword;
step S103, determining the target thread identification as the thread identification corresponding to the user voice.
Specifically, after receiving the user voice, the smart television converts the user voice into corresponding description words, and then splits the description words according to the character characteristics of the main characters, the predicate characters, the object characters, the fixed characters, the shape characters and the supplement characters to obtain key words and control parameters in the description words. And then, the intelligent television compares and matches the keywords with preset keywords in the intelligent television, and determines target preset keywords matched with the keywords in the preset keywords of the intelligent television. And finally, the intelligent television determines the thread identification corresponding to the target preset keyword, and determines the thread identification as the thread identification corresponding to the user voice.
Further, the step S20 includes:
step S201, if the function control instruction corresponding to the thread identifier is a volume control instruction, determining a target volume value in the control parameter, and controlling the smart television to adjust the current volume value to the target volume value.
Specifically, if the smart television determines that the function control instruction corresponding to the thread identifier of the user voice is a volume control instruction, the smart television determines a current volume value of a volume system in the smart television, then determines a target volume value in the control parameters, detects whether the current volume value is equal to the target volume value, and if the smart television detects that the current volume value is equal to the target volume value, the smart television broadcasts the corresponding voice. If the intelligent television detects that the current volume value is not equal to the target volume value, the intelligent television adjusts the current volume value to the target volume value and broadcasts corresponding prompt voice.
Further, the step S20 further includes:
step S202, if the function control instruction corresponding to the thread identifier is a remote controller simulation control instruction, determining a remote control command in the control parameter;
step S203, determining a corresponding target switching interface based on the remote control command, and controlling the smart television to switch the current interface to the target switching interface.
Specifically, if the smart television determines that the function control instruction corresponding to the thread identifier of the user voice is an analog remote controller control instruction, the smart television acquires a channel list and a current playing channel of a current interface, and determines the position of the current playing channel in the channel list. Then, the smart television analyzes the remote control command in the control parameters, determines a target playing channel corresponding to the remote control command according to the position of the current playing channel in the channel list, acquires a target switching interface corresponding to the target playing channel, and finally switches the current interface to the target switching interface.
In this embodiment, the playlist includes a first channel, a second channel, a third channel, a fourth channel, and the like, the currently played channel of the smart television is "the second channel", the user voice is "i want to switch to the next channel", the smart television acquires "the third channel" from the channel list, and switches "the second channel" to "the third channel".
Further, as shown in fig. 4, fig. 4 is a schematic diagram of an implementation framework of the speech control method of the present application. In this embodiment, the background service of the smart television is connected and communicated with the NPAPI plug-in, and sends the control instruction of the analog remote controller to the NPAPI plug-in through the IPC, and after receiving the control instruction of the analog remote controller, the NPAPI plug-in calls back the cross sui, and switches the "second channel" to the "third channel" through the cross sui.
The embodiment receives user voice of a user based on a starting instruction by responding to the starting instruction of the user, and determines corresponding control parameters and thread identifications based on the user voice; determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter; and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the intelligent television to broadcast the prompt voice. Therefore, in the process of voice control, the corresponding control parameters and the corresponding thread identifications are determined according to the received user voice, the corresponding function control instructions are determined according to the thread identifications, the intelligent television is controlled to execute the corresponding operation according to the function control instructions and the control parameters, the corresponding operation can be controlled to be executed by the intelligent television without manual touch control or remote controller control, the corresponding operation is executed, the corresponding prompt information is broadcasted after the execution of the corresponding operation is completed, and the intelligence of controlling the intelligent television is improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating another embodiment of the speech control method of the present application. In this embodiment, the step S20 further includes:
step S204, if the function control instruction corresponding to the thread identifier is an application control instruction, determining the corresponding application to be operated and the operation instruction in the control parameter;
step S205, controlling the application to be operated to execute corresponding operation based on the operation instruction, and controlling the smart television to switch the current interface to the interface after the operation instruction is executed.
Specifically, if the smart television determines that the function control instruction corresponding to the thread identifier of the user voice is an application control instruction, the smart television determines an application name of an application to be operated corresponding to the control parameter and an operation instruction in the control parameter, then obtains the application to be operated in the smart television according to the application name, detects the current state of the application to be operated, and if the smart television detects that the current state of the application to be operated is an un-started state, the operation instruction is "start application", and the smart television starts the application to be operated. If the smart television detects that the current state of the application to be operated is the starting state, the operation instruction is 'application closing', and the smart television closes the application to be operated. And after the intelligent television executes the corresponding operation, switching the current interface to the interface after the operation instruction is executed.
In this embodiment, for example, the current interface of the smart television is a system home page interface, the user voice is "open TCL television software", and the system home page interface of the smart television is the home page interface of the "TCL television software".
Further, as shown in fig. 4, fig. 4 is a schematic diagram of an implementation framework of the speech control method of the present application. In this embodiment, the application is an H5(HTML5) web application, the background service of the smart television is connected and communicated with the NPAPI plug-in, the application control instruction is sent to the NPAPI plug-in through IPC, after receiving the application control instruction, the NPAPI plug-in calls back the global JavaScript in the browser, and then the H5 web application is started through the global JavaScript, or a function corresponding to the H5 web application.
Further, the step S205 includes:
step S2051, if the operation instruction is an application starting instruction, detecting whether a function name corresponding to the application to be operated exists in the control parameter;
step S2052, if the control parameter is detected to have the function name corresponding to the application to be operated, starting a function corresponding to the function name in the application to be operated; or,
step S2053, if it is detected that the function name corresponding to the application to be operated does not exist in the control parameter, starting the application to be operated.
Specifically, if the smart television detects that the current state of the application to be operated is an un-started state, the operation instruction is "start application", the smart television detects whether a function name corresponding to the application to be operated exists in the control parameter, if the smart television detects that the function name corresponding to the application to be operated exists in the control parameter, the smart television starts the application to be operated first and then starts a function corresponding to the function name, and if the smart television detects that the current state of the application to be operated is a started state, the smart television directly starts the function corresponding to the function name. And if the intelligent television detects that the function name corresponding to the application to be operated does not exist in the control parameters, the intelligent television directly starts the application to be operated. Similarly, the same is true for the method of closing the application to be operated.
In this embodiment, if the function control instruction corresponding to the thread identifier is an application control instruction, the corresponding application to be operated and the operation instruction in the control parameter are determined; and controlling the application to be operated to execute corresponding operation based on the operation instruction, and controlling the smart television to switch the current interface to the interface after the operation instruction is executed. According to the embodiment, the corresponding operation of the application to be operated is directly executed through the voice of the user, manual touch control is not needed, or the remote controller is used for controlling, and the intelligence of controlling the smart television is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart of another embodiment of the speech control method of the present application, in this embodiment, step S20 further includes:
step S206, if the function control instruction corresponding to the thread identifier is a channel control instruction, determining the system time in the control parameter, and detecting whether the system time is within a preset time;
step S207, if it is detected that the system time is within the preset time, acquiring preset channel information corresponding to the preset time, and controlling the smart television to display the preset channel information.
Specifically, if the smart television determines that the function control instruction corresponding to the thread identifier of the user voice is a channel control instruction, the smart television determines the system time in the control parameter and detects whether the system time is within a preset time, where the preset time is set according to a user requirement, in this embodiment, the preset time is defaulted to "8: 00 to 18: 00", that is, defined as the daytime time, and the corresponding "18: 01 to 23: 59" is defined as the nighttime. If the smart television detects that the system time is within the preset time, namely within the defined daytime time, the preset channel information corresponding to the preset time is obtained, then the corresponding weight value is determined according to the playing time and the playing times of each channel in the preset channel information, the channel information is sorted according to the weight value, and the sorted preset channel information is displayed on a display screen of the smart television. Similarly, if the smart television detects that the system time is outside the preset time, namely within the night time, the smart television performs the same execution operation.
In this embodiment, for example, the preset channel information corresponding to the preset time is "news, movies, and dramas", the number of times of playing the news is 3, the number of times of playing the movies is 7, the number of times of playing the dramas is 5, the preset time is "8: 00 to 18: 00", the smart television detects that the system time in the control parameters is "14: 08", and the smart television sequentially arranges the movies, the dramas, and the news in the display screen of the smart television.
In this embodiment, if the function control instruction corresponding to the thread identifier is a channel control instruction, determining a system time in the control parameter, and detecting whether the system time is within a preset time; and if the system time is detected to be within the preset time, acquiring preset channel information corresponding to the preset time, and controlling the smart television to display the preset channel information. According to the embodiment, the corresponding operation is directly executed on the channel through the voice of the user, manual touch control is not needed, or the control of a remote controller is not needed, and the intelligence of controlling the smart television is improved.
The application also provides a voice control device. Referring to fig. 7, fig. 7 is a schematic diagram of a voice control device according to the present application, where the voice control device includes:
a receiving module 10, configured to respond to a start instruction of a user, and receive a user voice of the user based on the start instruction;
a determining module 20, configured to determine corresponding control parameters and thread identifiers based on the user speech;
the determining module 20 is further configured to determine a corresponding function control instruction based on the thread identifier;
the control module 30 is used for controlling the smart television to execute corresponding operations based on the function control instruction and the control parameters;
the control module 30 is further configured to generate a corresponding prompt voice based on the execution result corresponding to the operation, and control the smart television to broadcast the prompt voice.
The function implementation of each module in the voice control apparatus corresponds to each step in the voice control method embodiment, and the function and implementation process thereof are not described in detail herein.
The present invention also provides a computer-readable storage medium having stored thereon a control program for speech, which when executed by a processor implements the steps of the control method for speech according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the voice control method described above, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation manner in many cases. Based on such understanding, the technical solution of the present application may be essentially or partially embodied in the form of software cargo, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal device to complete the method according to the embodiments of the present application.

Claims (10)

1. A voice control method, comprising:
responding to a starting instruction of a user, receiving user voice of the user based on the starting instruction, and determining corresponding control parameters and thread identifications based on the user voice;
determining a corresponding function control instruction based on the thread identifier, and controlling the smart television to execute corresponding operation based on the function control instruction and the control parameter;
and generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the smart television to broadcast the prompt voice.
2. The method for controlling speech according to claim 1, wherein the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart tv to perform a corresponding operation based on the function control instruction and the control parameter comprises:
if the function control instruction corresponding to the thread identifier is an application control instruction, determining the corresponding application to be operated and the operation instruction in the control parameters;
and controlling the application to be operated to execute corresponding operation based on the operation instruction, and controlling the smart television to switch the current interface to the interface after the operation instruction is executed.
3. The voice control method according to claim 2, wherein the step of controlling the application to be operated to perform the corresponding operation based on the operation instruction comprises:
if the operation instruction is an application starting instruction, detecting whether a function name corresponding to the application to be operated exists in the control parameter;
if the control parameter is detected to have a function name corresponding to the application to be operated, starting a function corresponding to the function name in the application to be operated; or,
and if the control parameter is detected to have no function name corresponding to the application to be operated, starting the application to be operated.
4. The method for controlling speech according to claim 1, wherein the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart tv to perform a corresponding operation based on the function control instruction and the control parameter comprises:
if the function control instruction corresponding to the thread identifier is a channel control instruction, determining the system time in the control parameter, and detecting whether the system time is within a preset time;
and if the system time is detected to be within the preset time, acquiring preset channel information corresponding to the preset time, and controlling the intelligent television to display the preset channel information.
5. The method for controlling speech according to claim 1, wherein the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart tv to perform a corresponding operation based on the function control instruction and the control parameter comprises:
if the function control instruction corresponding to the thread identifier is a remote controller simulation control instruction, determining a remote control command in the control parameter;
and determining a corresponding target switching interface based on the remote control command, and controlling the smart television to switch the current interface to the target switching interface.
6. The method for controlling speech according to claim 1, wherein the step of determining a corresponding function control instruction based on the thread identifier, and controlling the smart tv to perform a corresponding operation based on the function control instruction and the control parameter comprises:
and if the function control instruction corresponding to the thread identifier is a volume control instruction, determining a target volume value in the control parameters, and controlling the intelligent television to adjust the current volume value to the target volume value.
7. The method of controlling speech according to any one of claims 1 to 6, wherein the step of determining the corresponding control parameter and thread identification based on the user speech comprises:
converting the user voice into corresponding description characters, and analyzing the description characters according to character features to obtain control parameters and first keywords in the user voice;
matching the first keyword with preset keywords in a database, determining a second keyword matched with the first keyword, and determining a target thread identifier corresponding to the second keyword;
and determining the target thread identification as the thread identification corresponding to the user voice.
8. A voice control apparatus, comprising:
the receiving module is used for responding to a starting instruction of a user and receiving user voice of the user based on the starting instruction;
the determining module is used for determining corresponding control parameters and thread identifications based on the user voice;
the determining module is further used for determining a corresponding function control instruction based on the thread identifier;
the control module is used for controlling the intelligent television to execute corresponding operation based on the function control instruction and the control parameter;
the control module is further used for generating corresponding prompt voice based on the execution result corresponding to the operation, and controlling the smart television to broadcast the prompt voice.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a voice control program stored on the memory and running on the processor, the voice control program, when executed by the processor, implementing the steps of the voice control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program of voice, which when executed by a processor implements the steps of the control method of voice according to any one of claims 1 to 8.
CN202011326408.XA 2020-11-23 2020-11-23 Voice control method and device, terminal equipment and computer readable storage medium Pending CN112435665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011326408.XA CN112435665A (en) 2020-11-23 2020-11-23 Voice control method and device, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011326408.XA CN112435665A (en) 2020-11-23 2020-11-23 Voice control method and device, terminal equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112435665A true CN112435665A (en) 2021-03-02

Family

ID=74693871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011326408.XA Pending CN112435665A (en) 2020-11-23 2020-11-23 Voice control method and device, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112435665A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238501A (en) * 2021-05-08 2021-08-10 西安联乘智能科技有限公司 Vehicle networking control method and system based on RTOS operating system
CN113490041A (en) * 2021-06-30 2021-10-08 Vidaa美国公司 Voice function switching method and display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238501A (en) * 2021-05-08 2021-08-10 西安联乘智能科技有限公司 Vehicle networking control method and system based on RTOS operating system
CN113490041A (en) * 2021-06-30 2021-10-08 Vidaa美国公司 Voice function switching method and display device

Similar Documents

Publication Publication Date Title
CN108040264B (en) Sound box voice control method and equipment for television program channel selection
US20140123185A1 (en) Broadcast receiving apparatus, server and control methods thereof
CN106713467A (en) Terminal control method and device based on cloud server
CN106101789A (en) The voice interactive method of terminal and device
US9241183B2 (en) Information processing apparatus, information processing method, program, and application information table transmitting apparatus
CN112435665A (en) Voice control method and device, terminal equipment and computer readable storage medium
KR20150054490A (en) Voice recognition system, voice recognition server and control method of display apparatus
CN105392035A (en) System and method for switching programs of intelligent television
CN108777808B (en) Text-to-speech method based on display terminal, display terminal and storage medium
US11265621B2 (en) Video push method, device and computer-readable storage medium
CN109743618B (en) Music playing method, terminal and computer readable storage medium
CN105141998A (en) Smart television voice remote controller control method and system based on DLNA (Digital Living Network Alliance)
WO2018149242A1 (en) Voice broadcasting method and apparatus
CN103581725A (en) Method for controlling smart TV terminal through mobile terminal and relevant terminals
CN109325180B (en) Article abstract pushing method and device, terminal equipment, server and storage medium
CN109275005A (en) Combined key remote control method, device, equipment and storage medium
CN111131897B (en) Television BGM updating method and device and computer readable storage medium
CN106686442A (en) Method and device for searching for television program
CN111063348B (en) Information processing method, device and equipment and computer storage medium
CN110531632B (en) Control method and system
CN103269445A (en) Smart television system and control method thereof
CN107493518B (en) IPTV terminal network outlet switching method, device and readable storage medium
CN107704172B (en) Multimedia application switching control method, system and storage device
CN109408164B (en) Method, device and equipment for controlling screen display content and readable storage medium
CN112004154A (en) Recording method and system of intelligent terminal and 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