System for processing user's voice and control method thereof

By introducing chat mode into electronic devices and using a combination of microphones and speakers, the problem of continuously sending and receiving messages when users speak is solved, achieving a user experience and information continuity similar to that of users speaking.

CN111919248BActive Publication Date: 2024-10-15SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980017572.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-03-08
Filing Date
2019-03-06
Publication Date
2024-10-15
Estimated Expiration
2039-03-06

AI Technical Summary

Technical Problem

When electronic devices process user vocalizations, it is difficult to continuously send or receive messages, especially in real-time or near-real-time environments, and it is difficult to determine whether the user expects to continue sending and receiving messages, resulting in inappropriate changes in device status.

Method used

By introducing chat mode in electronic devices, a combination of microphones and speakers are used to determine whether to perform additional operations based on user input and device status, and initiate a conversation mode to continuously send or receive messages.

Benefits of technology

It achieves a user experience similar to the user speaking, responds through the speaker output and sends or receives messages through the user's voice, solving the problem of continuously sending and receiving information, ensuring the continuity and accuracy of the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111919248B_ABST
    Figure CN111919248B_ABST
Patent Text Reader

Abstract

An electronic device and a method are disclosed. The electronic device includes a communication interface, a microphone, a speaker, a processor, and a memory. The processor executes a method, which includes receiving a first message from an external device through the communication interface; in response to receiving a first user input related to the first message through an input interface including a microphone; converting a first text included in the first message into speech; outputting the speech through an output interface of the electronic device including a speaker; determining whether to perform an additional operation associated with the first message based on at least one of a state of the first electronic device, the first message, and a second user input received through the microphone; and starting a conversation mode for performing the additional operation based at least in part on the determination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to techniques for processing user utterances. Background Art

[0002] New input methods are being developed that go beyond traditional methods such as keyboard or mouse input. Recently, electronic devices have begun to support other input schemes, such as input methods such as voice input. For example, an electronic device (such as a smartphone or a tablet personal computer (PC)) can receive a user's voice (e.g., through a microphone) and responsively provide a service that performs an operation corresponding to the user's voice input.

[0003] According to speech recognition technology, speech recognition technology is constantly improving and includes natural language processing. Natural language processing refers to computer recognition that can detect the intent indicated by the user's voice and generate results that match the detected intent, thereby providing the user with the desired service.

[0004] The above information is presented as background information only to assist in understanding the present disclosure. No judgment or determination is made as to whether any of the above information may be used as prior art with respect to the present disclosure. Summary of the invention

[0005] Technical issues

[0006] When an electronic device processes a user utterance requesting to send or receive a message, the electronic device may intermittently send a message, or intermittently output a received message. When an electronic device intermittently sends a message, or intermittently outputs a received message, it may be difficult to continuously send or receive messages, especially in an environment where users are communicating using real-time or near real-time messages, and continuously sending or receiving messages may be further assisted by assistance from voice commands and voice-based input.

[0007] Alternatively, when the electronic device receives a user input from a user requesting to send a message, it is difficult for the electronic device to verify that the user actively desires to continue sending and receiving. Therefore, the state of the electronic device may change to a state that includes continuing to send and receive information, even if the user does not desire to continue the sending and receiving state.

[0008] Aspects of the present disclosure are intended to at least solve the above problems and / or disadvantages, and to at least provide the advantages described below. Therefore, aspects of the present disclosure are intended to provide a system that can continuously send or receive messages by executing a chat mode based on user input and electronic device status.

[0009] Solution

[0010] According to aspects of the present disclosure, an electronic device includes a communication interface, an input interface including a microphone, an output interface including a speaker, at least one processor, and at least one memory, wherein instructions stored in the memory can be executed by the at least one processor to receive a first message from an external device through the communication interface; in response to receiving a first user input related to the first message through the input interface, converting a first text included in the first message into speech; outputting the speech using the output interface; determining whether to perform additional operations related to the first message based on a state of the electronic device, the first message, and at least one of a second user input received through the microphone; and starting a conversation mode for performing additional operations based at least in part on the determination.

[0011] According to another aspect of the present disclosure, a method is disclosed, which includes: receiving a first message from an external device through a communication interface; in response to receiving a first user input related to the first message through an input interface including a microphone, converting a first text included in the first message into speech; outputting the speech through an output interface of an electronic device including a speaker; determining whether to perform additional operations related to the first message based on a state of the first electronic device, the first message, and at least one of a second user input received through the microphone; and starting a conversation mode for performing additional operations based at least in part on the determination.

[0012] Beneficial Effects

[0013] According to certain embodiments of the present disclosure, a user terminal may provide a user experience (UE) similar to talking to a user by executing a chat mode, which chat mode is capable of outputting messages received in response to user input through a speaker and is capable of sending or receiving messages through user utterance.

[0014] Furthermore, various effects directly or indirectly understood by the present disclosure can be provided.

[0015] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the accompanying drawings, discloses certain embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings, in which:

[0017] Figure 1 To illustrate a diagram of an integrated intelligent system according to certain embodiments;

[0018] Figure 2 A block diagram showing a user terminal of an integrated intelligent system according to an embodiment;

[0019] Figure 3 A diagram showing a smart application of a user terminal being executed according to an embodiment of the present disclosure;

[0020] Figure 4 is a block diagram showing a context module of an intelligent service module collecting a current state according to an embodiment of the present disclosure;

[0021] Figure 5 is a block diagram showing an intelligent server of an integrated intelligent system according to an embodiment of the present disclosure;

[0022] Figure 6 is a schematic diagram illustrating a path rule generation method of a route planner module according to an embodiment of the present disclosure;

[0023] Figure 7 is a schematic diagram showing that a character module of an intelligent service module manages user information according to an embodiment of the present disclosure;

[0024] Figure 8 is a screen of a user terminal performing a read-aloud function according to some embodiments;

[0025] Fig. 9 is a screen of a user terminal performing a read-aloud function according to some embodiments;

[0026] Fig.10a and Fig.10b is a screen showing operations of sending and receiving messages in a chat mode of a user terminal according to some embodiments;

[0027] Fig.11a and Fig.11b is a screen showing an operation of continuously receiving messages in a chat mode of a user terminal according to an embodiment;

[0028] Fig.12a and Figure 12b is a screen showing an operation of continuously receiving a user input in a chat mode of a user terminal according to an embodiment;

[0029] Fig.13 is a flow chart illustrating an operation of changing a mode of a user terminal into a chat mode according to some embodiments;

[0030] Fig.14a , Fig.14b , Fig.14c and Fig.14d is a screen for executing a chat mode of a user terminal according to some embodiments;

[0031] Fig.15 is a flowchart showing the operation of changing the mode of the user terminal 100 to the chat mode after the user terminal receives a reply sending request according to some embodiments;

[0032] Fig.16a and Fig.16b is a screen in which a user terminal receives a reply to send a request to execute a chat mode according to some embodiments;

[0033] Fig.17a , Fig.17b , Fig.17c and Fig.17d is a sequence diagram showing a user terminal receiving a reply to a request to execute a chat mode according to some embodiments;

[0034] Fig.18 is a flowchart showing that a user terminal verifies sender information to execute a chat mode according to an embodiment;

[0035] Fig.19a , Fig.19b and Fig.19c is a sequence diagram showing that a user terminal verifies sender information to execute a chat mode according to an embodiment;

[0036] Fig. 20 is a flow chart showing that a user terminal verifies the content of a received message to execute a chat mode according to an embodiment;

[0037] Fig.21a , Figure 21b and Fig.21c is a sequence diagram showing that a user terminal verifies the contents of a received message to execute a chat mode according to an embodiment; and

[0038] Fig. 22 is a block diagram of an electronic device in a network environment according to some implementations.

[0039] Regarding the description of the drawings, the same components may be assigned the same reference numerals. As used herein, unless the context clearly indicates otherwise, the singular form may also include the plural form. DETAILED DESCRIPTION

[0040] It should be understood that certain embodiments of the present disclosure and the terms used in the embodiments are not intended to limit the technology disclosed in the present disclosure to the specific forms disclosed herein; rather, the present disclosure should be interpreted as covering various modifications, equivalents and / or alternatives to the embodiments of the present disclosure.

[0041] Before describing the embodiments of the present disclosure, an integrated intelligent system to which the embodiments of the present disclosure can be applied will be described.

[0042] Figure 1 The diagram is a diagram illustrating an integrated intelligent system according to some embodiments of the present disclosure.

[0043] refer to Figure 1 , the integrated intelligent system 10 may include a user terminal 100 , an intelligent server 200 , a personalized information server 300 or a suggestion server 400 .

[0044] The user terminal 100 can provide services for the user through applications (or application programs) stored in the user terminal 100 (e.g., alarm clock applications, message applications, photo (gallery) applications, etc.). For example, the user terminal 100 can execute or operate other applications through smart applications (or voice recognition applications) stored in the user terminal 100. The user terminal 100 can receive user input for executing other applications and performing actions through the smart applications of the user terminal 100. For example, user input can be received through physical buttons, touch pads, voice input, remote input, or the like. According to an embodiment, various types of terminal devices (or electronic devices) connected to the Internet, such as mobile phones, smart phones, personal digital assistants (PDAs), laptop computers, etc., can correspond to the user terminal 100.

[0045] According to an embodiment, the user terminal 100 may receive a user utterance as a user input. The user terminal 100 may receive a user utterance and may generate a command for operating an application based on the user utterance. Likewise, the user terminal 100 may operate an application by using a command.

[0046] The intelligent server 200 may receive a user's voice input from the user terminal 100 on a communication network, and may convert the voice input into text data. In another embodiment, the intelligent server 200 may generate (or select) a path rule based on the text data. The path rule may include information related to an action (or operation) for executing an application function or information related to a parameter for executing an action. In addition, the path rule may include the order of actions of the application. The user terminal 100 may receive the path rule, may select an application according to the path rule, and may execute the action contained in the path rule in the selected application.

[0047] Generally, the term "path rule" of the present disclosure may mean, but is not limited to, a state sequence that allows an electronic device to perform a task requested by a user. In other words, the path rule may include information related to the state sequence. For example, a task may be some action that a smart application can provide. The task may include generating a schedule, sending a photo to an ideal opponent, or providing weather information. The user terminal 100 may perform a task by sequentially having at least one or more states (e.g., an operating state of the user terminal 100).

[0048] According to an embodiment, the path rules may be provided or generated by an artificial intelligence (AI) system. The artificial intelligence system may be a rule-based system, or may be a neural network-based system (e.g., a feedforward neural network (FNN) or a recurrent neural network (RNN)). Alternatively, the artificial intelligence system may be a combination of the above systems or an artificial intelligence system different from the above systems. According to an embodiment, the path rules may be selected from a set of predefined path rules, or may be generated in real time in response to user requirements. For example, the artificial intelligence system may select at least one path rule from a plurality of predefined path rules, or may dynamically (or in real time) generate path rules. In addition, the user terminal 100 may use a hybrid system to provide path rules.

[0049] According to an embodiment, the user terminal 100 may perform an action, and a screen corresponding to the state of the user terminal 100 performing the action may be displayed in a display. Another example is that the user terminal 100 may perform an action, and the result obtained by performing the action may not be displayed in a display. For example, the user terminal 100 may perform multiple actions, and the results of some of the multiple actions may be displayed in a display. For example, the user terminal 100 may display the result obtained by performing the last action in a display. Another example is that the user terminal 100 may receive user input to display the result obtained by performing the action in a display.

[0050] The personalized information server 300 may include a database for storing user information. For example, the personalized information server 300 may receive user information (e.g., context information, information about application execution, etc.) from the user terminal 100, and may store the user information in a database. The intelligent server 200 may be used to receive user information from the personalized information server 300 over a communication network, and may be used to generate a path rule related to user input. According to an embodiment, the user terminal 100 may receive user information from the personalized information server 300 over a communication network, and may use the user information as information for managing a database.

[0051] The suggestion server 400 may include a database storing information related to functions in the terminal, introductions of applications, or functions to be provided. For example, the suggestion server 400 may include a database associated with functions used by the user by receiving user information of the user terminal 100 from the personalized information server 300. The user terminal 100 may receive information about functions to be provided from the suggestion server 400 over the communication network, and may provide the information to the user.

[0052] According to an embodiment, the integrated intelligent system 10 may include a user terminal 100, at least one processor, and at least one memory, wherein the processor is part of the user terminal 100 or communicates with the user terminal 100 remotely, and the memory is operatively connected to the processor and exists in the user terminal 100. The instructions stored in the memory may be executed so that the processor performs the following operations.

[0053] Figure 2 FIG. 1 is a block diagram showing a user terminal of the integrated intelligent system 10 according to an embodiment of the present disclosure.

[0054] refer to Figure 2 , the user terminal 100 may include an input module 110, a display 120, a speaker 130, a memory 140 or a processor 150. The user terminal 100 may further include a housing, and the elements of the user terminal 100 may be located in the housing or on the housing. The user terminal 100 may further include a communication circuit located in the housing. The user terminal 100 may send data (or information) to an external server (e.g., the intelligent server 200) or receive data (or information) from an external server (e.g., the intelligent server 200) through the communication circuit.

[0055] According to an embodiment, the input module 110 may receive user input from a user. For example, the input module 110 may receive user input from a connected external device (e.g., a keyboard or headset). Another example is that the input module 110 may include a touch screen (e.g., a touch screen display) coupled to the display 120. Another example is that the input module 110 may include a hardware key (or physical key) located in the user terminal 100 (or the housing of the user terminal 100).

[0056] According to an embodiment, the input module 110 may include a microphone capable of receiving a user's voice as a voice signal. For example, the input module 110 may include a voice input system, and the user's voice may be received as a voice signal through the voice input system. For example, the microphone may be exposed through a portion of the housing (e.g., the first portion).

[0057] According to an embodiment, the display 120 may display an execution screen of an image, a video and / or an application. For example, the display 120 may display a graphical user interface (GUI) of the application. According to an embodiment, the display 120 may be exposed to a portion (e.g., the second portion) of the housing.

[0058] According to an embodiment, the speaker 130 may output a voice signal. For example, the speaker 130 may output a voice signal generated in the user terminal 100 to the outside. According to an embodiment, the speaker 130 may be exposed to a portion (eg, the third portion) of the housing.

