KR20240040577A - Method of adjusting sensitivity for spearker verification and electronic device therefor - Google Patents

Method of adjusting sensitivity for spearker verification and electronic device therefor Download PDF

Info

Publication number
KR20240040577A
KR20240040577A KR1020220130905A KR20220130905A KR20240040577A KR 20240040577 A KR20240040577 A KR 20240040577A KR 1020220130905 A KR1020220130905 A KR 1020220130905A KR 20220130905 A KR20220130905 A KR 20220130905A KR 20240040577 A KR20240040577 A KR 20240040577A
Authority
KR
South Korea
Prior art keywords
electronic device
voice
speaker verification
processor
threshold
Prior art date
Application number
KR1020220130905A
Other languages
Korean (ko)
Inventor
신호선
김경태
서현선
이철민
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20240040577A publication Critical patent/KR20240040577A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/04Training, enrolment or model building
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/06Decision making techniques; Pattern matching strategies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Game Theory and Decision Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

디스플레이, 메모리, 및 프로세서를 포함하는 전자 장치가 개시된다. 프로세서는, 웨이크업 워드를 포함하는 음성 신호를 획득하고, 음성 신호에 기반한 화자 검증을 시도할 수 있다. 화자 검증에 실패한 뒤, 지정된 시간 내에 사용자 인증이 수신되면, 프로세서는 화자 검증을 위한 임계값을 화자 검증에 실패한 음성 신호를 이용하여 조정할 수 있다. An electronic device including a display, memory, and processor is disclosed. The processor may obtain a voice signal including a wakeup word and attempt speaker verification based on the voice signal. If user authentication is received within a specified time after speaker verification fails, the processor can adjust the threshold for speaker verification using the voice signal that failed speaker verification.

Description

화자 검증을 위한 민감도 조정 방법 및 이를 위한 전자 장치{METHOD OF ADJUSTING SENSITIVITY FOR SPEARKER VERIFICATION AND ELECTRONIC DEVICE THEREFOR}Sensitivity adjustment method for speaker verification and electronic device therefor {METHOD OF ADJUSTING SENSITIVITY FOR SPEARKER VERIFICATION AND ELECTRONIC DEVICE THEREFOR}

본 문서에서 개시되는 실시 예들은, 화자 검증(speaker verification)을 위한 민감도(sensitivity)를 조정하는 방법 및 이를 위한 전자 장치에 관한 것이다.Embodiments disclosed in this document relate to a method for adjusting sensitivity for speaker verification and an electronic device for the same.

사용자의 음성 명령에 기반하여 전자 장치를 제어하는 기술들이 널리 활용되고 있다. 예를 들어, 전자 장치는 사용자의 발화로부터 사용자의 의도(intent)를 식별하고 식별된 의도에 대응하는 동작(action)을 수행하도록 설정된 음성 비서(voice assistant) 어플리케이션을 포함할 수 있다. 사용자는 음성 명령을 통하여 전자 장치를 용이하게 제어할 수 있다. 예를 들어, 사용자는 음성 비서 어플리케이션의 호출을 위한 웨이크업 워드(wake-up word)를 발화함으로써 음성 비서 어플리케이션을 호출할 수 있다. Technologies that control electronic devices based on user voice commands are widely used. For example, the electronic device may include a voice assistant application configured to identify the user's intent from the user's utterance and perform an action corresponding to the identified intent. Users can easily control electronic devices through voice commands. For example, a user can call a voice assistant application by uttering a wake-up word to call the voice assistant application.

일 예에서, 전자 장치는 음성 명령에 기반하여 화자를 검증할 수 있다. 전자 장치는 적어도 하나의 사용자의 음성에 대응하는 음성 모델을 저장할 수 있다. 음성 모델은, 사용자의 음성을 이용하여 학습된 사용자-특정 모델을 포함할 수 있다 . 전자 장치는 수신된 음성 명령과 저장된 음성 모델 사이의 유사도에 기반하여 음성 명령의 화자를 검증할 수 있다. 예를 들어, 전자 장치는 잠금 모드의 해제를 위하여 음성 명령의 화자를 검증할 수 있다. 전자 장치는 음성 명령에 대응하는 동작을 수행하기 위하여 화자를 검증할 수 있다. 전자 장치는 저장된 복수의 음성 모델 중 대응하는 화자를 식별하기 위하여 음성 명령의 화자를 검증할 수 있다. In one example, the electronic device can verify the speaker based on voice commands. The electronic device may store a voice model corresponding to at least one user's voice. The voice model may include a user-specific model learned using the user's voice. The electronic device may verify the speaker of the voice command based on similarity between the received voice command and the stored voice model. For example, the electronic device can verify the speaker of the voice command to unlock the lock mode. The electronic device can verify the speaker to perform an operation corresponding to the voice command. The electronic device may verify the speaker of the voice command to identify the corresponding speaker among the plurality of stored voice models.

전자 장치는 사용자의 음성 모델을 저장할 수 있다. 음성 모델은 화자의 음성에 대응하는 벡터일 수 있다. 등록 절차(enroll process)에서, 전자 장치는 사용자의 음성 샘플들을 이용하여 음성 모델을 생성할 수 있다. 일단 음성 모델이 생성된 후, 전자 장치는 수신된 음성과 음성 모델을 이용하여 유사도에 기반한 점수를 계산할 수 있다. 점수가 설정된 임계값을 초과하는 경우, 전자 장치는 수신된 음성이 음성 모델의 화자의 음성에 대응함을 검증할 수 있다. The electronic device may store a user's voice model. The voice model may be a vector corresponding to the speaker's voice. In the enrollment process, the electronic device can create a voice model using the user's voice samples. Once the voice model is created, the electronic device can calculate a score based on similarity using the received voice and the voice model. If the score exceeds the set threshold, the electronic device can verify that the received voice corresponds to the voice of the speaker in the voice model.

사용자의 목소리는 일시적으로 변할 수 있다. 예를 들어, 사용자가 감기에 걸리는 경우, 사용자의 목소리가 일시적으로 변경될 수 있다. 이 경우, 전자 장치는 사용자의 목소리에 기반하여 화자 검증에 실패할 수 있다. 저장된 음성 모델과 사용자의 음성이 설정된 임계값 미만의 유사도를 가질 수 있다. 통상적으로, 임계값은 전자 장치의 제조사에 의하여 설정되므로, 반복되는 화자 인증 실패로 인하여 사용자 경험이 열화될 수 있다. A user's voice may change temporarily. For example, if a user catches a cold, the user's voice may temporarily change. In this case, the electronic device may fail speaker verification based on the user's voice. The stored voice model and the user's voice may have a similarity that is less than a set threshold. Typically, the threshold is set by the manufacturer of the electronic device, so the user experience may be degraded due to repeated speaker authentication failures.

본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 디스플레이, 메모리, 및 프로세서를 포함할 수 있다. 메모리는 프로세서에 의하여 실행되었을 때, 프로세서로 하여금 다음과 같은 동작들을 수행하도록 할 수 있다. 프로세서는, 웨이크업 워드를 포함하는 복수의 음성 신호들을 획득(acquire)할 수 있다. 프로세서는, 복수의 음성 신호들 각각과 메모리에 저장된 화자 검증 모델 사이의 유사도를 제1 임계값과 비교하여 복수의 음성 신호들 각각에 대한 화자 검증 여부를 결정할 수 있다. 프로세서는, 복수의 음성 신호들에 대한 화자 검증의 실패 후, 복수의 음성 신호들 중 마지막 음성 신호의 수신 시점으로부터 지정된 시간 내에 화자 검증 외의 인증 방법에 기반한 전자 장치에 대한 사용자 인증을 수신할 수 있다. 프로세서는, 복수의 음성 신호들 중 적어도 일부와, 화자 검증 모델 사이의 유사도에 기반하여 제1 임계값을 조정할 수 있다.An electronic device according to an embodiment disclosed in this document may include a display, memory, and a processor. When executed by a processor, the memory can enable the processor to perform the following operations. The processor may acquire a plurality of voice signals including a wakeup word. The processor may determine whether to verify the speaker for each of the plurality of voice signals by comparing the similarity between each of the plurality of voice signals and the speaker verification model stored in the memory with a first threshold. The processor may receive user authentication for the electronic device based on an authentication method other than speaker verification within a specified time from the time of reception of the last voice signal among the plurality of voice signals, after speaker verification of the plurality of voice signals fails. . The processor may adjust the first threshold based on the similarity between at least some of the plurality of voice signals and the speaker verification model.

본 문서에 개시되는 일 실시 예에 따른 전자 장치의 화자 검증 민감도 조정을 위한 방법은, 웨이크업 워드를 포함하는 음성 데이터를 획득하는 동작을 포함할 수 있다. 상기 방법은, 음성 데이터와 전자 장치의 메모리에 저장된 화자 검증 모델 사이의 유사도를 제1 임계값과 비교하여 상기 음성 데이터에 대한 화자 검증을 수행하는 동작을 포함할 수 있다. 상기 방법은, 화자 검증에 실패한 경우, 음성 데이터의 획득 시점으로부터 지정된 시간 내에 성공적인 사용자 인증이 수신되는지 결정하는 동작을 포함할 수 있다. 상기 방법은, 성공적인 사용자 인증이 수신되면, 메모리에 저장된 복수의 음성 데이터를 이용하여 상기 제1 임계값을 조정하는 동작을 포함할 수 있다. 상기 복수의 음성 데이터 각각은, 상기 웨이크업 워드를 포함하고, 상기 화자 검증에 실패한 음성 데이터에 대응할 수 있다.A method for adjusting speaker verification sensitivity of an electronic device according to an embodiment disclosed in this document may include an operation of acquiring voice data including a wakeup word. The method may include performing speaker verification on the speech data by comparing a similarity between the speech data and a speaker verification model stored in a memory of the electronic device to a first threshold. The method may include, if speaker verification fails, determining whether successful user authentication is received within a specified time from the time of acquisition of the voice data. The method may include adjusting the first threshold using a plurality of voice data stored in memory when successful user authentication is received. Each of the plurality of voice data includes the wakeup word and may correspond to voice data that failed the speaker verification.

본 개시의 일 실시 예에 따른 전자 장치는 적응적으로 화자 인증을 위한 임계값을 조정할 수 있다. An electronic device according to an embodiment of the present disclosure can adaptively adjust the threshold for speaker authentication.

본 개시의 일 실시 예에 따른 전자 장치는 사용자의 편의성을 증가시킬 수 있다. An electronic device according to an embodiment of the present disclosure can increase user convenience.

본 개시의 일 예시에 따른 전자 장치는 사용자의 편의성을 개선함으로써 전자 장치의 사용 빈도를 증가시킬 수 있다.The electronic device according to an example of the present disclosure can increase the frequency of use of the electronic device by improving user convenience.

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른 통합 지능 (integrated intelligence) 시스템을 나타낸 블록도이다.
도 3은 일 실시예에 따른, 컨셉과 액션의 관계 정보가 데이터베이스에 저장된 형태를 나타낸 도면이다.
도 4는 일 실시예에 따라, 지능형 앱을 통해 수신된 음성 입력을 처리하는 화면을 표시하는 사용자 단말을 도시하는 도면이다.
도 5는 일 실시 예에 따른 음성 인식 환경을 도시한다.
도 6은 일 실시 예에 따른 전자 장치의 블록도를 도시한다.
도 7은 일 실시 예에 따른 전자 장치의 모듈들을 도시한다.
도 8은 일 실시 예에 따른 민감도 조정 방법의 흐름도를 도시한다.
도 9는 일 실시 예에 따른 민감도 조정 방법의 흐름도를 도시한다.
도 10은 일 실시 예에 따른 전자 장치의 예시적 UI를 도시한다.
도 11은 일 실시 예에 따른 전자 장치의 예시적 UI를 도시한다.
도 12는 일 실시 예에 따른 전자 장치의 예시적 UI를 도시한다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
Figure 2 is a block diagram showing an integrated intelligence system according to an embodiment.
Figure 3 is a diagram showing how relationship information between concepts and actions is stored in a database, according to an embodiment.
FIG. 4 is a diagram illustrating a user terminal displaying a screen for processing voice input received through an intelligent app, according to one embodiment.
Figure 5 shows a voice recognition environment according to one embodiment.
Figure 6 shows a block diagram of an electronic device according to an embodiment.
Figure 7 shows modules of an electronic device according to an embodiment.
Figure 8 shows a flowchart of a sensitivity adjustment method according to one embodiment.
Figure 9 shows a flowchart of a sensitivity adjustment method according to one embodiment.
10 illustrates an example UI of an electronic device according to an embodiment.
11 illustrates an example UI of an electronic device according to an embodiment.
12 illustrates an example UI of an electronic device according to an embodiment.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention are described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present invention.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to one embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or may include an antenna module 197. In some embodiments, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a secondary processor 123, the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or non-volatile memory 134.

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 can capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 can be confirmed or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the external electronic devices 102 or 104 may be of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these. For example, a processor (e.g., processor 120) of a device (e.g., electronic device 101) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. 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 through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

도 2는 일 실시예에 따른 통합 지능 (integrated intelligence) 시스템을 나타낸 블록도이다.Figure 2 is a block diagram showing an integrated intelligence system according to an embodiment.

도 2를 참조하면, 일 실시예의 통합 지능 시스템은 사용자 단말(201), 지능형 서버(300), 및 서비스 서버(400)를 포함할 수 있다. Referring to FIG. 2, the integrated intelligence system of one embodiment may include a user terminal 201, an intelligent server 300, and a service server 400.

일 실시 예의 사용자 단말(201)(예: 도 1의 전자 장치(101))은, 인터넷에 연결 가능한 단말 장치(또는, 전자 장치)일 수 있으며, 예를 들어, 휴대폰, 스마트폰, PDA(personal digital assistant), 노트북 컴퓨터, TV(television), 백색 가전, 웨어러블 장치, HMD (head mounted device), 또는 스마트 스피커일 수 있다.The user terminal 201 (e.g., the electronic device 101 in FIG. 1) of one embodiment may be a terminal device (or electronic device) capable of connecting to the Internet, for example, a mobile phone, a smartphone, or a personal digital assistant (PDA). It may be a digital assistant, a laptop computer, a television (TV), a white appliance, a wearable device, a head mounted device (HMD), or a smart speaker.

도시된 실시 예에 따르면, 사용자 단말(201)은 통신 인터페이스(290), 마이크(270), 스피커(255), 디스플레이(260), 메모리(230), 및/또는 프로세서(220)를 포함할 수 있다. 상기 열거된 구성요소들은 서로 작동적으로 또는 전기적으로 연결될 수 있다.According to the illustrated embodiment, the user terminal 201 may include a communication interface 290, a microphone 270, a speaker 255, a display 260, a memory 230, and/or a processor 220. there is. The components listed above may be operatively or electrically connected to each other.

