Electronic device and method for controlling same

The electronic device addresses the inefficiency of repetitive wake-up operations by using voice recognition and user context information to maintain a wake-up state for continuous query processing, enhancing user interaction and efficiency in recognizing user queries.

WO2024177220A1PCT designated stage expired Publication Date: 2024-08-29SAMSUNG ELECTRONICS CO LTD

Patent Information

Application Number
PCT/KR2023/016872
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-23
Filing Date
2023-10-27
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing electronic devices require repetitive wake-up operations to recognize continuous user utterances and queries, which can be inconvenient and inefficient, especially when users need to perform multiple voice commands sequentially.

Method used

An electronic device with a microphone, speaker, and processors that detect a wake-up voice to switch from a standby to a wake-up state, allowing continuous voice recognition and query processing without separate wake-up operations by using ASR, NLU, and NLG modules, along with user context information to maintain the wake-up state based on semantic similarity and query relevance.

Benefits of technology

Enables seamless and efficient continuous voice recognition and query processing without the need for repetitive wake-up operations, improving user interaction by maintaining the wake-up state as long as the semantic similarity between queries exceeds a preset value, thus enhancing user experience and operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023016872_29082024_PF_FP_ABST
    Figure KR2023016872_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The electronic device comprises a microphone, a speaker, a memory for storing at least one instruction, and one or more processors functionally coupled to the memory and the speaker, wherein: the one or more processors are configured to execute at least one instruction; and the one or more processors switch, when first speech detected through the microphone is identified to correspond to wake-up speech, a state of the electronic device from a standby state to a wake-up state, identify, when second speech is detected while the state of the electronic device is the wake-up state, a first user query included in first speech data acquired on the basis of the second speech, perform a first operation corresponding to the first user query, identify a pre-configured query corresponding to the first user query, acquire a query list including at least one query on the basis of the pre-configured query and user context information, identify a second user query included in second speech data acquired on the basis of third speech detected through the microphone, and perform a second operation corresponding to the second user query and maintain the state of the electronic device to be the wake-up state when a first semantic similarity between the identified second user query and the at least one query included in the query list has a value equal to or greater than a pre-configured value.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method of controlling the same

[0001] The present disclosure relates to electronic devices and methods for controlling the same, and more particularly, to an electronic device and a method for controlling the same that provides a method for recognizing continuous utterances, inquiries, and / or voices of a user without repetitive wake-up operations.

[0002] Users of electronic devices can more easily perform actions through the device by entering user commands verbally, without having to go through complex operating procedures using buttons, touch panels, levers, sensors, etc. that may be equipped on the electronic device. (For example, providing inquiries and / or receiving responses.)

[0003] However, in order to interpret the user's voice and perform a corresponding action, the electronic device may first need to perform a wake-up operation, which initiates a preparatory phase for recognizing the user's voice. As used herein, the "wake-up operation" may refer to an operation that recognizes only the user's voice and / or commands intended to be input into the electronic device without misinterpreting the user's voice in everyday life.

[0004] For example, it can be used to interpret the meaning contained in a user's utterances, queries, and / or voice using an Automatic Speech Recognition (ASR) model, a Natural Language Understanding (NLU) module, a Natural Language Generation (NLG) module, etc., but is not limited to technologies using the modules mentioned above. These technologies can be used in electronic devices to perform actions intended by the user or provide answers required by the user.

[0005] Additionally, as part of the process by which an electronic device provides a response to a user, technology that converts text data into voice data, such as a Text-to-Speech (TTS) module, may be used, but is not limited thereto.

[0006] An electronic device according to one embodiment of the present disclosure includes a microphone, a speaker, a memory storing at least one instruction, and at least one processor executing at least one instruction, wherein the at least one processor, when a first voice detected through the microphone is identified as corresponding to a wake-up voice, switches the state of the electronic device from a standby state to a wake-up state, and when a second voice is detected while the state of the electronic device is in the wake-up state, identifies a first user query included in first voice data acquired based on the second voice, performs a first operation corresponding to the first user query, identifies a preset query corresponding to the first user query, obtains a query list including at least one query based on the preset query and user context information, and identifies a second user query included in second voice data acquired based on a third voice detected through the microphone, and, when a first semantic similarity between the identified second user query and at least one query included in the query list is greater than or equal to a preset value, performs a first operation corresponding to the first user query. A second action corresponding to the query can be performed and the state of the electronic device can be maintained in the wake-up state.

[0007] The one or more processors may, if the first semantic similarity is less than the preset value, switch the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query.

[0008] The one or more processors can identify a domain of the first user query and identify the preset query based on the domain.

[0009] The user context information may include at least one of the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device, and the user's usage history of the electronic device.

[0010] The one or more processors may identify a relevance of each of at least one query included in the query list with the first user query based on the preset query and user context information, identify a second semantic similarity between a corresponding query among the query list having the greatest relevance with the first user query and the second user query, and if the second semantic similarity is greater than or equal to a preset value, perform a second operation corresponding to the second user query and maintain the state of the electronic device in the wake-up state, and if the second semantic similarity is less than the preset value, switch the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query.

[0011] The user context information may include at least one of the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device, and the user's usage history of the electronic device, and the one or more processors may identify a domain of the first user query, identify the preset query based on the domain, assign a preset weight corresponding to the domain to the user context information, and obtain a query list including at least one query based on the preset query, the user context information, and the preset weight assigned to the user context information.

[0012] The one or more processors may exclude from the query list unperformable queries corresponding to operations that cannot currently be performed.

[0013] The one or more processors control the speaker to output a voice requesting confirmation of whether to perform a second operation corresponding to the second user query based on the domain being a domain requiring user confirmation, and if third voice data acquired based on the fourth voice detected through the microphone includes content approving performance of the second operation, the second operation corresponding to the second user query is performed and the state of the electronic device is maintained in the wake-up state, and if the third voice data does not include content approving performance of the second operation, the second operation corresponding to the second user query is not performed and the state of the electronic device is switched from the wake-up state to the standby state.

[0014] The one or more processors can identify a time taken from a first time point when the second voice is detected through the microphone until the third voice is detected through the microphone, and if the time taken is less than or equal to a preset time, the second query of the user can be identified from the second voice data acquired based on the third voice.

[0015] The one or more processors obtain the query list including the at least one query based on a first vector value output by a query prediction model based on the preset query and the user context information, and the query prediction model can be learned based on a second vector value generated by the query prediction model based on providing a third user query and user context information to the query prediction model.

[0016] In one embodiment of the present disclosure, a method for controlling an electronic device may include: when a detected first voice is identified as corresponding to a wake-up voice, switching the state of the electronic device from a standby state to a wake-up state; when a second voice detected from a microphone of the electronic device while the state of the electronic device is in the wake-up state is detected, identifying a first user query of a user included in first voice data acquired based on the second voice; performing a first operation corresponding to the first user query; identifying a preset query corresponding to the first user query; obtaining a query list including at least one query based on the preset query and user context information; identifying a second user query of the user included in second voice data acquired based on a third voice detected through the microphone; and performing a second operation corresponding to the second user query and maintaining the state of the electronic device in the wake-up state when a first semantic similarity between the second user query and at least one query included in the query list is greater than or equal to a preset value.