[0059] According to an embodiment, the memory 140 may store a plurality of applications (or application programs) 141 and 143. For example, the plurality of applications 141 and 143 may be programs for executing functions corresponding to user inputs. According to an embodiment, the memory 140 may store an intelligent agent 145, an execution manager module 147, or an intelligent service module 149. For example, the intelligent agent 145, the execution manager module 147, and the intelligent service module 149 may be frameworks (or application frameworks) for processing received user inputs (e.g., user utterances).

[0060] According to an embodiment, the memory 140 may include a database capable of storing information for identifying user input. For example, the memory 140 may include a log database capable of storing log information. Another example is that the memory 140 may include a character database capable of storing user information.

[0061] According to an embodiment, the memory 140 may store a plurality of applications 141 and 143, and may load a plurality of applications 141 and 143 to run. For example, a plurality of applications 141 and 143 stored in the memory 140 may run after being loaded by the execution manager module 147. The plurality of applications 141 and 143 may include execution service modules 141a and 143a that perform functions. In an embodiment, the plurality of applications 141 and 143 may execute a plurality of actions (e.g., state sequences) 141b and 143b through the execution service modules 141a and 143a for executing functions. In other words, the execution service modules 141a and 143a may be activated by the execution manager module 147, and then a plurality of actions 141b and 143b may be executed.

[0062] According to an embodiment, when the actions 141b and 143b of the applications 141 and 143 are executed, an execution status screen according to the execution of the actions 141b and 143b may be displayed in the display 120. For example, the execution status screen may be a screen of a state where the actions 141b and 143b are completed. Another example is that the execution status screen may be a screen of a state where the execution of the actions 141b and 143b is partially logged in (e.g., when the parameters for the actions 141b and 143b are not input).

[0063] According to an embodiment, the execution service modules 141a and 143a may execute actions 141b and 143b according to the path rule. For example, the execution service modules 141a and 143a may be activated by the execution manager module 147, may receive an execution request from the execution manager module 147 according to the path rule, and may execute the functions of the applications 141 and 143 by executing actions 141b and 143b according to the execution request. When the execution of the actions 141b and 143b is completed, the execution service modules 141a and 143a may send completion information to the execution manager module 147.

[0064] According to an embodiment, in the case where multiple actions 141b and 143b are executed in applications 141 and 143, respectively, the multiple actions 141b and 143b may be executed sequentially. When the execution of an action (e.g., action 1 of the first application 141 or action 1 of the second application 143) is completed, the execution service modules 141a and 143a may open the next action (e.g., action 2 of the first application 141 or action 2 of the second application 143), and the completion information may be sent to the execution manager module 147. Here, it should be understood that opening any action is to change the state of any action to an executable state or to prepare to execute the action. In other words, when any action is not opened, the corresponding action may not be executed. When receiving the completion information, the execution manager module 147 may send an execution request related to the next action (e.g., action 2 of the first application 141 or action 2 of the second application 143) to the execution service modules 141a and 143a. According to an embodiment, in the case where multiple applications 141 and 143 are executed, the multiple applications 141 and 143 may be executed sequentially. For example, when completion information is received after the execution of the last action of the first application 141 (e.g., action 3 of the first application 141) is completed, the execution manager module 147 may send an execution request for the first action of the second application 143 (e.g., action 1 of the second application 143) to the execution service module 143a.

[0065] According to an embodiment, in the case where the plurality of actions 141b and 143b are executed in the applications 141 and 143, a result screen according to the execution of each of the plurality of actions 141b and 143b executed may be displayed in the display 120. According to an embodiment, a portion of the plurality of result screens according to the plurality of actions 141b and 143b executed may be displayed in the display 120.

[0066] According to an embodiment, the memory 140 may store an intelligent application (e.g., a voice recognition application) running together with the intelligent agent 145. The application running together with the intelligent agent 145 may receive and process a user's utterance as a voice signal. According to an embodiment, the application running together with the intelligent agent 145 may be operated by a specific input (e.g., input through a hardware key, input through a touch screen or a specific voice input, input through the input module 110).

[0067] According to an embodiment, the intelligent agent 145, the execution manager module 147, or the intelligent service module 149 stored in the memory 140 may be executed by the processor 150. The functions of the intelligent agent 145, the execution manager module 147, or the intelligent service module 149 may be implemented by the processor 150. The functions of each of the intelligent agent 145, the execution manager module 147, and the intelligent service module 149 are described as operations of the processor 150. According to an embodiment, the intelligent agent 145, the execution manager module 147, or the intelligent service module 149 stored in the memory 140 may be implemented in hardware and software.

[0068] According to an embodiment, the processor 150 may control the overall operation of the user terminal 100. For example, the processor 150 may control the input module 110 to receive user input. The processor 150 may control the display 120 to display a picture. The processor 150 may control the speaker 130 to output a voice signal. The processor 150 may control the memory 140 to execute a program and read or store information used.

[0069] In an embodiment, the processor 150 may execute the intelligent agent 145, the execution manager module 147, or the intelligent service module 149 stored in the memory 140. Likewise, the processor 150 may implement the functions of the intelligent agent 145, the execution manager module 147, or the intelligent service module 149.

[0070] According to an embodiment, the processor 150 may execute the intelligent agent 145 to generate an instruction for starting an application based on a voice signal received as a user input. According to an embodiment, the processor 150 may run the execution manager module 147 to start the applications 141 and 143 stored in the memory 140 according to the generated instruction. According to an embodiment, the processor 150 may execute the intelligent service module 149 to manage the user's information, and may process the user input by using the user's information.

[0071] The processor 150 may execute the intelligent agent 145 to send the user input received through the input module 110 to the intelligent server 200 , and the user input may be processed by the intelligent server 200 .

[0072] According to an embodiment, before sending the user input to the intelligent server 200, the processor 150 may execute the intelligent agent 145 to pre-process the user input. According to an embodiment, in order to pre-process the user input, the intelligent agent 145 may include an adaptive echo canceller (AEC) module, a noise suppression (NS) module, an endpoint detection (EPD) module, or an automatic gain control (AGC) module. The AEC can remove the echo contained in the user input. The NS module can suppress the background noise included in the user input. The EPD module can detect the endpoint of the user voice included in the user input, and can use the detected endpoint to search for the part where the user voice exists. The AGC module can identify the user input, and can adjust the volume of the user input to be suitable for processing the identified user input. According to an embodiment, the processor 150 can execute all pre-processing elements for performance. However, in another embodiment, the processor 150 can execute part of the pre-processing elements to run at low power.

[0073] According to an embodiment, the intelligent agent 145 may execute a wake-up recognition module stored in the memory 140 for identifying the user's phone. Similarly, the processor 150 may recognize the user's wake-up command through the wake-up recognition module, and when the wake-up command is received, the intelligent agent 145 may be executed to receive the user input. The wake-up recognition module may be implemented with a low-power processor (e.g., a processor included in an audio decoder). According to an embodiment, when the user input is received through a hardware key, the processor 150 may execute the intelligent agent 145. In the case of executing the intelligent agent 145, an intelligent application (e.g., a speech recognition application) that runs together with the intelligent agent 145 may be executed.

[0074] According to an embodiment, the intelligent agent 145 may include a voice recognition module for executing user input. The processor 150 may recognize user input for executing actions in the application through the voice recognition module. For example, the processor 150 can recognize limited user (voice) input (for example, when a camera application is being executed, such as the utterance of a "click" for performing a shooting operation) for performing actions, such as wake-up commands in applications 141 and 143. For example, the processor 150 can help the intelligent server 200 to recognize and quickly process user commands that can be processed in the user terminal 100 through the voice recognition module. According to an embodiment, the voice recognition module of the intelligent agent 145 for executing user input can be implemented in the application processor.

[0075] According to an embodiment, the speech recognition module of the intelligent agent 145 (including the speech recognition module of the wake-up module) can recognize the user input by using an algorithm for recognizing speech. For example, the algorithm for recognizing speech can be at least one of a hidden Markov model (HMM) algorithm, an artificial neural network (ANN) algorithm, or a dynamic time warping (DTW) algorithm.

[0076] According to an embodiment, the processor 150 may execute the intelligent agent 145 to convert the user's voice input into text data. For example, the processor 150 may send the user's voice to the intelligent server 200 through the intelligent agent 145, and may receive text data corresponding to the user's voice from the intelligent server 200. Similarly, the processor 150 may display the converted text data in the display 120.

[0077] According to an embodiment, the processor 150 may execute the intelligent agent 145 to receive the path rule from the intelligent server 200. According to an embodiment, the processor 150 may send the path rule to the execution manager module 147 through the intelligent agent 145.

[0078] According to an embodiment, the processor 150 can execute the intelligent agent 145 to send the execution result log according to the path rule received from the intelligent server 200 to the intelligent service module 149, and the sent execution result log can be accumulated and managed in the user preference information of the character module 149b.

[0079] According to an embodiment, the processor 150 may execute the execution manager module 147, may receive the path rule from the intelligent agent 145, and may execute the applications 141 and 143; and the processor 150 may allow the applications 141 and 143 to execute the actions 141b and 143b included in the path rule. For example, the processor 150 may send command information (e.g., path rule information) for executing the actions 141b and 143b to the applications 141 and 143 through the execution manager module 147; and the processor 150 may receive completion information of the actions 141b and 143b from the applications 141 and 143.

[0080] According to an embodiment, the processor 150 may execute the execution manager module 147 to send command information (e.g., path rule information) for executing actions 141b and 143b of the applications 141 and 143 between the intelligent agent 145 and the applications 141 and 143. The processor 150 may bind the applications 141 and 143 to be executed according to the path rule together through the execution manager module 147, and may send command information (e.g., path rule information) of the actions 141b and 143b included in the path rule to the applications 141 and 143. For example, the processor 150 may sequentially send the actions 141b and 143b included in the path rule to the applications 141 and 143 through the execution manager module 147, and may sequentially execute the actions 141b and 143b of the applications 141 and 143 according to the path rule.

[0081] According to an embodiment, the processor 150 may execute the execution manager module 147 to manage the execution states of the actions 141b and 143b of the applications 141 and 143. For example, the processor 150 may receive information related to the execution states of the actions 141b and 143b from the applications 141 and 143 through the execution manager module 147. For example, in the case where the execution states of the actions 141b and 143b are in a partial login (e.g., in the case where no parameters for the actions 141b and 143b are input), the processor 150 may send information about the partial login to the intelligent agent 145 through the execution manager module 147. The processor 150 may request the user to input the utilized information (e.g., parameter information) by using the information received through the intelligent agent 145. For another example, in the case where the execution state of each of the actions 141b and 143b is an operation state, the processor 150 may receive a voice from the user through the intelligent agent 145. The processor 150 may send information about the applications 141 and 143 being executed and the execution states of the applications 141 and 143 to the intelligent agent 145 through the execution manager module 147. The processor 150 may send the user utterance to the intelligent server 200 through the intelligent agent 145. The processor 150 may receive parameter information of the user utterance from the intelligent server 200 through the intelligent agent 145. The processor 150 may send the received parameter information to the execution manager module 147 through the intelligent agent 145. The execution manager module 147 may change the parameters of each of the actions 141b and 143b to new parameters by using the received parameter information.

[0082] According to an embodiment, the processor 150 may execute the execution manager module 147 to transmit parameter information included in the path rule to the applications 141 and 143. In the case where a plurality of applications 141 and 143 are sequentially executed according to the path rule, the execution manager module 147 may transmit parameter information included in the path rule from one application to another.

[0083] According to an embodiment, the processor may execute the execution manager module 147 to receive multiple path rules. The processor 150 may select multiple path rules based on the user's voice through the execution manager module 147. For example, in the case where the user specifies an application 141 to perform an action 141b by voice, but does not specify other applications 143 to perform other actions 143b, the processor 150 may receive multiple different path rules through the execution manager module 147, wherein the same application 141 (e.g., a gallery application) that performs an action 141b is executed, and wherein different applications 143 (message applications or telegram applications) that perform other actions 143b are executed. For example, the processor 150 may execute the same actions 141b and 143b (e.g., the same continuous actions 141b and 143b) of multiple path rules through the execution manager module 147. In the case where the processor 150 performs the same action, the processor 150 may display a status screen for selecting different applications 141 and 143 respectively included in multiple path rules in the display 120 through the execution manager module 147.

[0084] According to an embodiment, the intelligent service module 149 may include a context module 149a, a character module 149b, or a suggestion module 149c.

[0085] The processor 150 may execute the context module 149a to collect the current states of the applications 141 and 143 from the applications 141 and 143. For example, the processor 150 may receive context information indicating the current states of the applications 141 and 143, and may collect the current states of the applications 141 and 143 through the received context information.

[0086] The processor 150 may execute the character module 149b to manage the user's personal information using the user terminal 100. For example, the processor 150 may collect usage information and execution results of the user terminal 100, and may manage the user's personal information by using the collected usage information and the collected execution results of the user terminal 100.

[0087] The processor 150 may execute the suggestion module 149c to predict the user's intention and may recommend instructions to the user based on the user's intention. For example, the processor 150 may recommend instructions to the user based on the user's current state (e.g., time, location, situation, or application).

[0088] According to an embodiment, the processor 150 may execute the intelligent agent 145 to perform a reading function. For example, the reading function may output a received message and text included in an alarm through the speaker 130.

[0089] According to an embodiment, the processor 150 may execute the intelligent agent 145 to send text information for executing a read function according to a user input to the intelligent server 200. For example, the user input may include a request for executing a read function. According to an embodiment, the intelligent server 200 may generate voice data corresponding to the text information through a natural language generation module, and may send the generated voice data to the user terminal 100. According to an embodiment, the processor 150 may execute the intelligent agent 145 to output the generated voice data.

[0090] According to an embodiment, the processor 150 may execute the intelligent agent 145 to change the mode of the user terminal 100 to a "chat mode" (e.g., a "conversation mode"). The chat mode may represent a special operating state in which messages may be received, read aurally, generated using voice commands, and sent responsively via text-to-speech, voice-to-text, and other voice commands generated by the user, in addition to the assistance of a corresponding user interface display. According to an embodiment, the processor 150 may execute a messaging application (e.g., the first application 141) in the chat mode to perform operations of sending and or receiving messages.

