Voice control method, device, electronic device and storage medium

Through the sound recognition and matching technology, the problem of being easily interfered by the existing voice control technology is solved, and the high -precision voice control has been realized, and the user experience is improved.

CN111833883BActive Publication Date: 2025-01-28SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010871490.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-26
Publication Date
2025-01-28
Estimated Expiration
2040-08-26

AI Technical Summary

Technical Problem

The existing voice control technology is easily interfered with by ambient sounds, chat sounds, telephone sounds, etc., resulting in misidentification and misoperation, low voice control accuracy and poor user experience.

Method used

After receiving the voice information, the sound recognition is performed to determine the target sound attribute and match the preset sound attribute. If the similarity reaches the set threshold, the specific operation includes semantic identification and control operation.

Benefits of technology

A response to the voice of specific users only improves, improves the accuracy of voice control, reduces noise interference, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111833883B_ABST
    Figure CN111833883B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a voice control method, device, electronic device and storage medium, the method comprising: receiving voice information; performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information; and determining whether to respond to the voice information according to the target timbre attribute. The technical solution of the embodiment of the present invention improves the voice control accuracy and avoids the interference of environmental noise on the voice control function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of voice control technology, and in particular, to a voice control method, device, electronic device, and storage medium. Background Art

[0002] With the popularization of smart products and the continuous advancement of technology, voice control has been applied to a variety of smart products, such as mobile phones, televisions, refrigerators, and air conditioners.

[0003] While voice control brings convenience to people, it also brings some troubles. For example, it is often disturbed by ambient sound, chatting, phone calls or shouting from the street, resulting in misrecognition. Summary of the invention

[0004] The embodiments of the present invention provide a voice control method, device, electronic device and storage medium, which improve the voice control accuracy.

[0005] In a first aspect, an embodiment of the present invention provides a voice control method, the method comprising:

[0006] Receive voice messages;

[0007] Performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information;

[0008] Determine whether to respond to the voice information according to the target timbre attribute.

[0009] Furthermore, the performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information includes:

[0010] Extracting the frequency and amplitude of the audio according to the voice information;

[0011] The target timbre attribute is identified based on the frequency and amplitude.

[0012] Further, determining whether to respond to the voice information according to the target timbre attribute includes:

[0013] Determining the similarity between the target timbre attribute and the preset timbre attribute;

[0014] If the similarity reaches a set threshold, it is determined to respond to the voice information.

[0015] Further, responding to the voice information includes:

[0016] Performing semantic recognition on the voice information;

[0017] Execute corresponding control operations according to the semantic recognition results.

[0018] Furthermore, the performing of a corresponding control operation according to the semantic recognition result includes at least one of the following:

[0019] Sending the voice information to a target client;

[0020] Displaying target information corresponding to the semantic result;

[0021] Perform search tasks based on semantic recognition results.

[0022] Furthermore, the method further includes: switching the preset timbre attribute.

[0023] Further, the switching of the preset timbre attribute includes:

[0024] Determining the preset timbre attribute from at least two pre-stored candidate timbre attributes;

[0025] Different candidate timbre attributes correspond to the voices of different users.

[0026] In a second aspect, an embodiment of the present invention further provides a voice control device, the device comprising:

[0027] A receiving module, used for receiving voice information;

[0028] A timbre determination module, used for performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information;

[0029] A control module is used to determine whether to respond to the voice information according to the target timbre attribute.

[0030] Furthermore, the timbre determination module includes:

[0031] An extraction unit, used to extract the frequency and amplitude of the audio according to the voice information;

[0032] The identification unit is used to identify the target timbre attribute based on the frequency and amplitude.

[0033] Furthermore, the control module includes:

[0034] A determination unit, used to determine the similarity between the target timbre attribute and the preset timbre attribute;

[0035] A response unit is used to determine to respond to the voice information if the similarity reaches a set threshold.

[0036] Further, the response unit includes:

[0037] A semantic recognition subunit, used for performing semantic recognition on the speech information;

[0038] The control subunit is used to perform corresponding control operations according to the semantic recognition results.

[0039] Furthermore, the control operation includes at least one of the following:

[0040] Sending the voice information to a target client;