[0017] The above control method may further include a step of switching the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query if the first semantic similarity is less than the preset value.

[0018] The step of identifying the preset query may include the step of determining a domain of the first user query and the step of identifying the preset query based on the domain.

[0019] The user context information may include at least one of the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device, and the user's usage history of the electronic device.

[0020] The control method may include a step of identifying a relevance of each of the at least one query included in the query list with the first user query based on the preset query and user context information, a step of identifying a second semantic similarity between the corresponding query among the query list having the greatest relevance with the first user query and the second user query, a step of performing a second operation corresponding to the second user query and maintaining the state of the electronic device in the wake-up state when the second semantic similarity is greater than or equal to a preset value, and a step of switching the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query when the second semantic similarity is less than the preset value.

[0021] Aspects, features and advantages of specific embodiments of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings, in which:

[0022] FIG. 1 is a diagram illustrating an electronic device that performs a wake-up operation by recognizing a user's voice according to one or more embodiments of the present disclosure.

[0023] FIG. 2 is a block diagram illustrating a configuration of an electronic device according to one or more embodiments of the present disclosure.

[0024] FIG. 3 is a drawing for explaining an electronic device that performs a wake-up operation by recognizing a user's voice according to a conventional electronic device.

[0025] FIG. 4 is a diagram illustrating an electronic device that performs an operation of continuously recognizing a user's voice without repetitive wake-up operations, according to one or more embodiments of the present disclosure.

[0026] FIG. 5 is a diagram illustrating operations performed by each component of an electronic device when continuously recognizing a user's voice without repetitive wake-up operations using a query prediction model according to one or more embodiments of the present disclosure.

[0027] FIG. 6 is a diagram illustrating user context information according to one or more embodiments of the present disclosure.

[0028] FIG. 7 is a diagram illustrating an operation of excluding a query corresponding to an operation that cannot currently be performed from a query list according to one or more embodiments of the present disclosure.

[0029] FIG. 8 is a diagram illustrating a user confirmation operation for a query requiring user confirmation according to one or more embodiments of the present disclosure.

[0030] FIG. 9 is a diagram illustrating an operation of detecting and recognizing a subsequent query detected within a preset time from the time at which a user's query is detected, according to one or more embodiments of the present disclosure.

[0031] FIG. 10 is a diagram illustrating a configuration of an electronic device that recognizes a user's voice and performs an operation of continuously recognizing the user's voice without repetitive wake-up operations, according to one or more embodiments of the present disclosure.

[0032] FIG. 11 is a flowchart illustrating the operation of an electronic device according to one or more embodiments of the present disclosure.

[0033] The present embodiments may be modified and have various embodiments. Specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope to specific embodiments, but should be understood to encompass various modifications, equivalents, and / or alternatives of the embodiments of the present disclosure. In connection with the description of the drawings, similar reference numerals may be used for similar components.

[0034] In describing the present disclosure, if it is determined that a specific description of a related known function or configuration may unnecessarily obscure the gist of the present disclosure, a detailed description thereof will be omitted.

[0035] Additionally, the following embodiments may be modified in various other forms, and the scope of the technical concepts of the present disclosure is not limited to the following embodiments. Rather, these embodiments are provided to further faithfully and completely convey the technical concepts of the present disclosure to those skilled in the art.

[0036] The terminology used in this disclosure is for the purpose of describing specific embodiments only and is not intended to limit the scope of the rights. Singular expressions include plural expressions unless the context clearly dictates otherwise.

[0037] In this disclosure, expressions such as “has,” “can have,” “includes,” or “may include” indicate the presence of a corresponding feature (e.g., a component such as a number, function, operation, or part), and do not exclude the presence of additional features.

[0038] In this disclosure, expressions such as "A or B," "at least one of A and / or B," or "one or more of A or / and B" can include all possible combinations of the listed items. For example, "A or B," "at least one of A and B," or "at least one of A or B" can all refer to cases where only A is included, only B is included, or both A and B are included.

[0039] The expressions “first,” “second,” “first,” or “second,” etc., used in this disclosure may describe various components, regardless of order and / or importance, and may only be used to distinguish one component from another and may not limit the components.

[0040] When it is said that a component (e.g., a first component) is “(operatively and / or communicatively) coupled with / to” or “connected to” another component (e.g., a second component), it should be understood that the component may be directly coupled to the other component, or may be coupled via another component (e.g., a third component).

[0041] On the other hand, when it is said that a component (e.g., a first component) is "directly connected" or "directly connected" to another component (e.g., a second component), it can be understood that no other component (e.g., a third component) exists between the component and the other component.

[0042] The expression "configured to" as used in the present disclosure may be used interchangeably with, for example, "suitable for," "having the capacity to," "designed to," "adapted to," "made to," or "capable of." The term "configured to" may not necessarily mean only "specifically designed to" in terms of hardware.

[0043] Instead, in some contexts, the phrase "a device configured to" may mean that the device, in conjunction with other devices or components, is "capable of" performing A, B, and C. For example, the phrase "a processor configured (or set) to perform A, B, and C" may refer to a dedicated processor (e.g., an embedded processor) for performing those operations, or a general-purpose processor (e.g., a CPU or application processor) that can perform those operations by executing one or more software programs stored in a memory device.

[0044] In the embodiments, a 'module' or 'part' performs at least one function or operation, and may be implemented as hardware or software, or as a combination of hardware and software. Furthermore, a plurality of 'modules' or 'parts' may be integrated into at least one module and implemented as at least one processor, except for a 'module' or 'part' that needs to be implemented as a specific hardware.

[0045] The various elements and areas in the drawings are schematically drawn. That is, the technical idea of ​​the present invention is not limited by the relative sizes or spacing drawn in the attached drawings.

[0046] Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the attached drawings so that a person having ordinary knowledge in the technical field to which the present disclosure pertains can easily implement the present disclosure.

[0047] FIG. 1 is a diagram illustrating an electronic device that performs a wake-up operation by recognizing a user's voice according to one or more embodiments of the present disclosure.

[0048] Referring to FIG. 1, the electronic device (100) may detect a user's wake-up voice (e.g., speech and / or inquiry) and perform a wake-up operation. Here, the wake-up operation may be an operation that switches the state of the electronic device (100) from a standby state to a wake-up state.

[0049] For example, when the electronic device (100) is in a standby state, the electronic device (100) may not detect an external voice, or even if it detects an external voice (e.g., from a user), it may not perform an action corresponding to the external voice. In addition, when the electronic device (100) is in a standby state, it may not be able to acquire data corresponding to the detected voice, or it may not perform an action corresponding to the acquired voice data. That is, when the electronic device (100) is in a standby state, at least one action and / or function of the electronic device (100), such as a TTS module, may be deactivated.

[0050] When a voice corresponding to a wake-up voice is detected while the electronic device (100) is in a standby state, a wake-up operation may be performed to switch the state of the electronic device (100) from the standby state to the wake-up state. For example, the wake-up operation may include an operation to switch the state of the electronic device (100) from the standby state to the wake-up state. That is, the electronic device (100) may be switched from the standby state to the wake-up state by detecting the wake-up voice.

[0051] When the electronic device (100) is in a wake-up state, the electronic device (100) can detect an external voice and perform an action corresponding to the detected external voice.