[0091] According to an embodiment, in the chat mode, the processor 150 may execute the intelligent agent 145 to operate (or turn on) the microphone and may standby for receiving the user's voice. According to an embodiment, the processor 150 may receive a message corresponding to the user input. For example, when the end point of the user input is detected, the processor 150 may send a message. For example, the end point of the user input may be detected via an end point detection (EPD) module of the intelligent server 200.

[0092] According to an embodiment, when a message is received from an external device in a chat mode, the processor 150 may execute the intelligent agent 145 to perform a read function on the received message. For example, the processor 150 may immediately perform a read function on the received message. According to an embodiment, the processor 150 may perform a read function in a chat mode. For example, in a chat mode, the processor 150 may perform a read function without user input. According to an embodiment, when the processor 150 performs a read function while receiving user input, the processor 150 may perform a noise processing function. For example, when a voice output through a speaker is input to a microphone, the processor 150 may remove the voice input through the microphone and may receive user input.

[0093] According to an embodiment, in the chat mode, when the processor 150 sends a message or completes the execution of the reading function, the processor 150 may execute the intelligent agent 145 to keep the microphone in an operating state. According to an embodiment, when there is no user input within a specified time, the processor 150 may allow the microphone to not operate (or turn off). According to an embodiment, when the processor 150 receives a specified user input, the processor 150 may operate the microphone again. For example, the specified user input may include a wake-up command (e.g., "Wake up!"), a sender's name (e.g., "Sam"), or a message sending a command (e.g., "Please send it").

[0094] According to an embodiment, in the chat mode, the processor 150 may execute the intelligent agent 145 to change the state of the microphone using the input module 110. For example, the processor 150 may change the state of the microphone through a physical button. The physical button may change the state of the microphone through, for example, a physical button of the user terminal 100 and a physical button of a device (e.g., a headset) connected to the user terminal 100.

[0095] According to an embodiment, when the processor 150 receives a message from an external device while receiving a user input in the chat mode, the processor 150 may execute the intelligent agent 145 to provide a notification that the message has been received through a voice different from a set message reception alert voice.

[0096] According to an embodiment, the processor 150 may execute the intelligent agent 145 to receive feedback from the user on the result of performing the operation corresponding to the user input. According to an embodiment, the processor 150 may receive information related to the result of performing the operation according to the path rule from the execution manager module 147. According to an embodiment, the processor 150 may execute the intelligent agent 145 to process the information related to the result through the intelligent server 200, and may output the processed result as at least one of text data and voice data.

[0097] According to an embodiment, when the processor 150 executes the intelligent agent 145 to send information related to the result of the operation execution, the processor 150 may send information related to the state of the user terminal 100 to the intelligent server 200 together. For example, the processor 150 may send information related to the state of the user terminal 100 operating in the specified mode to the intelligent server 200. For example, the specified mode may include state information of the user terminal 100 operating in the eyes-free mode. The eyes-free mode may be a mode in which the user cannot visually verify the image displayed on the display (e.g., the state in which the screen is covered by a cover). According to an embodiment, the processor 150 may verify the state of the user terminal 100 through at least one sensor. For example, the processor 150 may verify the state of the user through a proximity sensor, an ambient light sensor, or a heart rate sensor (HRM sensor). Alternatively, the processor 150 may execute the context module 149a to verify the state of the user terminal 100. For example, the processor 150 may verify the state of the user through a Bluetooth connection (e.g., a headphone connection), a setting mode (e.g., a driving mode), etc. That is, certain values ​​detected by one or more of the above sensors may indicate to the electronic device that the user cannot view the current display. According to an embodiment, when the processor 150 executes the intelligent agent 145 to send information about operation execution based on the status information of the user terminal 100, the processor 150 can send a request to the intelligent server 200 together to receive feedback for changing the mode of the user terminal 100 to the chat mode.

[0098] According to an embodiment, the processor 150 may execute the intelligent agent 145 to receive user input corresponding to the provided feedback. The feedback may include, for example, a request to confirm a change to a specified mode (e.g., a chat mode). According to an embodiment, the processor 150 may send information about the user input corresponding to the feedback to the intelligent server 200. For example, the processor 150 may send flag information corresponding to the input to the intelligent server 200 to confirm the change to the specified mode. According to an embodiment, the intelligent server 200 may send a path rule corresponding to the received information to the user terminal 100. According to an embodiment, the processor 150 may change the mode of the user terminal 100 to the specified mode according to the received path rule.

[0099] According to an embodiment, the processor 150 may execute the execution manager module 147 to determine whether to send a request for receiving feedback on changing the mode of the user terminal 100 to a specified mode. According to an embodiment, the processor 150 may determine whether to send the request based on whether the executed first application 141| (or the second application 143) is capable of performing the operation of the specified mode. According to an embodiment, the processor 150 may determine whether to send the request based on additional information (e.g., user information) sent from the context module 149a.

[0100] According to an embodiment, the processor 150 may execute the context module 149a to obtain information about the user terminal 100 (or user). For example, the information about the user terminal 100 may be information about the state of the user terminal 100 obtained by a sensor (e.g., eyes-free mode). For example, the information about the user terminal 100 may be information about information about the user (e.g., continuous frequency). According to an embodiment, the processor 150 may send the obtained information to the execution manager module 147. In this way, when receiving information about the user terminal 100, the processor 150 may send a request for receiving feedback to the intelligent server 200.

[0101] Figure 3 is a view showing a state of a user terminal when a smart application is executed according to an embodiment of the present disclosure.

[0102] The user terminal 100 receives a user input requesting execution of an intelligent application (eg, a voice recognition application) running together with the intelligent agent 145 .

[0103] According to an embodiment, the user terminal 100 may execute a smart application for recognizing a voice in response to selecting an input of the hardware key 112. For example, when the user terminal 100 receives a user input through the hardware key 112, the user terminal 100 may display a UI 121 of the smart application in the display 120. For example, when the UI 121 of the smart application is displayed on the display 120, the user may select a voice recognition button 121a displayed to the UI 121 of the smart application to indicate the intention of inputting a voice 120b (e.g., a voice input). In another example, the user may continuously press the hardware key 112 to activate a state in which the terminal is ready to detect a voice 120b (e.g., a voice input). Therefore, when the hardware key 112 is selected, the user may speak a voice 120b input.

[0104] According to an embodiment, the user terminal 100 may execute a smart application for recognizing voice in response to an input detected through the microphone 111. For example, when a pre-specified voice command (e.g., "Wake up!") (120a) is input through the microphone 111, the user terminal 100 may display a UI 121 of the smart application in the display 120 and enter a ready state to further receive a voice command different from the pre-specified voice command.

[0105] Figure 4 is a block diagram illustrating a context module of an intelligent service module retrieving a current state according to an embodiment of the present disclosure.

[0106] Reference Figure 4 , when receiving a context request from the intelligent agent 145 (①), the processor 150 may request context information indicating the current state of the applications 141 and 143 through the context module 149a (②). According to an embodiment, the processor 150 may receive context information from the applications 141 and 143 ③ through the context module 149a, and may send the context information to the intelligent agent 145 ④.

[0107] According to an embodiment, the processor 150 may receive context information from the applications 141 and 143 through the context module 149a. The context information may be information related to the recently executed applications 141 and 143. For another example, the context information may be information related to the current state of the applications 141 and 143 (e.g., information about the corresponding picture when the user views the picture through the gallery application).

[0108] According to an embodiment, the processor 150 may receive context information indicating the current state of the user terminal 100 from the device platform and the applications 141 and 143 through the context module 149a. The context information may include general context information, user context information, or device context information.

[0109] The general context information may include general information of the user terminal 100. The general context information may be verified by receiving data via a sensor hub of the device platform, etc., so that the data is processed by an internal algorithm. For example, the general context information may include information related to the current time and space. For example, the information related to the current time and space may include information related to the current time or current location of the user terminal 100. The current time may be verified by the time about the user terminal 100, and the information related to the current location may be verified by a global positioning system (GPS). For another example, the general context information may include information about physical movement. For example, the information about physical movement may include information related to walking, running, driving, etc. The information about physical movement may be verified by a motion sensor. The information about driving may be verified by detecting a Bluetooth connection in the vehicle, thereby verifying riding and parking and verifying driving by a motion sensor. For another example, the general context information may include user activity information. For example, the user activity information may include information related to commuting, shopping, traveling, etc. The user activity information may be verified by using information related to the location registered by the user or application in the database.

[0110] The user context information may include information about the user. For example, the user context information may include information about the user's emotional state. For example, the information about the user's emotional state may include information about the user's happiness, sadness, anger, etc. For another example, the user context information may include information about the user's current state. For example, the information about the user's current state may include information about interests, intentions (e.g., shopping), etc.

[0111] The device context information may include information about the state of the user terminal 100. For example, the device context information may include information about the path rule executed by the execution manager module 147. For another example, the device context information may include information about the battery. For example, the information about the battery may be verified by the charging and discharging state of the battery. For another example, the device context information may include information about the connected device and network. For example, the information about the connected device may be verified by the communication interface connected to the device.

[0112] Figure 5 is a block diagram illustrating an intelligent server of an integrated intelligent system according to an embodiment of the present disclosure.

[0113] Reference Figure 5, the intelligent server 200 may include an automatic speech recognition (ASR) module 210, a natural language understanding (NLU) module 220, a path planner module 230, a dialogue manager (DM) module 240, a natural language generator (NLG) module 250, or a text to speech (TTS) module 260. According to an embodiment, the intelligent server 200 may include a communication circuit, a memory, and a processor. The processor may execute instructions stored in the memory to drive the ASR module 210, the NLU module 220, the path planner module 230, the DM module 240, the NLG module 250, and the TTS module 260. The intelligent server 200 may send data (or information) to an external electronic device (e.g., a user terminal 100) or receive data (or information) from an external electronic device (e.g., a user terminal 100) through a communication circuit.

[0114] The NLU module 220 or the path planner module 230 of the intelligent server 200 can generate path rules.

[0115] According to an embodiment, the ASR module 210 may change a user input received from the user terminal 100 into text data.

[0116] According to an embodiment, the ASR module 210 may convert the user input received from the user terminal 100 into text data. For example, the ASR module 210 may include a speech recognition module. The speech recognition module may include an acoustic model and a language model. For example, the acoustic model may include information associated with utterance, and the language model may include unit phoneme information and information related to a combination of unit phoneme information. The speech recognition module may convert the user's speech into text data by using information associated with utterance and unit phoneme information. For example, information related to the acoustic model and the language model may be stored in an automatic speech recognition database (ASR DB) 211.

[0117] According to an embodiment, the NLU module 220 can grasp the user intent by performing syntactic analysis or semantic analysis. Syntactic analysis can divide the user input into syntactic units (such as words, phrases, morphemes, etc.) and determine which syntactic elements the divided units have. Semantic analysis can be performed by using semantic matching, rule matching, formula matching, etc. In this way, the NLU module 220 can obtain a domain, an intent, or a parameter (or slot) for expressing an intent from the user input.

[0118] According to an embodiment, the NLU module 220 may determine the user's intent and parameters by using matching rules, which are divided into domains, intents, and parameters (or slots) for grasping intents. For example, a domain (e.g., alarm) may include multiple intents (e.g., alarm setting, alarm cancellation, etc.), and an intent may include multiple parameters (e.g., time, number of iterations, alarm sound, etc.). For example, multiple rules may include one or more utilized parameters. The matching rules may be stored in a natural language understanding database (NLU DB) 221.

[0119] According to an embodiment, the NLU module 220 can grasp the meaning of the words extracted from the user input by using language features (e.g., grammatical elements) such as morphemes, phrases, etc., and can match the meaning of the grasped words with the domain and intent to determine the user's intent. For example, in order to determine the user's intent, the NLU module 220 can calculate how many words extracted from the user input are included in each of the domain and intent. According to an embodiment, the NLU module 220 can determine the parameters of the user input by using words based on the grasped intent. According to an embodiment, the NLU module 220 can determine the user's intent by using the NLU DB 221 storing the language features for grasping the intent of the user input. According to another embodiment, the NLU module 220 can determine the user's intent by using a personal language model (PLM). For example, the NLU module 220 can determine the user's intent by using personalized information (e.g., a contact list or a music list). For example, the PLM can be stored in the NLU DB 221. According to an embodiment, the ASR module 210 and the NLU module 220 can refer to the PLM stored in the NLU DB 221 to recognize the user's voice.

[0120] According to an embodiment, the NLU module 220 may generate a path rule based on the intent and parameters input by the user. For example, the NLU module 220 may select an application to be executed based on the intent input by the user, and may determine the action to be performed in the selected application. The NLU module 220 may determine the parameters corresponding to the determined action to generate a path rule. According to an embodiment, the path rule generated by the NLU module 220 may include information related to the application to be executed, the action to be performed in the application (e.g., at least one or more states), and the parameters for performing the action.

[0121] According to an embodiment, the NLU module 220 may generate one path rule or multiple path rules based on the intent and parameters input by the user. For example, the NLU module 220 may receive a path rule set corresponding to the user terminal 100 from the path planner module 230, and may map the intent and parameters input by the user to the received path rule set to determine the path rule.

[0122] According to another embodiment, in order to generate one path rule or multiple path rules, the NLU module 220 may determine the application to be executed, the action to be executed in the application, and the parameters for executing the action according to the intent and parameters input by the user. For example, in order to generate the path rule, the NLU module 220 may arrange the application to be executed and the action to be executed in the application according to the intent input by the user in the form of an ontology or a graphical model by using the information of the user terminal 100. For example, the generated path rule may be stored in a path rule database (PR DB) 231 by the path planner module 230. The generated path rule may be added to the path rule set of the PR DB 231.

[0123] According to an embodiment, the NLU module 220 may select at least one path rule from the generated plurality of path rules. For example, the NLU module 220 may select the best path rule from the plurality of path rules. For another example, in the case where a portion of the action is specified based on a user utterance, the NLU module 220 may select a plurality of path rules. The NLU module 220 may determine one of the plurality of path rules based on additional input from the user.

[0124] According to an embodiment, the NLU module 220 may send a path rule to the user terminal 100 in response to a request for user input. For example, the NLU module 220 may send one path rule corresponding to the user input to the user terminal 100. For another example, the NLU module 220 may send a plurality of path rules corresponding to the user input to the user terminal 100. For example, in the case where a portion of an action is specified based on a user utterance, a plurality of path rules may be generated by the NLU module 220.