[0041] Displaying target information corresponding to the semantic result;

[0042] Perform search tasks based on semantic recognition results.

[0043] Furthermore, the device also includes: a switching module, used to switch the preset timbre attributes.

[0044] Furthermore, the switching module includes:

[0045] A determination unit, configured to determine the preset timbre attribute from at least two pre-stored candidate timbre attributes;

[0046] Different candidate timbre attributes correspond to the voices of different users.

[0047] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0048] one or more processors;

[0049] a storage device for storing one or more programs,

[0050] When the one or more programs are executed by the one or more processors, the one or more processors implement the voice control method as described in any one of the embodiments of the present invention.

[0051] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the voice control method as described in any one of the embodiments of the present invention.

[0052] The technical solution of the embodiment of the present invention, when voice information is received, performs timbre recognition based on the voice information, determines the corresponding target timbre attributes, matches the target timbre attributes with preset timbre attributes, and decides whether to respond to the voice information based on the matching results, thereby achieving the purpose of responding only to the voice of a specific user, improving the voice control accuracy, and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0054] Figure 1 A flow chart of a voice control method provided in Embodiment 1 of the present invention;

[0055] Figure 2 A flow chart of a voice control method provided in Embodiment 2 of the present invention;

[0056] Figure 3 A schematic diagram of the structure of a voice control device provided in Embodiment 3 of the present invention;

[0057] Figure 4 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0058] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0059] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0060] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0061] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0062] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0063] Embodiment 1

[0064] Figure 1 The following is a flow chart of a voice control method provided in Embodiment 1 of the present invention. The method can be applied to application scenarios based on voice control, such as voice control of the operation of smart home appliances, video chat, voice-controlled game scenarios (such as "Dou Di Zhu"), etc. The voice control method can be executed by a voice control device, which can be implemented in the form of software and / or hardware and integrated into a smart terminal, such as a smart phone, a smart TV, etc.

[0065] like Figure 1 As shown, the voice control method provided in this embodiment includes the following steps:

[0066] Step 110: Receive voice information.

[0067] The voice information specifically refers to the voice acquired by the voice collection device of the smart terminal, and the voice can be any voice of any content and any object, such as shouting from the street, conversations between unrelated people, phone calls, and voice control commands spoken by relevant users to the smart terminal, etc. The voice collection device can be, for example, a microphone.

[0068] Since the voice acquired by the voice acquisition device of the smart terminal is relatively complex, it contains a lot of interference noise in the environment. The interference noise specifically refers to the sound that is not expected by the user, which leads to the problem of misrecognition, misoperation, low voice control accuracy and poor user experience in the smart terminal. For example, user Zhang San is playing the game "Dou Dizhu" on a smart phone. The card-playing action is realized based on voice control. When the teammate plays a card for the first time, a 4 is played. Zhang San's brother, who is watching next to him, can't help but want to play a prank and directly shouts "Wang Zha". Zhang San's brother's shouting "Wang Zha" is recognized by the mobile phone and the corresponding card-playing action is executed, which is not what user Zhang San expects. Not only does it cause user Zhang San to lose the game, but it also implicates teammates. For another example, user Zhang San is video chatting with his girlfriend. After seeing it, Zhang San's mother casually mutters "The makeup is too heavy". Zhang San does not want his girlfriend to hear this sentence, but because it has been acquired by the voice acquisition device of the mobile phone, it has been sent to Zhang San's girlfriend's mobile phone and heard by Zhang San's girlfriend.

[0069] The voice control method provided in this embodiment can effectively avoid the occurrence of the above-mentioned problems. Specifically, when receiving voice information, the corresponding timbre attributes are identified first, and whether to continue to perform subsequent control operations, such as semantic recognition, information sending and other control operations, is determined based on the identified timbre attributes.

[0070] Step 120: Perform timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information.

[0071] Among them, human voice is emitted through vocal cords. The type of sound is physically determined by amplitude and frequency. The size of the sound (commonly known as volume) that people feel subjectively is determined by the "amplitude" and the distance between people and the sound source. The larger the amplitude, the louder the sound. The smaller the distance between people and the sound source, the louder the sound. Pitch refers to the height of the sound (treble, bass), which is determined by "frequency". The higher the frequency, the higher the pitch.

