Nothing Special   »   [go: up one dir, main page]

WO2019141028A1 - Control method, device and system for electrical device - Google Patents

Control method, device and system for electrical device Download PDF

Info

Publication number
WO2019141028A1
WO2019141028A1 PCT/CN2018/120927 CN2018120927W WO2019141028A1 WO 2019141028 A1 WO2019141028 A1 WO 2019141028A1 CN 2018120927 W CN2018120927 W CN 2018120927W WO 2019141028 A1 WO2019141028 A1 WO 2019141028A1
Authority
WO
WIPO (PCT)
Prior art keywords
voiceprint
information
control
voice information
electrical device
Prior art date
Application number
PCT/CN2018/120927
Other languages
French (fr)
Chinese (zh)
Inventor
徐夏伶
卢俊杰
宋德超
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2019141028A1 publication Critical patent/WO2019141028A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/06Decision making techniques; Pattern matching strategies
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/22Interactive procedures; Man-machine interfaces
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • the present application relates to the field of intelligent control of electrical equipment, and in particular to a method, device and system for controlling electrical equipment.
  • the existing electrical equipment has added a voice control function, and the user can directly control the electrical equipment through voice, and needs to be manually operated, which is convenient for the user to use, and improves the intelligence of the electrical equipment.
  • voice control function For example, air conditioners, users can control the air conditioner to turn on, off, lower the temperature, increase the wind speed, etc. by voice.
  • the existing electrical equipment does not fully utilize the advantages of voice. All users control the electrical equipment in the same way, and cannot distinguish the operating behaviors and control habits of different users, and cannot provide personalized intelligent services to the users.
  • the device is less personalized.
  • the embodiment of the present application provides a control method, device, and system for an electrical device, so as to at least solve the technical problem that the existing electrical device cannot work according to different user control habits, and the degree of personalization is low.
  • a method for controlling an electrical device includes: acquiring first voice information sent by a target object; identifying the first voice information by using a voiceprint recognition model, and determining, corresponding to the target object, Voiceprint information, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; and obtaining control corresponding to the voiceprint information Mode; according to the control method, the electrical equipment is controlled.
  • a method for controlling an electrical device including: acquiring first voice information sent by a target object; identifying the first voice information, and determining voiceprint information corresponding to the target object; Obtain a control mode corresponding to the voiceprint information; control the electrical device according to the control mode.
  • a control device for an electrical device comprising: a first acquiring module, configured to acquire first voice information sent by a target object; and an identification module configured to use a voiceprint recognition model pair The first voice information is identified, and the voiceprint information corresponding to the target object is determined, wherein the voiceprint recognition model is trained by using machine learning using a plurality of sets of sample data, and the plurality of sets of sample data includes: voice information of the target object and matching The voiceprint information; the second acquisition module is configured to obtain a control mode corresponding to the voiceprint information; and the control module is configured to control the electrical device according to the control mode.
  • a control device for an electrical device including: a first acquiring module configured to acquire first voice information sent by a target object; and an identifying module configured to perform the first voice information Identifying, determining the voiceprint information corresponding to the target object; the second acquiring module is configured to acquire a control mode corresponding to the voiceprint information; and the control module is configured to control the electrical device according to the control mode.
  • a control system for an electrical device comprising: a collecting device configured to collect first voice information sent by a target object; and a processor connected to the collecting device and configured to use the voiceprint
  • the recognition model identifies the first voice information, determines the voiceprint information corresponding to the target object, and acquires a control manner corresponding to the voiceprint information, wherein the voiceprint recognition model is trained by using a plurality of sets of sample data through machine learning, The plurality of sets of sample data includes: voice information of the target object and matched voiceprint information; and the controller is connected to the processor and configured to control the electrical device according to the control mode.
  • a storage medium is further provided, where the storage medium includes a stored program, wherein the device in which the storage medium is located controls the control method of the above-mentioned electrical device when the program is running.
  • a processor configured to execute a program, wherein the method for controlling the electrical device is executed when the program is running.
  • the first voice information sent by the target object is acquired, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained.
  • the control method the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
  • FIG. 1 is a flow chart of a method of controlling an electrical device according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an optional voiceprint recognition model according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an optional local storage voiceprint information and a control mode according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of an optional server storing voiceprint information and a control manner according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of an optional control method for acquiring local storage according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an optional control method for acquiring server storage according to an embodiment of the present application.
  • FIG. 7 is a flow chart of another method of controlling an electrical device according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a control device for an electric appliance according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another control device of an electric appliance according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a control system of an electrical appliance in accordance with one embodiment of the present application.
  • Voiceprint recognition It is a kind of biometric technology, also known as speaker recognition. There are two types, namely, speaker recognition and speaker confirmation. Voiceprint recognition is the conversion of sound signals into electrical signals, which are then identified by a computer. Voiceprint recognition contains two key issues, one is feature extraction and the other is pattern matching (pattern recognition). The task of feature extraction is to extract and select acoustic or linguistic features that are highly distinguishable and highly stable to the speaker's voiceprint. Good features should be able to effectively distinguish between different speakers, but they can remain relatively stable when the same speaker's voice changes; it is not easy to be imitated by others or can better solve the problem of being imitated by others; Anti-noise performance.
  • User's operating habits It means that the user analyzes and understands all the operational behavior information of a certain home appliance, and summarizes a set of personalized usage habits or usage preferences of the user for a certain home appliance.
  • Home appliance manufacturers can provide personalized intelligent services to users in accordance with user operating habits, thereby improving the user experience.
  • an embodiment of a method of controlling an electrical device is provided. It is noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions. And, although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • FIG. 1 is a flowchart of a method for controlling an electrical device according to an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:
  • Step S102 Acquire first voice information sent by the target object.
  • the first voice information includes: a start instruction or a wake-up instruction.
  • the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user
  • the start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command.
  • a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
  • Step S104 Identifying the first voice information by using a voiceprint recognition model, and determining voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by using machine learning by using a plurality of sets of sample data, and the plurality of sets of sample data includes : Voice information of the target object and matching voiceprint information.
  • the voiceprint recognition model described above may be previously modeled according to voice information sent by the user, and the voiceprint recognition model can distinguish different users and obtain unique voice patterns of different users.
  • Step S106 obtaining a control mode corresponding to the voiceprint information.
  • control manner includes: a history control instruction and/or historical state information of the electrical device.
  • the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device.
  • the historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above).
  • the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
  • Step S108 controlling the electrical equipment according to the control mode.
  • the electrical device described above may be a home appliance having a voice control function.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may input the voice information after collecting the voice message sent by the user.
  • the voiceprint corresponding to the user is obtained, and the history control instruction corresponding to the voiceprint is further queried from the storage device, that is, the last control command or the custom instruction set of the user is queried.
  • the electrical device executes the queried historical control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may input the voice information after collecting the voice information sent by the user. Go to the pre-established voiceprint recognition model, obtain the voiceprint corresponding to the user, and further query the historical state information corresponding to the voiceprint from the storage device, that is, query the electrical device when the user last controls the electrical device. The historical state information, the electrical device performs a query set corresponding to the historical state information, or adjusts the click state information to the queried historical state information, thereby realizing the user's judgment through the voiceprint information, and executing the user corresponding Historical control instructions.
  • the first voice information sent by the target object is obtained, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained.
  • the control method the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
  • the method before the first voice information is identified by using the voiceprint recognition model to determine the voiceprint information corresponding to the target object, the method further includes:
  • Step S110 Acquire a plurality of second voice information sent by the target object, where each second voice information includes one of: a control instruction, a wake-up instruction, and a preset instruction.
  • the preset instruction may be a preset instruction for establishing a voiceprint recognition model.
  • Step S112 extracting a voiceprint feature in the plurality of second voice information to obtain a plurality of sets of sample data.
  • Step S114 establishing a preset recognition model, and training the preset recognition model by using a plurality of sets of sample data to obtain a voiceprint recognition model.
  • a voiceprint recognition model needs to be established, and the user can send voice information to the electrical device multiple times, and the electrical device sends the user multiple times after receiving the user.
  • the voiceprint analysis can be performed on each received voice information, and the voiceprint sign is extracted, thereby obtaining a plurality of voiceprint signs corresponding to the user, that is, obtaining multiple sets of sample data, and further utilizing multiple sets of samples.
  • the data is trained on the established preset recognition model to obtain a voiceprint recognition model.
  • the voiceprint recognition model may be stored in the local storage device of the electrical device, or may be sent to the server for storage by the wireless module of the electrical device.
  • control mode includes: a history control instruction
  • step S114 the preset recognition model is trained by using a plurality of sets of sample data to obtain a voiceprint recognition model, and the method is Also includes:
  • Step S116 Acquire third voice information sent by the target object, where the third voice information includes: a history control instruction.
  • Step S118 Identify the third voice information by using the voiceprint recognition model, and determine voiceprint information corresponding to the target object.
  • Step S120 obtaining a correspondence between the history control command and the voiceprint information according to the history control instruction and the voiceprint information.
  • the user may send voice information including a control instruction to the electrical device, and the electrical device executes the control command, and simultaneously inputs the voice information into the voiceprint recognition model to obtain
  • the voiceprint information of the user that is, the voiceprint pairing of the voice information sent by the user, after the pairing is successful, the correspondence between the control command and the voiceprint information can be obtained, and the correspondence between the control command and the voiceprint information is stored in the In the local storage device of the electrical device, the correspondence between the control command and the voiceprint information may also be sent to the server for storage through the wireless module.
  • the method further includes:
  • Step S122 Acquire at least one history control instruction corresponding to the voiceprint information.
  • Step S124 processing at least one history control instruction to obtain a history control instruction set corresponding to the voiceprint information.
  • the electrical equipment or the server may analyze and summarize the control instructions corresponding to one user, that is, the control commands corresponding to the same voiceprint information, periodically, irregularly, or in real time, and summarize the control habits of the user. Thereby getting a set of custom instructions from the user.
  • control mode includes: historical state information of the electrical device
  • preset recognition model is trained by using the plurality of sets of sample data to obtain the voiceprint recognition model.
  • the method further includes:
  • Step S126 Acquire third voice information sent by the target object, where the third voice information includes: a history control instruction.
  • Step S130 according to the historical control instruction, control the electrical device, and acquire historical state information of the electrical device.
  • Step S132 obtaining a correspondence between the historical state information of the electrical device and the voiceprint information according to the historical state information and the voiceprint information of the electrical device.
  • the user may send voice information including a control instruction to the electrical device, the electrical device executes the control command, and acquires state information of the electrical device, and simultaneously performs voice information.
  • voice information including a control instruction
  • the electrical device executes the control command
  • acquires state information of the electrical device and simultaneously performs voice information.
  • the correspondence between the state information of the electrical device and the voiceprint information can be obtained, and
  • the correspondence between the state information of the electrical device and the voiceprint information is stored in the local storage device of the electrical device, and the correspondence between the state information of the electrical device and the voiceprint information may be sent to the server for storage through the wireless module.
  • control mode is stored in the storage device of the electrical device and/or the server, and in step S106, the control manner corresponding to the voiceprint information includes one or more of the following:
  • Step S1062 obtaining a control mode from the storage device of the electric device according to the voiceprint information.
  • step S1064 the voiceprint information is sent to the server, and the control mode returned by the server is received.
  • control mode since the control mode is stored in the local storage device of the electrical device, or in the server, after the voiceprint information of the user is acquired, the local storage device of the electrical device can be read and The control method corresponding to the voiceprint information may also send the voiceprint information to the server through the wireless module, and the server queries the control mode corresponding to the voiceprint information, and then controls the electrical device according to the control mode.
  • the correspondence between the voiceprint information of different users and the control command may be stored in the server.
  • the method further includes:
  • Step S134 identifying the first voice information, and determining whether the first voice information includes a start command or a wake-up command.
  • Step S136 if it is determined that the first voice information includes a start command or a wake-up command, the first voice information is re-identified by the voiceprint recognition model, and the voiceprint information corresponding to the target object is determined.
  • Step S138 if it is determined that the first voice information does not include a start command or a wake-up command, the first voice information is not recognized again by using the voiceprint recognition model.
  • the electrical device in order to prevent the erroneous operation of the electrical device, after receiving the voice information sent by the user, the electrical device first performs voice recognition on the voice information, and determines whether the voice information includes a start command or a wake-up command, if Determining that the voice information includes any one of the instructions, determining that the user needs to control the electrical device, and further inputting the voice information into the voiceprint recognition model, obtaining the voiceprint information of the user, and controlling according to the voiceprint information of the user Ways to control electrical equipment.
  • the plurality of second voice information may be identified, and determining whether the plurality of second voice information includes a control instruction, a wake-up instruction, or a preset instruction, If it is determined that any one of the second voice information includes a control instruction, a wake-up instruction, or a preset instruction, extracting a voiceprint feature of the second voice information; if determining that any one of the second voice information does not include a control instruction, a wake-up instruction, or a preset instruction , the voiceprint feature of the second voice information is not extracted.
  • the third voice information may be identified, determining whether the third voice information includes a history control instruction, and if it is determined that the third voice information includes a history control instruction, Then, the third voice information is identified by using the voiceprint recognition model, and the voiceprint information corresponding to the target object is determined; if it is determined that the third voice information does not include the history control instruction, the third voice information is not executed.
  • FIG. 2 is a schematic diagram of an optional voiceprint recognition model according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an optional local storage voiceprint information and a control manner according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an optional server storing voiceprint information and a control manner according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an optional control method for acquiring local storage according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an optional control method for acquiring server storage according to an embodiment of the present application. A preferred embodiment of the present application is described in detail below with reference to FIG. 2 to FIG. 6 .
  • the user can voice the voice appliance (ie, the above-mentioned electrical appliance), and the voice appliance can receive three voices sent by the user, namely, vocal A, vocal B, and vocal C, and voice module of the voice appliance.
  • the voiceprint analysis is performed on the received sound, and the characteristics of the voiceprint are extracted to obtain three voiceprints, namely voiceprint A, voiceprint B, and voiceprint C, and a voiceprint recognition model can be further established.
  • the user can issue a control command to the voice home appliance, and the voice module of the voice home appliance performs voiceprint matching on the control command through the voiceprint recognition model, and after the pairing is successful, the pair will be
  • the control command of the voiceprint should be stored locally, or the control module corresponding to the voiceprint can be sent to the server for data storage through the wireless module of the voice appliance.
  • the user may issue a power-on command or a wake-up command to the voice home appliance, and the voice module of the voice home appliance performs voiceprint matching on the power-on command or the wake-up command through the voiceprint recognition model.
  • the corresponding control mode is queried from the local storage through the matched voiceprint information, and the queried control mode is transmitted to the control module of the voice home appliance, and the control module executes the control mode.
  • the matched voiceprint information may also be sent to the server through the wireless module of the voice appliance, and the server queries the corresponding control mode, and the wireless module transmits the control mode queried from the server to the control module, and the control module executes the control mode.
  • the voice command is used to bind the operation command to the individual of the user one by one, and the voiceprint is used to distinguish different operation requirements of different people on the home appliance, thereby improving the personalization of the user operation and improving the user experience.
  • an embodiment of a method of controlling an electrical device is provided. It is noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions. And, although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • FIG. 7 is a flowchart of another method for controlling an electrical device according to an embodiment of the present application. As shown in FIG. 7, the method includes the following steps:
  • Step S702 acquiring first voice information sent by the target object.
  • the first voice information includes: a start instruction or a wake-up instruction.
  • the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user
  • the start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command.
  • a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
  • Step S704 identifying the first voice information, and determining voiceprint information corresponding to the target object.
  • Step S706 obtaining a control manner corresponding to the voiceprint information.
  • control manner includes: a history control instruction and/or historical state information of the electrical device.
  • the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device.
  • the historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above).
  • the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
  • Step S708 controlling the electrical device according to the control mode.
  • the electrical device described above may be a home appliance having a voice control function.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may sound the voice information after collecting the voice information sent by the user.
  • Pattern recognition obtaining the voiceprint corresponding to the user, further querying the history control instruction corresponding to the voiceprint from the storage device, that is, querying the last control command or custom instruction set of the user, and the electrical device performs the query The history control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may perform voice information after collecting the voice message sent by the user.
  • the voiceprint is recognized, the voiceprint corresponding to the user is obtained, and the historical state information corresponding to the voiceprint is further queried from the storage device, that is, the historical state information of the electrical device when the user last controls the electrical device is queried, and the electrical appliance
  • the device executes the command set corresponding to the historical state information that is queried, or adjusts the squeak state information to the queried historical state information, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the first voice information sent by the target object is obtained, the first voice information is identified, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained, according to the control manner, Electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
  • step S704 the first voice information is identified, and the voiceprint information corresponding to the target object is determined to include:
  • Step S7042 Identifying the first voice information by using a voiceprint recognition model, and determining voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by using machine learning using a plurality of sets of sample data, and the plurality of sets of sample data includes : Voice information of the target object and matching voiceprint information.
  • the voiceprint recognition model described above may be previously modeled according to voice information sent by the user, and the voiceprint recognition model can distinguish different users and obtain unique voice patterns of different users.
  • the electrical device may input the voice information into a pre-established voiceprint recognition model to obtain a voiceprint corresponding to the user.
  • an embodiment of a control device for an electrical device is provided.
  • FIG. 8 is a schematic diagram of a control device for an electrical device according to an embodiment of the present application. As shown in FIG. 8, the device includes:
  • the first obtaining module 82 is configured to acquire first voice information sent by the target object.
  • the first voice information includes: a start instruction or a wake-up instruction.
  • the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user
  • the start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command.
  • a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
  • the identification module 84 is configured to identify the first voice information by using a voiceprint recognition model, and determine voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by using a plurality of sets of sample data through machine learning, and multiple groups
  • the sample data includes: voice information of the target object and matching voiceprint information.
  • the voiceprint recognition model described above may be previously modeled according to voice information sent by the user, and the voiceprint recognition model can distinguish different users and obtain unique voice patterns of different users.
  • the second obtaining module 86 is configured to acquire a control manner corresponding to the voiceprint information.
  • control manner includes: a history control instruction and/or historical state information of the electrical device.
  • the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device.
  • the historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above).
  • the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
  • the control module 88 is configured to control the electrical device according to the control mode.
  • the electrical device described above may be a home appliance having a voice control function.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may input the voice information after collecting the voice message sent by the user.
  • the voiceprint corresponding to the user is obtained, and the history control instruction corresponding to the voiceprint is further queried from the storage device, that is, the last control command or the custom instruction set of the user is queried.
  • the electrical device executes the queried historical control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may input the voice information after collecting the voice information sent by the user. Go to the pre-established voiceprint recognition model, obtain the voiceprint corresponding to the user, and further query the historical state information corresponding to the voiceprint from the storage device, that is, query the electrical device when the user last controls the electrical device. The historical state information, the electrical device performs a query set corresponding to the historical state information, or adjusts the click state information to the queried historical state information, thereby realizing the user's judgment through the voiceprint information, and executing the user corresponding Historical control instructions.
  • the first voice information sent by the target object is obtained, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained.
  • the control method the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
  • an embodiment of a control device for an electrical device is provided.
  • FIG. 9 is a schematic diagram of another control device for an electrical device according to an embodiment of the present application. As shown in FIG. 9, the device includes:
  • the first obtaining module 92 is configured to acquire first voice information sent by the target object.
  • the first voice information includes: a start instruction or a wake-up instruction.
  • the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user
  • the start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command.
  • a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
  • the identification module 94 is configured to identify the first voice information and determine voiceprint information corresponding to the target object.
  • the second obtaining module 96 is configured to acquire a control manner corresponding to the voiceprint information.
  • control manner includes: a history control instruction and/or historical state information of the electrical device.
  • the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device.
  • the historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above).
  • the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
  • the control module 98 is configured to control the electrical device according to the control mode.
  • the electrical device described above may be a home appliance having a voice control function.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may sound the voice information after collecting the voice information sent by the user.
  • Pattern recognition obtaining the voiceprint corresponding to the user, further querying the history control instruction corresponding to the voiceprint from the storage device, that is, querying the last control command or custom instruction set of the user, and the electrical device performs the query The history control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may perform voice information after collecting the voice message sent by the user.
  • the voiceprint is recognized, the voiceprint corresponding to the user is obtained, and the historical state information corresponding to the voiceprint is further queried from the storage device, that is, the historical state information of the electrical device when the user last controls the electrical device is queried, and the electrical appliance
  • the device executes the command set corresponding to the historical state information that is queried, or adjusts the squeak state information to the queried historical state information, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the first voice information sent by the target object is obtained, the first voice information is identified, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained, according to the control manner, Electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
  • an embodiment of a control system for an electrical device is provided.
  • FIG. 10 is a schematic diagram of a control system of an electrical appliance according to an embodiment of the present application. As shown in FIG. 10, the system includes a collection device 102, a processor 104, and a controller 106.
  • the collecting device 102 is configured to collect the first voice information sent by the target object
  • the processor 104 is connected to the collecting device, and is configured to identify the first voice information by using the voiceprint recognition model, and determine the voiceprint information corresponding to the target object. And obtaining a control method corresponding to the voiceprint information, wherein the voiceprint recognition model is trained by using a plurality of sets of sample data through machine learning, and the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information;
  • the device 106 is coupled to the processor and is configured to control the electrical device in accordance with a control mode.
  • the foregoing collecting device may be a microphone installed on the electrical device, but is not limited thereto.
  • the processor may be a voice module of the electrical device; the controller 106 may be an electrical device.
  • the control module of the device; the target object may be a user currently controlling the electrical device by voice, and a voice collecting device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; the voiceprint recognition model may be pre-defined according to the user.
  • the sent voice information is modeled, and the voiceprint recognition model can distinguish different users and obtain unique voiceprints of different users; the above electrical device can be a home appliance with voice control function.
  • the first voice information includes: a start command or a wake-up command
  • the control manner includes: a history control command and/or historical state information of the electrical device.
  • the user may issue a start command for controlling the start of the electrical device, or wake up the wake-up command of the electrical device, and the command issued by the user is related to the state of the electrical device, if the electrical device is turned off. , the user issues a start command; if the electrical device is in a sleep state, the user issues a wake-up command.
  • a start command for controlling the start of the electrical device, or wake up the wake-up command of the electrical device, and the command issued by the user is related to the state of the electrical device, if the electrical device is turned off.
  • the user issues a start command
  • a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
  • the above control method may be a control command issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, analyzing and summarizing all control commands issued by the user before controlling the electrical device.
  • the historical control instruction set may also be historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above).
  • the historical state information may be the user's last control. Air conditioner working mode, set temperature, set wind speed, sweep direction, etc. when air conditioning.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may input the voice information after collecting the voice message sent by the user.
  • the voiceprint corresponding to the user is obtained, and the history control instruction corresponding to the voiceprint is further queried from the storage device, that is, the last control command or the custom instruction set of the user is queried.
  • the electrical device executes the queried historical control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
  • the user when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may input the voice information after collecting the voice information sent by the user. Go to the pre-established voiceprint recognition model, obtain the voiceprint corresponding to the user, and further query the historical state information corresponding to the voiceprint from the storage device, that is, query the electrical device when the user last controls the electrical device. The historical state information, the electrical device performs a query set corresponding to the historical state information, or adjusts the click state information to the queried historical state information, thereby realizing the user's judgment through the voiceprint information, and executing the user corresponding Historical control instructions.
  • the first voice information sent by the target object is obtained, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained.
  • the control method the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
  • an embodiment of a storage medium includes a stored program, wherein the device in which the storage medium is located is controlled to execute the electrical device in Embodiment 1 or Embodiment 2 described above when the program is running. Control Method.
  • the storage medium is configured to store program code for performing the following steps: acquiring first voice information sent by the target object; identifying the first voice information by using a voiceprint recognition model, determining and The voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by machine learning using multiple sets of sample data, and the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; The control method corresponding to the information; according to the control mode, the electrical equipment is controlled.
  • the storage medium may also be provided as program code for storing various preferred or optional method steps provided by the control method of the electrical device.
  • an embodiment of a processor the processor being arranged to run a program, wherein the control method of the electrical device in Embodiment 1 or Embodiment 2 is executed when the program is running.
  • the various functional modules provided by the embodiments of the present application may be operated in an electrical device or a similar computing device, or may be stored as part of a storage medium.
  • embodiments of the present application can provide an electrical device.
  • the electrical device is configured to execute the following steps in the control method of the electrical device: acquiring the first voice information sent by the target object; using the voiceprint recognition model to identify the first voice information, determining the target object Corresponding voiceprint information, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, and the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; and obtaining corresponding to the voiceprint information Control method; control the electrical equipment according to the control method.
  • the electrical device can include: one or more processors, memory, and transmission devices.
  • the memory can be used to store software programs and modules, such as the control method of the electrical device and the program instruction/module corresponding to the device in the embodiment of the present application, and the processor executes various software programs and modules stored in the memory. Functional application and data processing, that is, the control method of the above electrical equipment is realized.
  • the memory may include a high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • the memory can further include memory remotely located relative to the processor, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the above transmission device is for receiving or transmitting data via a network.
  • Specific examples of the above network may include a wired network and a wireless network.
  • the transmission device includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
  • the transmission device is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the memory is used to store a voiceprint recognition model, history control instructions, and historical state information as well as an application.
  • the processor can call the memory stored information and the application by the transmitting device to execute the program code of the method steps of each of the alternative or preferred embodiments of the above method embodiments.
  • a person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct related hardware, and the program may be stored in a readable storage medium, and the storage medium may include: A disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the unit may be a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
  • the technical solution provided by the embodiment of the present application can be applied to the operation process of the electrical device, using the first voice information sent by the target object, using the voiceprint recognition model to identify the first voice information, and determining the voiceprint corresponding to the target object.
  • the information, the control method corresponding to the voiceprint information, and the control scheme for the electrical equipment according to the control method can solve the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low, achieving high The personalization of electrical equipment enhances the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Game Theory and Decision Science (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided are a control method, device and system for an electrical device. The method comprises: acquiring first voice information sent by a target object (S102); using a voiceprint identification model to identify the first voice information, and determining voiceprint information corresponding to the target object, wherein the voiceprint identification model is trained through machine learning by using multiple sets of sample data, and the multiple sets of sample data comprise the voice information of the target object and the matched voiceprint information (S104); acquiring a control mode corresponding to the voiceprint information (S106); and controlling an electrical device according to the control mode (S108). By means of the method, the technical problem of the low degree of personalization caused by the fact that the existing electrical device cannot operate according to the control habits of different users is solved.

Description

电器设备的控制方法、装置和系统Control method, device and system for electrical equipment 技术领域Technical field
本申请涉及电器设备智能控制领域,具体而言,涉及一种电器设备的控制方法、装置和系统。The present application relates to the field of intelligent control of electrical equipment, and in particular to a method, device and system for controlling electrical equipment.
背景技术Background technique
现有的电器设备增加了语音控制功能,用户可以通过语音直接控制电器设备而需要通过手动操作,方便用户使用,提高电器设备的智能化。例如,空调,用户可以通过语音控制空调开启、关闭、降低温度、增大风速等。The existing electrical equipment has added a voice control function, and the user can directly control the electrical equipment through voice, and needs to be manually operated, which is convenient for the user to use, and improves the intelligence of the electrical equipment. For example, air conditioners, users can control the air conditioner to turn on, off, lower the temperature, increase the wind speed, etc. by voice.
但是,现有的电器设备并没有充分利用语音的优势,所有用户对电器设备的控制方式都相同,无法对不同用户的操作行为和控制习惯进行区分,无法向用户提供个性化的智能服务,电器设备个性化程度较低。However, the existing electrical equipment does not fully utilize the advantages of voice. All users control the electrical equipment in the same way, and cannot distinguish the operating behaviors and control habits of different users, and cannot provide personalized intelligent services to the users. The device is less personalized.
针对现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低的问题,目前尚未提出有效的解决方案。In view of the fact that existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low, an effective solution has not yet been proposed.
发明内容Summary of the invention
本申请实施例提供了一种电器设备的控制方法、装置和系统,以至少解决现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低的技术问题。The embodiment of the present application provides a control method, device, and system for an electrical device, so as to at least solve the technical problem that the existing electrical device cannot work according to different user control habits, and the degree of personalization is low.
在本申请其中一实施例中,提供了一种电器设备的控制方法,包括:获取目标对象发出的第一语音信息;利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息;获取与声纹信息对应的控制方式;根据控制方式,对电器设备进行控制。In an embodiment of the present application, a method for controlling an electrical device includes: acquiring first voice information sent by a target object; identifying the first voice information by using a voiceprint recognition model, and determining, corresponding to the target object, Voiceprint information, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; and obtaining control corresponding to the voiceprint information Mode; according to the control method, the electrical equipment is controlled.
在本申请其中一实施例中,还提供了一种电器设备的控制方法,包括:获取目标对象发出的第一语音信息;对第一语音信息进行识别,确定与目标对象对应的声纹信息;获取与声纹信息对应的控制方式;根据控制方式,对电器设备进行控制。In an embodiment of the present application, a method for controlling an electrical device is provided, including: acquiring first voice information sent by a target object; identifying the first voice information, and determining voiceprint information corresponding to the target object; Obtain a control mode corresponding to the voiceprint information; control the electrical device according to the control mode.
在本申请其中一实施例中,还提供了一种电器设备的控制装置,包括:第一获取模块,设置为获取目标对象发出的第一语音信息;识别模块,设置为利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音 信息和相匹配的声纹信息;第二获取模块,设置为获取与声纹信息对应的控制方式;控制模块,设置为根据控制方式,对电器设备进行控制。In an embodiment of the present application, a control device for an electrical device is further provided, comprising: a first acquiring module, configured to acquire first voice information sent by a target object; and an identification module configured to use a voiceprint recognition model pair The first voice information is identified, and the voiceprint information corresponding to the target object is determined, wherein the voiceprint recognition model is trained by using machine learning using a plurality of sets of sample data, and the plurality of sets of sample data includes: voice information of the target object and matching The voiceprint information; the second acquisition module is configured to obtain a control mode corresponding to the voiceprint information; and the control module is configured to control the electrical device according to the control mode.
在本申请其中一实施例中,还提供了一种电器设备的控制装置,包括:第一获取模块,设置为获取目标对象发出的第一语音信息;识别模块,设置为对第一语音信息进行识别,确定与目标对象对应的声纹信息;第二获取模块,设置为获取与声纹信息对应的控制方式;控制模块,设置为根据控制方式,对电器设备进行控制。In an embodiment of the present application, a control device for an electrical device is further provided, including: a first acquiring module configured to acquire first voice information sent by a target object; and an identifying module configured to perform the first voice information Identifying, determining the voiceprint information corresponding to the target object; the second acquiring module is configured to acquire a control mode corresponding to the voiceprint information; and the control module is configured to control the electrical device according to the control mode.
在本申请其中一实施例中,还提供了一种电器设备的控制系统,包括:采集装置,设置为采集目标对象发出的第一语音信息;处理器,与采集装置连接,设置为利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,并获取与声纹信息对应的控制方式,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息;控制器,与处理器连接,设置为根据控制方式,对电器设备进行控制。In an embodiment of the present application, a control system for an electrical device is further provided, comprising: a collecting device configured to collect first voice information sent by a target object; and a processor connected to the collecting device and configured to use the voiceprint The recognition model identifies the first voice information, determines the voiceprint information corresponding to the target object, and acquires a control manner corresponding to the voiceprint information, wherein the voiceprint recognition model is trained by using a plurality of sets of sample data through machine learning, The plurality of sets of sample data includes: voice information of the target object and matched voiceprint information; and the controller is connected to the processor and configured to control the electrical device according to the control mode.
在本申请其中一实施例中,还提供了一种存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述的电器设备的控制方法。In an embodiment of the present application, a storage medium is further provided, where the storage medium includes a stored program, wherein the device in which the storage medium is located controls the control method of the above-mentioned electrical device when the program is running.
在本申请其中一实施例中,还提供了一种处理器,处理器设置为运行程序,其中,程序运行时执行上述的电器设备的控制方法。In an embodiment of the present application, there is further provided a processor, the processor being configured to execute a program, wherein the method for controlling the electrical device is executed when the program is running.
在本申请实施例中,获取目标对象发出的第一语音信息,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制。容易注意到的是,由于利用声纹识别区分不同用户的声纹信息,并将不同用户的声纹信息与控制指令进行一一对应绑定,实现对不同用户进行区分,并根据不同用户的控制习惯对电器设备进行控制,达到了提高电器设备的个性化,提升用户体验感的技术效果,进而解决了现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低技术问题。In the embodiment of the present application, the first voice information sent by the target object is acquired, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained. According to the control method, the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本申请其中一实施例的一种电器设备的控制方法的流程图;1 is a flow chart of a method of controlling an electrical device according to an embodiment of the present application;
图2是根据本申请其中一实施例的一种可选的建立声纹识别模型的示意图;2 is a schematic diagram of an optional voiceprint recognition model according to an embodiment of the present application;
图3是根据本申请其中一实施例的一种可选的本地存储声纹信息和控制方式的对 应关系的示意图;3 is a schematic diagram of an optional local storage voiceprint information and a control mode according to an embodiment of the present application;
图4是根据本申请其中一实施例的一种可选的服务器存储声纹信息和控制方式的对应关系的示意图;4 is a schematic diagram of an optional server storing voiceprint information and a control manner according to an embodiment of the present application;
图5是根据本申请其中一实施例的一种可选的获取本地存储的控制方式的示意图;FIG. 5 is a schematic diagram of an optional control method for acquiring local storage according to an embodiment of the present application; FIG.
图6是根据本申请其中一实施例的一种可选的获取服务器存储的控制方式的示意图;FIG. 6 is a schematic diagram of an optional control method for acquiring server storage according to an embodiment of the present application; FIG.
图7是根据本申请其中一实施例的另一种电器设备的控制方法的流程图;7 is a flow chart of another method of controlling an electrical device according to an embodiment of the present application;
图8是根据本申请其中一实施例的一种电器设备的控制装置的示意图;FIG. 8 is a schematic diagram of a control device for an electric appliance according to an embodiment of the present application; FIG.
图9是根据本申请其中一实施例的另一种电器设备的控制装置的示意图;以及9 is a schematic diagram of another control device of an electric appliance according to an embodiment of the present application;
图10是根据本申请其中一实施例的一种电器设备的控制系统的示意图。FIG. 10 is a schematic diagram of a control system of an electrical appliance in accordance with one embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
首先,对本申请实施例中出现的技术名词进行解释如下:First, the technical terms appearing in the embodiments of the present application are explained as follows:
声纹识别:是生物识别技术的一种,也称为说话人识别,有两类,即说话人辨认和说话人确认。声纹识别就是把声信号转换成电信号,再用计算机进行识别。声纹识别包含两个关键问题,一是特征提取,二是模式匹配(模式识别)。特征提取的任务是提取并选择对说话人的声纹具有可分性强、稳定性高等特性的声学或语言特征。较好的特征,应该能够有效地区分不同的说话人,但又能在同一说话人语音发生变化时保 持相对的稳定;不易被他人模仿或能够较好地解决被他人模仿问题;具有较好的抗噪性能。Voiceprint recognition: It is a kind of biometric technology, also known as speaker recognition. There are two types, namely, speaker recognition and speaker confirmation. Voiceprint recognition is the conversion of sound signals into electrical signals, which are then identified by a computer. Voiceprint recognition contains two key issues, one is feature extraction and the other is pattern matching (pattern recognition). The task of feature extraction is to extract and select acoustic or linguistic features that are highly distinguishable and highly stable to the speaker's voiceprint. Good features should be able to effectively distinguish between different speakers, but they can remain relatively stable when the same speaker's voice changes; it is not easy to be imitated by others or can better solve the problem of being imitated by others; Anti-noise performance.
用户的操作习惯:指通过用户对某一家电的所有操作行为信息进行分析和理解,总结出用户对某家电的一套个性化使用习惯或使用偏好。家电厂商可以针对用户操作习惯为用户提供个性化的智能服务,从而提高用户体验。User's operating habits: It means that the user analyzes and understands all the operational behavior information of a certain home appliance, and summarizes a set of personalized usage habits or usage preferences of the user for a certain home appliance. Home appliance manufacturers can provide personalized intelligent services to users in accordance with user operating habits, thereby improving the user experience.
实施例1Example 1
根据本申请其中一实施例,提供了一种电器设备的控制方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to one embodiment of the present application, an embodiment of a method of controlling an electrical device is provided. It is noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions. And, although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
图1是根据本申请实施例的一种电器设备的控制方法的流程图,如图1所示,该方法包括如下步骤:FIG. 1 is a flowchart of a method for controlling an electrical device according to an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:
步骤S102,获取目标对象发出的第一语音信息。Step S102: Acquire first voice information sent by the target object.
可选的,在本申请上述实施例中,在第一语音信息包括:启动指令或唤醒指令。Optionally, in the foregoing embodiment of the present application, the first voice information includes: a start instruction or a wake-up instruction.
可选的,上述的目标对象可以是当前通过语音控制电器设备的用户,电器设备上安装有麦克风等语音采集装置,可以采集到用户发出的语音信息;当用户需要通过语音控制电器设备时,用户可以发出控制电器设备启动的启动指令,或者唤醒电器设备的唤醒指令,用户发出的指令与电器设备的状态相关,如果电器设备为关机状态,则用户发出启动指令;如果电气设备为休眠状态,则用户发出唤醒指令。例如,对于空调,在空调关机情况下,用户需要使用空调时,可以发出“开启空调”的语音,该语音中包含有启动指令。Optionally, the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user The start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command. For example, for an air conditioner, when the air conditioner is turned off, when the user needs to use the air conditioner, a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
步骤S104,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息。Step S104: Identifying the first voice information by using a voiceprint recognition model, and determining voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by using machine learning by using a plurality of sets of sample data, and the plurality of sets of sample data includes : Voice information of the target object and matching voiceprint information.
可选的,上述的声纹识别模型可以预先根据用户发出的语音信息进行建模得到,通过声纹识别模型能够对不同的用户进行区分,并得到不同用户的唯一声纹。Optionally, the voiceprint recognition model described above may be previously modeled according to voice information sent by the user, and the voiceprint recognition model can distinguish different users and obtain unique voice patterns of different users.
步骤S106,获取与声纹信息对应的控制方式。Step S106, obtaining a control mode corresponding to the voiceprint information.
可选的,在本申请上述实施例中,控制方式包括:历史控制指令和/或电器设备的历史状态信息。Optionally, in the foregoing embodiment of the present application, the control manner includes: a history control instruction and/or historical state information of the electrical device.
可选的,上述的控制方式可以是用户上一次控制电器设备发出的控制指令,也可 以是该用户对应的一套习惯指令集,也即,对该用户之前控制电器设备发出的所有控制指令进行分析汇总所得到的历史控制指令集合,还可以是用户上一次控制电器设备时电器设备的历史状态信息(即上述的电器设备的历史状态信息),例如,对于空调,上述的历史状态信息可以是用户上一次控制空调时空调的工作模式、设定温度、设定风速、扫风方向等。Optionally, the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device. The historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above). For example, for the air conditioner, the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
步骤S108,根据控制方式,对电器设备进行控制。Step S108, controlling the electrical equipment according to the control mode.
可选的,上述的电器设备可以是具有语音控制功能的家用电器。Optionally, the electrical device described above may be a home appliance having a voice control function.
在一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史控制指令,也即,查询到该用户上次的控制指令或习惯指令集,电器设备执行查询到的历史控制指令,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In an optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may input the voice information after collecting the voice message sent by the user. In the pre-established voiceprint recognition model, the voiceprint corresponding to the user is obtained, and the history control instruction corresponding to the voiceprint is further queried from the storage device, that is, the last control command or the custom instruction set of the user is queried. The electrical device executes the queried historical control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
在另一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史状态信息,也即,查询到该用户上次控制电器设备时电器设备的历史状态信息,电器设备执行查询到的历史状态信息对应的命令集,或按照将吱声状态信息调整为查询到的历史状态信息,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In another optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may input the voice information after collecting the voice information sent by the user. Go to the pre-established voiceprint recognition model, obtain the voiceprint corresponding to the user, and further query the historical state information corresponding to the voiceprint from the storage device, that is, query the electrical device when the user last controls the electrical device The historical state information, the electrical device performs a query set corresponding to the historical state information, or adjusts the click state information to the queried historical state information, thereby realizing the user's judgment through the voiceprint information, and executing the user corresponding Historical control instructions.
通过本申请上述实施例,获取目标对象发出的第一语音信息,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制。容易注意到的是,由于利用声纹识别区分不同用户的声纹信息,并将不同用户的声纹信息与控制指令进行一一对应绑定,实现对不同用户进行区分,并根据不同用户的控制习惯对电器设备进行控制,达到了提高电器设备的个性化,提升用户体验感的技术效果,进而解决了现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低技术问题。Through the foregoing embodiment of the present application, the first voice information sent by the target object is obtained, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained. According to the control method, the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
可选的,在本申请上述实施例中,在步骤S104,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息之前,该方法还包括:Optionally, in the foregoing embodiment of the present application, before the first voice information is identified by using the voiceprint recognition model to determine the voiceprint information corresponding to the target object, the method further includes:
步骤S110,获取目标对象发出的多个第二语音信息,其中,每个第二语音信息包括如下之一:控制指令、唤醒指令和预设指令。Step S110: Acquire a plurality of second voice information sent by the target object, where each second voice information includes one of: a control instruction, a wake-up instruction, and a preset instruction.
可选的,上述的预设指令可以是预设的建立声纹识别模型的指令。Optionally, the preset instruction may be a preset instruction for establishing a voiceprint recognition model.
步骤S112,提取多个第二语音信息中的声纹特征,得到多组样本数据。Step S112, extracting a voiceprint feature in the plurality of second voice information to obtain a plurality of sets of sample data.
步骤S114,建立预设识别模型,并利用多组样本数据对预设识别模型进行训练,得到声纹识别模型。Step S114, establishing a preset recognition model, and training the preset recognition model by using a plurality of sets of sample data to obtain a voiceprint recognition model.
在一种可选的方案中,为了能够利用声纹信息对不同的用户进行区分,首先需要建立声纹识别模型,用户可以多次向电器设备发出语音信息,电器设备在接收到用户多次发出的语音信息之后,可以对每次接收到的语音信息进行声纹分析,提取声纹体征,从而得到该用户对应的多个声纹体征,也即,得到多组样本数据,进一步利用多组样本数据对建立好的预设识别模型进行训练,以得到声纹识别模型,该声纹识别模型可以存储在电器设备本地存储装置中,也可以通过电器设备的无线模块发送至服务器进行存储。In an optional solution, in order to distinguish different users by using voiceprint information, firstly, a voiceprint recognition model needs to be established, and the user can send voice information to the electrical device multiple times, and the electrical device sends the user multiple times after receiving the user. After the voice information, the voiceprint analysis can be performed on each received voice information, and the voiceprint sign is extracted, thereby obtaining a plurality of voiceprint signs corresponding to the user, that is, obtaining multiple sets of sample data, and further utilizing multiple sets of samples. The data is trained on the established preset recognition model to obtain a voiceprint recognition model. The voiceprint recognition model may be stored in the local storage device of the electrical device, or may be sent to the server for storage by the wireless module of the electrical device.
可选的,在本申请上述实施例中,在控制方式包括:历史控制指令的情况下,在步骤S114,利用多组样本数据对预设识别模型进行训练,得到声纹识别模型之后,该方法还包括:Optionally, in the foregoing embodiment of the present application, in a case that the control mode includes: a history control instruction, in step S114, the preset recognition model is trained by using a plurality of sets of sample data to obtain a voiceprint recognition model, and the method is Also includes:
步骤S116,获取目标对象发出的第三语音信息,其中,第三语音信息包括:历史控制指令。Step S116: Acquire third voice information sent by the target object, where the third voice information includes: a history control instruction.
步骤S118,利用声纹识别模型对第三语音信息进行识别,确定与目标对象对应的声纹信息。Step S118: Identify the third voice information by using the voiceprint recognition model, and determine voiceprint information corresponding to the target object.
步骤S120,根据历史控制指令和声纹信息,得到历史控制指令与声纹信息的对应关系。Step S120, obtaining a correspondence between the history control command and the voiceprint information according to the history control instruction and the voiceprint information.
在一种可选的方案中,在声纹识别模型建立成功之后,用户可以向电器设备发出包含控制指令的语音信息,电器设备执行该控制指令,同时将语音信息输入至声纹识别模型,得到该用户的声纹信息,也即,对用户发出的语音信息进行声纹配对,配对成功之后,可以得到控制指令和声纹信息的对应关系,并将控制指令和声纹信息的对应关系存储在电器设备的本地存储装置中,也可以将控制指令和声纹信息的对应关系通过无线模块发送至服务器进行存储。In an optional solution, after the voiceprint recognition model is successfully established, the user may send voice information including a control instruction to the electrical device, and the electrical device executes the control command, and simultaneously inputs the voice information into the voiceprint recognition model to obtain The voiceprint information of the user, that is, the voiceprint pairing of the voice information sent by the user, after the pairing is successful, the correspondence between the control command and the voiceprint information can be obtained, and the correspondence between the control command and the voiceprint information is stored in the In the local storage device of the electrical device, the correspondence between the control command and the voiceprint information may also be sent to the server for storage through the wireless module.
可选的,在本申请上述实施例中,在步骤S120,根据历史控制指令和声纹信息,得到历史控制指令与声纹信息的对应关系之后,该方法还包括:Optionally, in the foregoing embodiment of the present application, after the correspondence between the history control command and the voiceprint information is obtained according to the historical control instruction and the voiceprint information, the method further includes:
步骤S122,获取声纹信息对应的至少一个历史控制指令。Step S122: Acquire at least one history control instruction corresponding to the voiceprint information.
步骤S124,对至少一个历史控制指令进行处理,得到声纹信息对应的历史控制指令集合。Step S124, processing at least one history control instruction to obtain a history control instruction set corresponding to the voiceprint information.
在一种可选的方案中,电器设备或者服务器可以定期、不定期或者实时将一个用户对应的控制指令,也即,同一个声纹信息对应的控制指令进行分析汇总,总结用户的控制习惯,从而得到用户的一套习惯指令集。In an optional solution, the electrical equipment or the server may analyze and summarize the control instructions corresponding to one user, that is, the control commands corresponding to the same voiceprint information, periodically, irregularly, or in real time, and summarize the control habits of the user. Thereby getting a set of custom instructions from the user.
可选的,在本申请上述实施例中,在控制方式包括:电器设备的历史状态信息的情况下,在步骤S114,利用多组样本数据对预设识别模型进行训练,得到声纹识别模型之后,该方法还包括:Optionally, in the foregoing embodiment of the present application, in the case that the control mode includes: historical state information of the electrical device, in step S114, the preset recognition model is trained by using the plurality of sets of sample data to obtain the voiceprint recognition model. The method further includes:
步骤S126,获取目标对象发出的第三语音信息,其中,第三语音信息包括:历史控制指令。Step S126: Acquire third voice information sent by the target object, where the third voice information includes: a history control instruction.
步骤S128,将第三语音信息输入至声纹识别模型,得到目标对象对应的声纹信息。Step S128, the third voice information is input to the voiceprint recognition model, and the voiceprint information corresponding to the target object is obtained.
步骤S130,根据历史控制指令,对电器设备进行控制,并获取电器设备的历史状态信息。Step S130, according to the historical control instruction, control the electrical device, and acquire historical state information of the electrical device.
步骤S132,根据电器设备的历史状态信息和声纹信息,得到电器设备的历史状态信息与声纹信息的对应关系。Step S132, obtaining a correspondence between the historical state information of the electrical device and the voiceprint information according to the historical state information and the voiceprint information of the electrical device.
在一种可选的方案中,在声纹识别模型建立成功之后,用户可以向电器设备发出包含控制指令的语音信息,电器设备执行该控制指令,并获取电器设备的状态信息,同时将语音信息输入至声纹识别模型,得到该用户的声纹信息,也即,对用户发出的语音信息进行声纹配对,配对成功之后,可以得到电器设备的状态信息和声纹信息的对应关系,并将电器设备的状态信息和声纹信息的对应关系存储在电器设备的本地存储装置中,也可以将电器设备的状态信息和声纹信息的对应关系通过无线模块发送至服务器进行存储。In an optional solution, after the voiceprint recognition model is successfully established, the user may send voice information including a control instruction to the electrical device, the electrical device executes the control command, and acquires state information of the electrical device, and simultaneously performs voice information. Inputting to the voiceprint recognition model, obtaining the voiceprint information of the user, that is, performing voiceprint matching on the voice information sent by the user, and after the pairing is successful, the correspondence between the state information of the electrical device and the voiceprint information can be obtained, and The correspondence between the state information of the electrical device and the voiceprint information is stored in the local storage device of the electrical device, and the correspondence between the state information of the electrical device and the voiceprint information may be sent to the server for storage through the wireless module.
可选的,在本申请上述实施例中,控制方式存储在电器设备和/或服务器的存储装置中,其中,步骤S106,获取与声纹信息对应的控制方式包括如下一种或多种:Optionally, in the foregoing embodiment of the present application, the control mode is stored in the storage device of the electrical device and/or the server, and in step S106, the control manner corresponding to the voiceprint information includes one or more of the following:
步骤S1062,根据声纹信息,从电器设备的存储装置中获取控制方式。Step S1062, obtaining a control mode from the storage device of the electric device according to the voiceprint information.
步骤S1064,将声纹信息发送至服务器,并接收服务器返回的控制方式。In step S1064, the voiceprint information is sent to the server, and the control mode returned by the server is received.
在一种可选的方案中,由于控制方式存储在电器设备的本地存储装置中,或服务器中,因此,在获取到用户的声纹信息之后,可以从电器设备的本地存储装置中读取与声纹信息对应的控制方式,也可以通过无线模块将声纹信息发送给服务器,由服务器查询到与声纹信息对应的控制方式,然后根据控制方式控制电器设备。In an optional solution, since the control mode is stored in the local storage device of the electrical device, or in the server, after the voiceprint information of the user is acquired, the local storage device of the electrical device can be read and The control method corresponding to the voiceprint information may also send the voiceprint information to the server through the wireless module, and the server queries the control mode corresponding to the voiceprint information, and then controls the electrical device according to the control mode.
需要说明的是,为了降低电器设备存储数据的存储量,不同用户的声纹信息与控制指令的对应关系可以存储在服务器中。It should be noted that, in order to reduce the storage amount of the stored data of the electrical device, the correspondence between the voiceprint information of different users and the control command may be stored in the server.
可选的,在本申请上述实施例中,在步骤S102,获取目标对象发出的第一语音信息之后,该方法还包括:Optionally, in the foregoing embodiment of the present application, after acquiring the first voice information sent by the target object in step S102, the method further includes:
步骤S134,对第一语音信息进行识别,判断第一语音信息是否包含启动指令或唤醒指令。Step S134, identifying the first voice information, and determining whether the first voice information includes a start command or a wake-up command.
步骤S136,如果确定第一语音信息包含启动指令或唤醒指令,则利用声纹识别模型对第一语音信息进行再次识别,确定与目标对象对应的声纹信息。Step S136, if it is determined that the first voice information includes a start command or a wake-up command, the first voice information is re-identified by the voiceprint recognition model, and the voiceprint information corresponding to the target object is determined.
步骤S138,如果确定第一语音信息不包含启动指令或唤醒指令,则不利用声纹识别模型对第一语音信息进行再次识别。Step S138, if it is determined that the first voice information does not include a start command or a wake-up command, the first voice information is not recognized again by using the voiceprint recognition model.
在一种可选的方案中,为了防止电器设备的误操作,电器设备在接收到用户发出的语音信息之后,首先对语音信息进行语音识别,判断语音信息是否包含启动指令、或唤醒指令,如果确定语音信息包含任意一个指令,则确定用户需要对电器设备进行控制,进一步可以将语音信息输入至声纹识别模型,得到该用户的声纹信息,并根据与该用户的声纹信息对应的控制方式控制电器设备。In an optional solution, in order to prevent the erroneous operation of the electrical device, after receiving the voice information sent by the user, the electrical device first performs voice recognition on the voice information, and determines whether the voice information includes a start command or a wake-up command, if Determining that the voice information includes any one of the instructions, determining that the user needs to control the electrical device, and further inputting the voice information into the voiceprint recognition model, obtaining the voiceprint information of the user, and controlling according to the voiceprint information of the user Ways to control electrical equipment.
需要说明的是,在获取到目标对象发出的多个第二语音信息之后,可以对多个第二语音信息进行识别,判断多个第二语音信息是否包含控制指令、唤醒指令或预设指令,如果确定任意一个第二语音信息包含控制指令、唤醒指令或预设指令,则提取该第二语音信息的声纹特征;如果确定任意一个第二语音信息不包含控制指令、唤醒指令或预设指令,则不提取该第二语音信息的声纹特征。It should be noted that, after acquiring the plurality of second voice information sent by the target object, the plurality of second voice information may be identified, and determining whether the plurality of second voice information includes a control instruction, a wake-up instruction, or a preset instruction, If it is determined that any one of the second voice information includes a control instruction, a wake-up instruction, or a preset instruction, extracting a voiceprint feature of the second voice information; if determining that any one of the second voice information does not include a control instruction, a wake-up instruction, or a preset instruction , the voiceprint feature of the second voice information is not extracted.
还需要说明的是,在获取到目标对象发出的第三语音信息之后,可以对第三语音信息进行识别,判断第三语音信息是否包含历史控制指令,如果确定第三语音信息包含历史控制指令,则利用声纹识别模型对第三语音信息进行识别,确定与目标对象对应的声纹信息;如果确定第三语音信息不包含历史控制指令,则不执行第三语音信息。It should be noted that, after acquiring the third voice information sent by the target object, the third voice information may be identified, determining whether the third voice information includes a history control instruction, and if it is determined that the third voice information includes a history control instruction, Then, the third voice information is identified by using the voiceprint recognition model, and the voiceprint information corresponding to the target object is determined; if it is determined that the third voice information does not include the history control instruction, the third voice information is not executed.
图2是根据本申请实施例的一种可选的建立声纹识别模型的示意图,图3是根据本申请实施例的一种可选的本地存储声纹信息和控制方式的对应关系的示意图,图4是根据本申请实施例的一种可选的服务器存储声纹信息和控制方式的对应关系的示意图,图5是根据本申请实施例的一种可选的获取本地存储的控制方式的示意图,图6是根据本申请实施例的一种可选的获取服务器存储的控制方式的示意图,下面结合图2至图6对本申请一种优选的实施例进行详细说明。2 is a schematic diagram of an optional voiceprint recognition model according to an embodiment of the present application, and FIG. 3 is a schematic diagram of an optional local storage voiceprint information and a control manner according to an embodiment of the present application. FIG. 4 is a schematic diagram of an optional server storing voiceprint information and a control manner according to an embodiment of the present application. FIG. 5 is a schematic diagram of an optional control method for acquiring local storage according to an embodiment of the present application. FIG. 6 is a schematic diagram of an optional control method for acquiring server storage according to an embodiment of the present application. A preferred embodiment of the present application is described in detail below with reference to FIG. 2 to FIG. 6 .
如图2所示,用户可以对语音家电(即上述的电器设备)发声,语音家电可以接收到用户发出的三个声音,即人声A、人声B和人声C,语音家电的语音模块对接收到的声音进行声纹分析,提取声纹的特征,得到三个声纹,即声纹A、声纹B和声纹C,进一步可以建立声纹识别模型。As shown in FIG. 2, the user can voice the voice appliance (ie, the above-mentioned electrical appliance), and the voice appliance can receive three voices sent by the user, namely, vocal A, vocal B, and vocal C, and voice module of the voice appliance. The voiceprint analysis is performed on the received sound, and the characteristics of the voiceprint are extracted to obtain three voiceprints, namely voiceprint A, voiceprint B, and voiceprint C, and a voiceprint recognition model can be further established.
如图3和图4所示,声纹识别模型建立成功之后,用户可以对语音家电发出控制指令,语音家电的语音模块通过声纹识别模型对控制指令进行声纹配对,配对成功后,将对应该声纹的控制指令进行本地存储,也可以通过语音家电的无线模块将对应该声纹的控制指令发送至服务器进行数据存储。As shown in FIG. 3 and FIG. 4, after the voiceprint recognition model is successfully established, the user can issue a control command to the voice home appliance, and the voice module of the voice home appliance performs voiceprint matching on the control command through the voiceprint recognition model, and after the pairing is successful, the pair will be The control command of the voiceprint should be stored locally, or the control module corresponding to the voiceprint can be sent to the server for data storage through the wireless module of the voice appliance.
如图5和图6所示,当用户需要控制语音家电时,用户可以对语音家电发出开机指令或唤醒指令,语音家电的语音模块通过声纹识别模型对开机指令或唤醒指令进行声纹匹配,通过匹配出的声纹信息从本地存储中查询对应的控制方式,将查询到的控制方式传输给语音家电的控制模块,控制模块执行该控制方式。也可以通过语音家电的无线模块将匹配出的声纹信息发送至服务器,由服务器查询对应的控制方式,无线模块将从服务器查询出的控制方式传递给控制模块,控制模块执行该控制方式。As shown in FIG. 5 and FIG. 6 , when the user needs to control the voice home appliance, the user may issue a power-on command or a wake-up command to the voice home appliance, and the voice module of the voice home appliance performs voiceprint matching on the power-on command or the wake-up command through the voiceprint recognition model. The corresponding control mode is queried from the local storage through the matched voiceprint information, and the queried control mode is transmitted to the control module of the voice home appliance, and the control module executes the control mode. The matched voiceprint information may also be sent to the server through the wireless module of the voice appliance, and the server queries the corresponding control mode, and the wireless module transmits the control mode queried from the server to the control module, and the control module executes the control mode.
通过上述方案,通过利用声纹识别对操作指令与用户个人进行一一对应绑定,通过声纹来区分不同人员对家电不同的操作需求,提高用户操作的个性化,提升用户体验。Through the above scheme, the voice command is used to bind the operation command to the individual of the user one by one, and the voiceprint is used to distinguish different operation requirements of different people on the home appliance, thereby improving the personalization of the user operation and improving the user experience.
实施例2Example 2
根据本申请其中一实施例,提供了一种电器设备的控制方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to one embodiment of the present application, an embodiment of a method of controlling an electrical device is provided. It is noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions. And, although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
图7是根据本申请实施例的另一种电器设备的控制方法的流程图,如图7所示,该方法包括如下步骤:FIG. 7 is a flowchart of another method for controlling an electrical device according to an embodiment of the present application. As shown in FIG. 7, the method includes the following steps:
步骤S702,获取目标对象发出的第一语音信息。Step S702, acquiring first voice information sent by the target object.
可选的,在本申请上述实施例中,在第一语音信息包括:启动指令或唤醒指令。Optionally, in the foregoing embodiment of the present application, the first voice information includes: a start instruction or a wake-up instruction.
可选的,上述的目标对象可以是当前通过语音控制电器设备的用户,电器设备上安装有麦克风等语音采集装置,可以采集到用户发出的语音信息;当用户需要通过语音控制电器设备时,用户可以发出控制电器设备启动的启动指令,或者唤醒电器设备的唤醒指令,用户发出的指令与电器设备的状态相关,如果电器设备为关机状态,则用户发出启动指令;如果电气设备为休眠状态,则用户发出唤醒指令。例如,对于空调,在空调关机情况下,用户需要使用空调时,可以发出“开启空调”的语音,该语音中包含有启动指令。Optionally, the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user The start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command. For example, for an air conditioner, when the air conditioner is turned off, when the user needs to use the air conditioner, a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
步骤S704,对第一语音信息进行识别,确定与目标对象对应的声纹信息。Step S704, identifying the first voice information, and determining voiceprint information corresponding to the target object.
步骤S706,获取与声纹信息对应的控制方式。Step S706, obtaining a control manner corresponding to the voiceprint information.
可选的,在本申请上述实施例中,控制方式包括:历史控制指令和/或电器设备的历史状态信息。Optionally, in the foregoing embodiment of the present application, the control manner includes: a history control instruction and/or historical state information of the electrical device.
可选的,上述的控制方式可以是用户上一次控制电器设备发出的控制指令,也可以是该用户对应的一套习惯指令集,也即,对该用户之前控制电器设备发出的所有控制指令进行分析汇总所得到的历史控制指令集合,还可以是用户上一次控制电器设备时电器设备的历史状态信息(即上述的电器设备的历史状态信息),例如,对于空调,上述的历史状态信息可以是用户上一次控制空调时空调的工作模式、设定温度、设定风速、扫风方向等。Optionally, the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device. The historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above). For example, for the air conditioner, the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
步骤S708,根据控制方式,对电器设备进行控制。Step S708, controlling the electrical device according to the control mode.
可选的,上述的电器设备可以是具有语音控制功能的家用电器。Optionally, the electrical device described above may be a home appliance having a voice control function.
在一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以对语音信息进行声纹识别,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史控制指令,也即,查询到该用户上次的控制指令或习惯指令集,电器设备执行查询到的历史控制指令,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In an optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may sound the voice information after collecting the voice information sent by the user. Pattern recognition, obtaining the voiceprint corresponding to the user, further querying the history control instruction corresponding to the voiceprint from the storage device, that is, querying the last control command or custom instruction set of the user, and the electrical device performs the query The history control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
在另一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以对语音信息进行声纹识别,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史状态信息,也即,查询到该用户上次控制电器设备时电器设备的历史状态信息,电器设备执行查询到的历史状态信息对应的命令集,或按照将吱声状态信息调整为查询到的历史状态信息,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In another optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may perform voice information after collecting the voice message sent by the user. The voiceprint is recognized, the voiceprint corresponding to the user is obtained, and the historical state information corresponding to the voiceprint is further queried from the storage device, that is, the historical state information of the electrical device when the user last controls the electrical device is queried, and the electrical appliance The device executes the command set corresponding to the historical state information that is queried, or adjusts the squeak state information to the queried historical state information, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
通过本申请上述实施例,获取目标对象发出的第一语音信息,对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制。容易注意到的是,由于利用声纹识别区分不同用户的声纹信息,并将不同用户的声纹信息与控制指令进行一一对应绑定,实现对不同用户进行区分,并根据不同用户的控制习惯对电器设备进行控制,达到了提高电器设备的个性化,提升用户体验感的技术效果,进而解决了现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低技术问题。Through the foregoing embodiment of the present application, the first voice information sent by the target object is obtained, the first voice information is identified, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained, according to the control manner, Electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
可选的,在本申请上述实施例中,步骤S704,对第一语音信息进行识别,确定与目标对象对应的声纹信息包括:Optionally, in the foregoing embodiment of the present application, in step S704, the first voice information is identified, and the voiceprint information corresponding to the target object is determined to include:
步骤S7042,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息。Step S7042: Identifying the first voice information by using a voiceprint recognition model, and determining voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by using machine learning using a plurality of sets of sample data, and the plurality of sets of sample data includes : Voice information of the target object and matching voiceprint information.
可选的,上述的声纹识别模型可以预先根据用户发出的语音信息进行建模得到,通过声纹识别模型能够对不同的用户进行区分,并得到不同用户的唯一声纹。Optionally, the voiceprint recognition model described above may be previously modeled according to voice information sent by the user, and the voiceprint recognition model can distinguish different users and obtain unique voice patterns of different users.
在一种可选的方案中,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹。In an optional solution, after collecting the voice information sent by the user, the electrical device may input the voice information into a pre-established voiceprint recognition model to obtain a voiceprint corresponding to the user.
实施例3Example 3
根据本申请其中一实施例,提供了一种电器设备的控制装置的实施例。According to one embodiment of the present application, an embodiment of a control device for an electrical device is provided.
图8是根据本申请实施例的一种电器设备的控制装置的示意图,如图8所示,该装置包括:FIG. 8 is a schematic diagram of a control device for an electrical device according to an embodiment of the present application. As shown in FIG. 8, the device includes:
第一获取模块82,设置为获取目标对象发出的第一语音信息。The first obtaining module 82 is configured to acquire first voice information sent by the target object.
可选的,在本申请上述实施例中,在第一语音信息包括:启动指令或唤醒指令。Optionally, in the foregoing embodiment of the present application, the first voice information includes: a start instruction or a wake-up instruction.
可选的,上述的目标对象可以是当前通过语音控制电器设备的用户,电器设备上安装有麦克风等语音采集装置,可以采集到用户发出的语音信息;当用户需要通过语音控制电器设备时,用户可以发出控制电器设备启动的启动指令,或者唤醒电器设备的唤醒指令,用户发出的指令与电器设备的状态相关,如果电器设备为关机状态,则用户发出启动指令;如果电气设备为休眠状态,则用户发出唤醒指令。例如,对于空调,在空调关机情况下,用户需要使用空调时,可以发出“开启空调”的语音,该语音中包含有启动指令。Optionally, the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user The start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command. For example, for an air conditioner, when the air conditioner is turned off, when the user needs to use the air conditioner, a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
识别模块84,设置为利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息。The identification module 84 is configured to identify the first voice information by using a voiceprint recognition model, and determine voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by using a plurality of sets of sample data through machine learning, and multiple groups The sample data includes: voice information of the target object and matching voiceprint information.
可选的,上述的声纹识别模型可以预先根据用户发出的语音信息进行建模得到,通过声纹识别模型能够对不同的用户进行区分,并得到不同用户的唯一声纹。Optionally, the voiceprint recognition model described above may be previously modeled according to voice information sent by the user, and the voiceprint recognition model can distinguish different users and obtain unique voice patterns of different users.
第二获取模块86,设置为获取与声纹信息对应的控制方式。The second obtaining module 86 is configured to acquire a control manner corresponding to the voiceprint information.
可选的,在本申请上述实施例中,控制方式包括:历史控制指令和/或电器设备的历史状态信息。Optionally, in the foregoing embodiment of the present application, the control manner includes: a history control instruction and/or historical state information of the electrical device.
可选的,上述的控制方式可以是用户上一次控制电器设备发出的控制指令,也可 以是该用户对应的一套习惯指令集,也即,对该用户之前控制电器设备发出的所有控制指令进行分析汇总所得到的历史控制指令集合,还可以是用户上一次控制电器设备时电器设备的历史状态信息(即上述的电器设备的历史状态信息),例如,对于空调,上述的历史状态信息可以是用户上一次控制空调时空调的工作模式、设定温度、设定风速、扫风方向等。Optionally, the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device. The historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above). For example, for the air conditioner, the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
控制模块88,设置为根据控制方式,对电器设备进行控制。The control module 88 is configured to control the electrical device according to the control mode.
可选的,上述的电器设备可以是具有语音控制功能的家用电器。Optionally, the electrical device described above may be a home appliance having a voice control function.
在一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史控制指令,也即,查询到该用户上次的控制指令或习惯指令集,电器设备执行查询到的历史控制指令,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In an optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may input the voice information after collecting the voice message sent by the user. In the pre-established voiceprint recognition model, the voiceprint corresponding to the user is obtained, and the history control instruction corresponding to the voiceprint is further queried from the storage device, that is, the last control command or the custom instruction set of the user is queried. The electrical device executes the queried historical control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
在另一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史状态信息,也即,查询到该用户上次控制电器设备时电器设备的历史状态信息,电器设备执行查询到的历史状态信息对应的命令集,或按照将吱声状态信息调整为查询到的历史状态信息,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In another optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may input the voice information after collecting the voice information sent by the user. Go to the pre-established voiceprint recognition model, obtain the voiceprint corresponding to the user, and further query the historical state information corresponding to the voiceprint from the storage device, that is, query the electrical device when the user last controls the electrical device The historical state information, the electrical device performs a query set corresponding to the historical state information, or adjusts the click state information to the queried historical state information, thereby realizing the user's judgment through the voiceprint information, and executing the user corresponding Historical control instructions.
通过本申请上述实施例,获取目标对象发出的第一语音信息,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制。容易注意到的是,由于利用声纹识别区分不同用户的声纹信息,并将不同用户的声纹信息与控制指令进行一一对应绑定,实现对不同用户进行区分,并根据不同用户的控制习惯对电器设备进行控制,达到了提高电器设备的个性化,提升用户体验感的技术效果,进而解决了现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低技术问题。Through the foregoing embodiment of the present application, the first voice information sent by the target object is obtained, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained. According to the control method, the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
实施例4Example 4
根据本申请其中一实施例,提供了一种电器设备的控制装置的实施例。According to one embodiment of the present application, an embodiment of a control device for an electrical device is provided.
图9是根据本申请实施例的另一种电器设备的控制装置的示意图,如图9所示,该装置包括:9 is a schematic diagram of another control device for an electrical device according to an embodiment of the present application. As shown in FIG. 9, the device includes:
第一获取模块92,设置为获取目标对象发出的第一语音信息。The first obtaining module 92 is configured to acquire first voice information sent by the target object.
可选的,在本申请上述实施例中,在第一语音信息包括:启动指令或唤醒指令。Optionally, in the foregoing embodiment of the present application, the first voice information includes: a start instruction or a wake-up instruction.
可选的,上述的目标对象可以是当前通过语音控制电器设备的用户,电器设备上安装有麦克风等语音采集装置,可以采集到用户发出的语音信息;当用户需要通过语音控制电器设备时,用户可以发出控制电器设备启动的启动指令,或者唤醒电器设备的唤醒指令,用户发出的指令与电器设备的状态相关,如果电器设备为关机状态,则用户发出启动指令;如果电气设备为休眠状态,则用户发出唤醒指令。例如,对于空调,在空调关机情况下,用户需要使用空调时,可以发出“开启空调”的语音,该语音中包含有启动指令。Optionally, the target object may be a user currently controlling the electrical device by voice, and a voice collection device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; when the user needs to control the electrical device through voice, the user The start command for controlling the start of the electrical device may be issued, or the wake-up command of the electrical device may be woken up, and the command issued by the user is related to the state of the electrical device. If the electrical device is in the off state, the user issues a start command; if the electrical device is in the sleep state, then The user issues a wake-up command. For example, for an air conditioner, when the air conditioner is turned off, when the user needs to use the air conditioner, a voice of “turning on the air conditioner” may be issued, and the voice includes a start command.
识别模块94,设置为对第一语音信息进行识别,确定与目标对象对应的声纹信息。The identification module 94 is configured to identify the first voice information and determine voiceprint information corresponding to the target object.
第二获取模块96,设置为获取与声纹信息对应的控制方式。The second obtaining module 96 is configured to acquire a control manner corresponding to the voiceprint information.
可选的,在本申请上述实施例中,控制方式包括:历史控制指令和/或电器设备的历史状态信息。Optionally, in the foregoing embodiment of the present application, the control manner includes: a history control instruction and/or historical state information of the electrical device.
可选的,上述的控制方式可以是用户上一次控制电器设备发出的控制指令,也可以是该用户对应的一套习惯指令集,也即,对该用户之前控制电器设备发出的所有控制指令进行分析汇总所得到的历史控制指令集合,还可以是用户上一次控制电器设备时电器设备的历史状态信息(即上述的电器设备的历史状态信息),例如,对于空调,上述的历史状态信息可以是用户上一次控制空调时空调的工作模式、设定温度、设定风速、扫风方向等。Optionally, the foregoing control manner may be a control instruction issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, performing all control commands issued by the user before controlling the electrical device. The historical control instruction set obtained by the analysis and summary may also be the historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above). For example, for the air conditioner, the historical state information may be The operating mode, set temperature, set wind speed, and sweep direction of the air conditioner when the user last controlled the air conditioner.
控制模块98,设置为根据控制方式,对电器设备进行控制。The control module 98 is configured to control the electrical device according to the control mode.
可选的,上述的电器设备可以是具有语音控制功能的家用电器。Optionally, the electrical device described above may be a home appliance having a voice control function.
在一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以对语音信息进行声纹识别,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史控制指令,也即,查询到该用户上次的控制指令或习惯指令集,电器设备执行查询到的历史控制指令,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In an optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may sound the voice information after collecting the voice information sent by the user. Pattern recognition, obtaining the voiceprint corresponding to the user, further querying the history control instruction corresponding to the voiceprint from the storage device, that is, querying the last control command or custom instruction set of the user, and the electrical device performs the query The history control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
在另一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以对语音信息进行声纹识别,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史状态信息,也即,查询到该用户上次控制电器设备时电器设备的历史 状态信息,电器设备执行查询到的历史状态信息对应的命令集,或按照将吱声状态信息调整为查询到的历史状态信息,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In another optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may perform voice information after collecting the voice message sent by the user. The voiceprint is recognized, the voiceprint corresponding to the user is obtained, and the historical state information corresponding to the voiceprint is further queried from the storage device, that is, the historical state information of the electrical device when the user last controls the electrical device is queried, and the electrical appliance The device executes the command set corresponding to the historical state information that is queried, or adjusts the squeak state information to the queried historical state information, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
通过本申请上述实施例,获取目标对象发出的第一语音信息,对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制。容易注意到的是,由于利用声纹识别区分不同用户的声纹信息,并将不同用户的声纹信息与控制指令进行一一对应绑定,实现对不同用户进行区分,并根据不同用户的控制习惯对电器设备进行控制,达到了提高电器设备的个性化,提升用户体验感的技术效果,进而解决了现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低技术问题。Through the foregoing embodiment of the present application, the first voice information sent by the target object is obtained, the first voice information is identified, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained, according to the control manner, Electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
实施例5Example 5
根据本申请其中一实施例,提供了一种电器设备的控制系统的实施例。According to one embodiment of the present application, an embodiment of a control system for an electrical device is provided.
图10是根据本申请实施例的一种电器设备的控制系统的示意图,如图10所示,该系统包括:采集装置102、处理器104和控制器106。FIG. 10 is a schematic diagram of a control system of an electrical appliance according to an embodiment of the present application. As shown in FIG. 10, the system includes a collection device 102, a processor 104, and a controller 106.
其中,采集装置102设置为采集目标对象发出的第一语音信息;处理器104与采集装置连接,设置为利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,并获取与声纹信息对应的控制方式,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息;控制器106与处理器连接,设置为根据控制方式,对电器设备进行控制。The collecting device 102 is configured to collect the first voice information sent by the target object, and the processor 104 is connected to the collecting device, and is configured to identify the first voice information by using the voiceprint recognition model, and determine the voiceprint information corresponding to the target object. And obtaining a control method corresponding to the voiceprint information, wherein the voiceprint recognition model is trained by using a plurality of sets of sample data through machine learning, and the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; The device 106 is coupled to the processor and is configured to control the electrical device in accordance with a control mode.
可选的,上述的采集装置可以是电器设备上安装的麦克风,但不仅限于此,本申请对此不作具体限定;上述的处理器可以是电器设备的语音模块;上述的控制器106可以是电器设备的控制模块;上述的目标对象可以是当前通过语音控制电器设备的用户,电器设备上安装有麦克风等语音采集装置,可以采集到用户发出的语音信息;上述的声纹识别模型可以预先根据用户发出的语音信息进行建模得到,通过声纹识别模型能够对不同的用户进行区分,并得到不同用户的唯一声纹;上述的电器设备可以是具有语音控制功能的家用电器。Optionally, the foregoing collecting device may be a microphone installed on the electrical device, but is not limited thereto. The processor may be a voice module of the electrical device; the controller 106 may be an electrical device. The control module of the device; the target object may be a user currently controlling the electrical device by voice, and a voice collecting device such as a microphone is installed on the electrical device, and the voice information sent by the user may be collected; the voiceprint recognition model may be pre-defined according to the user. The sent voice information is modeled, and the voiceprint recognition model can distinguish different users and obtain unique voiceprints of different users; the above electrical device can be a home appliance with voice control function.
可选的,在本申请上述实施例中,在第一语音信息包括:启动指令或唤醒指令,控制方式包括:历史控制指令和/或电器设备的历史状态信息。Optionally, in the foregoing embodiment of the present application, the first voice information includes: a start command or a wake-up command, and the control manner includes: a history control command and/or historical state information of the electrical device.
可选的,当用户需要通过语音控制电器设备时,用户可以发出控制电器设备启动的启动指令,或者唤醒电器设备的唤醒指令,用户发出的指令与电器设备的状态相关,如果电器设备为关机状态,则用户发出启动指令;如果电气设备为休眠状态,则用户 发出唤醒指令。例如,对于空调,在空调关机情况下,用户需要使用空调时,可以发出“开启空调”的语音,该语音中包含有启动指令。上述的控制方式可以是用户上一次控制电器设备发出的控制指令,也可以是该用户对应的一套习惯指令集,也即,对该用户之前控制电器设备发出的所有控制指令进行分析汇总所得到的历史控制指令集合,还可以是用户上一次控制电器设备时电器设备的历史状态信息(即上述的电器设备的历史状态信息),例如,对于空调,上述的历史状态信息可以是用户上一次控制空调时空调的工作模式、设定温度、设定风速、扫风方向等。Optionally, when the user needs to control the electrical device by voice, the user may issue a start command for controlling the start of the electrical device, or wake up the wake-up command of the electrical device, and the command issued by the user is related to the state of the electrical device, if the electrical device is turned off. , the user issues a start command; if the electrical device is in a sleep state, the user issues a wake-up command. For example, for an air conditioner, when the air conditioner is turned off, when the user needs to use the air conditioner, a voice of “turning on the air conditioner” may be issued, and the voice includes a start command. The above control method may be a control command issued by the user last time controlling the electrical device, or may be a set of custom instructions corresponding to the user, that is, analyzing and summarizing all control commands issued by the user before controlling the electrical device. The historical control instruction set may also be historical state information of the electrical device when the user last controlled the electrical device (ie, the historical state information of the electrical device mentioned above). For example, for the air conditioner, the historical state information may be the user's last control. Air conditioner working mode, set temperature, set wind speed, sweep direction, etc. when air conditioning.
在一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史控制指令,也即,查询到该用户上次的控制指令或习惯指令集,电器设备执行查询到的历史控制指令,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In an optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electronic device may input the voice information after collecting the voice message sent by the user. In the pre-established voiceprint recognition model, the voiceprint corresponding to the user is obtained, and the history control instruction corresponding to the voiceprint is further queried from the storage device, that is, the last control command or the custom instruction set of the user is queried. The electrical device executes the queried historical control instruction, thereby realizing the judgment of the user through the voiceprint information, and executing the history control instruction corresponding to the user.
在另一种可选的方案中,当用户需要对电器设备进行控制时,用户可以发出包含启动指令或唤醒指令的语音信息,电器设备在采集到用户发出的语音信息之后,可以将语音信息输入至预先建立的声纹识别模型中,得到该用户对应的声纹,进一步从存储装置中查询到与该声纹对应的历史状态信息,也即,查询到该用户上次控制电器设备时电器设备的历史状态信息,电器设备执行查询到的历史状态信息对应的命令集,或按照将吱声状态信息调整为查询到的历史状态信息,从而实现通过声纹信息对用户进行判断,并执行该用户对应的历史控制指令。In another optional solution, when the user needs to control the electrical device, the user may send a voice message including a start command or a wake-up command, and the electrical device may input the voice information after collecting the voice information sent by the user. Go to the pre-established voiceprint recognition model, obtain the voiceprint corresponding to the user, and further query the historical state information corresponding to the voiceprint from the storage device, that is, query the electrical device when the user last controls the electrical device The historical state information, the electrical device performs a query set corresponding to the historical state information, or adjusts the click state information to the queried historical state information, thereby realizing the user's judgment through the voiceprint information, and executing the user corresponding Historical control instructions.
通过本申请上述实施例,获取目标对象发出的第一语音信息,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制。容易注意到的是,由于利用声纹识别区分不同用户的声纹信息,并将不同用户的声纹信息与控制指令进行一一对应绑定,实现对不同用户进行区分,并根据不同用户的控制习惯对电器设备进行控制,达到了提高电器设备的个性化,提升用户体验感的技术效果,进而解决了现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低技术问题。Through the foregoing embodiment of the present application, the first voice information sent by the target object is obtained, the first voice information is identified by using the voiceprint recognition model, the voiceprint information corresponding to the target object is determined, and the control manner corresponding to the voiceprint information is obtained. According to the control method, the electrical equipment is controlled. It is easy to notice that the voiceprint information is used to distinguish the voiceprint information of different users, and the voiceprint information of different users is bound to the control commands one by one, so as to distinguish different users and control according to different users. It is customary to control the electrical equipment to achieve the technical effect of improving the personalization of the electrical equipment and improving the user experience, thereby solving the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low.
实施例6Example 6
根据本申请其中一实施例,提供了一种存储介质的实施例,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述实施例1或实施例2中的电器设备的控制方法。According to an embodiment of the present application, an embodiment of a storage medium is provided. The storage medium includes a stored program, wherein the device in which the storage medium is located is controlled to execute the electrical device in Embodiment 1 or Embodiment 2 described above when the program is running. Control Method.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码: 获取目标对象发出的第一语音信息;利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息;获取与声纹信息对应的控制方式;根据控制方式,对电器设备进行控制。Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: acquiring first voice information sent by the target object; identifying the first voice information by using a voiceprint recognition model, determining and The voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by machine learning using multiple sets of sample data, and the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; The control method corresponding to the information; according to the control mode, the electrical equipment is controlled.
可选地,在本实施例中,存储介质还可以被设置为存储电器设备的控制方法提供的各种优选地或可选的方法步骤的程序代码。Alternatively, in the present embodiment, the storage medium may also be provided as program code for storing various preferred or optional method steps provided by the control method of the electrical device.
实施例7Example 7
根据本申请其中一实施例,提供了一种处理器的实施例,处理器设置为运行程序,其中,程序运行时执行上述实施例1或实施例2中的电器设备的控制方法。According to an embodiment of the present application, there is provided an embodiment of a processor, the processor being arranged to run a program, wherein the control method of the electrical device in Embodiment 1 or Embodiment 2 is executed when the program is running.
本申请实施例所提供的各个功能模块可以在电器设备或者类似的运算装置中运行,也可以作为存储介质的一部分进行存储。The various functional modules provided by the embodiments of the present application may be operated in an electrical device or a similar computing device, or may be stored as part of a storage medium.
由此,本申请的实施例可以提供一种电器设备。Thus, embodiments of the present application can provide an electrical device.
在本实施例中,上述电器设备以执行电器设备的控制方法中以下步骤的程序代码:获取目标对象发出的第一语音信息;利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,其中,声纹识别模型为使用多组样本数据通过机器学习训练出来的,多组样本数据包括:目标对象的语音信息和相匹配的声纹信息;获取与声纹信息对应的控制方式;根据控制方式,对电器设备进行控制。In the embodiment, the electrical device is configured to execute the following steps in the control method of the electrical device: acquiring the first voice information sent by the target object; using the voiceprint recognition model to identify the first voice information, determining the target object Corresponding voiceprint information, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, and the plurality of sets of sample data includes: voice information of the target object and matching voiceprint information; and obtaining corresponding to the voiceprint information Control method; control the electrical equipment according to the control method.
可选地,该电器设备可以包括:一个或多个处理器、存储器、以及传输装置。Optionally, the electrical device can include: one or more processors, memory, and transmission devices.
其中,存储器可用于存储软件程序以及模块,如本申请实施例中的电器设备的控制方法及装置对应的程序指令/模块,处理器通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的电器设备的控制方法。存储器可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory can be used to store software programs and modules, such as the control method of the electrical device and the program instruction/module corresponding to the device in the embodiment of the present application, and the processor executes various software programs and modules stored in the memory. Functional application and data processing, that is, the control method of the above electrical equipment is realized. The memory may include a high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory can further include memory remotely located relative to the processor, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
上述的传输装置用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The above transmission device is for receiving or transmitting data via a network. Specific examples of the above network may include a wired network and a wireless network. In one example, the transmission device includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, the transmission device is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
其中,具体地,存储器用于存储声纹识别模型、历史控制指令和历史状态信息以 及应用程序。Specifically, the memory is used to store a voiceprint recognition model, history control instructions, and historical state information as well as an application.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行上述方法实施例中的各个可选或优选实施例的方法步骤的程序代码。The processor can call the memory stored information and the application by the transmitting device to execute the program code of the method steps of each of the alternative or preferred embodiments of the above method embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct related hardware, and the program may be stored in a readable storage medium, and the storage medium may include: A disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
如上参照附图以示例的方式描述了根据本申请的电器设备的控制方法及装置。但是,本领域技术人员应当理解,对于上述本申请所提出的电器设备的控制方法及装置,还可以在不脱离本申请内容的基础上做出各种改进。因此,本申请的保护范围应当由所附的权利要求书的内容确定。The control method and apparatus of the electric appliance according to the present application are described by way of example with reference to the accompanying drawings. However, it should be understood by those skilled in the art that various modifications may be made to the control method and apparatus of the electrical device proposed by the present application without departing from the scope of the present application. Therefore, the scope of protection of the present application should be determined by the content of the appended claims.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed technical contents may be implemented in other manners. The device embodiments described above are only schematic. For example, the division of the unit may be a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一 台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. It should be considered as the scope of protection of this application.
工业实用性Industrial applicability
本申请实施例提供的技术方案可以应用于电器设备的运行过程中,采用获取目标对象发出的第一语音信息,利用声纹识别模型对第一语音信息进行识别,确定与目标对象对应的声纹信息,获取与声纹信息对应的控制方式,根据控制方式,对电器设备进行控制的方案,可以解决现有的电器设备无法根据不同用户的控制习惯进行工作,个性化程度低的问题,实现高电器设备的个性化,提升用户体验感的效果。The technical solution provided by the embodiment of the present application can be applied to the operation process of the electrical device, using the first voice information sent by the target object, using the voiceprint recognition model to identify the first voice information, and determining the voiceprint corresponding to the target object. The information, the control method corresponding to the voiceprint information, and the control scheme for the electrical equipment according to the control method can solve the problem that the existing electrical equipment cannot work according to the control habits of different users, and the degree of personalization is low, achieving high The personalization of electrical equipment enhances the user experience.

