Method for executing a function of an electronic device and electronic device using the method
By integrating the camera and microphone in the intelligent proxy service, and using lip reading technology to confirm user voice with environmental information, the problem of difficulty in identifying smart proxy services in noisy environments is solved, and the accuracy and user experience of the service are improved.
Patent Information
- Application Number
- CN201980077069.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-14
- Filing Date
- 2019-12-13
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2039-12-13
AI Technical Summary
It is difficult for intelligent agent services to accurately recognize user voice in noisy environments, affecting service quality.
By integrating the camera and microphone in an electronic device, lip reading technology analyzes the movement of the user's lips, and confirms voice input with environmental information, improving the accuracy of voice recognition.
Enhanced the accuracy of smart proxy services, and can provide clearer user command execution in noisy environments and improve user experience.
Smart Images

Figure CN113168227B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a method for performing a function of an electronic device and an electronic device using the method. Background Art
[0002] Nowadays, various types of electronic devices (such as smart phones, tablet personal computers or wearable devices) are widely used. In order to improve the usability of such electronic devices, not only hardware components but also software components are constantly being improved. For example, the electronic device can provide an intelligent agent service for executing various functions in response to user voice input.
[0003] The above information is presented as background information only to assist in understanding the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above may be used as prior art with respect to the present disclosure. Summary of the invention
[0004] Technical issues
[0005] The intelligent agent service can recognize speech, analyze the recognized speech, and provide the user with the service the user wishes to perform. The intelligent agent service operates based on the user's speech, so its speech recognition performance may be affected by noise other than the user's speech (e.g., ambient noise). For example, recognizing the user's speech when the surrounding environment of the electronic device is quiet (e.g., low noise) and recognizing the user's speech when the surrounding environment of the electronic device is noisy (e.g., high noise) may be significantly different.
[0006] Solution to the problem
[0007] According to one aspect of the present disclosure, an electronic device is provided. The electronic device includes: a camera; a microphone; a display; a memory; and a processor. The processor is configured to: receive input from a user for enabling an intelligent agent service when at least one application is executed, confirm environmental information of the electronic device, control to obtain image information of the user through the camera based on the confirmed environmental information, detect the movement of the user's lips included in the obtained image information to recognize the user's voice, and execute a function corresponding to the recognized voice.
[0008] According to another aspect of the present disclosure, a method of an electronic device is provided. The method includes: receiving input for enabling an intelligent agent service from a user when at least one application is executed; confirming environmental information of the electronic device; acquiring image information of the user through a camera based on the confirmed environmental information; detecting a movement of the user's lips included in the acquired image information to recognize the user's voice; and executing a function corresponding to the recognized voice.
[0009] Advantageous Effects of the Invention
[0010] The electronic device according to various embodiments of the present disclosure can use image information to improve the accuracy of intelligent agent services. For example, the electronic device can analyze the function that the user wants to perform by applying lip reading technology based on the acquired image. The electronic device can determine the function desired by the user based on at least one of the user's voice and the shape of the user's lips, and provide the determined function to the user. The user can detect the time point when the user's voice starts and the time point when the user's voice ends based on the shape of the user's lips, and correct the unclear user voice received through the lip shape, thereby providing the user with a more accurate intelligent agent service. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, wherein like reference numerals represent like parts:
[0012] Figure 1 is a block diagram illustrating electronic devices in a network environment according to various embodiments.
[0013] Figure 2A is a block diagram illustrating an integrated intelligent system according to an embodiment;
[0014] Figure 2B shows a form of storing information about the relationship between concepts and actions in a database according to an embodiment;
[0015] Figure 2C A user terminal showing a screen for processing a received voice input through a smart application (app) according to an embodiment is shown;
[0016] Figure 3 Schematically illustrates an intelligent agent system according to various embodiments of the present disclosure;
[0017] Figure 4 is a block diagram illustrating a lip reading module according to various embodiments of the present disclosure;
[0018] Figure 5 is a flowchart illustrating a method in which an electronic device executes a function corresponding to a user command through an intelligent agent service according to various embodiments of the present disclosure;
[0019] Figure 6 A method in which an electronic device recognizes a user's voice based on at least one of the user's voice or the user's lip shape according to various embodiments of the present disclosure is shown;
[0020] Figure 7 shows a user interface when an electronic device executes a function through an intelligent agent service according to various embodiments of the present disclosure;
[0021] FIG. 8A to FIG. 8B shows a user interface when an electronic device executes a function through an intelligent agent service according to various embodiments of the present disclosure;
[0022] Fig. 9 is a flowchart illustrating a method of executing a function corresponding to a user command based on whether an electronic device can perform lip reading according to various embodiments of the present disclosure;
[0023] FIG. 10A to FIG. 10C Schematically illustrates a method for providing a user interface for a lip reading operation of an electronic device according to various embodiments of the present disclosure; and
[0024] Fig.11 is a flowchart illustrating a method of detecting a movement of lips, recognizing a user voice, and executing a function corresponding to the recognized voice when executing an application according to various embodiments of the present disclosure. DETAILED DESCRIPTION
[0025] It may be helpful to set forth definitions of certain words and phrases used in this patent document: the terms "include" and "comprising" and their derivatives mean including but not limited to; the term "or" encompasses, means and / or; the phrases "associated with" and "associated with" and their derivatives may mean including, included therein, interconnected therewith, contain, contained therein, connected to or connected therewith, coupled to or coupled therewith, communicable with, cooperating with, interleaved with, juxtaposed with, proximate to, bound to or bound therewith, having, having the property of, and the like; the term "controller" means any device, system, or part thereof that controls at least one operation, such device may be implemented in hardware, firmware, or software, or some combination of at least two of hardware, firmware, or software. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether local or remote.
[0026] In addition, the various functions described below can be implemented or supported by one or more computer programs, each of which is formed by a computer-readable program code and embodied in a computer-readable medium. The terms "application" and "program" refer to one or more computer programs, software components, instruction sets, processes, functions, objects, classes, instances, related data or parts thereof suitable for implementation in appropriate computer-readable program codes. The phrase "computer-readable program code" includes any type of computer code, including source code, object code and executable code. The phrase "computer-readable medium" includes any type of medium that can be accessed by a computer, such as a read-only memory (ROM), a random access memory (RAM), a hard drive, a compact disk (CD), a digital video disc (DVD) or any other type of memory. "Non-transitory" computer-readable media do not include wired, wireless, optical or other communication links that transmit temporary electrical signals or other signals. Non-transitory computer-readable media include media that can permanently store data and media that can store data and then rewrite, such as rewritable optical disks or erasable storage devices.
[0027] Definitions for certain words and phrases are provided throughout this patent document. Those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.
[0028] The following discussion Figures 1 to 11 The various embodiments used to describe the principles of the present disclosure in this patent document are exemplary only and should not be interpreted in any way as limiting the scope of the present disclosure. Those skilled in the art will understand that the principles of the present disclosure can be implemented in any appropriately arranged system or device.
[0029] Figure 1 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Figure 1, the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the components (e.g., the display device 160 or the camera module 180) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the components may be implemented as a single integrated circuit.For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented to be embedded in the display device 160 (eg, a display).
[0030] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to an embodiment, as at least part of the data processing or calculation, the processor 120 may load a command or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the command or data stored in the volatile memory 132, and store the result data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 121 in operation. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be specifically used for a specified function. The auxiliary processor 123 may be implemented separately from the main processor 121 , or as part of the main processor 121 .
[0031] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display device 160, sensor module 176, or communication module 190) among the components of the electronic device 101 (not the main processor 121), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display device 160, sensor module 176, or communication module 190) among the components of the electronic device 101 together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., camera module 180 or communication module 190) that is functionally related to the auxiliary processor 123.
[0032] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.
[0033] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .
[0034] The input device 150 may receive commands or data from outside the electronic device 101 (e.g., a user) to be used by other components of the electronic device 101 (e.g., the processor 120). The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus).
[0035] The sound output device 155 can output a sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records, and the receiver can be used for incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as a part of the speaker.
[0036] The display device 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display device 160 may include a touch circuit adapted to detect a touch or a sensor circuit (e.g., a pressure sensor) adapted to measure the strength of a force caused by a touch.
[0037] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input device 150, or output sound via the sound output device 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.
[0038] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0039] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
[0040] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0041] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0042] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0043] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0044] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0045] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0046] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a PCB). According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as a part of the antenna module 197.
[0047] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, general purpose input output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.
[0048] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 and the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed in the electronic device 101 may be executed in one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices that receive the request may execute the requested at least part of the function or service, or execute another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, for example, cloud computing technology, distributed computing technology, or client-server computing technology may be used.
[0049] Figure 2A is a block diagram illustrating an integrated intelligent system according to an embodiment.
[0050] Reference Figure 2A , the integrated intelligent system according to the embodiment may include a user terminal 220 , an intelligent server 200 , and a service server 230 .
[0051] The user terminal 220 according to an embodiment may be a terminal device (or electronic device) capable of connecting to the Internet, and may include, for example, a mobile phone, a smart phone, a personal digital assistant (PDA), a laptop computer, a TV, a white object, a wearable device, an HMD, or a smart speaker.
[0052] According to the embodiment, the user terminal 220 may include a communication interface 221, a microphone 222, a speaker 223, a display 224, a memory 226, or a processor 225. The listed elements may be operably or electrically connected to each other.
[0053] The communication interface 221 according to an embodiment may be connected to an external device and configured to send and receive data. The microphone 222 according to an embodiment may receive sound (e.g., user voice) and convert it into an electrical signal. The speaker 223 according to an embodiment may output an electrical signal in the form of sound (e.g., voice). The display 224 according to an embodiment may be configured to display an image or video. The display 224 according to an embodiment may display a graphical user interface (GUI) of an executed app (or application).
[0054] The memory 226 according to the embodiment stores a client module 227, a software development kit (SDK) 228, and a plurality of applications 229. The client module 227 and the SDK 228 may configure a framework (or solution program) for performing general functions. In addition, the client module 227 or the SDK 228 may configure a framework for processing voice input.
[0055] The plurality of applications 229 may be programs for performing predetermined functions. According to an embodiment, the plurality of applications 229 may include a first application 229_1 and a second application 229_2. According to an embodiment, each of the plurality of applications 229 may include a plurality of operations for performing predetermined functions. For example, the application may include an alarm application, a message application, and / or a scheduling application. According to an embodiment, the plurality of applications 229 may be executed by the processor 225 so as to sequentially perform at least some of the plurality of operations.
[0056] The processor 225 according to an embodiment may control the overall operation of the user terminal 220. For example, the processor 225 may be electrically connected to the communication interface 221, the microphone 222, the speaker 223, and the display 224 to perform a predetermined operation.
[0057] The processor 225 according to an embodiment may perform a predetermined function by executing a program stored in the memory 226. For example, the processor 225 may perform the following operation for processing a voice input by executing at least one of the client module 227 or the SDK 228. The processor 225 may control the operation of the plurality of applications 229, for example, through the SDK 228. The following operation as an operation of the client module 227 or the SDK 228 may be performed by the processor 225.
[0058] The client module 227 according to an embodiment may receive a voice input. For example, the client module 227 may receive a voice signal corresponding to a user voice detected by the microphone 222. The client module 227 may send the received voice input to the intelligent server 200. The client module 227 may send the state information of the user terminal 220 together with the received voice input to the intelligent server 200. The state information may be, for example, execution state information of an application.
[0059] The client module 227 according to the embodiment may receive a result corresponding to the received voice input. For example, if the smart module 200 obtains a result corresponding to the received voice input, the client module 227 may receive a result corresponding to the received voice input. The client module 227 may display the received result on the display 224.
[0060] The client module 227 according to an embodiment may receive a plan corresponding to the received voice input. The client module 227 may display the results obtained by executing multiple operations of the application on the display 224 according to the plan. For example, the client module 227 may sequentially display the execution results of the multiple operations on the display. In another example, the user terminal 220 may display only some results of the multiple operations (only the result of the last operation) on the display.
[0061] According to an embodiment, the client module 227 may receive a request for obtaining information from the intelligent server 200, the information being used to obtain a result corresponding to the voice input. According to an embodiment, the client module 227 may send information to the intelligent server 200 in response to the request.
[0062] The client module 227 according to an embodiment may send result information of executing multiple operations according to a plan to the intelligent server 200. The intelligent server 200 may use the result information to confirm that the received voice input is processed correctly.
[0063] The client module 227 according to an embodiment may include a voice recognition module. According to an embodiment, the client module 227 may recognize a voice input for executing a limited function through the voice recognition module. For example, the client module 227 may execute an intelligent application for processing voice input to perform an organic operation through a predetermined input (e.g., wake up!).
[0064] According to an embodiment, the intelligent server 200 may receive information related to the user voice input from the user terminal 220 through a communication network. According to an embodiment, the intelligent server 200 may change the data related to the received voice input into text data. According to an embodiment, the intelligent server 200 may generate a plan for executing a task corresponding to the user voice input based on the text data.
[0065] According to an embodiment, the plan may be generated by an artificial intelligence (AI) system. The intelligent system may be a rule-based system, a neural network-based system (e.g., a feedforward neural network (FNN)) or a recursive neural network (RNN)). Alternatively, the intelligent system may be a combination of them or an intelligent system different from them. According to an embodiment, a plan may be selected from a combination of predefined plans, or a plan may be generated in real time in response to a user request. For example, the intelligent system may select at least one plan from a plurality of predefined plans.
[0066] According to an embodiment, the intelligent server 200 may send the result of the generated plan to the user terminal 220 or send the generated plan to the user terminal 220. According to an embodiment, the user terminal 220 may display the result of the plan on the display. According to an embodiment, the user terminal 220 may display the result of the operation according to the plan on the display.
[0067] The intelligent server 200 according to the embodiment may include a front end 201 , a natural language platform 202 , a capsule DB 208 , an execution engine 209 , and a terminal user interface 210 , a management platform 211 , a big data platform 212 , or an analysis platform 213 .
[0068] According to an embodiment, the front end 201 may receive the received voice input from the user terminal 220. The front end 201 may send a response to the voice input.
[0069] According to an embodiment, the natural language platform 202 may include an automatic speech recognition module (ASR module) 203, a natural language understanding (NLU) module 204, a planner module 205, a natural language generator (NLG) module 206, or a text to speech (TTS) module 207.
[0070] The automatic speech recognition module 203 according to the embodiment can convert the speech input received from the user terminal 220 into text data. The natural language understanding module 204 according to the embodiment can detect the user's intention based on the text data of the speech input. For example, the natural language understanding module 204 can detect the user's intention by performing syntactic analysis or semantic analysis. The natural language understanding module 204 according to the embodiment can detect the meaning of the words extracted from the speech input based on the language features (e.g., grammatical elements) of morphemes or phrases, and match the meaning of the detected words with the intention to determine the user's intention.
[0071] The planner module 205 according to an embodiment may generate a plan based on the intention and parameters determined by the natural language understanding module 204. According to an embodiment, the planner module 205 may determine multiple domains for performing tasks based on the determined intention. The planner module 205 may determine multiple operations included in multiple domains determined based on the intention. According to an embodiment, the planner module 205 may determine parameters for performing multiple determined operations or result values output by performing multiple operations. Parameters and result values may be defined by concepts of predetermined types (or categories). According to an embodiment, the plan may include multiple operations determined by the user's intention and multiple concepts. The planner module 205 may gradually (or hierarchically) determine the relationship between multiple operations and multiple concepts. For example, the planner module 205 may determine the execution order of multiple operations determined based on the user's intention based on multiple concepts. In other words, the planner module 205 may determine the execution order of multiple operations based on the parameters for performing multiple operations and the results output by performing multiple operations. Therefore, the planner module 205 may generate a plan including information about the relationship (ontology) between multiple operations and multiple concepts. The planner module 205 may generate a plan based on information stored in a capsule database 208 , which stores a set of relationships between concepts and operations.
[0072] The natural language generator module 206 according to the embodiment can convert the predetermined information into a text form. The information converted into a text form can be in a natural language voice form. The text-to-speech module 207 can convert the information in a text form into information in a voice form.
[0073] According to an embodiment, some or all functions of the natural language platform 202 may also be implemented by the user terminal 220 .
[0074] The capsule database 208 may store information about the relationship between multiple concepts and operations corresponding to multiple domains. A capsule according to an embodiment may include multiple operation objects (action objects or action information) and concept objects (or concept information). According to an embodiment, the capsule database 208 may store multiple capsules in the form of a concept action network (CAN). According to an embodiment, multiple capsules may be stored in a function registry included in the capsule database 208.
[0075] The capsule database 208 may include a policy registry storing policy information used when determining a plan corresponding to the voice input. When there are multiple plans corresponding to the voice input, the policy information may include reference information for determining one plan. According to an embodiment, the capsule database 208 may include a subsequent registry storing the next operation to suggest a subsequent operation to the user under a predetermined situation. The subsequent operation may include, for example, the next voice. According to an embodiment, the capsule database 208 may include a layout registry storing layout information corresponding to information output through the user terminal 220. According to an embodiment, the capsule database 208 may include a vocabulary registry storing vocabulary information included in the capsule information. According to an embodiment, the capsule database 208 may include a dialogue registry storing dialogue (or interaction) information with the user. The capsule database 208 may update the stored objects through a developer tool. The developer tool may include a function editor for updating, for example, an operation object or a concept object. The developer tool may include a vocabulary editor for updating vocabulary. The developer tool may include a policy editor for generating and registering policies to determine a plan. The developer tool may include a dialogue editor for generating a dialogue with the user. The developer tool may include a subsequent editor for enabling subsequent goals and editing the next voice that provides prompts. The subsequent goals may be determined based on the current goal, the user's preferences, or environmental conditions. According to an embodiment, the capsule database 208 may be implemented inside the user terminal 220.
[0076] The execution engine 209 according to an embodiment may obtain a result based on the generated plan. The terminal user interface 210 may send the obtained result to the user terminal 220. Therefore, the user terminal 220 may receive the result and provide the received result to the user. The management platform 211 according to an embodiment may manage the information used by the intelligent server 200. The big data platform 212 according to an embodiment may collect user data. The analysis platform 213 according to an embodiment may manage the quality of service (QoS) of the intelligent server 200. For example, the analysis platform 213 may manage the elements and processing speed (or efficiency) of the intelligent server 200.
[0077] The service server 230 according to an embodiment may provide a predetermined service (e.g., food ordering or hotel reservation) to the user terminal 220. According to an embodiment, the service server 230 may be a server operated by a third party. The service server 230 according to an embodiment may provide information for generating a plan corresponding to the received voice input to the intelligent server 200. The provided information may be stored in the capsule database 208. In addition, the service server 230 may provide the result information of the plan to the intelligent server 200.
[0078] In the above integrated intelligent system, the user terminal 220 can provide various intelligent services to the user in response to the user input. The user input can include, for example, input through a physical button, touch input, or voice input.
[0079] According to an embodiment, the user terminal 220 may provide a voice recognition service through an intelligent application (or voice recognition application) stored in the user terminal 220. In this case, for example, the user terminal 220 may recognize a user voice (speech) or voice input received through a microphone, and provide a service corresponding to the recognized voice input to the user.
[0080] According to an embodiment, the user terminal 220 can perform a predetermined operation with or together with the intelligent server and / or service server based on the received voice input. For example, the user terminal 220 can execute an application corresponding to the received voice input and perform a predetermined operation through the executed application.
[0081] According to an embodiment, when the user terminal 220 provides a service together with the intelligent server 200 and / or the service server, the user terminal can detect the user voice through the microphone 222 and generate a signal (or voice data) corresponding to the detected user voice. The user terminal can send the voice data to the intelligent server 200 through the communication interface 221.
[0082] According to the embodiment, the intelligent server 200 can generate a plan for performing a task corresponding to the voice input or an operation result according to the plan in response to the voice input received from the user terminal 220. The plan may include, for example, multiple operations for performing tasks corresponding to the user's voice input and multiple concepts related to the multiple operations. These concepts can be parameters input to perform multiple operations, or can be defined as result values output by performing multiple operations. The plan may include relationships between multiple operations and multiple concepts.
[0083] The user terminal 220 according to the embodiment may receive the response through the communication interface 221. The user terminal 220 may output a voice signal generated by the user terminal 220 to the outside through the speaker 223 or output an image generated by the user terminal 220 to the outside through the display 224.
[0084] Figure 2B A form of storing information on the relationship between concepts and actions in a database according to an embodiment is shown.
[0085] The capsule database (e.g., capsule database 208) of the intelligent server 200 may store capsules in the form of a concept-action network (CAN). The capsule database may store operations for processing tasks corresponding to user voice input and parameters for the operations in the form of a concept-action network (CAN).
[0086] The capsule database may store a plurality of capsules (capsule A 241 and capsule B 244) corresponding to a plurality of domains (e.g., applications). According to an embodiment, one capsule (e.g., capsule A 241) may correspond to one domain (e.g., location (geo) or application). In addition, one capsule may correspond to at least one service provider (e.g., CP#1 242, CP#2 243, CP#3 246, and CP#4 245) for performing a function of a domain related to the capsule. According to an embodiment, one capsule may include one or more operations and one or more concepts for performing a predetermined function.
[0087] The natural language platform 202 can generate a plan for performing a task corresponding to the received speech input using capsules stored in the capsule database. For example, the planner module 205 of the natural language platform can generate a plan using capsules stored in the capsule database. For example, the operations 241_1, 241_3 and concepts 241_2, 241_4 of capsule A 241 and the operations 244_1 and concepts 244_2 of capsule B 244 can be used to generate a plan 247.
[0088] Figure 2C A screen showing a user terminal processing a received voice input through a smart application according to various embodiments is shown.
[0089] The user terminal 220 may execute the smart application through the smart server 200 to process the user input.
[0090] According to an embodiment, in screen 250, when a predetermined voice input (e.g., wake up!) is recognized or input is received through a hardware key (e.g., a dedicated hardware key), the user terminal 220 may execute a smart application for processing the voice input. The user terminal 220 may execute the smart application in a state where, for example, a scheduling application is executed. According to an embodiment, the user terminal 220 may display an object 251 (e.g., an icon) corresponding to the smart application on the display 224. According to an embodiment, the user terminal 220 may receive a voice input input by a user voice. For example, the user terminal 220 may receive a voice input "Let me know the schedule for this week!" According to an embodiment, the user terminal 220 may display a user interface (UI) 253 (e.g., an input window) of the smart application on the display, and the smart application displays the text data of the received voice input.
[0091] According to an embodiment, the user terminal 220 may display a result corresponding to the received voice input on the display in screen 260. For example, the user terminal 220 may receive a plan corresponding to the received user input and display a "schedule for this week" according to the plan on the display.
[0092] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.
[0093] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalent forms or alternative forms for corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “combined with another element (e.g., the second element)”, “combined to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” when the terms “operably” or “communicatively” are used or when the terms “operably” or “communicatively” are not used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.
[0094] As used herein, the term "module" may include units implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).
[0095] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be run by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include a signal (e.g., an electromagnetic wave), but the term does not distinguish between data being semi-permanently stored in a storage medium and data being temporarily stored in a storage medium.
[0096] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) The computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a forwarding server).
[0097] According to various embodiments, each component (e.g., module or program) in the above-mentioned components may include a single entity or multiple entities. According to various embodiments, one or more components in the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each component in the multiple components in the same or similar manner as a corresponding component in the multiple components before integration. According to various embodiments, the operations performed by a module, program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more operations in the operations may be run or omitted in different orders, or one or more other operations may be added.
[0098] Figure 3 An intelligent agent system according to various embodiments of the present disclosure is schematically illustrated.
[0099] According to various embodiments, the electronic device 101 may execute a function according to a user's command through the intelligent agent system 300. For example, the intelligent agent system 300 may include an environment information confirmation module 310, a voice information recognition module 320, an image information recognition module 330, and a function execution module 340. Figure 3 The intelligent agent system 300 may include Figure 2A to Figure 2C At least some elements or modules of the integrated intelligent system may correspond to a combination of at least some elements or modules.
[0100] According to various embodiments, the environmental information confirmation module 310 may confirm at least one environmental information related to the electronic device 101. For example, the environmental information may include a noise level around the electronic device 101. If the user of the electronic device 101 attends a concert, the environmental information confirmation module 310 may obtain and store information indicating that it is very noisy around the electronic device 101 as environmental information. In another example, the environmental information may include information about an application executed by the electronic device 101. The environmental information confirmation module 310 may obtain information about the application being executed, such as a video or music reproduced by the electronic device 101, as environmental information. For a specific application, the environmental information confirmation module 310 may obtain information about the operating state of the specific application as environmental information. For example, if the specific application is a video application, the environmental information confirmation module 310 may confirm whether the video is currently being reproduced or stopped. In another example, the environmental information confirmation module 310 may confirm whether the specific application is executed in the foreground or in the background. The electronic device 101 may use at least one environmental information obtained by the environmental information confirmation module 310 to provide an intelligent agent function through the electronic device 101.
[0101] According to various embodiments, the voice information recognition module 320 may receive the user's voice and determine the user's command based on the received voice. For example, the voice information recognition module 320 may convert the voice into text using automatic speech recognition (ASR) and execute a function based on the converted text.
[0102] According to various embodiments, if the electronic device 101 is very noisy around, it is not possible to smoothly receive voice from the user. In another example, if the user is in a library where quietness is required, it may be difficult for the user to input loudly. In the above case, it may be difficult for the electronic device 101 to perform intelligent agent services through voice input.
[0103] According to various embodiments, the image information recognition module 330 may receive information about the user image through the camera module 180 of the electronic device 101, and may perform lip reading based on the received image information. For example, lip reading may be a technique for analyzing the movement of the user's lips and recognizing words or sentences. The image information recognition module 330 may be a method for finding the most appropriate words or sentences based on the received lip image through a training model. Therefore, unlike the voice information recognition module 320, the image information recognition module may not generate text.
[0104] As described above, if it is difficult to confirm a function that a user desires to execute only through the user's voice, lip reading can be performed based on received image information, and thus the accuracy of the intelligent agent service can be improved.
[0105] According to various embodiments, the image information recognition module 330 may confirm the user's command based on the environmental information acquired by the environmental information confirmation module 310 only through the user's lip reading without receiving voice information, and execute a function corresponding to the confirmed user's command.
[0106] According to various embodiments, the image information recognition module 330 may compensate for the voice information to be processed by the voice information recognition module 320 through lip reading. The electronic device 101 may confirm the user's command by combining the voice information and the lip reading information and execute a function corresponding to the confirmed user's command.
[0107] According to various embodiments, the image information recognition module 330 may confirm the number of lips included in the image, the user who issues a voice command, and information about the start or end point of the voice.
[0108] According to various embodiments, the image information recognition module 330 may provide at least one piece of information related to lip reading to the user interface. For example, the image information recognition module 330 may provide information indicating whether lip reading is being performed, information about lips included in the image, information about lips performing lip reading, or information about lip reading errors to the user interface.
[0109] According to various embodiments, the image information recognition module 330 may provide guidance on lip reading to facilitate lip reading. For example, the image information recognition module 330 may provide a close-up of the user's lips and provide the close-up through a separate preview screen. In another example, if it is difficult to detect the user's lips in the received image, the image information recognition module 330 may guide the electronic device 101 to control the orientation.
[0110] According to various embodiments, if the number of lips included in the image is multiple, the image information recognition module 330 can display the lips so that the lips recognized as currently speaking are distinguished from other lips that are merely included in the image. For example, lips determined to actually issue a voice command can be displayed with a border around their peripheral area, and only lips included in the image can be displayed without special indication. In another example, lips determined to actually input a voice command can be displayed with a first border around them, and only lips included in the image can be displayed with a second border around them. The shape (e.g., solid line or dotted line), color, and thickness of the first border can be different from the shape, color, and thickness of the second border.
[0111] According to various embodiments, the function execution module 340 may determine a user's command based on at least one of environmental information, voice information, or image information of the electronic device 101 , and execute a function corresponding to the determined command.
[0112] like Figure 4 is a block diagram illustrating an electronic device for performing lip reading according to various embodiments of the present disclosure.
[0113] According to various embodiments, the electronic device 400 (eg, Figure 1 The electronic device 101 or Figure 2A The user terminal 220) may be divided into a plurality of modules for performing lip reading.
[0114] According to various embodiments, the client module 410 may be used to access the intelligent proxy service and output the result of the intelligent proxy service. For example, the client module 410 may perform a lip reading function according to information about the currently executed application and the environment of the electronic device 400.
[0115] According to various embodiments, the automatic speech recognition (ARS) module 420 may convert an input voice signal into text.
[0116] According to various embodiments, the lip verification module 431 may confirm whether lips are detected in the image information acquired through the camera module 180, and whether the movement of the lips can be recognized. For example, the lip verification module 431 may determine whether the image information acquired through the camera module corresponds to an image in which lips can be recognized, and determine whether to continue lip recognition or perform only voice recognition.
[0117] According to various embodiments, the lip recognition module 433 may detect the movement of the lips based on the general lip reading model 435 and the personal lip reading model 437 in the recognized lip region, and recognize or estimate the user's voice.
[0118] According to various embodiments, the general lip-reading model 435 is a model learned based on a plurality of unspecified lip movements and voice information corresponding thereto, and may ensure recognition performance of general lip-reading.
[0119] According to various embodiments, the personal lip reading model 437 can ensure recognition performance optimized for the user of the electronic device 400 by learning the movement of the user's lips to generate a model. For example, since each person's speaking habits and lip movements are different, performance degradation may occur individually, so the personal lip reading model 437 can be used to improve the recognition performance of lip reading.
[0120] According to various embodiments, the following operations may be performed by the electronic device 400. For example, if the intelligent agent service is executed by user input (e.g., pressing a physical key or a wake-up voice), environmental information of the application 441 or 443 being executed is received. For example, if a video or music is being reproduced, the camera module may be enabled to recognize lips. If it is determined that lips can be recognized based on image information collected from the camera module, the user voice is determined by the received user voice and lip movement.
[0121] Figure 5 5 is a flowchart illustrating a method 500 of executing a function corresponding to a user command through an intelligent agent service of an electronic device according to various embodiments of the present disclosure.
[0122] According to various embodiments, the electronic device 101 may execute the intelligent agent service in operation 510. For example, the electronic device 101 may execute the intelligent agent service by receiving a user input (eg, pressing a physical key or a wake-up voice).
[0123] According to various embodiments, in operation 520, the electronic device 101 may confirm environmental information of the electronic device 101. For example, the environmental information may include a noise level around the electronic device 101. In another example, the environmental information may include information about an application executed by the electronic device 101.
[0124] According to various embodiments, in operation 530, the electronic device 101 may determine whether to acquire image information based on the confirmed environmental information. For example, if the noise around the electronic device 101 is severe, the voice cannot be received smoothly from the user, so the electronic device 101 may perform control to acquire image information. In another example, if the user is located in a place where quietness is required, it is difficult for the user to input loudly. In the above case, by additionally acquiring image information, the accuracy of the intelligent agent service can be improved.
[0125] According to various embodiments, if it is determined to acquire image information, the electronic device 101 may acquire image information about the user by activating a camera module in operation 541 .
[0126] According to various embodiments, in operation 543, the electronic device 101 may recognize a user voice based on the acquired image information.
[0127] According to various embodiments, if it is determined not to acquire image information, the electronic device 101 may acquire voice information from a user in operation 551 .
[0128] According to various embodiments, in operation 553, the electronic device 101 may recognize a user voice based on the voice information.
[0129] According to various embodiments, in operation 560, the electronic device 101 may execute a function corresponding to the generated text.
[0130] According to various embodiments, referring to Figure 5 , the electronic device 101 can selectively obtain image information or voice information and perform a function corresponding to the user's voice. However, the present disclosure is not limited to the embodiment, but may include an embodiment in which the electronic device obtains image information and voice information and performs a function corresponding to the user's voice based on their combination (e.g., combined voice).
[0131] Figure 6 A method in which an electronic device recognizes a user voice based on at least one of the user voice or the user's lips according to various embodiments of the present disclosure is illustrated.
[0132] According to various embodiments, in operation 610, the electronic device 101 may determine whether to perform lip reading based on environmental information. If it is determined to perform lip reading, the electronic device may acquire information about the image of the user in operation 621. If it is determined not to perform lip reading, the electronic device may acquire voice information in operation 623. In another example, even if it is determined to perform lip reading, the electronic device 101 may additionally acquire voice information in operation 623.
[0133] According to various embodiments, if the image information is acquired by lip reading, the electronic device 101 may confirm the information about the lips 631. For example, the method of confirming the lip information 631 may include lip detection, lip activation detection, and lip tracking. For example, lip tracking may be detecting the lips of the user in the image information. For example, lip activation detection may be detecting the start of lip movement. For example, lip tracking may be continuous tracking of shape changes of lips that start to move.
[0134] According to various embodiments, the electronic device 101 may recognize the user voice based on the lip information 631 (eg, recognize the user voice only through lip movements).
[0135] According to various embodiments, in step 645 , the electronic device 101 may convert the user's voice into text through the automatic voice recognition module 633 (eg, convert the user's voice into text only through the received voice).
[0136] According to various embodiments, in step 641 , the electronic device 101 may recognize the user voice by combining the lip information 631 and the information obtained from the automatic speech recognition module 633 (eg, recognize the user voice by combining the received voice and lip movements).
[0137] According to various embodiments, if the electronic device 101 acquires image information through lip reading, the electronic device 101 may refer to the database 643 in order to recognize the user's voice. The corresponding database 643 may be stored in the memory 130 in the server or the electronic device 101.
[0138] According to various embodiments, in operation 650 , the electronic device 101 may recognize a user voice corresponding to the converted text.
[0139] Figure 7 A user interface when an electronic device performs a function through a smart agent service according to various embodiments is shown.
[0140] According to various embodiments, referring to reference numeral 710, the electronic device 101 may execute a first application (eg, a music reproduction application). The electronic device 101 may receive an input for enabling the intelligent agent service from a user while executing the first application.
[0141] According to various embodiments, referring to reference numeral 720, if a first application (e.g., a music reproduction application) is continuously executed in the background seamlessly (e.g., while music is being reproduced) in a state where the intelligent agent service is enabled, the electronic device 101 may receive at least one of the user's voice and information about lips through the intelligent agent service. For example, the electronic device 101 may display information indicating that the intelligent agent service is enabled, thereby receiving at least one of the voice and lip information through a separate object or icon 721.
[0142] According to various embodiments, referring to reference numeral 720, if the camera module 180 is enabled to perform lip reading, the electronic device 101 may display a separate object or icon 723 to notify the user thereof. For example, the lip reading object or icon 723 may be displayed with a change in state depending on the state of the lip reading. For example, if the movement of the user's lips is accurately read, the object or icon 723 may be clearly displayed. If it is difficult to detect the movement of the user's lips (for example, if the position of the lips is detected fails or if it is dark around the user), the object or icon 723 may be displayed blurred or may flicker. In another example, if the movement of the user's lips is accurately read, the object or icon 723 may be displayed in a first color. If it is difficult to detect the movement of the user's lips (for example, if the position of the lips is detected fails or if it is dark around the user), the object or icon 723 may be displayed in a second color different from the first color.
[0143] According to various embodiments, referring to reference numeral 720, the electronic device 101 may display the conversion result from the user's voice to text in real time. For example, the electronic device 101 may provide the user with an intermediate result 725 while the user is speaking, and may provide the user with a final result 727 if the user completes the voice.
[0144] According to various embodiments, referring to reference numeral 720, the electronic device 101 may temporarily stop the music currently being reproduced by the music reproduction application in order to receive a command from the user. In this case, since the currently reproduced music is stopped, the user's voice may be received more smoothly. However, the user cannot listen to the music seamlessly, which may cause inconvenience to the user.
[0145] According to various embodiments, referring to reference numeral 730, if the user voice corresponds to the execution of the second application (e.g., gallery), the electronic device 101 may switch the screen to the second application. Thereafter, if a back input is received from the user, the electronic device 101 may return to the execution screen of the first application.
[0146] FIG. 8A to FIG. 8BA user interface when an electronic device executes a function through a smart agent service according to various embodiments of the present disclosure is illustrated.
[0147] According to various embodiments, referring to Fig. 8A , the electronic device 101 can reproduce a movie through a video reproduction application in the screen 810. In this case, the electronic device 101 can receive input from the user for enabling the intelligent agent service. When the reproduced video is not paused or stopped, the electronic device 101 can receive input from the user. For example, the electronic device 101 can confirm environmental information, which indicates that the currently executed application is a video reproduction application, and the movie is currently reproduced through the video reproduction application. In order not to interrupt the user's viewing of the movie, the electronic device 101 can enable the lip reading mode without stopping the reproduction of the video, and detect the movement of the user's lips. Of course, in this case, the user's voice can also be received, and the electronic device 101 can identify the command that the user wishes to execute based on the user's voice and lip movement. At the same time, the electronic device 101 can display an object or icon 811 notifying the activation of the lip reading mode through the user interface.
[0148] According to various embodiments, referring to Fig. 8A , the electronic device 101 may receive a query input about Friday's weather from the user in screen 820. In response, the electronic device 101 may provide a response of "Snow will fall on Friday". Since the user is currently watching a movie, if the electronic device 101 responds by a separate voice or hides the currently executed application and switches the screen to the intelligent agent service screen, the smooth viewing of the movie may be interrupted. Therefore, the electronic device 101 may display a response 821 corresponding to the user command in a form similar to subtitles without a separate voice response or screen switching.
[0149] According to various embodiments, referring to Figure 8B , the electronic device 101 can reproduce music through the music reproduction application in the screen 830. In this case, the electronic device 101 can receive input from the user for enabling the intelligent agent service. When the reproduced music is not paused or stopped, the electronic device 101 can receive input from the user. For example, the electronic device 101 can confirm environmental information, which indicates that the currently executed application is a music reproduction application and the music is currently reproduced through the music reproduction application. In order not to interrupt the user's listening to music, when the reproduction of music is not stopped, the electronic device 101 can enable lip reading mode and detect the movement of the user's lips. Of course, in this case, the user's voice can also be received, and the electronic device 101 can recognize the command that the user wishes to execute based on the user's voice and lip movement.
[0150] According to various embodiments, referring to Figure 8B, the electronic device 101 may recognize in screen 840 a request to send a message from the user. In response thereto, the electronic device 101 may provide a response 841 "To whom? 847" refers to a question asking to whom the information is sent. In addition, the electronic device 101 may display an indicator 843 indicating that user feedback is currently being received, and display an object or icon 845 indicating that lip reading is being performed. An indicator, object, or icon is a graphical user interface used to refer to something, and may be used as a similar meaning, but may be replaced with other expressions. Fig. 8A Similarly, since the user is currently listening to music, if the electronic device 101 responds by a separate voice or hides the currently executed application and switches the screen to the intelligent agent service screen, the uninterrupted listening to the music can be interrupted. Therefore, the electronic device 101 can display a response 841 corresponding to the user command in a partial area, in which the currently executed application is displayed in a form similar to a message without a separate voice response.
[0151] Fig. 9 9 is a flowchart illustrating a method 900 of executing a function corresponding to a user command based on whether an electronic device is capable of lip reading according to various embodiments of the present disclosure.
[0152] According to various embodiments, in operation 910, the electronic device 101 may acquire information about an image of a user.
[0153] According to various embodiments, in operation 920 , the electronic device 101 may determine whether lips can be recognized in the acquired image information (eg, whether lip reading can be performed).
[0154] According to various embodiments, if the lips can be recognized, in operation 930, the electronic device 101 may display a user interface (UI) for lip reading.
[0155] According to various embodiments, in operation 940 , the electronic device 101 may perform lip reading and output an intermediate result of the lip reading.
[0156] According to various embodiments, in operation 950 , the electronic device 101 may determine whether the input of the user command is completed.
[0157] According to various embodiments, if the input of the user command is completed, in operation 960 , the electronic device 101 may output a final result of the lip-reading.
[0158] According to various embodiments, if the input of the user command is not completed, the electronic device 101 may continue lip-reading and output an intermediate result of the lip-reading in operation 940 .
[0159] According to various embodiments, if lips cannot be recognized, the electronic device 101 may display a user interface (UI) for voice recognition in operation 935 .
[0160] According to various embodiments, in operation 945 , the electronic device 101 may perform voice recognition and output an intermediate result for the voice recognition.
[0161] According to various embodiments, in operation 955 , the electronic device 101 may determine whether the input of the user command is completed.
[0162] According to various embodiments, if the input of the user command is completed, the electronic device 101 may output a final result of the voice recognition in operation 965 .
[0163] According to various embodiments, if the input of the user command is not completed, the electronic device 101 may continue the voice recognition and output an intermediate result for the voice recognition in operation 945 .
[0164] According to various embodiments, in operation 970, the electronic device 101 may execute an input command based on at least one of a final result of the lip reading and a final result of the speech recognition.
[0165] FIG. 10A to FIG. 10C A method for providing a user interface for a lip reading operation of an electronic device according to various embodiments of the present disclosure is schematically illustrated.
[0166] According to various embodiments, referring to Fig. 10A , if the noise around the electronic device is higher than or equal to a predetermined level or a human voice is input at the same time, the electronic device 101 can perform lip reading. The electronic device 101 can recognize what the user voice received through the lip recognition module and the automatic voice recognition module is about. For example, the electronic device 101 can detect the movement of the lips included in the image information indicated by reference numerals 1010 to 1060 and recognize the user voice based thereon.
[0167] According to various embodiments, referring to Fig. 10B , if the image information for performing lip reading has a preset brightness or lower, the accuracy of lip reading is low, so that the electronic device 101 can request the user to move to a brighter place. For example, if the image 1070 of the user is acquired in a dark place, a mark 1071 can be displayed around the lips of the user. For example, if lip reading is performed normally, the mark 1071 can be represented by a solid line, and if lip reading is difficult, the mark 1071 can be represented by a dotted line. In another example, if lip reading is performed normally, the mark 1071 can be represented in green, and if lip reading is difficult, the mark 1071 can be represented in red.
[0168] According to various embodiments, referring to Fig. 10C , the electronic device 101 can detect multiple lips in the image information 1080. The electronic device 101 can determine which lip among the detected lips is currently inputting a voice command. For example, the electronic device 101 can compare the movement of the user's lip shape with the input voice, and based on it, determine the lip that actually inputs the voice command among the multiple lips.
[0169] According to various embodiments, referring to Fig. 10A , the electronic device 101 may display lips so that lips 1081 currently inputting a voice command are distinguished from other lips 1082 in the image information 1080. For example, lips 1081 currently inputting a voice command may be displayed with a thick solid line, while other lips 1082 may be displayed with a light dotted line.
[0170] According to various embodiments, the electronic device 101 may control the weighted values of voice recognition and lip reading according to the state of the received image information. For example, if the brightness of the received image is equal to or lower than the preset brightness, it may be determined that the accuracy of lip reading is low. Therefore, if the user command is analyzed by a combination of voice recognition and lip reading, a high weight value may be assigned to the result obtained by voice recognition, and a relatively low weight value may be assigned to the result obtained by lip reading.
[0171] According to various embodiments, if the received voice information does not correspond to the user who actually inputs the voice command, the electronic device 101 may control the weighted values of voice recognition and lip reading. For example, if the voice of the user who actually inputs the voice command and the voice of another person are received at the same time, it may be determined that the accuracy of voice recognition is low. Therefore, if the user command is analyzed by a combination of voice recognition and lip reading, a low weight value may be assigned to the result obtained by voice recognition, and a relatively high weight value may be assigned to the result obtained by lip reading.
[0172] Fig.11 11 is a flowchart illustrating a method 1100 of detecting lip movements to recognize a user's voice and executing a function corresponding to the recognized voice when executing an application according to various embodiments of the present disclosure.
[0173] According to various embodiments, in operation 1110 , while executing an application, the electronic device 101 may receive an input for enabling a smart agent service.
[0174] According to various embodiments, in operation 1120 , the electronic device 101 may confirm environmental information of the electronic device 101 .
[0175] According to various embodiments, in operation 1130, the electronic device 101 may acquire image information about the user through a camera based on the confirmed environment information.
[0176] According to various embodiments, in operation 1140, the electronic device 101 may detect a movement of lips included in the acquired image information and recognize a user voice.
[0177] According to various embodiments, in operation 1150, the electronic device 101 may perform a function corresponding to the recognized voice.
[0178] According to various embodiments, the electronic device may include a camera, a microphone, a display, a memory, and a processor, wherein the processor is configured to receive input from a user for enabling an intelligent agent service when at least one application is executed, confirm environmental information of the electronic device, control to obtain image information of the user through the camera based on the confirmed environmental information, detect movement of the user's lips included in the obtained image information to recognize the user's voice, and execute a function corresponding to the recognized voice.
[0179] The processor may be configured to acquire noise around the electronic device through the microphone, and store information about the acquired noise around the electronic device as environmental information.
[0180] The processor may be configured to enable the camera if the noise around the electronic device is higher than or equal to a preset value.
[0181] The processor may be configured to store at least one of a type or an execution state of the at least one application being executed as the environmental information, and enable the camera if the at least one application being executed is reproducing music or video.
[0182] The processor may be configured to: control to receive a voice signal through a microphone; recognize a combined voice corresponding to a combination of the voice signal and a movement of the lips; and execute a function corresponding to the recognized combined voice.
[0183] The processor may be configured to, if the brightness of the acquired image information is lower than a preset value, recognize a voice based on voice recognition corresponding to a voice signal other than the movement of the lips, and execute a function corresponding to the recognized voice based on voice recognition.
[0184] The processor may be configured to display a user interface to the user through the display if the brightness of the acquired image information is lower than a preset value, the user interface indicating that recognition of the movement of the lips has failed.
[0185] The processor may be configured to, if a plurality of lips are detected based on the acquired image information, confirm a voice signal and movement of the plurality of lips, and display a user interface for distinguishing lips corresponding to the user from other lips through the display.
[0186] The processor may be configured to set a weight value of a first voice recognized based on a movement of lips corresponding to the user higher than a weight value of a second voice recognized based on a voice signal acquired through a microphone, and recognize a combined voice.
[0187] The processor may be configured to seamlessly provide at least one piece of information about at least one application even when the intelligent agent service is enabled.
[0188] According to various embodiments, the method of the electronic device may include the following operations: receiving input from a user for enabling an intelligent agent service when executing at least one application; confirming environmental information of the electronic device; based on the confirmed environmental information, acquiring image information of the user through a camera; detecting movement of the user's lips included in the acquired image information to recognize the user's voice; and executing a function corresponding to the recognized voice.
[0189] The method may further include the following operations: acquiring surroundings of the electronic device through a microphone; and storing information on the acquired noise around the electronic device as environmental information.
[0190] The method may further include the following operation: if the noise around the electronic device is higher than or equal to a preset value, enabling the camera.
[0191] The method may further include the following operations: storing at least one of a type or an execution state of the at least one application being executed as the environmental information; and enabling the camera if the at least one application being executed is reproducing music or video.
[0192] The method may also include the following operations: receiving a voice signal through a microphone; recognizing a combined voice corresponding to a combination of the voice signal and the movement of the lips; and executing a function corresponding to the recognized combined voice.
[0193] The method may further include the following operations: if the brightness of the acquired image information is equal to or less than a preset value, recognizing a voice based on voice recognition corresponding to a voice signal other than lip movement; and executing a function corresponding to the recognized voice based on voice recognition.
[0194] The method may further include the following operation: if the brightness of the acquired image information is lower than a preset value, displaying a user interface to the user through a display, the user interface indicating that the recognition of lip movement has failed.
[0195] The method may further include the following operations: if a plurality of lips are detected based on the acquired image information, confirming a voice signal and movement of the plurality of lips; and displaying a user interface for distinguishing lips corresponding to the user from other lips through a display.
[0196] The method may further include the following operations: configuring a weight value of a first voice recognized based on a movement of lips corresponding to the user to be higher than a weight value of a second voice recognized based on a voice signal acquired through a microphone; and recognizing a combined voice.
[0197] The method may further include an operation of seamlessly providing at least one piece of information on at least one application even when the intelligent agent service is enabled.
[0198] Although the present disclosure has been described with various embodiments, various changes and modifications may be suggested to one skilled in the art. The present disclosure is intended to encompass such changes and modifications as fall within the scope of the appended claims.
Claims
1. An electronic device, the electronic device include: camera; microphone; monitor; Memory; as well as A processor, the processor being configured to: receiving input from a user for enabling the intelligent agent service while at least one application is executed, confirming environmental information of the electronic device, wherein the environmental information includes information about the at least one application executed by the electronic device, controlling to obtain image information of the user through the camera without stopping execution of the at least one application based on the confirmed environmental information, obtaining a first speech recognition result based on recognizing the movement of the user's lips included in the acquired image information, determining an accuracy associated with identifying movement of the user's lips included in the acquired image information, displaying an indicator configured to represent the determined accuracy, controlling to receive a voice signal through the microphone, Obtaining a second speech recognition result based on analyzing the speech signal, generating a combined speech recognition result based on the first speech recognition result and the second speech recognition result, displaying the result of the conversion from the speech signal to text on the display in real time without interrupting the execution of the at least one application, displaying a response corresponding to the combined speech recognition result on the display in a form that does not interrupt the execution of the at least one application, and Based on determining that the movement of the user's lips is not recognized, an indicator including guidance for the user to adjust the orientation of the electronic device is displayed, wherein the processor is further configured to blur or blink an icon indicating that the user's lips are not recognized.
2. The electronic device according to claim 1, in, The processor is configured to: storing at least one of a type or an execution state of the at least one application being executed as the environment information; and The camera is enabled based on the at least one application being executed reproducing music or video.
3. The electronic device according to claim 1, in, The processor is configured to: based on the brightness of the acquired image information being equal to or less than a preset value: recognizing speech based on speech recognition corresponding to the speech signal other than the movement of the lips; as well as A function corresponding to the recognized voice based on the voice recognition is performed.
4. The electronic device according to claim 1, in, The processor is configured to display a user interface to the user through the display based on the brightness of the acquired image information being lower than a preset value, wherein the user interface indicates that recognition of the movement of the lips fails.
5. The electronic device according to claim 1, in, The processor is configured to detect a plurality of lips based on the acquired image information: confirming the speech signal and the plurality of lip movements; and A user interface for distinguishing lips corresponding to the user from other lips is displayed through the display.
6. The electronic device according to claim 5, in, The processor is configured to: configuring a weighted value of a first voice recognized based on a lip movement corresponding to the user to be higher than a weighted value of a second voice recognized based on the voice signal acquired through the microphone; as well as The combined speech is recognized.
7. The electronic device according to claim 1, in, The processor is configured to provide at least one piece of information about the at least one application based on the smart agent service being enabled.
8. A method for an electronic device, the method include: receiving input from a user for enabling the intelligent agent service while at least one application is executed; confirming environmental information of the electronic device, wherein the environmental information includes information about the at least one application executed by the electronic device; Based on the confirmed environment information, without stopping the execution of the at least one application, acquiring image information of the user through a camera; obtaining a first speech recognition result based on recognizing the movement of the user's lips included in the acquired image information, determining an accuracy associated with identifying movement of the user's lips included in the acquired image information, displaying an indicator configured to represent the determined accuracy, Receive voice signals through microphone, Obtaining a second speech recognition result based on analyzing the speech signal, generating a combined speech recognition result based on the first speech recognition result and the second speech recognition result, displaying the result of the conversion from the speech signal to text on a display in real time without interrupting the execution of the at least one application, displaying a response corresponding to the combined speech recognition result on the display in a form that does not interrupt the execution of the at least one application, and When the movement of the user's lips is not recognized, an indicator for providing guidance to the user to adjust the orientation of the electronic device is displayed, and an icon indicating that the user's lips are not recognized is displayed dimly or flickers.
9. The method according to claim 8, further comprising: include: storing at least one of a type or an execution state of the at least one application being executed as the environment information; as well as The camera is enabled based on the at least one application being executed reproducing music or video.