[0072] There is a saying that goes "You can tell a person by his voice", which refers to the timbre, also known as the sound quality. The wave generated by a vibration of an object is a complex wave. This waveform can be regarded as a superposition of sine waves of different frequencies and amplitudes. This complex wave determines the timbre of the sound. Sound has different characteristics due to the characteristics of different materials. The timbre itself is an abstract object, but the above complex waves are the intuitive expression of this abstract object. Different waveforms have different timbres. Different timbres can be distinguished by waveforms.

[0073] Exemplarily, performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information includes:

[0074] Extracting the frequency and amplitude of the audio according to the voice information;

[0075] The target timbre attribute is identified based on the frequency and amplitude.

[0076] Step 130: Determine whether to respond to the voice information according to the target timbre attribute.

[0077] Specifically, determining whether to respond to the voice information according to the target timbre attribute includes:

[0078] Determining the similarity between the target timbre attribute and the preset timbre attribute;

[0079] If the similarity reaches a set threshold, it is determined to respond to the voice information.

[0080] The preset timbre attribute is a pre-stored timbre attribute that can be set by the user. For example, the pre-stored timbre attributes include three types, corresponding to Zhang San's voice, Zhang San's mother's voice, and Zhang San's father's voice. User Zhang San can set the preset timbre attribute to correspond to his own voice. At this time, the system only responds to Zhang San's voice information, but not other voices. In the above example scenario, Zhang San will not be disturbed by others when playing the game of "Dou Dizhu"; when chatting with his girlfriend, his girlfriend will not hear what others say except himself.

[0081] User Zhang San can also set the preset timbre attributes to correspond to his own voice, his mother's voice and his father's voice respectively. At this time, the system can respond to the voices of Zhang San, his mother and his father respectively. For example, in the voice control application of smart home appliances, the system can respond to the voice information of anyone in Zhang San's family.

[0082] Furthermore, in order to improve the recognition accuracy of the timbre attribute, when pre-storing the timbre attribute template, the user can be prompted to enter the specified voice multiple times, for example, prompting the user to enter the voice of a sentence, the voice of a word, the voice when the voice is loud, the voice when the voice is soft, the voice with a fast speech speed, and the voice with a slow speech speed, etc. By prompting the user to enter the specified voice multiple times, the user's timbre characteristics can be more comprehensively extracted, and the extracted timbre characteristics are used as the preset timbre attributes. When the voice information is received in real time, the timbre corresponding to the voice information is compared with the preset timbre attribute. If the similarity between the two reaches the set threshold, it is considered that the voice is made by the same person and can be responded to.

[0083] The set threshold may also be referred to as sensitivity. If the set threshold is set higher, the sensitivity is higher, the voice control accuracy of the system is higher, and it is less likely to be disturbed by noise.

[0084] Exemplarily, the responding to the voice information includes:

[0085] Performing semantic recognition on the voice information;

[0086] Execute corresponding control operations according to the semantic recognition results. The control operations include at least one of the following:

[0087] Sending the voice information to a target client;

[0088] Displaying target information corresponding to the semantic result;

[0089] Perform search tasks based on semantic recognition results.

[0090] For example, during a video call, only voice information that matches the preset timbre attributes is sent; in a smart home control application, only voice information that matches the preset timbre attributes is responded to. For example, if Zhang San says "Please turn on the TV" by voice, it is determined through the recognition and matching of the timbre attributes that the voice information "Please turn on the TV" can be responded to, and the control operation of "turn on the TV" is executed; if Zhang San's son says "Please turn on the TV" by voice, it is determined through the recognition and matching of the timbre attributes that no response is given to the voice information "Please turn on the TV", and the control operation of "turn on the TV" is not executed, that is, Zhang San's son cannot control the TV to turn on by voice.

[0091] The technical solution of this embodiment, when receiving voice information, performs timbre recognition based on the voice information, determines the corresponding target timbre attributes, matches the target timbre attributes with preset timbre attributes, and decides whether to respond to the voice information based on the matching results, thereby achieving the purpose of responding only to the voice of a specific user, improving the voice control accuracy, and enhancing the user experience.