[0052] The wake-up action is to recognize only the user's voice or command that the device wants to input, without misrecognizing the user's voice in everyday life (e.g., interpreting it differently).

[0053] For example, the electronic device (100) can detect a wake-up voice such as “Hi Bixby” and perform a wake-up operation. That is, the electronic device (100) can control the speaker (120) to output a notification sound and / or sound effect such as “tiring” to notify the user of whether or not to perform the wake-up operation.

[0054] After performing a wake-up operation, the electronic device (100) can detect the user's voice and identify a user command (or query) contained in the voice data based on the acquired voice data. That is, the electronic device (100) can extract a user command from the acquired voice data based on the user's voice. The electronic device (100) can perform an operation corresponding to the identified user command, for example, controlling an external device or providing a response.

[0055] In some embodiments, the electronic device (100) may include essential device components (e.g., hardware and / or software components) to detect a user's voice (e.g., utterance or query) and perform voice recognition and voice-corresponding actions.

[0056] The electronic device (100) can perform a wake-up operation when the detected voice corresponds to a wake-up voice and then perform an operation corresponding to a user's voice command received thereafter.

[0057] For example, whenever a user attempts to input a voice command, the user must utter a voice corresponding to the wake-up voice immediately before inputting the voice command. In this way, when a user wishes to command the electronic device (100) to perform multiple voice commands in succession, the user may experience the inconvenience of having to utter the wake-up voice before performing each voice command.

[0058] Therefore, there is a need to perform an operation by recognizing continuous speech without separate wake-up voice recognition, such as in an electronic device (100) according to one or more embodiments of the present disclosure.

[0059] FIG. 2 is a block diagram illustrating a configuration of an electronic device (100) according to one or more embodiments of the present disclosure.

[0060] Referring to FIG. 2, the electronic device (100) may include a microphone (110), a speaker (120), a memory (130), and one or more processors (140) (hereinafter, referred to as processors (140)). However, the configuration of the electronic device (100) is not limited thereto, and may include additional components such as a user interface and a communication interface, or may omit some of them, in order to recognize a user's voice and perform corresponding operations. Alternatively or additionally, the configuration of the electronic device (100) may omit one or more components or arrange the components differently.

[0061] A microphone (110) may refer to a module that acquires sound and converts it into an electrical signal, and may be a condenser microphone, a ribbon microphone, a moving coil microphone, a piezoelectric element microphone, a carbon microphone, or a MEMS (Micro Electro Mechanical System) microphone. In addition, it may be implemented in an omnidirectional, bidirectional, unidirectional, subcardioid, supercardioid, or hypercardioid manner.

[0062] The processor (140) can detect voice in real time through the microphone (110) and acquire voice data corresponding to the detected voice. In addition, the processor (140) can insert authentication information into the acquired voice data using an inaudible frequency insertion method to generate audio data.

[0063] The processor (140) can detect the user's voice through the microphone (110) and acquire voice data. If the acquired voice data is identified as corresponding to the user's wake-up voice, the processor (140) can perform a wake-up operation.

[0064] In addition, the processor (140) can identify a user command included in the acquired voice data. The processor (140) can control the speaker (120) to perform an action corresponding to the identified user command or output a response corresponding to the identified user query.

[0065] Here, the processor (140) can identify a user command included in the acquired voice data using an ASR (Automatic Speech Recognition) model, an NLU (Natural Language Understanding) module, an NLG (Natural Language Generation) module, etc.

[0066] The speaker (120) may be composed of a tweeter for reproducing high-frequency sounds, a midrange for reproducing mid-frequency sounds, a woofer for reproducing low-frequency sounds, a subwoofer for reproducing ultra-low-frequency sounds, an enclosure for controlling resonance, a crossover network for dividing the frequency of an electric signal input to the speaker (120) into bands, etc.

[0067] The speaker (120) can output an audio signal to the outside of the electronic device (100). The speaker (120) can output multimedia playback, recording playback, various notification sounds, voice messages, etc. The electronic device (100) may include an audio output device such as the speaker (120), but may also include an output device such as an audio output terminal. In particular, the speaker (120) can provide acquired information, information processed and produced based on acquired information, a response result to a user's voice, and / or another voice signal (e.g., a signal tone, a chime, etc.) in the form of voice.

[0068] The processor (140) may control the speaker (120) to output a voice including a notification or response corresponding to the identified user's query and / or user's command. Alternatively or additionally, the processor (140) may control the speaker (120) to output a voice including a response corresponding to the identified user's query and / or user's command.

[0069] In some embodiments, the processor (140) may control the speaker (120) to output the converted voice through the TTS module.

[0070] The memory (130) can temporarily and / or non-temporarily store various programs and / or data, and transmit the stored information to the processor (140) upon a call from the processor (140). In addition, the memory (130) can store various information necessary for calculation, processing, or control operations of the processor (140) in an electronic format.

[0071] The memory (130) may include, for example, at least one of a main memory and an auxiliary memory. The main memory may be implemented using a semiconductor storage medium such as ROM and / or RAM. The ROM may include, for example, a conventional ROM, EPROM, EEPROM, and / or MASK-ROM. The RAM may include, for example, DRAM and / or SRAM. The auxiliary memory may be implemented using at least one storage medium capable of permanently or semi-permanently storing data, such as a flash memory (130) device, an SD (Secure Digital) card, a solid state drive (SSD), a hard disk drive (HDD), an optical media such as a magnetic drum, a compact disc (CD), a DVD, or a laser disc, a magnetic tape, a magneto-optical disc, and / or a floppy disk.

[0072] The memory (130) can store information about a wake-up voice. Here, the wake-up voice may be, but is not limited to, “Hi Bixby.”

[0073] The memory (130) can store information about a user's voice or a user's query. The memory (130) can store a query list including at least one user query. The memory (130) can store domain information corresponding to the user's voice or the user's query. The memory (130) can store information about a domain requiring user verification.

[0074] The memory (130) may store user context information, such as the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device (100), and the user's usage history of the electronic device (100). However, the user context information is not limited thereto. In addition, the memory (130) may store weight information assigned to each piece of user context information.

[0075] The memory (130) may store information about the degree of relevance between different queries (e.g., the degree of likelihood that different queries will be identified consecutively) and the degree of semantic similarity between different queries. In the present disclosure, the degree of relevance may refer to the likelihood that different queries will be identified consecutively.

[0076] The memory (130) can store information about an Automatic Speech Recognition (ASR) model, a Natural Language Understanding (NLU) module, a Natural Language Generation (NLG) module, and / or a Text-to-Speech (TTS) module.

[0077] The memory (130) can store information about a neural network model, for example, a query prediction model.

[0078] The memory (130) can store information about each model's layer, node, weight, loss function, input data, output data, and other learning data involved in the voice recognition operation.

[0079] One or more processors (140) control the overall operation of the electronic device (100). For example, the processor (140) may be connected (e.g., communicatively connected) to the configuration of the electronic device (100) including the memory (130) as described above. The processor (140) may control the overall operation of the electronic device (100) by executing at least one instruction stored in the memory (130) as described above. In some embodiments, the processor (140) may be implemented as a single processor (140) or may be implemented as a plurality of processors (140).