통신 인터페이스(290)(예: 도 1의 통신 모듈(190))는 외부 장치와 연결되어 데이터를 송수신하도록 구성될 수 있다. 마이크(270)(예: 도 1의 오디오 모듈(170))는 소리(예: 사용자 발화)를 수신하여, 전기적 신호로 변환할 수 있다. 스피커(255)(예: 도 1의 음향 출력 모듈(155))는 전기적 신호를 소리(예: 음성)로 출력할 수 있다. 디스플레이(260)(예: 도 1의 디스플레이 모듈(160))는 이미지 또는 비디오를 표시하도록 구성될 수 있다. 일 실시 예의 디스플레이(260)는 또한 실행되는 앱(app)(또는, 어플리케이션 프로그램(application program))의 그래픽 사용자 인터페이스(graphic user interface, GUI)를 표시할 수 있다.The communication interface 290 (e.g., the communication module 190 of FIG. 1) may be connected to an external device and configured to transmit and receive data. The microphone 270 (e.g., the audio module 170 of FIG. 1) may receive sound (e.g., a user's speech) and convert it into an electrical signal. The speaker 255 (e.g., the sound output module 155 of FIG. 1) may output an electrical signal as sound (e.g., voice). Display 260 (e.g., display module 160 of FIG. 1) may be configured to display images or video. The display 260 of one embodiment may also display a graphic user interface (GUI) of an app (or application program) being executed.

일 실시 예의 메모리(230)(예: 도 1의 메모리(130))는 클라이언트 모듈(231), SDK(software development kit)(233), 및 복수의 어플리케이션들을 저장할 수 있다. 상기 클라이언트 모듈(231), 및 SDK(233)는 범용적인 기능을 수행하기 위한 프레임워크(framework)(또는, 솔루션 프로그램)를 구성할 수 있다. 또한, 클라이언트 모듈(231) 또는 SDK(233)는 음성 입력을 처리하기 위한 프레임워크를 구성할 수 있다.The memory 230 (eg, memory 130 in FIG. 1) in one embodiment may store a client module 231, a software development kit (SDK) 233, and a plurality of applications. The client module 231 and SDK 233 may form a framework (or solution program) for performing general functions. Additionally, the client module 231 or SDK 233 may configure a framework for processing voice input.

상기 복수의 어플리케이션들(예: 235a, 235b)은 지정된 기능을 수행하기 위한 프로그램일 수 있다. 일 실시 예에 따르면, 복수의 어플리케이션들은 제1 앱(235a), 및/또는 제2 앱(235b)을 포함할 수 있다. 일 실시 예에 따르면, 복수의 어플리케이션들 각각은 지정된 기능을 수행하기 위한 복수의 동작들을 포함할 수 있다. 예를 들어, 상기 어플리케이션들은, 알람 앱, 메시지 앱, 및/또는 스케줄 앱을 포함할 수 있다. 일 실시 예에 따르면, 복수의 어플리케이션들은 프로세서(220)에 의해 실행되어 상기 복수의 동작들 중 적어도 일부를 순차적으로 실행할 수 있다. The plurality of applications (eg, 235a, 235b) may be programs for performing designated functions. According to one embodiment, the plurality of applications may include a first app 235a and/or a second app 235b. According to one embodiment, each of the plurality of applications may include a plurality of operations to perform a designated function. For example, the applications may include an alarm app, a messaging app, and/or a schedule app. According to one embodiment, a plurality of applications are executed by the processor 220 to sequentially execute at least some of the plurality of operations.

일 실시 예의 프로세서(220)는 사용자 단말(201)의 전반적인 동작을 제어할 수 있다. 예를 들어, 프로세서(220)는 통신 인터페이스(290), 마이크(270), 스피커(255), 및 디스플레이(260)와 전기적으로 연결되어 지정된 동작을 수행할 수 있다. 예를 들어, 프로세서(220)는 적어도 하나의 프로세서를 포함할 수 있다.The processor 220 in one embodiment may control the overall operation of the user terminal 201. For example, the processor 220 may be electrically connected to the communication interface 290, microphone 270, speaker 255, and display 260 to perform designated operations. For example, processor 220 may include at least one processor.

일 실시 예의 프로세서(220)는 또한 상기 메모리(230)에 저장된 프로그램을 실행하여 지정된 기능을 수행할 수 있다. 예를 들어, 프로세서(220)는 클라이언트 모듈(231) 또는 SDK(233) 중 적어도 하나를 실행하여, 음성 입력을 처리하기 위한 이하의 동작을 수행할 수 있다. 프로세서(220)는, 예를 들어, SDK(233)를 통해 복수의 어플리케이션들의 동작을 제어할 수 있다. 클라이언트 모듈(231) 또는 SDK(233)의 동작으로 설명된 이하의 동작들은 프로세서(220)의 실행에 의하여 수행되는 동작일 수 있다.The processor 220 of one embodiment may also execute a program stored in the memory 230 to perform a designated function. For example, the processor 220 may execute at least one of the client module 231 or the SDK 233 and perform the following operations for processing voice input. The processor 220 may control the operation of a plurality of applications through, for example, the SDK 233. The following operations described as operations of the client module 231 or SDK 233 may be operations performed by execution of the processor 220.

일 실시 예의 클라이언트 모듈(231)은 음성 입력을 수신할 수 있다. 예를 들어, 클라이언트 모듈(231)은 마이크(270)를 통해 감지된 사용자 발화에 대응되는 음성 신호를 수신할 수 있다. 상기 클라이언트 모듈(231)은 수신된 음성 입력(예: 음성 신호)을 지능형 서버(300)로 송신할 수 있다. 클라이언트 모듈(231)은 수신된 음성 입력과 함께, 사용자 단말(201)의 상태 정보를 지능형 서버(300)로 송신할 수 있다. 상기 상태 정보는, 예를 들어, 앱의 실행 상태 정보일 수 있다.The client module 231 in one embodiment may receive voice input. For example, the client module 231 may receive a voice signal corresponding to a user utterance detected through the microphone 270. The client module 231 may transmit the received voice input (eg, voice signal) to the intelligent server 300. The client module 231 may transmit status information of the user terminal 201 to the intelligent server 300 along with the received voice input. The status information may be, for example, execution status information of an app.

일 실시 예의 클라이언트 모듈(231)은 수신된 음성 입력에 대응되는 결과를 지능형 서버(300)로부터 수신할 수 있다. 예를 들어, 클라이언트 모듈(231)은 지능형 서버(300)에서 상기 수신된 음성 입력에 대응되는 결과를 산출할 수 있는 경우, 수신된 음성 입력에 대응되는 결과를 수신할 수 있다. 클라이언트 모듈(231)은 상기 수신된 결과를 디스플레이(260)에 표시할 수 있다.The client module 231 of one embodiment may receive a result corresponding to the received voice input from the intelligent server 300. For example, if the intelligent server 300 can calculate a result corresponding to the received voice input, the client module 231 may receive a result corresponding to the received voice input. The client module 231 may display the received result on the display 260.

일 실시 예의 클라이언트 모듈(231)은 수신된 음성 입력에 대응되는 플랜을 수신할 수 있다. 클라이언트 모듈(231)은 플랜에 따라 앱의 복수의 동작을 실행한 결과를 디스플레이(260)에 표시할 수 있다. 클라이언트 모듈(231)은, 예를 들어, 복수의 동작의 실행 결과를 순차적으로 디스플레이에 표시할 수 있다. 사용자 단말(201)은, 다른 예를 들어, 복수의 동작을 실행한 일부 결과(예: 마지막 동작의 결과)만을 디스플레이에 표시할 수 있다.The client module 231 of one embodiment may receive a plan corresponding to the received voice input. The client module 231 can display the results of executing multiple operations of the app according to the plan on the display 260. For example, the client module 231 may sequentially display execution results of a plurality of operations on a display. For another example, the user terminal 201 may display only some results of executing a plurality of operations (eg, the result of the last operation) on the display.

일 실시 예에 따르면, 클라이언트 모듈(231)은 지능형 서버(300)로부터 음성 입력에 대응되는 결과를 산출하기 위해 필요한 정보를 획득하기 위한 요청을 수신할 수 있다. 일 실시 예에 따르면, 클라이언트 모듈(231)은 상기 요청에 대응하여 상기 필요한 정보를 지능형 서버(300)로 송신할 수 있다.According to one embodiment, the client module 231 may receive a request from the intelligent server 300 to obtain information necessary to calculate a result corresponding to the voice input. According to one embodiment, the client module 231 may transmit the necessary information to the intelligent server 300 in response to the request.

일 실시 예의 클라이언트 모듈(231)은 플랜에 따라 복수의 동작을 실행한 결과 정보를 지능형 서버(300)로 송신할 수 있다. 지능형 서버(300)는 상기 결과 정보를 이용하여 수신된 음성 입력이 올바르게 처리된 것을 확인할 수 있다.The client module 231 in one embodiment may transmit information as a result of executing a plurality of operations according to the plan to the intelligent server 300. The intelligent server 300 can use the result information to confirm that the received voice input has been processed correctly.

일 실시 예의 클라이언트 모듈(231)은 음성 인식 모듈을 포함할 수 있다. 일 실시 예에 따르면, 클라이언트 모듈(231)은 상기 음성 인식 모듈을 통해 제한된 기능을 수행하는 음성 입력을 인식할 수 있다. 예를 들어, 클라이언트 모듈(231)은 지정된 음성 입력(예: 웨이크 업!)에 대응하여 유기적인 동작을 수행함으로써 음성 입력을 처리하기 위한 지능형 앱을 실행할 수 있다. The client module 231 in one embodiment may include a voice recognition module. According to one embodiment, the client module 231 may recognize voice input performing a limited function through the voice recognition module. For example, the client module 231 may execute an intelligent app for processing voice input by performing an organic action in response to a designated voice input (e.g., wake up!).

일 실시 예의 지능형 서버(300)는 네트워크(299)(예: 도 1의 제1 네트워크(198) 및/또는 제2 네트워크(199))를 통해 사용자 단말(201)로부터 사용자 음성 입력과 관련된 정보를 수신할 수 있다. 일 실시 예에 따르면, 지능형 서버(300)는 수신된 음성 입력과 관련된 데이터를 텍스트 데이터(text data)로 변경할 수 있다. 일 실시 예에 따르면, 지능형 서버(300)는 상기 텍스트 데이터에 기초하여 사용자 음성 입력과 대응되는 태스크(task)를 수행하기 위한 적어도 하나의 플랜(plan)을 생성할 수 있다In one embodiment, the intelligent server 300 receives information related to the user voice input from the user terminal 201 through the network 299 (e.g., the first network 198 and/or the second network 199 in FIG. 1). You can receive it. According to one embodiment, the intelligent server 300 may change data related to the received voice input into text data. According to one embodiment, the intelligent server 300 may generate at least one plan for performing a task corresponding to the user's voice input based on the text data.

일 실시 예에 따르면, 플랜은 인공 지능(artificial intelligent)(AI) 시스템에 의해 생성될 수 있다. 인공지능 시스템은 룰 베이스 시스템(rule-based system) 일 수도 있고, 신경망 베이스 시스템(neural network-based system)(예: 피드포워드 신경망(feedforward neural network(FNN)), 및/또는 순환 신경망(recurrent neural network(RNN))) 일 수도 있다. 또는, 전술한 것의 조합 또는 이와 다른 인공지능 시스템일 수도 있다. 일 실시 예에 따르면, 플랜은 미리 정의된 플랜들의 집합에서 선택될 수 있거나, 사용자 요청에 응답하여 실시간으로 생성될 수 있다. 예를 들어, 인공지능 시스템은 미리 정의 된 복수의 플랜들 중 적어도 하나의 플랜을 선택할 수 있다.According to one embodiment, the plan may be generated by an artificial intelligence (AI) system. An artificial intelligence system may be a rule-based system, a neural network-based system (e.g., a feedforward neural network (FNN)), and/or a recurrent neural network. network(RNN))). Alternatively, it may be a combination of the above or a different artificial intelligence system. According to one embodiment, a plan may be selected from a set of predefined plans or may be generated in real time in response to a user request. For example, an artificial intelligence system can select at least one plan from a plurality of predefined plans.

일 실시 예의 지능형 서버(300)는 생성된 플랜에 따른 결과를 사용자 단말(201)로 송신하거나, 생성된 플랜을 사용자 단말(201)로 송신할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 플랜에 따른 결과를 디스플레이(260)에 표시할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 플랜에 따른 동작을 실행한 결과를 디스플레이(260)에 표시할 수 있다.The intelligent server 300 of one embodiment may transmit a result according to the generated plan to the user terminal 201 or transmit the generated plan to the user terminal 201. According to one embodiment, the user terminal 201 may display results according to the plan on the display 260. According to one embodiment, the user terminal 201 may display the results of executing an operation according to the plan on the display 260.

일 실시 예의 지능형 서버(300)는 프론트 엔드(front end)(310), 자연어 플랫폼(natural language platform)(320), 캡슐 데이터베이스(capsule database)(330), 실행 엔진(execution engine)(340), 엔드 유저 인터페이스(end user interface)(350), 매니지먼트 플랫폼(management platform)(360), 빅 데이터 플랫폼(big data platform)(370), 또는 분석 플랫폼(analytic platform)(380)을 포함할 수 있다.The intelligent server 300 of one embodiment includes a front end 310, a natural language platform 320, a capsule database 330, an execution engine 340, It may include an end user interface (350), a management platform (360), a big data platform (370), or an analytic platform (380).

일 실시 예의 프론트 엔드(310)는 사용자 단말(201)에 의하여 수신된 음성 입력을 사용자 단말(201)로부터 수신할 수 있다. 프론트 엔드(310)는 상기 음성 입력에 대응되는 응답을 사용자 단말(201)로 송신할 수 있다.The front end 310 of one embodiment may receive a voice input received by the user terminal 201 from the user terminal 201 . The front end 310 may transmit a response corresponding to the voice input to the user terminal 201.