[0092] Embodiment 2

[0093] Figure 2 This is a flow chart of a voice control method provided in Embodiment 2 of the present invention. Based on the above embodiment, this embodiment further optimizes the solution, specifically by adding step 140 "switching the preset timbre attribute". The benefit of this optimization is that the user can flexibly set the user object that can use the voice control function according to different application scenarios.

[0094] like Figure 2 As shown, the voice control method comprises the following steps:

[0095] Step 210: Receive voice information.

[0096] Step 220: Perform timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information.

[0097] Step 230: Determine whether to respond to the voice information according to the target timbre attribute.

[0098] Step 240: Switch the preset timbre attribute.

[0099] Specifically, step 240 may occur at any time. This embodiment does not limit it to occur after step 230, and it may also occur before step 210. For example, Zhang San wants to have a video call with his girlfriend, and hopes that his girlfriend can only hear his voice and not the voices of others. Before the video call, Zhang San can switch the preset timbre attribute to his own timbre attribute. After the switch, the system only responds to Zhang San's voice, but not to other voices, which improves the voice control accuracy in specific scenarios and avoids the interference of noise on the control operation.

[0100] Exemplarily, the switching of the preset timbre attribute includes:

[0101] Determining the preset timbre attribute from at least two pre-stored candidate timbre attributes;

[0102] Different candidate timbre attributes correspond to the voices of different users.

[0103] The candidate timbre attributes are timbre attributes pre-entered into the system.

[0104] According to the technical solution of this embodiment, the user can switch and set the preset timbre attributes according to the specific voice control application scenario, so that the system only recognizes and responds to the voice of a specific person, thereby shielding the voices of other irrelevant people, thereby improving the voice control accuracy and user experience.

[0105] Embodiment 3

[0106] Figure 3 This is a structural schematic diagram of a voice control device provided in Embodiment 3 of the present invention. The device is used to execute the voice control method described in any of the above embodiments. It can be implemented in the form of software and / or hardware and integrated into smart terminals, such as smart phones, smart TVs, etc., and is suitable for application scenarios based on voice control, such as voice control of smart home appliances, video chat, voice-controlled game scenarios (such as "Dou Dizhu"), etc.

[0107] like Figure 3 As shown, the voice control device includes: a receiving module 310 , a timbre determination module 320 and a control module 330 .

[0108] Among them, the receiving module 310 is used to receive voice information; the timbre determination module 320 is used to perform timbre recognition based on the voice information to determine the target timbre attribute corresponding to the voice information; the control module 330 is used to determine whether to respond to the voice information according to the target timbre attribute.

[0109] Based on the above technical solution, the timbre determination module 320 includes:

[0110] An extraction unit, used to extract the frequency and amplitude of the audio according to the voice information;

[0111] The identification unit is used to identify the target timbre attribute based on the frequency and amplitude.

[0112] Based on the above technical solution, the control module 330 includes:

[0113] A determination unit, used to determine the similarity between the target timbre attribute and the preset timbre attribute;

[0114] A response unit is used to determine to respond to the voice information if the similarity reaches a set threshold.

[0115] On the basis of the above technical solution, the response unit includes:

[0116] A semantic recognition subunit, used for performing semantic recognition on the speech information;

[0117] The control subunit is used to perform corresponding control operations according to the semantic recognition results.

[0118] On the basis of the above technical solution, the control operation includes at least one of the following:

[0119] Sending the voice information to a target client;

[0120] Displaying target information corresponding to the semantic result;

[0121] Perform search tasks based on semantic recognition results.

[0122] On the basis of the above technical solution, the device further comprises: a switching module, which is used to switch the preset timbre attributes.

[0123] On the basis of the above technical solution, the switching module includes:

[0124] A determination unit, configured to determine the preset timbre attribute from at least two pre-stored candidate timbre attributes;

[0125] Different candidate timbre attributes correspond to the voices of different users.

[0126] The technical solution of the embodiment of the present invention, when voice information is received, performs timbre recognition based on the voice information, determines the corresponding target timbre attributes, matches the target timbre attributes with preset timbre attributes, and decides whether to respond to the voice information based on the matching results, thereby achieving the purpose of responding only to the voice of a specific user, improving the voice control accuracy, and enhancing the user experience.