[0080] The processor (140) may be implemented in various ways. For example, one or more processors (140) may include one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), an Accelerated Processing Unit (APU), a Many Integrated Core (MIC), a Digital Signal Processor (DSP), a Neural Processing Unit (NPU), a hardware accelerator, or a machine learning accelerator. The one or more processors (140) may control one or any combination of other components of the electronic device (100) and perform operations related to communication or data processing. The one or more processors (140) may execute one or more programs or instructions stored in the memory (130). For example, the one or more processors (140) may perform a method according to an embodiment of the present disclosure by executing one or more instructions stored in the memory (130).

[0081] When a method according to an embodiment of the present disclosure includes a plurality of operations, the plurality of operations may be performed by one processor (140) or may be performed by a plurality of processors (140). For example, when a first operation, a second operation, and a third operation are performed by a method according to an embodiment, the first operation, the second operation, and the third operation may all be performed by the first processor, or the first operation and the second operation may be performed by the first processor (e.g., a general-purpose processor) and the third operation may be performed by the second processor (e.g., an artificial intelligence-only processor).

[0082] One or more processors (140) may be implemented as a single core processor (140) including one core, or may be implemented as one or more multi-core processors (multicore processors) including multiple cores (e.g., homogeneous multi-cores or heterogeneous multi-cores). When one or more processors (140) are implemented as multi-core processors, each of the multiple cores included in the multi-core processor may include an internal memory of the processor (140), such as an on-chip memory (130), and a common cache shared by the multiple cores may be included in the multi-core processor. In addition, each of the multiple cores (or some of the multiple cores) included in the multi-core processor may independently read and execute a program instruction for implementing a method according to an embodiment of the present disclosure, or all (or some) of the multiple cores may be linked to read and execute a program instruction for implementing a method according to an embodiment of the present disclosure.

[0083] When a method according to one or more embodiments of the present disclosure includes a plurality of operations, the plurality of operations may be performed by one core among the plurality of cores included in a multi-core processor, or may be performed by the plurality of cores. For example, when a first operation, a second operation, and a third operation are performed by a method according to one embodiment, the first operation, the second operation, and the third operation may all be performed by a first core included in the multi-core processor, or the first operation and the second operation may be performed by a first core included in the multi-core processor (140), and the third operation may be performed by a second core included in the multi-core processor (140).

[0084] In one or more embodiments of the present disclosure, the processor (140) may mean a system on a chip (SoC) in which one or more processors (140) and other electronic components are integrated, a single-core processor, a multi-core processor, or a core included in a single-core processor or a multi-core processor, wherein the core may be implemented as a CPU, a GPU, an APU, a MIC, a DSP, an NPU, a hardware accelerator, or a machine learning accelerator, but the embodiments of the present disclosure are not limited thereto.

[0085] The processor (140) can identify whether the first voice detected through the microphone (110) corresponds to a wake-up voice. If the processor (140) identifies that the first voice corresponds to a wake-up voice, the processor (140) can switch the state of the electronic device (100) from a standby state to a wake-up state.

[0086] For example, the standby state may be a state in which no external voice is detected, or a state in which an action corresponding to an external voice is not performed even if an external voice is detected, and even if the electronic device (100) detects an external voice (e.g., from a user), the electronic device (100) may not perform an action corresponding to the external voice. When the state of the electronic device (100) is a standby state, it may be a state in which data corresponding to the detected voice cannot be acquired or the TTS module may be inactive, making it impossible to perform an action corresponding to the acquired voice data.

[0087] The wake-up state may be a state in which an external voice is detected and voice data is acquired based on the external voice. In addition, when in the wake-up state, the processor (140) may perform an operation corresponding to the acquired voice data.

[0088] When a second voice is detected while the state of the electronic device (100) is in a wake-up state, the user's first query included in the first voice data acquired based on the second voice can be identified.

[0089] A user's first query may be asking for information they want to know.

[0090] The processor (140) may perform an operation corresponding to the first query. Here, the operation corresponding to the first query may be an operation in which the processor (140) controls a portion of the electronic device (100) to provide a service to the user. Additionally, the operation may be an operation in which the speaker (120) is controlled to output a response to the user's query.

[0091] The processor (140) can identify a query corresponding to the first query. Here, the query corresponding to the first query is a different query than the first query and may be any query candidate that can be identified subsequently after the first query. In addition, the query corresponding to the first query may be related to a domain corresponding to the first query (e.g., weather, directions, schedule, etc.). In other words, the first query and the query corresponding to the first query may correspond to the same domain but may be different queries.

[0092] The processor (140) may obtain a query list including at least one query based on the query and user context information corresponding to the first query. Here, the user context information may include, but is not limited to, the current status of the electronic device (100), the user's history of using the electronic device (100), the user's history of queries, time, location, temperature, etc.

[0093] The processor (140) can identify the user's second query included in the second voice data acquired based on the third voice detected through the microphone (110).

[0094] If the identified second query has a semantic similarity with at least one query included in the query list greater than a preset value, the processor (140) can perform an operation corresponding to the second query and maintain the wake-up state of the electronic device (100).

[0095] However, if the semantic similarity of the second query to at least one query included in the query list is less than a preset value, the processor (140) may not perform an operation corresponding to the second query or may switch the state of the electronic device (100) from a wake-up state to a standby state.

[0096] In the above method, if the user's first voice corresponds to the wake-up voice, the processor (140) can switch the state of the electronic device (100) from the standby state to the wake-up state. While the state of the electronic device (100) is in the wake-up state, the processor (140) can perform an operation corresponding to the first query corresponding to the user's second voice, and can obtain a query list including subsequent queries that are likely to be continuously identified based on the first query. If the second query corresponding to the user's third voice obtained after the first query has a semantic similarity greater than or equal to a preset value with a query included in the previously obtained query list, the processor (140) can perform an operation corresponding to the second query and maintain the state of the electronic device (100) in the wake-up state.

[0097] As a result, the processor (140) can select a candidate for a subsequent query that can be identified sequentially following a preceding query, and when a subsequent query corresponding thereto is identified, it can perform an operation corresponding to the user's subsequent query without performing a separate additional wake-up operation.

[0098] Below, the control operation of the electronic device (100) of the processor (140) is described in more detail with reference to FIGS. 3 to 10.

[0099] FIG. 3 is a drawing for explaining an electronic device (100) that performs a wake-up operation by recognizing a user's voice according to a conventional electronic device.

[0100] Referring to FIG. 3, the electronic device (100) must first perform a wake-up operation to identify the user's query based on voice data acquired by detecting the user's voice. The wake-up operation may be an operation that switches the state of the electronic device from a standby state to a wake-up state.

[0101] For example, when the electronic device (100) is in a standby state, the electronic device (100) does not detect an external voice, or even if it detects an external voice, it does not perform an action corresponding to the external voice. In addition, when the electronic device (100) is in a standby state, it may not be able to acquire data corresponding to the detected voice, or the TTS module may be deactivated, making it impossible to perform an action corresponding to the acquired voice data.

[0102] When a voice corresponding to a wake-up voice is detected while the electronic device (100) is in a standby state, a wake-up operation can be performed to switch the state of the electronic device (100) from a standby state to a wake-up state.

