Abstract:
Apparatuses and methods related an electronic apparatus and a voice processing method thereof are provided. More particularly, the apparatuses and methods relate to an electronic apparatus capable of recognizing a user&#39;s voice and a voice processing method thereof. An electronic apparatus includes: a voice recognizer configured to recognize a user&#39;s voice; a storage configured to have previously stored instructions; a function executor which performs a predetermined function; and a controller configured to control the function executor to execute the function in response to the instruction in response to a user&#39;s voice corresponding to the instruction being input, and controls the function executor to execute the function in accordance with results of an external server which analyzes a user&#39;s voice in response to a preset dialog selection signal and a dialog voice for executing the function being input by a user.

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
     This application claims priority from Korean Patent Application No. 10-2013-0007032, filed on Jan. 22, 2013 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference, in its entirety. 
     BACKGROUND 
     Field 
     Apparatuses and methods consistent with the exemplary embodiments relate to an electronic apparatus and a voice processing method thereof. More particularly, the exemplary embodiments relate to an electronic apparatus capable of recognizing a user&#39;s voice and a voice processing method thereof. 
     Description of the Related Art 
     In addition to recent various functions of audio/video (AV) apparatuses such as a blue-ray Disc® (BD)/digital versatile disc (DVD) player, as well as a television, functions of using a microphone for voice recognition to control the apparatus have been used beyond an input method employing an existing remote controller. 
     A voice recognition method includes a voice command processing method of recognizing a previously stored instruction, and a method of processing a dialogue voice of recognizing not the previously stored instruction, but rather recognizing the voice. For example, to turn up the volume of the electronic apparatus, the volume of the electronic apparatus may be controlled by a previously stored instruction of “volume up” or by dialogue voice recognition of processing voice of “increase the volume” having the same meaning as “volume up” but not stored. In the case of the dialogue voice recognition, an external voice recognition server is used to analyze a user&#39;s voice and determine the meaning of the voice. 
     Such two voice recognition systems has currently used a method in which a user&#39;s spoken voice is analyzed in the voice recognition server. A determination has been made whether there is a command mode process. In response to a spoken voice corresponding to a previously stored instruction, a relevant function is performed; otherwise, the spoken voice is processed by a dialog mode process. 
     In the foregoing method, when a user speaks dialogue voice, the spoken voice has to unconditionally undergo both a command mode process and a dialog mode process. However, this causes a problem with respect to the time taken in carrying out both the command mode process and the dialog mode process, and the inefficiency of operating the system where the instruction process is wastefully performed. 
     SUMMARY 
     One or more exemplary embodiments may provide an electronic apparatus and method of processing a voice processing method thereof, in which time delay is decreased and efficiency of the apparatus is enhanced, with regard to recognition of user&#39;s voice. 
     Also, another exemplary embodiment provides an electronic apparatus and method of processing a voice, in which user experience can be induced and increased with regard to recognition of user&#39;s voice. 
     The foregoing and/or other aspects of the present disclosure may be achieved by providing an electronic apparatus including: a voice recognizer configured to recognize a user&#39;s voice; a storage configured to previously store instructions; a function executor configured to perform a predetermined function; and a controller configured to control the function executor to execute the function in response to the instruction in response to a user&#39;s voice corresponding to the instruction being input, and is configured to control the function executor to execute the function in accordance with results of an external server analyzing a user&#39;s voice in response to a preset dialogue selection signal and a dialogue voice for executing the function being input by a user. 
     According to an aspect of another exemplary embodiment, the dialogue selection signal may include a user&#39;s voice signal. 
     According to an aspect of another exemplary embodiment, the electronic apparatus may further include a user input configured to include a toggle button. 
     The foregoing and/or other aspects of exemplary embodiments may be achieved by providing an electronic apparatus including: a voice recognizer configured to recognize a user&#39;s voice; a storage configured to previously store instructions; a function executor configured to perform a predetermined function; and a controller configured to process a user&#39;s voice through one of an instruction process in which the function is executed in accordance with the instruction corresponding to a user&#39;s voice and a dialogue process in which the function is executed in accordance with results of an external server analyzing a user&#39;s voice, based on a process selection signal input by a user, and configured to control the function executor to execute the function corresponding to the processed user&#39;s voice. 
     According to an aspect of another exemplary embodiment, the process selection signal may include a user&#39;s voice signal for selecting one of the instruction process and the dialogue process. 
     According to an aspect of another exemplary embodiment, the voice recognizer is configured to sequentially receive a user&#39;s voice which corresponds to the process selection signal and a user&#39;s voice for executing the function from a user. 
     The foregoing and/or other aspects of the exemplary embodiments may be achieved by providing a voice processing method of an electronic apparatus including a storage which previously stores an instruction, the method including: recognizing a user&#39;s voice; determining whether a preset dialogue selection signal is input; and executing a predetermined function in accordance with results of an external server analyzing the recognized user&#39;s voice in response to a determination that the dialogue selection signal is input, and executing the function in response to the instruction corresponding to a user&#39;s voice in response to a determination that the dialogue selection signal is not input. 
     According to an aspect of another exemplary embodiment, the dialogue selection signal may include a user&#39;s voice signal in selecting a dialogue process. 
     Another exemplary embodiment may provide an electronic apparatus including: a function executor configured to perform a predetermined function; and a controller configured to control the function executor to execute the function in response to instructions received in response to a user&#39;s voice corresponding to the instruction being input, and controls the function executor to execute the function in accordance with results of an external server analyzing a user&#39;s voice in response to a preset dialogue selection signal and a dialogue voice for executing the function being input by a user. 
     The electronic apparatus may further include: a voice recognizer configured to recognize a user&#39;s voice and a storage configured to have previously stored instructions. The dialogue selection signal may include a user&#39;s voice signal. 
     The electronic apparatus may further include a user input comprising a toggle button, wherein the dialogue selection signal is generated by the toggle button. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
       The above and/or other aspects will become apparent and more readily appreciated from the following description of exemplary embodiments, taken in conjunction with the accompanying drawings, in which: 
         FIG. 1  is a control block diagram of an electronic apparatus according to an exemplary embodiment; 
         FIG. 2  is a control flowchart which explains a method of controlling an electronic apparatus according to an exemplary embodiment; 
         FIG. 3  is a control flowchart which explains a method of controlling an electronic apparatus according to another exemplary embodiment; and 
         FIG. 4  is a control block diagram of an electronic apparatus according to an exemplary embodiment. 
     
    
    
     DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS 
     Below, exemplary embodiments will be described in detail with reference to accompanying drawings so as to be easily understood by a person having ordinary knowledge in the art. The exemplary embodiments may be embodied in various forms without being limited to the embodiments set forth herein. Descriptions of well-known parts are omitted for clarity, and like reference numerals refer to like elements throughout. 
       FIG. 1  is a control block diagram of an electronic apparatus according to an exemplary embodiment. In this exemplary embodiment, the electronic apparatus  1  may include a television, a computer system, a settop box, a Blue-ray Disc® (BD) player, a digital versatile disc (DVD) player, an MP3 player, an audio/video (AV) device which can reproduce voice and image files, or the like. The electronic apparatus  1  may be implemented as a personal digital assistant (PDA), a tablet computer, a household or mobile phone, etc., or may be implemented as home appliances such as a washing machine and a microwave oven. In this exemplary embodiment, the electronic apparatus  1  may recognize a user&#39;s voice and may perform various functions in accordance with a user&#39;s voice. To this end, the electronic apparatus  1  includes a voice recognizer  10 , a storage  20 , a function executor  30  and a controller  40 . 
     The voice recognizer  10  includes a microphone which receives a user&#39;s voice or various sounds. The voice recognizer  10  extracts a user&#39;s voice from received sounds in response to receiving a user&#39;s voice, and converts the extracted user&#39;s voice into a machine language that can be processed by the electronic apparatus  1 , thereby determining the meaning of the extracted user&#39;s voice. Also, in response to the recognized voice being for executing a function based on voice recognition, the voice recognizer  10  transmits to the controller  40  information related to the voice. 
     According to another exemplary embodiment, the electronic apparatus  1  may include only the microphone for receiving the voice, and may determine a user&#39;s voice through the external server that extracts voice by analyzing the received sound and determines the meaning of the voice. 
     The storage  20  stores instructions for executing various functions of the electronic apparatus  1 , based on a user&#39;s voice. In response to the function of the electronic apparatus  1  being performed by input based on voice besides input based on a user&#39;s control using a key, a button, or a touch sensor, the previously set instructions for performing the functions are previously stored. For example, in response to the electronic apparatus  1  being a television, the instructions such as “volume up”, “volume down”, “channel change”, “record start”, etc. may be stored in the storage  20 . In response to the recognized user&#39;s voice being matched to the instruction stored in the storage  20 , the controller  40  carries out the function of the electronic apparatus  1  in accordance with the instruction. Thus, in response to receiving a user&#39;s voice which matches the instruction stored in the storage  20 , the controller  40  which determine a voice recognition process which performs the function as an instruction process. In the case of the instruction process, in response to the received user&#39;s voice being mismatched to the stored instruction or has the same or similar meaning as voice corresponding to the stored instruction, the controller  40  do not carry out any function in accordance with the user&#39;s voice. 
     A user may directly input various instructions to the storage  20  or may change or delete instructions. Frequently used instructions are stored so that functions can be quickly and rapidly carried out. 
     The function executor  30  symbolically represents an executor corresponding to various functions that can be executed by the electronic apparatus  1 . The function executor  30  may include any hardware or software necessary for carrying out various functions, and the functions may be performed not by a user&#39;s voice but rather by the direct control of a user. 
     The controller  40  controls a user&#39;s voice to undergo one of the instruction process and the dialogue process in response to receiving a recognition result of a user&#39;s voice from the voice recognizer  10 , thereby operating the function executor  30 . In the dialogue process, a user&#39;s voice is transmitted to the external server  2  and processed for carrying out a function based on analysis results from the server  2  in response to a user&#39;s voice not being matched to an instruction stored in the storage  20 . For example, in response to a user inputting voice such as “could you turn up volume?” or “more loudly”, which has similar meaning as the stored “volume up,” instead of “volume up,” the controller  40  transmits the recognized user&#39;s voice to the server  2 , allows the server  2  to determine the meaning of the voice, and receives the determined result from the server  2 . The server  2  determines a user&#39;s voice and transmits information related to one instruction from among the stored instructions or information related to an algorithm for performing the function to the electronic apparatus  1 . 
     In this exemplary embodiment, the controller  40  uses one of the instruction process and the dialogue process to process a user&#39;s voice in accordance with a preset dialogue selection signal input by a user. That is, in response to a user inputting the dialogue selection signal for processing voice through the dialogue process, the controller  40  processes a user&#39;s voice through the dialogue process. On the other hand, in response to the dialogue selection signal not being input, a user&#39;s voice may be processed through the instruction process. 
     For example, in response to a user inputting a voice of “dialogue” and voice for executing a function, the controller  40  transmits the voice for executing the function to the server  2 , thereby receiving analysis results from the server. In this case, the dialogue selection signal is a user&#39;s voice for selecting the dialogue process. In response to the dialogue selection signal being a user&#39;s voice, a user may set up various dialogue selection signals in accordance with his/her individual tastes. Thus, voice is input through the microphone and stored, so that the usability of the electronic apparatus  1  can be improved and a user can accumulate his/her experience of using the electronic apparatus  1 . 
     As is known, when a user inputs voice, his/her voice is processed through the instruction process. At this time, in response to a user&#39;s voice not being matched with the stored instruction, the voice is processed again through the dialogue process. Under the known control, the instruction process has to be wastefully implemented even in response to a user&#39;s voice not being matched to an instruction, and therefore time is delayed while responding to a user&#39;s voice and wasteful control deteriorates mechanical efficiency. 
     In this exemplary embodiment, a user can input a signal for selecting the process along with voice for command if he/she wants to process his/her voice to be processed through the dialogue process. Therefore, the electronic apparatus  1  can more quickly and efficiently respond to a user&#39;s command. Furthermore, even though a user may not remember, one by one, a lot of instructions stored in the storage  20 , a variety of verbalism can be used in order to carry out a function desired by a user. 
     In response to a user inputting only voice for carrying out a function without inputting the dialogue selection signal, the controller  40  processes a user&#39;s voice in accordance with the instruction process. At this time, in response to the voice input by a user not being matched with the stored instruction, the controller  40  switches to the dialogue process and processes a user&#39;s voice. This is because the function has to be implemented in accordance with a user&#39;s intention even though a user does not input the dialogue selection signal. 
     According to another exemplary embodiment, the controller  40  stores history and a record of a user&#39;s voice processed by the dialogue process. In response to a certain voice being repetitively input, this may be stored in the storage  20 . In the case where the function is carried out through the instruction stored in the storage  20 , it may be faster than that of using the external server  2  for carrying out the function. Therefore, a user&#39;s voice pattern is stored so as to induce the instruction process instead of the dialogue process. In this case, the controller  40  may inform a user through a graphic user interface (GUI) or the like that the instructions frequently used by a user are processed by not the dialogue process but the instruction process. 
       FIG. 2  is a control flowchart which explains a method of controlling an electronic apparatus according to an exemplary embodiment. Referring to  FIG. 2 , a voice processing method of the electronic apparatus according to an exemplary embodiment is as follows. 
     The electronic apparatus  1  receives a user&#39;s voice for executing a function from a user and recognizes the voice (S 10 ). 
     The user&#39;s voice recognized by the voice recognizer  10  is transmitted to the controller  40 , and the controller  40  determines whether the user&#39;s voice involves a preset dialogue selection signal, that is, whether or not the dialogue selection signal is input (S 20 ). 
     In result, in response to a determination that the dialogue selection signal is being input, the controller  40  determines that the dialogue process is selected; requests an analysis of the recognized user&#39;s voice to the server  2 ; and executes the function of the electronic apparatus  1  in accordance with the analysis results received from the server  2  (S 30 ). 
     On the other hand, in response to a determination that the dialogue selection signal is not input, the controller  40  determines that the instruction process is selected; and executes the function of the electronic apparatus  1  in accordance the instruction matching with a user&#39;s voice (S 40 ). 
       FIG. 3  is a control flowchart which explains a method of controlling an electronic apparatus according to another exemplary embodiment. In this exemplary embodiment, the controller  40  uses one of the instruction process executing the function in accordance with the instruction from the external server  2  matching a user&#39;s voice and the dialogue process executing the function in accordance with an analysis result of a user&#39;s voice based on a selection signal for selecting the dialogue process or the instruction process, so as to process a user&#39;s voice, and controls the function executor  30  to execute the function corresponding to the processed user&#39;s voice. That is, the electronic apparatus  1 , according to an exemplary embodiment receives a selection signal from a user for clearly selecting the instruction process or the dialogue process. 
     As shown in  FIG. 3 , according to an exemplary embodiment, a user inputs a process selection signal for selecting the process along with voice for executing a function to the electronic apparatus  1  (S 11 ). Such a process selection signal may include a user&#39;s voice for selecting one of the instruction process and the dialogue process. In this case, the voice recognizer  10  receives a user&#39;s voice for selecting the process and a user&#39;s voice for executing a function in sequence. 
     The controller  40  determines whether the process selection signal input by a user is a dialogue selection signal or an instruction selection signal (S 21 ). 
     In result, in response to the process selection signal being the dialogue selection signal, as shown in S 30  of  FIG. 2 , the controller  40  analyzes the recognized user&#39;s voice through the server  2  and carries out the function of the electronic apparatus  1  in accordance with the analysis results (S 30 ). 
     Likewise, in response to the process selection signal not being the dialogue selection signal but rather the instruction selection signal, the controller  40  determines that the instruction process is selected, and carries out the function of the electronic apparatus  1  in accordance with an instruction matching the user&#39;s voice (S 40 ). 
       FIG. 4  is a control block diagram of an electronic apparatus according to an exemplary embodiment. As shown therein, the electronic apparatus  1  in this embodiment further includes a user input  50 . The user input  50  may include a toggle button  51 , and may further include a touch sensor such as a touch pad. A user may control the toggle button  51  to generate the dialogue selection signal or the process selection signal. That is, a user may use the toggle button  51  to select a process for a user&#39;s voice recognition. In response to a user wanting to execute the function of the electronic apparatus  1  through his/her voice, he/she may activate or inactivate the toggle button  51 , thereby selecting one of the instruction process and the dialogue process. Alternatively, Further, a user&#39;s favorite process may be set up while the toggle button  51  is activated, and it is therefore convenient for a user to execute the function though his/her voice. 
     Although a few exemplary embodiments have been shown and described, it will be appreciated by those skilled in the art that changes may be made in these exemplary embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.