[0127] The voice control device provided in the embodiment of the present invention can execute the voice control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0128] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.

[0129] Embodiment 4

[0130] Reference below Figure 4 , which shows an electronic device (eg Figure 4 The terminal device in the embodiment of the present invention may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0131] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 406 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0132] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 406 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0133] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 406, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present invention are executed.

[0134] The terminal provided in the embodiment of the present invention and the voice control method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in the embodiment of the present invention can be referred to the above embodiment, and the embodiment of the present invention has the same beneficial effects as the above embodiment.

[0135] Embodiment 5

[0136] An embodiment of the present invention provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the voice control method provided in the above embodiment is implemented.

[0137] It should be noted that the computer-readable medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0138] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0139] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0140] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0141] Receive voice messages;

[0142] Performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information;

[0143] Determine whether to respond to the voice information according to the target timbre attribute.

[0144] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0145] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] The units involved in the embodiments of the present invention may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, an editable content display unit may also be described as an "editing unit".

[0147] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0148] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0149] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the disclosure scope involved in the present invention is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) by each other.

[0150] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present invention. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0151] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A voice control method, characterized in that: include: Receive voice messages; Performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information; Determining whether to respond to the voice information according to the target timbre attribute; The step of determining whether to respond to the voice information according to the target timbre attribute includes: Matching the target timbre attribute with a preset timbre attribute, and responding only to the voice information corresponding to the target timbre attribute that matches the preset timbre attribute; Before responding to the voice information, pre-storing the timbre attribute includes: For each user, prompt the user to record a specified voice for multiple times, extract the timbre features of the user when recording the voice, and use the extracted timbre features as the preset timbre attributes of the user; The step of determining whether to respond to the voice information according to the target timbre attribute includes: Determining the similarity between the target timbre attribute and the preset timbre attribute; If the similarity reaches a set threshold, determining to respond to the voice information; The user may set the preset timbre attribute as the timbre attribute of any user, so as to respond only to the voice information of the set user.

2. The method according to claim 1, characterized in that The performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information includes: Extracting the frequency and amplitude of the audio according to the voice information; The target timbre attribute is identified based on the frequency and amplitude.

3. The method according to claim 1, characterized in that The responding to the voice information includes: Performing semantic recognition on the voice information; Execute corresponding control operations according to the semantic recognition results.

4. The method according to claim 3, characterized in that: The performing of a corresponding control operation according to the semantic recognition result includes at least one of the following: Sending the voice information to a target client; Displaying target information corresponding to the semantic recognition result; Perform search tasks based on semantic recognition results.

5. The method according to any one of claims 1 to 3, characterized in that: Also includes: Switch the preset timbre attribute.

6. The method according to claim 5, characterized in that The switching of the preset timbre attribute comprises: Determining the preset timbre attribute from at least two pre-stored candidate timbre attributes; Different candidate timbre attributes correspond to the voices of different users.

7. A voice control device, characterized in that: include: A receiving module, used for receiving voice information; A timbre determination module, used for performing timbre recognition based on the voice information to determine a target timbre attribute corresponding to the voice information; A control module, used for determining whether to respond to the voice information according to the target timbre attribute; The control module is further used to match the target timbre attribute with a preset timbre attribute, and respond only to the voice information corresponding to the target timbre attribute that matches the preset timbre attribute; A timbre attribute acquisition module is used to prompt each user to record a specified voice for multiple times, extract the timbre features of the user when recording the voice, and use the extracted timbre features as the preset timbre attributes of the user; The control module comprises: A determination unit, used to determine the similarity between the target timbre attribute and the preset timbre attribute; A response unit, configured to determine to respond to the voice information if the similarity reaches a set threshold; The user may set the preset timbre attribute as the timbre attribute of any user, so as to respond only to the voice information of the set user.

8. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the voice control method as described in any one of claims 1 to 6.

9. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to perform the voice control method according to any one of claims 1 to 6 when executed by a computer processor.

Citation Information

Patent Citations

  • Voice control method and device, storage medium and air conditioner

    CN111312232A