[0103] When the electronic device (100) is in a wake-up state, the electronic device (100) can detect an external voice and perform an action corresponding to the detected external voice.

[0104] The electronic device (100) can detect the user's voice through the microphone (110) and identify whether the acquired voice data includes the user's wake-up voice (310) (e.g., the voice "Hi Bixby").

[0105] If the acquired voice data includes the user's wake-up voice (310), the electronic device (100) can perform a wake-up operation and output a notification sound (320) notifying the wake-up operation, for example, a voice such as "tiring."

[0106] Here, when a user makes consecutive queries (e.g., when making multiple different queries consecutively), the operation of detecting the user's wake-up voice (310) and outputting a wake-up notification sound (320) must be repeated each time. Therefore, the wake-up operation, i.e., the operation of the processor (140) switching the state of the electronic device (100) from a standby state to a wake-up state, had to be repeated. Therefore, the operations corresponding to the user's queries may not be performed continuously and quickly.

[0107] FIG. 4 is a diagram illustrating an electronic device (100) that performs an operation of continuously recognizing a user's voice without repetitive wake-up operations according to one or more embodiments of the present disclosure.

[0108] Referring to FIG. 4, the electronic device (100) initially detects the user's wake-up voice (310) and outputs a wake-up notification sound (320), and then, without performing a separate wake-up operation, that is, the processor (140) maintains the state of the electronic device (100) to detect the user's voice and identify the user's continuous inquiry (410) based on the acquired voice data. The electronic device (100) can control the speaker (120) to output a continuous action (420) corresponding to the identified user's continuous inquiry (410). For example, the continuous action (420) can provide an answer to the user's continuous inquiry (410).

[0109] In some embodiments, the electronic device (100) may obtain a list of subsequent queries that are likely to be identified sequentially following an initially identified preceding query, and when a subsequent query is identified that has a semantic similarity greater than a preset value with a subsequent query included in the query list, the electronic device may perform an operation corresponding to the identified subsequent query without performing a separate wake-up operation.

[0110] Specifically, if the identified semantic similarity is greater than or equal to a preset value, the processor (140) may perform an operation corresponding to the second query and maintain the state of the electronic device (100) in a wake-up state.

[0111] On the other hand, if the semantic similarity is less than the preset value, the processor (140) may not perform an operation corresponding to the second query and may switch the state of the electronic device (100) from a wake-up state to a standby state.

[0112] When the state of the electronic device (100) is switched from a wake-up state to a standby state, the processor (140) does not detect an external voice or does not acquire voice data corresponding to the detected external voice until a detected voice corresponding to the wake-up voice is detected. In another embodiment, when the state of the electronic device (100) is a standby state, the TTS module of the electronic device (100) may be deactivated, so the processor (140) may not be able to perform an operation corresponding to an external voice.

[0113] When an external voice corresponding to a wake-up voice is detected after the state of the electronic device (100) has been switched from a wake-up state to a standby state, the processor (140) can switch the state of the electronic device (100) from the standby state to the wake-up state again.

[0114] The operation of the electronic device (100) described in FIG. 4 can be implemented using a query prediction model as further described with reference to FIG. 5.

[0115] FIG. 5 is a diagram for explaining operations performed by each component of an electronic device (100) when continuously recognizing a user's voice without repetitive wake-up operations using a query prediction model according to one or more embodiments of the present disclosure.

[0116] Referring to FIG. 5, the processor (140) can detect the user's first voice through the microphone (110) and identify whether the first voice corresponds to a wake-up voice. If the processor (140) identifies that the first voice corresponds to a wake-up voice, the processor (140) can switch the state of the electronic device (100) from a standby state to a wake-up state.

[0117] When a second voice is detected while the electronic device (100) is in a wake-up state, the processor (140) can obtain first voice data based on the second voice (operation ①).

[0118] As shown in FIG. 5, the user's first voice may be a wake-up voice such as "Hi Bixby," the second voice may be a user query such as "Tell me the weather today," and the first voice data acquired based on the second voice may be "today" or "weather." However, the present disclosure is not limited thereto.

[0119] The processor (140) can convert the first voice data into problem data using an ASR (Automatic Speech Recognition) model (10).

[0120] The ASR model (10) may include a model that analyzes the waveform of acquired voice data and identifies corresponding text data. In some embodiments, the ASR model (10) may include a preprocessing module that augments voice data, an Acoustic Model (AM) that analyzes the waveform of the voice data, a Language Model (LM), etc.

[0121] The processor (140) can identify the meaning of the user's first query included in the text data obtained through the Dialog Manager (30) including the NLU (Natural Language Understanding) module, the NLG (Natural Language Generation) module, etc., for example, a question asking about the weather.

[0122] In some embodiments, the processor (140) may identify the domain of the first query based on the meaning of the first query. For example, the processor (140) may identify that the domain of the first query “Tell me today’s weather” is “weather.”

[0123] When the processor (140) identifies the domain of the identified first query (e.g., when the first query is identified as a question asking about the weather), it can transmit the first query information to the Weather Agent (40) (Operation ②).

[0124] If the first query is “Tell me today’s weather,” the processor (140) can identify an action corresponding to the first query and at least one query corresponding to the first query through the Weather Agent (40) and transmit them to the Dialog Manager (30) (action ③).

[0125] For example, if the first query is "Tell me the weather today," the corresponding action may be an action that provides an answer corresponding to the first query, for example, "The weather today is sunny," and at least one query corresponding to the first query may mean a query candidate that is likely to be identified subsequent to the first query.

[0126] The processor (140) may identify a query list (510) including at least one query corresponding to the first query based on the identified domain, for example, "weather." For example, the query list (510) may include queries such as "Tell me the weather tomorrow," "How is the fine dust?", "How long will it rain?", etc. In other words, the first query and the query corresponding to the first query may correspond to the same domain, "weather."

[0127] The processor (140) can generate response text data corresponding to the first query, “The weather is clear today,” through the Dialog Manager (30).

[0128] The processor (140) can obtain voice data corresponding to the response text data obtained using the TTS (Text-to-Speech) module (20) and control the speaker (120) to output the obtained voice data (operation ④).

[0129] The processor (140) can transmit the first query of the identified user and at least one query corresponding to the first query to the Personalized User-Dialog Learner (50) (⑤).

[0130] The processor (140) can obtain user context information (520) through the Context Manager (60).

[0131] FIG. 6 is a diagram illustrating user context information (520) according to one or more embodiments of the present disclosure.

[0132] Referring to FIG. 6, the user context information (520) may include a user's query history and a response history to the user's query. In addition, the user context information (520) may include at least one of the user's location (e.g., home - living room) (610), current time (e.g., weekday morning) (620), ambient temperature (e.g., 31°C) (630), the status of the electronic device (100) (power on / off) (640), and the user's usage history of the electronic device (100). However, the present disclosure is not limited thereto.

[0133] Returning to FIG. 5, the Context Manager (60) is connected to the User Device (70-1), the Home Device (70-2), the Home Sensor (70-3), etc. through a communication interface and can receive information about the user's location (610), current time (620), ambient temperature (630), current status (640) of the electronic device (100), and the user's usage history of the electronic device (100).