Claims (15)

  1. 一种电器设备的控制方法,包括:A method of controlling electrical equipment includes:
    获取目标对象发出的第一语音信息;Obtaining the first voice information sent by the target object;
    利用声纹识别模型对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息,其中,所述声纹识别模型为使用多组样本数据通过机器学习训练出来的,所述多组样本数据包括:所述目标对象的语音信息和相匹配的声纹信息;Identifying the first voice information by using a voiceprint recognition model, and determining voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, The plurality of sets of sample data includes: voice information of the target object and matching voiceprint information;
    获取与所述声纹信息对应的控制方式;Obtaining a control manner corresponding to the voiceprint information;
    根据所述控制方式,对电器设备进行控制。According to the control method, the electrical equipment is controlled.
  2. 根据权利要求1所述的方法,其中,所述第一语音信息包括:启动指令或唤醒指令,所述控制方式包括:历史控制指令和/或所述电器设备的历史状态信息。The method of claim 1, wherein the first voice information comprises a start command or a wake-up command, the control mode comprising: a history control command and/or historical state information of the electrical device.
  3. 根据权利要求2所述的方法,其中,在利用声纹识别模型对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息之前,所述方法还包括:The method according to claim 2, wherein before the first voice information is identified by using a voiceprint recognition model, and the voiceprint information corresponding to the target object is determined, the method further includes:
    获取所述目标对象发出的多个第二语音信息,其中,每个第二语音信息包括如下之一:控制指令、唤醒指令和预设指令;Obtaining a plurality of second voice information sent by the target object, where each second voice information includes one of: a control instruction, a wake-up instruction, and a preset instruction;
    提取所述多个第二语音信息中的声纹特征,得到所述多组样本数据;Extracting voiceprint features in the plurality of second voice information to obtain the plurality of sets of sample data;
    建立预设识别模型,并利用所述多组样本数据对所述预设识别模型进行训练,得到所述声纹识别模型。Establishing a preset recognition model, and training the preset recognition model by using the plurality of sets of sample data to obtain the voiceprint recognition model.
  4. 根据权利要求3所述的方法,其中,在所述控制方式包括:所述历史控制指令的情况下,在利用所述多组样本数据对所述预设识别模型进行训练,得到所述声纹识别模型之后,所述方法还包括:The method according to claim 3, wherein, in the case that the control mode comprises: the history control instruction, the preset recognition model is trained by using the plurality of sets of sample data to obtain the voiceprint After identifying the model, the method further includes:
    获取所述目标对象发出的第三语音信息,其中,所述第三语音信息包括:所述历史控制指令;Acquiring the third voice information sent by the target object, where the third voice information includes: the history control instruction;
    利用所述声纹识别模型对所述第三语音信息进行识别,确定与所述目标对象对应的声纹信息;Identifying the third voice information by using the voiceprint recognition model, and determining voiceprint information corresponding to the target object;
    根据所述历史控制指令和所述声纹信息,得到所述历史控制指令与所述声纹信息的对应关系。Corresponding relationship between the history control instruction and the voiceprint information is obtained according to the history control instruction and the voiceprint information.
  5. 根据权利要求4所述的方法,其中,在根据所述历史控制指令和所述声纹信息,得到所述历史控制指令与所述声纹信息的对应关系之后,所述方法还包括:The method according to claim 4, wherein after the correspondence between the history control instruction and the voiceprint information is obtained according to the history control instruction and the voiceprint information, the method further includes:
    获取所述声纹信息对应的至少一个历史控制指令;Obtaining at least one history control instruction corresponding to the voiceprint information;
    对所述至少一个历史控制指令进行处理,得到所述声纹信息对应的历史控制指令集合。Processing the at least one history control instruction to obtain a history control instruction set corresponding to the voiceprint information.
  6. 根据权利要求3所述的方法,其中,在所述控制方式包括:所述电器设备的历史状态信息的情况下,在利用所述多组样本数据对所述预设识别模型进行训练,得到所述声纹识别模型之后,所述方法还包括:The method according to claim 3, wherein, in the case that the control mode comprises: historical state information of the electrical device, the preset recognition model is trained using the plurality of sets of sample data to obtain a After the voiceprint recognition model, the method further includes:
    获取所述目标对象发出的第三语音信息,其中,所述第三语音信息包括:所述历史控制指令;Acquiring the third voice information sent by the target object, where the third voice information includes: the history control instruction;
    将所述第三语音信息输入至所述声纹识别模型,得到所述目标对象对应的声纹信息;Inputting the third voice information into the voiceprint recognition model to obtain voiceprint information corresponding to the target object;
    根据所述历史控制指令,对所述电器设备进行控制,并获取所述电器设备的历史状态信息;Controlling the electrical device according to the historical control instruction, and acquiring historical state information of the electrical device;
    根据所述电器设备的历史状态信息和所述声纹信息,得到所述电器设备的历史状态信息与所述声纹信息的对应关系。Corresponding relationship between the historical state information of the electrical device and the voiceprint information is obtained according to the historical state information of the electrical device and the voiceprint information.
  7. 根据权利要求2所述的方法,其中,所述控制方式存储在所述电器设备和/或服务器的存储装置中,其中,获取与所述声纹信息对应的控制方式包括如下一种或多种:The method according to claim 2, wherein said control mode is stored in a storage device of said electric appliance and/or server, wherein obtaining a control mode corresponding to said voiceprint information comprises one or more of the following :
    根据所述声纹信息,从所述电器设备的存储装置中获取所述控制方式;Obtaining the control mode from a storage device of the electrical device according to the voiceprint information;
    将所述声纹信息发送至服务器,并接收所述服务器返回的所述控制方式。Transmitting the voiceprint information to a server and receiving the control mode returned by the server.
  8. 根据权利要求2所述的方法,其中,在获取目标对象发出的第一语音信息之后,所述方法还包括:The method of claim 2, wherein after acquiring the first voice information sent by the target object, the method further comprises:
    对所述第一语音信息进行识别,判断所述第一语音信息是否包含所述启动指令或所述唤醒指令;Identifying the first voice information, and determining whether the first voice information includes the startup instruction or the wake-up instruction;
    如果确定所述第一语音信息包含所述启动指令或所述唤醒指令,则利用声纹识别模型对所述第一语音信息进行再次识别,确定与所述目标对象对应的声纹信息;If it is determined that the first voice information includes the startup instruction or the wake-up instruction, the first voice information is re-identified by using a voiceprint recognition model, and voiceprint information corresponding to the target object is determined;
    如果确定所述第一语音信息不包含所述启动指令或所述唤醒指令,则不利用声纹识别模型对所述第一语音信息进行再次识别。If it is determined that the first voice information does not include the start command or the wake-up command, the first voice information is not recognized again by using a voiceprint recognition model.
  9. 一种电器设备的控制方法,包括:A method of controlling electrical equipment includes:
    获取目标对象发出的第一语音信息;Obtaining the first voice information sent by the target object;
    对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息;Identifying the first voice information, and determining voiceprint information corresponding to the target object;
    获取与所述声纹信息对应的控制方式;Obtaining a control manner corresponding to the voiceprint information;
    根据所述控制方式,对电器设备进行控制。According to the control method, the electrical equipment is controlled.
  10. 根据权利要求9所述的方法,其中,所述第一语音信息包括:启动指令或唤醒指令,其中,对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息包括:The method according to claim 9, wherein the first voice information comprises: a start instruction or a wake-up instruction, wherein the identifying the first voice information, determining the voiceprint information corresponding to the target object comprises:
    利用声纹识别模型对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息,其中,所述声纹识别模型为使用多组样本数据通过机器学习训练出来的,所述多组样本数据包括:所述目标对象的语音信息和相匹配的声纹信息。Identifying the first voice information by using a voiceprint recognition model, and determining voiceprint information corresponding to the target object, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, The plurality of sets of sample data includes: voice information of the target object and matching voiceprint information.
  11. 一种电器设备的控制装置,包括:A control device for an electrical device, comprising:
    第一获取模块,设置为获取目标对象发出的第一语音信息;a first acquiring module, configured to acquire first voice information sent by the target object;
    识别模块,设置为利用声纹识别模型对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息,其中,所述声纹识别模型为使用多组样本数据通过机器学习训练出来的,所述多组样本数据包括:所述目标对象的语音信息和相匹配的声纹信息;An identification module configured to identify the first voice information by using a voiceprint recognition model to determine voiceprint information corresponding to the target object, wherein the voiceprint recognition model is to use machine learning training by using multiple sets of sample data And the plurality of sets of sample data includes: voice information of the target object and matched voiceprint information;
    第二获取模块,设置为获取与所述声纹信息对应的控制方式;a second acquiring module, configured to acquire a control manner corresponding to the voiceprint information;
    控制模块,设置为根据所述控制方式,对电器设备进行控制。The control module is configured to control the electrical device according to the control mode.
  12. 一种电器设备的控制装置,包括:A control device for an electrical device, comprising:
    第一获取模块,设置为获取目标对象发出的第一语音信息;a first acquiring module, configured to acquire first voice information sent by the target object;
    识别模块,设置为对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息;An identification module, configured to identify the first voice information, and determine voiceprint information corresponding to the target object;
    第二获取模块,设置为获取与所述声纹信息对应的控制方式;a second acquiring module, configured to acquire a control manner corresponding to the voiceprint information;
    控制模块,设置为根据所述控制方式,对电器设备进行控制。The control module is configured to control the electrical device according to the control mode.
  13. 一种电器设备的控制系统,包括:A control system for an electrical device, comprising:
    采集装置,设置为采集目标对象发出的第一语音信息;The collecting device is configured to collect the first voice information sent by the target object;
    处理器,与所述采集装置连接,设置为利用声纹识别模型对所述第一语音信息进行识别,确定与所述目标对象对应的声纹信息,并获取与所述声纹信息对应的控制方式,其中,所述声纹识别模型为使用多组样本数据通过机器学习训练出 来的,所述多组样本数据包括:所述目标对象的语音信息和相匹配的声纹信息;The processor is connected to the collecting device, configured to identify the first voice information by using a voiceprint recognition model, determine voiceprint information corresponding to the target object, and acquire control corresponding to the voiceprint information The method, wherein the voiceprint recognition model is trained by machine learning using a plurality of sets of sample data, the plurality of sets of sample data comprising: voice information of the target object and matched voiceprint information;
    控制器,与所述处理器连接,设置为根据所述控制方式,对电器设备进行控制。The controller is coupled to the processor and configured to control the electrical device according to the control mode.
  14. 一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至10中任意一项所述的电器设备的控制方法。A storage medium, the storage medium comprising a stored program, wherein the device in which the storage medium is located controls the control method of the electric appliance according to any one of claims 1 to 10 while the program is running.
  15. 一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行权利要求1至10中任意一项所述的电器设备的控制方法。A processor, the processor being configured to execute a program, wherein the program is executed to execute the control method of the electrical device according to any one of claims 1 to 10.
