CROSS-REFERENCE TO RELATED APPLICATIONThis application is based on and claims priority under 35 U.S.C. §119 to a Korean patent application filed on Feb. 11, 2015 in the Korean Intellectual Property Office and assigned Serial number 10-2015-0020786, the disclosure of which is incorporated by reference herein in its entirety.
TECHNICAL FIELDThe present disclosure relates to operation of a voice function in an electronic device.
BACKGROUNDAn electronic device which includes a microphone or the like provides a function of collecting and recognizing a user's voice. For example, recent electronic devices provide a function of recognizing a user's voice and outputting information corresponding to a recognized voice.
Meanwhile, according to a typical voice function, only the contents of a collected voice are recognized and a service corresponding thereto is provided. Therefore, a voice function providing method of a typical electronic device may provide a specific function regardless of a person who inputs a voice.
SUMMARYAccordingly, an aspect of the present disclosure is to provide a voice function operating method for supporting a voice function of an electronic device so that the voice function is operated in a user (i.e., speaker)-dependent manner, and an electronic device supporting the same.
Another aspect of the present disclosure is to provide a voice function operating method for selectively providing a voice function based on the type of an input audio signal, and an electronic device supporting the same.
In accordance with an aspect of the present disclosure, an electronic device is provided. The electronic device may include a memory for storing at least a portion of a plurality of pieces of speech information used for voice recognition, and a control module (or a processor) configured to generate voice recognition information based on at least a portion of the plurality of pieces of speech information, wherein the control module may be configured to select speaker speech information from at least a portion of the plurality of pieces of speech information based on mutual similarity, and may be configured to generate the voice recognition information to be registered as personalized voice information based on the speaker speech information.
In accordance with another aspect of the present disclosure, a voice function operating method is provided. The voice function operating method may include storing at least a portion of a plurality of pieces of speech information used for voice recognition, selecting speaker speech information from at least a portion of the plurality of pieces of speech information based on mutual similarity, and generating voice recognition information to be registered as personalized voice information based on the speaker speech information selected.
BRIEF DESCRIPTION OF THE DRAWINGSThese and other aspects and advantages of the disclosure will become more apparent and readily appreciated from the following detailed description, taken in conjunction with the accompanying drawings, in which like reference numerals refer to like elements, and wherein:
FIG. 1 is a diagram illustrating an example personalized voice function providing environment according to various example embodiments of the present disclosure;
FIG. 2 is a block diagram illustrating an example of an electronic device supporting a voice function according to various example embodiments of the present disclosure;
FIG. 3 is a block diagram illustrating an example of a control module according to various example embodiments of the present disclosure;
FIG. 4 is a diagram illustrating an example candidate group handling method related to speaker-dependent setting according to various example embodiments of the present disclosure;
FIG. 5 is a diagram illustrating an example personalized voice information update according to various example embodiments of the present disclosure;
FIG. 6 is a flowchart illustrating an example method of personalized voice during operation of a voice function according to various example embodiments of the present disclosure;
FIG. 7 is a flowchart illustrating an example personalized voice information update method according to various example embodiments of the present disclosure;
FIG. 8 is a diagram illustrating an example of a screen interface related to execution of a personalized voice function according to various example embodiments of the present disclosure;
FIG. 9 is a diagram illustrating an example of a screen interface related to setting of personalized voice information according to various example embodiments of the present disclosure;
FIG. 10 is a block diagram illustrating an example of an electronic device according to various example embodiments of the present disclosure; and
FIG. 11 is a block diagram illustrating another example of an electronic device according to various example embodiments of the present disclosure.
DETAILED DESCRIPTIONHereinafter, various example embodiments of the present disclosure will be described in greater detail with reference to the accompanying drawings. However, it should be understood that the present disclosure is not limited to specific example embodiments, but rather includes various modifications, equivalents and/or alternatives of various example embodiments of the present disclosure. Regarding description of the drawings, like reference numerals may refer to like elements.
The term “have”, “may have”, “include”, “may include”, “comprise”, or the like used herein indicates the existence of a corresponding feature (e.g., a number, a function, an operation, or an element) and does not exclude the existence of an additional feature.
The term “A or B”, “at least one of A and/or B”, or “one or more of A and/or B” may include all possible combinations of items listed together. For example, the term “A or B”, “at least one of A and B”, or “at least one of A or B” may indicate all the cases of (1) including at least one A, (2) including at least one B, and (3) including at least one A and at least one B.
The term “first”, “second” or the like used herein may modify various elements regardless of the order and/or priority thereof, but does not limit the elements. For example, “a first user device” and “a second user device” may indicate different user devices regardless of the order or priority. For example, without departing the scope of the present disclosure, a first element may be referred to as a second element and vice versa.
It will be understood that when a certain element (e.g., a first element) is referred to as being “operatively or communicatively coupled with/to” or “connected to” another element (e.g., a second element), the certain element may be coupled to the other element directly or via another element (e.g., a third element). However, when a certain element (e.g., a first element) is referred to as being “directly coupled” or “directly connected” to another element (e.g., a second element), there may be no intervening element (e.g., a third element) between the element and the other element.
The term “configured (or set) to” may be interchangeably used with the term, for example, “suitable for”, “having the capacity to”, “designed to”, “adapted to”, “made to”, or “capable of”. The term “configured (or set) to” may not necessarily have the meaning of “specifically designed to”. In some examples, the term “device configured to” may indicate that the device “may perform” together with other devices or components. For example, the term “processor configured (or set) to perform A, B, and C” may represent a dedicated processor (e.g., an embedded processor) for performing a corresponding operation, processing circuitry or a general-purpose processor (e.g., a CPU or an application processor) for executing at least one software program stored in a memory device to perform a corresponding operation.
The terminology used herein is only used for describing example embodiments and is not intended to limit the scope of other embodiments. The terms of a singular form may include plural forms unless otherwise specified. The terms used herein, including technical or scientific terms, have the same meanings as understood by those skilled in the art. Commonly-used terms defined in a dictionary may be interpreted as having meanings that are the same as or similar to contextual meanings defined in the related art, and should not be interpreted in an idealized or overly formal sense unless explicitly defined otherwise. The terms defined herein should not be such interpreted to exclude the various example embodiments of the present disclosure.
Hereinafter, an electronic device according to various example embodiments of the present disclosure will be described with reference to the accompanying drawings. The term “user” used herein may refer to a person who uses an electronic device or may refer to a device (e.g., an artificial electronic device) that uses an electronic device.
FIG. 1 is a diagram illustrating an example personalized voice function providing environment according to various example embodiments of the present disclosure.
Referring toFIG. 1, the personalized voice function providing environment may provide a first-statevoice function module10sof an electronic device for receiving audio signals input by a plurality ofspeakers10ato10cin relation of a speaking independent setting. The first-statevoice function module10smay include, for example, at least one of a hardware module comprising hardware circuitry, a firmware module comprising firmware, or a software module related to provision of a voice function prior to application of a personalized voice function. At least one of thespeakers10ato10cmay input a voice (or speech information) using the first-statevoice function module10s.
According to various example embodiments of the present disclosure, the first-statevoice function module10smay perform a voice command function (e.g., a function of recognizing a collected voice, analyzing a voice command based on a result of recognition, and outputting information or performing an available function by an electronic device based on a result of analysis) based on a voice (or speech information) input by thespeakers10ato10c.In relation to this operation, the speakers10 to10cmay, for example, input a voice (or a speech or speech information) using at least one microphone included in the first-statevoice function module10s.
The first-statevoice function module10smay collect candidate data (including, for example, speaker speech information or speech information of each speaker) on thespeakers10ato10cwithout performing speaker identification in a state in which a personalized voice function (e.g., a function of restricting use of functions of an electronic device differentially specified for each speaker) is not applied. A candidate data collecting operation may be automatically performed based on a specified condition. For example, the candidate data collecting operation may be automatically performed while a voice function is performed. Furthermore, the candidate data collecting operation may be automatically performed while a microphone activating operation is performed. According to various example embodiments of the present disclosure, the candidate data collecting operation may be performed for data obtained through successful voice recognition.
According to an example embodiment of the present disclosure, the first-statevoice function module10smay collectfirst candidate data11arelated to thefirst speaker10a.Furthermore, the first-statevoice function module10smay collect second candidate data11brelated to thesecond speaker10bandthird candidate data11crelated to thethird speaker10c.The first-statevoice function module10smay perform voice function personalization processing (or voice recognition function personalization processing) if at least a specified number of candidate data are collected or collection of candidate data is completed for a specified time. For example, the first-statevoice function module10smay analyze a plurality of candidate data and may register, as personalized voice information, a speaker recognition model (including, for example, voice recognition information or voice recognition model information) including thefirst candidate data11 a related to thefirst speaker10a.Accordingly, the first-statevoice function module10smay be operated as (or changed into) a second-statevoice function module10p.The first-statevoice function module10smay store collected candidate data locally (e.g., in a memory thereof). Alternatively, the first-statevoice function module10smay, for example, provide the collected candidate data to a specified server device. In the example where the collected candidate data are transmitted to the server device, recognition model training for candidate data may, for example, also be performed in the server device.
If the speech information of speakers is collected while a voice recognition function is performed, the second-statevoice recognition module10pmay analyze the collected speech information and may compare an analysis result with the registered personalized voice information. If it is determined, as a result of the comparison, that the speech information corresponds to a speaker recognition model registered as the personalized voice information, the second-statevoice function module10pmay handle execution of a function corresponding to the analysis result of the input speech information. If the result of the comparison indicates, for example, that the input speech information is speech information of thesecond speaker10bor thethird speaker10cdifferent from the speaker recognition model registered as the personalized voice information (e.g., the speech information of thefirst speaker10a), the second-statevoice function module10pmay not perform a function corresponding to the speech information or may perform a limited function based on a specified policy. When performing the limited function, the second-statevoice function module10pmay output a function execution unavailability message or a limited function execution message. As described above, the personalized voice function providing environment according to various example embodiments of the present disclosure may handle execution of a function of an electronic device in a speaker-dependent manner (e.g., only a voice (or speech information) of a specific speaker is handled as valid information, or another speaker's voice (or speech information) is restrictively handled) based on registration of the personalized voice information.
FIG. 2 is a block diagram illustrating an example of an electronic device supporting a voice function according to various example embodiments of the present disclosure.
Referring toFIG. 2, anelectronic device100 may include, for example, a communication interface (e.g., including communication circuitry)110, amemory130, a microphone module (e.g., including a microphone or microphone circuitry)140, a display (e.g., including a display panel and/or display processing circuitry)150, and a control module (e.g., including a processor including processing circuitry)160.
Theelectronic device100 may collect candidate data using themicrophone module140 and may operate thecontrol module160, so as to process the candidate data, register personalized voice information (e.g., a specific speaker recognition model), and/or apply the personalized voice information. Based on this process, theelectronic device100 may handle a personalized voice function for supporting a speaker-dependent function.
Thecommunication interface110 may handle a communication function of theelectronic device100. For example, thecommunication interface110 may establish a communication channel to a server device or the like in relation to a call function, a video call function, or the like of theelectronic device100. To this end, thecommunication interface110 may include at least one communication module or communication chip/circuitry for supporting various communication standards such as 2G, 3G, 4G, LTE, 5G, etc. Furthermore, thecommunication interface110 may include at least one antenna covering a single frequency band or a multi-frequency band. According to various example embodiments of the present disclosure, thecommunication interface110 may establish a short-range communication channel to another electronic device in relation to a data transfer function or a call function of theelectronic device100.
According to an example embodiment of the present disclosure, thecommunication interface110 may be operated in association with a voice function. For example, thecommunication interface110 may establish a communication channel in relation to the voice function such as a call function or a voice-recognition-based message sending/receiving function. Furthermore, in relation to a voice command function, thecommunication interface110 may establish a communication channel to a server device for analyzing a voice (or speech information) and providing information based on a result of analysis.
According to various example embodiments of the present disclosure, thecommunication interface110 may be restrictively operated in relation to application of a personalized voice function. For example, thecommunication interface110 may be enabled based on a speech information input corresponding to a speaker recognition model registered as personalized voice information. Alternatively, thecommunication interface110 may establish a communication channel to a specified server device (e.g., a web server device for management of financial information, stock information, or specific information) in response to a speech information input from a specific recognized speaker.
Thememory130 may store various information related to operation of theelectronic device100. For example, thememory130 may store an operating system required for operating theelectronic device100, at least one program related to support for a user function, etc. According to an example embodiment of the present disclosure, thememory130 may store a personalized voice program to support a personalized voice function. Furthermore, thememory130 may storevoice data information131 andpersonalized voice information133 related to operation of the personalized voice program.
Thevoice data information131 may include a voice signal (e.g., speech information) input from at least one speaker or an audio signal collected when themicrophone module140 is enabled. According to an example embodiment of the present disclosure, pieces of speech information from which a noise or a band other than a human voice band has been removed may be stored as candidate data of thevoice data information131. According to an example embodiment of the present disclosure, thevoice data information131 may include pieces of speech information, of which a speech interval has a length of at least a specified time, as a plurality of candidate data. Furthermore, thevoice data information131 may include a specified number of pieces of speech information as candidate data or may include pieces of speech information collected for a specified time as candidate data. A function of collecting thevoice data information131 may, for example, be automatically performed when themicrophone module140 is enabled in relation to execution of a voice function. Furthermore, this function may be automatically ended on completion of collecting thevoice data information131. According to various example embodiments of the present disclosure, the function of collecting thevoice data information131 may be automatically performed if specified voice recognition is successful, and may be automatically ended immediately after the collection is completed or after elapse of a specified time.
Thepersonalized voice information133 may be related to candidate data selected by applying a specified algorithm or process to thevoice data information131. For example, thepersonalized voice information133 may be a speaker recognition model generated from candidate data related to a specific speaker (e.g., candidate data having a relatively large population in the voice data information131) from among the plurality of candidate data included in thevoice data information131. Alternatively, thepersonalized voice information133 may be candidate models obtained by modeling the candidate data related to the specific speaker. Alternatively, thepersonalized voice information133 may be any one of the candidate data of the specific speaker, or information obtained by combining audio features detected from each candidate data, or a speaker recognition model including the audio features.
According to an example embodiment of the present disclosure, thepersonalized voice information133 may include at least one phonemic model (e.g., a signal or information obtained by dividing speech information by phoneme such as h, ai, g, ae, l, ax, k, s, iy) constituting speech information (e.g., a signal or information obtained by speaking speech reference information such as, for example, ‘high galaxy’ by a specific speaker) obtained by speaking speech reference information (e.g., readable specified information such as characters or numbers, for example, ‘high galaxy’) by a specific speaker. Furthermore, even if a speaker speaks the same speech reference information, different phonemic models of various forms (e.g., phonemic signals or pieces of information with different pitches, tones, or timbres with respect to the same phonemic model such as ‘ha’) may be obtained with respect to the same reference phoneme (e.g., information obtained by dividing speech reference information by phoneme, for example, hi, ga, lax, sy, etc.), depending on a throat state of the speaker or an environment. For example, “h-a” or “h-ai” may be collected as a phonemic model corresponding to a reference phoneme “hi”. Here, “h-a” or “h-ai” may be collected as different phonemic models with various pitches, tones, or timbres for each situation. As described above, thepersonalized voice information133 may include at least one phonemic model included in speech information obtained by speaking specified speech reference information (e.g., at least one specified word, phrase, clause, sentence, etc.), so that, with respect to one reference phoneme, one or more phonemic models for each situation may be associated or one reference phoneme may be indicated.
Themicrophone module140 may include at least one microphone. In the case where one microphone is disposed, themicrophone module140 may enable the microphone in response to control by thecontrol module160, and may transfer a collected audio signal to thecontrol module160 through the enabled microphone. Alternatively, themicrophone module140 may remain in a turned on state and may collect an audio signal while theelectronic device100 is supplied with power or thecontrol module160 is operated, in response to control by thecontrol module160. According to various example embodiments of the present disclosure, themicrophone module140 may include a plurality of microphones. Themicrophone module140 may be automatically enabled, for example, when candidate data corresponding to thevoice data information131 are collected. For example, if theelectronic device100 is in a turned on state, theelectronic device100 may collect speech information corresponding to candidate data by automatically enabling themicrophone module140 for a specified time or until a specified number of candidate data is satisfied in order to collect candidate data. Alternatively, if themicrophone module140 is enabled (e.g., enabled as a voice function is performed), theelectronic device100 may determine whether it is required to collect candidate data so as to automatically collect speech information.
Thedisplay150 may output various screens related to operation of theelectronic device100. For example, thedisplay150 may output a lock screen, a menu screen, a home screen, a screen on which at least one icon is disposed, a screen to which a background image is output, a specific function execution screen, or the like. According to an example embodiment of the present disclosure, thedisplay150 may output a screen related to execution of a voice function. For example, thedisplay150 may output a screen related to execution of a voice command function, a screen related to execution of a voice recording function, a screen related to execution of a voice call function, a screen related to execution of a voice recognition function, or the like in response to execution of a corresponding application.
Furthermore, thedisplay150 may output at least one information (e.g., a text, an image, or the like) related to operation of a personalized voice function. For example, thedisplay150 may output at least one of an icon, a menu, an indicator, or a guide text related to setting of the personalized voice function. Furthermore, thedisplay150 may output a message, a text, an indicator, or the like for notifying application of the personalized voice function. Moreover, thedisplay150 may output a personalized voice function setting screen in response to control by a user input. Additionally, or alternatively, theelectronic device100 may further include various information output units such as a speaker, a vibration module, a lamp, etc. The information output units may output various information related to operation of the personalized voice function using an audio, at least one specified vibration pattern, or at least one specified flickering pattern.
Thecontrol module160 may be configured to perform signal flow control, signal processing control, and information processing in relation to operation of theelectronic device100. For example, thecontrol module160 may be configured to control setting of the personalized voice function (e.g., setting for collecting thevoice data information131 for registering the personalized voice information133). Thecontrol module160 may be configured to handle extraction and registration of thepersonalized voice information133 on completion of collecting thevoice data information131. Thecontrol module160 may be configured to handle application of the personalized voice function based on the registeredpersonalized voice information133. Based on the above-mentioned control, thecontrol module160 may be configured to allow a specified voice function to be applied in response to speech information input from a specific speaker or may limit a voice function (e.g., allow access to only a part of the function or prevent the function from being executed) in response to speech information input from a non-specific speaker.
FIG. 3 is a block diagram illustrating an example of a control module according to various example embodiments of the present disclosure.
Referring toFIG. 3, thecontrol module160 may include amicrophone control module161, a voicedata collecting module163, aninformation processing module165, and aninformation updating module167. Each of the foregoing modules may, for example, be embodied by processor including processing circuitry configured to perform the operations of the various modules.
Themicrophone control module161 may be configured to control enablement and audio signal collection of themicrophone140. For example, if theelectronic device100 is in a turned-on state, themicrophone control module161 may maintain a turned-on state (e.g., always turned-on state) of themicrophone module140 based on a setting. In the case where a plurality of microphones is included in themicrophone module140, themicrophone control module161 may control operation of the microphones.
According to an example embodiment of the present disclosure, if an audio signal is collected from themicrophone module140, themicrophone control module161 may transfer the collected audio signal to the voicedata collecting module163. In this operation, themicrophone control module161 may, for example, transfer the collected audio signal to the voicedata collecting module163 if the collected audio signal is a signal (or speech information) of a frequency band of a voice of a human being, or may treat (or ignore) the collected audio signal as a noise if, for example, the collected audio signal has a frequency outside the voice frequency band. Alternatively, themicrophone control module161 may transfer the collected audio signal to the voicedata collecting module163 regardless of a frequency band of the collected audio signal. According to various example embodiments of the present disclosure, themicrophone control module161 may transfer, to the voicedata collecting module163, only data from which a voice has been successfully recognized.
Themicrophone control module161 may be configured to control collecting candidate data related to setting of the personalized voice function is automatically performed when themicrophone module140 is enabled. For example, if themicrophone module140 is enabled in order to execute a voice call function, a voice command function, a voice recognition function, a voice recording function, or the like, themicrophone control module161 may determine whether thepersonalized voice information133 is registered. If thepersonalized voice information133 is not registered, themicrophone control module161 may automatically collect pieces of speech information to be used as thevoice data information131 and may transfer the speech information to the voicedata collecting module163. If thepersonalized voice information133 is registered, themicrophone control module161 may be configured to terminate collection of the speech information to be used as thevoice data information131 automatically.
In the example where themicrophone control module161 provides an audio signal regardless of a frequency band thereof, the voicedata collecting module163 may, for example, analyze whether the audio signal has been generated from a human speech. Furthermore, the voicedata collecting module163 may collect pieces of speech information corresponding to a voice frequency band as preliminary candidate group information. In the example where themicrophone control module161 is configured to transmit speech information, a speech information classifying operation of the voicedata collecting module163 may be skipped.
The voicedata collecting module163 may be configured to classify preliminary candidate data in the preliminary candidate group which satisfy a specified condition as candidate data of thevoice data information131. For example, the voicedata collecting module163 may classify only preliminary candidate data of which lengths (e.g., speech time) are at least a specified length as the candidate data of thevoice data information131. Furthermore, the voicedata collecting module163 may, for example, classify only preliminary candidate data related to specified speech reference information as the candidate data.
According to various example embodiments of the present disclosure, the voicedata collecting module163 may specify the number of candidate data or a time in relation to collection of thevoice data information131. For example, the voicedata collecting module163 may be configured to collect thevoice data information131 for a specified time after a specific event occurs (e.g., after theelectronic device100 is assigned specified personal information (e.g., a personal telephone number provided by a service provider) or after theelectronic device100 firstly accesses a specified base station). Alternatively, if the voicedata collecting module163 is turned on after being turned off for a specified time, the voicedata collecting module163 may be configured to collect thevoice data information131 for a specified time. Alternatively, the voicedata collecting module163 may be configured to collect thevoice data information131 until a specified number of candidate data are collected after setting of the personalized voice function is started. The number of candidate data may be changed based on a setting of a personalized voice function policy or may be changed by user's setting. The voicedata collecting module163 may provide, to theinformation processing module165, thevoice data information131 including the specified number of candidate data or candidate data collected for a specified time.
Theinformation processing module165 may be configured to select thepersonalized voice information133 from thevoice data information131. For example, theinformation processing module165 may select arbitrary candidate data from thevoice data information131 and may perform voice feature (e.g., a unique voice feature of each speaker, such as a timbre) comparison between the selected candidate data and another candidate data. Theinformation processing module165 may classify (e.g., by clustering) candidate data by performing the feature comparison. For example, an unsupervised learning method such as vector quantization may be used. Theinformation processing module165 may select candidate data, the number of which is relatively large, from among classified candidate data. The arbitrary candidate data may be selected from among, for example, initially collected candidate data, lastly collected candidate data, and candidate data collected in a specified certain time slot.
Theinformation processing module165 may be configured to register selected candidate data as thepersonalized voice information133. In this operation, theinformation processing module165 may provide a guide on whether to register thepersonalized voice information133, and may, for example, request user approval. For example, theinformation processing module165 may provide a popup window providing a query on whether to register specified candidate data as thepersonalized voice information133, and may handle registration of thepersonalized voice information133 based on a user confirmation. Theinformation processing module165 may be configured to output time information about collection times of the candidate data or voice recognition information of the candidate data output together with the candidate data in order to differentiate the candidate data.
When a specified voice function such as a voice command function is performed, theinformation processing module165 may be configured to perform speaker identification based on collected speech information and the registeredpersonalized voice information133. Theinformation processing module165 may be configured to differentiate a function to be performed based on a result of speaker identification. For example, in the case where speech information of a speaker registered in thepersonalized voice information133 is collected, theinformation processing module165 may perform a function to be performed in response to speech information recognition. Alternatively, in the case where speech information of a speaker not registered in thepersonalized voice information133 is collected, theinformation processing module165 may notify that information output or function execution corresponding to speech information is unable to be performed.
Theinformation processing module165 may be configured to perform multi-condition training while performing modeling based on data included in thevoice data information131. In relation to this operation, theinformation processing module165 may handle various effects for the data included in thevoice data information131. For example, theinformation processing module165 may provide a specified sound effect to the data included in thevoice data information131 and may generate candidate data based on the sound effect, or may generate candidate data with which a specified noise is combined. Theinformation processing module165 may extract a speaker model to be registered as thepersonalized voice information133, by applying multi-condition-trained candidate data (e.g., data to which a specified sound effect is added or data to which a noise is added) together with data included in othervoice data information131. According to various example embodiments of the present disclosure, theinformation processing module165 may generate multi-condition training models in relation to candidate data included in a cluster having a relatively large number of candidate data after, for example, clustering candidate data included in thevoice data information131. Furthermore, theinformation processing module165 may be configured so that multi-condition training models generated based on candidate data included, for example, in a cluster of a specific speaker are used for determining a speaker recognition model.
Theinformation processing module165 may use a universal background model (UBM) during a speaker modeling process for candidate data included in thevoice data information131. UBM information may include a statistical model generated based on features of speech information of various persons. The UBM information may be generated based on non-speaker data during a process of calculating a speaker recognition model of a speaker specified in thevoice data information131. The non-speaker data may, for example, be differentiated from speaker data based on the above-mentioned clustering method.
Theinformation updating module167 may be configured to handle modification, adaptation or enhancement of thepersonalized voice information133. In relation to this operation, theinformation updating module167 may request and receive, from themicrophone control module161, an audio signal collected by themicrophone module140, and may extract information to which thepersonalized voice information133 is to be adapted. For example, theinformation updating module167 may check whether the collected audio signal includes user's speech information (including at least one of a wakeup audio signal related to a voice function or a voice command audio signal). In the example where the speech information is included in the collected audio signal, theinformation updating module167 may check whether phonemes corresponding to phonemic models included in the specified personalized voice information are included in the collected speech information. In this operation, theinformation updating module167 may collect new phonemic samples corresponding to the phonemic models included in thepersonalized voice information133 by performing voice recognition on the collected speech information, and may perform phonemic model training based on the collected phonemic samples. Furthermore, theinformation updating module167 may perform enhancement (or adaption or the like) of the phonemic models of thepersonalized voice information133 according to the phonemic model training.
Theinformation updating module167 may check an adaptation ratio (or an adaptation degree or an enhancement ratio) of thepersonalized voice information133 adapted using the collected speech information. For example, theinformation updating module167 may determine whether a frequency of information update of thepersonalized voice information133 by newly collected speech information is equal to or higher than a specified value. If the newly collected speech information is already obtained speech information, additional update may not occur. Theinformation updating module167 may determine that the adaptation ratio is high if the update frequency is high (e.g., the number of pieces of speech information used for update from among a certain number of collected pieces of speech information is at least a specified value), or may determine that the adaptation ratio is low if the update frequency is low and may terminate adaptation of thepersonalized voice information133.
Theinformation updating module167 may automatically collect speech information when themicrophone module140 is enabled in relation to adaptation of thepersonalized voice information133. If a function of adapting thepersonalized voice information133 is ended (e.g., the adaptation ratio is equal to or lower than a specified condition), theinformation updating module167 may automatically end collection of speech information related to adaptation of thepersonalized voice information133. Theinformation updating module167 may be configured so that specified information is output through thedisplay150 in relation to starting or automatic ending of adaptation-related speech information collection.
FIG. 4 is a diagram illustrating an example candidate group handling method related to speaker-dependent setting according to various example embodiments of the present disclosure.
Referring toFIG. 4, theelectronic device100 may collect a specified number of pieces of thevoice data information131 or may collect thevoice data information131 for a specified time. The collectedvoice data information131 may include, for example, pieces ofspeech information401ato401ccorresponding to candidate data spoken by three speakers. If collection of the pieces ofspeech information401ato401cis completed, theelectronic device100 may classify the pieces ofspeech information401ato401c.
In relation to this operation, theelectronic device100 may select any one arbitrary piece ofspeech information401 from among the collected pieces ofspeech information401ato401cbased on a specified condition. If thearbitrary speech information401 is selected, theelectronic device100 may convert thearbitrary speech information401 into a firsttemporary model460a.If the firsttemporary model460ais generated, theelectronic device100 may compare the firsttemporary model460awith the pieces ofspeech information401ato401c,and may assign a score to each of the pieces ofspeech information401ato401c.For example, theelectronic device100 may assign a low score to speech information similar to the firsttemporary model460a,and may assign a high score to speech information having no similarity with the firsttemporary model460a.Theelectronic device100 may sort the pieces ofspeech information401ato401cin order of score.
Furthermore, theelectronic device100 may cluster the pieces ofspeech information401ato401cin order of score as illustrated in the center ofFIG. 4. As illustrated inFIG. 4, three data from among pieces of thefirst speech information401aspoken by a first speaker and one piece of data from among pieces of thesecond speech information401bspoken by a second speaker may be clustered as one group. Furthermore, one piece of thefirst speech information401aspoken by the first speaker, thesecond speech information401b,and thethird speech information401cmay be clustered as separate groups respectively.
Theelectronic device100 may detect a secondtemporary model460busing pieces ofinformation403 clustered with pieces of speech information having low scores. Furthermore, theelectronic device100 may compare the pieces ofspeech information401ato401cwith the secondtemporary model460bgenerated based on the clustered pieces ofinformation403. Accordingly, as illustrated inFIG. 4, thefirst speech information401aobtains lowest scores (or scores equal to or higher than a specified threshold), and thesecond speech information401band thethird speech information401cobtain relatively high scores (or scores equal to or lower than the specified threshold). Theelectronic device100 may re-perform clustering based on the scores, thereby obtaining a cluster including pieces of thefirst speech information401a,a cluster including pieces of thesecond speech information401b,and a cluster including thethird speech information401c,as illustrated inFIG. 4. Based on the above result, theelectronic device100 may register the cluster including the pieces of thefirst speech information401aas thepersonalized voice information133.
FIG. 5 is a diagram illustrating an example personalized voice information update according to various example embodiments of the present disclosure.
Referring toFIG. 5, thepersonalized voice information133 of a specific speaker may be audio information corresponding to speech reference information “Hi Galaxy”. In this example, as described above, thepersonalized voice information133 may include phonemic models for each of “h-ai-g-ae-l-ax-k-s-iy” as illustrated inFIG. 5. According to an example embodiment of the present disclosure, thepersonalized voice information133 may include, for example, a “ha” registrationphonemic model501, as a phonemic model. Furthermore, thepersonalized voice information133 may include aregistration frequency model510 related to the corresponding registrationphonemic model501 when the speaker speaks “Hi Galaxy”.
Theelectronic device100 may enable themicrophone module140 based on a specified condition. As illustrated inFIG. 5, themicrophone140 may collect audio information obtained by speaking speech reference information such as “How's the weather?” by a specific speaker. In this example, theelectronic device100 may extract phonemic models “h-aw-s-th-ax-w-eh-th-er” for the speech reference information. Theelectronic device100 may collect a newphonemic model503 of the same “ha” from among the extracted phonemic models. Furthermore, theelectronic device100 may collect anew frequency model530 corresponding to the newphonemic model503.
In response to the same phonemic model “ha”, theelectronic device100 may store the newphonemic model503 and thenew frequency model530 in association with theregistration phonemic model501 and theregistration frequency model510, or may integrate and store the foregoing models and frequencies as one phonemic model group. As described above, theelectronic device100 may extract a phonemic model and a frequency model from speech information spoken by a specific speaker so as to extend a model group of the registeredpersonalized voice information133. Based on this extended model group, theelectronic device100 may more accurately recognize specified speech reference information registered as thepersonalized voice information133 even if a speaker speaks the speech reference information in various situations.
As described above, according to various example embodiments of the present disclosure, an electronic device according to an example embodiment of the present disclosure may include a memory for storing at least a portion of a plurality of pieces of speech information used for voice recognition, and a control module for generating voice recognition information based on at least a portion of the plurality of pieces of speech information, wherein the control module may select speaker speech information from at least a portion of the plurality of pieces of speech information based on mutual similarity, and may generate the voice recognition information to be registered as personalized voice information based on the speaker speech information.
According to various example embodiments of the present disclosure, the control module may be configured so that a message for applying the voice recognition information to the voice recognition is output.
According to various example embodiments of the present disclosure, the control module may be configured so that the pieces of speech information are collected for a specified time or until a specified number of the pieces of speech information is satisfied.
According to various example embodiments of the present disclosure, the control module may be configured to generate multi-condition training models of the plurality of pieces of speech information, and may use the multi-condition training models to determine the voice recognition information to be registered as the personalized voice information.
According to various example embodiments of the present disclosure, the control module may be configured to generate multi-condition training models of pieces of the speaker speech information, and may use the multi-condition training models to determine the voice recognition information to be registered as the personalized voice information.
According to various example embodiments of the present disclosure, the control module may be configured so that other speech information input from a specific speaker corresponding to the personalized voice information is collected and a model of the personalized voice information is adapted.
According to various example embodiments of the present disclosure, the control module may be configured so that a phonemic sample corresponding to a registered phonemic model included in the personalized voice information is extracted from the speech information input from the specific speaker and is used to adapt the registered phonemic model.
According to various example embodiments of the present disclosure, in the example where new speech information newly input is not a speech of the specific speaker corresponding to the personalized voice information, the control module may be configured so that a message of unavailability of function execution based on the new speech information is output or may selectively control the function execution based on the type of a function requested by the new speech information.
According to various example embodiments of the present disclosure, the control module may be configured so that the function is not performed if the function is a specified secure function or the function is performed if the function is a non-secure function not specified.
According to various example embodiments of the present disclosure, the control module may be configured so that a setting screen is output for setting at least one function item to be executed based on a voice function in response to a speech information input from a speaker specified based on the personalized voice information.
As described above, according to various example embodiments of the present disclosure, an electronic device according to an example embodiment of the present disclosure may include a memory for storing voice data information including pieces of speech information as candidate data, and a control module configured so that one piece of speaker-related information is selected from the candidate data, wherein the control module may be configured so that the candidate data are clustered based on mutual similarity, and specified personalized voice information is registered to be used to restrict execution of a function based on whether specified speech information is input, based on candidate data with the same similarity, the number of which is relatively large.
FIG. 6 is a flowchart illustrating an example method of personalized voice during operation of a voice function according to various example embodiments of the present disclosure.
Referring toFIG. 6, inoperation601, if an event occurs, thecontrol module160 of theelectronic device100 may be configured to determine whether the event is related to setting of a personalized voice function. For example, thecontrol module160 may be configured to determine whether the event is for executing a specified function for personalized voice, or is related to automatic execution of a personalized voice function, or is for executing specified function such as a voice recognition function.
If the event is not related to setting of the personalized voice function, thecontrol module160 may be configured to control execution of a function based on the type of the event that has occurred inoperation603. For example, thecontrol module160 may check the type of the event, and may handle playback of a music file, transfer of a specified file, execution of a call function, or execution of a web access function based on the type of the event.
If the event is related to setting of the personalized voice function, thecontrol module160 may collect candidate data as thevoice data information131 inoperation605. In relation to this operation, thecontrol module160 may enable themicrophone140 if theelectronic device100 is in a turned-on state or at a specified time. Thecontrol module160 may collect a specified number of candidate data at a specified period, or in real time, or when an audio signal having a specified intensity or higher occurs. According to an example embodiment of the present disclosure, thecontrol module160 may be configured to perform a candidate group collecting operation until the number of candidate data becomes a specified number. According to an example embodiment of the present disclosure, thecontrol module160 may be configured to automatically enable themicrophone module140 for a specified time (e.g., one hour, one day, one week, one month, or the like) after theelectronic device100 is purchased, so as to collect candidate data. Alternatively, thecontrol module160 may be configured to collect candidate data until specified number of candidate data are collected or for a specified time, when a voice function (e.g., a call function, a voice recognition function, a recording function, a voice command function, or the like) is operated.
Inoperation607, thecontrol module160 may be configured to process thevoice data information131 and may extract thepersonalized voice information133. For example, thecontrol module160 may be configured to extract clusters including candidate data spoken by the same speaker by performing comparison between collected pieces of thevoice data information131 with a temporary model and performing clustering of the collected pieces of thevoice data information131. Thecontrol module160 may be configured to compare data of the extracted clusters so as to extract candidate data of a cluster having a largest number of data and register the extracted candidate data as thepersonalized voice information133.
Inoperation609, thecontrol module160 may be configured to handle application of personalized voice information. If thepersonalized voice information133 is registered, thecontrol module160 may be configured to compare speaker speech information input thereafter with data of thepersonalized voice information133 to check similarity therebetween. Furthermore, if the similarity satisfies a specified condition (e.g., a similarity degree is equal to or higher than a specified value), thecontrol module160 may recognize the input speech information as speech information of a specific speaker. If it is determined that the input speech information is the speech information of the specific speaker, thecontrol module160 may be configured to control a voice function for the speech information. For example, thecontrol module160 may perform voice recognition on the speech information, and may control execution of a specified function based on a voice recognition result. Alternatively, thecontrol module160 may support at least one of retrieval and output of internal information of theelectronic device100 with respect to the voice recognition result or retrieval and output of information using an external server device in relation to the voice recognition result.
If the input speech information is not the speech information of the specific speaker, thecontrol module160 may be configured to output a guide text for notifying that a speaker of the input speech information is not the specific speaker, or may support execution of a specified function according to a user's setting or a set policy. For example, thecontrol module160 may perform retrieval and output of information related to the result of voice recognition from the speech information using an external server device. Alternatively, in the case where the speaker of the input speech information is not the specific speaker, thecontrol module160 may be configured to check the type of information or the type of a function to be performed by the speech information based on the user's setting or policy, and may restrictively or selectively perform function execution or information output.
FIG. 7 is a flowchart illustrating an example personalized voice information update method according to various example embodiments of the present disclosure.
Referring toFIG. 7, inoperation701, thecontrol module160 may be configured to determine whether a personalized voice function is currently executed or an event that has occurred is related to execution of the personalized voice function. If the personalized voice function is not currently executed or there is no occurrence of the related event, thecontrol module160 may support execution of a specified function or control of a specified state inoperation703. For example, thecontrol module160 may support a camera function or a music playback function according to the type of the event. Alternatively, thecontrol module160 may maintain a sleep mode.
If there is a setting (e.g., a setting for automatically supporting an always-on state) related to execution of the personalized voice information or an event (e.g., an event of requesting enablement of themicrophone module140 in relation to execution of the personalized voice function) occurs, thecontrol module160 may be configured to collect adaptation (or enhancement) information inoperation705. For example, thecontrol module160 may be configured to enable themicrophone module140 and may collect speech information having a specified length or longer or speech information corresponding to specified speech reference information.
Inoperation707, thecontrol module160 may be configured to perform personalized voice information adaptation. According to an example embodiment of the present disclosure, thecontrol module160 may be configured to collect phonemic models from various information spoken by a specific speaker, and may store or integrate the collected models in association with phonemic models having the same reference phonemes as those of phonemic models registered as thepersonalized voice information133. Alternatively, thecontrol module160 may be configured to collect only speech information corresponding to the specified speech reference information, and may manage phonemic models corresponding to the same reference phonemes in the collected speech information by integrating the phonemic models into one model group.
Inoperation709, thecontrol module160 may determine whether an adaption ratio (or an adaptation degree or an enhancement ratio) satisfies a specified condition. For example, thecontrol module160 may be configured to check the degree of similarity between the phonemic models in the collected speech information and phonemic models being managed and an information update ratio based on the degree of similarity, and may specify the adaptation ratio based on the update ratio or update frequency. If the adaptation ratio does not satisfy the specified condition, the process may return tooperation701 so that thecontrol module160 may re-performoperation701 and the following operations. If the adaptation ratio satisfies the specified condition, thecontrol module160 may end a personalized voice information adaptation function.
FIG. 8 is a diagram illustrating an example of a screen interface related to execution of a personalized voice function according to various example embodiments of the present disclosure.
Referring toFIG. 8, thecontrol module160 of theelectronic device100 may be configured to output, to thedisplay150, a screen corresponding to activation of a voice function (e.g., a voice command function) as illustrated in ascreen801. In this operation, if a personalization function is not currently applied, thecontrol module160 may output aguide message811 for providing a notification that the personalization function is being set. Theguide message811 may include at least one of a text or an image for notifying that candidate group information is being collected in relation to setting of the personalized voice function. Output of theguide message811 may be skipped based on a setting or a user input. Alternatively, as illustrated inFIG. 8, thecontrol module160 may output, to a specified area (e.g., an indicator area), afirst indicator810 for notifying that the personalization function is being set.
If a specific audio signal is input while the personalization function is being set, thecontrol module160 may be configured to determine whether a collected audio signal is speech information corresponding to a voice by checking a frequency band of the audio signal. If the audio signal is the speech information, thecontrol module160 may collect it as thevoice data information131. Alternatively, even if the audio signal is the speech information, thecontrol module160 may determine whether a specified condition (e.g., speech information having at least a certain length or speech information corresponding to specified speech reference information) is satisfied. Thecontrol module160 may be configured to collect pieces of the speech information satisfying the specified condition as thevoice data information131. According to various example embodiments of the present disclosure, thecontrol module160 may collect an audio signal as thevoice data information131 or may collect an audio signal of which a signal existence state is maintained for at least a certain length as thevoice data information131. Furthermore, if thevoice data information131 is collected by as much as a specified amount or for a specified time, thecontrol module160 may evaluate the collectedvoice data information131 with respect to division of speech information or correspondence to speech reference information.
If thepersonalized voice information133 is registered since collecting and processing of thevoice data information131 for executing a personalized voice function are completed, thecontrol module160 may output aguide message831 for notifying that the personalization function is being applied, as illustrated in ascreen803. Theguide message831 may include at least one of a text or an image indicating that the personalized voice function is being applied. Output of theguide message831 may be skipped based on a setting or a user control input. Alternatively, thecontrol module160 may output, to a specified area (e.g., an indicator area), asecond indicator830 for notifying that the personalized voice function is being applied.
Thecontrol module160 may be configured to perform training for voice modeling, after sufficient voice samples are obtained for a specified time or a specified number or a specified amount of sufficient voice samples are obtained. If, for example, it is determined that a sufficient speaker recognition performance is obtained since a training result brings about a specified amount (e.g., equal to or larger than a specified sample number or specified reliability), thecontrol module160 may provide, to a user, a recommendation or selection message for inducing the user to use a personalized voice recognition function. In this operation, thecontrol module160 may request user's approval (e.g., confirmation according to a popup message output) for updating a model.
If an audio signal is input while the personalization function is applied, thecontrol module160 may analyze the input audio signal. Based on a result of audio signal analysis, thecontrol module160 may support function execution or restrictive function execution. For example, if afirst voice command820 is collected, thecontrol module160 may analyze thefirst voice command820 and may classify it as a request for non-secure function execution. According to an example embodiment of the present disclosure, in the case where the analyzedfirst voice command820 includes a non-specified word (e.g., weather, news, bus information, etc.), thecontrol module160 may classify thefirst voice command820 as a request for non-secure function execution. Alternatively, in the case where thefirst voice command820 does not include a specified word (e.g., cost, card, mail, message, call history, etc.), thecontrol module160 may classify thefirst voice command820 as a request for secure function execution. Alternatively, thecontrol module160 may determine whether the type of an application to be executed by thefirst voice command820 is a secure function or a non-secure function. In relation to this operation, theelectronic device100 may include classification information on a secure function or a non-secure function for each application type.
If thefirst voice command820 for a non-secure function or a function not specified by a user as a speaker-dependent function is collected, thecontrol module160 may collect and output information for thefirst voice command820. For example, as illustrated in ascreen805, thecontrol module160 may output firstvoice recognition information851 corresponding to thefirst voice command820, and may outputfirst execution information853 as a result of performing a function or retrieval corresponding to the firstvoice recognition information851.
If asecond voice command840 is collected while the personalized voice function is applied, thecontrol module160 may perform speaker analysis (e.g., comparison with the personalized voice information133) on thesecond voice command840, and may process thesecond voice command840 only if analyzed speaker information indicates a registered speaker. For example, if it is determined that a speaker indicated as a result of analysis is not a registered speaker, thecontrol module160 may output a message related to unavailability of processing thesecond voice command840.
According to various example embodiments of the present disclosure, thecontrol module160 may evaluate the collectedsecond voice command840, and may determine whether thesecond voice command840 is related to a secure function or a function specified as a speaker-dependent function. If thesecond voice command840 is related to a non-secure function or a function not specified as a speaker-dependent function, thecontrol module160 may handle execution of a function based on thesecond voice command840 without additionally checking thepersonalized voice information133. Alternatively, if thesecond voice command840 is related to a secure function or a speaker-dependent function, thecontrol module160 may identify a speaker of thesecond voice command840 using thepersonalized voice information133. Furthermore, if it is determined that the speaker of thesecond voice command840 is a specific speaker, thecontrol module160 may execute a function corresponding to thesecond voice command840. If thesecond voice command840 is not speech information input from a specific speaker, thecontrol module160 may output, in response to thesecond voice command840, a restrictive message873 of user identification or unavailability of function execution. For example, thecontrol module160 may selectively output secondvoice recognition information871 for thesecond voice command840.
FIG. 9 is a diagram illustrating an example of a screen interface related to setting of personalized voice information according to various example embodiments of the present disclosure.
Referring toFIG. 9, if an event related to voice function setting occurs, thecontrol module160 of theelectronic device100 may output, to thedisplay150, a setting screen as illustrated in ascreen901. The setting screen may include items related to voice function setting, such as an external server use item, a personalization function operation item, and a voice output item. As illustrated inFIG. 9, avirtual reset button911 may be assigned to the personalization function operation item in relation to personalization function setting or application.
If thevirtual reset button911 is selected, thecontrol module160 may support resetting of thevoice data information131 or thepersonalized voice information133 obtained in relation to personalization function setting or application. In relation to this operation, thecontrol module160 may output, to thedisplay150, apopup window931 related to initialization as illustrated in ascreen903. Thepopup window931 may include, for example, a message for providing a guide on initialization and an authentication information input area for user authentication.
Inscreen901, if amenu item913 is selected in relation to personalization function operation, thecontrol module160 may output a menu screen related to personalization function operation as illustrated in ascreen905. The menu screen may include, for example, items for selecting at least one application to which a personalized voice function is to be applied. For example, the menu screen may include anentire function item951, a password-set function item953, and a user customizeditem955.
Theentire function item951 may be a restrictive item for allowing only a specific speaker to use, through a voice function, all functions supported by applications installed in theelectronic device100. In the case where theentire function item951 is not set, theelectronic device100 may operate a voice function based on speech information of various users without specifying a speaker.
The password-set function item953 may be a restrictive item for allowing function items related to a secure function to be used based on a voice function and speech information of a specific speaker. According to an example embodiment of the present disclosure, when the password-set function item953 is selected, theelectronic device100 may provide items of functions that require password authentication when operated according to user designation or items of functions that require password authentication for an application operating schedule among provided applications. A specific function may be excluded from the password-set function item953 when a password set in an application is released.
The user customizeditem955 may enable a user to specify an application item to be used based on a voice function and speech information of a specific speaker. If the user customizeditem955 is selected, theelectronic device100 may output a list of applications supported by theelectronic device100. Here, theelectronic device100 may automatically remove the password-set function item953 from a list related to the user customizeditem955 to display the list.
As described above, according to various example embodiments of the present disclosure, a voice function operating method according to an example embodiment of the present disclosure may include storing at least a portion of a plurality of pieces of speech information used for voice recognition, selecting speaker speech information from at least a portion of the plurality of pieces of speech information based on mutual similarity, and generating voice recognition information to be registered as personalized voice information based on the speaker speech information selected.
According to various example embodiments of the present disclosure, the method further comprises at least one of collecting the speech information for a specified time or collecting the speech information until a specified number of candidate data is satisfied.
According to various example embodiments of the present disclosure, the method may further include outputting a message for applying the voice recognition information to the voice recognition.
According to various example embodiments of the present disclosure, the method may further include generating multi-condition training models of the plurality of pieces of speech information, and applying the multi-condition training models to determine the voice recognition information to be registered as the personalized voice information.
According to various example embodiments of the present disclosure, the generating may include generating multi-condition training models of pieces of the speaker speech information, and applying the multi-condition training models to determine the voice recognition information to be registered as the personalized voice information.
According to various example embodiments of the present disclosure, the method may further include collecting other speech information input from a specific speaker corresponding to the personalized voice information, and adapting a model of the personalized voice information using the other speech information of the specific speaker.
According to various example embodiments of the present disclosure, the adapting may include extracting a phonemic sample corresponding to a registered phonemic model included in the personalized voice information from the speech information input from the specific speaker to use the phonemic sample in adapting the registered phonemic model.
According to various example embodiments of the present disclosure, the method may further include outputting, if new speech information newly input is not a speech of the specific speaker corresponding to the personalized voice information, a message of unavailability of execution of a function according to the new speech information, and selectively executing the function according to the type of the function requested by the new speech information.
According to various example embodiments of the present disclosure, the executing the function may include not performing the function if the function is a specified secure function and performing the function if the function is a non-secure function and is not specified.
According to various example embodiments of the present disclosure, the method may further include outputting a setting screen for setting at least one function item to be executed based on a voice function in response to a speech information input from a speaker specified based on the personalized voice information.
As described above, according to various example embodiments of the present disclosure, a voice function operating method according to an example embodiment of the present disclosure may include collecting pieces of speech information as candidate data, clustering the candidate data based on mutual similarity, and registering specified personalized voice information to be used to restrict execution of a function based on whether specified speech information is input, based on candidate data with the same similarity, the number of which is relatively large.
FIG. 10 is a block diagram illustrating an example of an electronic device according to various example embodiments of the present disclosure.
Referring toFIG. 10, theelectronic device100 may include a control module (e.g., including a processor including processing circuitry)1060 and a microphone module (e.g., including at least one microphone)1040.
Themicrophone module1040 may include, for example, first to Nth microphones40_1 to40_N. The first to Nth microphones40_1 to40_N may be connected to, for example, thecontrol module1060. The first to Nth microphones40_1 to40_N may be arranged at one side of theelectronic device100 so as to be spaced apart from each other by a certain distance.
Themicrophone module1060 may control at least one of the microphones included in themicrophone module1040. For example, at a time of setting a personalized voice function, thecontrol module1060 may enable the first microphone40_1 and may analyze an audio signal collected by the first microphone40_1. Furthermore, thecontrol module1060 may use audio signals collected through the first microphone40_1 as thevoice data information131. Thecontrol module1060 may also collect pieces of speech information corresponding to thevoice data information131 using the first to Nth microphones40_1 to40_N. Alternatively, thecontrol module1060 may use the first microphone40_1 alone to collect thevoice data information131, and may use the first to Nth microphones40_1 to40_N to adapt (or enhance) thepersonalized voice information133.
In the example where themicrophone module1040 is required to be maintained in a turned-on state as an always-on function is executed, theelectronic device100 may enable the first microphone40_1 and may check whether speech information corresponding to specified speech reference information (e.g., “hi galaxy”) is collected. Theelectronic device100 may use, for adapting thepersonalized voice information133, additional speech information collected in a state in which the other microphones are enabled after the speech information corresponding to the speech reference information is collected. In this operation, theelectronic device100 may support execution of a voice function according to the speech information collected by the microphones40_1 to40_N.
In a state in which a personalized voice function is not applied, thecontrol module1060 may support a voice function using the first microphone40_1 alone. Furthermore, in a state in which the personalized voice function is applied, thecontrol module1060 may detect speech information corresponding to the speech reference information using the first microphone40_1, and may collect additional speech information using the microphones40_1 to40_N.
Alternatively, in the state in which the personalized voice function is not applied, thecontrol module1060 may collect speech information and may perform analysis on whether the collected speech information corresponds to the speech reference information using the first microphone40_1 alone. In the state in which the personalized voice function is applied, thecontrol module1060 may detect speech information corresponding to the speech reference information using a plurality of microphones (e.g., the first and second microphones40_1 and40_2). Furthermore, in the state in which the personalized voice function is applied, thecontrol module1060 may enable the first to Nth microphones40_1 to40_N to control collection of additional speech information, if speech information corresponding to the speech reference information is collected.
As described above, theelectronic device100 may control operation of the microphones40_1 to40_N in consideration of efficient use of power or in order to collect more clear speech information.
FIG. 11 is a block diagram illustrating another example of an electronic device according to various example embodiments of the present disclosure.
Referring toFIG. 11, theelectronic device100 may include a control module (e.g., including a processor including processing circuitry)1160 and a microphone module (e.g., including at least one microphone)1040.
Themicrophone module1040 may include first to Nth microphones40_1 to40_N in a similar manner to that described above with reference toFIG. 10. The plurality of microphones40_1 to40_N may be connected to thecontrol module1160. For example, the first microphone40_1 from among the plurality of microphones40_1 to40_N may be connected to a low-power processing module1163. The Nth microphone40_1 from among the plurality of microphones40_1 to40_N may be connected to amain control module1161. Meanwhile, the second to Nth microphones40_2 to40_N may be connected to both the low-power processing module1163 and themain control module1161. Furthermore, the first microphone40_1 may be connected to not only the low-power processing module1163 but also themain control module1161. Accordingly, the first microphone40_1 may transfer a collected audio signal to the low-power processing module1163, or, if themain control module1161 is in a woken state, the first microphone40_1 may transfer the collected audio signal to themain control module1161 or both the low-power processing module1163 and themain control module1161.
Thecontrol module1160 may include themain control module1161 and the low-power processing module1163.
The low-power processing module1163 may, for example, be a processor (e.g., including processing circuitry) driven with relatively low power compared to themain control module1161. For example, the low-power processing module1163 may be a chip dedicated to audio signal processing, a sensor hub, or a chip dedicated to speech information processing. The low-power processing module1163 may be independently driven while themain control module1161 is in a sleep mode, so as to control driving of the first microphone40_1 included in themicrophone module1040 and analyze an audio signal collected by the first microphone40_1. For example, the low-power processing module1163 may analyze whether the audio signal collected by the first microphone40_1 is speech information corresponding to a voice, or is speech information corresponding to specified speech reference information, or is speech information spoken by a specific speaker. If the speech information satisfies a specified condition, the low-power processing module1163 may wake themain control module1161. In this operation, the low-power processing module1163 may perform control so that the second to Nth microphones40_2 to40_N which are in a disabled state is enabled.
In operation of a voice function, themain control module1161 may be woken by the low-power processing module1163 after remaining in a sleep mode in consideration of efficient use of power. In this example, themain control module1161 may enable the second to Nth microphones40_2 to40_N, and may collect and analyze additional speech information. Themain control module1161 may control collection of thevoice data information131 for collected pieces of speech information, registration of thepersonalized voice information133, and restrictive execution of a voice function according to application of a personalized voice function, as described above with respect to thecontrol module150.
The term “module” used herein may represent, for example, a unit including one of hardware (including hardware circuitry), software and firmware or a combination thereof. The term “module” may be interchangeably used with the terms “unit”, “logic”, “logical block”, “component” and “circuit”. The “module” may be a minimum unit of an integrated component or may be a part thereof. The “module” may be a minimum unit for performing one or more functions or a part thereof. The “module” may be implemented mechanically or electronically. For example, the “module” may include at least one of processing circuitry, hardware circuitry, firmware, an application-specific integrated circuit (ASIC) chip, a field-programmable gate array (FPGA), and a programmable-logic device for performing some operations, which are known or will be developed.
At least a part of devices (e.g., modules or functions thereof) or methods (e.g., operations) according to various example embodiments of the present disclosure may be implemented as instructions stored in a computer-readable storage medium in the form of a program module.
The module or program module according to various example embodiments of the present disclosure may include at least one of the above-mentioned elements, or some elements may be omitted or other additional elements may be added. Operations performed by the module, the program module or other elements according to various example embodiments of the present disclosure may be performed in a sequential, parallel, iterative or heuristic way. Furthermore, some operations may be performed in another order or may be omitted, or other operations may be added.
According to various example embodiments of the present disclosure, the type of voice function that may be operated for each speaker or the type of an application executable by voice recognition may be handled in a speaker-dependent manner.
Therefore, according to various example embodiments of the disclosure, the security related to a voice function of an electronic device may be secured.
The above example embodiments of the present disclosure are illustrative and not limitative. Various alternatives and equivalents are possible. Other additions, subtractions, or modifications will be apparent in view of the present disclosure and are intended to fall within the scope of the appended claims.