[0134] The processor (140) can transmit user context information (520) acquired through the Context Manager (60) to the Personalized User-Dialog Learner (50) (Operation ⑥).

[0135] The processor (140) can obtain a query list (530) including at least one query, for example, "How long does it take to get to work?", "How is the fine dust?", "Tell me my schedule today", "Turn on the air conditioner", etc., based on at least one statement and user context information corresponding to the first query through the Personalized User-Dialog Learner (50).

[0136] Here, at least one query included in the query list (530) is obtained by combining the query list (520) corresponding to the same domain as the first query and the user context information (520), and may correspond to the same domain as the first query or may correspond to a different domain from the first query.

[0137] For example, if a user's current location (610) is near home and the current time (620) is a weekday morning, the user is likely to utter a follow-up query, "How long does it take to get to work?" after the initial query, "Tell me the weather today." In this example, a query list (530) containing the query, "How long does it take to get to work?" can be obtained.

[0138] That is, by considering user context information (520) together, it is possible to obtain a query corresponding to a different domain as well as the same domain as the domain of the first query.

[0139] In some embodiments, the processor (140) may input a query (510) and user context information (520) corresponding to the first query into a query prediction model and identify a query list (530) including at least one query based on the output vector value. The query prediction model may be learned based on the output vector value by inputting the user's query and user context information into the query prediction model (Operation ⑧).

[0140] The processor (140) can transmit the acquired query list (530) to the Dialog Maneger (30) (action ⑦).

[0141] Thereafter, the processor (140) can identify the user's second query included in the second voice data acquired based on the user's third voice detected through the microphone (110).

[0142] If the identified second query has a semantic similarity with at least one query included in the query list (530) greater than a preset value, the processor (140) can perform an operation corresponding to the second query and maintain the state of the electronic device (100) in a wake-up state.

[0143] If the semantic similarity is less than the preset value, the processor (140) may not perform an operation corresponding to the second query and may switch the state of the electronic device (100) from a wake-up state to a standby state. In other words, the processor (140) may prevent an operation corresponding to the second query from being performed.

[0144] For example, if the identified second query is about the time it takes to get to the company and has a semantic similarity with the query “How long does it take to get to the company?” included in the query list (530) that is greater than a preset value, an action corresponding to the second query, that is, calculating the time it takes to get to the company and providing an answer, can be performed.

[0145] In addition, the processor (140) can identify the relevance of each of at least one query included in the query list to the first query based on the query and user context information corresponding to the first query.

[0146] For example, the relevance to the first query can be identified based on the user's query history, query response history, current time (620), user's location, ambient temperature (630), etc.

[0147] In the present disclosure, the degree of relevance to the first query may indicate the degree of likelihood of being identified as the next query after the first query. A higher degree of relevance to the first query may indicate a higher likelihood of being identified as the next query after the first query.

[0148] For example, the more history the processor (140) has of identifying queries about “schedule” after identifying queries about “weather” in normal times, the more likely it is that the processor (140) will identify the query about “schedule” as a query with a high degree of relevance to the user’s first query about “weather.”

[0149] The processor (140) may identify the semantic similarity between at least one query included in the query list (530) and the second query, which is identified as having a higher degree of relevance to the first query. That is, the processor (140) may identify the semantic similarity between the identified second query and the first query, which has the highest degree of relevance (e.g., maximum relevance). In some practical examples, the processor (140) may rank (e.g., sort) the query list (530) based on the degree of relevance to the first query. In such embodiments, the processor (140) may select the highest-ranked query from the query list (530). However, the present disclosure is not limited thereto, and the query list may be ranked based on other factors and / or values.

[0150] If the identified semantic similarity is greater than a preset value, the processor (140) can perform an operation corresponding to the second query.

[0151] In some embodiments, the processor (140) may identify the meaning contained in a sentence by using a neural network model that extracts the meaning contained in the character data.

[0152] Accordingly, based on user context information such as the user's query history, query response history, current time (620), current temperature (630), and user location (610), a query that is likely to be identified after the first query can be compared with the second query that is identified first, and an action corresponding to the query can be performed.

[0153] Additionally, the processor (140) can assign a preset weight corresponding to the domain of the identified first query to each piece of user context information (520).

[0154] The processor (140) can obtain a query list (530) including at least one query based on a query (510) corresponding to the first query, user context information (520), and a weight assigned to each of the user context information.

[0155] For example, if the domain of the identified first query is "weather", among the user context information (520), relatively high weights are assigned to "user's query history" and "user's query response history", and relatively low weights are assigned to "user's location" to identify the subsequent queries that the user will make after the query about "weather". In this case, if the user has a query history in which the user made a query about "weather" and then a query about "schedule", a query list (530) including the query "Tell me my schedule today" can be obtained.

[0156] In some embodiments, the processor (140) may exclude from the query list (530) at least one query included in the acquired query list (530) a query corresponding to an operation that cannot currently be performed.

[0157] FIG. 7 is a diagram illustrating an operation of excluding a query corresponding to an operation that cannot currently be performed from a query list according to one or more embodiments of the present disclosure.

[0158] Referring to FIG. 7, when the processor (140) performs a communication connection with the air conditioner (700) through a communication interface and identifies that the air conditioner (700) is already turned on, the query (710) “Turn on the air conditioner” can be excluded from the query list (530) obtained from the query list (530).

[0159] The processor (140) can reduce unnecessary operations and prevent misrecognition by excluding queries that cannot currently be performed from the query list (530).

[0160] The processor (140) can identify the domain of the second query, and if the identified domain of the second query is a domain requiring user confirmation, control the speaker (120) to output a voice confirming whether or not to perform an action corresponding to the second query.

[0161] If the third voice data acquired based on the fourth voice detected through the microphone (110) includes content approving the performance of an action corresponding to the second query, the processor (140) can perform the action corresponding to the second query and maintain a wake-up state.

[0162] If the third voice data does not include content approving the performance of an action corresponding to the second query, the processor (140) may not perform the action corresponding to the second query and may switch the state of the electronic device (100) from a wake-up state to a standby state.

[0163] FIG. 8 is a diagram illustrating a user confirmation operation for a query requiring user confirmation according to one or more embodiments of the present disclosure.

[0164] Referring to FIG. 8, if the user's second query is "Turn off the car engine" (810), the domain of the second query may be "Turn the device on / off" or "Safety", and the processor (140) may control the speaker (120) to output a confirmation voice (820) saying "Do you really want to turn off the car engine?"

[0165] Afterwards, if the user's voice detected through the microphone (110) means "yes" (830) of agreement, the processor (140) can perform a car ignition turning off operation corresponding to the second query "turn off the car ignition" (810).

[0166] In some embodiments, the processor (140) may identify the time elapsed from the time the second voice is detected through the microphone (110) until the time the third voice is detected.

[0167] If the time (e.g., elapsed time) from the time the second voice is detected to the time the third voice is detected is less than or equal to a preset time, the processor (140) can identify the user's second query included in the second voice data acquired based on the third voice.

[0168] FIG. 9 is a diagram illustrating an operation of detecting and recognizing a subsequent query detected within a preset time from the time at which a user's query is detected, according to one or more embodiments of the present disclosure.