PCT/CN2018/120927 2018-01-22 2018-12-13 Control method, device and system for electrical device WO2019141028A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810060221.6A CN108320753A (en) 2018-01-22 2018-01-22 Control method, device and system of electrical equipment
CN201810060221.6 2018-01-22

Publications (1)

Publication Number Publication Date
WO2019141028A1 true WO2019141028A1 (en) 2019-07-25

Family

ID=62887580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120927 WO2019141028A1 (en) 2018-01-22 2018-12-13 Control method, device and system for electrical device

Country Status (2)

Country Link
CN (1) CN108320753A (en)
WO (1) WO2019141028A1 (en)

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305623A (en) * 2018-01-15 2018-07-20 珠海格力电器股份有限公司 electric appliance control method and device
CN108320753A (en) * 2018-01-22 2018-07-24 珠海格力电器股份有限公司 Control method, device and system of electrical equipment
CN108900630A (en) * 2018-07-26 2018-11-27 珠海格力电器股份有限公司 Control method and device of clothes hanger, storage medium, terminal and server
CN110867188A (en) * 2018-08-13 2020-03-06 珠海格力电器股份有限公司 Method and device for providing content service, storage medium and electronic device
CN110853619B (en) * 2018-08-21 2022-11-25 上海博泰悦臻网络技术服务有限公司 Man-machine interaction method, control device, controlled device and storage medium
CN109410934A (en) * 2018-10-19 2019-03-01 深圳魔听文化科技有限公司 A kind of more voice sound separation methods, system and intelligent terminal based on vocal print feature
CN109559742B (en) * 2018-11-07 2021-06-04 深圳市艾特智能科技有限公司 Voice control method, system, storage medium and computer equipment
CN109448713A (en) * 2018-11-13 2019-03-08 平安科技(深圳)有限公司 Audio recognition method, device, computer equipment and storage medium
CN109595757B (en) * 2018-11-30 2021-01-22 广东美的制冷设备有限公司 Control method and device of air conditioner and air conditioner with control device
CN109584874A (en) * 2018-12-15 2019-04-05 深圳壹账通智能科技有限公司 Electrical equipment control method, device, electrical equipment and storage medium
CN109615751A (en) * 2019-01-04 2019-04-12 四川虹美智能科技有限公司 A kind of condition control method and equipment of appliance doors
CN110336723A (en) * 2019-07-23 2019-10-15 珠海格力电器股份有限公司 Control method and device of intelligent household appliance and intelligent household appliance
CN110425693B (en) * 2019-08-09 2021-08-27 四川虹美智能科技有限公司 Intelligent air conditioner and use method thereof
CN110570873B (en) * 2019-09-12 2022-08-05 Oppo广东移动通信有限公司 Voiceprint wake-up method and device, computer equipment and storage medium
CN110567134A (en) * 2019-09-30 2019-12-13 珠海格力电器股份有限公司 automatic operation control method and system of intelligent air conditioner and storage medium
CN110719662A (en) * 2019-10-29 2020-01-21 横店集团得邦照明股份有限公司 Sound control LED lighting system with deep learning capability
CN112750429A (en) * 2019-10-31 2021-05-04 合肥海尔洗衣机有限公司 Voice interaction method and device, electronic equipment and storage medium
CN111009245B (en) * 2019-12-18 2021-09-14 腾讯科技(深圳)有限公司 Instruction execution method, system and storage medium
CN113409793B (en) * 2020-02-28 2024-05-17 阿里巴巴集团控股有限公司 Speech recognition method, intelligent home system, conference equipment and computing equipment
CN111261163A (en) * 2020-03-27 2020-06-09 四川虹美智能科技有限公司 Voice control method and system and intelligent air conditioner
CN111429920B (en) * 2020-03-30 2024-01-23 北京奇艺世纪科技有限公司 User distinguishing method, user behavior library determining method, device and equipment
CN111524514A (en) * 2020-04-22 2020-08-11 海信集团有限公司 Voice control method and central control equipment
CN112201233A (en) * 2020-09-01 2021-01-08 沈澈 Voice control method, system and device of intelligent household equipment and computer storage medium
CN112185362A (en) * 2020-09-24 2021-01-05 苏州思必驰信息科技有限公司 Voice processing method and device for user personalized service
CN112201257A (en) * 2020-09-29 2021-01-08 北京百度网讯科技有限公司 Information recommendation method and device based on voiceprint recognition, electronic equipment and storage medium
CN113450798A (en) * 2021-06-29 2021-09-28 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN113960935A (en) * 2021-09-15 2022-01-21 珠海格力电器股份有限公司 Control method and device of intelligent clothes hanger and storage medium
CN114999497A (en) * 2021-09-30 2022-09-02 青岛经济技术开发区海尔热水器有限公司 Control method and device of household appliance, electronic device and storage medium
CN114141242A (en) * 2021-12-03 2022-03-04 青岛海尔科技有限公司 Control method, system, device, storage medium and electronic device of household appliance
CN114694648A (en) * 2022-02-22 2022-07-01 青岛海尔科技有限公司 Device control method and apparatus, storage medium, and electronic apparatus
CN116110389A (en) * 2023-01-06 2023-05-12 黄冈师范学院 Internet electrical appliance control method and system based on self-learning technology
CN117555250B (en) * 2024-01-02 2024-05-31 珠海格力电器股份有限公司 Control method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938610A (en) * 2010-09-27 2011-01-05 冠捷显示科技(厦门)有限公司 Novel voiceprint recognition-based television device
CN103780866A (en) * 2012-10-22 2014-05-07 联想移动通信科技有限公司 Video control device, method thereof and video terminal
CN104575504A (en) * 2014-12-24 2015-04-29 上海师范大学 Method for personalized television voice wake-up by voiceprint and voice identification
CN105185380A (en) * 2015-06-24 2015-12-23 联想(北京)有限公司 Information processing method and electronic equipment
CN105374355A (en) * 2015-12-17 2016-03-02 厦门科牧智能技术有限公司 Electronic pedestal pan voice control and interaction system and method and electronic pedestal pan
CN106228988A (en) * 2016-07-29 2016-12-14 珠海市魅族科技有限公司 A kind of habits information matching process based on voiceprint and device
CN107580237A (en) * 2017-09-05 2018-01-12 深圳Tcl新技术有限公司 Operating method, device, system and the storage medium of TV
CN108320753A (en) * 2018-01-22 2018-07-24 珠海格力电器股份有限公司 Control method, device and system of electrical equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938610A (en) * 2010-09-27 2011-01-05 冠捷显示科技(厦门)有限公司 Novel voiceprint recognition-based television device
CN103780866A (en) * 2012-10-22 2014-05-07 联想移动通信科技有限公司 Video control device, method thereof and video terminal
CN104575504A (en) * 2014-12-24 2015-04-29 上海师范大学 Method for personalized television voice wake-up by voiceprint and voice identification
CN105185380A (en) * 2015-06-24 2015-12-23 联想(北京)有限公司 Information processing method and electronic equipment
CN105374355A (en) * 2015-12-17 2016-03-02 厦门科牧智能技术有限公司 Electronic pedestal pan voice control and interaction system and method and electronic pedestal pan
CN106228988A (en) * 2016-07-29 2016-12-14 珠海市魅族科技有限公司 A kind of habits information matching process based on voiceprint and device
CN107580237A (en) * 2017-09-05 2018-01-12 深圳Tcl新技术有限公司 Operating method, device, system and the storage medium of TV
CN108320753A (en) * 2018-01-22 2018-07-24 珠海格力电器股份有限公司 Control method, device and system of electrical equipment

