Intelligent equipment control method based on voiceprint recognition, storage medium and electronic device
By analyzing user voice commands using voiceprint recognition technology, the system can identify the user and control smart devices, solving the problem that existing smart home devices cannot recognize individual user differences and immediate needs, thus enabling personalized control and simplified operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2026-03-27
AI Technical Summary
Existing smart home devices cannot distinguish the personalized needs of different family members, nor can they take into account individual differences and immediate needs of users, resulting in a poor user experience.
By using voiceprint recognition technology, the system analyzes the user's voice commands, determines the matching degree between the user's voiceprint information and the pre-stored voiceprint information, and controls the corresponding smart devices based on the matching degree to enable the issuance of specific user commands and scenarios.
It simplifies the operation process, improves the personalized service capabilities of the smart home system, and enhances the user experience, especially the intelligent recommendations for non-registered users, which enhances the user experience for visitors.
Smart Images

Figure CN121747580A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology, and more specifically, to a smart device control method, storage medium, and electronic device based on voiceprint recognition. Background Technology
[0002] Smart home systems commonly employ voice control to enhance user experience. This is achieved through the application of voice recognition and AI technologies, bringing users a more convenient and intelligent living experience. Voice recognition technology plays a crucial role in smart homes, allowing users to control various devices in their homes through natural voice commands, greatly improving the user experience.
[0003] Through voice recognition technology, smart home systems can support various functions such as remote control, timed control, and scene control. This includes using voice recognition to understand commands and leveraging intelligent algorithms to control devices based on users' historical operating habits, making home life more convenient, comfortable, and safe.
[0004] In existing technologies, smart home devices typically use uniform default settings or make recommendations based solely on historical data from all users. However, these systems usually lack user identification capabilities, fail to differentiate the personalized needs of different family members, and cannot consider individual user differences and immediate needs, resulting in a poor user experience. Furthermore, users often need to perform multiple settings to achieve the ideal environment, increasing operational complexity and reducing user satisfaction. Summary of the Invention
[0005] This application provides a method, apparatus, device, and computer storage medium for controlling smart devices based on voiceprint recognition, in order to solve the problem that existing technologies do not include user identification functions, cannot distinguish the personalized needs of different family members, and cannot consider individual user differences and immediate needs, resulting in a poor user experience.
[0006] In a first aspect, this application provides a smart device control method based on voiceprint recognition, the method comprising:
[0007] The acquired voice commands are parsed to determine the user's voiceprint information and command information corresponding to the voice commands;
[0008] Determine the matching degree between the user's voiceprint information and multiple pre-stored voiceprint information;
[0009] If the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree, one or more pre-stored control commands corresponding to the user's voiceprint information are determined.
[0010] If it is determined that the instruction information matches any one of the one or more pre-stored control instructions, one or more target smart devices corresponding to the instruction information are determined.
[0011] Control the one or more target smart devices based on the instruction information and the corresponding pre-stored control instructions;
[0012] Optionally, before receiving the user's voice command information, the method further includes:
[0013] Receive a user's input request, which includes: user identifier and voice information;
[0014] Based on the voice information, determine the voiceprint information corresponding to the user identifier;
[0015] Store the user identifier and the voiceprint information, and identify the user as the registered user;
[0016] Optionally, after determining that the user is the user who entered the information, the method further includes:
[0017] Receive at least one pre-stored control command sent by the user, and determine at least one smart device corresponding to the pre-stored control command;
[0018] Each pre-stored control instruction is analyzed and processed to determine the operating parameters of each smart device corresponding to each pre-stored control instruction;
[0019] Establish a pre-stored instruction set corresponding to the user who entered the information, and store the pre-stored control instructions and the corresponding smart device's operating parameters into the pre-stored instruction set;
[0020] Optionally, when the matching degree between the user's voiceprint information and any one of the plurality of pre-stored voiceprint information reaches a preset matching degree, determining one or more pre-stored control commands corresponding to the user's voiceprint information includes:
[0021] If the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree, the user corresponding to the voiceprint information to be identified is determined to be the user to be entered.
[0022] Determine the set of pre-stored instructions corresponding to the user being entered, and determine one or more pre-stored control instructions corresponding to the user's voiceprint information from the set of pre-stored instructions;
[0023] Optionally, determining one or more target smart devices corresponding to the instruction information when it is determined that the instruction information matches any one of the one or more pre-stored control instructions includes:
[0024] Determine whether there is a pre-stored control instruction that matches the instruction information in the pre-stored instruction set corresponding to the user who entered the information;
[0025] If present, determine one or more target smart devices corresponding to the instruction information based on pre-stored control instructions that match the instruction information;
[0026] Optionally, the method further includes:
[0027] If there is no pre-stored control instruction matching the instruction information in the pre-stored instruction set corresponding to the user, the instruction information is analyzed and processed to determine whether the instruction information contains the device identifier of one or more target smart devices.
[0028] If they exist, the one or more target smart devices are determined based on the one or more device identifiers;
[0029] The instruction information is analyzed and processed to determine whether the instruction information contains the operating parameters corresponding to the target smart device;
[0030] If the instruction information includes the operating parameters, the target control device corresponding to the operating parameters is controlled according to the operating parameters based on the instruction information.
[0031] If the instruction information does not include the operating parameters, the corresponding target intelligent device is controlled according to the preset operating parameters corresponding to the target intelligent device. The preset operating parameters are determined by each target intelligent device based on the real-time environment of the device and general user data.
[0032] Optionally, the method further includes:
[0033] If the matching degree between the user's voiceprint information and all the pre-stored voiceprint information in the multiple pre-stored voiceprint information does not reach the preset probability, the user corresponding to the user's voiceprint information is determined to be an unknown user.
[0034] Based on the instruction information sent by the unknown user, determine one or more target smart devices corresponding to the instruction information;
[0035] Based on the instruction information, the target intelligent device is controlled according to the preset operating parameters corresponding to the target intelligent device.
[0036] Secondly, this application provides a smart device control device based on voiceprint recognition, the device comprising:
[0037] The parsing module is used to parse the acquired voice commands and determine the user voiceprint information and command information corresponding to the voice commands.
[0038] The determination module is used to determine the matching degree between the user's voiceprint information and multiple pre-stored voiceprint information;
[0039] The determining module is further configured to determine one or more pre-stored control commands corresponding to the user voiceprint information when the matching degree between the user voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree.
[0040] The determining module is further configured to determine one or more target smart devices corresponding to the instruction information when it is determined that the instruction information matches any one of the one or more pre-stored control instructions.
[0041] The control module is used to control the one or more target smart devices based on the instruction information and the corresponding pre-stored control instructions;
[0042] Optionally, the device further includes: a receiving module and a storage module;
[0043] The receiving module is used to receive an input request sent by the user, the input request including: user identifier and voice information;
[0044] The determining module is further configured to determine the voiceprint information corresponding to the user identifier based on the voice information;
[0045] The storage module is used to store the user identifier and the voiceprint information, and to identify the user as the user who was registered.
[0046] Optionally, the device may also include: a setup module;
[0047] The receiving module is also used to receive at least one pre-stored control instruction sent by the user.
[0048] The determining module is further configured to determine at least one smart device corresponding to the pre-stored control instruction;
[0049] The determining module is further configured to analyze and process each pre-stored control instruction to determine the operating parameters of each smart device corresponding to each pre-stored control instruction;
[0050] The establishment module is used to establish a pre-stored instruction set corresponding to the user being entered;
[0051] The storage module is also used to store the pre-stored control instructions and the corresponding operating parameters of the smart device into the pre-stored instruction set.
[0052] Optionally, the determining module is further configured to determine the user corresponding to the voiceprint information to be identified as the user being entered when the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree.
[0053] The determining module is further configured to determine the set of pre-stored instructions corresponding to the user being entered, and to determine one or more pre-stored control instructions corresponding to the user's voiceprint information from the set of pre-stored instructions;
[0054] Optionally, the device may further include: a judgment module;
[0055] The judgment module is used to determine whether there is a pre-stored control instruction that matches the instruction information in the pre-stored instruction set corresponding to the user who entered the information.
[0056] The determining module is further configured to, if present, determine one or more target smart devices corresponding to the instruction information based on a pre-stored control instruction that matches the instruction information;
[0057] Optionally, the judgment module is further configured to, if there is no pre-stored control instruction matching the instruction information in the pre-stored instruction set corresponding to the user entering the information, analyze and process the instruction information to determine whether the instruction information contains device identifiers of one or more target smart devices.
[0058] If the determining module exists, it determines the one or more target smart devices based on the one or more device identifiers.
[0059] The judgment module is also used to analyze and process the instruction information to determine whether the instruction information contains the operating parameters corresponding to the target smart device;
[0060] The control module is further configured to, when the instruction information includes the operating parameters, control the target control device corresponding to the operating parameters according to the operating parameters based on the instruction information;
[0061] The control module is also used to control the corresponding target intelligent device according to the preset operating parameters corresponding to the target intelligent device when the instruction information does not contain the operating parameters. The preset operating parameters are determined by each target intelligent device based on the real-time environment of the device and user general data.
[0062] Optionally, the determining module is further configured to determine that the user corresponding to the user voiceprint information is an unknown user when the matching degree between the user voiceprint information and all the pre-stored voiceprint information in the multiple pre-stored voiceprint information does not reach a preset probability.
[0063] The determining module is further configured to determine one or more target smart devices corresponding to the instruction information sent by the unknown user;
[0064] The control module is also used to control the target intelligent device according to the preset operating parameters corresponding to the target intelligent device based on the instruction information.
[0065] Thirdly, this application provides a computer-readable storage medium comprising a stored program, wherein the program executes at runtime to implement the voiceprint recognition-based smart device control method as described in the first aspect and various possible implementations thereof.
[0066] Fourthly, this application provides an electronic device, comprising:
[0067] Memory;
[0068] processor;
[0069] The memory contains computer programs;
[0070] The processor is configured to execute the computer program to implement the voiceprint recognition-based intelligent device control method as described in the first aspect and various possible implementations thereof.
[0071] This application provides a smart device control method based on voiceprint recognition. The method involves parsing acquired voice commands to determine the corresponding user voiceprint information and command information; determining the matching degree between the user voiceprint information and multiple pre-stored voiceprint information; if the matching degree between the user voiceprint information and any one of the pre-stored voiceprint information reaches a preset matching degree, determining one or more pre-stored control commands corresponding to the user voiceprint information; if the command information matches any one of the one or more pre-stored control commands, determining one or more target smart devices corresponding to the command information; and controlling one or more target smart devices based on the command information and the corresponding pre-stored control commands. By using voiceprint recognition technology to identify the user's identity and controlling and setting smart devices according to voice commands, this method enables the issuance of user-specific commands and scenarios, simplifies the operation process, improves the personalized service capabilities of smart home systems, and solves the problem that existing devices cannot identify user identities, leading to a failure to consider individual user differences and immediate needs, resulting in a poor user experience. Attached Figure Description
[0072] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0073] Figure 1 This is a schematic diagram of the hardware environment for a smart device control method based on voiceprint recognition according to an embodiment of this application;
[0074] Figure 2 This is a flowchart of a smart device control method based on voiceprint recognition according to an embodiment of this application. Figure 1 ;
[0075] Figure 3 This is a flowchart of a smart device control method based on voiceprint recognition according to an embodiment of this application. Figure 2 ;
[0076] Figure 4 This is a flowchart of a smart device control method based on voiceprint recognition according to an embodiment of this application. Figure 3 ;
[0077] Figure 5 This is a schematic diagram of the structure of a smart device control device based on voiceprint recognition according to an embodiment of this application;
[0078] Figure 6 This is a schematic diagram of the structure of a smart device control device based on voiceprint recognition according to an embodiment of this application.
[0079] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Detailed Implementation
[0080] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0081] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0082] First, let me explain the terms used in this application:
[0083] Voiceprint: A voiceprint is a spectrum of sound waves carrying speech information displayed using electroacoustic instruments. Each person's voice acoustic characteristics possess both relative stability and variability; they are not absolute or immutable. This variability can arise from physiological, pathological, psychological, simulation, and faking factors, and is also related to environmental interference. Nevertheless, because each person's vocal organs are not entirely the same, under normal circumstances, people can still distinguish different people's voices or determine whether they are the same person's voice.
[0084] Speech recognition technology, also known as Automatic Speech Recognition (ASR), aims to convert the lexical content of human speech into computer-readable input, such as keystrokes, binary codes, or character sequences. This differs from speaker recognition and speaker verification, which attempt to identify or verify the speaker rather than the lexical content of the speech.
[0085] According to one aspect of the embodiments of this application, a smart device control method based on voiceprint recognition is provided. This voiceprint recognition-based smart device control method is widely used in whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned voiceprint recognition-based smart device control method can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.
[0086] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.
[0087] Voice recognition technology allows users to control various devices in their homes using natural voice commands. Existing smart home systems can enhance user experience by applying voice recognition and AI technologies to achieve voice control, bringing users a more convenient and intelligent living experience.
[0088] Through voice recognition technology, smart home systems can support a variety of functions such as remote control, timed control, and scene control. This includes using voice recognition to understand commands and using intelligent algorithms to control devices based on the user's historical operating habits.
[0089] However, existing smart home devices typically use uniform default settings or make recommendations based solely on historical data from all users. These systems usually lack user identification capabilities, cannot distinguish the personalized needs of different family members, and cannot consider individual user differences and immediate needs, resulting in a poor user experience.
[0090] Furthermore, existing home systems often require users to perform multiple settings to achieve the ideal environment, increasing operational complexity and reducing user satisfaction.
[0091] To address the aforementioned issues, this application provides a smart device control method based on voiceprint recognition. By receiving a user's voice commands, the method analyzes the user's voiceprint information, determines the user's identity and corresponding pre-stored commands based on the voiceprint information, and then controls the smart device according to the user's information and voice commands. This allows the device to operate according to the user's personalized settings, environment, or passwords, enabling the issuance of specific user commands and scenarios. This solves the problem that existing devices cannot consider individual user differences and immediate needs, resulting in a poor user experience.
[0092] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0093] Figure 2 A flowchart of a smart device control method based on voiceprint recognition provided in this application embodiment. Figure 1 .like Figure 2 As shown in the figure, this embodiment provides a smart device control method based on voiceprint recognition, including:
[0094] S101: Parse the acquired voice commands to determine the user's voiceprint information and command information corresponding to the voice commands.
[0095] User voice commands refer to orders or requests issued by a user to a smart device or system through verbal expression. These commands can be in the form of natural language, enabling the smart device to execute the user's wishes. Smart devices can receive user voice information, which can be accomplished through a built-in microphone or voice receiving module, and then convert the voice into text or commands using voice recognition technology, thereby performing corresponding operations or providing the required information.
[0096] Understandably, user voiceprint information can be used to identify a user. For example, feature parameters characterizing the user's voiceprint can be extracted from the user's speech signal. These extracted voiceprint features can be compared with voiceprint models stored in smart devices to verify the user's identity. User voice command recognition can be achieved through ASR (Automatic Recognition Speech) parsing. ASR technology is a technique that converts human speech into text. When the system receives a user's voice command, it can perform preprocessing operations such as noise reduction, echo cancellation, and automatic gain control on the acquired speech signal to improve its quality. The preprocessed speech signal is then converted into a series of feature parameters, which can reflect the acoustic characteristics of the speech.
[0097] Specifically, acoustic models are typically trained and optimized based on a large amount of speech data. The extracted feature parameters are matched with the acoustic model in the ASR system to identify what the user is saying. The language model can then be used to decode the identified phonemes or syllables to generate the final text result.
[0098] It should be noted that voiceprint recognition can determine the speaker's identity by analyzing the voiceprint features in the speech signal. Voiceprint features refer to the unique acoustic characteristics produced by each person when pronouncing words, and these characteristics are closely related to a person's vocal organs, speech habits, and so on.
[0099] In one possible implementation, feature parameters characterizing voiceprint characteristics can be extracted from the user's speech signal, and the extracted voiceprint features are compared with the voiceprint model stored in the system. The voiceprint model is usually established during the user registration process and contains the user's voiceprint feature information. Based on the voiceprint feature matching results, the system can determine whether the current speaker is a registered user or a person with a specific identity.
[0100] S102: Determine the matching degree between the user's voiceprint information and multiple pre-stored voiceprint information.
[0101] Among them, the pre-stored voiceprint information can be information pre-stored in the voiceprint database obtained by the user through feature extraction methods during the registration stage, and each piece of information can correspond to a known user or identity.
[0102] Understandably, voiceprint features can be extracted from a user's voice signal. These features may include spectral features, fundamental frequency features, and other parameters that can characterize voiceprint characteristics. The extracted voiceprint features are then compared with each pre-stored voiceprint feature in the database.
[0103] Specifically, the real-time extracted voiceprint features can be compared with each pre-stored voiceprint feature in the database. For example, the similarity parameter can be determined by calculating the similarity metric between the two sets of features. Based on the feature comparison results, the matching degree between the user's voiceprint information and each pre-stored voiceprint information is calculated. The calculation method of the matching degree can depend on the similarity metric used. For example, a higher matching degree indicates that the two sets of voiceprint features are more similar, and the user's identity is more consistent with the pre-stored identity.
[0104] S103: Determine whether the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches the preset matching degree; if yes, proceed to step S104; if no, proceed to step S110.
[0105] When controlling the target smart device according to the instruction information, the corresponding instruction information issued by the system varies depending on the user's identity. When the user is a registered user, the system can issue instructions based on the specific scenario and instructions entered by the registered user.
[0106] S104: Confirm that the user whose voiceprint information corresponds to the user who was entered.
[0107] In this context, "registered users" refers to users who have registered with the system and entered their voiceprint information. These users can use their voiceprints as authentication credentials to control smart devices. The system can iterate through all pre-stored voiceprint information in the database, calculate the matching degree between the user's voiceprint features and the pre-stored voiceprint features for the currently traversed pre-stored voiceprint information, and compare the calculated matching degree with a preset matching degree threshold. The preset matching degree threshold can be set in advance based on factors such as system requirements, security needs, and actual test data.
[0108] Understandably, if the calculated matching degree reaches or exceeds the preset matching degree threshold, the user's voiceprint information is considered to match the currently traversed pre-stored voiceprint information, that is, the user's identity is identified. At this time, the traversal of the remaining pre-stored voiceprint information can be stopped as needed, and the recognition result is output. If the calculated matching degree is lower than the preset matching degree threshold, the traversal of the next pre-stored voiceprint information continues until all pre-stored voiceprint information has been traversed.
[0109] S105: Determine one or more pre-stored control commands corresponding to the user's voiceprint information.
[0110] Among them, the pre-stored control commands can refer to the voice commands for controlling smart devices. The command information can be, for example, switch commands, parameter adjustment commands, or scene commands.
[0111] Understandably, switch commands can refer to controlling the on / off status of devices, such as "turn on the living room lights" or "turn on / off the power to the sockets"; parameter adjustment commands can refer to adjusting the operating parameters of devices, such as adjusting the temperature and fan speed of the air conditioner, or the volume and channel of the television, specifically, "adjust the air conditioner temperature to 26 degrees" or "adjust the brightness of the lights to 30%"; scene commands can refer to triggering preset scene modes, such as "away mode," which turns off all appliances; and "home mode," which may include turning on the lights and air conditioner. Scene commands can contain command information for multiple devices to achieve one-click operation.
[0112] S106: Determine whether the instruction information matches any one of the one or more pre-stored control instructions; if yes, proceed to step S107; if no, proceed to step S109.
[0113] Among them, pre-stored control commands refer to single or series of control commands that users pre-set in smart devices. A pre-stored control command can correspond to one or more target smart devices, and the specific settings can be defined by the user through the user interface; this solution does not impose such restrictions. For each pre-stored control command in the pre-stored command set, the system can, for example, check whether the device identifier specified in the command information matches the device identifier in the pre-stored command. This can be determined by directly comparing device IDs, names, or using fuzzy matching algorithms; or by verifying whether the operation type in the command information is the same as the operation type in the pre-stored command. For example, if the pre-stored command is "turn on the light," and the command information is also about turning the light on and off, then this step will be a successful match.
[0114] Understandably, the system can analyze the matching degree between instruction information and pre-stored instructions. For example, if all comparison items match, the instruction information can be considered a complete match with the pre-stored instructions; if only some comparison items match, the system may need to define a matching degree threshold to determine whether they are considered a match.
[0115] Specifically, if the instruction information matches any of the pre-stored control instructions in the pre-stored instruction set, the system can control the operation of the corresponding target smart device according to the pre-stored control instructions.
[0116] S107: Determine one or more target smart devices corresponding to the instruction information.
[0117] When the instruction information matches any one of the pre-stored control instructions, the target smart device can be determined based on the smart device corresponding to the matched pre-stored control instruction.
[0118] Understandably, when defining pre-stored control commands, users can select one pre-stored control command to control one or more corresponding smart devices. For example, a user can set the smart device's operating scenario to "coming home" and the corresponding control command could be "I'm home." In this scenario, the pre-stored control command could include, but is not limited to, controlling the air conditioner, curtains, television, or lights. Specific control commands sent include, but are not limited to, "Turn on the air conditioner and adjust the temperature to 26 degrees Celsius," "Open the blackout curtains and close the sheer curtains," "Turn on the television, adjust the volume to 13, and turn the brightness to medium," and "Turn on the living room light and turn off the hallway light," etc.
[0119] S108: Control one or more target smart devices based on instruction information and corresponding pre-stored control instructions.
[0120] Once the target smart device and specific command information are identified, the system can send corresponding control signals to the device, such as through a wireless network or wired connection. After sending the command information, the system can receive feedback signals from the target smart device to confirm whether the command has been successfully executed.
[0121] S109: Analyze and process the instruction information, and determine one or more target smart devices based on the instruction information.
[0122] When the processor receives instruction information, it can parse the instruction information. For example, it can convert instructions in natural language form into a command format that the device can understand, or it can parse and verify the parameters in the instruction. The system can determine which smart device is the target of the instruction information, for example, by identifying it through the device name, identifier, or device type explicitly specified in the instruction.
[0123] Understandably, if there are multiple controllable smart devices in the system and the target device is not explicitly specified in the instruction, one or more target devices can be determined through other means, such as user interface selection scenarios or default device settings.
[0124] S110: Determine that the user whose voiceprint information corresponds to an unknown user.
[0125] An "unknown user" refers to a user who has not been registered with the smart device system. When the user sends a voice command, the system does not have a matching voiceprint for that user. In other words, the system cannot successfully match the user's provided voiceprint information with any registered user voiceprint model. Therefore, the user's identity will be considered an "unknown user." Unknown users may include new users using the system for the first time, users whose voiceprint characteristics have changed significantly due to illness, age, or environmental changes, or users attempting to impersonate others.
[0126] Understandably, the system can compare the calculated matching score with a preset matching score threshold. If no match is found after traversing all pre-stored voiceprint information, that is, if all matching scores are lower than the preset matching score threshold, the system can output a message such as "user does not exist" to determine that the user is an "unknown user".
[0127] Furthermore, to further improve the accuracy and reliability of voiceprint recognition, various technologies and methods can be employed to optimize processes such as voiceprint feature extraction, matching degree calculation, and threshold setting. For example, more complex voiceprint feature representation methods can be used, machine learning algorithms can be introduced to automatically adjust thresholds, and multi-factor authentication can be adopted to improve the security and robustness of the system. Specific optimization methods are not limited in this proposal.
[0128] S111: Based on instruction information, control the target intelligent device according to the preset operating parameters corresponding to the target intelligent device.
[0129] When the user is unknown, for some non-sensitive operations, such as adjusting light brightness or setting air conditioning temperature, the system can provide basic services based on preset parameters to prevent users from being unable to use the device due to authentication failure. However, due to the unknown identity, the system cannot complete the delivery of specific scenarios. For unknown users, intelligent recommendations based on environmental factors can be provided. Recommended commands can be sent to the target control device based on the instructions issued by the unknown user to enhance the system's adaptability.
[0130] Understandably, the system can parse the command information issued by an unknown user, determine the target smart device and the desired operation or parameter settings, and query the preset operating parameters corresponding to the target smart device based on the device's identifier. The preset parameters may include, for example, the device's default state, security restrictions, user preferences, etc.
[0131] Specifically, the system executes corresponding control operations on the target smart device based on the parsed command information and the retrieved preset operating parameters. If the command information conflicts with the preset parameters, for example, if the user requests a temperature lower than the device's minimum operating temperature, the system may choose to ignore the command or adjust it to the range allowed by the preset parameters.
[0132] It should be noted that the system can inform unknown users that their identity has not been verified through interface prompts or voice feedback, and remind them to verify their identity or register to enjoy more comprehensive services. For sensitive operations such as unlocking smart door locks and opening smart safes, the system requires a higher level of authentication and blocks access from unknown users to protect the security of device use.
[0133] This application provides a smart device control method based on voiceprint recognition. By receiving voice commands from users, analyzing these commands, determining the user's voiceprint information and the command information, and identifying the user's identity based on the voiceprint information, the method determines the corresponding user type based on user authentication and controls the corresponding target smart device according to the command information. By using voiceprint recognition technology to identify user identity and control and set smart devices according to voice commands, the method enables the issuance of user-specific commands and scenarios, simplifying the operation process, improving the personalized service capabilities of the smart home system, and further enhancing the user experience for unregistered users through intelligent recommendations. This solves the problem that existing devices cannot identify user identities, leading to an inability to consider individual user differences and immediate needs, resulting in a poor user experience.
[0134] Figure 3A flowchart of a smart device control method based on voiceprint recognition provided in this application embodiment. Figure 2 .like Figure 3 As shown, the embodiment is in Figure 2 Based on the previous embodiment, this embodiment is... Figure 2 Based on the embodiments, a possible implementation method for pre-setting the user registration corresponding to the smart device is further described, the method including:
[0135] S201: Receive user-sent data entry requests.
[0136] The data entry request includes user identification and voice information. When a user wants to enter new information or configure a device, they send a data entry request to the smart device. Interaction between the user and the smart device can be completed in various ways, such as through physical buttons, touchscreen interfaces, mobile applications, voice assistants, or web platforms.
[0137] Understandably, users can enter their user identifier, such as a username, email address, mobile phone number, or any other information that can uniquely identify the user. The method of entering the user identifier may vary depending on the device and application, and may be completed via a physical keyboard, touchscreen, voice input, or mobile application interface; this application does not impose any restrictions on this. Upon receiving the user identifier, authentication can be performed to verify the user's legitimacy.
[0138] S202: Determine the voiceprint information corresponding to the user identifier based on the voice information.
[0139] After user authentication is successful, the smart device can prompt the user to record voice information. For example, it can activate the sound capture device on the device and instruct the user to speak specific recorded voice content.
[0140] Understandably, after recording, smart devices can process the voice information, including processes such as speech recognition, speech analysis, and voice storage. After processing the voice information, the smart device can associate the user's identifier with the voice information, allowing for quick location via the user's identifier when the voice information needs to be accessed or used subsequently.
[0141] S203: Store user identifier and voiceprint information, and identify the user as the registered user.
[0142] Before storing voiceprint information, it can be encoded and encrypted to ensure data security and privacy. Encoding can convert voiceprint features into a format suitable for storage and transmission, while encryption can prevent unauthorized access and tampering.
[0143] Understandably, smart devices will store the associated user identifier and voice information in an appropriate location, such as the device's internal storage or a cloud server. Simultaneously, the device can provide feedback to the user regarding the input results, such as displaying a "successful input" message or providing further operational guidance.
[0144] Specifically, a user database can be designed to store user information, including user identifiers, voiceprint information, and possibly other personal information. This database should allow for efficient querying and updating of user information. By storing the user identifier and encoded, encrypted voiceprint information together in the user database, a unique identifier can be used to associate the user identifier and voiceprint information.
[0145] When a user attempts to access the system or perform an operation requiring authentication, the system can request the user to provide voice information. Upon receiving the voice information, the system can preprocess it, extract its features, and compare it with voiceprint information stored in the database. If the comparison result meets preset verification criteria, such as a similarity threshold, the user is considered successfully authenticated, and the user is identified as a registered user—that is, a user whose voiceprint information has been stored. Simultaneously, based on the user's identity and permission settings, the system can assign appropriate resource access permissions to the user. For example, only registered users may be allowed to access certain sensitive data or perform specific operations.
[0146] S204: Receive at least one pre-stored control command sent by the user.
[0147] The smart device or system can be equipped with one or more command receiving interfaces to accept pre-stored control commands sent by the user. These interfaces can be physical buttons, touchscreens, voice assistants, mobile applications, web platforms, etc. When the system receives a command from the user, it can parse the command and convert the user's input (voice, text, or gestures) into a system-recognizable command format, extracting key information from the command.
[0148] S205: Determine at least one smart device corresponding to the pre-stored control command.
[0149] The pre-stored control commands can include one or more smart devices, enabling unified scene control for the user.
[0150] First, the system needs to parse the received pre-stored control commands to extract identification information related to the smart device. This identification information may be directly contained in the command, such as the device name, serial number, IP address, or MAC address, or it may need to be obtained indirectly by parsing the context or parameters of the command.
[0151] Understandably, the system can have a complete device registry or device list, which records information such as the unique identifier, type, status, and user association of each smart device. Users can register and bind their smart devices in the system so that the system can identify and manage these devices.
[0152] Specifically, the system can match the parsed device identifier with information in the device registry to find the corresponding smart device. During the matching process, the system can perform a series of verification operations, such as checking the validity of the device identifier, confirming whether the device is online, and verifying the user's control permissions over the device.
[0153] If pre-stored control commands specify multiple smart devices, the system can recognize the scene settings and handle the multiple smart devices corresponding to that scene. The system can break down the commands into multiple sub-commands, each targeting a specific smart device, or perform a special operation to control multiple devices simultaneously.
[0154] S206: Analyze and process each pre-stored control instruction to determine the operating parameters of each smart device corresponding to each pre-stored control instruction.
[0155] Among them, operating parameters refer to relevant data on the operation of smart devices, such as the air outlet temperature of an air conditioner, the water heating temperature in the water tank of a water heater, or the storage temperature of a refrigerator's cold compartment.
[0156] Understandably, the system can identify the specific content of pre-stored control commands, such as command type (e.g., switch, adjust, query), target device (identified by device ID, name, or group identifier), and any additional operating parameters or conditions. Based on the device specified in the command, the system queries the device table to obtain the device's characteristic information, determining whether the operation in the command applies to the device and which device parameters can be adjusted. Subsequently, information related to operating parameters, such as target values, ranges, and step sizes, can be extracted from the command, and the extracted parameter values are verified to be within the device's physical limitations and safety limits.
[0157] Specifically, if a parameter value is out of range, the system can adjust the parameter value or issue a warning as needed. For operating parameters that require calculation, such as incremental adjustments based on the current value, the system can perform calculations using an appropriate algorithm, determine a default value, and set the calculated and verified parameter value as the operating parameter of the smart device.
[0158] In this embodiment, the system can encapsulate instruction information and determined operating parameters into a format that the device can understand, such as a specific communication protocol message. At the same time, it can ensure that the encapsulated message contains the correct target device address or identifier so that the message can be accurately sent to the target device.
[0159] S207: Establish a set of pre-stored instructions corresponding to the user.
[0160] S208: Store the pre-stored control commands and the corresponding operating parameters of the smart device into the pre-stored command set.
[0161] A suitable data structure can be defined to store the pre-stored instruction set. This data structure can store multiple pre-stored control instructions, and each instruction is associated with at least one smart device and its operating parameters. Assuming that the user has been authenticated and has the right to access and modify their pre-stored instruction set, an account is created for each user, and their pre-stored instruction set is maintained under that account.
[0162] Understandably, a user interface or API can be provided to allow users to add new pre-stored control commands. When adding a command, the user should specify the command's name, description, target smart device, and corresponding operating parameters. Before adding a command to the collection, relevant validations can be performed, such as checking the uniqueness of the command name, the validity of the device ID, and whether the operating parameters are within the device's physical limitations.
[0163] Specifically, each pre-stored control command is associated with the operating parameters of each smart device, which can be achieved by including the device ID and operating parameter values in the command record. The system allows users to enter detailed information about modifying existing pre-stored control commands, including the target device and operating parameters, and provides the option to delete commands, ensuring that the operating parameter information associated with the smart device is also removed when a command is deleted.
[0164] In this embodiment, the pre-stored instruction set can be stored in the database so that this information can be restored after the system restarts or the user logs in again. The database can also be backed up regularly and a recovery plan can be developed to prevent data loss or damage.
[0165] This application provides a smart device control method based on voiceprint recognition. By receiving a user's registration request and identifying the user as the registered user based on their user identifier and voice information, the method receives preset commands from the user and sets preset values for the smart device. When the user accesses the smart device, the method can control the target smart device according to the pre-stored command information. By registering the user's identity and pre-stored corresponding command information, the tedious operation of repetitive settings is reduced, enabling personalized control of the smart device.
[0166] Figure 4 A flowchart of a smart device control method based on voiceprint recognition provided in this application embodiment. Figure 3 .like Figure 4 As shown, this embodiment is... Figure 3Based on the embodiments, the process of controlling the target intelligent device according to the instruction information is described in detail. This embodiment provides an intelligent device control method based on voiceprint recognition, including:
[0167] S301: If the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree, the user corresponding to the voiceprint information to be identified is determined as the user to be entered.
[0168] S302: Determine the set of pre-stored instructions corresponding to the user, and determine one or more pre-stored control instructions corresponding to the user's voiceprint information from the set of pre-stored instructions.
[0169] S303: Determine whether there is a pre-stored control instruction that matches the instruction information in the pre-stored instruction set corresponding to the user. If yes, proceed to step S304; if no, proceed to step S306.
[0170] S304: Determine one or more target intelligent devices corresponding to the instruction information based on pre-stored control instructions that match the instruction information.
[0171] S305: Controls one or more target smart devices based on instruction information and corresponding pre-stored control instructions.
[0172] Steps S301-S305 are similar to steps S104-S107, and will not be described in detail here.
[0173] S306: Analyze and process the instruction information to determine whether the instruction information contains the device identifier of one or more target smart devices; if yes, proceed to step S307; if no, proceed to step S311.
[0174] S307: Identify one or more target smart devices based on one or more device identifiers.
[0175] The system can read and parse the complete content of the instruction information and extract key information related to the target smart device from the instruction. Based on the pre-defined device identifier, one or more target smart devices corresponding to the instruction can be identified.
[0176] Understandably, in some situations, the system can consider current environmental conditions or contextual information to determine the target smart device. For example, if the instruction is "turn on the nearest light," the system can use a location sensor to determine the user's current location and select the nearest light as the target device. Another example is the instruction "lower the temperature," where the system can determine the corresponding target smart device based on "temperature," such as at least one of an air conditioner or a smart device with temperature attributes, and then select the target smart device from at least one smart device with temperature attributes. Furthermore, historical records can be used to assist in determining the target device. For instance, if the user has frequently controlled a particular light in the past, the system might use that light as the default target device. This solution does not impose restrictions on the specific methods used to determine the target smart device based on instructions.
[0177] S308: Analyze and process the instruction information to determine whether the instruction information contains the operating parameters corresponding to the target intelligent device; if yes, proceed to step S309; if no, proceed to step S310.
[0178] S309: Based on instruction information, control the target control device corresponding to the operating parameters according to the operating parameters.
[0179] Once the target smart device is identified, the system can determine the corresponding operating parameters for that device within the instructions. These parameters may appear directly as part of the instructions, or they may be associated with the instructions through some referencing mechanism.
[0180] Understandably, if the runtime parameters are directly included in the instruction, the system can recognize these parameters and verify their format and validity; if the instruction uses parameter references, the system can resolve such references to find the actual runtime parameter values.
[0181] It should be noted that the system can ensure that the found operating parameters match the target smart device. For example, parameters can be associated with specific attributes or functions of the device, and their values should be within the device's physical limitations and safety limits.
[0182] Specifically, this can be achieved by checking whether the format of the operating parameters meets the requirements of the device or the system's expectations; determining whether the parameter values are within the physical limitations and safety range of the device; and, if there are dependencies between parameters, determining whether these dependencies are satisfied. Once the instruction information contains the operating parameters corresponding to the target intelligent device, and these parameters have passed all verification steps, the system is ready to execute the instruction.
[0183] S310: Control the corresponding target intelligent device according to the preset operating parameters of the target intelligent device.
[0184] The preset operating parameters are determined for each target smart device based on its real-time environment and general user data. These parameters can be set according to system calculations based on environmental data, or they can be default values. Data in the cloud database can be used for proactive learning through big data and user profiling to recommend optimal solutions for users.
[0185] Understandably, the system can collect data related to the operating environment of smart devices, such as indoor temperature, humidity, light intensity, external weather conditions, time information, and user activity patterns. This data can be acquired through sensors, external data sources (such as weather forecast APIs), or user input; this solution does not restrict the specific method of data collection.
[0186] Specifically, based on collected environmental data and device characteristics, the system can calculate and set preset operating parameters for smart devices. These parameters can be static, such as settings based on device default values, or dynamic, such as adjustments based on real-time environmental data. Static preset parameters can be based on the device's standard configuration or the user's initial settings; for example, a user might want to set the default temperature of the smart thermostat to 22°C. Dynamic preset parameters can adjust these parameters in real time according to changes in environmental data; for example, when the indoor temperature exceeds a preset threshold, the system can automatically adjust the air conditioner's operating mode to lower the indoor temperature.
[0187] It should be noted that when setting preset operating parameters, the system can consider the user's personal preferences and previous settings. Users can adjust the device's operating parameters according to their lifestyle or specific needs. The system allows users to customize the device's operating parameters and save them as new preset values. It can also remind users to save the preset values via push notifications for subsequent automated operations.
[0188] In this embodiment, after the preset operating parameters are determined, the system can store them in a device configuration file or database for quick application when needed. When the smart device receives instruction information, the system can check if there are corresponding preset operating parameters and automatically apply them to the device control process. The system can also continuously collect and analyze information such as environmental data, user behavior, and device operating status to continuously optimize the settings of preset operating parameters. For example, advanced technologies such as machine learning and data analysis can be used to automatically adjust parameters to adapt to constantly changing environments and user needs.
[0189] S311: Confirmation that the instruction information cannot be recognized.
[0190] If the instruction information does not contain a device identifier and there is no matching pre-stored control instruction, it is determined that the instruction cannot be recognized. The system can provide error information to the user, indicating that the instruction cannot be recognized. For example, it can provide a detailed explanation of why the instruction cannot be recognized, including but not limited to incorrect instruction format, inclusion of unknown words, or missing necessary parameters.
[0191] Understandably, if voice or text commands are not feasible, the system can provide a graphical user interface (GUI) as an alternative, allowing users to interact with the device through clicking, dragging, etc.; or provide detailed help documentation and user guides to help users understand how to correctly use the system and input valid commands, so that the system can more effectively process unrecognized command information and provide a better user experience. At the same time, this also helps the system continuously learn and improve its ability to recognize and execute commands.
[0192] This application provides a smart device control method based on voiceprint recognition. By analyzing the user's command information, the target smart device is identified, and the corresponding operating parameters of the device are determined according to different command information. This allows the device to operate according to the corresponding operating parameters based on environmental data, device characteristics, and user preferences, thereby achieving intelligent and automated device control and management. This simplifies the operation of smart homes, makes them more user-friendly, and better meets the diverse needs of modern families.
[0193] Figure 5 This is a schematic diagram of the structure of the intelligent device control device based on voiceprint recognition provided in this application. Figure 5 As shown, this application provides a smart device control device based on voiceprint recognition. The smart device control device 400 based on voiceprint recognition includes:
[0194] The parsing module 401 is used to parse the acquired voice commands and determine the user voiceprint information and command information corresponding to the voice commands;
[0195] The determining module 402 is used to determine the matching degree between the user's voiceprint information and multiple pre-stored voiceprint information;
[0196] The determining module 402 is further configured to determine one or more pre-stored control commands corresponding to the user voiceprint information when the matching degree between the user voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree.
[0197] The determining module 402 is further configured to determine one or more target smart devices corresponding to the instruction information when it is determined that the instruction information matches any one of the one or more pre-stored control instructions.
[0198] Control module 403 is used to control the one or more target smart devices based on the instruction information and the corresponding pre-stored control instructions;
[0199] Optionally, the device further includes: a receiving module 404 and a storage module 405;
[0200] The receiving module 404 is used to receive an input request sent by a user, the input request including: user identifier and voice information;
[0201] The determining module 402 is further configured to determine the voiceprint information corresponding to the user identifier based on the voice information;
[0202] The storage module 405 is used to store the user identifier and the voiceprint information, and to identify the user as the registered user;
[0203] Optionally, the device may also include: a setup module 406;
[0204] The receiving module 404 is also used to receive at least one pre-stored control instruction sent by the user.
[0205] The determining module 402 is further configured to determine at least one smart device corresponding to the pre-stored control instruction;
[0206] The determining module 402 is further configured to analyze and process each pre-stored control instruction to determine the operating parameters of each smart device corresponding to each pre-stored control instruction;
[0207] The establishment module 406 is used to establish a pre-stored instruction set corresponding to the user being entered;
[0208] The storage module 405 is also used to store the pre-stored control instructions and the corresponding operating parameters of the smart device into the pre-stored instruction set.
[0209] Optionally, the determining module 402 is further configured to determine the user corresponding to the voiceprint information to be identified as the user being entered when the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree.
[0210] The determining module 402 is further configured to determine the set of pre-stored instructions corresponding to the user being entered, and to determine one or more pre-stored control instructions corresponding to the user's voiceprint information from the set of pre-stored instructions.
[0211] Optionally, the device may further include: a determination module 407;
[0212] The judgment module 407 is used to determine whether there is a pre-stored control instruction that matches the instruction information in the pre-stored instruction set corresponding to the user who entered the information.
[0213] The determining module 402 is further configured to, if present, determine one or more target smart devices corresponding to the instruction information based on a pre-stored control instruction that matches the instruction information;
[0214] Optionally, the judgment module 407 is further configured to analyze and process the instruction information if there is no pre-stored control instruction matching the instruction information in the pre-stored instruction set corresponding to the user entering the information, and determine whether the instruction information contains the device identifier of one or more target smart devices.
[0215] The determining module 402 is further configured to determine the one or more target smart devices based on the one or more device identifiers if they exist;
[0216] The judgment module 407 is further configured to analyze and process the instruction information to determine whether the instruction information contains the operating parameters corresponding to the target smart device.
[0217] The control module 403 is further configured to, when the instruction information includes the operating parameters, control the target control device corresponding to the operating parameters according to the operating parameters based on the instruction information;
[0218] The control module 403 is further configured to control the corresponding target intelligent device according to the preset operating parameters corresponding to the target intelligent device when the instruction information does not contain the operating parameters. The preset operating parameters are determined by each target intelligent device based on the real-time environment of the device and user general data.
[0219] Optionally, the determining module 402 is further configured to determine that the user corresponding to the user voiceprint information is an unknown user when the matching degree between the user voiceprint information and all the pre-stored voiceprint information in the plurality of pre-stored voiceprint information does not reach a preset probability.
[0220] The determining module 402 is further configured to determine one or more target smart devices corresponding to the instruction information sent by the unknown user;
[0221] The control module 403 is also used to control the target intelligent device according to the preset operating parameters corresponding to the target intelligent device based on the instruction information.
[0222] Figure 6 This is a schematic diagram of the structure of the intelligent device control device based on voiceprint recognition provided in this application. Figure 6As shown, this application provides a smart device control device based on voiceprint recognition. The smart device control device 500 based on voiceprint recognition includes: a receiver 501, a transmitter 502, a processor 503, and a memory 504.
[0223] Receiver 501 is used to receive instructions and data;
[0224] Transmitter 502 is used to send commands and data;
[0225] Memory 504 is used to store instructions executed by the computer;
[0226] The processor 503 is used to execute computer execution instructions stored in the memory 504 to implement the various steps of the voiceprint recognition-based intelligent device control method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing embodiments of the voiceprint recognition-based intelligent device control method.
[0227] Alternatively, the memory 504 can be either standalone or integrated with the processor 503.
[0228] When the memory 504 is set up independently, the electronic device also includes a bus for connecting the memory 504 and the processor 503.
[0229] This application also provides a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the voiceprint recognition-based intelligent device control method as described above.
[0230] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0231] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for controlling intelligent devices based on voiceprint recognition, characterized in that, include: The acquired voice commands are parsed to determine the user's voiceprint information and command information corresponding to the voice commands; Determine the matching degree between the user's voiceprint information and multiple pre-stored voiceprint information; If the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree, one or more pre-stored control commands corresponding to the user's voiceprint information are determined. If it is determined that the instruction information matches any one of the one or more pre-stored control instructions, one or more target smart devices corresponding to the instruction information are determined. The system controls one or more target smart devices based on the instruction information and the corresponding pre-stored control instructions.
2. The method according to claim 1, characterized in that, Before receiving the user's voice command information, the method further includes: Receive a user's input request, which includes: user identifier and voice information; Based on the voice information, determine the voiceprint information corresponding to the user identifier; The user identifier and the voiceprint information are stored, and the user is identified as the registered user.
3. The method according to claim 2, characterized in that, After determining that the user is the user who entered the information, the method further includes: Receive at least one pre-stored control command sent by the user, and determine at least one smart device corresponding to the pre-stored control command; Each pre-stored control instruction is analyzed and processed to determine the operating parameters of each smart device corresponding to each pre-stored control instruction; Establish a pre-stored instruction set corresponding to the user who entered the information, and store the pre-stored control instructions and the corresponding smart device's operating parameters into the pre-stored instruction set.
4. The method according to claim 3, characterized in that, When the matching degree between the user's voiceprint information and any one of the plurality of pre-stored voiceprint information reaches a preset matching degree, determining one or more pre-stored control commands corresponding to the user's voiceprint information includes: If the matching degree between the user's voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree, the user corresponding to the voiceprint information to be identified is determined to be the user to be entered. Determine the set of pre-stored instructions corresponding to the user being entered, and determine one or more pre-stored control instructions corresponding to the user's voiceprint information from the set of pre-stored instructions.
5. The method according to claim 4, characterized in that, The step of determining one or more target smart devices corresponding to the instruction information when it is determined that the instruction information matches any one of the one or more pre-stored control instructions includes: Determine whether there is a pre-stored control instruction that matches the instruction information in the pre-stored instruction set corresponding to the user who entered the information; If present, one or more target smart devices corresponding to the instruction information are determined based on pre-stored control instructions that match the instruction information.
6. The method according to claim 5, characterized in that, The method further includes: If there is no pre-stored control instruction matching the instruction information in the pre-stored instruction set corresponding to the user, the instruction information is analyzed and processed to determine whether the instruction information contains the device identifier of one or more target smart devices. If they exist, the one or more target smart devices are determined based on the one or more device identifiers; The instruction information is analyzed and processed to determine whether the instruction information contains the operating parameters corresponding to the target smart device; If the instruction information includes the operating parameters, the target control device corresponding to the operating parameters is controlled according to the operating parameters based on the instruction information. If the instruction information does not include the operating parameters, the corresponding target intelligent device is controlled according to the preset operating parameters corresponding to the target intelligent device. The preset operating parameters are determined by each target intelligent device based on the device's real-time environment and user general data.
7. The method according to claim 1, characterized in that, The method further includes: If the matching degree between the user's voiceprint information and all the pre-stored voiceprint information in the multiple pre-stored voiceprint information does not reach the preset probability, the user corresponding to the user's voiceprint information is determined to be an unknown user. Based on the instruction information sent by the unknown user, determine one or more target smart devices corresponding to the instruction information; Based on the instruction information, the target intelligent device is controlled according to the preset operating parameters corresponding to the target intelligent device.
8. A smart device control device based on voiceprint recognition, characterized in that, include: The parsing module is used to parse the acquired voice commands and determine the user voiceprint information and command information corresponding to the voice commands. The determination module is used to determine the matching degree between the user's voiceprint information and multiple pre-stored voiceprint information; The determining module is further configured to determine one or more pre-stored control commands corresponding to the user voiceprint information when the matching degree between the user voiceprint information and any one of the multiple pre-stored voiceprint information reaches a preset matching degree. The determining module is further configured to determine one or more target smart devices corresponding to the instruction information when it is determined that the instruction information matches any one of the one or more pre-stored control instructions. The control module is used to control the one or more target smart devices based on the instruction information and the corresponding pre-stored control instructions.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the intelligent device control method based on voiceprint recognition as described in any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the intelligent device control method based on voiceprint recognition as described in any one of claims 1 to 7 through the computer program.