[0169] Referring to FIG. 9, the first time (910) taken from the time the first query, "Tell me the weather today", is detected until the second query, "How long does it take to get to work?", is detected can be identified. In addition, the processor (140) can identify the time (920) taken from the time the second query, "How long does it take to get to work?", is detected until the third query, "Tell me the schedule for today's meeting", is detected.

[0170] The processor (140) can perform corresponding actions to identify a subsequent query only when the identified first time (910) and second time (920) are less than or equal to a preset time, thereby reducing the probability of misrecognition.

[0171] FIG. 10 is a diagram illustrating a configuration of an electronic device (100) that recognizes a user's voice and performs an operation of continuously recognizing the user's voice without repetitive wake-up operations, according to one or more embodiments of the present disclosure.

[0172] Referring to FIG. 10, the Dialog Manager (30) may include a typical NLU module (30-1), a typical NLG module (30-2), a State Manager (30-3), a Policy Manager (30-4), and an Utterance Recognizer without Wake-up module (30-5).

[0173] The processor (140) can identify the meaning of text data converted from speech data through the NLU module (30-1) and the Utterance Recognizer without Wake-up module (30-5). The processor (140) can generate text data for a response to be provided to the user through the NLG module (30-2) and the State Manager (30-3).

[0174] Agent (40) may include an NLU module (40-1), an NLG module (40-2), a State Manager (40-3), an Execution Manager (40-4), and a Subsequent Utterances Generator module (40-5).

[0175] The processor (140) can identify a query corresponding to the first query through the Subsequent Utterances Generator module (40-5). That is, the processor (140) can identify a query corresponding to the first query based on the domain of the first query.

[0176] The Personalized User-Dialog Learner (50) may include a Personalized User-Dialog Trainer (50-1) and a Subsequent Utterances Generator (50-2).

[0177] The processor (140) can learn a query prediction model through a Personalized User-Dialog Trainer (50-1), and can obtain a query list including at least one query obtained based on a query corresponding to a first query and user context information through a Subsequent Utterances Generator (50-2).

[0178] The Context Manager (60) may include a Context Database (60-1), a Context Collector module (60-2), and a Context Analyzer module (60-3).

[0179] The processor (140) can obtain user context information from an external device, for example, a User Device (70-1), a Home Device (70-2), or a Home Sensor (70-3), through the Context Collector module (60-2). The processor (140) can identify various pieces of information included in the user context information through the Context Analyzer module (60-3).

[0180] FIG. 11 is a flowchart illustrating the operation of an electronic device (100) according to one or more embodiments of the present disclosure.

[0181] Referring to FIG. 11, when the electronic device (100) identifies that the first voice detected through the microphone (110) corresponds to a wake-up voice, the electronic device (100) can switch the state of the electronic device (100) from a standby state to a wake-up state.

[0182] When a second voice is detected while the electronic device (100) is in a wake-up state, the user's first query included in the first voice data acquired based on the detected second voice can be identified. The user's first query may be an inquiry about information the user wants to know (S1110).

[0183] The electronic device (100) may perform an operation corresponding to the first query (S1120). The operation corresponding to the first query may be an operation for controlling a portion of the electronic device (100) to provide a service to the user. Alternatively or additionally, the operation corresponding to the first query may include an operation for controlling the speaker (120) to output a response to the user query by the electronic device (100).

[0184] The electronic device (100) can identify a query corresponding to the first query (S1130). The query corresponding to the first query is a different query than the first query and may be any query candidate that can be subsequently identified after the first query. In addition, the query corresponding to the first query may be related to a domain corresponding to the first query (e.g., weather, directions, schedule, etc.). In other words, the first query and the query corresponding to the first query may correspond to the same domain, but the first query and the query corresponding to the first query may be different queries.

[0185] The electronic device (100) can obtain a query list including at least one query based on the query corresponding to the first query and user context information (S1140). Here, the user context information may include, but is not limited to, the current status of the electronic device (100), the user's electronic device (100) usage history, the user's query history, time, location, temperature, etc.

[0186] The electronic device (100) can identify the user's second query included in the second voice data acquired based on the second voice detected through the microphone (110) (S1150).

[0187] The electronic device (100) can perform an operation corresponding to the second query if the semantic similarity between the identified second query and at least one query included in the query list is greater than a preset value and can maintain the state of the electronic device (100) in a wake-up state.

[0188] If the semantic similarity is less than a preset value, the electronic device (100) may switch the wake-up state to a standby state without performing an action corresponding to the second query (S1160).

[0189] The artificial intelligence-related function according to the present disclosure is operated through the processor (140) and memory (130) of the electronic device (100).

[0190] The processor (140) may be composed of one or more processors (140). In this case, the one or more processors (140) may include at least one of a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and an NPU (Neural Processing Unit). However, the present disclosure is not limited to the examples of the processor (140) described above.

[0191] The CPU is a general-purpose processor (140) capable of performing not only general calculations but also artificial intelligence calculations. Its multi-layer cache structure allows for the efficient execution of complex programs. The CPU is advantageous in a serial processing method, which enables organic linking of previous and subsequent calculation results through sequential calculations. The general-purpose processor (140) is not limited to the aforementioned examples, except in cases where it is specifically designated as a CPU.

[0192] A GPU is a processor (140) for large-scale operations such as floating point operations used in graphic processing, and can perform large-scale operations in parallel by integrating a large number of cores. In particular, a GPU may be advantageous compared to a CPU in parallel processing methods such as convolution operations. In addition, a GPU may be used as a co-processor (140) to supplement the functions of a CPU. The processor (140) for large-scale operations is not limited to the examples described above, except in cases where it is specifically referred to as a GPU.

[0193] An NPU is a processor (140) specialized in artificial intelligence operations using an artificial neural network, and each layer constituting the artificial neural network can be implemented with hardware (e.g., silicon). At this time, since the NPU is designed specifically according to the required specifications of the company, it has a lower degree of freedom compared to a CPU or GPU, but it can efficiently process the artificial intelligence operations requested by the company. Meanwhile, as a processor (140) specialized in artificial intelligence operations, the NPU can be implemented in various forms such as a TPU (Tensor Processing Unit), an IPU (Intelligence Processing Unit), a VPU (Vision processing unit), etc. The artificial intelligence processor (140) is not limited to the above-described examples, except in cases where it is specified as the above-described NPU.

[0194] Additionally, one or more processors (140) may be implemented as a System on Chip (SoC). In this case, the SoC may further include, in addition to one or more processors (140), a memory (130), and a network interface such as a bus for data communication between the processor (140) and the memory (130).

[0195] When a plurality of processors (140) are included in a SoC (System on Chip) included in an electronic device (100), the electronic device (100) may perform operations related to artificial intelligence (e.g., operations related to learning or inference of an artificial intelligence model) by using some of the plurality of processors (140). For example, the electronic device (100) may perform operations related to artificial intelligence by using at least one of a GPU, an NPU, a VPU, a TPU, and a hardware accelerator specialized in artificial intelligence operations such as convolution operations and matrix multiplication operations among the plurality of processors (140). However, this is merely an example, and it is of course possible to process operations related to artificial intelligence by using a CPU or a general-purpose processor (140).