일 실시 예에 따르면, 자연어 플랫폼(320)은 자동 음성 인식 모듈(automatic speech recognition module)(ASR module)(321), 자연어 이해 모듈(natural language understanding module)(NLU module)(323), 플래너 모듈(planner module)(325), 자연어 생성 모듈(natural language generator module)(NLG module)(327), 및/또는 텍스트 음성 변환 모듈(text to speech module)(TTS module)(329)을 포함할 수 있다.According to one embodiment, the natural language platform 320 includes an automatic speech recognition module (ASR module) 321, a natural language understanding module (NLU module) 323, and a planner module ( It may include a planner module (325), a natural language generator module (NLG module) (327), and/or a text to speech module (TTS module) (329).

일 실시 예의 자동 음성 인식 모듈(321)은 사용자 단말(201)로부터 수신된 음성 입력을 텍스트 데이터로 변환할 수 있다. 일 실시 예의 자연어 이해 모듈(323)은 음성 입력의 텍스트 데이터를 이용하여 사용자의 의도를 파악할 수 있다. 예를 들어, 자연어 이해 모듈(323)은 문법적 분석(syntactic analyze) 및/또는 의미적 분석(semantic analyze)을 수행하여 사용자의 의도를 파악할 수 있다. 일 실시 예의 자연어 이해 모듈(323)은 형태소 또는 구의 언어적 특징(예: 문법적 요소)을 이용하여 음성 입력으로부터 추출된 단어의 의미를 파악하고, 상기 파악된 단어의 의미를 의도에 매칭시켜 사용자의 의도를 결정할 수 있다.The automatic voice recognition module 321 of one embodiment may convert voice input received from the user terminal 201 into text data. The natural language understanding module 323 in one embodiment may determine the user's intention using text data of voice input. For example, the natural language understanding module 323 may perform syntactic analysis and/or semantic analysis to determine the user's intention. The natural language understanding module 323 in one embodiment determines the meaning of a word extracted from a voice input using linguistic features (e.g., grammatical elements) of a morpheme or phrase, and matches the meaning of the identified word to the user's intention. You can determine your intention.

일 실시 예의 플래너 모듈(325)은 자연어 이해 모듈(323)에서 결정된 의도 및 파라미터를 이용하여 플랜을 생성할 수 있다. 일 실시 예에 따르면, 플래너 모듈(325)은 상기 결정된 의도에 기초하여 태스크를 수행하기 위해 필요한 복수의 도메인을 결정할 수 있다. 플래너 모듈(325)은 상기 의도에 기초하여 결정된 복수의 도메인 각각에 포함된 복수의 동작을 결정할 수 있다. 일 실시 예에 따르면, 플래너 모듈(325)은 상기 결정된 복수의 동작을 실행하는데 필요한 파라미터나, 상기 복수의 동작의 실행에 의해 출력되는 결과 값을 결정할 수 있다. 상기 파라미터, 및 상기 결과 값은 지정된 형식(또는, 클래스)의 컨셉으로 정의될 수 있다. 이에 따라, 플랜은 사용자의 의도에 의해 결정된 복수의 동작, 및/또는 복수의 컨셉을 포함할 수 있다. 상기 플래너 모듈(325)은 상기 복수의 동작, 및 상기 복수의 컨셉 사이의 관계를 단계적(또는, 계층적)으로 결정할 수 있다. 예를 들어, 플래너 모듈(325)은 복수의 컨셉에 기초하여 사용자의 의도에 기초하여 결정된 복수의 동작의 실행 순서를 결정할 수 있다. 다시 말해, 플래너 모듈(325)은 복수의 동작의 실행에 필요한 파라미터, 및 복수의 동작의 실행에 의해 출력되는 결과에 기초하여, 복수의 동작의 실행 순서를 결정할 수 있다. 이에 따라, 플래너 모듈(325)은 복수의 동작 및 복수의 컨셉 사이의 연관 정보(예: 온톨로지(ontology))가 포함된 플랜을 생성할 수 있다. 상기 플래너 모듈(325)은 컨셉과 동작의 관계들의 집합이 저장된 캡슐 데이터베이스(330)에 저장된 정보를 이용하여 플랜을 생성할 수 있다. The planner module 325 in one embodiment may generate a plan using the intent and parameters determined by the natural language understanding module 323. According to one embodiment, the planner module 325 may determine a plurality of domains required to perform the task based on the determined intention. The planner module 325 may determine a plurality of operations included in each of the plurality of domains determined based on the intention. According to one embodiment, the planner module 325 may determine parameters required to execute the determined plurality of operations or result values output by executing the plurality of operations. The parameters and the result values may be defined as concepts of a specified type (or class). Accordingly, the plan may include a plurality of operations and/or a plurality of concepts determined by the user's intention. The planner module 325 may determine the relationship between the plurality of operations and the plurality of concepts in a stepwise (or hierarchical) manner. For example, the planner module 325 may determine the execution order of a plurality of operations determined based on the user's intention based on a plurality of concepts. In other words, the planner module 325 may determine the execution order of the plurality of operations based on the parameters required for execution of the plurality of operations and the results output by executing the plurality of operations. Accordingly, the planner module 325 may generate a plan that includes association information (eg, ontology) between a plurality of operations and a plurality of concepts. The planner module 325 can create a plan using information stored in the capsule database 330, which stores a set of relationships between concepts and operations.

일 실시 예의 자연어 생성 모듈(327)은 지정된 정보를 텍스트 형태로 변경할 수 있다. 상기 텍스트 형태로 변경된 정보는 자연어 발화의 형태일 수 있다. 일 실시 예의 텍스트 음성 변환 모듈(329)은 텍스트 형태의 정보를 음성 형태의 정보로 변경할 수 있다.The natural language generation module 327 of one embodiment may change specified information into text form. The information changed to the text form may be in the form of natural language speech. The text-to-speech conversion module 329 in one embodiment can change information in text form into information in voice form.

일 실시 예에 따르면, 자연어 플랫폼(320)의 기능의 일부 기능 또는 전체 기능은 사용자 단말(201)에서도 구현가능 할 수 있다. 예를 들어, 사용자 단말(201)이 자동 음성 인식 모듈 및/또는 자연어 이해 모듈을 포함할 수 있다. 사용자 단말(201)이 사용자 음성 명령을 인식한 뒤, 인식된 음성 명령에 대응하는 텍스트 정보를 지능형 서버(300)로 송신할 수 있다. 예를 들어, 사용자 단말(201)이 텍스트 음성 변환 모듈을 포함할 수 있다. 사용자 단말(201)이 지능형 서버(300)로부터 텍스트 정보를 수신하고, 수신된 텍스트 정보를 음성으로 출력할 수 있다. According to one embodiment, some or all of the functions of the natural language platform 320 may be implemented in the user terminal 201. For example, the user terminal 201 may include an automatic speech recognition module and/or a natural language understanding module. After the user terminal 201 recognizes the user's voice command, it can transmit text information corresponding to the recognized voice command to the intelligent server 300. For example, the user terminal 201 may include a text-to-speech module. The user terminal 201 may receive text information from the intelligent server 300 and output the received text information as voice.

상기 캡슐 데이터베이스(330)는 복수의 도메인에 대응되는 복수의 컨셉과 동작들의 관계에 대한 정보를 저장할 수 있다. 일 실시예에 따른 캡슐은 플랜에 포함된 복수의 동작 오브젝트(action object)(또는 동작 정보) 및/또는 컨셉 오브젝트(concept object)(또는 컨셉 정보)를 포함할 수 있다. 일 실시 예에 따르면, 캡슐 데이터베이스(330)는 CAN(concept action network)의 형태로 복수의 캡슐을 저장할 수 있다. 일 실시 예에 따르면, 복수의 캡슐은 캡슐 데이터베이스(330)에 포함된 기능 저장소(function registry)에 저장될 수 있다.The capsule database 330 may store information about the relationship between a plurality of concepts and operations corresponding to a plurality of domains. The capsule according to one embodiment may include a plurality of action objects (or action information) and/or concept objects (or concept information) included in the plan. According to one embodiment, the capsule database 330 may store a plurality of capsules in the form of CAN (concept action network). According to one embodiment, a plurality of capsules may be stored in a function registry included in the capsule database 330.

상기 캡슐 데이터베이스(330)는 음성 입력에 대응되는 플랜을 결정할 때 필요한 전략 정보가 저장된 전략 레지스트리(strategy registry)를 포함할 수 있다. 상기 전략 정보는 음성 입력에 대응되는 복수의 플랜이 있는 경우, 하나의 플랜을 결정하기 위한 기준 정보를 포함할 수 있다. 일 실시 예에 따르면, 캡슐 데이터베이스(330)는 지정된 상황에서 사용자에게 후속 동작을 제안하기 위한 후속 동작의 정보가 저장된 후속 동작 레지스트리(follow up registry)를 포함할 수 있다. 상기 후속 동작은, 예를 들어, 후속 발화를 포함할 수 있다. 일 실시 예에 따르면, 캡슐 데이터베이스(330)는 사용자 단말(201)을 통해 출력되는 정보의 레이아웃(layout) 정보를 저장하는 레이아웃 레지스트리(layout registry)를 포함할 수 있다. 일 실시 예에 따르면, 캡슐 데이터베이스(330)는 캡슐 정보에 포함된 어휘(vocabulary) 정보가 저장된 어휘 레지스트리(vocabulary registry)를 포함할 수 있다. 일 실시 예에 따르면, 캡슐 데이터베이스(330)는 사용자와의 대화(dialog)(또는, 인터렉션(interaction)) 정보가 저장된 대화 레지스트리(dialog registry)를 포함할 수 있다. 상기 캡슐 데이터베이스(330)는 개발자 툴(developer tool)을 통해 저장된 오브젝트를 업데이트(update)할 수 있다. 상기 개발자 툴은, 예를 들어, 동작 오브젝트 또는 컨셉 오브젝트를 업데이트하기 위한 기능 에디터(function editor)를 포함할 수 있다. 상기 개발자 툴은 어휘를 업데이트하기 위한 어휘 에디터(vocabulary editor)를 포함할 수 있다. 상기 개발자 툴은 플랜을 결정하는 전략을 생성 및 등록 하는 전략 에디터(strategy editor)를 포함할 수 있다. 상기 개발자 툴은 사용자와의 대화를 생성하는 대화 에디터(dialog editor)를 포함할 수 있다. 상기 개발자 툴은 후속 목표를 활성화하고, 힌트를 제공하는 후속 발화를 편집할 수 있는 후속 동작 에디터(follow up editor)를 포함할 수 있다. 상기 후속 목표는 현재 설정된 목표, 사용자의 선호도 또는 환경 조건에 기초하여 결정될 수 있다. 일 실시 예에서는 캡슐 데이터베이스(330)가 사용자 단말(201) 내에도 구현될 수 있다.The capsule database 330 may include a strategy registry in which strategy information necessary for determining a plan corresponding to a voice input is stored. The strategy information may include standard information for determining one plan when there are multiple plans corresponding to voice input. According to one embodiment, the capsule database 330 may include a follow up registry in which information on follow-up actions is stored to suggest follow-up actions to the user in a specified situation. The follow-up action may include, for example, follow-up speech. According to one embodiment, the capsule database 330 may include a layout registry that stores layout information of information output through the user terminal 201. According to one embodiment, the capsule database 330 may include a vocabulary registry where vocabulary information included in capsule information is stored. According to one embodiment, the capsule database 330 may include a dialogue registry in which information about dialogue (or interaction) with a user is stored. The capsule database 330 can update stored objects through a developer tool. The developer tool may include, for example, a function editor for updating operation objects or concept objects. The developer tool may include a vocabulary editor for updating the vocabulary. The developer tool may include a strategy editor that creates and registers a strategy for determining the plan. The developer tool may include a dialogue editor that creates a dialogue with the user. The developer tool may include a follow up editor that can edit follow-up utterances to activate follow-up goals and provide hints. The subsequent goal may be determined based on currently set goals, user preferences, or environmental conditions. In one embodiment, the capsule database 330 may also be implemented within the user terminal 201.

일 실시 예의 실행 엔진(340)은 상기 생성된 플랜을 이용하여 결과를 산출할 수 있다. 엔드 유저 인터페이스(350)는 산출된 결과를 사용자 단말(201)로 송신할 수 있다. 이에 따라, 사용자 단말(201)은 상기 결과를 수신하고, 상기 수신된 결과를 사용자에게 제공할 수 있다. 일 실시 예의 매니지먼트 플랫폼(360)은 지능형 서버(300)에서 이용되는 정보를 관리할 수 있다. 일 실시 예의 빅 데이터 플랫폼(370)은 사용자의 데이터를 수집할 수 있다. 일 실시 예의 분석 플랫폼(380)은 지능형 서버(300)의 QoS(quality of service)를 관리할 수 있다. 예를 들어, 분석 플랫폼(380)은 지능형 서버(300)의 구성 요소 및 처리 속도(또는, 효율성)를 관리할 수 있다.The execution engine 340 of one embodiment may calculate a result using the generated plan. The end user interface 350 may transmit the calculated result to the user terminal 201. Accordingly, the user terminal 201 can receive the result and provide the received result to the user. The management platform 360 of one embodiment can manage information used in the intelligent server 300. The big data platform 370 in one embodiment may collect user data. The analysis platform 380 of one embodiment may manage quality of service (QoS) of the intelligent server 300. For example, the analytics platform 380 can manage the components and processing speed (or efficiency) of the intelligent server 300.

일 실시 예의 서비스 서버(400)는 사용자 단말(201)에 지정된 서비스(예: 음식 주문 또는 호텔 예약)를 제공할 수 있다. 일 실시 예에 따르면, 서비스 서버(400)는 제3 자에 의해 운영되는 서버일 수 있다. 일 실시 예의 서비스 서버(400)는 수신된 음성 입력에 대응되는 플랜을 생성하기 위한 정보를 지능형 서버(300)에 제공할 수 있다. 상기 제공된 정보는 캡슐 데이터베이스(330)에 저장될 수 있다. 또한, 서비스 서버(400)는 플랜에 따른 결과 정보를 지능형 서버(300)에 제공할 수 있다. 서비스 서버(400)는 네트워크(299)를 통하여 지능형 서버(300) 및/또는 사용자 단말(201)과 통신할 수 있다. 서비스 서버(400)는 별도의 연결을 통하여 지능형 서버(300)와 통신할 수 있다. 도 2에는 서비스 서버(400)가 하나의 서버로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 서비스 서버(400)의 각각의 서비스(401, 402, 및 403)들 중 적어도 하나는 별도의 서버로 구현될 수 있다. The service server 400 in one embodiment may provide a designated service (eg, food ordering or hotel reservation) to the user terminal 201. According to one embodiment, the service server 400 may be a server operated by a third party. The service server 400 in one embodiment may provide the intelligent server 300 with information for creating a plan corresponding to the received voice input. The provided information may be stored in the capsule database 330. Additionally, the service server 400 may provide result information according to the plan to the intelligent server 300. The service server 400 may communicate with the intelligent server 300 and/or the user terminal 201 through the network 299. The service server 400 can communicate with the intelligent server 300 through a separate connection. Although the service server 400 is shown as one server in FIG. 2, the embodiments of this document are not limited thereto. At least one of the services 401, 402, and 403 of the service server 400 may be implemented as a separate server.

위에 기술된 통합 지능 시스템에서, 상기 사용자 단말(201)은, 사용자 입력에 응답하여 사용자에게 다양한 인텔리전트 서비스를 제공할 수 있다. 상기 사용자 입력은, 예를 들어, 물리적 버튼을 통한 입력, 터치 입력 또는 음성 입력을 포함할 수 있다.In the integrated intelligence system described above, the user terminal 201 can provide various intelligent services to the user in response to user input. The user input may include, for example, input through a physical button, touch input, or voice input.

일 실시 예에서, 상기 사용자 단말(201)은 내부에 저장된 지능형 앱(또는, 음성 인식 앱)을 통해 음성 인식 서비스를 제공할 수 있다. 이 경우, 예를 들어, 사용자 단말(201)은 상기 마이크(270)를 통해 수신된 사용자 발화(utterance) 또는 음성 입력(voice input)을 인식하고, 인식된 음성 입력에 대응되는 서비스를 사용자에게 제공할 수 있다.In one embodiment, the user terminal 201 may provide a voice recognition service through an internally stored intelligent app (or voice recognition app). In this case, for example, the user terminal 201 recognizes a user utterance or voice input received through the microphone 270 and provides a service corresponding to the recognized voice input to the user. can do.

일 실시 예에서, 사용자 단말(201)은 수신된 음성 입력에 기초하여, 단독으로 또는 상기 지능형 서버(300) 및/또는 서비스 서버(400)와 함께 지정된 동작을 수행할 수 있다. 예를 들어, 사용자 단말(201)은 수신된 음성 입력에 대응되는 앱을 실행시키고, 실행된 앱을 통해 지정된 동작을 수행할 수 있다. In one embodiment, the user terminal 201 may perform a designated operation alone or together with the intelligent server 300 and/or the service server 400 based on the received voice input. For example, the user terminal 201 may run an app corresponding to a received voice input and perform a designated operation through the executed app.

일 실시 예에서, 사용자 단말(201)이 지능형 서버(300) 및/또는 서비스 서버(400)와 함께 서비스를 제공하는 경우에는, 상기 사용자 단말(201)은, 상기 마이크(270)를 이용하여 사용자 발화를 감지하고, 상기 감지된 사용자 발화에 대응되는 신호(또는, 음성 데이터)를 생성할 수 있다. 상기 사용자 단말(201)은, 상기 음성 데이터를 통신 인터페이스(290)를 이용하여 지능형 서버(300)로 송신할 수 있다.In one embodiment, when the user terminal 201 provides a service together with the intelligent server 300 and/or the service server 400, the user terminal 201 uses the microphone 270 to It is possible to detect an utterance and generate a signal (or voice data) corresponding to the detected user utterance. The user terminal 201 may transmit the voice data to the intelligent server 300 using the communication interface 290.

일 실시 예에 따른 지능형 서버(300)는 사용자 단말(201)로부터 수신된 음성 입력에 대한 응답으로써, 음성 입력에 대응되는 태스크(task)를 수행하기 위한 플랜, 또는 상기 플랜에 따라 동작을 수행한 결과를 생성할 수 있다. 상기 플랜은, 예를 들어, 사용자의 음성 입력에 대응되는 태스크(task)를 수행하기 위한 복수의 동작 및/또는 상기 복수의 동작과 관련된 복수의 컨셉을 포함할 수 있다. 상기 컨셉은 상기 복수의 동작의 실행에 입력되는 파라미터나, 복수의 동작의 실행에 의해 출력되는 결과 값을 정의한 것일 수 있다. 상기 플랜은 복수의 동작 및/또는 복수의 컨셉 사이의 연관 정보를 포함할 수 있다.In response to a voice input received from the user terminal 201, the intelligent server 300 according to one embodiment provides a plan for performing a task corresponding to the voice input, or an operation according to the plan. can produce results. For example, the plan may include a plurality of operations for performing a task corresponding to a user's voice input and/or a plurality of concepts related to the plurality of operations. The concept may define parameters input to the execution of the plurality of operations or result values output by the execution of the plurality of operations. The plan may include association information between multiple operations and/or multiple concepts.

일 실시 예의 사용자 단말(201)은, 통신 인터페이스(290)를 이용하여 상기 응답을 수신할 수 있다. 사용자 단말(201)은 상기 스피커(255)를 이용하여 사용자 단말(201) 내부에서 생성된 음성 신호를 외부로 출력하거나, 디스플레이(260)를 이용하여 사용자 단말(201) 내부에서 생성된 이미지를 외부로 출력할 수 있다. The user terminal 201 in one embodiment may receive the response using the communication interface 290. The user terminal 201 uses the speaker 255 to output a voice signal generated inside the user terminal 201 to the outside, or uses the display 260 to output an image generated inside the user terminal 201 to the outside. It can be output as .

도 3는 일 실시 예에 따른, 컨셉과 동작의 관계 정보가 데이터베이스에 저장된 형태를 나타낸 도면이다.Figure 3 is a diagram showing how relationship information between concepts and actions is stored in a database, according to an embodiment.

상기 지능형 서버(300)의 캡슐 데이터베이스(예: 캡슐 데이터베이스(330))는 CAN (concept action network) 형태로 캡슐을 저장할 수 있다. 상기 캡슐 데이터베이스는 사용자의 음성 입력에 대응되는 태스크를 처리하기 위한 동작, 및 상기 동작을 위해 필요한 파라미터를 CAN(concept action network) 형태로 저장할 수 있다.The capsule database (e.g., capsule database 330) of the intelligent server 300 may store capsules in CAN (concept action network) format. The capsule database may store operations for processing tasks corresponding to the user's voice input, and parameters necessary for the operations in CAN (concept action network) format.

상기 캡슐 데이터베이스는 복수의 도메인(예: 어플리케이션) 각각에 대응되는 복수의 캡슐(캡슐A(331), 캡슐B(334))을 저장할 수 있다. 일 실시 예에 따르면, 하나의 캡슐(예: 캡슐A(331))은 하나의 도메인(예: 위치(geo), 어플리케이션)에 대응될 수 있다. 또한, 하나의 캡슐에는 캡슐과 관련된 도메인에 대한 기능을 수행하기 위한 적어도 하나의 서비스 제공자의 캡슐(예: CP 1(332), CP 2 (333), CP3 (335), 및/또는 CP4 (336))이 대응될 수 있다. 일 실시 예에 따르면, 하나의 캡슐은 지정된 기능을 수행하기 위한 적어도 하나 이상의 동작(330a) 및 적어도 하나 이상의 컨셉(330b)을 포함할 수 있다. The capsule database may store a plurality of capsules (capsule A 331, capsule B 334) corresponding to each of a plurality of domains (eg, applications). According to one embodiment, one capsule (e.g., capsule A 331) may correspond to one domain (e.g., location (geo), application). Additionally, one capsule contains at least one capsule of a service provider (e.g., CP 1 (332), CP 2 (333), CP3 (335), and/or CP4 (336) to perform functions for the domain associated with the capsule. )) can correspond. According to one embodiment, one capsule may include at least one operation 330a and at least one concept 330b for performing a designated function.

상기, 자연어 플랫폼(320)은 캡슐 데이터베이스(330)에 저장된 캡슐을 이용하여 수신된 음성 입력에 대응하는 태스크를 수행하기 위한 플랜을 생성할 수 있다. 예를 들어, 자연어 플랫폼의 플래너 모듈(325)은 캡슐 데이터베이스에 저장된 캡슐을 이용하여 플랜을 생성할 수 있다. 예를 들어, 캡슐 A(331)의 동작들(331a, 332a)과 컨셉들(331b, 332b) 및 캡슐 B(334)의 동작(334a)과 컨셉(334b)을 이용하여 플랜(337)을 생성할 수 있다. The natural language platform 320 may create a plan for performing a task corresponding to the received voice input using the capsule stored in the capsule database 330. For example, the planner module 325 of the natural language platform can create a plan using capsules stored in the capsule database. For example, create a plan 337 using the operations 331a, 332a and concepts 331b, 332b of capsule A 331 and the operations 334a and concept 334b of capsule B 334. can do.

도 4는 일 실시 예에 따른 사용자 단말이 지능형 앱을 통해 수신된 음성 입력을 처리하는 화면을 나타낸 도면이다.Figure 4 is a diagram illustrating a screen in which a user terminal processes voice input received through an intelligent app according to an embodiment.

사용자 단말(201)은 지능형 서버(300)를 통해 사용자 입력을 처리하기 위해 지능형 앱을 실행할 수 있다.The user terminal 201 can run an intelligent app to process user input through the intelligent server 300.

일 실시 예에 따르면, 제1 화면(210)에서, 사용자 단말(201)은 지정된 음성 입력(예: 웨이크 업!)을 인식하거나 하드웨어 키(예: 전용 하드웨어 키)를 통한 입력을 수신하면, 음성 입력을 처리하기 위한 지능형 앱을 실행할 수 있다. 사용자 단말(201)은, 예를 들어, 스케줄 앱을 실행한 상태에서 지능형 앱을 실행할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 지능형 앱에 대응되는 오브젝트(예: 아이콘)(211)를 디스플레이(260)에 표시할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 사용자 발화에 의한 음성 입력을 수신할 수 있다. 예를 들어, 사용자 단말(201)은 “이번주 일정 알려줘!”라는 음성 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 수신된 음성 입력의 텍스트 데이터가 표시된 지능형 앱의 UI(user interface)(213)(예: 입력창)를 디스플레이에 표시할 수 있다.According to one embodiment, on the first screen 210, when the user terminal 201 recognizes a designated voice input (eg, wake up!) or receives an input through a hardware key (eg, a dedicated hardware key), the user terminal 201 It can run intelligent apps to process input. For example, the user terminal 201 may run an intelligent app while executing a schedule app. According to one embodiment, the user terminal 201 may display an object (eg, an icon) 211 corresponding to an intelligent app on the display 260. According to one embodiment, the user terminal 201 may receive voice input through a user's utterance. For example, the user terminal 201 may receive a voice input saying “Tell me this week’s schedule!” According to one embodiment, the user terminal 201 may display a user interface (UI) 213 (e.g., input window) of an intelligent app displaying text data of a received voice input on the display.

일 실시 예에 따르면, 제2 화면(215)에서, 사용자 단말(201)은 수신된 음성 입력에 대응되는 결과를 디스플레이에 표시할 수 있다. 예를 들어, 사용자 단말(201)은 수신된 사용자 입력에 대응되는 플랜을 수신하고, 플랜에 따라 ‘이번주 일정’을 디스플레이에 표시할 수 있다.According to one embodiment, on the second screen 215, the user terminal 201 may display a result corresponding to the received voice input on the display. For example, the user terminal 201 may receive a plan corresponding to the received user input and display ‘this week’s schedule’ on the display according to the plan.

도 5는 일 실시 예에 따른 음성 인식 환경을 도시한다.Figure 5 shows a voice recognition environment according to one embodiment.

도 5를 참조하여, 일 실시 예에 따른 음성 인식 환경(500)은 전자 장치(501), 서버 장치(511) 및/또는 주변 전자 장치(521)를 포함할 수 있다. 예를 들어, 전자 장치(501)는 도 1의 전자 장치(101) 또는 도 2의 사용자 단말(201)에 대응할 수 있다. 예를 들어, 서버 장치(511)는 도 1의 서버(108) 또는 도 2의 지능형 서버(300)에 대응할 수 있다. 예를 들어, 주변 전자 장치(521)는 도 1의 전자 장치(102)에 대응할 수 있다. Referring to FIG. 5 , the voice recognition environment 500 according to an embodiment may include an electronic device 501, a server device 511, and/or a peripheral electronic device 521. For example, the electronic device 501 may correspond to the electronic device 101 of FIG. 1 or the user terminal 201 of FIG. 2. For example, server device 511 may correspond to server 108 in FIG. 1 or intelligent server 300 in FIG. 2. For example, the peripheral electronic device 521 may correspond to the electronic device 102 of FIG. 1 .

전자 장치(501)는 화자(599)의 발화(590)를 수신하는 청취 장치(listener device)로 참조될 수 있다. 전자 장치(501)는 음성 비서 어플리케이션(예: 도 2의 클라이언트 모듈(231))을 포함할 수 있다. 전자 장치(501)는 화자(599)의 발화(590)를 음성 수신 회로(예: 도 1의 오디오 모듈(170))를 이용하여 수신할 수 있다. 전자 장치(501)는 화자(599)의 발화(590)를 주변 전자 장치(521)(예: 이어 버드)를 이용하여 수신할 수 있다. The electronic device 501 may be referred to as a listener device that receives the utterance 590 of the speaker 599. The electronic device 501 may include a voice assistant application (eg, the client module 231 of FIG. 2). The electronic device 501 may receive the utterance 590 of the speaker 599 using a voice reception circuit (eg, the audio module 170 of FIG. 1). The electronic device 501 may receive the speaker 599's speech 590 using a peripheral electronic device 521 (eg, an earbud).

예를 들어, 발화(590)는 음성 비서 어플리케이션의 호출을 위한 지정된 호출어(예: 웨이크업 워드(wakeup word))를 포함할 수 있다. 전자 장치(501)는, 예를 들어, 발화(590)로부터 웨이크업 워드를 식별할 수 있다. 전자 장치(501)는, 예를 들어, 발화(590)에 대한 자동 음성 인식을 수행할 수 있다. 전자 장치(501)는 자동 음성 인식의 결과(예: 발화(590)에 대응하는 텍스트)로부터 지정된 호출어를 식별할 수 있다. For example, the utterance 590 may include a designated call word (eg, wakeup word) for calling a voice assistant application. Electronic device 501 may identify a wakeup word from utterance 590, for example. For example, the electronic device 501 may perform automatic voice recognition for the utterance 590. The electronic device 501 may identify the designated call word from the result of automatic voice recognition (e.g., text corresponding to the utterance 590).

일 예에서, 전자 장치(501)는 발화(590)를 이용하여 화자 검증(speaker verification)을 수행할 수 있다. 본 개시에서, 화자 검증은, 발화(590)에 대응하는 음성이 특정한 화자의 음성에 대응하는지를 결정하는 절차로 참조될 수 있다. 일 예에서, 전자 장치(501)는 화자 검증 결과에 기반하여 화자(599)에 대한 인증(authentication)을 수행할 수 있다. 화자 검증에 대한 구체적인 설명은 도 7과 관련하여 후술될 수 있다. In one example, the electronic device 501 may perform speaker verification using the utterance 590. In this disclosure, speaker verification may be referred to as a procedure for determining whether the voice corresponding to utterance 590 corresponds to the voice of a specific speaker. In one example, the electronic device 501 may perform authentication for the speaker 599 based on the speaker verification result. A detailed description of speaker verification may be described later in relation to FIG. 7 .