[0125] According to an embodiment, the path planner module 230 may select at least one path rule from among a plurality of path rules.

[0126] According to an embodiment, the path planner module 230 may send a path rule set including a plurality of path rules to the NLU module 220. The plurality of path rules of the path rule set may be stored in a table in the PR DB 231 connected to the path planner module 230. For example, the path planner module 230 may send a path rule set corresponding to information (e.g., OS information or application information) of the user terminal 100 received from the intelligent agent 145 to the NLU module 220. For example, the table stored in the PR DB 231 may be stored for each domain or each version of the domain.

[0127] According to an embodiment, the path planner module 230 may select one path rule or multiple path rules from the path rule set to send the selected one path rule or the selected multiple path rules to the NLU module 220. For example, the path planner module 230 may match the user intention and the parameter with the path rule set corresponding to the user terminal 100 to select one path rule or multiple path rules, and may send the selected one path rule or the selected multiple path rules to the NLU module 220.

[0128] According to an embodiment, the path planner module 230 may generate a path rule or multiple path rules by using the user intent and parameters. For example, to generate a path rule or multiple path rules, the path planner module 230 may determine the application to be executed and the action to be executed in the application based on the user intent and parameters. According to an embodiment, the path planner module 230 may store the generated path rules in the PR DB 231.

[0129] According to an embodiment, the path planner module 230 may store the path rule generated by the NLU module 220 in the PR DB 231. The generated path rule may be added to the path rule set stored in the PR DB 231.

[0130] According to an embodiment, the table stored in the PR DB 231 may include a plurality of path rules or a plurality of path rule sets. The plurality of path rules or a plurality of path rule sets may reflect the kind, version, type or characteristics of a device executing each path rule.

[0131] According to an embodiment, the DM module 240 may determine whether the user intention grasped by the NLU module 220 is clear. For example, the DM module 240 may determine whether the user intention is clear based on whether the information of the parameter is sufficient. The DM module 240 may determine whether the parameters grasped by the NLU module 220 are sufficient to perform the task. According to an embodiment, in the case where the user intention is unclear, the DM module 240 may perform feedback for requesting available information from the user. For example, the DM module 240 may perform feedback for requesting information related to the parameters grasping the user intention.

[0132] According to an embodiment, the DM module 240 may include a content provider module. In the case where the content provider module performs an action based on the intent and parameters grasped by the NLU module 220, the content provider module may generate a result obtained by performing a task corresponding to the user input. According to an embodiment, the DM module 240 may send the result generated by the content provider module to the user terminal 100 as a response to the user input.

[0133] According to an embodiment, the NLG module 250 may change the specified information into a text form. The information changed into a text form may be in the form of a natural language utterance. For example, the specified information may be information related to additional input, information for guiding the completion of an action corresponding to a user input, or information for guiding the user's additional input (e.g., feedback information about the user input). The information changed into a text form may be displayed in the display 120 after being sent to the user terminal 100, or may be changed into a voice form after being sent to the TTS module 260.

[0134] According to an embodiment, the TTS module 260 may change the information in text form into information in voice form. The TTS module 260 may receive the information in text form from the NLG module 250, may change the information in text form into information in voice form, and may transmit the information in voice form to the user terminal 100. The user terminal 100 may output the information in voice form to the speaker 130.

[0135] According to an embodiment, the NLU module 220, the path planner module 230, and the DM module 240 may be implemented by one module. For example, the NLU module 220, the path planner module 230, and the DM module 240 may be implemented by one module, may determine the user intent and parameters, and may generate a response (e.g., a path rule) corresponding to the determined user intent and parameters. In this way, the generated response may be sent to the user terminal 100.

[0136] Figure 6 is a schematic diagram illustrating a path rule generating method of a path planner module according to an embodiment of the present disclosure.

[0137] Reference Figure 6 According to an embodiment, the NLU module 220 may divide the functions of the application into one or more unit actions (e.g., states A to F), and may store the divided unit actions in the PR DB 231. For example, the NLU module 220 may store a path rule set including a plurality of path rules A-B1-C1, A-B1-C2, A-B1-C3-DF, and A-B1-C3-DEF in the PR DB 231, the path rule set being divided into actions (e.g., states).

[0138] According to an embodiment, the PR DB 231 of the path planner module 230 may store a path rule set for executing the functions of the application. The path rule set may include a plurality of path rules, each of which includes a plurality of actions (e.g., a state sequence). The actions executed according to the parameters input to each of the plurality of actions may be sequentially arranged in each of the plurality of path rules. According to an embodiment, a plurality of path rules implemented in the form of an ontology or a graphical model may be stored in the PR DB 231.

[0139] According to an embodiment, the NLU module 220 may select an optimal path rule A-B1-C3-DF corresponding to the intent and parameters input by the user from among the plurality of path rules A-B1-C1, A-B1-C2, A-B1-C3-DF, and A-B1-C3-DEF.

[0140] According to an embodiment, in the case where there is no path rule that completely matches the user input, the NLU module 220 may send multiple path rules to the user terminal 100. For example, the NLU module 220 may select a path rule (e.g., A-B1) that partially corresponds to the user input. The NLU module 220 may select one or more path rules (e.g., A-B1-C1, A-B1-C2, A-B1-C3-DF, and A-B1-C3-DEF) including a path rule (e.g., A-B1) that partially corresponds to the user input, and may send the one or more path rules to the user terminal 100.

[0141] According to an embodiment, the NLU module 220 may select one of the plurality of path rules based on an input added by the user terminal 100, and may send the selected one path rule to the user terminal 100. For example, the NLU module 220 may select one path rule (e.g., A-B1-C3-DF) from among a plurality of path rules (e.g., A-B1-C1, A-B1-C2, A-B1-C3-DF, and A-B1-C3-DEF) based on a user input (e.g., an input for selecting C3) additionally input by the user terminal 100, to send the selected one path rule to the user terminal.

[0142] According to another embodiment, the NLU module 220 may determine a user intent and a parameter corresponding to a user input (e.g., an input for selecting C3) additionally inputted through the user terminal 100 to send the user intent or the parameter to the user terminal 100. The user terminal 100 may select one path rule (e.g., A-B1-C3-DF) from among a plurality of path rules (e.g., A-B1-C1, A-B1-C2, A-B1-C3-DF, and A-B1-C3-DEF) based on the sent intent or the sent parameter.

[0143] In this way, the user terminal 100 can complete the actions of the applications 141 and 143 based on the selected path rule.

[0144] According to an embodiment, in the case where the intelligent server 200 receives a user input with insufficient information, the NLU module 220 may generate a path rule that partially corresponds to the received user input. For example, the NLU module 220 may send a partially corresponding path rule to the intelligent agent 145. The processor 150 may execute the intelligent agent 145 to receive the path rule, and may send the partially corresponding path rule to the execution manager module 147. The processor 150 may execute the first application 141 according to the path rule through the execution manager module 147. The processor 150 may send information about insufficient parameters to the intelligent agent 145 through the execution manager module 147 when executing the first application 141. The processor 150 may request additional input from the user using the information about insufficient parameters through the intelligent agent 145. When the user receives the additional input through the intelligent agent 145, the processor 150 may send and process the user input to the intelligent server 200. The NLU module 220 may generate a path rule to be added based on the intention and parameter information of the user input of the additional input, and may send the path rule to be added to the intelligent agent 145. The processor 150 may send the path rule to the execution manager module 147 through the smart agent 145 to execute the second application 143 .

[0145] According to an embodiment, in the case where the intelligent server 200 receives a user input in which a part of information is missing, the NLU module 220 may send a user information request to the personalized information server 300. The personalized information server 300 may send information of the user who inputs the user input stored in the character database to the NLU module 220. The NLU module 220 may select a path rule corresponding to the user input in which a part of the action has been partially lost by using the user information. In this way, even if the intelligent server 200 receives a user input in which a part of information is missing, the NLU module 220 may request the missing information to receive additional input, or may determine a path rule corresponding to the user input by using the user information.

[0146] According to an embodiment, Table 1 attached below may indicate an example form of a path rule associated with a task requested by a user.

[0147] [Table 1]

[0148]