[0196] In addition, the electronic device (100) can perform operations related to functions related to artificial intelligence by utilizing multiple cores (e.g., dual cores, quad cores, etc.) included in one processor (140). In particular, the electronic device (100) can perform artificial intelligence operations such as convolution operations, matrix multiplication operations, etc. in parallel by utilizing multiple cores included in the processor (140).

[0197] One or more processors (140) are controlled to process input data according to predefined operation rules or artificial intelligence models stored in the memory (130). The predefined operation rules or artificial intelligence models are characterized by being created through learning.

[0198] Here, "created through learning" means that a predefined set of behavioral rules or an AI model with desired characteristics is created by applying a learning algorithm to a large number of learning data. This learning may be performed on the device itself, where the AI ​​according to the present disclosure is implemented, or through a separate server / system.

[0199] An artificial intelligence model may be composed of multiple neural network layers. At least one layer has at least one weight value and performs its operation through the operation result of the previous layer and at least one defined operation. Examples of neural networks include a convolutional neural network (CNN), a deep neural network (DNN), a recurrent neural network (RNN), a restricted boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, and a transformer. The neural networks in the present disclosure are not limited to the above-described examples unless otherwise specified.

[0200] A learning algorithm is a method for training a target device (e.g., a robot) using a large amount of learning data, enabling the target device to make decisions or predictions on its own. Examples of learning algorithms include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. Unless otherwise specified, the learning algorithms in this disclosure are not limited to the aforementioned examples.

[0201] According to one embodiment, the method according to the various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product (e.g., a downloadable app) may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0202] Although the preferred embodiments of the present disclosure have been illustrated and described above, the present disclosure is not limited to the specific embodiments described above, and various modifications may be made by a person having ordinary skill in the art to which the present disclosure pertains without departing from the gist of the present disclosure as claimed in the claims, and such modifications should not be understood individually from the technical idea or prospect of the present disclosure.

Claims

1. In electronic devices, mike; speaker; memory for storing at least one instruction; and comprising one or more processors executing at least one instruction; One or more of the above processors, When the first voice detected through the microphone is identified as corresponding to a wake-up voice, the state of the electronic device is switched from a standby state to a wake-up state, If a second voice is detected while the state of the electronic device is in the wake-up state, a first user query included in the first voice data acquired based on the second voice is identified, Perform a first action corresponding to the first user query, Identify a preset query corresponding to the above first user query, Obtain a query list including at least one query based on the above preset query and user context information, Identifying a second user query included in second voice data acquired based on a third voice detected through the microphone; An electronic device that performs a second action corresponding to the second user query and maintains the state of the electronic device in the wake-up state if the first semantic similarity between the identified second user query and at least one query included in the query list is greater than or equal to a preset value.

2. In paragraph 1, One or more of the above processors, An electronic device that switches the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query if the first semantic similarity is less than the preset value.

3. In paragraph 1, One or more of the above processors, Identify the domain of the first user query above, An electronic device that identifies the preset query based on the above domain.

4. In paragraph 1, The above user context information is: An electronic device including at least one of the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device, and the user's usage history of the electronic device.

5. In paragraph 1, One or more of the above processors, Identifying the relevance of each of at least one query included in the query list to the first user query based on the above preset query and user context information, Identifying a second semantic similarity between the corresponding query and the second user query among the query list having the highest relevance to the first user query; If the second semantic similarity is greater than or equal to a preset value, a second action corresponding to the second user query is performed and the state of the electronic device is maintained in the wake-up state; An electronic device that switches the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query if the second semantic similarity is less than the preset value.

6. In paragraph 1, The above user context information is: Including at least one of the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device, and the user's usage history of the electronic device. One or more of the above processors, Identify the domain of the first user query above, Identify the above preset query based on the above domain, Assign a preset weight corresponding to the above domain to the above user context information, An electronic device that obtains a query list including at least one query based on the preset query, the user context information, and the preset weight assigned to the user context information.

7. In paragraph 1, One or more of the above processors, An electronic device that excludes from the list of queries an unperformable query corresponding to an action that cannot be performed at present.

8. In paragraph 1, One or more of the above processors, Identify the domain of the second user query, Control the speaker to output a voice requesting confirmation of whether to perform a second action corresponding to the second user query based on the above domain being a domain requiring user verification, If the third voice data acquired based on the fourth voice detected through the microphone includes content approving the performance of the second action, the second action corresponding to the second user query is performed and the state of the electronic device is maintained in the wake-up state, An electronic device that switches the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query if the third voice data does not include content approving the performance of the second operation.

9. In paragraph 1, One or more of the above processors, Identify the time taken from the first time point when the second voice is detected through the microphone to the third voice being detected through the microphone; An electronic device that identifies a user's second query from the second voice data obtained based on the third voice if the above-described time is less than or equal to a preset time.

10. In paragraph 1, One or more of the above processors, Obtaining a query list including at least one query based on a first vector value output by a query prediction model based on the above-described preset query and the user context information, The above query prediction model is, An electronic device learned based on a second vector value generated by the query prediction model, based on providing a third user query and user context information to the query prediction model.

11. In a method for controlling an electronic device, A step of switching the state of the electronic device from a standby state to a wake-up state when the detected first voice is identified as corresponding to a wake-up voice; A step of identifying a first user query of a user included in first voice data acquired based on a second voice detected from a microphone of the electronic device while the state of the electronic device is the wake-up state; A step of performing a first action corresponding to the first user query; A step of identifying a preset query corresponding to the first user query; A step of obtaining a query list including at least one query based on the above preset query and user context information; A step of identifying a second user query of a user included in second voice data acquired based on a third voice detected through the microphone; and A control method comprising: a step of performing a second operation corresponding to the second user query and maintaining the state of the electronic device in the wake-up state if the first semantic similarity between the second user query and at least one query included in the query list is greater than or equal to a preset value.

12. In paragraph 11, The above control method is, A control method further comprising: a step of switching the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query if the first semantic similarity is less than the preset value.

13. In paragraph 11, The step of identifying the above-mentioned preset query is: a step of determining the domain of the first user query; and A control method comprising: a step of identifying the preset query based on the domain; 14. In paragraph 11, The above user context information is: A control method comprising at least one of the user's query history, the user's query response history, the user's location, the current time, the ambient temperature, the current status of the electronic device, and the user's usage history of the electronic device.

15. In paragraph 11, The above control method is, A step of identifying a relevance of each of the at least one query included in the query list to the first user query based on the preset query and user context information; A step of identifying a second semantic similarity between the corresponding query among the list of queries having the highest relevance to the first user query and the second user query; If the second semantic similarity is greater than or equal to a preset value, a step of performing a second operation corresponding to the second user query and maintaining the state of the electronic device in the wake-up state; A control method comprising: a step of switching the state of the electronic device from the wake-up state to the standby state without performing the second operation corresponding to the second user query if the second semantic similarity is less than the preset value;

Citation Information

Patent Citations

  • Electronic device and operating method thereof

    KR1020180084392A

  • Electromagnetic stirring casting system for semi-solid die casting

    KR1020220136639A

  • Gate systeme having artificial intelligence

    KR1020240049897A

  • Relay device and operating method of the relay device

    KR102308196B1

  • KR20220111574A

Cited By

  • Voice interaction method and device of smart home device, and storage medium

    CN120581003A