일 예에서, 발화(590)는 제어 명령을 포함할 수 있다. 제어 명령은, 예를 들어, 전자 장치(501) 또는 다른 전자 장치의 제어에 대응하는 사용자의 의도(intent)를 포함하는 명령을 의미할 수 있다. 화자(599)는 지정된 호출어와 함께 제어 명령을 말하거나, 음성 비서 어플리케이션이 호출된 상태에서 제어 명령을 말할 수 있다. 일 예에서, 전자 장치(501)는 발화(590)에 대응하는 발화 데이터를 서버 장치(511)에 송신하도록 설정될 수 있다. 전자 장치(501)는 인터넷과 같은 네트워크를 통하여 서버 장치(511)에 발화 데이터를 송신하도록 설정될 수 있다. 전자 장치(501)는 서버 장치(511)로부터 발화 데이터에 대응하는 플랜을 수신할 수 있다. 전자 장치(501)는 플랜에 대응하는 다양한 동작들을 순차적으로 수행함으로써 발화(590)의 의도에 대응하는 태스크를 수행할 수 있다. 예를 들어, 전자 장치(501)는 서버(511)의 개입 없이 발화(590)의 의도에 대응하는 태스크를 수행할 수 있다. 전자 장치(501)는 도 2와 관련하여 상술된 자연어 플랫폼(320)의 동작들의 적어도 일부를 수행하여 발화 데이터에 대응하는 플랜을 생성할 수 있다. 이 경우, 서버 장치(511)는 생략될 수 있다.In one example, utterance 590 may include a control command. For example, a control command may mean a command containing the user's intention corresponding to control of the electronic device 501 or another electronic device. The speaker 599 may speak a control command along with a designated calling word, or may speak a control command while the voice assistant application is called. In one example, the electronic device 501 may be set to transmit speech data corresponding to the speech 590 to the server device 511. The electronic device 501 may be set to transmit speech data to the server device 511 through a network such as the Internet. The electronic device 501 may receive a plan corresponding to speech data from the server device 511. The electronic device 501 may perform a task corresponding to the intention of the utterance 590 by sequentially performing various operations corresponding to the plan. For example, the electronic device 501 may perform a task corresponding to the intention of the utterance 590 without the intervention of the server 511. The electronic device 501 may perform at least some of the operations of the natural language platform 320 described above with reference to FIG. 2 to generate a plan corresponding to speech data. In this case, the server device 511 may be omitted.

일 실시 예에 따르면, 전자 장치(501)는 적어도 하나의 조건에 기반하여 화자 검증을 수행할 수 있다. 예를 들어, 전자 장치(501)는 음성 비서 어플리케이션의 호출을 위하여 화자 검증을 수행할 수 있다. 발화(590)가 지정된 호출어를 포함하는 경우, 전자 장치(501)는 발화(590)가 지정된 사용자에 의한 것인 지를 결정하기 위하여 화자 검증을 수행할 수 있다. 전자 장치(501)는 발화(590)가 지정된 호출어를 포함하고, 발화(590)에 기반한 화자 검증이 성공하면, 음성 비서 어플리케이션을 실행시킬 수 있다. 예를 들어, 전자 장치(501)는 잠금 해제를 위하여 화자 검증을 수행할 수 있다. 전자 장치(501)가 잠금 상태에 있는 동안 발화(590)를 수신하는 경우, 전자 장치(501)는 발화(590)에 기반한 화자 검증을 수행할 수 있다. 전자 장치(501)는 발화(590)에 기반한 화자 검증이 성공하면, 전자 장치(501)의 잠금 상태를 해제할 수 있다. 예를 들어, 전자 장치(501)는 대기 상태로부터 웨이크업 상태로의 전환을 위하여 화자 검증을 수행할 수 있다. 대기 상태에서, 전자 장치(501)는 프로세서(620)의 일부(예: 도 1의 보조 프로세서(123))를 활성화 상태로 제어하고, 나머지는 저전력 상태 제어할 수 있다. 대기 상태에서 발화(590)를 수신하는 경우, 전자 장치(501)는 발화(590)에 기반한 화자 검증을 수행할 수 있다. 전자 장치(501)는 발화(590)에 기반한 화자 검증이 성공하면, 전자 장치(501)를 대기 상태(예: 저전력 상태)로부터 웨이크업 상태(예: 고전력 상태)로 전환시킬 수 있다. 전자 장치(501)는 프로세서(620)의 나머지(예: 도 1의 메인 프로세서(121)를 활성화 시킴으로써 웨이크업 상태에 진입할 수 있다. 예를 들어, 전자 장치(501)는 잠금 해제 및 음성 비서 어플리케이션의 실행을 위하여 화자 검증을 수행할 수 있다. 전자 장치(501)가 잠금 상태에 있는 동안 발화(590)를 수신하는 경우, 전자 장치(501)는 발화(590)에 기반한 화자 검증을 수행할 수 있다. 전자 장치(501)는 발화(590)에 기반한 화자 검증이 성공하면, 전자 장치(501)의 잠금 상태를 해제하고, 음성 비서 어플리케이션을 실행할 수 있다. 예를 들어, 전자 장치(501)는 제어 명령의 수행을 위하여 화자 검증을 수행할 수 있다. 발화(590)가 제어 명령을 포함하는 경우, 제어 명령의 수행에 사용자의 인증이 요구될 수 있다. 전자 장치(501)는 사용자의 인증을 위하여 발화(590)에 기반한 화자 검증을 수행할 수 있다. According to one embodiment, the electronic device 501 may perform speaker verification based on at least one condition. For example, the electronic device 501 may perform speaker verification to call a voice assistant application. When the utterance 590 includes a designated call word, the electronic device 501 may perform speaker verification to determine whether the utterance 590 is by a designated user. If the utterance 590 includes a designated call word and speaker verification based on the utterance 590 is successful, the electronic device 501 can execute the voice assistant application. For example, the electronic device 501 may perform speaker verification to unlock. When the electronic device 501 receives an utterance 590 while in a locked state, the electronic device 501 may perform speaker verification based on the utterance 590. If speaker verification based on the utterance 590 is successful, the electronic device 501 may unlock the electronic device 501. For example, the electronic device 501 may perform speaker verification to transition from the standby state to the wake-up state. In the standby state, the electronic device 501 may control a part of the processor 620 (e.g., the auxiliary processor 123 in FIG. 1) to be in an active state and control the remainder to be in a low-power state. When receiving an utterance 590 in a standby state, the electronic device 501 may perform speaker verification based on the utterance 590. If speaker verification based on the utterance 590 is successful, the electronic device 501 may switch from a standby state (e.g., low-power state) to a wake-up state (e.g., high-power state). The electronic device 501 may enter the wake-up state by activating the remainder of the processor 620 (e.g., the main processor 121 in Figure 1). For example, the electronic device 501 may perform unlocking and voice assistant functions. Speaker verification may be performed to execute the application. When the electronic device 501 receives an utterance 590 while in a locked state, the electronic device 501 may perform speaker verification based on the utterance 590. When speaker verification based on the utterance 590 is successful, the electronic device 501 can unlock the electronic device 501 and run a voice assistant application. For example, the electronic device 501 may perform speaker verification to perform the control command. When the utterance 590 includes a control command, user authentication may be required to perform the control command. The electronic device 501 may perform user authentication. For this purpose, speaker verification based on the utterance 590 can be performed.

서버 장치(511)는 적어도 하나의 서버 장치를 포함할 수 있다. 예를 들어, 서버 장치(511)는 전자 장치(501)로부터 발화 데이터를 수신하고, 발화 데이터를 처리하도록 설정될 수 있다. 서버 장치(511)는 전자 장치(501)로부터 수신된 발화 데이터를 처리함으로써 수신된 발화 데이터에 포함된 화자(599)의 의도(intent)를 결정할 수 있다. 서버 장치(511)는 의도에 대응하는 플랜을 생성하고, 생성된 플랜을 전자 장치(501)에 전달할 수 있다. Server device 511 may include at least one server device. For example, the server device 511 may be configured to receive speech data from the electronic device 501 and process the speech data. The server device 511 may determine the intent of the speaker 599 included in the received speech data by processing the speech data received from the electronic device 501. The server device 511 may create a plan corresponding to the intention and transmit the generated plan to the electronic device 501.

도 5와 관련하여 상술된 음성 인식 환경(500)은 예시적인 것으로서, 본 개시의 실시 예들이 이에 제한되지 아니한다. 통상의 기술자는 서버 장치(511) 및/또는 주변 전자 장치(521)가 생략될 수 있음을 이해할 수 있을 것이다.The voice recognition environment 500 described above with reference to FIG. 5 is illustrative, and embodiments of the present disclosure are not limited thereto. Those skilled in the art will understand that the server device 511 and/or the peripheral electronic device 521 may be omitted.

도 6은 일 실시 예에 따른 전자 장치의 블록도를 도시한다.Figure 6 shows a block diagram of an electronic device according to an embodiment.

도 6을 참조하여, 일 실시예에 따르면, 전자 장치(501)는 프로세서(620), 메모리(630), 마이크로폰(650), 디스플레이(660), 및/또는 통신 회로(690)를 포함할 수 있다. 예를 들어, 프로세서(620)는 도 1의 프로세서(120) 또는 도 2의 프로세서(220)에 대응할 수 있다. 예를 들어, 메모리(630)는 도 1의 메모리(130) 또는 도 2의 메모리(230)에 대응할 수 있다. 예를 들어, 마이크로폰(650)은 도 1의 오디오 모듈(170) 또는 도 2의 마이크(270)에 대응할 수 있다. 예를 들어, 디스플레이(660)는 도 1의 디스플레이 모듈(160) 또는 도 2의 디스플레이(260)에 대응할 수 있다. 예를 들어, 통신 회로(690)는 도 1의 통신 모듈(190) 또는 도 2의 통신 인터페이스(290)에 대응할 수 있다. 도 6의 전자 장치(601)의 구성은 예시적인 것으로서, 전자 장치(601)는 도 6에 미도시된 구성을 더 포함할 수 있다.Referring to Figure 6, according to one embodiment, the electronic device 501 may include a processor 620, memory 630, microphone 650, display 660, and/or communication circuitry 690. there is. For example, the processor 620 may correspond to the processor 120 of FIG. 1 or the processor 220 of FIG. 2. For example, memory 630 may correspond to memory 130 of FIG. 1 or memory 230 of FIG. 2 . For example, the microphone 650 may correspond to the audio module 170 of FIG. 1 or the microphone 270 of FIG. 2. For example, display 660 may correspond to display module 160 of FIG. 1 or display 260 of FIG. 2 . For example, the communication circuit 690 may correspond to the communication module 190 of FIG. 1 or the communication interface 290 of FIG. 2. The configuration of the electronic device 601 in FIG. 6 is an example, and the electronic device 601 may further include a configuration not shown in FIG. 6 .

프로세서(620)는 메모리(630), 마이크로폰(650), 디스플레이(660), 및/또는 통신 회로(690)와 전기적으로(electrically), 작동적으로(operatively), 또는 기능적으로(functionally) 연결될 수 있다. 본 개시에서, 일 구성이 타 구성과 “작동적으로” 연결된 경우, 일 구성은 타 구성을 작동시킬 수 있도록 연결된 것을 의미할 수 있다. 예를 들어, 일 구성은 직접 또는 다른 구성을 거쳐서 타 구성에 제어 신호를 전달함으로써 타 구성을 작동시킬 수 있다. 본 개시에서 일 구성이 타 구성과 “기능적으로” 연결된 경우, 일 구성은 타 구성의 기능을 실행할 수 있도록 연결된 것을 의미할 수 있다. 예를 들어, 일 구성은 직접 또는 다른 구성을 거쳐서 타 구성에 제어 신호를 전달함으로써 타 구성의 기능을 실행시킬 수 있다.Processor 620 may be electrically, operatively, or functionally connected to memory 630, microphone 650, display 660, and/or communication circuitry 690. there is. In the present disclosure, when one component is “operably” connected to another component, it may mean that one component is connected to operate the other component. For example, one component may actuate another component by transmitting a control signal to the other component, either directly or via another component. In the present disclosure, when one component is “functionally” connected to another component, it may mean that one component is connected to execute the function of the other component. For example, one component may execute the function of another component by transmitting a control signal to the other component directly or via another component.

메모리(630)는 인스트럭션들을 저장할 수 있다. 인스트럭션들은 프로세서(620)에 의하여 실행되었을 때, 전자 장치(501)로 하여금 다양한 동작들을 수행하도록 할 수 있다. 본 개시에서, 전자 장치(501)의 동작은 메모리(630)에 저장된 인스트럭션들을 실행함으로써 프로세서(620)에 의하여 수행되는 동작으로 참조될 수 있다. 일 실시 예에서, 메모리(630)는 화자 검증을 위한 적어도 하나의 화자 검증 모델을 저장할 수 있다. 화자 검증 모델은 도 7과 관련하여 후술될 수 있다. Memory 630 may store instructions. When executed by the processor 620, the instructions may cause the electronic device 501 to perform various operations. In this disclosure, the operation of the electronic device 501 may be referred to as an operation performed by the processor 620 by executing instructions stored in the memory 630. In one embodiment, the memory 630 may store at least one speaker verification model for speaker verification. The speaker verification model may be described later with respect to FIG. 7 .

마이크로폰(650)은 소리 신호를 전기적 신호로 변환할 수 있다. 전자 장치(501)는 마이크로폰(650)으로부터 수신된 전기적 신호를 디지털 신호로 변환하고, 디지털 신호에 기반한 데이터 처리를 수행할 수 있다. The microphone 650 can convert sound signals into electrical signals. The electronic device 501 may convert the electrical signal received from the microphone 650 into a digital signal and perform data processing based on the digital signal.

통신 회로(690)는 전자 장치(501)와 다른 전자 장치(예: 도 5의 서버 장치(611) 및/또는 주변 전자 장치(621))와의 통신을 제공할 수 있다. 통신 회로(690)는 유선 통신 및/또는 무선 통신을 지원할 수 있다. 통신 회로(690)는 근거리 무선 통신 및/또는 원거리 무선 통신을 지원할 수 있다. The communication circuit 690 may provide communication between the electronic device 501 and other electronic devices (eg, the server device 611 and/or the peripheral electronic device 621 of FIG. 5 ). Communication circuitry 690 may support wired and/or wireless communication. Communication circuitry 690 may support short-range wireless communication and/or long-range wireless communication.

전자 장치(501)는 화자 검증을 수행할 수 있다. 전자 장치(501)는 마이크로폰(650) 또는 통신 회로(690)를 이용하여 발화 데이터를 획득(acquire)할 수 있다. 전자 장치(501)는 발화 데이터에 대한 특징(feature)을 추출할 수 있다. 예를 들어, 전자 장치(501)는 발화 데이터에 포함된 음성에 대한 특징들의 벡터(예: 음성 벡터)를 추출할 수 있다. 전자 장치(501)는 발화 데이터에 대응하는 음성 벡터와 메모리(630)에 저장된 화자 검증 벡터를 비교할 수 있다. 전자 장치(501)는 음성 벡터와 화자 검증 벡터 사이의 유사도가 임계값 이상이면, 음성 벡터에 대응하는 발화의 화자가 저장된 화자 검증 벡터의 화자와 동일함을 검증할 수 있다. The electronic device 501 can perform speaker verification. The electronic device 501 may acquire speech data using the microphone 650 or the communication circuit 690. The electronic device 501 can extract features about speech data. For example, the electronic device 501 may extract a vector of features for speech included in speech data (eg, a speech vector). The electronic device 501 may compare the speech vector corresponding to the speech data with the speaker verification vector stored in the memory 630. If the similarity between the voice vector and the speaker verification vector is greater than or equal to the threshold, the electronic device 501 may verify that the speaker of the utterance corresponding to the voice vector is the same as the speaker in the stored speaker verification vector.

일 실시 예에 따르면, 전자 장치(501)는 화자 검증을 위한 민감도를 조정할 수 있다. 예를 들어, 전자 장치(501)는 화자 검증을 위한 임계값(예: 음성 벡터와 화자 검증 모델 사이의 유사도에 대한 임계값)을 조정함으로써 민감도를 조정할 수 있다. 전자 장치(501)는 화자 검증을 위한 임계값을 화자의 발화에 대응하는 복수의 음성 샘플들을 이용하여 조정할 수 있다. 예를 들어, 전자 장치(501)는 임계값의 조정을 위한 추천을 제공할 수 있다. 이하에서, 도 7 내지 도 12를 참조하여, 전자 장치(501)의 임계값 조정을 위한 다양한 예시들이 설명될 수 있다.According to one embodiment, the electronic device 501 may adjust sensitivity for speaker verification. For example, the electronic device 501 may adjust sensitivity by adjusting a threshold for speaker verification (e.g., a threshold for similarity between a speech vector and a speaker verification model). The electronic device 501 may adjust the threshold for speaker verification using a plurality of voice samples corresponding to the speaker's utterance. For example, electronic device 501 may provide recommendations for adjustment of the threshold. Below, various examples for adjusting the threshold of the electronic device 501 may be described with reference to FIGS. 7 to 12 .

일 예에서, 전자 장치(501)는, 디스플레이(660), 메모리(630), 및 프로세서(620)를 포함할 수 있다. 메모리(630)는 프로세서(620)에 의하여 실행되었을 때에, 프로세서(620)로 하여금 다양한 동작들을 수행하도록 하는 인스트럭션들을 저장할 수 있다. 프로세서(620)는, 웨이크업 워드를 포함하는 복수의 음성 신호들을 획득(acquire)할 수 있다. 프로세서(620)는, 복수의 음성 신호들 각각과 메모리(630)에 저장된 화자 검증 모델 사이의 유사도를 제1 임계값과 비교하여 복수의 음성 신호들 각각에 대한 화자 검증 여부를 결정할 수 있다. 예를 들어, 프로세서(620)는, 복수의 음성 신호들 각각과 메모리(630)에 저장된 화자 검증 모델 사이의 유사도가 제1 임계값 미만이면 복수의 음성 신호들 각각에 대한 화자 검증이 실패한 것으로 결정할 수 있다. 프로세서(620)는, 화자 검증에 실패한 음성 신호를 메모리(630)에 저장할 수 있다.In one example, the electronic device 501 may include a display 660, a memory 630, and a processor 620. The memory 630 may store instructions that, when executed by the processor 620, allow the processor 620 to perform various operations. The processor 620 may acquire a plurality of voice signals including a wakeup word. The processor 620 may determine whether to verify the speaker for each of the plurality of voice signals by comparing the similarity between each of the plurality of voice signals and the speaker verification model stored in the memory 630 with a first threshold. For example, the processor 620 determines that speaker verification for each of the plurality of speech signals has failed if the similarity between each of the plurality of speech signals and the speaker verification model stored in the memory 630 is less than the first threshold. You can. The processor 620 may store a voice signal that fails speaker verification in the memory 630.

프로세서(620)는, 복수의 음성 신호들에 대한 화자 검증의 실패 후, 복수의 음성 신호들 중 마지막 음성 신호의 수신 시점으로부터 지정된 시간 내에 화자 검증 외의 인증 방법에 기반한 전자 장치에 대한 사용자 인증을 수신할 수 있다. 예를 들어, 사용자 인증은, 패스워드, 지문, 홍채, 또는 패턴 중 적어도 하나에 기반한 인증을 포함할 수 있다. 예를 들어, 프로세서(620)는 사용자 인증의 수신에 기반하여, 전자 장치(501)의 상태를 잠금 상태로부터 잠금 해제 상태로 변경시킬 수 있다. 예를 들어, 프로세서(620)는, 사용자 인증에 기반하여, 제1 임계값의 조정을 추천하는 UI(user interface)를 디스플레이(630)에 표시할 수 있다. 프로세서(620)는 잠금 해제 상태로의 변경 후 전자 장치(501)의 음성 에이전트 어플리케이션이 실행되면 UI를 디스플레이 할 수 있다. 예를 들어, UI는 복수의 음성 신호들에 대한 정보를 포함할 수 있다. The processor 620 receives user authentication for the electronic device based on an authentication method other than speaker verification within a specified time from the reception of the last voice signal among the plurality of voice signals, after speaker verification of the plurality of voice signals fails. can do. For example, user authentication may include authentication based on at least one of a password, fingerprint, iris, or pattern. For example, the processor 620 may change the state of the electronic device 501 from the locked state to the unlocked state based on receipt of user authentication. For example, the processor 620 may display a user interface (UI) recommending adjustment of the first threshold on the display 630 based on user authentication. The processor 620 may display a UI when the voice agent application of the electronic device 501 is executed after changing to the unlocked state. For example, the UI may include information about a plurality of voice signals.

프로세서(620)는, UI에 대한 입력에 기반하여 복수의 음성 신호들 중 적어도 일부와, 화자 검증 모델 사이의 유사도에 기반하여 제1 임계값을 조정할 수 있다. 프로세서(620)는 UI에 대한 사용자 입력에 기반하여 선택된 복수의 음성 신호들 중 적어도 일부를 이용하여 제1 임계값을 조정할 수 있다. 예를 들어, 프로세서(620)는 복수의 음성 신호들 중 적어도 일부 각각과 저장된 화자 검증 모델 사이의 유사도에 기반하여 제1 임계값을 제2 임계값으로 조정할 수 있다. 프로세서(620)는 복수의 음성 신호들 중 적어도 일부 각각과 저장된 화자 검증 모델 사이의 유사도 중 가장 높은 제1 유사도에 기반하여 제2 임계값을 식별할 수 있다. 프로세서(620)는 제1 유사도와 제1 임계값의 가중 합에 기반하여 제2 임계값을 식별할 수 있다. The processor 620 may adjust the first threshold based on the similarity between at least some of the plurality of voice signals and the speaker verification model based on the input to the UI. The processor 620 may adjust the first threshold using at least some of a plurality of voice signals selected based on a user input to the UI. For example, the processor 620 may adjust the first threshold to the second threshold based on the similarity between each of at least some of the plurality of voice signals and the stored speaker verification model. The processor 620 may identify the second threshold based on the highest first similarity among the similarities between each of at least some of the plurality of voice signals and the stored speaker verification model. The processor 620 may identify the second threshold based on the weighted sum of the first similarity and the first threshold.

상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가, 상기 잠금 해제 상태로의 변경 후, 상기 전자 장치의 음성 에이전트 어플리케이션이 실행되면 상기 UI를 디스플레이하도록 하는, 전자 장치.When the instructions are executed by the processor, the processor displays the UI when the voice agent application of the electronic device is executed after changing to the unlocked state.

도 7은 일 실시 예에 따른 전자 장치의 모듈들을 도시한다. Figure 7 shows modules of an electronic device according to an embodiment.

도 6 및 도 7을 참조하여, 일 실시 예에 따르면, 전자 장치(501)는 복수의 모듈들을 포함할 수 있다. 예를 들어, 도 7과 관련하여 설명되는 전자 장치(501)의 구성들은 메모리(630)에 저장된 인스트럭션들을 프로세서(620)에 의하여 실행함으로써 구현되는 소프트웨어 모듈들일 수 있다. 전자 장치(501)의 모듈들의 적어도 일부는 하드웨어 모듈일 수 있다. 일 예에서, 메모리(630)는 웨이크업 워드 인식 모델 DB(wakeup word recognition model database, 725), 평가 데이터 DB(evaluation data database, 735), 및 화자 검증 모델 DB(speaker verification model database, 745)을 저장할 수 있다. 일 예에서, 화자 검증 모듈(740), 화자 검증 관리자(760), 및 음성 비서 클라이언트(voice assistant client, 750)는 프로세서(630)의 일부(예: 어플리케이션 프로세서 또는 도 1의 메인 프로세서(121))에 의하여 구현될 수 있다. 일 예에서, 전처리 모듈(710), 웨이크업 워드 인식 모듈(720), 및 데이터 관리 모듈(730)은 프로세서(620)의 다른 일부(예: DSP(digital signal processor) 또는 도 1의 보조 프로세서(122))에 의하여 구현될 수 있다. 도 7과 관련하여 설명되는 모듈들의 동작들은 프로세서(620)의 동작으로 참조될 수 있다.Referring to FIGS. 6 and 7 , according to one embodiment, the electronic device 501 may include a plurality of modules. For example, the components of the electronic device 501 described with reference to FIG. 7 may be software modules implemented by executing instructions stored in the memory 630 by the processor 620. At least some of the modules of the electronic device 501 may be hardware modules. In one example, the memory 630 includes a wakeup word recognition model database 725, an evaluation data database 735, and a speaker verification model database 745. You can save it. In one example, speaker verification module 740, speaker verification manager 760, and voice assistant client 750 are part of processor 630 (e.g., application processor or main processor 121 of FIG. 1). ) can be implemented by. In one example, the preprocessing module 710, the wakeup word recognition module 720, and the data management module 730 may be connected to another part of the processor 620 (e.g., a digital signal processor (DSP) or a co-processor of FIG. 1). 122)). Operations of modules described in relation to FIG. 7 may be referred to as operations of the processor 620.