[0149] Referring to Table 1, the intelligent server ( Figure 1The path rule generated or selected by the intelligent server 200 according to the user voice (e.g., "Please share the picture") may include at least one state 25, 26, 27, 28, 29, or 30. For example, at least one state (e.g., an operation state of the terminal) may correspond to at least one of the picture application executing PicturesView 25, the picture search function executing SearchView 26, the search result display screen outputting SearchViewResult 27, the search result display screen outputting SearchEmptySelectedView 28 when the picture is not selected, the search result display screen outputting SearchSelectedView 29 when at least one picture is selected, or the sharing application selection screen outputting CrossShare 30.

[0150] In an embodiment, the parameter information of the path rule may correspond to at least one state. For example, the search result display screen output SearchSelectedView 29 in which at least one picture is selected may be included in at least one state.

[0151] The task requested by the user (eg, “Please share the picture!”) may be performed according to the execution result of the path rule including a series of states 25 , 26 , 27 , 28 and 29 .

[0152] Figure 7 2 is a schematic diagram showing that a character module of an intelligent service module manages user information according to an embodiment of the present disclosure.

[0153] Reference Figure 7 , the processor 150 may receive information of the user terminal 100 from the applications 141 and 143, the execution manager module 147 or the context module 149a through the character module 149b. The processor 150 may store information related to the results obtained by executing the actions 141b and 143b of the applications in the action log database through the applications 141 and 143 and the execution manager module 147. The processor 150 may store information related to the current state of the user terminal 100 in the context database through the context module 149a. The processor 150 may receive the stored information from the action log database or the context database through the character module 149b. For example, the data stored in the action log database and the context database may be analyzed by the analysis engine and may be sent to the character module 149b.

[0154] According to an embodiment, the processor 150 may send information received from the applications 141 and 143, the execution manager module 147 or the context module 149a to the suggestion module 149c through the character module 149b. For example, the processor 150 may send data stored in the action log database or the context database to the suggestion module 149c through the character module 149b.

[0155] According to an embodiment, the processor 150 may transmit information received from the applications 141 and 143, the execution manager module 147, or the context module 149a to the personalized information server 300 through the character module 149b. For example, the processor 150 may periodically transmit data accumulated and stored in the action log database or the context database to the personalized information server 300 through the character module 149b.

[0156] According to an embodiment, the processor 150 may send the data stored in the action log database or the context database to the suggestion module 149c through the character module 149b. The user information generated by the character module 149b may be stored in the character database. The character module 149b may periodically send the user information stored in the character database to the personalized information server 300. According to an embodiment, the information sent to the personalized information server 300 through the character module 149b may be stored in the character database. The personalized information server 300 may infer the user information used to generate the path rule of the intelligent server 200 by using the information stored in the character database.

[0157] According to an embodiment, the user information inferred by using the information transmitted through the character module 149b may include profile information or preference information. The profile information or preference information may be inferred through the user's account and accumulated information.

[0158] The profile information may include the user's personal information. For example, the profile information may include the user's demographic information. For example, the demographic information may include the user's gender, age, etc. For another example, the profile information may include life event information. For example, the life event information may be inferred by comparing the log information with the life event model, and the life event information may be enhanced by analyzing the behavior pattern. For another example, the profile information may include interest information. For example, the interest information may include shopping items of interest, fields of interest (e.g., sports, politics, etc.). For another example, the profile information may include activity area information. For example, the activity area information may include information about houses, workplaces, etc. Information about the activity area may include information about areas that record priorities based on cumulative stay time and number of visits, and information about the location of the place. For another example, the profile information may include activity time information. For example, the activity time information may include information about wake-up time, commuting time, sleep time, etc. Information about commuting time may be inferred by using activity area information (e.g., information about houses and workplaces). Information about sleep time may be inferred by the unused time of the user terminal 100.

[0159] The preference information may include the user's preference information. For example, the preference information may include information about application preferences. For example, the application preferences may be inferred through the use records of the application (e.g., time and place specific use logs). The application preferences may be used to determine the application to be executed according to the user's current state (e.g., time or place). For another example, the preference information may include information about contact preferences. For example, the contact preferences may be inferred by analyzing information about the contact frequency of the contact (e.g., time and place specific contact frequency). The contact preferences may be used to determine the contact to be contacted according to the user's current state (e.g., contact with repeated names). For another example, the preference information may include setting information. For example, the setting information may be inferred by analyzing information about the setting frequency of a specific setting value (e.g., time and place specific frequency of setting the setting value). The setting information may be used to set a specific setting value according to the user's current state (e.g., time, place, or situation). For another example, the preference information may include location preferences. For example, the location preferences may be inferred through the visit history of a specific place (e.g., time specific visit history). Location preferences may be used to determine the location to be visited according to the user's current state (e.g., time). For another example, the preference information may include instruction preferences. For example, the instruction preference may be inferred by the frequency of use of the instruction (e.g., time and location specific frequency of use). The instruction preference may be used to determine the instruction mode to be used according to the current state of the user (e.g., time or location). In particular, the instruction preference may include information about the menu most frequently selected by the user in the current state of the application being executed by analyzing the log information.

[0160] Figure 8 is a screen on which the user terminal 100 performs a reading function according to some embodiments.

[0161] Reference Figure 8 , the user terminal 100 can perform a reading function that uses a text-to-speech function to read the text through a speaker (eg Figure 2 The speaker 130) outputs the content of the message displayed on the notification window.

[0162] According to an embodiment, in screen 810, the user terminal 100 may receive a message from an external device. For example, the user terminal 100 may receive a message 811 including the text "you need to decideitinerary" from an external device (e.g., an external user terminal). According to an embodiment, the user terminal 100 may display the received message on a notification window (or notification area) 810a.

[0163] According to an embodiment, in screen 820, the user terminal 100 may receive a user input requesting an auditory output of the message content (such as displayed on the notification window or area 810a) through a speaker. For example, the user terminal 100 may receive a verbal user input of "read out message alarm on notification window!" According to an embodiment, when the user terminal 100 processes the verbal user input, the user terminal 100 may display text 821 corresponding to the received user input on the display.

[0164] According to an embodiment, in screen 830, in response to a user command, the user terminal 100 may output the content of the received message through a speaker in response to a received user input (e.g., using a text-to-speech function). For example, the user terminal 100 may output “Sam, you need to decide itinerary” through the speaker of the user terminal 100. According to an embodiment, the user terminal 100 may display guidance information 831 associated with the output message on the display.

[0165] According to an embodiment, the user terminal 100 may display indicators 823 and 833 corresponding to the application for processing user input on the display. According to an embodiment, the user terminal 100 may change the color, effect, etc. of the indicators 823 and 833 according to the action of the application. For example, when receiving user input, the user terminal 100 may display the indicator 823 in a first state, which may include, for example, a white effect or no effect. When outputting the received message, the user terminal 100 may display the indicator 833 in a second state (e.g., blue or a wavy effect).

[0166] According to an embodiment, in screen 810 , screen 820 , and screen 830 , the user terminal 100 may output the used information through a speaker without displaying a screen where the user input is processed on a display.

[0167] Fig. 9 is a screen on which the user terminal 100 performs a reading function according to some embodiments.

[0168] Reference Fig. 9 , the user terminal 100 can use a speaker (eg Figure 2 The speaker 130 of the message application performs a reading function (eg, a text-to-speech function) to output the message content displayed on a user interface (UI) 910a of the executed message application.

[0169] According to an embodiment, as shown in screen 910, the user terminal 100 may receive a message from an external device and display the received message 911 through a notification window. For example, the user terminal 100 may display a message 911 received from an external device (e.g., an external user terminal) on a notification window 910a, and the message 911 says "you need to decide itinerary". According to an embodiment, the user terminal 100 may receive a user input requesting the content of the received message to be output through a speaker. For example, the user terminal 100 may receive a voice input indicating "please read out recently received message". According to an embodiment, when the user terminal 100 processes the voice input to extract text, the user terminal 100 may display text 913 corresponding to the received voice input on a display. According to an embodiment, the user terminal 100 may further display an indicator 915 corresponding to an application that processes the voice input on a display.

[0170] According to an embodiment, in screen 920, the user terminal 100 may execute an application (e.g., a message application) for sending and receiving messages, and display a UI 920a of the executed application on a display. For example, the UI 920a may include a received message 921. According to an embodiment, as described above, the user terminal 100 may output the content of the received message in response to a received user input. For example, the user terminal 100 may output information related to at least one of the text and the sender included in the message through a speaker (e.g., "Sam, you need to decide itinerary (Sam, you need to determine the route)"). In addition, the user terminal 100 may display guidance information 923 corresponding to the output message on a display.

[0171] According to an embodiment, the user terminal 100 may display indicators 915 and 925 corresponding to the application that is processing the user input on the display. According to an embodiment, the user terminal 100 may change the display of the indicators 915 and 925 according to the action of the application. According to an embodiment, the user terminal 100 may display a mark 925a of the currently executed application (e.g., a message application) on the indicator 925.

[0172] According to an embodiment, the user of the user terminal 100 may be in a state where the user cannot view the display (e.g., or in an "eyes-free" state). When the user is in the eyes-free state, the user terminal 100 may perform a read function (e.g., a text-to-speech function). According to an embodiment, when the user is in the eyes-free state, the user terminal 100 may receive user input through a microphone to perform the read function. In this way, the user may receive the content of the received message without viewing the display.

[0173] According to an embodiment, in screens 910 and 920, the user terminal 100 may output the used information through a speaker without displaying a screen for processing a user input on a display.

[0174] Fig.10a and Fig.10b are screens illustrating operations of sending and receiving messages in a chat mode of the user terminal 100 according to some embodiments.

[0175] refer to Fig.10a and Fig.10b , the user terminal 100 can use a speaker (eg Figure 2 The speaker 130 of the user interface 100 outputs a first message (eg, “you need to decide itinerary”) received from the external device, and a “chat mode” may be executed to send and receive further messages, as will be described below.

[0176] According to an embodiment, in screen 1010, the user terminal 100 may receive a user input for generating a second message 1012. The second message 1012 may be a reply to the received first message 1011. For example, the user terminal 100 may receive a user input to send a second message 1012 including a text "when are you going to decide the itinerary?" as a reply message, the second message 1012 being a reply to the first message 1011 saying "you need to decide itinerary". According to an embodiment, the user terminal 100 may then send the second message 1012 to an external device. According to an embodiment, the user terminal 100 may execute a message application for displaying the received message and a visual element corresponding to the user input, and may further display a UI 1010a of the executed message application on a display. According to an embodiment, the user terminal 100 may display the first message 1011 and the second message 1012 on the UI 1010a.

[0177] According to an embodiment, the user terminal 100 may receive a third message 1023 from an external device, the third message 1023 being a reply to the sent second message 1021. For example, the third message 1023 may include the text "first of all, this month may not be possible. How about next month?". According to an embodiment, the user terminal 100 may display the third message 1023 on the UI 1020a of the message application. According to an embodiment, the user terminal 100 may output the third message 1023 through a speaker using a text-to-speech function. For example, the user terminal 100 may output at least one of the text of the third message 1023 and information about the sender (e.g., "Sam, this month may not be possible. How about next month?") through a speaker.

[0178] According to an embodiment, in screen 1030, the user terminal 100 may receive a user input to generate and send a fourth message using a microphone to reply to the third message 1031 (e.g., 1023 in screen 1020). For example, the user terminal 100 may receive a user input of saying ""How about the 3rd of next month?" through a microphone, the text of which forms the fourth message. According to an embodiment, the user terminal 100 may display text 1033 extracted from the user input on a display.

[0179] According to an embodiment, in screen 1040, after sending the fourth message 1041, the user terminal 100 may display the sent fourth message 1041 on the UI 1040a of the message application.

[0180] According to an embodiment, the user terminal 100 may display indicators 1015, 1025, and 1035 corresponding to the application for processing the user input on the display. According to an embodiment, the user terminal 100 may change the display of the indicators 1015, 1025, and 1035 according to the state for processing the user input. According to an embodiment, the user terminal 100 may display the currently executed application (e.g., a message application) on the indicators 1015, 1025, and 1035 (1015a, 1025a, and 1035a).

[0181] According to an embodiment, when receiving a message, the user terminal 100 may perform a reading function. According to an embodiment, when the execution of the reading function is completed or when sending a message, the user terminal 100 may change the state of the microphone to an operating state.

[0182] According to an embodiment, in screens 1010 to 1040, the user terminal 100 may output the used information through a speaker without displaying a screen in which a user input is processed on a display. Fig.11a and Fig.11b are screens illustrating an operation of continuously receiving messages in a chat mode of the user terminal 100 according to an embodiment.

[0183] refer to Fig.11a and Fig.11b , before receiving user input to send a reply to the received first message (e.g., "the third is OK for me, but I had better ask Kate for this."), the user terminal 100 may receive a second message (e.g., "I think I heard you have an appointment.").

[0184] According to an embodiment, in screen 1110, the user terminal 100 may receive a first message 1111 from an external device and display the first message 1111 on the UI 1110a of the executed message application. According to an embodiment, the user terminal 100 may receive a first message 1111 from an external device and display the first message 1111 on the UI 1110a of the executed message application. Figure 2 The speaker 120) outputs at least one of the text of the first message 1111 and information about the sender (e.g., "Sam, the third is OK for me, but I had better ask Kate for this.").

[0185] According to an embodiment, in screen 1120, the user terminal 100 may be in a state (eg, a listening state) for receiving user input. For example, the user input may be a request to send a message in reply to the first message 1121 (eg, 1111 of screen 1110).

[0186] According to an embodiment, in screen 1130, before receiving user input, the user terminal 100 may receive a second message 1131 from an external device. For example, the user terminal 100 may receive the second message 1131 before planning a reply. According to an embodiment, the user terminal 100 may display the received second message 1131 on the UI 1130a of the message application. According to an embodiment, the user terminal 100 may output at least one of the text of the second message 1131 and the information about the sender, such as "Sam-I think I heard you have an appointment." through a speaker. For example, the user terminal 100 may switch from a state designated for receiving user input to a new state for auditorily reproducing the second message 1131 (e.g., by a text-to-speech function).

[0187] According to an embodiment, in screen 1140, after completing the retelling of the second message 1131, the user terminal 100 can enter a state for receiving user input again. For example, the user input can be used to generate and send a message replying to the second message 1141 (e.g., 1131 of screen 1130).

[0188] According to an embodiment, the user terminal 100 may change the display of the indicators 1113, 1123, 1133, and 1143 according to the state for processing the user input. For example, in the screen 1110 and the screen 1130 where the received message is output, the user terminal 100 may display the indicators 1113 and 1133 in the first state (e.g., white or no effect); in the screen 1120 and the screen 1140 where the user input is received, the user terminal 100 may display the indicators 1123 and 1143 in the second state (e.g., blue or wave effect). According to an embodiment, the user terminal 100 may display marks 1113a, 1123a, 1133a, and 1143a of the currently executed application (e.g., message application) on the indicators 1113, 1123, 1133, and 1143.

[0189] According to an embodiment, when receiving a message from an external device, the user terminal 100 can immediately output the content of the received message. In other words, when receiving a message from an external device, the user terminal 100 can output the content of the received message without waiting for user input to output the message.

[0190] According to an embodiment, in screens 1110 to 1140, the user terminal 100 may output information for use through a speaker without displaying a screen for processing a user input on a display.

[0191] Fig.12a and Figure 12bis a screen illustrating an operation of continuously receiving a user input in a chat mode of the user terminal 100 according to an embodiment.

[0192] Reference Fig.12a and Figure 12b Before receiving a message (eg, “okay”) in reply to the sent first message, the user terminal 100 may send a second message 1231 (eg, “ask Kate and then let meknow it!”) to the external terminal.

[0193] According to an embodiment, in screen 1210, the user terminal 100 may receive a user input to send a first message to reply to the received message. For example, the user input may be a user input of a message as a reply to the received message. According to an embodiment, the user terminal 100 may display text 1211 corresponding to the received user input on the display. According to an embodiment, the user terminal 100 may send the first message to an external device.

[0194] According to an embodiment, in screen 1220, the user terminal 100 may display the sent first message 1221 on the UI 1220a of the executed message application. According to an embodiment, when no user input is received within a specified time, or when no message is received within a specified time, the state of the user terminal 100 may be switched to a state in which the microphone is not working.

[0195] According to an embodiment, in screen 1230, the user terminal 100 may receive user input to send a second message. For example, the user input may include a specified word for changing the state of the user terminal 100. The specified word may include at least one of a wake-up command, a sender's name, and a command to send a message. According to an embodiment, when the specified word is recognized, the state of the user terminal 100 may be switched to a state capable of receiving user input. In other words, when the specified word is recognized, the state of the user terminal 100 may be switched to a state in which the user input received by the microphone can be processed. According to an embodiment, the user terminal 100 may display text 1231 corresponding to the received user input on the display. According to an embodiment, the user terminal 100 may send a second message to an external device.

[0196] According to an embodiment, in screen 1240 , the user terminal 100 may display the transmitted second message 1241 on the UI 1240 of the executed message application.

[0197] According to an embodiment, in screen 1210 and screen 1230 where a user input is received, the user terminal 100 may display indicators 1213 and 1233 in a specified state. For example, the specified state may be a state displayed in white and without effect. According to an embodiment, in screen 1220 and screen 1240 where the microphone is not operated, the user terminal 100 may not display an indicator. According to an embodiment, the user terminal 100 may display marks 1213a and 1233a of the currently executed application on the indicators 1213 and 1233.

[0198] According to an embodiment, in screens 1210 to 1240, the user terminal 100 may output utilized information through a speaker without displaying a screen processing a user input on a display.

[0199] Fig.13 13 is a flow chart 1300 illustrating operations of changing the mode of the user terminal 100 to a “chatting mode” (eg, a conversation mode) according to some embodiments.

[0200] According to an embodiment, the operations of the user terminal 100 described below may be performed by a processor (eg Figure 2 The operations performed after the processor 150) executes the program module stored in the memory.

[0201] According to an embodiment, in operation 1310, the user terminal 100 may perform a reading function of the received message (e.g., perform a text-to-speech function on the received text message and audibly read out the received text). According to an embodiment, the user terminal 100 may receive a first user input associated with the received first message. According to an embodiment, the user terminal 100 may change the first text included in the message received in response to the first user input into a voice, and may provide the changed voice through a speaker.

[0202] According to an embodiment, at operation 1320, the user terminal 100 may determine whether to use the chat mode. According to an embodiment, the user terminal 100 may determine whether to execute the chat mode based on at least one of the received first message and the second user input based on voice. For example, the second user input (e.g., voice input) may request to send a second message to reply to the first message. For example, the user terminal 100 may determine whether to use an additional operation based on a user input requesting to generate a reply. For another example, the user terminal 100 may determine whether to use an additional operation based on the attributes of the received first message. For example, the attributes of the received first message may include the contact frequency of the sender, or whether the first message includes a reply request. That is, the chat mode may be initiated based on a received text message and a voice command of a user received corresponding to the received text message (e.g., a voice command and input to generate a reply); a specific user input requesting a chat mode (e.g., selecting an icon or a hardware button, or a specific voice command); an attribute of the received first message or an attribute related to the received first message (e.g., a combination of some other known text or text strings included in the first message, regarding the contact frequency of the message sender, a reply request included in the first message, or some other known text or text string included in the first message).

[0203] According to an embodiment, in operation 1320, when the chat mode (e.g., conversation mode) is not used (e.g., the path specified by "No"), the user terminal 100 may terminate the operation. According to an embodiment, the user terminal 100 may determine whether the application (or message application) used to send or receive messages supports the chat mode. When the message application does not support the chat mode, the user terminal 100 may terminate the processor after executing the read function.

[0204] According to an embodiment, in operation 1330, when the chat mode is to be used (yes), the user terminal 100 may provide feedback to the user for executing the chat mode. For example, the user terminal 100 may provide a display element (e.g., guidance) for entering a mode for performing additional operations based on at least a portion of the determination in operation 1320.

[0205] According to an embodiment, in operation 1340, the user terminal 100 may determine whether a user input for verifying the execution of the chat mode is received. For example, the user terminal 100 may receive a third user input for performing an additional operation based on at least a portion of the determination in operation 1320. According to an embodiment, when no user input (e.g., "No") is received, the user terminal 100 may complete the execution of the read function and terminate the operation. For example, when a user input for prohibiting the execution of the chat mode is received, the user terminal 100 may terminate the operation.

[0206] According to an embodiment, in operation 1350, when a user input indicating an affirmative request to execute a chat mode (e.g., "yes") is received, the user terminal 100 may execute the chat mode. For example, the user terminal 100 may enter a chat mode for performing additional operations based at least in part on the determination of operation 1320 or the third user input received in operation 1340. For example, in response to a second user input to send a second message as a reply to a received first message, the additional operation may be the following operations: receiving a user voice through a microphone, changing the user voice into a second text, and sending the second message containing the second text to an electronic device. According to an embodiment, the user terminal 100 may enter the chat mode when the messaging application supports the chat mode. In this way, the user terminal 100 can send or receive messages according to the user input.

[0207] Fig.14a , Fig.14b , Fig.14c and Fig.14d is a screen for executing a chat mode of the user terminal 100 according to some embodiments.

[0208] refer to Fig.14a and Fig.14b , the user terminal 100 can provide the user with a process of processing the user input through the display.

[0209] According to an embodiment, in screen 1410, the user terminal 100 may receive a user input requesting to repeat the first message 1411 displayed on the notification window 1410a. For example, the user terminal 100 may receive a voice user input saying "read out message alarm on notification window!" According to an embodiment, the user terminal 100 may display text corresponding to the received user input on a mark 1413 of the display.

[0210] According to an embodiment, in screen 1420, the user terminal 100 may output the content of the first message 1421 (e.g., 1411 of screen 1410) received through a speaker (e.g., using a text-to-speech function). For example, the user terminal 100 may output the first message through the speaker, saying "Sam, you need to decide itinerary". According to an embodiment, the user terminal 100 may display guidance information 1423 corresponding to the output of the message on the display.

[0211] According to an embodiment, in screen 1430, the user terminal 100 may receive a user input to send a second message 1431 (e.g., 1421 of screen 1420) as a reply to the first message. For example, the user terminal 100 may receive a voice user input saying "please send a reply, 'when do you plan an itinerary? 'to Sam. (Please send the reply 'when you plan the route' to Sam)". According to an embodiment, the user terminal 100 may display a text 1433 processed by the voice user input corresponding to the received user input on the display. According to an embodiment, the user terminal 100 may send a second message to an external device. According to an embodiment, the user terminal 100 may determine whether to use a chat mode. For example, the user terminal 100 may determine whether to execute a chat mode based on the second message sent (e.g., "when do you plan an itinerary?"). For example, while waiting for a reply from the other party to whom the second message (e.g., a message of a question type) is sent, the user terminal 100 may determine whether to execute a chat mode.

[0212] According to an embodiment, in screen 1440, when it is determined to execute the chat mode, the user terminal 100 may provide the user with feedback for verifying the execution of the chat mode. In addition, the user terminal 100 may provide the user with the result of executing the path rule corresponding to the user utterance for sending the second message. For example, the user terminal 100 may output a query of "Sent it. Would you like to have a conversation with Sam?" through a speaker.

[0213] According to an embodiment, in screen 1450, when an affirmative user input in response to a query (e.g., “yes!”) is received, the user terminal 100 may execute a chat mode. The user terminal 100 may display a UI of a messaging application on the display. According to an embodiment, the user terminal 100 may receive a third message 1451 from an external device, and may display the third message 1451 on the UI of the messaging application. For example, the user terminal 100 may receive a third message 1451 “first of all, this month may not be possible. How about next month?”. According to an embodiment, the user terminal 100 may display the third message 1451 through a speaker (e.g., Figure 2The user terminal 100 may output the content of the third message 1451 through the speaker 130. For example, the user terminal 100 may output at least one of the text and the information about the sender (e.g., "Sam, most of all, this month may not be possible. How about next month?") through the speaker.

[0214] According to an embodiment, in screen 1460, when a user input (eg, "No!") not requesting execution of the chat mode is received, the user terminal 100 may be terminated without executing the chat mode.

[0215] refer to Fig.14c and Fig.14d , the user terminal 100 may not provide the user with the process of processing the user input through the display. When the user is in a state where the user cannot see the display (or an eyes-free state), the user terminal 100 may display at least a part of the process of processing the user input on the display, or may not display the process.

[0216] According to an embodiment, in screen 1410', the user terminal 100 may receive a user input for executing a read function of the received first message. According to an embodiment, the user terminal 100 may display a first indicator 1411' of an application for processing the user input. For example, the first indicator 1411' may display a first state (e.g., black) for receiving the user input.

[0217] According to an embodiment, in screen 1420', the user terminal 100 may output the received first message through a speaker. The user terminal 100 may display a first indicator 1421' of an application for processing user input. For example, the first indicator 1421' may be displayed in a second state (e.g., white) for outputting the received message.

[0218] According to an embodiment, in screen 1430', the user terminal 100 may receive a user input to send a second message as a reply to the first message. According to an embodiment, the user terminal 100 may display a first indicator 1431' of an application for processing the user input. For example, the first indicator 1431' may be displayed in a first state (e.g., black) for receiving the user input so as to be the same as the screen 1410'. According to an embodiment, the user terminal 100 may determine to execute the chat mode.

[0219] According to an embodiment, in screen 1440', when it is determined to execute the chat mode, the user terminal 100 may provide the user with feedback for verifying the execution of the chat mode. In addition, the user terminal 100 may provide the user with the result of executing the path rule corresponding to the user's speech for sending the second message. According to an embodiment, the user terminal 100 may display a first indicator 1441' of an application for processing user input. For example, the first indicator 1441' may be displayed in a second state (e.g., white) for receiving user input so as to be the same as screen 1420'. According to an embodiment, the user terminal 100 may determine whether it is used to execute the chat mode.

[0220] According to an embodiment, in screen 1450', when a user input (e.g., "Yes!") is received to request execution of a chat mode, the user terminal 100 may execute the chat mode. According to an embodiment, the user terminal 100 may receive a third message from an external device, and may output the content of the received third message. According to an embodiment, the user terminal 100 may display a first indicator 1451' of an application for processing user input. For example, the first indicator 1451' may be displayed in a second state (e.g., white) for receiving user input so as to be the same as the screen 1420'. According to an embodiment, the user terminal 100 may display a mark 1451a' indicating a message application on the indicator 1451'.

[0221] According to an embodiment, in screen 1460', when a user input (e.g., "No!") not requesting execution of the chat mode is received, the user terminal 100 may terminate without executing the chat mode. According to an embodiment, the user terminal 100 may display a second indicator 1461' indicating a state of receiving a message on the display.

[0222] Fig.15 15 is a flowchart 1500 showing operations in which the mode of the user terminal 100 is changed to the chat mode after the user terminal 100 receives a reply sending request according to some embodiments.

[0223] Reference Fig.15 , according to the implementation, when determining whether to use Fig.13 When the chat mode is in operation 1320 of the user terminal 100, the user terminal 100 may determine whether to request a reply from the user. The operation of the user terminal 100 may be similar to changing to Fig.13 Chat mode operation.

[0224] According to an embodiment, the operations of the user terminal 100 described below may be performed by a processor (eg Figure 2 The operations performed after the processor 150) executes the program module stored in the memory.

[0225] According to an embodiment, in operation 1510, the user terminal 100 may perform a reading function (eg, a text-to-speech function) of the received first message.

[0226] According to an embodiment, in operation 1520, the user terminal 100 may determine whether a request from the user to generate and send a reply is detected. In other words, the user terminal 100 may determine whether to use the chat mode based on whether the user wishes to generate a response. For example, when a specified user input (e.g., "Please reply") is received from the user, the user terminal 100 may determine to use the chat mode. According to an embodiment, when the messaging application does not request execution of the chat mode (e.g., "No!"), the user terminal 100 may complete the execution of the read function and may terminate the operation.

[0227] According to an embodiment, when the message application requests to execute the chat mode (eg, "yes"), in operation 1530, the user terminal 100 may perform the chat mode similar to Fig.13 Operation 1330 provides feedback to the user for executing the chat mode.

[0228] According to an embodiment, in operation 1540, the user terminal 100 may determine whether a user input for verifying execution of the chat mode (e.g., similar to Fig.13 According to an embodiment, when no user input is received (No), the user terminal 100 may complete the execution of the read function and may terminate the operation.

[0229] According to an embodiment, when a user input (yes) requesting execution of the chat mode is received, in operation 1550, the user terminal 100 may perform the operation similar to Fig.13 Operation 1360 executes the chat mode. In this way, the user terminal 100 can send or receive a message according to the user input.

[0230] According to another embodiment, the user terminal 100 may determine whether the user is in a state (or eyes-free state) in which the user cannot see the display between operation 1510 and operation 1520. According to an embodiment, when the user terminal 100 is in a specified state, the user terminal 100 may determine that the state is an eyes-free state. For example, when the user terminal 100 is set to a driving mode or connected to a car kit, the user terminal 100 may determine that the state is an eyes-free state (e.g., a driving state). For another example, when the user terminal 100 senses an object approaching through at least one of a proximity sensor and an illumination sensor, the user terminal 100 may determine that the state is an eyes-free state (e.g., a state in which the display is covered). In other words, the user terminal 100 may determine whether the object exists in the direction in which the display indicates a message. For another example, when the user terminal 100 senses a cover at a specified position through a magnetic sensor, the user terminal 100 may verify the eyes-free state (e.g., a state in which the cover is closed). For another example, when the user's heart rate is not less than a specified value, the user terminal 100 may determine that the state is an eyes-free state (e.g., a motion state) through a heart rate machine (HRM). According to an embodiment, when the user is in the eyes-free state, the user terminal 100 may request execution of the chat mode. According to an embodiment, the user terminal 100 may provide feedback for executing the chat mode to the user.

[0231] According to another embodiment, when the user terminal 100 is in a state set by the user, the user terminal 100 can execute the chat mode. For example, the user terminal 100 can be configured to execute the chat mode at a specified time (e.g., 6 p.m. to 12 p.m.). For another example, the user terminal 100 can be configured to execute the chat mode at a specified location (e.g., home).

[0232] Fig.16a and Fig.16b is a screen on which the user terminal 100 receives a reply sending request to execute a chat mode according to some embodiments.

[0233] According to an embodiment, in screen 1610, the user terminal 100 may receive user input in a manner similar to Fig.14a The screen 1410 of the user terminal 100 performs a reading function of the first message 1611 displayed on the notification window 1610a. According to an embodiment, the user terminal 100 may display a text corresponding to the received user input on the mark 1613 of the display.

[0234] According to an embodiment, in screen 1620, a screen similar to Fig.14a1420 of the screen, the user terminal 100 may output the content of the first message 1621 (eg, 1611 of the screen 1610) received through the speaker. According to an embodiment, the user terminal 100 may display guide information 1623 for outputting a message on the display.

[0235] According to an embodiment, in screen 1630, the user terminal 100 may receive a user input to send a second message, which is a reply to the first message 1631 (e.g., 1621 in screen 1620). For example, the user terminal 100 may receive a user input saying "please send a reply 'when do you plan an itinerary? ' to Sam (please send a reply to 'when do you plan a route' to Sam)". The user input may include a specified word, such as "reply". According to an embodiment, the user terminal 100 may display text 1633 corresponding to the received user input on the display.

[0236] According to an embodiment, in screen 1640, the user terminal 100 may send the second message to the external device. According to an embodiment, the user terminal 100 may determine whether it is used to execute the chat mode. For example, the user terminal 100 may determine whether it is used to execute the chat mode according to whether the user input includes a specified word. For example, the specified word may include "reply".

[0237] According to an embodiment, in screen 1650, when it is determined that the designated word is used to execute the chat mode by recognizing it, a screen similar to Fig.14a In screen 1440, the user terminal 100 may provide the user with feedback for verifying the execution of the chat mode. In addition, the user terminal 100 may provide the user with a result of executing the path rule corresponding to the user utterance for sending the second message.

[0238] According to an embodiment, in screen 1660, when a user input (eg, "Yes!") is received to request execution of the chat mode, the user terminal 100 may execute the chat mode, similar to Fig.14a 1450 of the screen. According to an embodiment, the user terminal 100 may receive a third message 1661 from the external device and may display the third message 1661 on the UI 1660a of the message application.

[0239] Fig.17a , Fig.17b , Fig.17c and Fig.17d is a sequence diagram showing that the user terminal 100 receives a reply sending request to execute a chat mode according to some embodiments.

[0240] According to an embodiment, in operation 1711, the intelligent agent 145 of the user terminal 100 may receive a user input for executing a read function on a first message received from a user. According to an embodiment, in operation 1712, the intelligent agent 145 of the user terminal 100 may forward (or send) the user input to the automatic speech recognition module (or ASR module) 210 of the intelligent server 200. According to an embodiment, in operation 1713, the ASR module 210 of the user terminal 100 may send a text corresponding to the user input to the natural language understanding module (or NLU module) 220. According to an embodiment, in operation 1714, the NLU module 220 of the intelligent server 200 may generate a path rule corresponding to the user input based on the text. For example, the path rule may be a path rule for executing a read function. According to an embodiment, in operation 1715, the NLU module 220 may forward (or send) the generated path rule to the intelligent agent 145 of the user terminal 100.

[0241] According to an embodiment, in operation 1721, the intelligent agent 145 of the user terminal 100 may send a path rule for executing a read function to the execution manager module 147. According to an embodiment, in operation 1722, the execution manager module 147 may request to execute a read function of a first message received through the application 141 (e.g., a message application) according to the sent path rule. According to an embodiment, in operations 1723, 1724, and 1725, the application 141 may send a request for executing a read function and a text of the first message to the NLG module 250 of the intelligent server 200 through the execution manager module 147 and the intelligent agent 145. According to an embodiment, in operation 1726, the NLG module 250 may convert the text of the first message into a text (or read text) for executing a read module, and may send the converted text to a text-to-speech conversion module (or TTS module) 260. According to an embodiment, in operation 1725', the execution manager module 147 may determine whether the application 141 supports a chat mode. When the application 141 supports the chat mode, the execution manager module 147 may determine whether it is used to execute the chat mode. According to an embodiment, in operation 1727, the TTS module 260 may generate voice data (or read voice data) for performing a read function based on the read text. According to an embodiment, in operation 1728, the TTS module 260 may send the generated read voice data to the intelligent agent 145 of the user terminal 100. According to an embodiment, in operation 1729, the intelligent agent 145 may output the read voice data to a speaker.

[0242] According to an embodiment, in operation 1731, the intelligent agent 145 of the user terminal 100 may receive a user input to request to send a reply. According to an embodiment, in operation 1732, the intelligent agent 145 may send the user input to the ASR module 210 of the intelligent server 200. According to an embodiment, in operation 1733, the ASR module 210 may send a text corresponding to the user input to the NLU module 220. According to an embodiment, in operation 1734, the NLU module 220 may generate a path rule corresponding to the user input based on the text. For example, the path rule may be a path rule for sending a reply. According to an embodiment, in operation 1735, the NLU module 220 may send the generated path rule to the intelligent agent 145 of the user terminal 100.

[0243] According to an embodiment, in operation 1741, the intelligent agent 145 of the user terminal 100 may send a path rule for sending a reply to the execution manager module 147. According to an embodiment, in operation 1742, the execution manager module 147 may send a reply to the application 141 according to the path rule request. According to an embodiment, in operation 1743, the application 141 may send a second message for sending a reply to the external device. According to an embodiment, in operation 1744, the application 141 may notify the execution manager module 147 that the application 141 has sent the second message by sending a response to the request. According to an embodiment, since there is a reply request including the user's designated words, the intelligent agent 145 may provide feedback to the user for executing the chat mode.

[0244] According to an embodiment, when a request is received, in operation 1751, the execution manager module 147 of the user terminal 100 may send a request for providing feedback for executing the chat mode to the intelligent agent 145 and reply to the sending completion information. According to an embodiment, in operation 1752, the intelligent agent 145 may send a feedback request to the NLG module 250 of the intelligent server 200 and reply to the sending completion information. According to an embodiment, in operation 1753, the NLG module 250 may generate feedback. For example, the feedback may be feedback for executing the chat mode. According to an embodiment, in operation 1754, the NLG module 250 may send the text of the feedback to the TTS module 260. According to an embodiment, in operation 1755, the TTS module 260 may generate voice data based on the text. According to an embodiment, in operation 1756, the TTS module 260 may send not only the generated voice data but also the text data to the intelligent agent 145 of the user terminal 100. According to an embodiment, in operation 1757, the intelligent agent 145 may output the feedback voice and the feedback text to the speaker and the display, respectively.

[0245] According to an embodiment, in operation 1761, the intelligent agent 145 of the user terminal 100 may receive a user input from a user to request execution of a chat mode. According to an embodiment, in operation 1762, the intelligent agent 145 may send the user input to the ASR module 210 of the intelligent server 200. According to an embodiment, in operation 1763, the ASR module 210 may convert the user input into text, and may send the text corresponding to the user input to the NLU module 220. According to an embodiment, in operation 1764, the NLU module 220 may verify the request for execution of the chat mode based on the text, and may generate a path rule for execution of the chat mode. According to an embodiment, in operation 1765, the NLU module 220 may send the path rule to the intelligent agent 145 of the user terminal 100.

[0246] According to an embodiment, in operation 1771, the intelligent agent 145 of the user terminal 100 may send a request for executing the chat mode to the application 141 according to the path rule for executing the chat mode. According to an embodiment, in operation 1772, the application 141 may execute the chat mode. According to an embodiment, in operation 1773, the user terminal 100 may send or receive a message.

[0247] Fig.18 1800 is a flowchart illustrating that the user terminal 100 verifies sender information to execute a chat mode according to an embodiment.

[0248] Reference Fig.18 , the operation of the user terminal 100 can be similar to changing to Fig.13 According to the implementation mode, when it is determined to use Fig.13 When the chat mode is selected in operation 1320, the user terminal 100 may determine whether to use the chat mode based on the sender information.

[0249] According to an embodiment, the operations of the user terminal 100 described below may be performed by a processor (eg Figure 2 The operations performed after the processor 150) executes the program module stored in the memory.

[0250] According to an embodiment, in operation 1810, the user terminal 100 may be similar to Fig.13 Operation 1310 performs a read function of the received first message.

[0251] According to an embodiment, the user terminal 100 may verify the sender information of the received first message in operation 1820. For example, the user terminal 100 may verify the frequency of sending or receiving messages with the sender by using the context information of the user.

[0252] According to an embodiment, in operation 1830, the user terminal 100 may determine whether a message has been sent to the sender (or received from the sender) more than a specified number of times. In other words, the user terminal 100 may determine whether to utilize the execution of the chat mode based on the message frequency of sending or receiving messages with the sender. According to an embodiment, when the user terminal 100 has not sent a message to the sender more than a specified number of times, the user terminal 100 may complete the execution of the read function and may terminate the operation.

[0253] According to an embodiment, when the number of times the user terminal 100 sends a message to the sender is greater than the specified number (yes), in operation 1840, the user terminal 100 may be similar to Fig.13 Operation 1330 provides feedback to the user for executing the chat mode.

[0254] According to an embodiment, in operation 1850, the user terminal 100 may be similar to Fig.13 Operation 1340 determines whether a user input for verifying the execution of the chat mode is received. According to an embodiment, when no user input is received (No), the user terminal 100 may complete the execution of the read function and may terminate the operation.

[0255] According to an embodiment, when receiving a user input to request execution of the chat mode (yes), in operation 1860, the user terminal 100 may perform the chat mode similar to Fig.13 Operation 1360 executes the chat mode. In this way, the user terminal 100 can send or receive a message according to the user input.

[0256] Fig.19a , Fig.19b and Fig.19c is a sequence diagram illustrating that the user terminal 100 verifies sender information to execute a chat mode according to an embodiment.

[0257] According to an embodiment, in operations 1911 to 1915, the user terminal 100 and the intelligent server 200 may be similar to Fig.17a In other words, the user terminal 100 may receive, through the smart server 200, a path rule for executing a read function by processing a user input.

[0258] According to an embodiment, in operations 1921 to 1929, the user terminal 100 and the intelligent server 200 may be similar to Fig.17a In other words, the user terminal 100 may perform a read function on the received first message through the intelligent server 200 according to the path rule.

[0259] According to an embodiment, in operation 1924′, the execution manager module 147 of the user terminal 100 may be similar to Fig.17a Operation 1725' in 1925' may be performed to determine whether the chat mode is supported. According to an embodiment, in operation 1925', the execution manager module 147 may request the information of the sender of the received first message from the application (e.g., a message application) 141, and may obtain the sender's information. According to an embodiment, in operation 1927', the execution manager module 147 may send the sender's information to the character module 149b, and may obtain additional information of the sender. For example, the additional information may include information related to the frequency with which the sender sends (or receives) messages. According to an embodiment, in operation 1928', the execution manager module 147 may determine whether the message has been sent more than a specified number of times. When the message has been sent more than a specified number of times, the execution manager module 147 may provide feedback to the user for executing the chat mode.

[0260] According to an embodiment, in operations 1931 to 1937, the user terminal 100 and the intelligent server 200 may be similar to Fig.17c In other words, the user terminal 100 can provide feedback to the user through the intelligent server 200.

[0261] According to an embodiment, in operations 1941 to 1945, the user terminal 100 and the intelligent server 200 may be similar to Fig.17d In other words, the user terminal 100 may receive, through the intelligent server 200, a path rule for executing the chat mode by processing a user input for feedback.

[0262] According to an embodiment, in operations 1951 to 1953, the user terminal 100 may be similar to Fig.17d Operations 1771 to 1773 are performed. In other words, the user terminal 100 can execute the chat mode.

[0263] Fig. 20 2000 is a flowchart illustrating that the user terminal 100 verifies the content of a received message to execute a chat mode according to an embodiment.

[0264] Reference Fig. 20 , the operation of the user terminal 100 is similar to changing to Fig.13 According to the implementation mode, Fig.13 In operation 1320, the user terminal 100 may determine whether to use the chat mode based on the content of the received message.

[0265] According to an embodiment, the operations of the user terminal 100 described below may be performed by a processor (eg Figure 2 The operations performed after the processor 150) executes the program module stored in the memory.

[0266] According to an embodiment, in operation 210, the user terminal 100 may be similar to Fig.13 Operation 1310 performs a read function of the received first message.

[0267] According to an embodiment, when the message application supports the chat mode (Yes), in operation 2020, the user terminal 100 may verify the content of the received first message.

[0268] According to an embodiment, in operation 2030, the user terminal 100 may determine whether the content of the reply is included in the first message. In other words, the user terminal 100 may determine whether to execute the chat mode based on the content of the received first message. According to an embodiment, when the content of the reply is not included in the first message ("No"), the user terminal 100 may complete the execution of the read function and may terminate the operation.

[0269] According to an embodiment, when the content of the use reply is included in the first message (yes), in operation 2040, the user terminal 100 may be similar to Fig.13 Operation 1330 provides feedback to the user for executing the chat mode.

[0270] According to an embodiment, in operation 2050, the user terminal 100 may be similar to Fig.13 Operation 1340 determines whether a user input for verifying the execution of the chat mode is received. According to an embodiment, when no user input is received (No), the user terminal 100 may complete the execution of the read function and may terminate the operation.

[0271] According to an embodiment, when receiving a user input to request execution of the chat mode (yes), in operation 2060, the user terminal 100 may perform the chat mode similar to Fig.13 Operation 1360 executes the chat mode. In this way, the user terminal 100 can send or receive a message according to the user input.

[0272] Fig.21a , Figure 21b and Fig.21c is a sequence diagram illustrating that the user terminal 100 verifies the content of a received message to execute a chat mode according to an embodiment.

[0273] According to an embodiment, in operations 2111 to 2115, the user terminal 100 and the intelligent server 200 may be similar to Fig.17aIn other words, the user terminal 100 may receive a path rule for executing a read function by processing a user input through the smart server 200. Therefore, further description will be omitted.

[0274] According to an embodiment, in operations 2121 to 2129, the user terminal 100 and the intelligent server 200 may be similar to Fig.17a In other words, the user terminal 100 may perform a read function on the received first message through the intelligent server 200 according to the path rule. Therefore, further description will be omitted.

[0275] According to an embodiment, in operation 2125′, the execution manager module 147 of the user terminal 100 may be similar to Fig.17a In operation 1725' in , the execution manager module 147 may determine whether the chat mode is supported. According to an embodiment, in operation 2126', the execution manager module 147 may request the content of the received first message from the application (e.g., the messaging application) 141, and may obtain the content of the received first message. According to an embodiment, in operation 2127', the execution manager module 147 may determine whether the content of the reply is included in the first message. When the content of the reply is included in the first message, the execution manager module 147 may provide feedback to the user for executing the chat mode.

[0276] According to an embodiment, in operations 2131 to 2137, the user terminal 100 and the intelligent server 200 may be similar to Fig.17c In other words, the user terminal 100 can provide feedback to the user through the intelligent server 200.

[0277] According to an embodiment, in operations 2141 to 2145, the user terminal 100 and the intelligent server 200 may be similar to Fig.17d Operations 1761 to 1765 are performed. In other words, the user terminal 100 may receive, through the intelligent server 200, a path rule for executing the chat mode by processing the user input of the feedback.

[0278] According to an embodiment, in operations 2151 to 2153, the user terminal 100 may be similar to Fig.17d Operations 1771 to 1773 are performed. In other words, the user terminal 100 can execute the chat mode.

[0279] According to reference Figure 1 to Figure 21cIn certain embodiments of the present disclosure described, the user terminal 100 can provide a user experience (UE) similar to that occurring between users by executing a chat mode, wherein the chat mode can output messages received in response to user input through a speaker, and can send or receive messages through user voice.

[0280] Fig. 22 is a block diagram showing an electronic device in a network environment according to certain embodiments. According to certain embodiments disclosed in the present disclosure, the electronic device may include various types of devices. For example, the electronic device may include at least one of the following: a portable communication device (e.g., a smart phone), a computer device (e.g., a personal digital assistant (PDA), a tablet personal computer (PC), a laptop PC, a desktop PC, a workstation, or a server), a portable multimedia device (e.g., an e-book reader or an MP3 player), a portable medical device (e.g., a heart rate, blood sugar, blood pressure, or a thermometer), a camera, or a wearable device. The wearable device may include at least one of an accessory type device (e.g., a clock, a ring, a bracelet, an anklet, a necklace, glasses, contact lenses, or a head mounted device (HMD)), a one-piece fabric or clothing type device (e.g., electronic clothing), a body accessory type device (e.g., a skin pad or a tattoo), or a bio-implantable circuit. Depending on an embodiment, the electronic device may include at least one of the following, such as a television, a digital versatile disc (DVD) player, an audio device, an audio auxiliary device (e.g., a speaker, a headset or earphones), a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air vacuum cleaner, a set-top box, a home automation control panel, a security control panel, a game console, an electronic dictionary, an electronic key, a camcorder or an electronic photo frame.

[0281] According to another embodiment, the electronic device may include at least one of the following: a navigation device, a global navigation satellite system (GNSS), an event data recorder (EDR) (e.g., a black box for a vehicle / ship / aircraft), a vehicle infotainment device (e.g., a head-up display for a vehicle), an industrial or home robot, a drone, an automated teller machine (ATM), a point-of-sale (POS) device, a measuring instrument (e.g., a water, electricity, or gas measuring instrument), or at least one of the Internet of Things (e.g., a light bulb, a sprinkler device, a fire alarm, a thermostat, or a street lamp). According to an embodiment of the present disclosure, the electronic device may not be limited to the above-mentioned electronic devices. In addition, for example, in the case of a smart phone equipped with a measurement function of personal biometric information (e.g., heartbeat or blood sugar), the electronic device may provide the functions of multiple devices in a composite manner. The term "user" used here may refer to a person using an electronic device, or may refer to a device (artificial intelligence electronic device) using the electronic device.

[0282] Reference Fig. 22, the electronic device 2201 may communicate with the electronic device 2202 through the first network 2298 (e.g., short-range wireless communication), or may communicate with the electronic device 2204 or the server 2208 through the second network 2299 (e.g., long-range wireless communication) in the network environment 2200. According to an embodiment, the electronic device 2201 may communicate with the electronic device 2204 through the server 2208. According to an embodiment, the electronic device 2201 may include a processor 2220, a memory 2230, an input device 2250, a sound output device 2255, a display device 2260, an audio module 2270, a sensor module 2276, an interface 2277, a haptic module 2279, a camera module 2280, a power management module 2288, a battery 2289, a communication module 2290, a subscriber identification module 2296, and an antenna module 2297. According to some embodiments, at least one of the components of the electronic device 2201 (e.g., the display device 2260 or the camera module 2280) may be omitted, or other components may be added to the electronic device 2201. According to some embodiments, such as in the case where the sensor module 2276 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) is embedded in the display device 2260 (eg, a display), some components may be integrated and implemented.

[0283] The processor 2220 may operate, for example, software (e.g., program 2240) to control at least one of other components (e.g., hardware or software components) of the electronic device 2201 connected to the processor 2220, and may process and calculate various data. The processor 2220 may load a command set or data received from other components (e.g., sensor module 2276 or communication module 2290) into the volatile memory 2232, may process the loaded command or data, and may store the result data in the non-volatile memory 2234. According to an embodiment, the processor 2220 may include a main processor 2221 (e.g., a central processing unit or an application processor) and an auxiliary processor 2223 (e.g., a graphics processing device, an image signal processor, a sensor hub processor, or a communication processor), the auxiliary processor 2223 operating independently of the main processor 2221, additionally or alternatively using less power than the main processor 2221, or being designated as a designated function. In this case, the auxiliary processor 2223 may operate separately from the main processor 2221 or embedded.

[0284] In this case, when the main processor 2221 is in an inactive (e.g., sleep) state, the auxiliary processor 2223, rather than the main processor 2221, may control, for example, at least some of the functions or states associated with at least one of the components of the electronic device 2201 (e.g., the display device 2260, the sensor module 2276, or the communication module 2290), or when the main processor 2221 is in an active (e.g., application execution) state, it controls together with the main processor 2221. According to an embodiment, the auxiliary processor 2223 (e.g., an image signal processor or a communication processor) may be implemented as a part of another component (e.g., a camera module 2280 or a communication module 2290) that is functionally related to the auxiliary processor 2223. The memory 2230 may store various data used by at least one component of the electronic device 2201 (e.g., the processor 2220 or the sensor module 2276), such as software (e.g., a program 2240) and input data or output data about commands associated with the software. The memory 2230 may include a volatile memory 2232 or a nonvolatile memory 2234 .

[0285] The program 2240 may be stored as software in the memory 2230 , and may include, for example, an operating system 2242 , middleware 2244 , or an application 2246 .

[0286] The input device 2250 may be a device for receiving a command or data for a component (eg, the processor 2220 ) of the electronic device 2201 from outside (eg, a user) of the electronic device 2201 , and may include, for example, a microphone, a mouse, or a keyboard.

[0287] The sound output device 2255 may be a device for outputting a sound signal to the outside of the electronic device 2201, and may include, for example, a speaker for general purposes such as multimedia playback or recording playback, and a receiver only for receiving calls. Depending on the embodiment, the receiver and the speaker may be implemented integrally or separately.

[0288] The display device 2260 may be a device for visually presenting information to a user of the electronic device 2201, and may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the corresponding device. According to an embodiment, the display device 2260 may include a touch circuit or a pressure sensor for measuring the intensity of pressure on a touch.

[0289] The audio module 2270 can bidirectionally convert sound and electrical signals. According to an embodiment, the audio module 2270 can obtain sound through the input device 2250, or can output sound through an external electronic device (e.g., electronic device 2202 (e.g., speaker or earphone)) connected to the sound output device 2255 or the electronic device 2201 by wire or wireless.

[0290] The sensor module 2276 may generate an electrical signal or data value corresponding to an internal operating state (e.g., power or temperature) or an external environmental state of the electronic device 2201. The sensor module 2276 may include, for example, a gesture sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0291] The interface 2277 may support a designated protocol for wired or wireless connection to an external electronic device such as the electronic device 2202. Depending on the embodiment, the interface 2277 may include, for example, an HDMI (High Definition Multimedia Interface), a USB (Universal Serial Bus) interface, an SD card interface, or an audio interface.

[0292] The connection terminal 2278 may include a connector that physically connects the electronic device 2201 to an external electronic device (e.g., the electronic device 2202), such as an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0293] The haptic module 2279 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation sensed by the user through tactile or kinesthetic sense. The haptic module 2279 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.

[0294] The camera module 2280 may capture a still image or a video image. According to an embodiment, the camera module 2280 may include, for example, at least one lens, an image sensor, an image signal processor, or a flash.

[0295] The power management module 2288 may be a module for managing power supplied to the electronic device 2201 and may function as at least a part of a power management integrated circuit (PMIC).

[0296] The battery 2289 may be a device for supplying power to at least one component of the electronic device 2201 and may include, for example, a non-rechargeable (primary) battery, a rechargeable (secondary) battery, or a fuel cell.

[0297] The communication module 2290 can establish a wired or wireless communication channel between the electronic device 2201 and an external electronic device (e.g., electronic device 2202, electronic device 2204, or server 2208), and support communication through the established communication channel. The communication module 2290 may include at least one communication processor that operates independently of the processor 2220 (e.g., an application processor) and supports wired communication or wireless communication. According to an embodiment, the communication module 2290 may include a wireless communication module 2292 (e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (Global Navigation Satellite System) communication module) or a wired communication module 2294 (e.g., a LAN (local area network) communication module or a power line communication module), and can use the corresponding communication modules between them to communicate with the external electronic device through the first network 2298 (e.g., a short-range communication network, such as Bluetooth, WiFi Direct or IrDA (Infrared Data Association)) or the second network 2299 (e.g., a long-range wireless communication network, such as a cellular network, the Internet, or a computer network (LAN or WAN)). The above-mentioned various communication modules 2290 can be implemented as a chip or a separate chip.

[0298] According to an embodiment, the wireless communication module 2292 may identify and authenticate the electronic device 2201 using user information stored in the subscriber identification module 2296 in the communication network.

[0299] The antenna module 2297 may include one or more antennas to send or receive signals or power to or from an external source. According to an embodiment, the communication module 2290 (e.g., the wireless communication module 2292) may send or receive signals to or from an external electronic device via an antenna suitable for the communication method.

[0300] Some of the components may be connected to each other via an inter-peripheral communication scheme such as a bus, GPIO (General Purpose Input / Output), SPI (Serial Peripheral Interface), or MIPI (Mobile Industry Processor Interface) to exchange signals such as commands or data with each other.

[0301] According to an embodiment, a command or data can be sent or received between an electronic device 2201 and an external electronic device 2204 by a server 2208 connected to a second network 2299. Each of the electronic devices 2202 and 2204 can be of the same or different type as the electronic device 2201. According to an embodiment, all or some operations performed by the electronic device 2201 can be performed by another electronic device or a plurality of external electronic devices. When the electronic device 2201 automatically or by request performs some functions or services, in addition to performing the functions or services by itself, or in place of performing the functions or services by itself, the electronic device 2201 can request the external electronic device to perform at least some functions related to the functions or services. The external electronic device receiving the request can perform the requested functions or additional functions, and send the result to the electronic device 2201. The electronic device 2201 can provide the requested functions or services as is or after processing the received results in addition based on the received results. For this purpose, cloud computing, distributed computing or client-server computing technology can be used, for example.

[0302] As used herein, the singular form may also include the plural form, unless the context clearly indicates otherwise. In the present disclosure disclosed herein, the expressions "A or B", "at least one of A or / and B", "A, B or C" or "one or more of A, B or / and C" etc. used herein may include any and all combinations of one or more related listed items. The expressions "first", "second", "first" or "second" used herein may refer to various components, regardless of order and / or importance, but do not limit the corresponding components. The above expressions are only used for the purpose of distinguishing components from other components. It should be understood that when a component (e.g., a first component) is referred to as (operably or communicatively) "connected" or "coupled" to another component (e.g., a second component), it may be directly connected or directly coupled to another component, or any other component (e.g., a third component) may be inserted between them.

[0303] It should be understood that when a component (e.g., a first component) is referred to as being (operably or communicatively) “connected” or “coupled” to another component (e.g., a second component), it may be directly connected or coupled to the other component, or any other component (e.g., a third component) may be inserted therebetween.

[0304] The term "module" used herein may represent, for example, a unit including one or more combinations of hardware, software, and firmware. The term "module" may be used interchangeably with the terms "logic", "logic block", "component", and "circuit". A "module" may be the smallest unit of an integrated component or may be a part thereof. A "module" may be the smallest unit for performing one or more functions or a part thereof. For example, a "module" may include an application specific integrated circuit (ASIC).

[0305] The term "module" used herein may represent, for example, a unit including one or more combinations of hardware, software, and firmware. The term "module" may be used interchangeably with the terms "logic", "logic block", "component", and "circuit". A "module" may be the smallest unit of an integrated component or may be a part thereof. A "module" may be the smallest unit for performing one or more functions or a part thereof. For example, a "module" may include an application specific integrated circuit (ASIC).

[0306] Certain embodiments of the present disclosure may be implemented by software (e.g., program 2240) including instructions stored in a machine-readable storage medium (e.g., internal memory 2236 or external memory 2238) that can be read by a machine (e.g., a computer). A machine may be a device that calls instructions from a machine-readable storage medium and operates according to the called instructions, and may include an electronic device (e.g., electronic device 2201). When an instruction is executed by a processor (e.g., processor 2220), the processor may directly execute the function corresponding to the instruction or use other components under the control of the processor to execute the function corresponding to the instruction. The instruction may include code generated or executed by a compiler or interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term "non-transitory" used in this article is a limitation on the medium itself (i.e., tangible, not a signal), rather than a limitation on the persistence of data storage.

[0307] Each component (such as module or program) according to certain embodiments may include at least one of the above-mentioned components, and a part of the above-mentioned subcomponents may be omitted, or other other subcomponents may be further included. Alternatively or additionally, some components (such as modules or programs) may be integrated in one component, and the same or similar functions performed by each corresponding component may be performed before integration. The operations performed by modules, programming or other components according to certain embodiments of the present disclosure may be performed sequentially, in parallel, repeatedly or in a heuristic manner. In addition, at least some operations may be performed, omitted, or other operations may be added in different orders.

[0308] While the present disclosure has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the present disclosure as defined by the appended claims and their equivalents.

Claims

1. Electronic equipment, include: Communication interface; Input interfaces, including microphone; Output interfaces, including speakers; at least one processor; as well as at least one memory, The instructions stored in the memory can be executed by the at least one processor to perform the following operations: receiving a first message from an external device via the communication interface; In response to receiving a first user input related to the first message through the input interface, converting a first text included in the first message into speech; Output the speech using the output interface; determining whether to perform an additional operation associated with the first message based on at least one of a state of the electronic device, the first message, and a second user input received through the microphone; and Based at least in part on the determination, initiating a dialog mode for performing the additional operation, wherein the conversation mode is initiated based on detecting that the first message includes a reply request, and Wherein, the at least one processor is configured as: In the conversation mode, when an end point of a user input through the microphone is detected, a message corresponding to the user input is sent to the external device, and when a message is received from the external device, a reading function of the received message is performed without additional user input.

2. The electronic device according to claim 1, in, The instructions can be further executed by the at least one processor to perform the following operations: providing, via the output interface, instructions for entering the conversation mode based at least in part on the determination; as well as A third user input for entering the conversation mode is received through the input interface.

3. The electronic device according to claim 1, in, The second user input includes receiving a user's voice through the microphone, The instructions can be further executed by the at least one processor to perform the following operations: converting the user utterance into a second text; and The second text is sent to the external device through the communication interface.

4. The electronic device according to claim 3, in, The user utterance is converted into the second text using speech-to-text processing.

5. The electronic device according to claim 1, in, Based on determining that the state of the electronic device is a pre-specified state, the dialog mode for performing the additional operation is initiated.

6. The electronic device according to claim 5, further comprising: include: monitor; as well as at least one sensor; as well as The instructions can be further executed by the at least one processor to perform the following operations: Detecting whether the user is able to view the display using at least one indicator detected by the sensor, wherein when the at least one indicator indicates that the user of the electronic device cannot view the display, initiating the dialogue mode for performing the additional operation.

7. The electronic device according to claim 6, in, The instructions are further executable by the at least one processor to detect, by using the at least one sensor, an object approaching the front of the electronic device from a position visible from the display, When it is detected that the object is in front of the electronic device, the dialogue mode for performing the additional operation is started.

8. The electronic device according to claim 6, in, The conversation mode is initiated when the state of the electronic device indicates that the electronic device is placed at a pre-specified location at a pre-specified time.

9. The electronic device according to claim 1, in, The conversation mode is initiated when it is detected that a pre-designated word is included in the second user input.

10. The electronic device according to claim 9, in, The pre-designated words include a command requesting generation and sending of a reply text to the first message.

11. The electronic device according to claim 9, in, The pre-designated words are stored in at least one memory of the electronic device and are associated with requesting a reply from a user of the electronic device.

12. A method implemented in an electronic device, the method include: receiving a first message from an external device via a communication interface; responsive to receiving, through an input interface including a microphone, a first user input associated with the first message, converting a first text included in the first message into speech; Outputting the speech through an output interface of the electronic device including a speaker; determining whether to perform an additional operation associated with the first message based on at least one of a state of the electronic device, the first message, and a second user input received through the microphone; as well as Based at least in part on the determination, initiating a dialog mode for performing the additional operation, wherein the conversation mode is initiated based on detecting that the first message includes a reply request, and Wherein, the method further comprises: In the conversation mode, when an end point of a user input through the microphone is detected, a message corresponding to the user input is sent to the external device, and when a message is received from the external device, a reading function of the received message is performed without additional user input.

13. The method according to claim 12, further comprising: include: providing, via the output interface, instructions for entering the conversation mode based at least in part on the determination; as well as A third user input for entering the mode is received through the input interface.

14. The method according to claim 12, in, The second user input includes receiving a user's voice through the microphone, and the method further includes: converting the user utterance into a second text; and The second text is sent to the external device through the communication interface.