Also Published As

Publication number Publication date
CN108320753A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
WO2019141028A1 (en) Control method, device and system for electrical device
CN110085233B (en) Voice control method and device, electronic equipment and computer readable storage medium
CN109974235B (en) Method and device for controlling household appliance and household appliance
CN113170000B (en) Equipment control method, device, system, electronic equipment and cloud server
WO2019137066A1 (en) Electric appliance control method and device
WO2020024546A1 (en) Auxiliary speech control method and device and air conditioner
WO2020000907A1 (en) Electrical appliance control method and apparatus, and storage medium and server
CN110336723A (en) Control method and device of intelligent household appliance and intelligent household appliance
WO2022233123A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
CN112634897B (en) Equipment awakening method and device, storage medium and electronic device
CN111197841A (en) Control method, control device, remote control terminal, air conditioner, server and storage medium
CN108758989A (en) A kind of air-conditioning and its application method
WO2020107698A1 (en) Air-conditioning device control method and air-conditioning device
CN113903337A (en) Method and device for controlling voice air conditioner, cloud server and storage medium
CN108932947B (en) Voice control method and household appliance
WO2020078076A1 (en) Method and system for controlling air conditioner, air conditioner, and household appliance
CN108959889A (en) A kind of Accreditation System and method of intelligent appliance
CN110375417A (en) Control method and device of voice module and air conditioner
WO2020029496A1 (en) Information pushing method and device
CN107742520B (en) Voice control method, device and system
CN113611306A (en) Intelligent household voice control method and system based on user habits and storage medium
CN106895552A (en) Control method, device and system of air conditioner
CN111524514A (en) Voice control method and central control equipment
CN110567134A (en) automatic operation control method and system of intelligent air conditioner and storage medium
CN110661888A (en) Voice control method and device for household appliance and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18901052

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18901052

Country of ref document: EP

Kind code of ref document: A1