전처리 모듈(710)은 획득된(acquired) 음성 데이터에 대한 전처리를 수행할 수 있다. 예를 들어, 전처리 모듈(710)은 마이크로폰(650)을 통하여 획득된 음성 데이터 또는 통신 회로(690)를 통하여 다른 전자 장치로부터 수신된 음성 데이터에 대한 전처리를 수행할 수 있다. 전처리는 음성 데이터가 다른 모듈들에 의하여 이용되기 위한 다양한 동작들을 포함할 수 있다. 예를 들어, 전처리 모듈(710)은 마이크로폰(650)에 의하여 획득된 음성 신호에 대한 ADC(analog to digital conversion)를 수행할 수 있다. 전처리 모듈(710)은 오디오 데이터에 대한 에코 캔슬링, 노이즈 억제, 자동 이득 제어(automatic gain control), AEC(acoustic echo cancellation), 특징 추출(feature extraction), 및/또는 윈도윙(windowing)을 수행할 수 있다. The preprocessing module 710 may perform preprocessing on acquired voice data. For example, the preprocessing module 710 may perform preprocessing on voice data acquired through the microphone 650 or voice data received from another electronic device through the communication circuit 690. Preprocessing may include various operations for the voice data to be used by other modules. For example, the preprocessing module 710 may perform analog to digital conversion (ADC) on the voice signal acquired by the microphone 650. The preprocessing module 710 performs echo cancellation, noise suppression, automatic gain control, acoustic echo cancellation (AEC), feature extraction, and/or windowing on audio data. You can.

웨이크업 인식 모듈(720)은 전처리 모듈(710)에 의하여 처리된 음성 데이터(이하, 음성 데이터로 칭함)를 이용하여 웨이크업 워드를 인식할 수 있다. 예를 들어, 웨이크업 워드 인식 모델 DB(725)는 지정된 호출어(예: 웨이크업 워드)에 대응하는 적어도 하나의 웨이크업 워드 인식 모델을 포함할 수 있다. 웨이크업 워드 인식 모델은, 예를 들어, 등록 절차(enrollment process)에서 전자 장치(501)의 사용자에 의하여 발화된 웨이크업 워드에 기반하여 생성된 벡터일 수 있다. 웨이크업 워드 인식 모듈(720)은 웨이크업 워드 인식 모델과 음성 데이터를 비교하여, 음성 데이터가 웨이크업 워드를 포함하는지 결정할 수 있다. 예를 들어, 웨이크업 인식 모듈(720)은 음성 데이터에 대한 자동 음성 인식에 기반하여 음성 데이터가 웨이크업 워드에 대응하는 발화를 포함하는지 결정할 수 있다. The wake-up recognition module 720 can recognize a wake-up word using voice data (hereinafter referred to as voice data) processed by the pre-processing module 710. For example, the wakeup word recognition model DB 725 may include at least one wakeup word recognition model corresponding to a designated call word (eg, wakeup word). The wakeup word recognition model may be, for example, a vector generated based on a wakeup word uttered by the user of the electronic device 501 in an enrollment process. The wakeup word recognition module 720 may compare the wakeup word recognition model and the voice data to determine whether the voice data includes a wakeup word. For example, the wake-up recognition module 720 may determine whether the voice data includes an utterance corresponding to a wake-up word based on automatic voice recognition of the voice data.

일 예에서, 음성 데이터가 웨이크업 워드를 포함하는 경우, 전자 장치(501)는 음성 비서 클라이언트(750)를 실행시킬 수 있다. 일 예에서, 음성 데이터가 웨이크업 워드를 포함하고 음성 데이터에 기반한 화자 검증이 성공되면, 전자 장치(501)는 음성 비서 클라이언트(750)를 실행시킬 수 있다. 일 예에서, 전자 장치(501)는 음성 데이터가 웨이크업 워드를 포함하면 대기 상태(예: 저전력 상태)에서 활성 상태(예: 고전력 상태)로 전환될 수 있다. 음성 비서 클라이언트(750)는 도 2의 클라이언트 모듈(231)에 대응할 수 있다. In one example, when the voice data includes a wakeup word, the electronic device 501 may execute the voice assistant client 750. In one example, if the voice data includes a wakeup word and speaker verification based on the voice data is successful, the electronic device 501 may execute the voice assistant client 750. In one example, the electronic device 501 may transition from a standby state (e.g., a low power state) to an active state (e.g., a high power state) when the voice data includes a wakeup word. The voice assistant client 750 may correspond to the client module 231 of FIG. 2.

데이터 관리 모듈(730)은 평가 데이터 DB(735)를 관리할 수 있다. 데이터 관리 모듈(730)은 전처리 모듈(710)로부터 전달받은 음성 데이터를 평가 데이터 DB(735)에 저장할 수 있다. 예를 들어, 데이터 관리 모듈(730)은 지정된 수의 음성 샘플(예: 음성 데이터)을 평가 데이터 DB(735)에 저장할 수 있다. 데이터 관리 모듈(730)은, 예를 들어, 가장 최근에 수신된 N개의(예: N은 2 이상의 정수) 음성 샘플들을 평가 데이터 DB(735)에 저장할 수 있다. 예를 들어, 데이터 관리 모듈(730)은 지정된 기간 (예: 3일) 내에 수신된 음성 샘플들을 평가 데이터 DB(735)에 저장할 수 있다. The data management module 730 can manage the evaluation data DB 735. The data management module 730 may store the voice data received from the pre-processing module 710 in the evaluation data DB 735. For example, the data management module 730 may store a specified number of voice samples (eg, voice data) in the evaluation data DB 735. For example, the data management module 730 may store the most recently received N (eg, N is an integer equal to or greater than 2) voice samples in the evaluation data DB 735. For example, the data management module 730 may store voice samples received within a specified period (eg, 3 days) in the evaluation data DB 735.

일 예에서, 데이터 관리 모듈(730)은 웨이크업 워드를 포함하는 음성 데이터를 평가 데이터 DB(735)에 저장할 수 있다. 웨이크업 워드 인식 모듈(720)이 음성 데이터로부터 웨이크업 워드를 식별하면, 데이터 관리 모듈(730)은 평가 데이터 DB(735)에 음성 데이터를 저장할 수 있다. 일 예에서, 데이터 관리 모듈(730)은 웨이크업 워드를 포함하고 화자 검증에 실패한 음성 데이터를 평가 데이터 DB(735)에 저장할 수 있다. 웨이크업 워드 인식 모듈(720)이 음성 데이터로부터 웨이크업 워드를 식별하고, 화자 검증 모듈(740)이 음성 데이터로부터 화자 검증에 실패하면, 데이터 관리 모듈(730)은 평가 데이터 DB(735)에 음성 데이터를 저장할 수 있다.In one example, the data management module 730 may store voice data including a wake-up word in the evaluation data DB 735. When the wakeup word recognition module 720 identifies the wakeup word from the voice data, the data management module 730 may store the voice data in the evaluation data DB 735. In one example, the data management module 730 may store voice data that includes a wakeup word and fails speaker verification in the evaluation data DB 735. If the wakeup word recognition module 720 identifies the wakeup word from the voice data, and the speaker verification module 740 fails to verify the speaker from the voice data, the data management module 730 records the voice in the evaluation data DB 735. Data can be saved.

일 예에서, 데이터 관리 모듈(730)은 평가 데이터 DB(735)에 저장된 음성 샘플(예: 음성 데이터)를 삭제할 수 있다. 데이터 관리 모듈(730)은 저장된 음성 샘플의 수가 지정된 수를 초과하면 가장 오래된 음성 샘플을 삭제할 수 있다. 데이터 관리 모듈(730)은 사용자 입력에 기반하여, 사용자에 의하여 선택된 음성 샘플을 삭제할 수 있다. 데이터 관리 모듈(730)은 음성 샘플이 일단 화자 검증을 위한 민감도(예: 임계값)의 조정에 이용된 후에는 이용된 음성 샘플을 삭제할 수 있다. 데이터 관리 모듈(730)은 음성 샘플이 저장된 후 지정된 시간이 경과되면 저장된 음성 샘플을 삭제할 수 있다. In one example, the data management module 730 may delete voice samples (eg, voice data) stored in the evaluation data DB 735. The data management module 730 may delete the oldest voice sample when the number of stored voice samples exceeds a specified number. The data management module 730 may delete the voice sample selected by the user based on the user input. The data management module 730 may delete the used voice samples once they have been used to adjust sensitivity (e.g., threshold) for speaker verification. The data management module 730 may delete the stored voice sample when a specified time elapses after the voice sample is stored.

일 예에서, 데이터 관리 모듈(730)은 음성 샘플들 각각을 사용자 식별자와 매핑하여 저장할 수 있다. 예를 들어, 화자 검증에 실패한 음성 샘플에 대하여, 사용자가 음성 샘플에 대응하는 사용자 식별자를 지정할 수 있다. 이 경우, 데이터 관리 모듈(730)은 지정된 사용자 식별자를 해당 음성 샘플에 매핑하여 저장할 수 있다. In one example, the data management module 730 may map each voice sample to a user identifier and store it. For example, for a voice sample that fails speaker verification, the user can specify a user identifier corresponding to the voice sample. In this case, the data management module 730 may map the designated user identifier to the corresponding voice sample and store it.

일 예에서, 데이터 관리 모듈(730)은 음성 샘플들을 분류할 수 있다. 데이터 관리 모듈(730)은 음성 샘플들의 유사도에 기반하여 음성 샘플들을 분류할 수 있다. 예를 들어, 데이터 관리 모듈(730)의 음성 샘플들 사이의 유사도를 산출할 수 있다. 유사도는, 예를 들어, 피치(pitch), 성별, 나이, 및/또는 임의의 음성 특징에 기반하여 산출될 수 있다. 유사도는 예를 들어, 음성 샘플들에 대응하는 음성 벡터들 사이의 유사도(예: 거리)에 기반하여 산출될 수 있다. 유사도는 예를 들어, 음성 샘플들에 대응하는 음성 벡터들과, 화자 검증 벡터 사이의 유사도(예; 거리)에 기반하여 산출될 수 있다. 일 예에서, 음성 샘플과 화자 검증 벡터 사이의 유사도는 화자 검증 모듈(740)에 의하여 산출될 수 있다. 데이터 관리 모듈(730)은 산출된 유사도와 음성 샘플을 매핑하여 평가 데이터 DB(735)에 저장할 수 있다. In one example, data management module 730 can classify voice samples. The data management module 730 may classify voice samples based on their similarity. For example, similarity between voice samples of the data management module 730 may be calculated. Similarity may be calculated based on, for example, pitch, gender, age, and/or any voice characteristic. For example, the similarity may be calculated based on the similarity (e.g., distance) between speech vectors corresponding to speech samples. The similarity may be calculated, for example, based on the similarity (e.g., distance) between speech vectors corresponding to speech samples and speaker verification vectors. In one example, the similarity between the voice sample and the speaker verification vector may be calculated by the speaker verification module 740. The data management module 730 may map the calculated similarity to the voice sample and store it in the evaluation data DB 735.

일 예에서, 데이터 관리 모듈(730)은 유사도가 지정된 값 이상인 음성 샘플들을 그룹핑하여 평가 데이터 DB(735)에 저장할 수 있다. 일 예에서, 데이터 관리 모듈(730)은 유사도가 지정된 값 이상인 음성 샘플들만을 평가 데이터 DB(735)에 저장할 수 있다. In one example, the data management module 730 may group voice samples whose similarity is greater than or equal to a specified value and store them in the evaluation data DB 735. In one example, the data management module 730 may store in the evaluation data DB 735 only voice samples whose similarity is greater than or equal to a specified value.

예를 들어, 화자 검증 모델 DB(745)는 적어도 하나의 화자 검증 모델(예: 화자 검증 벡터)를 포함할 수 있다. 전자 장치(501)는, 예를 들어, 사용자로부터 지정된 워드(예: 웨이크업 워드)에 대응하는 복수의 발화를 수신하고, 복수의 발화에 기반하여 사용자에 대응하는 화자 검증 모델을 생성할 수 있다. 전자 장치(501)는 화자 검증 모델을 화자 검증 모델 DB(745)에 저장할 수 있다. 일 예에서, 전자 장치(501)는 화자 검증 모델을 메모리(630)의 보안 영역에 저장할 수 있다. For example, the speaker verification model DB 745 may include at least one speaker verification model (eg, speaker verification vector). For example, the electronic device 501 may receive a plurality of utterances corresponding to a designated word (e.g., a wakeup word) from the user and generate a speaker verification model corresponding to the user based on the plurality of utterances. . The electronic device 501 may store the speaker verification model in the speaker verification model DB 745. In one example, the electronic device 501 may store the speaker verification model in a secure area of the memory 630.

화자 검증 모듈(740)은 전처리 모듈(710)에 의하여 처리된 음성 데이터를 이용하여 화자 검증을 수행할 수 있다. 예를 들어, 화자 검증 모듈(740)은 화자 검증 모델 DB(745)에 저장된 화자 검증 모델과 전처리 모듈(710)로부터 수신된 음성 데이터를 비교하여 화자 검증을 수행할 수 있다. 화자 검증 모듈(740)은 음성 데이터에 대응하는 음성 벡터와 화자 검증 모델 사이의 유사도에 기반하여 화자 검증을 수행할 수 있다. 일 예에서, 화자 검증 모델은 화자의 음성(예: 화자의 등록 과정에서 수신된 음성)으로부터 추출된 고유 벡터(예: i-vector, x-vector 등)를 포함할 수 있다. 예를 들어, 화자 검증 모델은, 화자의 등록 절차에서 기 생성되어 화자 검증 모델(745)에 기저장될 수 있다.The speaker verification module 740 may perform speaker verification using voice data processed by the pre-processing module 710. For example, the speaker verification module 740 may perform speaker verification by comparing the speaker verification model stored in the speaker verification model DB 745 with the speech data received from the pre-processing module 710. The speaker verification module 740 may perform speaker verification based on the similarity between the speech vector corresponding to speech data and the speaker verification model. In one example, the speaker verification model may include eigenvectors (e.g., i-vector, x-vector, etc.) extracted from the speaker's voice (e.g., the voice received during the speaker's registration process). For example, the speaker verification model may be previously created during the speaker registration process and pre-stored in the speaker verification model 745.

