Electronic device and control method thereof
By classifying input data and analyzing artificial intelligence models, the problem of low data utilization efficiency when recognizing user voice commands is solved, and faster and more accurate command recognition is achieved.
Patent Information
- Application Number
- CN201980067464.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-11-02
- Filing Date
- 2019-11-01
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-11-01
AI Technical Summary
In the process of recognizing user voice commands, existing technology is difficult to effectively utilize multiple types of data, resulting in long recognition times and difficulty in determining which data to use.
By classifying input data by type and using an artificial intelligence learning model to determine a specific type of input data from the classified types, response information corresponding to the user's voice command is provided. The processor classifies and groups data such as time information, gestures, emotions, etc., calculates representative data, compares changes and assigns weights to improve recognition efficiency.
It improves the recognition efficiency of user voice commands, shortens the processing time, and enhances the ability to understand user commands.
Smart Images

Figure CN112840313B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device and a control method thereof, and for example, to an electronic device and a control method thereof that uses an artificial intelligence learning model to provide response information corresponding to a user voice command according to input data. Background Art
[0002] In order to perform an operation corresponding to a conventional user voice command, the input data is compared with the existing data. For example, the recognized user voice is compared with the previously stored data, or the recognized user behavior is compared with the previously stored data. However, there may be cases where the user voice command cannot be clearly understood only by comparing with the previously stored data. Summary of the invention
[0003] [Technical issues]
[0004] Therefore, in the process of recognizing the user's voice command, various types of data other than voice (such as gestures, emotions, etc.) can also be analyzed to specifically recognize the user's voice command. However, when all the various types of data are used, there is a problem that it takes a lot of time to perform recognition. In addition, it is difficult to determine which data to use.
[0005] [Technical solution]
[0006] The embodiments of the present disclosure solve the above-mentioned problems and provide an electronic device and a control method thereof, which classifies input data by type, uses an artificial intelligence learning model to determine a specific type of input data from the classified types, and provides information corresponding to a user voice command.
[0007] An exemplary aspect of an exemplary embodiment relates to an electronic device including a memory and a processor, the processor being configured to control the electronic device to: classify a plurality of input data into a plurality of types for storage in the memory, determine at least one type of the classified plurality of types of input data based on a voice command recognized in the input data, and provide response information corresponding to the voice command based on the determined type of input data.
[0008] The processor may determine at least one type of the classified plurality of types of input data based on time information associated with the user voice command.
[0009] The processor can group input data classified into multiple types according to preset time units, and obtain representative data for each of the multiple types corresponding to each time unit based on the grouped input to store in the memory, and provide response information corresponding to the voice command based on the representative data of the determined type.
[0010] The processor may compare the amount of change in representative data of each of the plurality of types corresponding to each time unit, and assign the greatest weight to the type having the greatest amount of change to provide response information corresponding to the voice command.
[0011] The plurality of types may include at least one of gesture information, emotion information, facial recognition information, gender information, age information, or voice information.
[0012] The processor may recognize the voice command based on at least one of gesture information or voice information in the input data.
[0013] The processor may recognize the voice command as a preset voice recognition unit based on the voice command recognized in the input data, and determine at least one of the classified plurality of types based on a time interval belonging to at least one voice recognition unit.
[0014] The processor may recognize the voice command as a preset voice recognition unit based on a wake-up word included in the voice command and based on a time interval at which the wake-up word is recognized.
[0015] The processor may provide response information corresponding to the voice command using input data input in a previous time interval before the wake-up word is recognized, based on the input data input based on a preset time interval after the wake-up word is recognized not providing response information.
[0016] The processor may determine at least one type of the classified plurality of types of input data based on information about a user's intention or an object to be controlled recognized in a voice command.
[0017] An exemplary aspect of an exemplary embodiment relates to a method for controlling an electronic device, comprising: classifying a plurality of input data into a plurality of types for storage in a memory, determining at least one type of the classified plurality of types of input data based on a voice command recognized in the input data, and providing response information corresponding to the voice command based on the determined type of input data.
[0018] Determining at least one type of the classified plurality of types of input data may include determining at least one type of the classified plurality of types of input data based on time information associated with the user voice command.
[0019] Storing in the memory may include: grouping input data classified into multiple types according to preset time units, and obtaining representative data of each of the multiple types corresponding to each time unit based on the grouped input to store in the memory, wherein providing response information corresponding to the voice command includes providing response information corresponding to the voice command based on the representative data of the determined type.
[0020] Providing response information corresponding to the voice command may include comparing the amount of change in the representative value of each of the multiple types corresponding to each time unit, and assigning the maximum weight to the type with the largest amount of change to provide response information corresponding to the voice command.
[0021] The plurality of types may include at least one of gesture information, emotion information, facial recognition information, gender information, age information, or voice information.
[0022] Determining at least one type of the classified plurality of types of input data may include recognizing a voice command based on at least one of gesture information or voice information in the input data.
[0023] Determining at least one type of the classified multiple types of input data may include, based on a voice command recognized in the input data, recognizing a voice command as a preset voice recognition unit; and determining at least one type of the classified multiple types of input data based on a time interval belonging to at least one voice recognition unit.
[0024] Determining at least one type of the classified plurality of types of input data may include, based on a wake-up word included in the user voice command, recognizing the user voice command as a preset voice recognition unit based on a time interval at which the wake-up word is recognized.
[0025] Providing response information corresponding to a voice command may include, based on the fact that no response information is provided for input data inputted during a preset time interval based on recognition of a wake-up word, providing response information corresponding to the user's voice command using input data inputted during a previous time interval before recognition of the wake-up word.
[0026] Determining at least one type of the classified multiple types of input data may include determining at least one type of the classified multiple types of input data based on at least one of a user intention or an object to be controlled recognized in a voice command. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent through the following detailed description in conjunction with the accompanying drawings, in which:
[0028] Figure 1 is a block diagram illustrating an exemplary electronic device according to an embodiment of the present disclosure;
[0029] Figure 2 It is shown Figure 1 A block diagram of an exemplary configuration of an exemplary electronic device;
[0030] Figure 3is a diagram illustrating an exemplary operation of classifying and storing input data according to types according to an embodiment of the present disclosure;
[0031] Figure 4A , Figure 4B , Figure 4C and Figure 4D is a diagram illustrating an exemplary operation of classifying and storing data in units of predetermined time according to an embodiment of the present disclosure;
[0032] Figure 5 is a diagram showing an exemplary process of classifying input data based on time information according to an embodiment of the present disclosure;
[0033] Figure 6 is a diagram showing an example of content stored in an input changing over time according to an embodiment of the present disclosure;
[0034] Figure 7 is a diagram illustrating an exemplary operation of grouping input data into predetermined time intervals according to an embodiment of the present disclosure;
[0035] Figure 8 is a diagram illustrating an exemplary process of obtaining a representative value of input data in a grouping process according to an embodiment of the present disclosure;
[0036] Fig. 9 is a diagram illustrating an exemplary operation of selecting some of a plurality of types according to preset data according to an embodiment of the present disclosure;
[0037] Fig. 10A , Fig. 10B , Fig. 10C and Fig. 10D is a diagram showing an example of selecting different types according to time intervals according to an embodiment of the present disclosure;
[0038] Fig.11 is a diagram showing an example of providing information corresponding to a user voice command using voice or emotion data according to an embodiment of the present disclosure;
[0039] Fig.12 is a diagram illustrating an exemplary operation for temporarily storing input data and providing response information corresponding to a user voice command using the temporary input data according to an embodiment of the present disclosure;
[0040] Fig.13 is a diagram showing an example of providing response information corresponding to a user voice command by applying weights to a plurality of input data according to an embodiment of the present disclosure;
[0041] Fig.14 is a diagram showing an exemplary operation of an electronic device for each function according to an embodiment of the present disclosure;
[0042] Fig.15 is a diagram showing example operations of an electronic device according to an embodiment of the present disclosure over time; and
[0043] Fig.16 is a flowchart illustrating an exemplary operation of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] Before describing various exemplary embodiments of the present disclosure in more detail, a method for understanding the present disclosure and the accompanying drawings will be described.
[0045] Considering the configuration and functions of the present disclosure, the terms used in the embodiments of the present disclosure are selected as currently widely used general terms, but different terms may also be used according to the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. In addition, there may be some arbitrarily selected terms. These terms may be understood according to the meanings defined in the present disclosure, and may also be understood based on the general content of the present disclosure and typical technical concepts in the art (these terms are not specifically defined).
[0046] In addition, the same reference numerals or symbols described in the drawings may represent parts or elements that actually perform the same function. For ease of description and understanding, the same reference numerals or symbols are used and described in different exemplary embodiments. In other words, although elements with the same reference numerals are shown in all of the multiple drawings, the multiple drawings do not necessarily refer to only one exemplary embodiment.
[0047] In addition, in order to distinguish components, terms including ordinal numbers such as "first", "second", etc. may be used in the present disclosure and claims. Ordinal numbers can be used to distinguish the same or similar elements from another element, and the use of ordinal numbers should not be understood as limiting. The terms used herein are intended only to explain various exemplary embodiments, rather than to limit the scope of the present disclosure. For example, the order of use, arrangement order, etc. of the elements combined with these ordinal numbers may not be limited by these numbers. The respective ordinal numbers may be used interchangeably when necessary.
[0048] In the absence of conflict with the context, singular expressions also include plural meanings. The terms "comprising", "including", "configured to", etc. in the specification may be used to indicate the presence of features, quantities, steps, operations, elements, parts, or combinations thereof, and they should not exclude the possibility of combining or adding one or more features, quantities, steps, operations, elements, parts, or combinations thereof.
[0049] The present disclosure may have several embodiments, and various modifications may be made to the embodiments. In the following description, specific embodiments are provided with drawings and more detailed descriptions thereof. However, the scope of the exemplary embodiments need not be limited to specific implementation forms. On the contrary, modifications, equivalents and alternatives included in the disclosed concepts and technical scope of the present disclosure may be adopted. When describing the exemplary embodiments, if it is determined that the specific description of the known technology makes the subject matter of the present disclosure unclear, the specific description may be omitted.
[0050] In the exemplary embodiments of the present disclosure, the term "module", "unit" or "component" may be referred to as an element that performs at least one function or operation, and may be implemented by hardware, software, or a combination of hardware and software. In addition, in addition to a "module", "unit" or "part" that must be implemented by specific hardware, multiple "modules", multiple "units", multiple "parts" may be integrated into at least one module or chip, and may be implemented by at least one processor (not shown).
[0051] Furthermore, when any component is connected to another component, it includes direct connection and indirect connection through another medium. Furthermore, when a certain part includes a certain element, it may further include another element without excluding the other element, unless otherwise specified to the contrary.
[0052] Various parts of various exemplary embodiments of the present disclosure may be performed by a recognition system based on machine learning, and the present disclosure may include a classification system based on a series of neural network-based machine learning algorithms, and will be described using a deep learning-based recognition system as an example.
[0053] The recognition system based on deep learning may include at least one classifier, which may correspond to one or more processors. The processor may be implemented as an array of multiple logic gates, or may be implemented as a combination of a general-purpose microprocessor and a memory in which a program executable in the microprocessor is stored.
[0054] The classifier can be implemented as a neural network-based classifier, a support vector machine (SVM), an adaboost classifier, a Bayesian classifier, a perceptron classifier, etc. In the following, the classifier of the present disclosure may refer to an implementation as a classifier based on a convolutional neural network (CNN), for example. A neural network-based classifier may refer to a computational model that uses a large number of artificial neurons connected by connecting lines to achieve the computational power of a simulated biological system, and a human recognition or learning process may be performed by connecting lines with connection strengths (weights). However, the classifier of the present disclosure is not limited thereto, and will be implemented as the various classifiers described above.
[0055] A general neural network may include, for example but not limited to, an input layer, a hidden layer, and an output layer, and the hidden layer may include one or more layers as required. As an algorithm for learning a neural network, a back propagation algorithm may be used.
[0056] When any data is input to the input layer of the neural network, the classifier can train the neural network so that the output data for inputting the learning data is output to the output layer of the neural network. When feature information extracted from the input data is input, the pattern of the feature information can be classified into one of several categories, and the classification result can be output using the neural network.
[0057] The processor may include a classification system based on a series of neural network-based machine learning algorithms and may use a deep learning-based recognition system.
[0058] Figure 1 is a block diagram illustrating an exemplary electronic device according to an embodiment of the present disclosure.
[0059] The electronic device 100 may include a memory 110 and a processor (eg, including a processing circuit) 120 .
[0060] The electronic device 100 may include, for example but not limited to, a TV, a desktop PC, a laptop computer, a smart phone, a tablet PC, a server, etc. The electronic device 100 may be implemented as, for example but not limited to, a system itself having a cloud computing environment, i.e., a cloud server. Specifically, the electronic device 100 may be a device including a recognition system based on deep learning. The above examples are merely examples for describing electronic devices and are not necessarily limited to the above devices.
[0061] The memory 110 may be implemented as an internal memory such as, but not limited to, a ROM (eg, an electrically erasable programmable read-only memory (EEPROM)), a RAM included in the processor 120, may be implemented as a separate memory, and the like.
[0062] The memory 110 may store a plurality of input data sequentially inputted, for example, in a plurality of types. An exemplary operation for storing in a plurality of types will be described later in the operation of the processor 120.
[0063] The memory implemented in the electronic device 100 may be realized as, for example, but not limited to, at least one of a volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), synchronous dynamic RAM (SDRAM), etc.), a non-volatile memory (e.g., one-time programmable ROM (OTPROM), programmable ROM (PROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (e.g., NAND flash memory or NOR flash memory, etc.), a hard disk drive (HDD), a solid-state drive (SSD), a memory removable from the electronic device 100, etc.; and may be realized as, for example, but not limited to, a memory card (e.g., compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), micro secure digital (Mini-SD), and extreme digital (xD), a multimedia card (MMC), etc.), an external memory connectable to a USB port (e.g., a USB memory), etc.
[0064] The processor 120 may include various processing circuits and perform operations for controlling the overall operation of the electronic device. For example, the processor may be used to control the overall operation of the electronic device.
[0065] The processor 120 may be implemented as, for example, but not limited to, a digital signal processor (DSP), a microprocessor, a time controller (TCON), etc., but is not limited thereto. The processor may include, for example, but not limited to, one or more of a central processing unit (CPU), a microcontroller unit (MCU), a microprocessing unit (MPU), a controller, an application processor (AP), a communication processor (CP), an ARM processor, etc., and may be defined as corresponding terms. In addition, the processor may be implemented as a system on chip (SoC) in which a large-scale integration (LSI) or a field programmable gate array (FPGA) in which a processing algorithm is implemented.
[0066] According to the present disclosure, functions related to artificial intelligence (hereinafter referred to as AI) can be operated by a processor and a memory. The processor may include one or more processors. One or more processors may include, for example but not limited to, general-purpose processors such as CPUs, APs, digital signal processors (DSPs), graphics-specific processors such as GPUs, visual processing units (VPUs), AI-specific processors such as NPUs, etc. One or more processors may include various processing circuits and control the electronic device to process input data according to predetermined operating rules or AI models stored in the memory. When one or more processors include an AI-specific processor, the AI-specific processor may be designed to have a hardware structure specifically for processing a specific AI model.
[0067] The predefined operating rules or features of the AI model are formulated by learning. Formulating by learning can refer to, for example, training a basic AI model using a plurality of learning data by a learning algorithm, thereby creating a predefined set of operating rules or AI models to perform the desired features (or purposes). Such learning can be performed in the device itself that executes the AI according to the present disclosure, or can be performed by a separate server and / or system. Examples of learning algorithms include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but are not limited to the above examples.
[0068] The AI model may include, for example, multiple neural network layers. Each of the multiple neural networks may have multiple weight values, and the neural network calculation may be performed by calculation between the calculation results of the previous layer and the multiple weights. The multiple weight values of the multiple neural network layers may be optimized by learning the results of the AI model. For example, multiple weights may be updated to reduce or minimize the loss value or cost value obtained from the AI model during the learning process. The AI neural network may include, for example, but not limited to, convolutional neural networks (CNNs), deep neural networks (DNNs), recurrent neural networks (RNNs), restricted Boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), deep Q networks, etc., but are not limited to the above examples.
[0069] The processor 120 may classify a plurality of input data sequentially input into a plurality of types and store the plurality of types in the memory 110. When a user voice command is recognized in the input data, the processor 120 may determine at least one type of the classified plurality of types of input data based on information related to the user voice command. The processor 120 may provide response information corresponding to the user voice command based on the determined type of input data.
[0070] According to another embodiment, in addition to voice commands (e.g., user voice commands), actions or gestures may be used to input user commands. For example, in addition to user voice commands, the processor 120 may also have user commands received through images. In addition, the user voice commands described herein may be replaced with user image commands.
[0071] The input data may be image data or voice data that can analyze user behavior. According to an embodiment, voice data may be obtained through a microphone of the electronic device 100, and voice data may be received through a microphone of an external device, and the electronic device 100 may receive only voice data. In addition, according to an embodiment, image data may be obtained from a camera of the electronic device 100, and image data may be received through a camera of an external device, and the electronic device 100 may receive only image data.
[0072] The plurality of types may include at least one of gesture information, emotion information, facial recognition information, gender information, age information, or voice information.
[0073] The preset user voice command may be a user behavior that can be identified from the voice data and the image data. The user behavior may, for example, refer to the user saying a specific word or taking / making a specific action. The preset user voice command may be changed according to the user's settings.
[0074] The processor 120 may analyze (determine) a user voice command using input data stored in a plurality of types. The processor 120 may analyze the user voice command by selecting (determining) only certain types in a plurality of types. The processor 120 may select some types in a plurality of types using information related to the user voice command. The information related to the user voice command may refer to any and all behaviors or actions of the user that can be identified from the voice data and the image data. The processor 120 may identify the user's behavior or action using the voice data and the image data, and obtain the result of the identification as the user information. In addition, the processor 120 may classify the obtained user information and input data into a plurality of types and store them. The processor 120 may analyze the user voice command using some types in a plurality of types.
[0075] The processor 120 may use the AI learning model to select some of the multiple types. In more detail, in the case of a specific event, the AI learning model may be used to calculate the analysis recognition rate by selecting any type. The processor 120 may control the electronic device to use the AI learning model to determine the type with the highest expected recognition rate.
[0076] In order to analyze the user voice command, the AI learning model may compare the input data corresponding to the user voice command with the response information corresponding to the actual user voice command. If the input data and the response information corresponding to the user voice command are compared, it may be analyzed based on which type of the above multiple types the user voice command may have the highest recognition rate.
[0077] When analyzing the type based on pre-stored input data classified into multiple types, the AI learning model can learn which type has the highest recognition rate and obtain the standard by determining the type with the highest recognition rate. In addition, when new input data is received, the recognition rate can be obtained by applying the new input data to the previous standard. Even when the standard for applying the new input data changes, the AI learning model can determine whether it has the same high recognition rate as before.
[0078] If the recognition rate of the new input data is higher than the recognition rate of the existing standard, the AI learning model may change the existing standard. In addition, the process may be repeated whenever new input data is received. According to another embodiment, after the final standard is determined, the recognition rate comparison operation may be performed when each preset number of input data is received.
[0079] The processor 120 may determine at least one of a plurality of types of input data classified based on time information related to the user voice command.
[0080] The processor 120 may classify the audio data and the image data according to the time information. For example, if the user says "Bixby, turn on the air conditioner over there", the voice data may obtain information corresponding to "Bixby", "over there", "air conditioner", and "turn on" according to the time. In addition, the image data corresponding to the time may be obtained. The processor 120 may classify the input data by matching the voice data and the image data corresponding to the time information or the time interval. In addition, the user voice command may be analyzed by classifying the voice data and the image data.
[0081] The processor 120 may analyze the user information corresponding to the specific time interval based on the time information. Figure 5 The corresponding operations are described in more detail.
[0082] The processor 120 may group input data classified into multiple types according to predetermined time units, obtain representative data for each type corresponding to each time unit based on the grouped input, store the representative data of each type in the memory 110, and provide response information corresponding to the user voice command based on the determined type of representative data.
[0083] The grouping operation may refer to, for example, an operation of arranging a plurality of data and converting the data into one data. In addition, the grouping operation may refer to, for example, an operation of converting a plurality of data into one representative value (or representative data). For example, assuming that 10 input data are received from 1 second to 10 seconds, the input data received in the 10 seconds may be grouped into one group and converted into one input data. One input data may be a representative value (or representative data).
[0084] The representative data may be one or more. For example, assuming that 20 input data are received per second, when the grouping operation is performed in units of 10 seconds, there may be two groups and two representative values. In addition, the processor 120 may use these two representative values to analyze the user voice command. Analyzing the user voice command may, for example, refer to the processor 120 obtaining response information corresponding to the user voice command.
[0085] The operation of obtaining the representative value may use any one of the maximum value, the minimum value, and the average value of the multiple input data according to the time sequence. In addition, the representative value may be an addition operation of multiple data. For example, assuming that there are four text messages "Bixby", "over there", "air conditioner", and "turn on", the processor 120 may convert them into one text message "Bixby, turn on the air conditioner over there" through a grouping operation.
[0086] The processor 120 may, for example, analyze the user's voice and perform a grouping operation at intervals where the user actually speaks. Typically, the voice data may include intervals where the user speaks and intervals where the user does not speak. The processor 120 may identify the interval where the wake-up word is recognized or the interval thereafter to shorten the processing time. The processor 120 may perform a grouping operation on the identified specific intervals.
[0087] At the same time, the following will refer to Figure 7 and 8 The grouping operation is described in more detail.
[0088] The processor 120 may compare the amount of change in the representative data of each type corresponding to each time unit, assign the maximum weight to the type having the largest amount of change, and provide response information corresponding to the user voice command. Fig.13 The operation of assigning weights is described in more detail.
[0089] The processor 120 may recognize a user voice command based on at least one of gesture information or voice information in the input data.
[0090] The user voice command may be analyzed using voice data and image data. The voice and image data may include information for analyzing the user command. For example, the object to be controlled and the control command may be included, and the user may make a specific action corresponding to the object to be controlled and the control command.
[0091] In addition, when a user voice command is recognized in the input data, the processor 120 may recognize the user voice command as a preset voice recognition unit and determine at least one of a plurality of input data classified into a plurality of types based on a time interval belonging to at least one voice recognition unit.
[0092] When a wake-up word is included in the user voice command, the processor 120 may determine a time interval (time period) including the wake-up word and a subsequent utterance interval, and analyze the user voice command using input data included in the determined time interval.
[0093] When the user voice command includes a wake-up word, the processor 120 may determine the user voice command as a preset voice recognition unit based on a time interval for recognizing the wake-up word.
[0094] An endpoint detection (EPD) operation may be performed to determine the interval of a user's voice or a preset speech recognition unit, which will be referred to below. Figure 5 The detailed operation is described in more detail.
[0095] According to another embodiment, the preset voice recognition unit may be a preset time interval. For example, when the time interval is set to 0.2 seconds, the processor 120 may analyze the voice data including the wake-up word according to the preset voice recognition unit (0.2 seconds).
[0096] When response information cannot be provided based on input data input during a preset time interval after the wake-up word is recognized, the processor 120 may use data input input in all time intervals before the wake-up word is recognized and provide response information corresponding to the user voice command.
[0097] When the processor 120 cannot recognize the input data corresponding to a specific time interval, the processor 120 may analyze the user voice command using the input data corresponding to the previous time interval. Fig.12 The operation of using input data corresponding to a previous time interval is described in more detail.
[0098] The processor 120 may determine at least one of the classified multiple types of input data based on at least one of the information about the user's intention or the object to be controlled recognized from the user's voice command. When a preset word included in the user's voice is recognized, the processor 120 may analyze the user's command using the type corresponding to the preset word. For example, when the user says "Bixby", the processor 120 may select only the type related to voice recognition and analyze the user's voice command. Figures 9 to 10D Describe the specific operation in more detail.
[0099] The electronic device 100 according to the present disclosure can receive voice data and image data and analyze the user's behavior. The electronic device 100 can store voice data and image data as each type of input data. In addition, when a specific event occurs, the "electronic device" can use the type corresponding to the specific event to analyze the user's voice command. Since a specific type of data is used instead of all data, the electronic device 100 can shorten the processing time. In addition, since only the type corresponding to the specific event is used, only the data of the required area (type) can be reflected in the result. Therefore, the electronic device 100 of the present disclosure is expected to improve the recognition rate of the user's voice command.
[0100] Figure 2 It is shown Figure 1 A block diagram of an exemplary configuration of an exemplary electronic device.
[0101] refer to Figure 2According to an embodiment, the electronic device 100 may include a memory 110, a processor 120 (e.g., including a processing circuit), a communication interface 130 (e.g., including a communication circuit), a user interface 140 (e.g., including a user interface circuit), and an input / output interface 150 (e.g., including an input / output circuit).
[0102] A repeated description of the operations of the memory 110 and the processor 120 that are the same as those described above may not be repeated here.
[0103] The processor 120 may include various processing circuits and control the overall operation of the electronic device 100 using various programs stored in the memory 110 .
[0104] For example, the processor 120 may include a random access memory (RAM) 121 , a read only memory (ROM) 122 , a main central processing unit (CPU) 123 , first to nth interfaces 124 - 1 to 124 - n , and a bus 125 .
[0105] In this example, the RAM 121 , the ROM 122 , the CPU 123 , the first interface 124 - 1 to the nth interface 124 - n , etc. may be connected to one another through the bus 125 .
[0106] The ROM 122 stores an instruction set for system startup. If a power-on command is input and power is supplied, the main CPU 123 copies the O / S stored in the memory 110 to the RAM 121 according to the command stored in the ROM 122, and starts the system by executing the O / S. In response to the completion of the startup, the main CPU 123 may copy various application programs stored in the memory 110 to the RAM 121, and execute the application programs copied to the RAM 121 to perform various operations.
[0107] The main CPU 123 accesses the memory 110 to perform booting using the O / S stored in the memory 110. The CPU 123 may perform various operations using various programs, contents, data, etc. stored in the memory 110.
[0108] The first to nth interfaces 124 - 1 to 124 - n may be connected with the aforementioned various components. One of the interfaces may be a network interface connected to an external device via a network.
[0109] The processor 120 may perform a graphics processing function (video processing function). For example, the processor 120 may generate a screen including various objects such as icons, images, texts, etc. using a calculator (not shown) and a renderer (not shown). The calculator (not shown) may calculate attribute values such as coordinate values, forms, sizes, and colors to be represented by each object according to the screen layout based on the received control instructions. The renderer (not shown) may generate screens including various layouts of objects based on the attribute values operated by an operator (not shown). The processor 120 may perform various image processing processes on the video data, such as decoding, scaling, noise filtering, frame rate conversion, and resolution conversion.
[0110] The processor 120 may perform processing on the audio data. For example, the processor 120 may perform various processes such as decoding, amplification, and noise filtering of the audio data.
[0111] The communication interface 130 may include various communication circuits, and may be an element for communicating with various external devices according to various types of communication methods. The communication interface 130 may include various communication circuits included in various communication modules, such as but not limited to a Wi-Fi module 131, a Bluetooth module 32, an infrared communication module 133, a wireless communication module 134, etc. The processor 120 may use the communication interface 130 to perform communication with various external devices. The external device may include, for example but not limited to, a display device such as a TV, an image processing device such as a set-top box, an external server, a control device such as a remote controller, an audio output device such as a Bluetooth speaker, a lighting device, an intelligent cleaner, a household appliance such as a smart refrigerator, a server such as an IOT home manager, etc.
[0112] The Wi-Fi module 131 and the Bluetooth module 132 can perform communication using the Wi-Fi method and the Bluetooth method, respectively. When the Wi-Fi module 131 or the Bluetooth module 132 is used, connection information such as a service set identifier (SSID) and a session key can be received and sent first, and the connection information can be used for communication connection, and then various information can be received and sent.
[0113] The infrared communication module 133 may perform communication according to an infrared data association (IrDA) technology that wirelessly transmits data over a short distance using infrared rays between temporal light and millimeter waves.
[0114] The wireless communication module 134 may refer to, for example, a module that performs communication according to various communication standards (such as Zigbee, third generation (3G), third generation partnership project (3GPP), long term evolution (LTE), LTE-A, 4G (fourth generation), 5G (fifth generation), etc.), in addition to the above-mentioned Wi-Fi module 131 and Bluetooth module 132.
[0115] The communication interface 130 may include at least one of a local area network (LAN) module, an Ethernet module, or a wired communication module (performing communication using a pair of cables, a coaxial cable, or an optical fiber cable).
[0116] According to an embodiment, the communication interface 130 may communicate with an external device and an external server such as a remote controller using the same communication module (eg, a Wi-Fi module).
[0117] According to another embodiment, the communication interface 130 may communicate with an external device and an external server such as a remote controller using different communication modules (e.g., a Wi-Fi module). For example, the communication interface 130 may communicate with an external server using at least one of an Ethernet module or a Wi-Fi module, and may communicate with an external device such as a remote controller using a BT module.
[0118] However, this is merely an example, and in the case of communicating with a plurality of external devices or an external server, the communication interface 130 may use at least one communication module among various communication modules.
[0119] According to an embodiment, the communication interface 130 may further include a tuner and a demodulator.
[0120] The tuner (not shown) may receive a radio (RF) broadcast signal by tuning a channel selected by a user or all channels pre-stored in advance in an RF broadcast signal through an antenna.
[0121] The demodulator (not shown) may receive and demodulate the digital IF signal (DIF) converted by the tuner, and perform channel decoding.
[0122] The user interface 140 may include various user interface circuits, and may be implemented as, for example but not limited to, devices such as keys, touch pads, mice, keyboards, etc., or may be implemented as a touch screen capable of performing the above-mentioned display functions and operation unit functions. The keys may be various types of keys, such as mechanical keys, touch pads, scroll wheels, etc., which are formed on any area of the electronic device 100 body, such as the front, side, or back.
[0123] The input / output interface 150 may include various input / output circuits and may be, for example, but not limited to, one or more of a High-Definition Multimedia Interface (HDMI), a Mobile High-Definition Link (MHL), a Universal Serial Bus (USB), a Display Port (DP), Thunderbolt, a Video Graphics Array (VGA) port, an RGB port, a D-SUB, a Digital Visual Interface (DVI), etc.
[0124] HDMI may refer to, for example, an interface capable of transmitting high-performance data of AV devices for inputting and outputting audio and video signals. DP may refer to, for example, an interface capable of realizing 1920×1080 full HD, ultra-high-resolution screens such as 2560×1600 or 3840×2160, and 3D stereoscopic images, as well as digital audio. Thunderbolt may refer to, for example, an input / output interface for transmitting and connecting high-speed data, and a PC, a display, a storage device, etc. may be connected in parallel in one port.
[0125] The input / output interface 150 may input / output at least one of audio and video signals.
[0126] According to an embodiment, the input / output interface 150 may include a port for inputting / outputting only an audio signal and a port for inputting / outputting only a video signal as separate ports, or may be implemented as one port for inputting / outputting both an audio signal and a video signal.
[0127] The electronic device 100 may be implemented as a device not including a display to transmit a video signal to a separate display device.
[0128] The electronic device 100 may transmit the corresponding voice signal to the external server to perform voice recognition on the voice signal received from the external device.
[0129] For example, a communication module for communicating with an external device and an external server may be the same as a Wi-Fi module.
[0130] The communication modules for communicating with the external device and the external server can be implemented separately. For example, the external device can communicate with the Bluetooth module, and the external server can communicate with the Ethernet modem or Wi-Fi module.
[0131] The electronic device 100 according to the embodiment may send the received digital voice to the voice recognition server. In this example, the voice recognition server may convert the digital voice signal into text information using speech-to-text (STT). In this example, the voice recognition server may send the text information to another server or electronic device to perform a search corresponding to the text information. In some cases, the voice recognition server may directly perform the search.
[0132] The electronic device 100 according to another embodiment may directly apply the STT function to a digital voice signal, convert the digital voice signal into text information, and transmit the converted text information to an external server.
[0133] Figure 2 The components shown may also include a display and speakers.
[0134] The display may be implemented as various types of displays, such as, but not limited to, a liquid crystal display (LCD), an organic light emitting diode (OLED) display, a plasma display panel (PDP), etc. The display may include a driving circuit, a backlight unit, etc., which may be implemented in the form of an a-si TFT, a low temperature polycrystalline silicon (LTPS) TFT, an organic TFT (OTFT), etc. The display may be implemented as a touch screen combined with a touch sensor, a flexible display, a 3D display, etc.
[0135] In addition, the display according to the embodiment may include not only a display panel for outputting an image, but also a frame for accommodating the display panel. For example, the frame according to the embodiment may include a touch sensor (not shown) for detecting user interaction.
[0136] The speaker may be a component that outputs not only various audio data processed by the input / output interface 150 but also various notification sounds or voice messages.
[0137] The electronic device 100 may further include a microphone (not shown). The microphone may refer to, for example, a configuration for receiving a user's voice or other sound and converting it into audio data. In this example, the microphone may convert the received analog user voice signal and send it to the electronic device 100.
[0138] The microphone (not shown) can receive the user's voice in an activated state. For example, the microphone can be integrally formed with the upper side, front side, or side of the electronic device 100. The microphone may include various configurations, such as a microphone for collecting the user's voice in analog form, an amplifier circuit for amplifying the collected user's voice, an A / D conversion circuit for sampling the amplified user's voice and converting it into a digital signal, a filter circuit for removing noise components from the converted digital signal, etc.
[0139] Figure 3 is a diagram illustrating an exemplary operation of classifying and storing input data according to types according to an embodiment of the present disclosure.
[0140] The electronic device 100 can recognize the user's voice data and image data. For example, the electronic device 100 can receive the user's voice through a microphone. In addition, the electronic device 100 can receive the user's appearance through a camera.
[0141] For example, when a user says "Bixby, turn on the air conditioner over there" while pointing his / her finger in a certain direction, the electronic device 100 can recognize the user's behavior using the microphone and the camera.
[0142] The electronic device 100 may receive audio data and video data as input data. The electronic device 100 may store each type of input data received in a plurality of types. For example, the electronic device 100 may classify and store the input data into face ID, gesture, gender, age, emotion (image), voice ID, text, emotion (text), and emotion (voice).
[0143] The face ID may refer to a unique ID according to the user's face, and the electronic device 100 may obtain the face ID using a method of determining a unique feature of the user, such as an iris or a facial contour.
[0144] Gestures can refer to actions using a user's hands, fingers, or arms to point in a specific direction or perform a specific action.
[0145] The text may refer to a result of converting voice data spoken by a user into text.
[0146] Emotion (video) can refer to the emotional state of the user identified by video, and action (text) can refer to the emotional state of the user analyzed using only text results. In addition, emotion (voice) can refer to the emotional state of the user analyzed using only voice data.
[0147] The types corresponding to face ID, gesture, and emotion (video) may be the results of analysis using video data, and the types corresponding to voice ID, text, emotion (text), emotion (voice) may be the results of analysis using voice data.
[0148] The types corresponding to gender and age may be analysis results using at least one of voice data or video data.
[0149] refer to Figure 3 , the electronic device 100 may store a facial ID of facial user 1, and a gesture of left. Left may indicate that the direction pointed by the user's finger is left. According to another embodiment, the name of a specific action may be stored. In addition, the electronic device 100 may store a gender of female, an age of 30, and an emotion (video) of pleasant 0.6. Pleasure 0.6 may describe at least one of a value representing an emotional state or a probability corresponding to an emotional state. In addition, the electronic device 100 may store a voice ID of voice user 1, a text of "Bixby, turn on the air conditioner there", an emotion (text) of neutral 0.6, and an emotion (voice) of pleasant 0.8.
[0150] The electronic device 100 can distinguish and describe the face ID and the voice ID, but can basically determine that it is the same user. When the face ID and the voice ID do not match, the electronic device 100 can notice that the analysis is wrong and perform the recognition operation again.
[0151] Figure 4A , Figure 4B , Figure 4C and Figure 4D is a diagram illustrating an exemplary operation of storing input data in units of predetermined time according to an embodiment of the present disclosure.
[0152] refer to Figure 4A , Figure 4B , Figure 4C and Figure 4D , the electronic device may be in a state of storing input data in, for example, a time sequence. For example, if it is assumed that a user says “Bixby, turn on the air conditioner over there”, the input data may be stored based on the time sequence of the user's utterance.
[0153] Based on the voice data, the electronic device 100 can recognize the user's Figure 4A Say "Bixby" at the intervals shown, Figure 4B Say "over there" in the interval shown in Figure 4C Say "air conditioning" in the interval shown, and Figure 4D Say "ON" at the interval shown.
[0154] In addition, based on the video data, the electronic device 100 may not recognize Figure 4A The special gesture operation in the interval shown can be recognized Figure 4B , Figure 4C , Figure 4D A gesture pointing to the left in the interval shown.
[0155] In addition, based on the video data, the electronic device 100 can identify Figure 4A and Figure 4B The user's emotion in the interval shown corresponds to pleasure, and Figure 4C and Figure 4D The interval shown corresponds to neutral. In addition, based on the voice data, the electronic device can recognize that Figure 4A The user's emotion in the interval shown corresponds to pleasure, and it can be recognized that Figure 4B The user's emotions in the time interval shown, and can be identified Figure 4C and Figure 4D The user's emotion in the interval shown corresponds to joy.
[0156] refer to Figure 4A , Figure 4B , Figure 4C and Figure 4D , the electronic device 100 may receive input data according to time intervals and analyze the types differently according to each time interval. For example, the electronic device may receive user actions that change according to time intervals as data, and analyze them according to time intervals to store the data.
[0157] Figure 5 is a diagram illustrating an exemplary process of classifying input data based on time information according to an embodiment of the present disclosure.
[0158] refer to Figure 5 , the electronic device 100 can distinguish the voice uttered by the user based on the time information. For example, suppose that two seconds of the user's voice data are received, and the user says "Bixby, turn on the air conditioner over there".
[0159] The voice data corresponds to 2 seconds, but the time interval of the actual voice uttered by the user may actually be less than 2 seconds. Figure 5 As shown, the time interval of the actual voice uttered by the user may be between 0.4 seconds and 1.2 seconds. It may include the silent time between "Bixby" and "turn on the air conditioner over there". The electronic device 100 may determine the time interval of the actual voice uttered by the user. The electronic device 100 may analyze the voice data and determine the interval in which the amplitude of the sound waveform is continuously greater than an arbitrary value as an interval.
[0160] For example, the electronic device may determine the time from when the amplitude of the sound waveform is greater than an arbitrary value to when it is less than the arbitrary value as an interval (t1). In addition, the electronic device 100 may determine the time from when the amplitude of the sound waveform is greater than an arbitrary value to when it is less than the arbitrary value as a new interval (t2).
[0161] Therefore, the electronic device 100 may determine the time intervals ( t1 and t2 ) of classification by analyzing the voice data.
[0162] refer to Figure 5 , when the electronic device recognizes the wake-up word, it can then analyze the speech. For example, assuming that the electronic device 100 stores Bixby as the wake-up word, and when the user says "Bixby, turn on the air conditioner over there", the electronic device 100 can recognize Bixby as the wake-up word and perform an endpoint detection (EPD) operation on the user's subsequent speech. That is, the electronic device 100 performs the EPD operation after recognizing the wake-up word Bixby, so that it can separately classify the time interval corresponding to t2.
[0163] Figure 6 is a diagram showing an example of changes in content stored in input data over time according to an embodiment of the present disclosure.
[0164] refer to Figure 6, the electronic device 100 may classify and store the input data according to a plurality of types according to a time sequence. The electronic device 100 may recognize that the user points to the left with a finger from 0.8 seconds or later, and may store it as left in the gesture area. The electronic device 100 may recognize based on the image data that the user's emotional state corresponds to pleasure between 0.1 seconds and 0.8 seconds, and that the user's emotional state corresponds to neutrality between 0.9 seconds and 1.2 seconds. According to another embodiment, the electronic device may store probabilities corresponding to emotional states.
[0165] The electronic device 100 may store text information according to time based on the voice data. The electronic device 100 may classify and store text information corresponding to "Bixby, turn on the air conditioner over there" according to time intervals. The "Bixby" text information corresponding to 0.5 seconds may actually be text information obtained from voice data corresponding to between 0.5 seconds and 0.6 seconds.
[0166] refer to Figure 6 , the electronic device 100 may classify and store a plurality of types using input data received in time sequence.
[0167] Figure 7 is a diagram illustrating an exemplary operation of grouping input data into preset time intervals according to an embodiment of the present disclosure.
[0168] about Figure 7 , for the convenience of illustration and explanation, it is assumed that the user's voice is emitted between 0.5 seconds and 1.3 seconds and the preset time interval is 0.2 seconds.
[0169] The electronic device 100 can distinguish the time intervals (0.5 seconds to 1.2 seconds, R1, R2, R3 and R4) in which the user's voice is actually recognized and the time intervals (0 seconds to 0.5 seconds, R0) in which the user's voice is not recognized. In addition, the electronic device 100 can divide the time intervals (0.5 seconds to 1.2 seconds) in which the user's voice is recognized into preset time intervals (0.2 seconds). The electronic device 100 can group the intervals of the recognized voice at intervals of 0.2 seconds. Specifically, the electronic device 100 can group 0.5 seconds to 0.7 seconds into interval R1, 0.7 seconds to 0.9 seconds into interval R2, 0.9 seconds to 1.1 seconds into interval R3, and 1.1 seconds to 1.3 seconds into interval R4.
[0170] The electronic device 100 can simplify the input data by performing a grouping operation. When the input data is stored according to all times, processing time and storage space are wasted. Therefore, the electronic device 100 can simplify the process of storing the input data by a grouping operation.
[0171] In order to simplify the data storage process through grouping operations, the process of organizing data is required and will be referred to below Figure 8 Describes in more detail the operations used to organize data.
[0172] Figure 8 is a diagram illustrating an exemplary process of obtaining a representative value of input data in a grouping process according to an embodiment of the present disclosure.
[0173] and Figure 8 The data corresponding to R1, R2, R3 and R4 shown in the figure can be referred to, for example, by Figure 7 The electronic device 100 can group the input data according to a predetermined time interval and obtain a representative value of each type of information about the grouped time interval. Figure 7 In the interval corresponding to R1 in , there are two input data information for each type. The electronic device 100 can use these two data to obtain a representative value for each type. At the same time, according to another embodiment, the electronic device 100 can use two or more data to obtain a representative value. The amount of data used to obtain the representative value can be adjusted by changing the preset time interval (0.2 seconds).
[0174] The electronic device 100 may use any one of the average value, minimum value and maximum value of the input data of the plurality of groups to obtain the representative value. In addition, when only a part of the input data of the plurality of groups exists, the electronic device 100 may exclude the non-existent input data part and obtain the representative value only with the input data.
[0175] The electronic device 100 can obtain a representative value by summing the input data of a plurality of groups. Figure 7 In the R1 interval of , the text information may be stored by separating “Bix” and “by”. The electronic device 100 may obtain “Bixby” by combining the text information of “Bix” and “by” and store “Bixby” as a representative value.
[0176] According to another embodiment, various methods may be applied to the electronic device 100, and the electronic device 100 is not limited to the above-mentioned embodiment.
[0177] Fig. 9 is a diagram illustrating an exemplary operation of selecting some of a plurality of types according to preset data according to an embodiment of the present disclosure.
[0178] refer to Fig. 9, if the received input data matches the preset data, the electronic device 100 may determine the type corresponding to the preset data. For example, for ease of description and illustration, assume that the user says "Bixby, turn on the air conditioner over there". When Bixby's text information is recognized, the electronic device 100 may provide response information corresponding to the user's voice command based on the types corresponding to the voice ID, text information, emotion (text), and emotion (voice) in the input data. The electronic device 100 may analyze that "Bixby" is related to a voice recognition device, and only use the types related to the voice data to provide response information corresponding to the user's voice command.
[0179] In addition, when the text information "over there" is recognized, the electronic device 100 can use the gesture type to provide response information corresponding to the user voice command. The electronic device 100 can determine that the word "over there" refers to a direction, etc., and can use a gesture type related to the direction to provide response information corresponding to the user voice command.
[0180] When the text information recognized in the voice data is recognized as at least one word of “this side, here, that, this, left side, right side, east, west, south, north, up, down, left and right”, the electronic device 100 can provide response information corresponding to the user voice command using a gesture type.
[0181] The present disclosure is not limited to the above-mentioned embodiments, and the electronic device 100 may provide response information corresponding to the user voice command using other types according to the words set by the user.
[0182] In addition, the electronic device 100 may use an AI learning model to determine the type corresponding to the word set by the user. For example, in addition to the user specifying a preset word and a type corresponding to the preset word, the AI learning model may directly match the preset word and the type corresponding to the preset word.
[0183] The AI learning model can obtain the criteria for determination based on multiple pre-stored input data. The AI learning model can analyze the relationship between specific words and types based on a large amount of input data. For example, when obtaining response information corresponding to a user voice command, the word corresponding to Bixby may not be significantly affected by gender type or age type. On the other hand, when a user speaks the word corresponding to Bixby, the voice ID, text, emotion (text), and emotion (voice) types may have a huge impact on the results. The AI learning model can compare the word "Bixby" with all multiple types and determine the criteria for analyzing user voice commands by selecting only types with specific weights or greater weights.
[0184] The artificial intelligence learning model can also determine the criteria for selecting the type with the highest recognition rate by comparing various words and multiple types other than the above-mentioned word Bixby.
[0185] Since the electronic device 100 selectively uses the type corresponding to the preset text information, the data processing speed can be improved. For example, when analyzing data in a conventional manner, all types of data should be analyzed. However, when selectively using Fig. 9 When the above-mentioned types are used, the data processing speed can be improved. In addition, since the results are obtained by reflecting only the data required by the user, the recognition degree can be improved.
[0186] Fig. 10A , Fig. 10B , Fig. 10C and Fig. 10D 2 is a diagram showing different examples of various types of selection according to time intervals according to an embodiment of the present disclosure.
[0187] Fig. 10A , Fig. 10B , Fig. 10C and Fig. 10D It shows that according to Fig. 9 For example, the electronic device 100 may be configured as follows: Fig. 10A , Fig. 10B , Fig. 10C and Fig. 10D The input data corresponding to the user's utterances are received in the order of
[0188] Used for FIG. 10A to FIG. 10D The input data for each time step exposed in FIG. 4A to FIG. 4D The embodiments disclosed in are partially the same. FIG. 10A to FIG. 10D , the electronic device 100 may determine some of the multiple types for each time interval differently according to the text information included in the user's speech and the time interval. Fig. 10A Bixby is spoken within the time interval shown, and the electronic device 100 can Fig. 10A , Fig. 10B , Fig. 10C and Fig. 10D In the intervals shown, types corresponding to voice ID, text, emotion (text), and emotion (voice) are respectively determined.
[0189] The electronic device 100 may be Fig. 10B In the interval shown in FIG. 1 , the electronic device 100 can identify the text information corresponding to “over there”. Fig. 10B , Fig. 10C and Fig. 10D The gesture type is determined in the interval shown, and response information corresponding to the user voice command is provided.
[0190] refer to FIG. 10A to FIG. 10D, the electronic device 100 can provide response information corresponding to the user voice command by selecting another type according to the time interval. When all data corresponding to the gesture type are analyzed regardless of the time interval, the processing time may be long. Since the electronic device 100 selectively uses only the input data corresponding to a specific time interval, the processing time can be shortened.
[0191] Fig.11 is a diagram illustrating various examples of providing information corresponding to a user voice command using voice or emotion data.
[0192] Fig.11 An operation is shown to determine whether to use which type of response information corresponding to a user voice command based on received input data.
[0193] Example 1 assumes a case where a user says "Bixby, turn on the air conditioner over there". The wake-up word may correspond to Bixby. When Bixby spoken by the user is recognized, the electronic device 100 may determine the text type. When the user says "the air conditioner over there", the electronic device 100 may determine the text type and the gesture type. In addition, when the user says "turn on", the electronic device may determine the voice ID type.
[0194] Example 2 assumes a case where a user says "Bixby, buy this book". The wake-up word may correspond to Bixby. When the user says "this book", the electronic device 100 may determine the text type and the gesture type; and when the user says "buy", it may determine at least one of the voice ID or the face ID.
[0195] Example 3 assumes a case where the user says "Bixby, play folk music". The wake-up word may correspond to Bixby. When the user says "folk music", the electronic device 100 may determine the text type. When the user says "play", the electronic device 100 may determine the voice ID type. When the electronic device 100 determines that the user's emotion is sad in at least one of the voice data or the image data, the electronic device may determine the emotion (image), emotion (text), and emotion (voice) types.
[0196] Example 4 assumes a case where the user says "Bixby, check in for travel plans on December 2". The wake-up word may correspond to Bixby. When the user says "December 2" and "travel", the electronic device 100 may determine the text. When the user says "check in (plan)", the electronic device 100 may determine at least one of the voice ID or the face ID. In addition, when the electronic device 100 determines that the user's emotion is a pleasant emotion, the electronic device 100 may determine the emotion (image), emotion (text) and emotion (voice).
[0197] An example of an operation of determining the emotional state determined in Examples 3 and 4 will be described. The electronic device 100 may use at least one of image data, voice data, or text information analyzed from voice data to determine the emotional state of the user. When the electronic device 100 recognizes that a specific emotional state such as happiness, sadness, etc. is displayed in the image data, voice data, or text information analyzed from the image data, the electronic device 100 may determine all emotions (images), emotions (texts), and emotions (voices).
[0198] exist Fig.11 In the embodiment, the electronic device 100 determining a specific type may refer to, for example, using the specific type to provide response information corresponding to the user voice command.
[0199] The present disclosure is not limited to the above examples, and the electronic device 100 may select or determine in various ways according to the user's setting.
[0200] refer to Fig.11 , the electronic device 100 may, for example, only use the type corresponding to the preset data and provide response information corresponding to the user voice command.
[0201] Fig.12 is a diagram illustrating an exemplary operation of temporarily storing input data and providing response information corresponding to a user voice command using the temporary input data according to an embodiment of the present disclosure.
[0202] The electronic device 100 may temporarily store the input data stored in a plurality of types for a predetermined time. In addition, when an additional command of a user is input, the electronic device 100 may provide response information corresponding to the user voice command using the temporarily stored input data.
[0203] For example, after the user says "Bixby, turn on the air conditioner over there" and performs an operation of pointing in a specific direction, when the user says "set the temperature to 24 degrees" without pointing in a specific direction, the electronic device 100 may not be able to obtain information corresponding to the user voice command "set the temperature to 24 degrees". This is because the user voice command "set the temperature to 24 degrees" has no target to be controlled. Therefore, when the information corresponding to the user voice command is not obtained, the electronic device 100 can use the temporarily stored previous analysis to provide response information corresponding to the user voice command.
[0204] Since the target is not recognized, the aforementioned embodiment can use information corresponding to the gesture type or text type of the identifiable target. The text type obtained in the previous time interval includes text information of "Bixby, turn on the air conditioner over there", so that the electronic device can determine that the air conditioner is the target to be controlled.
[0205] According to another embodiment, the electronic device 100 may not use the temporarily stored data immediately, but may use the temporarily stored data when the type information of at least one of the face ID or the voice ID matches.
[0206] refer to Fig.12 , the electronic device 100 can use the input data corresponding to the previous time interval to improve the recognition rate of the user's voice command, thereby improving convenience from the user's perspective.
[0207] Fig.13 is a diagram illustrating an embodiment of providing response information corresponding to a user voice command by assigning weights to a plurality of input data according to an embodiment of the present disclosure.
[0208] The electronic device 100 may provide some types of selection among the plurality of types and provide response information corresponding to the user voice command. The response information corresponding to the user voice command may be obtained by assigning different weights to each other according to the selected types.
[0209] refer to Fig.11 , an operation of analyzing an emotional state is described in Example 3. To analyze the emotional state, the electronic device 100 may use emotion (image), emotion (text), and emotion (voice). When the emotional state of the user corresponds to sadness in any one of the emotion (image), emotion (text), and emotion (voice) types, the electronic device 100 may determine the final emotional state using all types of emotion (image), emotion (text), and emotion (voice). For example, although a sad state is determined in a specific time interval, it may be checked separately whether the final emotional state of the user corresponds to sadness.
[0210] In order to individually check whether the final emotional state of the user corresponds to sadness, the electronic device 100 may use all types of emotion (image), emotion (text), and emotion (voice) types. The electronic device 100 may assign different weights to each type. In addition, the electronic device 100 may determine the weight in consideration of the amount of change in the data. In detail, for a type with a larger amount of data change, the electronic device 100 may assign a larger weight.
[0211] refer to Fig.13 , the data of the emotion (image) and emotion (text) types are continuously showing sadness or neutrality, but the emotion (voice) type has changed from neutral to sadness. The electronic device 100 can analyze the user's final emotional state by applying a large weight to the emotion (voice) type with the largest data change.
[0212] The AI learning model may be able to determine the determination criteria for assigning weights through self-learning. The AI learning model may analyze a large amount of stored input data and response information corresponding to the input data, and calculate the recognition rate by applying various weight values to the type with the largest amount of data change. In addition, the AI learning model may determine the weight value with the highest recognition rate among the various weight values.
[0213] The electronic device 100 may determine whether to apply different weight values applied to each type. For example, if the type with the largest data change is emotion (voice), a weight of 0.9 may be applied, but if the type with the largest data change is gesture, a weight of 0.5 may be applied. The AI learning model may apply various methods regarding these operations based on the recognition rate, thereby determining whether to apply the same weight to each type or to apply different weights to each type.
[0214] When different weights are applied to each type, the electronic device 100 can increase the recognition rate of the user's voice command. For each user, the part reflecting the user's emotions may be different. The electronic device 100 can determine the part where the emotion is well expressed and reflect it in the recognition operation by setting different weights according to data changes.
[0215] Fig.14 is a diagram illustrating an exemplary operation of an electronic device for each function according to an embodiment of the present disclosure.
[0216] The electronic device 100 may provide response information corresponding to the user voice command using, for example, a Robot Operating System (ROS) framework, an interaction manager, and an application.
[0217] The electronic device 100 may receive voice or image data from a robot operating system (ROS) framework. In addition, the electronic device 100 may use the received data to identify the user's information. For example, the electronic device 100 may include various engines for speaker recognition using the user's body posture, finger pointing, emotions (image, text, and voice), face, gender, and age, and automatic speech recognition (ASR). The electronic device 100 may selectively use the data required to determine the above-mentioned various user information.
[0218] The interaction manager may include modules of an engine connector, a service renderer, a semantic analyzer, a context manager, and a dialog system.
[0219] The engine connector module may include various processing circuits and / or executable program elements, and perform engine connections that can obtain various user information. In addition, the engine connector module may send specific commands to obtain user information obtained from a specific engine. The engine connector module may send the obtained user information to a semantic analyzer.
[0220] The service renderer module may include various processing circuits and / or executable program elements and communicate with the application. In detail, the service renderer module may receive the final analysis result from the semantic analyzer and send it to the application.
[0221] The semantic analyzer module may include various processing circuits and / or executable program elements, and receive data corresponding to user information from various engines, and analyze the data corresponding to the received user information to perform a final analysis operation. The semantic analyzer module may control a specific command to be sent to the engine using the engine connector module to perform the final analysis operation, and then send the result received from the dialog system module to the service renderer.
[0222] The context manager module may include various processing circuits and / or executable program elements, and store and manage data generated from the interaction manager. The context manager module may exchange information between different interaction managers. In addition, the context manager may store and manage user information.
[0223] The dialog system module may include various processing circuits and / or executable program elements and communicate with an external server including a dialog function. The dialog module may send the output of the internal operation to the external server. In addition, the dialog system module may receive the output from the external server and send it to the semantic analyzer. The dialog system module may send information related to the request for performing a specific task and its results to the context manager module. In addition, the dialog system module may perform operations related to natural language understanding (NLU), dialog management (DM), and natural language generation (NLG) functions, each of which may include various processing circuits and / or executable program elements.
[0224] The application may include at least one of a messenger control module, an avatar control module, and a fashion recommendation module.
[0225] The Robot Operating System (ROS) framework, the interaction manager, and the applications can be connected through the Robot Operating System (ROS) interface and the Representational State Transfer (RST) interface.
[0226] The ROS framework can be connected to the interaction manager and the application through the ROS interface, and can be connected to the various engines mentioned above through the ROS interface. The fashion recommendation module (a module not included in the application) can be connected to the interaction manager through the REST interface. In addition, the text-to-speech (TTS) or speech-to-text (STT) module can be connected to the application through the REST interface.
[0227] Fig.15 is a diagram illustrating an exemplary operation of an electronic device according to an embodiment of the present disclosure.
[0228] refer to Fig.15, the ROS framework can send and receive ROS messages with the engine connector (S1). The engine connector module can send recognition analysis data to the service renderer module (S2). The semantic analyzer module can send the automatic speech recognition result to the service renderer module (S3-1), and the service renderer module can send the automatic speech recognition result to the smart mirror network application (S3-2). The semantic analyzer module can use the received recognition analysis data to send the facial ID or voice ID information to the context manager module (S4). In addition, the context manager module can send and receive requests and responses to an external server, and the external server can analyze the conversation using the dialogue system module (S9-2).
[0229] In addition, the semantic analyzer module may send a conversation analysis request command for an external server capable of analyzing a conversation to the conversation system module (S5). The conversation system module may send a conversation analysis request command for an external server to the external server (S6). In addition, the external server may use a web hook service to perform weather, reminder, and content recommendation operations (S7), and the external server may send the execution result to the conversation system module (S8).
[0230] The dialogue system module may send a request command for fashion recommendation to the fashion recommendation engine (S8-1). The fashion recommendation engine may perform a fashion recommendation operation according to the received request command and send the result back to the dialogue system module (S8-2).
[0231] The dialogue system module may send information about the execution result to the semantic analyzer module according to the received external server or the result of the fashion recommendation (S9-1). The context manager module may send information about the execution result and the fashion recommendation result to the dialogue system module according to the external server executed by another interaction manager (S9-2), and the dialogue system module may send the received information to the semantic analyzer module.
[0232] The semantic analyzer module may send the execution result, fashion recommendation result, LNG response result, avatar behavior information, etc. received from the external server to the service renderer module (S10). In addition, the service renderer module may send the corresponding information to the smart mirror network application (S11). The smart mirror network application may send the LNG result, gender, language, emotion, etc. to the module that performs the text-to-speech (TTS) or speech-to-text (STT) function (S12).
[0233] The interaction manager can communicate with an external server or fashion recommendation engine using Hypertext Transfer Protocol (HTTP). In addition, the interaction manager can communicate with the ROS framework and the smart mirror network application using ROS methods.
[0234] refer to Fig.15, only some exemplary embodiments have been described and are not limited to corresponding modules or configurations.
[0235] Fig.16 is a flowchart illustrating an exemplary operation of an electronic device according to an embodiment of the present disclosure.
[0236] According to an embodiment of the present disclosure, a method for controlling an electronic device may include: classifying a plurality of input data input sequentially into a plurality of types, and storing the plurality of input data in a memory 110 (S1605); if a user voice command is recognized in the input data, determining at least one of the classified (e.g., divided) plurality of types based on information related to the user voice command (S1610); and providing response information corresponding to the user voice command based on the determined type of input data (S1615).
[0237] Determining At Least One of the Multiple Types of Classification (S1610) At least one of the multiple types of classification may be determined based on time information related to the user voice command.
[0238] In addition, the input data classified into a plurality of types may be grouped in a predetermined time unit and representative data of the plurality of types corresponding to each time unit may be obtained to be stored in the memory 110. Providing response information corresponding to the user voice command may provide response information corresponding to the user voice command based on the determined representative data.
[0239] Providing response information corresponding to the user voice command (S1615) can compare the change amounts of representative data according to multiple types corresponding to each time unit, and assign the maximum weight to the type with the largest change amount to provide response information corresponding to the user voice command.
[0240] The plurality of types may include at least one of gesture information, emotion information, facial recognition information, gender information, age information, or voice information.
[0241] In addition, determining at least one of the classified plurality of types of input data (S1610) may recognize a user voice command based on at least one of gesture information or voice information.
[0242] In addition, when a user voice command is recognized in the input data, determining at least one of the classified multiple types of input data (S1610) can recognize the user voice command as a preset voice recognition unit, and determine at least one of the classified multiple types of input data based on a time interval belonging to at least one voice recognition unit.
[0243] When a wake-up word is included in the user voice command, determining at least one of the classified plurality of types of input data (S1610) may recognize the user voice command as a preset voice recognition unit based on a time interval at which the wake-up word is recognized.
[0244] When response information cannot be provided based on input data input during a preset time interval after the wake-up word is recognized, providing response information corresponding to the user voice command (S1615) can use the input data input in the time interval before the wake-up word is recognized, and provide response information corresponding to the user voice command.
[0245] In addition, determining at least one of the classified multiple types of input data (S1610) may determine at least one of the classified multiple types of input data based on information about the user's intention or at least one of the control objects recognized by the user's voice command.
[0246] The method according to the above-described embodiment may be implemented as an application that can be installed in an existing electronic device.
[0247] In addition, the method according to the above embodiment can be implemented by upgrading the software or hardware of the existing electronic device, or a combination of software and hardware.
[0248] The above-described exemplary embodiments may be performed by an embedded server in the electronic device or by an external server outside the electronic device.
[0249] The method of controlling an electronic device according to the above various embodiments may be implemented as a program and provided in a user terminal device. For example, a program including a method for controlling a display device according to an exemplary embodiment may be stored in a non-transitory computer readable medium and provided therein.
[0250] The various exemplary embodiments described above may be implemented in a recording medium that can be read by a computer or a computer-like device using software, hardware, or a combination thereof. According to an exemplary hardware implementation, the exemplary embodiments described in the present disclosure may be implemented using at least one selected from an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electrical element for performing other functions. In some cases, the embodiments described in the present disclosure may be implemented as the processor 120 itself. In an exemplary software configuration, the various embodiments described in the present disclosure (such as processes and functions) may be implemented as separate software modules. Software modules may respectively perform one or more functions and operations described in the present disclosure.
[0251] The method of controlling a display device according to various exemplary embodiments may be stored on a non-transitory readable medium. When the computer instructions stored in the non-transitory readable medium are executed by a processor of a specific device, it allows the specific device to perform processing operations in the electronic device according to the above various embodiments.
[0252] The non-transitory computer-readable recording medium may refer to a medium that stores data and can be read by a device, for example. For example, the non-transitory computer-readable medium may be a CD, a DVD, a hard disk, a Blu-ray disc, a USB, a memory card, a ROM, etc.
[0253] The foregoing exemplary embodiments and advantages are merely examples and should not be construed as limiting the present disclosure. The present teachings can be easily applied to other types of devices. The description of the exemplary embodiments of the present disclosure is intended to be illustrative rather than limiting the scope of the claims, and many alternatives, modifications, and variations will be apparent to those skilled in the art.
Claims
1. An electronic device, include: Memory; as well as A processor configured to control the electronic device to: receiving a plurality of input data including image data and voice data; Group input data classified into multiple types; obtaining representative data of each of the plurality of types based on the grouped input data for storage in the memory; determining at least one of the classified plurality of types based on recognizing a voice command in the input data; as well as Based on the representative data corresponding to the determined at least one type, response information corresponding to the voice command is provided.
2. The electronic device according to claim 1, in, The processor is configured to control the electronic device to: The at least one type among the classified plurality of types is determined based on time information associated with the voice command.
3. The electronic device according to claim 1, in, Only some of the classified plurality of types are included in the determined at least one type.
4. The electronic device according to claim 1, in, The processor is configured to control the electronic device to: The variation amounts in the representative data of each of the plurality of types corresponding to each time unit are compared, and the largest weight is assigned to the type having the largest variation amount to provide response information corresponding to the voice command.
5. The electronic device according to claim 1, in, The multiple types include at least one of gesture information, emotion information, facial recognition information, gender information, age information, or voice information.
6. The electronic device according to claim 1, in, The processor is configured to control the electronic device to: The voice command is recognized based on at least one of gesture information or voice information in the input data.
7. The electronic device according to claim 1, in, The processor is configured to control the electronic device to: recognizing the voice command as a preset voice recognition unit based on recognizing the voice command in the input data, and At least one of the classified types is determined based on a time interval of at least one speech recognition unit.
8. The electronic device according to claim 7, in, The processor is configured to control the electronic device to: Based on the wake-up word being included in the voice command, and based on a time interval for recognizing the wake-up word, the voice command is recognized as the preset voice recognition unit.
9. The electronic device according to claim 8, in, The processor is configured to control the electronic device to: In a case where response information is not provided based on input data input at a preset time interval after the wake-up word is recognized, response information corresponding to the voice command is provided using input data input in a previous time interval before the wake-up word is recognized.
10. The electronic device according to claim 7, in, The processor is configured to control the electronic device to: At least one type among the classified plurality of types is determined based on information about the user's intention or the object to be controlled recognized in the voice command.
11. A computer-implemented method of controlling an electronic device, include: receiving a plurality of input data including image data and voice data; Group input data classified into multiple types; obtaining representative data of each of the plurality of types based on the grouped input data for storage in a memory of the electronic device; determining at least one of the classified plurality of types based on recognizing a voice command in the input data; as well as Based on the representative data corresponding to the determined at least one type, response information corresponding to the voice command is provided.
12. The method according to claim 11, in, Determining at least one type among the classified plurality of types comprises: At least one type among the classified plurality of types is determined based on time information associated with the voice command.
13. The method according to claim 11, in, Only some of the classified plurality of types are included in the determined at least one type.
14. The method according to claim 11, in, Providing response information corresponding to the voice command includes: The amount of change in the representative data of each of the plurality of types corresponding to each time unit is compared, and the largest weight is assigned to the type having the largest amount of change to provide response information corresponding to the voice command.
15. The method according to claim 11, in, The multiple types include at least one of gesture information, emotion information, facial recognition information, gender information, age information, or voice information.