예를 들어, 화자 검증 모듈(740)은 LRT(likelihood ratio test), Euclidian distance, 또는 Cosine similarity에 기반하여 음성 벡터와 화자 검증 모델 사이의 유사도를 식별할 수 있다. 예를 들어, 화자 검증 모듈(740)은 음성 벡터와 화자 검증 모델 사이의 거리에 기반하여 유사도를 식별할 수 있다. For example, the speaker verification module 740 may identify the similarity between the speech vector and the speaker verification model based on likelihood ratio test (LRT), Euclidian distance, or Cosine similarity. For example, speaker verification module 740 may identify similarity based on the distance between the speech vector and the speaker verification model.

화자 검증 모듈(740)은 식별된 유사도와 임계값을 비교하여 화자 검증의 성공 여부를 결정할 수 있다. 유사도가 임계값 이하인 경우, 화자 검증 모듈(740)은 음성 데이터에 기반한 화자 검증이 실패한 것으로 결정할 수 있다. 유사도가 임계값을 초과하는 경우, 화자 검증 모듈(740)은 음성 데이터에 기반한 화자 검증이 성공한 것으로 결정할 수 있다. The speaker verification module 740 may compare the identified similarity with a threshold to determine whether speaker verification is successful. If the similarity is below the threshold, the speaker verification module 740 may determine that speaker verification based on voice data has failed. If the similarity exceeds the threshold, the speaker verification module 740 may determine that speaker verification based on speech data was successful.

화자 검증을 위한 임계값은, 예를 들어, 전자 장치(501)의 제조사에 의하여 설정된 값일 수 있다. 임계값은, 예를 들어, 전자 장치(501)의 제조사에 의하여 설정된 값들(예: 낮음, 중간, 높음) 중 사용자에 의하여 설정된 값일 수 있다. 임계값은, 후술되는 바와 같이, 화자 검증 관리자(760)에 의하여 조정된 값일 수 있다. The threshold for speaker verification may be, for example, a value set by the manufacturer of the electronic device 501. For example, the threshold may be a value set by the user among values (eg, low, medium, high) set by the manufacturer of the electronic device 501. The threshold may be a value adjusted by the speaker verification manager 760, as will be described later.

일 실시 예에 따르면, 화자 검증 관리자(760)는 화자 검증을 위한 임계값을 식별(예: 산출)할 수 있다. 화자 검증 관리자(760)에 의하여 식별된 임계값은 후보 임계값으로 참조될 수 있다. 후보 임계값은 화자 검증 모듈(740)에 의하여 이용되는 임계값을 조정하는 데에 이용될 수 있다. 일 예에서, 화자 검증 관리자(760)는 전자 장치(501)의 설정 값에 기반하여 화자 검증을 위한 후보 임계값을 산출할 수 있다. 사용자가 화자 검증 임계값의 조정을 허용하도록 설정한 경우, 화자 검증 관리자(760)는 후보 임계값을 산출할 수 있다. According to one embodiment, the speaker verification manager 760 may identify (eg, calculate) a threshold for speaker verification. The threshold identified by the speaker verification manager 760 may be referred to as a candidate threshold. The candidate threshold may be used to adjust the threshold used by speaker verification module 740. In one example, the speaker verification manager 760 may calculate a candidate threshold for speaker verification based on the setting value of the electronic device 501. If the user sets the speaker verification threshold to allow adjustment, the speaker verification manager 760 can calculate a candidate threshold.

화자 검증 관리자(760)는 화자 검증 실패 후, 화자 검증 외의 방법에 의한 사용자 인증이 수행되면 후보 임계값을 식별(예: 결정)할 수 있다. 예를 들어, 화자 검증 외의 방법에 의한 사용자 인증은, 패스워드 입력에 기반한 사용자 인증, 지문에 기반한 사용자 인증, 패턴 입력 기반한 사용자 인증 또는 홍채 기반 사용자 인증 중 적어도 하나를 포함할 수 있다. 화자 검증 외의 방법에 의한 사용자 인증은 열거된 방법에 제한되지 아니하며, 임의의 사용자 인증 방법을 포함할 수 있다. 예를 들어, 화자 검증 관리자(760)는 지정된 횟수 이상의 화자 검증 실패 후에 사용자 인증(예: 성공적인 사용자 인증)이 수행되면 후보 임계값을 식별할 수 있다. 지정된 횟수 이상의 반복적인 발화에 기반한 화자 검증에 실패하는 경우, 전자 장치(501)는 화자 검증 관리자(760)를 이용하여 임계값을 조정할 수 있다. 예를 들어, 화자 검증 관리자(760)는 마지막 화자 검증 실패 시점으로부터 지정된 시간 내에 사용자 인증이 수행되면 후보 임계값을 식별할 수 있다. 상술된 바와 같이, 화자 검증 관리자(760)는 임계값의 조정이 설정된 경우에 후보 임계값을 식별할 수 있다. 본 개시에서, 후보 임계값의 식별은 후보 임계값의 결정을 포함할 수 있다.The speaker verification manager 760 may identify (e.g., determine) a candidate threshold when user authentication is performed by a method other than speaker verification after speaker verification fails. For example, user authentication by a method other than speaker verification may include at least one of user authentication based on password input, user authentication based on fingerprint, user authentication based on pattern input, or iris-based user authentication. User authentication by methods other than speaker verification is not limited to the methods listed and may include any user authentication method. For example, speaker verification manager 760 may identify a candidate threshold when user authentication (e.g., successful user authentication) is performed after a specified number of speaker verification failures. If speaker verification based on repeated utterances more than a specified number of times fails, the electronic device 501 may adjust the threshold using the speaker verification manager 760. For example, speaker verification manager 760 may identify a candidate threshold when user authentication is performed within a specified time from the last speaker verification failure. As described above, speaker verification manager 760 may identify candidate thresholds when an adjustment of the thresholds is established. In this disclosure, identifying a candidate threshold may include determining a candidate threshold.

예를 들어, 화자 검증 관리자(760)는 화자 검증 실패 후, 사용자 인증이 수행될 때에 후보 임계값을 식별할 수 있다. 예를 들어, 화자 검증 관리자(760)는 사용자 인증이 수행되고 음성 비서 클라이언트(750)가 실행되었을 때에 후보 임계값을 식별할 수 있다. 예를 들어, 화자 검증 관리자(760)는 임계값의 갱신을 추천하는 UI를 디스플레이(예: 도 8의 동작 820 또는 도 9의 동작 925)할 때에 후보 임계값을 식별할 수 있다. For example, speaker verification manager 760 may identify candidate thresholds when user authentication is performed after speaker verification failure. For example, speaker verification manager 760 may identify candidate thresholds when user authentication is performed and voice assistant client 750 is launched. For example, the speaker verification manager 760 may identify a candidate threshold when displaying a UI recommending update of the threshold (e.g., operation 820 of FIG. 8 or operation 925 of FIG. 9).

화자 검증 관리자(760)는 평가 데이터 DB(735)에 저장된 음성 샘플들을 이용하여 후보 임계값을 식별할 수 있다. 화자 검증 관리자(760)는, 예를 들어, 가장 최근에 저장된 음성 샘플과 높은 유사도를 갖는 지정된 수의 음성 샘플들을 이용하여 후보 임계값을 식별할 수 있다. 화자 검증 관리자(760)는, 예를 들어, 가장 최근에 저장된 지정된 수의 음성 샘플들을 이용하여 후보 임계값을 식별할 수 있다. 화자 검증 관리자(760)는, 예를 들어, 사용자에 의하여 선택된 음성 샘플들을 이용하여 후보 임계값을 식별할 수 있다.The speaker verification manager 760 may identify a candidate threshold using voice samples stored in the evaluation data DB 735. Speaker verification manager 760 may identify a candidate threshold using, for example, a specified number of speech samples that have a high degree of similarity to the most recently stored speech sample. Speaker verification manager 760 may identify a candidate threshold using, for example, a specified number of most recently stored voice samples. Speaker verification manager 760 may identify a candidate threshold using, for example, voice samples selected by the user.

화자 검증 관리자(760)는 음성 샘플들 각각과 화자 검증 모델 사이의 유사도를 이용하여 후보 임계값을 식별할 수 있다. 예를 들어, 화자 검증 관리자(760)는 가장 높은 유사도를 갖는 음성 샘플의 유사도(예: 유사도 점수)를 후보 임계값으로 식별할 수 있다. 예를 들어, 화자 검증 관리자(760)는 음성 샘플들의 유사도들 중 적어도 하나(예: 가장 높은 음성 샘플의 유사도)에 제1 가중치를 적용한 값과 현재 임계값에 제2 가중치를 적용한 값을 더하여 후보 임계값을 식별할 수 있다. 제1 가중치와 제2 가중치의 합은, 예를 들어, 1일 수 있다. The speaker verification manager 760 may identify a candidate threshold using the similarity between each of the voice samples and the speaker verification model. For example, the speaker verification manager 760 may identify the similarity (e.g., similarity score) of the voice sample with the highest similarity as the candidate threshold. For example, the speaker verification manager 760 adds a value obtained by applying a first weight to at least one of the similarities of voice samples (e.g., the similarity of the highest voice sample) and a value obtained by applying a second weight to the current threshold to create a candidate candidate. Thresholds can be identified. The sum of the first weight and the second weight may be, for example, 1.

예를 들어, 하기 표 1과 같은 음성 샘플들이 후보 임계값 식별을 위하여 이용될 수 있다. For example, voice samples such as those shown in Table 1 below can be used to identify candidate thresholds.

음성 샘플voice samples 유사도 점수Similarity score 샘플 1sample 1 6363 샘플 2sample 2 6262 샘플 3sample 3 6565 샘플 4sample 4 6464 샘플 5sample 5 6161

화자 검증 관리자(760)는 가장 높은 유사도를 갖는 샘플 4의 유사도를 후보 임계값으로 식별할 수 있다. 예를 들어, 현재 설정된 임계값은 70일 수 있다. 화자 검증 관리자(760)는 임계값이 제2 가중치를 곱한 값과, 샘플 4의 유사도에 제1 가중치를 곱한 값을 더한 값을 후보 임계값으로 식별할 수 있다. The speaker verification manager 760 may identify the similarity of sample 4, which has the highest similarity, as a candidate threshold. For example, the currently set threshold may be 70. The speaker verification manager 760 may identify the value obtained by multiplying the threshold value by the second weight and the similarity of sample 4 by multiplying the first weight value as a candidate threshold value.

화자 검증 관리자(760)는 복수의 후보 임계값들(예: 낮은 임계값, 중간 임계값, 및 높은 임계값)을 식별할 수 있다. 예를 들어, 화자 검증 관리자(760)는 음성 샘플들에 기반하여 후보 임계값을 식별하고, 식별된 후보 임계값과 지정된 차이를 갖는 임계값을 식별함으로써 복수의 후보 임계값을 식별할 수 있다. Speaker verification manager 760 may identify a plurality of candidate thresholds (eg, a low threshold, a middle threshold, and a high threshold). For example, speaker verification manager 760 may identify a plurality of candidate thresholds by identifying candidate thresholds based on speech samples and identifying thresholds that have a specified difference from the identified candidate threshold.

예를 들어, 전자 장치(501)에 현재 설정된 임계값은 낮은 임계값일 수 있다. 화자 검증 관리자(760)는 음성 샘플들에 기반하여 후보 임계값을 식별할 수 있다. 화자 검증 관리자(760)는 식별된 후보 임계값을 낮은 임계값에 대한 후보로서 식별할 수 있다. 화자 검증 관리자(760)는, 예를 들어, 제1 값을 더함으로써 중간 후보 임계값을 식별할 수 있다. 화자 검증 관리자(760)는 중간 후보 임계값에 제2 값을 더함으로써 높은 후보 임계값을 식별할 수 있다. For example, the threshold value currently set in the electronic device 501 may be a low threshold value. Speaker verification manager 760 may identify a candidate threshold based on voice samples. Speaker verification manager 760 may identify the identified candidate threshold as a candidate for a lower threshold. Speaker verification manager 760 may identify an intermediate candidate threshold, for example, by adding the first value. Speaker verification manager 760 may identify a high candidate threshold by adding a second value to the middle candidate threshold.

화자 검증 관리자(760)는 식별된 후보 임계값(또는 복수의 후보 임계값들)을 이용하여 전자 장치(501)에 현재 설정된 임계값을 조정할 수 있다. 화자 검증 관리자(760)는 후보 임계값을 화자 검증을 위한 임계값으로서 설정함으로써 설정된 임계값을 조정할 수 있다. 예를 들어, 화자 검증 관리자(760)는 후보 임계값이 식별되면 임계값을 조정할 수 있다. 예를 들어, 화자 검증 관리자(760)는 사용자 입력에 기반하여 임계값을 조정할 수 있다. 화자 검증 관리자(760)는 임계값의 갱신을 추천하는 UI(예: 도 8의 동작 820 또는 도 9의 동작 925의 UI)에 대한 사용자 입력에 기반하여 임계값을 조정할 수 있다. The speaker verification manager 760 may adjust the threshold value currently set in the electronic device 501 using the identified candidate threshold value (or a plurality of candidate threshold values). The speaker verification manager 760 can adjust the set threshold by setting the candidate threshold as a threshold for speaker verification. For example, speaker verification manager 760 may adjust thresholds once candidate thresholds are identified. For example, speaker verification manager 760 can adjust the threshold based on user input. The speaker verification manager 760 may adjust the threshold based on a user input to a UI that recommends updating the threshold (e.g., the UI in operation 820 of FIG. 8 or operation 925 of FIG. 9).

임계값이 조정되면, 화자 검증 모듈(750)은 조정된 임계값을 이용하여 화자 검증을 수행할 수 있다. 예를 들어, 전자 장치(501)는 임계값의 조정 후에 발화를 수신할 수 있다. 화자 검증 모듈(740)은 수신된 발화에 대응하는 음성 데이터를 전처리 모듈(710)로부터 수신할 수 있다. 화자 검증 모듈(740)은 음성 데이터와 화자 검증 모델 사이의 유사도를 식별하고, 식별된 유사도가 조정된 임계값을 초과하면 화자 검증이 성공된 것으로 결정할 수 있다.When the threshold is adjusted, the speaker verification module 750 can perform speaker verification using the adjusted threshold. For example, the electronic device 501 may receive speech after adjusting the threshold. The speaker verification module 740 may receive voice data corresponding to the received utterance from the preprocessing module 710. The speaker verification module 740 may identify the similarity between the speech data and the speaker verification model, and determine that speaker verification is successful if the identified similarity exceeds an adjusted threshold.

일 실시 예에 따르면, 전자 장치(501)는 조정된 임계값을 조정 전의 임계값(예: 원래(original) 임계값)으로 복원(restore)할 수 있다. 전자 장치(501)는 원래 임계값을 메모리(630)에 저장할 수 있다. 일 예에서, 전자 장치(501)는 지정된 조건(예: 지정된 시간, 음성 데이터와 화자 검증 모델 사이의 유사도, 또는 사용자 입력 중 적어도 하나)에 기반하여 임계값을 복원할 수 있다. According to one embodiment, the electronic device 501 may restore the adjusted threshold to the threshold before adjustment (eg, the original threshold). The electronic device 501 may store the original threshold value in the memory 630. In one example, the electronic device 501 may restore the threshold based on a specified condition (eg, at least one of a specified time, similarity between speech data and a speaker verification model, or user input).

예를 들어, 전자 장치(501)는 임계값의 조정 후 지정된 시간(예: 2주)이 경과되면 조정된 임계값을 원래 임계값으로 복원할 수 있다. 전자 장치(501)는 지정된 시간이 경과되면, 임계값 복원을 문의하는 사용자 인터페이스를 제공하고, 복원을 허용하는 사용자 입력이 수신되면 임계값을 복원할 수 있다. For example, the electronic device 501 may restore the adjusted threshold value to the original threshold value when a specified time (eg, two weeks) elapses after adjusting the threshold value. When a specified time elapses, the electronic device 501 provides a user interface to inquire about restoration of the threshold value, and restores the threshold value when a user input allowing restoration is received.

예를 들어, 전자 장치(501)는 임계값의 조정 후 수신됨 음성 데이터와 화자 검증 모델 사이의 유사도에 기반하여 조정된 임계값을 원래 임계값으로 복원할 수 있다. 예를 들어, 전자 장치(501)는 최근 지정된 기간(예: 일주일) 동안 입력된 사용자 음성 입력의 화자 인식 점수 (예: 유사도)의 분포에 기반하여, 조정된 임계값을 원래 임계값 수준으로 복원할 수 있다. 예를 들어, 지정된 기간 내에 시도된 음성 입력들 중, 화자 검증에 성공한 오디오 샘플들의 평균값이 조정된 임계값 또는 지정된 임계값보다 클 경우, 전자 장치(501)는 조정된 임계값을 원래 임계값으로 재설정할 수 있다. 전자 장치(501)는 화자 검증에 성공한 오디오 샘플들의 평균값이 조정된 임계값 또는 지정된 임계값보다 클 경우, 임계값 복원을 문의하는 사용자 인터페이스를 제공하고, 복원을 허용하는 사용자 입력이 수신되면 임계값을 복원할 수 있다. For example, after adjusting the threshold, the electronic device 501 may restore the adjusted threshold to the original threshold based on the similarity between the received voice data and the speaker verification model. For example, the electronic device 501 restores the adjusted threshold to the original threshold level based on the distribution of speaker recognition scores (e.g., similarity) of user voice inputs entered during a recent specified period (e.g., a week). can do. For example, if the average value of audio samples that succeeded in speaker verification among voice inputs attempted within a specified period is greater than the adjusted threshold or the specified threshold, the electronic device 501 changes the adjusted threshold to the original threshold. It can be reset. The electronic device 501 provides a user interface to inquire about restoration of the threshold when the average value of audio samples that have succeeded in speaker verification is greater than an adjusted threshold or a specified threshold, and when a user input allowing restoration is received, the threshold can be restored.

예를 들어, 전자 장치(501)는 임계값의 조정 후 사용자 입력에 기반하여 조정된 임계값을 원래 임계값으로 복원할 수 있다. 예를 들어, 전자 장치(501)는 사용자 입력에 기반하여 임계값을 재설정할 수 있는 사용자 인터페이스를 제공할 수 있다. 사용자 인터페이스를 통하여 임계값의 재설정을 지시하는 사용자 입력이 수신되면, 전자 장치(501)는 임계값을 원래 임계값으로 복원할 수 있다.For example, after adjusting the threshold, the electronic device 501 may restore the adjusted threshold to the original threshold based on the user input. For example, the electronic device 501 may provide a user interface that can reset the threshold based on user input. When a user input instructing to reset the threshold value is received through the user interface, the electronic device 501 may restore the threshold value to the original threshold value.

도 8은 일 실시 예에 따른 민감도 조정 방법의 흐름도를 도시한다. Figure 8 shows a flowchart of a sensitivity adjustment method according to one embodiment.

도 6 및 도 8을 참조하여, 일 실시예에 따르면, 전자 장치(501)는 동작 805에서, 웨이크업 워드를 포함하는 복수의 음성 신호들을 획득할 수 있다. 예를 들어, 전자 장치(501)는 마이크로폰(650)을 이용하여 복수의 음성 신호들을 획득할 수 있다. 도 8의 예시에서, 복수의 음성 신호들은 웨이크업 워드 인식에 성공한 음성 신호로 가정될 수 있다. 복수의 음성 신호들 각각은, 예를 들어, 도 7의 웨이크업 워드 인식 모듈(720)에 의하여 웨이크업 워드의 탐지에 성공된 음성 신호로 가정될 수 있다.Referring to FIGS. 6 and 8 , according to one embodiment, the electronic device 501 may acquire a plurality of voice signals including a wakeup word in operation 805. For example, the electronic device 501 may acquire a plurality of voice signals using the microphone 650. In the example of FIG. 8, the plurality of voice signals can be assumed to be voice signals that have successfully recognized the wakeup word. For example, each of the plurality of voice signals may be assumed to be a voice signal whose wakeup word has been successfully detected by the wakeup word recognition module 720 of FIG. 7 .

동작 810에서, 전자 장치(501)는 복수의 음성 신호들 각각에 대한 화자 검증의 성공 여부를 결정할 수 있다. 전자 장치(501)는 복수의 음성 신호들 각각과 화자 검증 모델을 비교하여 화자 검증의 성공 여부를 결정할 수 있다. 전자 장치(501)는 복수의 음성 신호들 각각과 화자 검증 모델 사이의 유사도가 지정된 임계값(예: 제1 임계값)을 초과하면 화자 검증에 성공한 것으로 결정할 수 있다. 전자 장치(501)는 복수의 음성 신호들 각각과 화자 검증 모델 사이의 유사도가 지정된 임계값 이하이면 화자 검증에 실패한 것으로 결정할 수 있다. 예를 들어, 전자 장치(501)는 도 7과 관련하여 상술된 화자 검증 모듈(740)의 동작에 따라서 화자 검증을 수행할 수 있다. In operation 810, the electronic device 501 may determine whether speaker verification for each of the plurality of voice signals is successful. The electronic device 501 may compare each of the plurality of voice signals with a speaker verification model to determine whether speaker verification is successful. The electronic device 501 may determine that speaker verification is successful when the similarity between each of the plurality of voice signals and the speaker verification model exceeds a specified threshold (eg, a first threshold). The electronic device 501 may determine that speaker verification has failed if the similarity between each of the plurality of voice signals and the speaker verification model is less than or equal to a specified threshold. For example, the electronic device 501 may perform speaker verification according to the operation of the speaker verification module 740 described above with reference to FIG. 7 .

도 8에서, 동작 810이 동작 805에 후속하는 동작으로 도시되어 있으나, 전자 장치(501)는 화자 검증(예: 동작 810)을 복수의 음성 신호들 각각이 수행될 때 마다 수행할 수 있다. 동작 810 및 동작 815는 도 9와 관련하여 후술되는 동작 905, 910, 및 915에 대응할 수 있다. 도 8의 예시에서, 복수의 음성 신호들 각각에 대한 화자 검증은 실패한 것으로 가정될 수 있다. In FIG. 8, operation 810 is shown as a subsequent operation to operation 805, but the electronic device 501 may perform speaker verification (eg, operation 810) each time each of a plurality of voice signals is performed. Operations 810 and 815 may correspond to operations 905, 910, and 915 described below with respect to FIG. 9. In the example of FIG. 8, speaker verification for each of the plurality of voice signals may be assumed to have failed.

동작 815에서, 전자 장치(501)는 화자 검증의 실패 후 지정된 시간 내에 화자 검증 외의 인증 방법에 기반한 사용자 인증을 수신할 수 있다. 지정된 시간은, 가장 최근에 수신되고 화자 검증에 실패한 음성 신호의 수신 시각으로부터 설정된 일정한 길이의 시간 구간을 의미할 수 있다. 화자 검증 외의 방법에 의한 사용자 인증은, 패스워드 입력에 기반한 사용자 인증, 지문에 기반한 사용자 인증, 패턴 입력 기반한 사용자 인증 또는 홍채 기반 사용자 인증 중 적어도 하나를 포함할 수 있다. 동작 815의 사용자 인증은, 성공적인 사용자 인증으로 참조될 수 있다. 즉, 웨이크업 워드를 포함하는 발화를 통하여, 사용자는 지정된 동작(예: 대기 모드 해제, 음성 비서 어플리케이션 호출, 및/또는 음성 명령을 통한 동작 실행)의 수행을 시도하였으나, 실패한 것일 수 있다. 지정된 동작의 수행 실패 후, 사용자는 음성이 아닌 직접적인 사용자 인증 방식을 통하여 지정된 동작의 수행을 시도한 것일 수 있다. 예를 들어, 동작 815의 사용자 인증은 기설정된 횟수의 화자 검증의 실패 후에 수행될 수 있다. 전자 장치(501)는, 기설정된 횟수의 화자 검증의 실패 후 사용자 인증이 수신되면, 동작 820을 수행할 수 있다. In operation 815, the electronic device 501 may receive user authentication based on an authentication method other than speaker verification within a specified time after speaker verification fails. The designated time may mean a time interval of a certain length set from the reception time of the voice signal that was most recently received and failed speaker verification. User authentication by a method other than speaker verification may include at least one of user authentication based on password input, user authentication based on fingerprint, user authentication based on pattern input, or iris-based user authentication. The user authentication of operation 815 may be referred to as successful user authentication. That is, through an utterance including a wake-up word, the user may have attempted to perform a designated action (e.g., exiting standby mode, calling a voice assistant application, and/or executing an action through a voice command), but failed. After failing to perform the specified operation, the user may attempt to perform the specified operation through direct user authentication rather than voice. For example, user authentication in operation 815 may be performed after a preset number of speaker verification failures. The electronic device 501 may perform operation 820 when user authentication is received after a preset number of speaker verification failures.

동작 820에서, 전자 장치(501)는 사용자 인증에 기반하여, 화자 검증을 위한 임계값의 갱신을 추천하는 UI를 디스플레이할 수 있다. 예를 들어, 전자 장치(501)는 사용자 인증의 성공 시에, 사용자 인증 후 음성 에이전트가 실행되었을 때, 또는 사용자 인증에 따라서 잠금 해제되었을 때에 UI를 디스플레이할 수 있다.In operation 820, the electronic device 501 may display a UI recommending updating the threshold for speaker verification based on user authentication. For example, the electronic device 501 may display a UI when user authentication is successful, when a voice agent is executed after user authentication, or when the lock is unlocked according to user authentication.

예를 들어, UI는 화자 검증을 위한 임계값의 조정을 제안하는 내용을 포함할 수 있다. UI를 통하여 임계값의 조정을 허용하는 사용자 입력이 수신되면, 전자 장치(501)는 임계값을 조정할 수 있다. For example, the UI may include content suggesting adjustment of the threshold for speaker verification. When a user input allowing adjustment of the threshold value is received through the UI, the electronic device 501 can adjust the threshold value.

예를 들어, UI는 화자 검증을 위한 임계값의 조정을 위한 음성 샘플의 선택을 위한 인터페이스를 포함할 수 있다. 예를 들어, 전자 장치(501)는 메모리에 저장된 보수의 음성 신호들 중에서, 일부만을 이용하여 임계값의 조정을 수행할 수 있다. 일 예에서, UI는 화자 검증을 위한 임계값의 조정을 위한 화면 또는 페이지로의 전환을 위한 아이콘, 버튼, 또는 하이퍼링크 중 적어도 하나를 포함할 수 있다. 일 예에서, 전자 장치(501) 상호 유사도가 지정된 값 이상인 음성 샘플들(예: 복수의 음성 신호들 중 적어도 일부에 대응하는 음성 샘플들)의 정보 만을 UI 상에 디스플레이할 수 있다. 전자 장치(501)가 유사도에 기반하여 1차적인 필터링을 수행할 수 있다. 음성 샘플의 필터링은, 예를 들어, 성별, 나이, 및/또는 피치의 유사도에 기반하여 수행될 수 있다. 일 예에서, 전자 장치(501)는 UI 상에 디스플레이된 음성 샘플들 중 임계값 조정에 이용될 음성 샘플을 선택하는 사용자 입력을 수신할 수 있다. 예를 들어, 전자 장치(501)는 사용자 입력에 따라서 선택된 음성 샘플들을 이용하여 임계값을 조정할 수 있다. UI와 관련하여, 도 10 내지 도 12를 참조하여 다양한 예시들이 설명될 수 있다.For example, the UI may include an interface for selection of speech samples for adjustment of thresholds for speaker verification. For example, the electronic device 501 may adjust the threshold using only a portion of the complement voice signals stored in the memory. In one example, the UI may include at least one of an icon, a button, or a hyperlink for switching to a screen or page for adjusting a threshold for speaker verification. In one example, the electronic device 501 may display on the UI only information on voice samples (eg, voice samples corresponding to at least some of a plurality of voice signals) whose similarity is greater than or equal to a specified value. The electronic device 501 may perform primary filtering based on similarity. Filtering of voice samples may be performed based on, for example, similarity in gender, age, and/or pitch. In one example, the electronic device 501 may receive a user input for selecting a voice sample to be used for threshold adjustment among voice samples displayed on the UI. For example, the electronic device 501 may adjust the threshold using voice samples selected according to user input. Regarding UI, various examples can be described with reference to FIGS. 10 to 12.

동작 825에서, 전자 장치(501)는 UI에 대한 입력에 기반하여 복수의 음성 신호들 중 적어도 일부에 기반하여 임계값을 갱신할 수 있다. 예를 들어, 전자 장치(501)는 UI를 통하여 임계값의 갱신(예: 조정)을 허용하는 사용자 입력을 수신할 수 있다. 사용자 입력의 수신에 기반하여, 전자 장치(501)는 복수의 음성 신호들 중 적어도 일부를 이용하여 임계값을 갱신할 수 있다. 예를 들어, 전자 장치(501)는 임계값을 제1 임계값으로부터 제2 임계값으로 변경할 수 있다. 예를 들어, 전자 장치(501)는 도 7의 화자 검증 관리자(760)의 후보 임계값 식별 방법에 따라서 변경될 임계값(예: 제2 임계값)을 식별할 수 있다. In operation 825, the electronic device 501 may update the threshold based on at least some of the plurality of voice signals based on the input to the UI. For example, the electronic device 501 may receive a user input allowing update (eg, adjustment) of the threshold value through a UI. Based on reception of the user input, the electronic device 501 may update the threshold using at least some of the plurality of voice signals. For example, the electronic device 501 may change the threshold from a first threshold to a second threshold. For example, the electronic device 501 may identify a threshold to be changed (eg, a second threshold) according to the candidate threshold identification method of the speaker verification manager 760 of FIG. 7 .

도 8과 관련하여, 전자 장치(501)가 UI를 제공하는 것으로 설명되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(501)는 주변 전자 장치(예: 도 5의 주변 전자 장치(521))를 통하여 UI를 제공할 수 있다. 예를 들어, 전자 장치(501)는 시각적인 UI 대신에 음성적인 UI를 제공할 수 있다. 전자 장치(501)는 사용자에게 임계값의 조정 여부를 문의하는 음성 문의를 출력할 수 있다. 이 경우, 전자 장치(501)는 디스플레이를 포함하지 않을 수 있다.With reference to FIG. 8 , the electronic device 501 has been described as providing a UI, but the embodiments of this document are not limited thereto. For example, the electronic device 501 may provide a UI through a peripheral electronic device (eg, the peripheral electronic device 521 in FIG. 5). For example, the electronic device 501 may provide an audio UI instead of a visual UI. The electronic device 501 may output a voice inquiry asking the user whether to adjust the threshold. In this case, the electronic device 501 may not include a display.

도 9는 일 실시 예에 따른 민감도 조정 방법의 흐름도를 도시한다. Figure 9 shows a flowchart of a sensitivity adjustment method according to one embodiment.

도 6 및 도 9를 참조하여, 동작 905에서, 전자 장치(501)는 음성 데이터를 획득할 수 있다. 예를 들어, 전자 장치(501)는 마이크로폰(650)을 이용하여 직접 음성 신호를 수신함으로써 음성 데이터를 획득할 수 있다. 예를 들어, 전자 장치(501)는 통신 회로(690)를 통하여 주변 전자 장치(예: 도 5의 주변 전자 장치(521))로부터 음성 데이터를 수신할 수 있다. 음성 데이터는, 예를 들어, 도 7의 전처리 모듈(710)에 의하여 처리된 음성 신호로 참조될 수 있다. Referring to FIGS. 6 and 9 , in operation 905, the electronic device 501 may acquire voice data. For example, the electronic device 501 may acquire voice data by directly receiving a voice signal using the microphone 650. For example, the electronic device 501 may receive voice data from a peripheral electronic device (eg, the peripheral electronic device 521 of FIG. 5) through the communication circuit 690. Voice data may be referred to, for example, as a voice signal processed by the preprocessing module 710 of FIG. 7 .

동작 910에서, 전자 장치(501)는 음성 데이터로부터 웨이크업 워드의 인식 성공 여부를 결정할 수 있다. 예를 들어, 전자 장치(501)는 도 7의 웨이크업 워드 인식 모듈(720)의 동작들을 수행함으로써 웨이크업 워드의 인식을 시도할 수 있다. In operation 910, the electronic device 501 may determine whether recognition of the wakeup word is successful from voice data. For example, the electronic device 501 may attempt to recognize a wakeup word by performing the operations of the wakeup word recognition module 720 of FIG. 7 .

웨이크업 워드의 인식에 실패한 경우(예: 동작 910-NO), 전자 장치(501)는 이전 상태를 유지할 수 있다. 전자 장치(501)가 잠금 상태 또는 대기 상태에 있었던 경우, 웨이크업 워드의 인식 실패에 대응하여, 전자 장치(501)는 잠금 상태 또는 대기 상태를 유지할 수 있다. If recognition of the wakeup word fails (e.g., operation 910-NO), the electronic device 501 may maintain the previous state. When the electronic device 501 is in the locked state or standby state, in response to failure to recognize the wakeup word, the electronic device 501 may maintain the locked state or the standby state.

웨이크업 워드의 인식에 성공한 경우(예: 동작 910-YES), 전자 장치(501)는, 동작 915에서, 화자 검증의 성공 여부를 결정할 수 있다. 전자 장치(501)는, 예를 들어, 도 7의 화자 검증 모듈(740)의 동작을 수행함으로써 화자 검증을 수행할 수 있다. 도 9에서, 동작 915는 동작 910에 후속하는 것으로 기재되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 동작 915와 동작 910이 실질적으로 동시에 수행될 수 있다. 동작 915가 동작 910에 선행하여 수행될 수 있다. If recognition of the wakeup word is successful (e.g., operation 910-YES), the electronic device 501 may determine whether speaker verification is successful in operation 915. The electronic device 501 may perform speaker verification, for example, by performing the operation of the speaker verification module 740 of FIG. 7 . In Figure 9, operation 915 is described as following operation 910, but embodiments of the present document are not limited thereto. Operations 915 and 910 may be performed substantially simultaneously. Operation 915 may be performed prior to operation 910.

화자 검증에 성공한 경우(예: 동작 915-YES), 동작 930에서, 전자 장치(501)는 음성 데이터에 대응하는 동작을 수행할 수 있다. 예를 들어, 음성 데이터의 의도가 음성 비서 어플리케이션의 호출인 경우, 전자 장치(501)는 음성 비서 어플리케이션을 실행시킬 수 있다. 전자 장치(501)는, 화자 검증의 성공에 따라서, 대기 상태 또는 잠금 상태로부터 활성 상태 또는 잠금 해제 상태로 전환될 수 있다. If speaker verification is successful (e.g., operation 915-YES), in operation 930, the electronic device 501 may perform an operation corresponding to the voice data. For example, if the intention of the voice data is to call a voice assistant application, the electronic device 501 may execute the voice assistant application. The electronic device 501 may switch from a standby state or a locked state to an active state or an unlocked state depending on the success of speaker verification.

화자 검증에 실패한 경우(예: 동작 915-NO), 동작 920에서, 전자 장치(501)는 화자 검증의 실패로부터 지정된 시간 내에 사용자 인증이 성공되는지 결정할 수 있다. 사용자 인증은, 화자 검증 외의 방법에 기반한 사용자 인증으로 참조될 수 있다. 웨이크업 워드의 인식에는 성공하였으나, 화자 검증에는 실패한 경우, 전자 장치(501)는 메모리에 음성 데이터를 저장할 수 있다. 예를 들어, 전자 장치(501)는 도 7의 데이터 관리 모듈(730)의 동작들에 따라서 음성 데이터를 메모리에 저장할 수 있다. 지정된 시간은 마지막 화자 검증의 실패 시점(예: 화자 검증에 실패한 음성 데이터의 획득 시점)으로부터 기설정된 시간으로 참조될 수 있다. If speaker verification fails (e.g., operation 915-NO), in operation 920, the electronic device 501 may determine whether user authentication is successful within a specified time from speaker verification failure. User authentication may be referred to as user authentication based on methods other than speaker verification. If recognition of the wakeup word is successful, but speaker verification is unsuccessful, the electronic device 501 may store voice data in the memory. For example, the electronic device 501 may store voice data in memory according to the operations of the data management module 730 of FIG. 7 . The designated time may be referred to as a preset time from the time of last speaker verification failure (e.g., the time of acquisition of voice data that failed speaker verification).

지정된 시간 내에 사용자 인증이 성공되지 않은 경우(예: 동작 920-NO), 전자 장치(501)는 이전 상태를 유지할 수 있다. 이 경우, 전자 장치(501)는 메모리에 저장된 음성 데이터를 삭제할 수도 있다.If user authentication is not successful within a specified time (eg, operation 920-NO), the electronic device 501 may maintain the previous state. In this case, the electronic device 501 may delete voice data stored in the memory.

지정된 시간 내에 사용자 인증이 성공된 경우(예: 동작 920-YES), 동작 925에서, 전자 장치(501)는 임계값 조정을 위한 UI를 제공할 수 있다. 동작 925는, 도 8의 동작 820에 대응할 수 있다. 도 8과 관련하여 상술된 바와 같이, 전자 장치(501)는 사용자 인증의 성공 시에, 사용자 인증 후 음성 에이전트가 실행되었을 때, 또는 사용자 인증에 따라서 잠금 해제되었을 때에 UI를 디스플레이할 수 있다. 도 8과 관련하여 상술된 바와 같이, 전자 장치(501)는 UI에 대한 입력에 기반하여 화자 검증을 위한 임계값을 조정할 수 있다. If user authentication is successful within a specified time (e.g., operation 920-YES), in operation 925, the electronic device 501 may provide a UI for adjusting the threshold. Operation 925 may correspond to operation 820 of FIG. 8 . As described above with reference to FIG. 8 , the electronic device 501 may display a UI when user authentication is successful, when a voice agent is executed after user authentication, or when the device is unlocked according to user authentication. As described above with reference to FIG. 8 , the electronic device 501 may adjust the threshold for speaker verification based on input to the UI.

도 10은 일 실시 예에 따른 전자 장치의 예시적 UI를 도시한다.10 illustrates an example UI of an electronic device according to an embodiment.

도 6 및 도 10을 참조하여, 일 실시 예에 따르면, 전자 장치(501)는 화자 검증을 위한 임계값의 조정을 추천하는 UI(1000)를 제공할 수 있다. 예를 들어, 전자 장치(501)는 도 8의 동작 820 또는 도 9의 동작 925에 따라서 UI(1000)를 디스플레이(660)에 표시할 수 있다. Referring to FIGS. 6 and 10 , according to one embodiment, the electronic device 501 may provide a UI 1000 recommending adjustment of a threshold for speaker verification. For example, the electronic device 501 may display the UI 1000 on the display 660 according to operation 820 of FIG. 8 or operation 925 of FIG. 9 .

일 예에서, 전자 장치(501)는 메모리(630)(예: 도 7의 평가 데이터 DB(735))에 저장된 복수의 음성 샘플들의 정보를 UI(1000)에 표시할 수 있다. UI(1000)에 표시된 음성 샘플들은 메모리에 저장된 음성 샘플들 중 전자 장치(501)(예: 도 7의 데이터 관리 모듈(730))에 의하여 선별된 것일 수 있다. 예를 들어, 전자 장치(501)는 메모리에 저장된 복수의 음성 샘플들 중 유사도가 높은 지정된 수의 음성 샘플들을 선별하여 UI(1000)에 표시할 수 있다. 전자 장치(501)는, 음성 샘플에 대응하는 성별, 연령 또는 피치 중 적어도 하나에 기반하여 음성 샘플들 사이의 유사도를 결정할 수 있다. In one example, the electronic device 501 may display information on a plurality of voice samples stored in the memory 630 (e.g., the evaluation data DB 735 of FIG. 7) on the UI 1000. Voice samples displayed on the UI 1000 may be selected by the electronic device 501 (eg, the data management module 730 of FIG. 7) from among voice samples stored in the memory. For example, the electronic device 501 may select a specified number of voice samples with high similarity among a plurality of voice samples stored in the memory and display them on the UI 1000. The electronic device 501 may determine the degree of similarity between voice samples based on at least one of gender, age, or pitch corresponding to the voice sample.

도 10의 예시에서, 전자 장치(501)는 제1 음성 샘플(1011), 제2 음성 샘플(1012), 제3 음성 샘플(1013), 제4 음성 샘플(1014), 및 제5 음성 샘플(1015)을 UI(1000)에 표시할 수 있다. 재생 버튼(1020) 중 하나에 대한 입력이 수신되는 경우, 전자 장치(501)는 입력이 수신된 재생 버튼(501)에 대응하는 음성 샘플을 재생할 수 있다. 사용자는 음성 샘플의 재생을 통하여 민감도 조정(예: 임계값 조정)에 이용될 음성 샘플을 확인할 수 있다. In the example of FIG. 10, the electronic device 501 includes a first voice sample 1011, a second voice sample 1012, a third voice sample 1013, a fourth voice sample 1014, and a fifth voice sample ( 1015) can be displayed on the UI (1000). When an input to one of the play buttons 1020 is received, the electronic device 501 may play a voice sample corresponding to the play button 501 from which the input was received. The user can check the voice sample to be used for sensitivity adjustment (e.g., threshold adjustment) through playback of the voice sample.

삭제 버튼(1030) 중 하나에 대한 입력이 수신되는 경우, 전자 장치(501)는 입력이 수신된 삭제 버튼(501)에 대응하는 음성 샘플을 민감도 조정으로부터 제외시킬 수 있다. 예를 들어, 사용자는 음성 샘플을 재생한 뒤, 자신의 목소리가 아닌 음성 샘플을 삭제시킬 수 있다. 음성 샘플을 삭제시킴으로써, 사용자는 해당 음성 샘플이 민감도 조정에 이용되지 않도록 할 수 있다.When an input for one of the delete buttons 1030 is received, the electronic device 501 may exclude from sensitivity adjustment the voice sample corresponding to the delete button 501 for which the input was received. For example, a user can play a voice sample and then delete voice samples that are not his or her own voice. By deleting a voice sample, the user can prevent the voice sample from being used for sensitivity adjustment.

민감도 갱신 버튼(1050)에 대한 입력이 수신되면, 전자 장치(501)는 선택된 음성 샘플들을 이용하여 민감도를 조정할 수 있다. 사용자 입력에 기반한 민감도 조정은 도 8의 동작 825에 대응할 수 있다. 도 10의 예시에서, 사용자에 의하여 삭제되지 아니한 음성 샘플은 사용자에 의하여 선택된 음성 샘플로 참조될 수 있다. 민감도 조정을 위한 방법은 도 7과 관련하여 상술된 후보 임계값의 식별 방법 및 후보 임계값을 이용한 임계값의 조정 방법에 대응할 수 있다.When an input to the sensitivity update button 1050 is received, the electronic device 501 can adjust the sensitivity using the selected voice samples. Sensitivity adjustment based on user input may correspond to operation 825 of FIG. 8. In the example of FIG. 10, voice samples that were not deleted by the user may be referred to as voice samples selected by the user. The method for adjusting sensitivity may correspond to the method for identifying a candidate threshold and the method for adjusting a threshold using a candidate threshold described above with reference to FIG. 7 .

도 11은 일 실시 예에 따른 전자 장치의 예시적 UI를 도시한다.11 illustrates an example UI of an electronic device according to an embodiment.

도 6 및 도 11을 참조하여, 일 실시 예에 따르면, 전자 장치(501)는 화자 검증을 위한 임계값의 조정을 추천하는 UI(1100)를 제공할 수 있다. 예를 들어, 전자 장치(501)는 도 8의 동작 820 또는 도 9의 동작 925에 따라서 UI(1100)를 디스플레이(660)에 표시할 수 있다. 도 10의 UI(1000)와 동일한 식별번호를 갖는 구성에 대한 설명은 도 10의 설명에 의하여 참조될 수 있다. Referring to FIGS. 6 and 11 , according to one embodiment, the electronic device 501 may provide a UI 1100 that recommends adjustment of a threshold for speaker verification. For example, the electronic device 501 may display the UI 1100 on the display 660 according to operation 820 of FIG. 8 or operation 925 of FIG. 9 . A description of a configuration having the same identification number as the UI 1000 of FIG. 10 may be referred to by the description of FIG. 10 .

도 11의 예시에서, UI(1100)는 선택 버튼(1140)을 포함할 수 있다. 사용자는 선택 버튼(1140)에 대한 입력을 통하여 민감도 조절에 이용될 음성 샘플을 선택할 수 있다. 예를 들어, 전자 장치(501)는 선택 버튼(1140)에 대한 입력에 기반하여 대응하는 음성 샘플을 민감도 조절에 이용하거나 이용하지 않을 수 있다.In the example of FIG. 11 , UI 1100 may include a selection button 1140. The user can select a voice sample to be used for sensitivity adjustment through input to the selection button 1140. For example, the electronic device 501 may or may not use the corresponding voice sample for sensitivity adjustment based on the input to the selection button 1140.

도 12는 일 실시 예에 따른 전자 장치의 예시적 UI를 도시한다.Figure 12 shows an example UI of an electronic device according to an embodiment.

도 6 및 도 12를 참조하여, 일 실시 예에 따르면, 전자 장치(501)는 화자 검증을 위한 임계값의 조정을 추천하는 UI(1200)를 제공할 수 있다. 예를 들어, 전자 장치(501)는 도 8의 동작 820 또는 도 9의 동작 925에 따라서 UI(1200)를 디스플레이(660)에 표시할 수 있다. 도 10의 UI(1000)와 동일한 식별번호를 갖는 구성에 대한 설명은 도 10의 설명에 의하여 참조될 수 있다. Referring to FIGS. 6 and 12 , according to one embodiment, the electronic device 501 may provide a UI 1200 that recommends adjustment of a threshold for speaker verification. For example, the electronic device 501 may display the UI 1200 on the display 660 according to operation 820 of FIG. 8 or operation 925 of FIG. 9 . A description of a configuration having the same identification number as the UI 1000 of FIG. 10 may be referred to by the description of FIG. 10 .

도 12의 예시에서, UI(1200)는 사용자 ID 입력 인터페이스(1260)를 포함할 수 있다. 예를 들어, 사용자는 사용자 ID 입력 인터페이스(1260)에 대한 입력을 통하여 각각의 음성 샘플들에 사용자 ID(예: 화자 ID)를 지정할 수 있다. 일 예에서, 전자 장치(501)는 복수의 화자 검증 벡터들을 저장할 수 있다. 복수의 화자 검증 벡터들 각각은 서로 상이한 화자 ID를 가질 수 있다. 본 문서의 예시에서, 민감도 조정에 이용되는 음성 샘플은 웨이크워 워드를 포함하나 화자 검증에 실패한 것으로 가정될 수 있다. 따라서, 전자 장치(501)는 음성 샘플로부터 화자 ID를 식별하지 못할 수 있다. 예를 들어, 사용자는 재생 버튼(1020)에 대한 입력을 통하여 음성 샘플을 들어볼 수 있다. 사용자는 음성 샘플을 들어본 뒤, 각각의 음성 샘플이 어떤 사용자 ID(예: 화자 ID)에 대응하는 것인지 결정할 수 있다. 사용자는 사용자 ID 입력 인터페이스(1260)에 대한 입력을 통하여, 각각의 음성 샘플에 대한 사용자 ID를 지정할 수 있다. In the example of FIG. 12 , UI 1200 may include a user ID input interface 1260. For example, the user can specify a user ID (eg, speaker ID) to each voice sample through input to the user ID input interface 1260. In one example, the electronic device 501 may store a plurality of speaker verification vectors. Each of the plurality of speaker verification vectors may have a different speaker ID. In the examples in this document, it can be assumed that the voice sample used for sensitivity adjustment contains a wake word but fails speaker verification. Accordingly, the electronic device 501 may not be able to identify the speaker ID from the voice sample. For example, the user can listen to a voice sample through input to the play button 1020. After listening to the voice samples, the user can determine which user ID (e.g., speaker ID) each voice sample corresponds to. The user can specify a user ID for each voice sample through input to the user ID input interface 1260.

예를 들어, 도 12의 예시에서, 사용자 ID가 Sunny로 지정된 음성 샘플은, Sunny에 대응하는 화자 검증 모델에 연관된 민감도 조정에 이용될 수 있다. 사용자 ID가 Jessica로 지정된 음성 샘플은, Jessica에 대응하는 화자 검증 모델에 연관된 민감도 조정에 이용될 수 있다. For example, in the example of FIG. 12, a voice sample with a user ID assigned to Sunny may be used for sensitivity adjustment associated with the speaker verification model corresponding to Sunny. A voice sample with the user ID assigned to Jessica can be used for sensitivity adjustment associated with the speaker verification model corresponding to Jessica.

Claims (10)

전자 장치에 있어서,
디스플레이;
메모리; 및
프로세서를 포함하고,
상기 메모리는 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가:
웨이크업 워드를 포함하는 복수의 음성 신호들을 획득(acquire)하고,
상기 복수의 음성 신호들 각각과 상기 메모리에 저장된 화자 검증 모델 사이의 유사도를 제1 임계값과 비교하여 상기 복수의 음성 신호들 각각에 대한 화자 검증 여부를 결정하고,
상기 복수의 음성 신호들에 대한 상기 화자 검증의 실패 후, 상기 복수의 음성 신호들 중 마지막 음성 신호의 수신 시점으로부터 지정된 시간 내에 상기 화자 검증 외의 인증 방법에 기반한 상기 전자 장치에 대한 사용자 인증을 수신하고,
상기 사용자 인증에 기반하여, 상기 복수의 음성 신호들 중 적어도 일부와 상기 화자 검증 모델 사이의 유사도에 기반하여 상기 제1 임계값을 조정하도록 하는 인스트럭션들을 저장하는, 전자 장치.
In electronic devices,
display;
Memory; and
Includes a processor,
When the memory is executed by the processor, the processor:
Acquire a plurality of voice signals including a wake-up word,
Compare the similarity between each of the plurality of voice signals and the speaker verification model stored in the memory with a first threshold to determine whether to verify the speaker for each of the plurality of voice signals,
After failure of the speaker verification for the plurality of voice signals, receiving user authentication for the electronic device based on an authentication method other than the speaker verification within a specified time from the time of reception of the last voice signal among the plurality of voice signals, and ,
Based on the user authentication, the electronic device stores instructions for adjusting the first threshold based on similarity between at least some of the plurality of voice signals and the speaker verification model.
제 1 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가, 상기 복수의 음성 신호들 각각과 상기 메모리에 저장된 화자 검증 모델 사이의 유사도가 상기 제1 임계값 미만이면 상기 복수의 음성 신호들 각각에 대한 화자 검증이 실패한 것으로 결정하도록 하는, 전자 장치.
According to claim 1,
When the instructions are executed by the processor, the processor determines whether the similarity between each of the plurality of voice signals and the speaker verification model stored in the memory is less than the first threshold value for each of the plurality of voice signals. An electronic device that determines that speaker verification has failed.
제 2 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가, 상기 화자 검증에 실패한 음성 신호를 상기 메모리에 저장하도록 하는, 전자 장치.
According to claim 2,
When the instructions are executed by the processor, the electronic device causes the processor to store the voice signal that failed the speaker verification in the memory.
제 1 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가:
상기 제1 임계값의 조정을 추천하는 UI(user interface)를 상기 디스플레이에 표시하고,
상기 UI에 대한 사용자 입력에 기반하여 상기 복수의 음성 신호들 중 적어도 일부를 이용하여 상기 제1 임계값을 조정하도록 하는, 전자 장치.
According to claim 1,
When the instructions are executed by the processor, the processor:
Displaying a user interface (UI) recommending adjustment of the first threshold on the display,
An electronic device that adjusts the first threshold using at least some of the plurality of voice signals based on a user input to the UI.
제 4 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가, 상기 복수의 음성 신호들 중 적어도 일부 각각과 저장된 화자 검증 모델 사이의 유사도에 기반하여 상기 제1 임계값을 제2 임계값으로 조정하도록 하는, 전자 장치.
According to claim 4,
The instructions, when executed by the processor, cause the processor to adjust the first threshold to a second threshold based on similarity between each of at least some of the plurality of speech signals and a stored speaker verification model. , electronic devices.
제 5 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가:
상기 복수의 음성 신호들 중 적어도 일부 각각과 저장된 화자 검증 모델 사이의 유사도 중 가장 높은 제1 유사도; 또는
상기 제1 유사도와 상기 제1 임계값의 가중 합에 기반하여 상기 제2 임계값을 식별하도록 하는, 전자 장치.
According to claim 5,
When the instructions are executed by the processor, the processor:
a first similarity level that is the highest among similarities between each of at least some of the plurality of speech signals and a stored speaker verification model; or
An electronic device that identifies the second threshold based on a weighted sum of the first similarity and the first threshold.
제 1 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가, 상기 사용자 인증의 수신에 응답하여, 상기 전자 장치의 상태를 잠금 상태로부터 잠금 해제 상태로 변경하도록 하는, 전자 장치.
According to claim 1,
The instructions, when executed by the processor, cause the processor to change the state of the electronic device from a locked state to an unlocked state in response to receiving the user authentication.
제 7 항에 있어서,
상기 사용자 인증은, 패스워드, 지문, 홍채, 또는 패턴 중 적어도 하나에 기반한 인증을 포함하는, 전자 장치.
According to claim 7,
The user authentication includes authentication based on at least one of a password, fingerprint, iris, or pattern.
제 7 항에 있어서,
상기 인스트럭션들은 상기 프로세서에 의하여 실행되었을 때, 상기 프로세서가, 상기 잠금 해제 상태로의 변경 후, 상기 전자 장치의 음성 에이전트 어플리케이션이 실행되면 상기 제1 임계값의 조정을 추천하는 UI(user interface)를 디스플레이하도록 하는, 전자 장치.
According to claim 7,
When the instructions are executed by the processor, the processor displays a UI (user interface) recommending adjustment of the first threshold when the voice agent application of the electronic device is executed after the change to the unlock state. An electronic device that causes a display.
전자 장치의 화자 검증 민감도 조정을 위한 방법으로서,
웨이크업 워드를 포함하는 음성 데이터를 획득하는 동작;
상기 음성 데이터와 상기 전자 장치의 메모리에 저장된 화자 검증 모델 사이의 유사도를 제1 임계값과 비교하여 상기 음성 데이터에 대한 화자 검증을 수행하는 동작;
상기 화자 검증에 실패한 경우, 상기 음성 데이터의 획득 시점으로부터 지정된 시간 내에 성공적인 사용자 인증이 수신되는지 결정하는 동작; 및
상기 성공적인 사용자 인증이 수신되면, 상기 메모리에 저장된 복수의 음성 데이터를 이용하여 상기 제1 임계값을 조정하는 동작을 포함하고,
상기 복수의 음성 데이터 각각은, 상기 웨이크업 워드를 포함하고, 상기 화자 검증에 실패한 음성 데이터인, 방법.
A method for adjusting the speaker verification sensitivity of an electronic device, comprising:
Obtaining voice data including a wake-up word;
performing speaker verification on the speech data by comparing a similarity between the speech data and a speaker verification model stored in a memory of the electronic device to a first threshold;
If the speaker verification fails, determining whether successful user authentication is received within a specified time from the point of acquisition of the voice data; and
Upon receiving the successful user authentication, adjusting the first threshold using a plurality of voice data stored in the memory,
Each of the plurality of voice data includes the wakeup word and is voice data that fails the speaker verification.
KR1020220130905A 2022-09-21 2022-10-12 Method of adjusting sensitivity for spearker verification and electronic device therefor KR20240040577A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220119031 2022-09-21
KR1020220119031 2022-09-21

Publications (1)

Publication Number Publication Date
KR20240040577A true KR20240040577A (en) 2024-03-28

Family

ID=90482970

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220130905A KR20240040577A (en) 2022-09-21 2022-10-12 Method of adjusting sensitivity for spearker verification and electronic device therefor

Country Status (1)

Country Link
KR (1) KR20240040577A (en)

Similar Documents

Publication Publication Date Title
US20220254369A1 (en) Electronic device supporting improved voice activity detection
US11862178B2 (en) Electronic device for supporting artificial intelligence agent services to talk to users
US11769489B2 (en) Electronic device and method for performing shortcut command in electronic device
US20230126305A1 (en) Method of identifying target device based on reception of utterance and electronic device therefor
US20220343921A1 (en) Device for training speaker verification of registered user for speech recognition service and method thereof
US11991421B2 (en) Electronic device and method for processing voice input and recording in the same
US11961508B2 (en) Voice input processing method and electronic device supporting same
KR20240040577A (en) Method of adjusting sensitivity for spearker verification and electronic device therefor
KR20220086265A (en) Electronic device and operation method thereof
US12027163B2 (en) Electronic device and operation method thereof
US20240233716A1 (en) Electronic device and method of processing response to user of electronic device
US20220028381A1 (en) Electronic device and operation method thereof
US20230127543A1 (en) Method of identifying target device based on utterance and electronic device therefor
US20230214397A1 (en) Server and electronic device for processing user utterance and operating method thereof
US20240096331A1 (en) Electronic device and method for providing operating state of plurality of devices
US20230061445A1 (en) Electronic device for outputting voice command processing result based on state change and operating method thereof
KR20240026811A (en) Method for analyzing user utterance and electronic device supporting the same
KR20230060351A (en) Method of identifying target device based on reception of utterance and electronic device therefor
KR20240043021A (en) Method of translation based on speech feature and electronic device therefor
KR20240050203A (en) Method for analyzing user utterance based on utterance cache and electronic device supporting the same
KR20240026820A (en) Electronic device and method for managing recognition model thereof
KR20240035271A (en) Electronic device, operating method, and storage medium for collecting data for activating voice assistant function
KR20240038523A (en) Method for judging false-rejection and electronic device performing the same
KR20230058990A (en) Electronic device and operating method thereof
KR20240039565A (en) Electronic device and method for processing user utterance thereof