KR20230052655A - Electronic device and operating method thereof - Google Patents
Electronic device and operating method thereof Download PDFInfo
- Publication number
- KR20230052655A KR20230052655A KR1020210135948A KR20210135948A KR20230052655A KR 20230052655 A KR20230052655 A KR 20230052655A KR 1020210135948 A KR1020210135948 A KR 1020210135948A KR 20210135948 A KR20210135948 A KR 20210135948A KR 20230052655 A KR20230052655 A KR 20230052655A
- Authority
- KR
- South Korea
- Prior art keywords
- information
- text
- electronic device
- attribute
- user
- Prior art date
Links
- 238000011017 operating method Methods 0.000 title claims description 6
- 230000009471 action Effects 0.000 claims abstract description 134
- 238000004891 communication Methods 0.000 claims abstract description 68
- 238000000034 method Methods 0.000 claims description 50
- 239000000284 extract Substances 0.000 abstract description 13
- 239000002775 capsule Substances 0.000 description 37
- 230000006870 function Effects 0.000 description 27
- 238000010586 diagram Methods 0.000 description 26
- 238000012545 processing Methods 0.000 description 15
- 230000008859 change Effects 0.000 description 14
- 238000004458 analytical method Methods 0.000 description 12
- 238000013528 artificial neural network Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 10
- 230000004044 response Effects 0.000 description 10
- 238000013473 artificial intelligence Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012015 optical character recognition Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000000306 recurrent effect Effects 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000008571 general function Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/04—Segmentation; Word boundary detection
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/225—Feedback of the input speech
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Acoustics & Sound (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
본 문서에서 개시되는 실시 예들은, 음성 인식을 기반으로 제어를 수행하는 전자 장치 및 그의 동작 방법에 관한 것이다.Embodiments disclosed in this document relate to an electronic device that performs control based on voice recognition and an operating method thereof.
전자 장치는 음성 인식 기술을 이용하여 사용자의 물리적 입력을 음성 입력으로 대체하고, 이에 따라 사용자는 움직일 필요 없이 편리하게 전자 장치를 제어할 수 있다.An electronic device uses voice recognition technology to replace a user's physical input with a voice input, and accordingly, the user can conveniently control the electronic device without having to move.
예를 들어, 전자 장치는 사용자로부터 음성을 입력 받아 사용자 의도에 기반한 다양한 콘텐트 서비스를 제공하거나, 전자 장치 내 특정 기능들을 수행할 수 있다.For example, an electronic device may receive a voice input from a user and provide various content services based on the user's intention or perform specific functions within the electronic device.
전자 장치는 음성 인식을 통해 전자 장치의 디스플레이에 출력된 화면을 제어할 수 있다. 이를 위해, 전자 장치는 시스템 레벨에서 제공하는 화면의 레이아웃 추출 방법을 이용하거나, 어플리케이션에서 제공하는 기능들에 대한 정보(예: 기능 이름)를 이용할 수 있다. 예를 들어, 어플리케이션에서 제공하는 기능들에 대한 정보는, 어플리케이션의 확장 혹은 기능 변경에 따라 추가적인 수정이 필요할 수 있다. 예를 들어, 레이아웃을 구현하는 주체의 목적에 따라 구현되는 구조나 방법이 다를 수 있어 레이아웃 추출의 복잡도가 올라갈 수 있고, 전자 장치가 시스템 레벨에서 제공하는 화면의 레이아웃 추출 방법을 이용하는 경우 추출된 정보의 정확도는 떨어질 수 있으며, 추출된 정보를 제어 동작으로 연결시키는 것 또한 어려울 수 있다.The electronic device may control a screen output on a display of the electronic device through voice recognition. To this end, the electronic device may use a screen layout extraction method provided at the system level or information on functions provided by applications (eg, function names). For example, information on functions provided by applications may require additional modification according to application expansion or function change. For example, the complexity of extracting the layout may increase because the implemented structure or method may differ depending on the purpose of the subject implementing the layout, and information extracted when an electronic device uses a screen layout extraction method provided at the system level. The accuracy of may be low, and it may also be difficult to connect the extracted information to the control operation.
본 문서에 개시되는 다양한 실시 예들은, 접근 가능한 모든 화면에 대하여 동일한 방법(또는, 조건)으로 텍스트 정보를 추출함으로써, 추출된 텍스트 정보를 이용하여 일관성 있는 제어 동작을 수행할 수 있는 전자 장치 및 그의 동작 방법을 제공하고자 한다.Various embodiments disclosed in this document are an electronic device capable of performing a consistent control operation using the extracted text information by extracting text information in the same method (or condition) for all accessible screens, and the electronic device thereof. We want to provide an operating method.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 마이크, 디스플레이, 통신 회로, 메모리, 및 상기 마이크, 상기 디스플레이, 상기 통신 회로, 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 디스플레이에 출력된 화면의 이미지를 획득하고, 상기 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득하고, 상기 속성 정보에 기반하여 사용자 액션(action)이 가능한 엘리먼트를 식별하고, 상기 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득하고, 상기 위치 정보 및 상기 크기 정보에 기반하여 상기 이미지 상의 상기 식별된 엘리먼트의 영역을 결정하고, 상기 결정된 영역의 이미지로부터 상기 식별된 엘리먼트의 텍스트 정보를 추출하고, 상기 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 상기 마이크를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행하도록 하는 하나 이상의 인스트럭션들(instructions)을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a microphone, a display, a communication circuit, a memory, and a processor operatively connected to the microphone, the display, the communication circuit, and the memory, When the memory is executed, the processor obtains an image of the screen output on the display, acquires attribute information of at least one element constituting the screen, and stores the attribute information in the attribute information. identifying an element capable of a user action based on the above, obtaining location information and size information of the identified element, and determining an area of the identified element on the image based on the location information and size information; , Extracting text information of the identified element from the image of the determined region, and performing a control operation corresponding to user speech received through the microphone based on attribute information, text information, and location information of the identified element. It may store one or more instructions to do so.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 디스플레이에 출력된 화면의 이미지를 획득하고, 상기 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득하고, 상기 속성 정보에 기반하여 사용자 액션(action)이 가능한 엘리먼트를 식별하고, 상기 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득하고, 상기 위치 정보 및 상기 크기 정보에 기반하여 상기 이미지 상의 상기 식별된 엘리먼트의 영역을 결정하고, 상기 결정된 영역의 이미지로부터 상기 식별된 엘리먼트의 텍스트 정보를 추출하고, 상기 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 마이크를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.In addition, a method of operating an electronic device according to an embodiment disclosed in this document acquires an image of a screen output on a display, and obtains attribute information of at least one element constituting the screen. and identifies an element capable of a user action based on the attribute information, obtains location information and size information of the identified element, and identifies the identified element on the image based on the location information and size information. Determines an area of an element, extracts text information of the identified element from an image of the determined area, and responds to user speech received through a microphone based on attribute information, text information, and location information of the identified element. control operation can be performed.
본 문서에 개시되는 다양한 실시 예들에 따르면, 접근 가능한 모든 화면에 대하여 동일한 방법(또는, 조건)으로 텍스트 정보를 추출함으로써, 추출된 텍스트 정보를 이용하여 일관성 있는 제어 동작을 수행할 수 있는 전자 장치 및 그의 동작 방법을 제공할 수 있다.According to various embodiments disclosed in this document, an electronic device capable of performing a consistent control operation using the extracted text information by extracting text information in the same method (or condition) for all accessible screens, and Its operating method can be provided.
본 문서에 개시되는 다양한 실시 예들에 따르면, 사용자 액션이 가능한 엘리먼트에 대하여만 텍스트 정보를 획득함으로써, 데이터 처리량을 감소시킬 수 있다.According to various embodiments disclosed in this document, data throughput may be reduced by obtaining text information only for elements capable of user actions.
본 문서에 개시되는 다양한 실시 예들에 따르면, 화면에 표시된 텍스트의 언어가 사용자 언어와 일치하지 않는 경우에도 사용자 언어로 발화된 사용자 발화에 대응하여 화면을 제어할 수 있다.According to various embodiments disclosed in this document, even when the language of the text displayed on the screen does not match the user's language, the screen may be controlled in response to the user's utterance in the user's language.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects identified directly or indirectly through this document may be provided.
도 1은 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른 통합 지능 (integrated intelligence) 시스템을 나타낸 블록도이다.
도 3은 일 실시예에 따른, 컨셉과 액션의 관계 정보가 데이터베이스에 저장된 형태를 나타낸 도면이다.
도 4는 일 실시예에 따라, 지능형 앱을 통해 수신된 음성 입력을 처리하는 화면을 표시하는 사용자 단말을 도시하는 도면이다.
도 5는 일 실시예에 따른 전자 장치의 블록도이다.
도 6은 일 실시예에 따른 전자 장치의 소프트웨어 모듈을 나타낸 도면이다.
도 7은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 8은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 9는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 10은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 11은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 12는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 13은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
도 14는 일 실시예에 따른 전자 장치의 동작을 나타낸 흐름도이다.
도 15는 일 실시예에 따른 전자 장치의 동작을 나타낸 흐름도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2 is a block diagram illustrating an integrated intelligence system according to an embodiment.
3 is a diagram illustrating a form in which relationship information between concepts and actions is stored in a database according to an embodiment.
4 is a diagram illustrating a user terminal displaying a screen for processing a voice input received through an intelligent app, according to an embodiment.
5 is a block diagram of an electronic device according to an exemplary embodiment.
6 is a diagram illustrating software modules of an electronic device according to an exemplary embodiment.
7 is a diagram for explaining an operation of an electronic device according to an exemplary embodiment.
8 is a diagram for explaining an operation of an electronic device according to an exemplary embodiment.
9 is a diagram for explaining an operation of an electronic device according to an exemplary embodiment.
10 is a diagram for describing an operation of an electronic device according to an exemplary embodiment.
11 is a diagram for explaining an operation of an electronic device according to an exemplary embodiment.
12 is a diagram for explaining an operation of an electronic device according to an exemplary embodiment.
13 is a diagram for explaining an operation of an electronic device according to an exemplary embodiment.
14 is a flowchart illustrating an operation of an electronic device according to an exemplary embodiment.
15 is a flowchart illustrating an operation of an electronic device according to an exemplary embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar elements.
도 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 within a
프로세서(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 (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g.,
보조 프로세서(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
메모리(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 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The 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 an application 146 .
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may 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 may 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 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(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)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the
무선 통신 모듈(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 a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or
안테나 모듈(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 the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed 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
다양한 실시예에 따르면, 안테나 모듈(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, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of 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 (eg, a 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 an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external
도 2는 일 실시예에 따른 통합 지능 (integrated intelligence) 시스템을 나타낸 블록도이다.2 is a block diagram illustrating an integrated intelligence system according to an embodiment.
도 2를 참조하면, 일 실시예의 통합 지능 시스템은 사용자 단말(201), 지능형 서버(300), 및 서비스 서버(400)를 포함할 수 있다. Referring to FIG. 2 , an integrated intelligent system according to an embodiment may include a
일 실시 예의 사용자 단말(201)(예: 도 1의 전자 장치(101))은, 인터넷에 연결 가능한 단말 장치(또는, 전자 장치)일 수 있으며, 예를 들어, 휴대폰, 스마트폰, PDA(personal digital assistant), 노트북 컴퓨터, TV(television), 백색 가전, 웨어러블 장치, HMD (head mounted device), 또는 스마트 스피커일 수 있다.The user terminal 201 (eg, the electronic device 101 of FIG. 1 ) of an embodiment may be a terminal device (or electronic device) capable of connecting to the Internet, and may be, for example, a mobile phone, a smart phone, or a personal digital assistant (PDA). digital assistant), a notebook 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
통신 인터페이스(290)(예: 도 1의 통신 모듈(190))는 외부 장치와 연결되어 데이터를 송수신하도록 구성될 수 있다. 마이크(270)(예: 도 1의 오디오 모듈(170))는 소리(예: 사용자 발화)를 수신하여, 전기적 신호로 변환할 수 있다. 스피커(255)(예: 도 1의 음향 출력 모듈(155))는 전기적 신호를 소리(예: 음성)로 출력할 수 있다. 디스플레이(260)(예: 도 1의 디스플레이 모듈(160))는 이미지 또는 비디오를 표시하도록 구성될 수 있다. 일 실시 예의 디스플레이(260)는 또한 실행되는 앱(app)(또는, 어플리케이션 프로그램(application program))의 그래픽 사용자 인터페이스(graphic user interface, GUI)를 표시할 수 있다.The communication interface 290 (eg, the communication module 190 of FIG. 1 ) may be connected to an external device to transmit/receive data. The microphone 270 (eg, the audio module 170 of FIG. 1 ) may receive a sound (eg, a user's speech) and convert it into an electrical signal. The speaker 255 (eg, the
일 실시 예의 메모리(230)(예: 도 1의 메모리(130))는 클라이언트 모듈(231), SDK(software development kit)(233), 및 복수의 어플리케이션들을 저장할 수 있다. 상기 클라이언트 모듈(231), 및 SDK(233)는 범용적인 기능을 수행하기 위한 프레임워크(framework)(또는, 솔루션 프로그램)를 구성할 수 있다. 또한, 클라이언트 모듈(231) 또는 SDK(233)는 음성 입력을 처리하기 위한 프레임워크를 구성할 수 있다.The memory 230 (eg, the memory 130 of FIG. 1 ) of an embodiment may store a
상기 복수의 어플리케이션들(예: 355a, 355b)은 지정된 기능을 수행하기 위한 프로그램일 수 있다. 일 실시 예에 따르면, 복수의 어플리케이션들은 제1 앱(235a), 및/또는 제2 앱(235b)을 포함할 수 있다. 일 실시 예에 따르면, 복수의 어플리케이션들 각각은 지정된 기능을 수행하기 위한 복수의 동작들을 포함할 수 있다. 예를 들어, 상기 어플리케이션들은, 알람 앱, 메시지 앱, 및/또는 스케줄 앱을 포함할 수 있다. 일 실시 예에 따르면, 복수의 어플리케이션들은 프로세서(220)에 의해 실행되어 상기 복수의 동작들 중 적어도 일부를 순차적으로 실행할 수 있다. The plurality of applications (eg, 355a and 355b) may be programs for performing designated functions. According to an embodiment, the plurality of applications may include a
일 실시 예의 프로세서(220)는 사용자 단말(201)의 전반적인 동작을 제어할 수 있다. 예를 들어, 프로세서(220)는 통신 인터페이스(290), 마이크(270), 스피커(255), 및 디스플레이(260)와 전기적으로 연결되어 연결되어 지정된 동작을 수행할 수 있다. 예를 들어, 프로세서(220)는 적어도 하나의 프로세서를 포함할 수 있다.The
일 실시 예의 프로세서(220)는 또한 상기 메모리(230)에 저장된 프로그램을 실행하여 지정된 기능을 수행할 수 있다. 예를 들어, 프로세서(220)는 클라이언트 모듈(231) 또는 SDK(233) 중 적어도 하나를 실행하여, 음성 입력을 처리하기 위한 이하의 동작을 수행할 수 있다. 프로세서(220)는, 예를 들어, SDK(233)를 통해 복수의 어플리케이션들의 동작을 제어할 수 있다. 클라이언트 모듈(231) 또는 SDK(233)의 동작으로 설명된 이하의 동작들은 프로세서(220)의 실행에 의하여 수행되는 동작일 수 있다.The
일 실시 예의 클라이언트 모듈(231)은 음성 입력을 수신할 수 있다. 예를 들어, 클라이언트 모듈(231)은 마이크(270)를 통해 감지된 사용자 발화에 대응되는 음성 신호를 수신할 수 있다. 상기 클라이언트 모듈(231)은 수신된 음성 입력(예: 음성 신호)을 지능형 서버(300)로 송신할 수 있다. 클라이언트 모듈(231)은 수신된 음성 입력과 함께, 사용자 단말(201)의 상태 정보를 지능형 서버(300)로 송신할 수 있다. 상기 상태 정보는, 예를 들어, 앱의 실행 상태 정보일 수 있다.The
일 실시 예의 클라이언트 모듈(231)은 수신된 음성 입력에 대응되는 결과를 지능형 서버(300)로부터 수신할 수 있다. 예를 들어, 클라이언트 모듈(231)은 지능형 서버(300)에서 상기 수신된 음성 입력에 대응되는 결과를 산출할 수 있는 경우, 수신된 음성 입력에 대응되는 결과를 수신할 수 있다. 클라이언트 모듈(231)은 상기 수신된 결과를 디스플레이(260)에 표시할 수 있다.The
일 실시 예의 클라이언트 모듈(231)은 수신된 음성 입력에 대응되는 플랜을 수신할 수 있다. 클라이언트 모듈(231)은 플랜에 따라 앱의 복수의 동작을 실행한 결과를 디스플레이(260)에 표시할 수 있다. 클라이언트 모듈(231)은, 예를 들어, 복수의 동작의 실행 결과를 순차적으로 디스플레이에 표시할 수 있다. 사용자 단말(201)은, 다른 예를 들어, 복수의 동작을 실행한 일부 결과(예: 마지막 동작의 결과)만을 디스플레이에 표시할 수 있다.The
일 실시 예에 따르면, 클라이언트 모듈(231)은 지능형 서버(300)로부터 음성 입력에 대응되는 결과를 산출하기 위해 필요한 정보를 획득하기 위한 요청을 수신할 수 있다. 일 실시 예에 따르면, 클라이언트 모듈(231)은 상기 요청에 대응하여 상기 필요한 정보를 지능형 서버(300)로 송신할 수 있다.According to one embodiment, the
일 실시 예의 클라이언트 모듈(231)은 플랜에 따라 복수의 동작을 실행한 결과 정보를 지능형 서버(300)로 송신할 수 있다. 지능형 서버(300)는 상기 결과 정보를 이용하여 수신된 음성 입력이 올바르게 처리된 것을 확인할 수 있다.The
일 실시 예의 클라이언트 모듈(231)은 음성 인식 모듈을 포함할 수 있다. 일 실시 예에 따르면, 클라이언트 모듈(231)은 상기 음성 인식 모듈을 통해 제한된 기능을 수행하는 음성 입력을 인식할 수 있다. 예를 들어, 클라이언트 모듈(231)은 지정된 음성 입력(예: 웨이크 업!)에 대응하여 유기적인 동작을 수행함으로써 음성 입력을 처리하기 위한 지능형 앱을 실행할 수 있다. The
일 실시 예의 지능형 서버(300)는 네트워크(299)(예: 도 1의 제1 네트워크(198) 및/또는 제2 네트워크(199))을 통해 사용자 단말(201)로부터 사용자 음성 입력과 관련된 정보를 수신할 수 있다. 일 실시 예에 따르면, 지능형 서버(300)는 수신된 음성 입력과 관련된 데이터를 텍스트 데이터(text data)로 변경할 수 있다. 일 실시 예에 따르면, 지능형 서버(300)는 상기 텍스트 데이터에 기초하여 사용자 음성 입력과 대응되는 태스크(task)를 수행하기 위한 적어도 하나의 플랜(plan)을 생성할 수 있다The intelligent server 300 of an embodiment transmits information related to the user's voice input from the
일 실시 예에 따르면, 플랜은 인공 지능(artificial intelligent)(AI) 시스템에 의해 생성될 수 있다. 인공지능 시스템은 룰 베이스 시스템(rule-based system) 일 수도 있고, 신경망 베이스 시스템(neual network-based system)(예: 피드포워드 신경망(feedforward neural network(FNN)), 및/또는 순환 신경망(recurrent neural network(RNN))) 일 수도 있다. 또는, 전술한 것의 조합 또는 이와 다른 인공지능 시스템일 수도 있다. 일 실시 예에 따르면, 플랜은 미리 정의된 플랜들의 집합에서 선택될 수 있거나, 사용자 요청에 응답하여 실시간으로 생성될 수 있다. 예를 들어, 인공지능 시스템은 미리 정의 된 복수의 플랜들 중 적어도 하나의 플랜을 선택할 수 있다.According to one embodiment, the plan may be generated by an artificial intelligent (AI) system. The 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 foregoing or other artificially intelligent systems. 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, the artificial intelligence system may select at least one plan from among a plurality of predefined plans.
일 실시 예의 지능형 서버(300)는 생성된 플랜에 따른 결과를 사용자 단말(201)로 송신하거나, 생성된 플랜을 사용자 단말(201)로 송신할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 플랜에 따른 결과를 디스플레이에 표시할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 플랜에 따른 동작을 실행한 결과를 디스플레이에 표시할 수 있다.An embodiment of the intelligent server 300 may transmit a result according to the generated plan to the
일 실시 예의 지능형 서버(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
일 실시 예의 프론트 엔드(310)는 사용자 단말(201)에 의하여 수신된 음성 입력을 사용자 단말(201)로부터 수신할 수 있다. 프론트 엔드(310)는 상기 음성 입력에 대응되는 응답을 사용자 단말(201)로 송신할 수 있다.The
일 실시 예에 따르면, 자연어 플랫폼(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, a planner module (
일 실시 예의 자동 음성 인식 모듈(321)은 사용자 단말(201)로부터 수신된 음성 입력을 텍스트 데이터로 변환할 수 있다. 일 실시 예의 자연어 이해 모듈(323)은 음성 입력의 텍스트 데이터를 이용하여 사용자의 의도를 파악할 수 있다. 예를 들어, 자연어 이해 모듈(323)은 문법적 분석(syntactic analyze) 및/또는 의미적 분석(semantic analyze)을 수행하여 사용자의 의도를 파악할 수 있다. 일 실시 예의 자연어 이해 모듈(323)은 형태소 또는 구의 언어적 특징(예: 문법적 요소)을 이용하여 음성 입력으로부터 추출된 단어의 의미를 파악하고, 상기 파악된 단어의 의미를 의도에 매칭시켜 사용자의 의도를 결정할 수 있다.The automatic voice recognition module 321 according to an embodiment may convert voice input received from the
일 실시 예의 플래너 모듈(325)은 자연어 이해 모듈(323)에서 결정된 의도 및 파라미터를 이용하여 플랜을 생성할 수 있다. 일 실시 예에 따르면, 플래너 모듈(325)은 상기 결정된 의도에 기초하여 태스크를 수행하기 위해 필요한 복수의 도메인을 결정할 수 있다. 플래너 모듈(325)은 상기 의도에 기초하여 결정된 복수의 도메인 각각에 포함된 복수의 동작을 결정할 수 있다. 일 실시 예에 따르면, 플래너 모듈(325)은 상기 결정된 복수의 동작을 실행하는데 필요한 파라미터나, 상기 복수의 동작의 실행에 의해 출력되는 결과 값을 결정할 수 있다. 상기 파라미터, 및 상기 결과 값은 지정된 형식(또는, 클래스)의 컨셉으로 정의될 수 있다. 이에 따라, 플랜은 사용자의 의도에 의해 결정된 복수의 동작, 및/또는 복수의 컨셉을 포함할 수 있다. 상기 플래너 모듈(325)은 상기 복수의 동작, 및 상기 복수의 컨셉 사이의 관계를 단계적(또는, 계층적)으로 결정할 수 있다. 예를 들어, 플래너 모듈(325)은 복수의 컨셉에 기초하여 사용자의 의도에 기초하여 결정된 복수의 동작의 실행 순서를 결정할 수 있다. 다시 말해, 플래너 모듈(325)은 복수의 동작의 실행에 필요한 파라미터, 및 복수의 동작의 실행에 의해 출력되는 결과에 기초하여, 복수의 동작의 실행 순서를 결정할 수 있다. 이에 따라, 플래너 모듈(325)는 복수의 동작 및 복수의 컨셉 사이의 연관 정보(예: 온톨로지(ontology))가 포함된 플랜를 생성할 수 있다. 상기 플래너 모듈(325)은 컨셉과 동작의 관계들의 집합이 저장된 캡슐 데이터베이스(330)에 저장된 정보를 이용하여 플랜을 생성할 수 있다. The
일 실시 예의 자연어 생성 모듈(327)은 지정된 정보를 텍스트 형태로 변경할 수 있다. 상기 텍스트 형태로 변경된 정보는 자연어 발화의 형태일 수 있다. 일 실시 예의 텍스트 음성 변환 모듈(329)은 텍스트 형태의 정보를 음성 형태의 정보로 변경할 수 있다.The natural
일 실시 예에 따르면, 자연어 플랫폼(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
상기 캡슐 데이터베이스(330)는 복수의 도메인에 대응되는 복수의 컨셉과 동작들의 관계에 대한 정보를 저장할 수 있다. 일 실시예에 따른 캡슐은 플랜에 포함된 복수의 동작 오브젝트(action object)(또는 동작 정보) 및/또는 컨셉 오브젝트(concept object)(또는 컨셉 정보)를 포함할 수 있다. 일 실시 예에 따르면, 캡슐 데이터베이스(330)는 CAN(concept action network)의 형태로 복수의 캡슐을 저장할 수 있다. 일 실시 예에 따르면, 복수의 캡슐은 캡슐 데이터베이스(330)에 포함된 기능 저장소(function registry)에 저장될 수 있다.The capsule database 330 may store information about relationships between a plurality of concepts and operations corresponding to a plurality of domains. A capsule according to an embodiment may include a plurality of action objects (or action information) and/or concept objects (or concept information) included in a plan. According to an embodiment, the capsule database 330 may store a plurality of capsules in the form of a concept action network (CAN). According to an 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 reference information for determining one plan when there are a plurality of plans corresponding to the voice input. According to an embodiment, the capsule database 330 may include a follow-up registry in which information on a follow-up action for suggesting a follow-up action to a user in a specified situation is stored. The follow-up action may include, for example, a follow-up utterance. According to an embodiment, the capsule database 330 may include a layout registry for storing layout information of information output through the
일 실시 예의 실행 엔진(340)은 상기 생성된 플랜을 이용하여 결과를 산출할 수 있다. 엔드 유저 인터페이스(350)는 산출된 결과를 사용자 단말(201)로 송신할 수 있다. 이에 따라, 사용자 단말(201)은 상기 결과를 수신하고, 상기 수신된 결과를 사용자에게 제공할 수 있다. 일 실시 예의 매니지먼트 플랫폼(360)은 지능형 서버(300)에서 이용되는 정보를 관리할 수 있다. 일 실시 예의 빅 데이터 플랫폼(370)은 사용자의 데이터를 수집할 수 있다. 일 실시 예의 분석 플랫폼(380)을 지능형 서버(300)의 QoS(quality of service)를 관리할 수 있다. 예를 들어, 분석 플랫폼(380)은 지능형 서버(300)의 구성 요소 및 처리 속도(또는, 효율성)를 관리할 수 있다.The
일 실시 예의 서비스 서버(400)는 사용자 단말(201)에 지정된 서비스(예: 음식 주문 또는 호텔 예약)를 제공할 수 있다. 일 실시 예에 따르면, 서비스 서버(400)는 제3 자에 의해 운영되는 서버일 수 있다. 일 실시 예의 서비스 서버(400)는 수신된 음성 입력에 대응되는 플랜을 생성하기 위한 정보를 지능형 서버(300)에 제공할 수 있다. 상기 제공된 정보는 캡슐 데이터베이스(330)에 저장될 수 있다. 또한, 서비스 서버(400)는 플랜에 따른 결과 정보를 지능형 서버(300)에 제공할 수 있다. 서비스 서버(400)는 네트워크(299)를 통하여 지능형 서버(300) 및/또는 사용자 단말(201)과 통신할 수 있다. 서비스 서버(400)는 별도의 연결을 통하여 지능형 서버(300)와 통신할 수 있다. 도 2에는 서비스 서버(400)가 하나의 서버로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 서비스 서버(400)의 각각의 서비스(401, 402, 및 403)들 중 적어도 하나는 별도의 서버로 구현될 수 있다. The
위에 기술된 통합 지능 시스템에서, 상기 사용자 단말(201)은, 사용자 입력에 응답하여 사용자에게 다양한 인텔리전트 서비스를 제공할 수 있다. 상기 사용자 입력은, 예를 들어, 물리적 버튼을 통한 입력, 터치 입력 또는 음성 입력을 포함할 수 있다.In the integrated intelligent system described above, the
일 실시 예에서, 상기 사용자 단말(201)은 내부에 저장된 지능형 앱(또는, 음성 인식 앱)을 통해 음성 인식 서비스를 제공할 수 있다. 이 경우, 예를 들어, 사용자 단말(201)은 상기 마이크를 통해 수신된 사용자 발화(utterance) 또는 음성 입력(voice input)를 인식하고, 인식된 음성 입력에 대응되는 서비스를 사용자에게 제공할 수 있다.In one embodiment, the
일 실시 예에서, 사용자 단말(201)은 수신된 음성 입력에 기초하여, 단독으로 또는 상기 지능형 서버 및/또는 서비스 서버와 함께 지정된 동작을 수행할 수 있다. 예를 들어, 사용자 단말(201)은 수신된 음성 입력에 대응되는 앱을 실행시키고, 실행된 앱을 통해 지정된 동작을 수행할 수 있다. In one embodiment, the
일 실시 예에서, 사용자 단말(201)이 지능형 서버(300) 및/또는 서비스 서버와 함께 서비스를 제공하는 경우에는, 상기 사용자 단말은, 상기 마이크(270)를 이용하여 사용자 발화를 감지하고, 상기 감지된 사용자 발화에 대응되는 신호(또는, 음성 데이터)를 생성할 수 있다. 상기 사용자 단말은, 상기 음성 데이터를 통신 인터페이스(290)를 이용하여 지능형 서버(300)로 송신할 수 있다.In one embodiment, when the
일 실시 예에 따른 지능형 서버(300)는 사용자 단말(201)로부터 수신된 음성 입력에 대한 응답으로써, 음성 입력에 대응되는 태스크(task)를 수행하기 위한 플랜, 또는 상기 플랜에 따라 동작을 수행한 결과를 생성할 수 있다. 상기 플랜은, 예를 들어, 사용자의 음성 입력에 대응되는 태스크(task)를 수행하기 위한 복수의 동작 및/또는 상기 복수의 동작과 관련된 복수의 컨셉을 포함할 수 있다. 상기 컨셉은 상기 복수의 동작의 실행에 입력되는 파라미터나, 복수의 동작의 실행에 의해 출력되는 결과 값을 정의한 것일 수 있다. 상기 플랜은 복수의 동작 및/또는 복수의 컨셉 사이의 연관 정보를 포함할 수 있다.Intelligent server 300 according to an embodiment, as a response to the voice input received from the
일 실시 예의 사용자 단말(201)은, 통신 인터페이스(290)를 이용하여 상기 응답을 수신할 수 있다. 사용자 단말(201)은 상기 스피커(255)를 이용하여 사용자 단말(201) 내부에서 생성된 음성 신호를 외부로 출력하거나, 디스플레이(260)를 이용하여 사용자 단말(201) 내부에서 생성된 이미지를 외부로 출력할 수 있다. The
도 3는 일 실시 예에 따른, 컨셉과 동작의 관계 정보가 데이터베이스에 저장된 형태를 나타낸 도면이다.3 is a diagram illustrating a form in which relationship information between a concept and an operation is stored in a database according to an exemplary embodiment.
상기 지능형 서버(300)의 캡슐 데이터베이스(예: 캡슐 데이터베이스(330))는 CAN (concept action network) 형태로 캡슐을 저장할 수 있다. 상기 캡슐 데이터베이스는 사용자의 음성 입력에 대응되는 태스크를 처리하기 위한 동작, 및 상기 동작을 위해 필요한 파라미터를 CAN(concept action network) 형태로 저장될 수 있다.The capsule database (eg, the capsule database 330) of the intelligent server 300 may store capsules in the form of a concept action network (CAN). The capsule database may store an operation for processing a task corresponding to a user's voice input and parameters necessary for the operation in the form of a concept action network (CAN).
상기 캡슐 데이터베이스는 복수의 도메인(예: 어플리케이션) 각각에 대응되는 복수의 캡슐(캡슐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 and Capsule B 334) corresponding to each of a plurality of domains (eg, applications). According to an embodiment, one capsule (eg, capsule A 331) may correspond to one domain (eg, location (geo), application). In addition, one capsule includes at least one service provider capsule (eg, CP 1 (332), CP 2 (333), CP3 (335), and/or CP4 (336)) for performing functions for domains related to the capsule. )) can correspond. According to an embodiment, one capsule may include at least one operation 330a and at least one concept 330b to perform a designated function.
상기, 자연어 플랫폼(320)은 캡슐 데이터베이스(330)에 저장된 캡슐을 이용하여 수신된 음성 입력에 대응하는 태스크를 수행하기 위한 플랜을 생성할 수 있다. 예를 들어, 자연어 플랫폼의 플래너 모듈(325)은 캡슐 데이터베이스에 저장된 캡슐을 이용하여 플랜을 생성할 수 있다. 예를 들어, 캡슐 A(3310) 의 동작들(331a, 332a) 과 컨셉들(331b, 332b) 및 캡슐 B(334)의 동작(334a) 과 컨셉(334b)를 이용하여 플랜(337)을 생성할 수 있다. The natural language platform 320 may create a plan for performing a task corresponding to a received voice input using a capsule stored in the capsule database 330 . For example, the
도 4는 일 실시 예에 따른 사용자 단말이 지능형 앱을 통해 수신된 음성 입력을 처리하는 화면을 나타낸 도면이다.4 is a diagram illustrating a screen in which a user terminal processes a voice input received through an intelligent app according to an embodiment.
사용자 단말(201)은 지능형 서버(300)를 통해 사용자 입력을 처리하기 위해 지능형 앱을 실행할 수 있다.The
일 실시 예에 따르면, 제1 화면(410)에서, 사용자 단말(201)은 지정된 음성 입력(예: 웨이크 업!)를 인식하거나 하드웨어 키(예: 전용 하드웨어 키)를 통한 입력을 수신하면, 음성 입력을 처리하기 위한 지능형 앱을 실행할 수 있다. 사용자 단말(201)은, 예를 들어, 스케줄 앱을 실행한 상태에서 지능형 앱을 실행할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 지능형 앱에 대응되는 오브젝트(예: 아이콘)(411)를 디스플레이(260)에 표시할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 사용자 발화에 의한 음성 입력을 수신할 수 있다. 예를 들어, 사용자 단말(201)은 "이번주 일정 알려줘!"라는 음성 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 단말(201)은 수신된 음성 입력의 텍스트 데이터가 표시된 지능형 앱의 UI(user interface)(213)(예: 입력창)를 디스플레이에 표시할 수 있다.According to one embodiment, on the first screen 410, when the
일 실시 예에 따르면, 제2 화면(415)에서, 사용자 단말(201)은 수신된 음성 입력에 대응되는 결과를 디스플레이에 표시할 수 있다. 예를 들어, 사용자 단말(201)은 수신된 사용자 입력에 대응되는 플랜을 수신하고, 플랜에 따라 '이번주 일정'을 디스플레이에 표시할 수 있다.According to an embodiment, on the second screen 415, the
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "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 the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (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 the certain component may be connected to the other component directly (eg by wire), 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, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion 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 this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store ™ ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of 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 of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
이하, 도 5를 참조하여 일 실시예에 따른 전자 장치의 구성 및 동작에 대하여 설명한다.Hereinafter, a configuration and operation of an electronic device according to an exemplary embodiment will be described with reference to FIG. 5 .
도 5는 일 실시예에 따른 전자 장치의 블록도(500)이다.5 is a block diagram 500 of an electronic device according to an embodiment.
일 실시예에 따르면, 전자 장치(501)(예: 도 1의 전자 장치(101), 또는 도 2의 사용자 단말(201))는 디스플레이(510)(예: 도 1의 디스플레이 모듈(160) 또는 도 2의 디스플레이(260)), 마이크(520)(예: 도 1의 입력 모듈(150) 또는 도 2의 마이크(270)), 통신 회로(530)(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 인터페이스(290)), 메모리(540)(예: 도 1의 메모리(130) 또는 도 2의 메모리(230)), 및 프로세서(550)(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(220))를 포함할 수 있다. 일 실시예에 따르면, 디스플레이(510), 마이크(520), 통신 회로(530), 메모리(540), 및 프로세서(550)는 서로 작동적으로 연결될 수 있다.According to an embodiment, the electronic device 501 (eg, the electronic device 101 of FIG. 1 or the
일 실시예에 따르면, 디스플레이(510)는 전자 장치(101)의 외부(예: 사용자)에 정보를 시각적으로 제공할 수 있다. 예를 들면, 디스플레이(510)는 실행되는 어플리케이션(application)(또는, 앱(app))의 그래픽 사용자 인터페이스(graphic user interface, GUI)를 표시할 수 있다.According to an embodiment, the display 510 may visually provide information to the outside of the electronic device 101 (eg, a user). For example, the display 510 may display a graphic user interface (GUI) of an application (or app) being executed.
일 실시예에 따르면, 마이크(520)는 외부의 소리를 수신하여 전기적 신호로 변환할 수 있다. 예를 들면, 마이크(520)는 사용자 발화를 수신할 수 있다.According to an embodiment, the microphone 520 may receive external sound and convert it into an electrical signal. For example, the microphone 520 may receive user speech.
일 실시예에 따르면, 통신 회로(530)는 외부 장치(예: 도 1의 서버(108), 도 2의 지능형 서버(300), 또는 도 2의 서비스 서버(400))와 연결되어 데이터를 송수신하도록 구성될 수 있다.According to one embodiment, the communication circuit 530 is connected to an external device (eg, the server 108 of FIG. 1, the intelligent server 300 of FIG. 2, or the
일 실시예에 따르면, 메모리(540)는 전자 장치(501)의 적어도 하나의 구성요소(예: 프로세서(550))에 의해 실행되는 하나 이상의 인스트럭션들(instructions)을 저장할 수 있다. 일 실시예에 따르면, 메모리(540)는 인스트럭션의 실행 시에 사용되는 다양한 데이터를 저장할 수 있다. 예를 들어, 메모리(540)는 디스플레이(510)에 출력되는 화면의 이미지를 저장할 수 있다. 예를 들어, 메모리(540)는 디스플레이(510)에 출력된 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성 정보, 위치 정보, 또는 크기 정보 중 적어도 하나를 저장할 수 있다. 예를 들어, 메모리(540)는 이미지로부터 추출되는 텍스트 정보를 저장할 수 있다. 예를 들어, 메모리(540)는 디스플레이(510)에 출력된 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 생성되는 음성 제어 정보를 저장할 수 있다.According to an embodiment, the memory 540 may store one or more instructions executed by at least one component (eg, the processor 550) of the electronic device 501. According to one embodiment, the memory 540 may store various data used when executing instructions. For example, the memory 540 may store an image of a screen output to the display 510 . For example, the memory 540 may store at least one of attribute information, location information, and size information of at least one element constituting a screen output on the display 510 . For example, the memory 540 may store text information extracted from an image. For example, the memory 540 may store voice control information generated based on attribute information, location information, and text information of at least one element constituting a screen output on the display 510 .
일 실시예에 따르면, 프로세서(550)는 디스플레이(510)를 통해 어플리케이션의 실행 화면을 출력할 수 있다. 일 실시예에 따르면, 프로세서(550)는 디스플레이(510)에 출력되는 화면의 이미지를 획득할 수 있다. 일 실시예에 따르면, 프로세서(550)는 디스플레이(510)에 출력된 화면의 레이아웃(layout)을 분석할 수 있다. 예를 들어, 프로세서(550)는 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보, 위치 정보, 또는 크기 정보 중 적어도 하나를 획득할 수 있다.According to an embodiment, the processor 550 may output an execution screen of an application through the display 510 . According to an embodiment, the processor 550 may obtain a screen image output to the display 510 . According to an embodiment, the processor 550 may analyze the layout of the screen output to the display 510 . For example, the processor 550 may obtain at least one of attribute information, location information, and size information of at least one element constituting the screen.
일 실시예에 따르면, 속성 정보는, 사용자 액션(action)(또는, 인터랙션(interaction))이 가능한 속성인지에 대한 정보를 포함할 수 있다. 예를 들어, 사용자 액션이 가능한 속성은, 선택 가능한 속성(예: clickable), 텍스트를 입력 받을 수 있는 속성(예: EditText), 또는 암호를 입력 받는 속성(예: password)을 포함할 수 있다. 예를 들어, 속성 정보는, 선택 가능한 속성, 텍스트를 입력 받을 수 있는 속성, 또는 암호를 입력 받는 속성에 대한 정보를 포함할 수 있다.According to an embodiment, the attribute information may include information about whether a user action (or interaction) is possible. For example, a property capable of a user action may include a selectable property (eg, clickable), a property capable of receiving text (eg, EditText), or a property receiving a password (eg, password). For example, the attribute information may include information on a selectable attribute, a text input attribute, or a password input attribute.
일 실시예에 따르면, 프로세서(550)는 적어도 하나의 엘리먼트의 속성 정보에 기반하여 사용자 액션이 가능한 엘리먼트를 식별할 수 있다. 일 실시예에 따르면, 프로세서(550)는 적어도 하나의 엘리먼트 중 사용자 액션이 가능한 속성을 가진 엘리먼트를 식별할 수 있다. 예를 들어, 프로세서(550)는, 선택 가능하거나, 텍스트를 입력 받을 수 있거나, 암호를 입력 받는 엘리먼트를 식별할 수 있다.According to an embodiment, the processor 550 may identify an element capable of a user action based on attribute information of at least one element. According to an embodiment, the processor 550 may identify an element having a user actionable attribute among at least one element. For example, the processor 550 may identify an element that is selectable, can receive text, or receives a password.
일 실시예에 따르면, 프로세서(550)는 식별된 사용자 액션이 가능한 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(550)는 디스플레이(510)에 출력된 화면을 구성하는 적어도 하나의 엘리먼트의 위치 정보 및 크기 정보로부터 사용자 액션이 가능한 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 예를 들어, 위치 정보는, 좌표 정보일 수 있다. 예를 들어, 크기 정보는, 폭(width) 정보 또는 길이(length) 정보 중 적어도 하나일 수 있다.According to an embodiment, the processor 550 may obtain location information and size information of an element capable of an identified user action. According to an embodiment, the processor 550 may obtain position information and size information of an element capable of a user action from position information and size information of at least one element constituting a screen output on the display 510 . For example, location information may be coordinate information. For example, the size information may be at least one of width information and length information.
일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 위치 정보 및 크기 정보에 기반하여 디스플레이(510)에 출력된 화면의 이미지 상의 사용자 액션이 가능한 엘리먼트의 영역을 결정할 수 있다. 일 실시예에 따르면, 프로세서(550)는 결정된 영역의 이미지로부터 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 추출할 수 있다. 예를 들어, 프로세서(550)는 OCR(optical character recognition) 기능을 이용하여 화면의 이미지 상의 사용자 액션이 가능한 엘리먼트 각각의 영역으로부터 텍스트 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트에 대응하는 텍스트 정보를 획득함으로써, 사용자가 전자 장치(501)를 음성에 기반하여 제어하기 위해 사용할 수 있는 발화 텍스트에 대한 후보 리스트를 획득할 수 있다. 일 실시예에 따르면, 전자 장치(501)는 사용자 액션이 가능한 엘리먼트에 대하여만 텍스트 정보를 획득함으로써, 데이터 처리량을 감소시킬 수 있다. 일 실시예에 따르면, 프로세서(550)는 획득된 사용자 액션이 가능한 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보를 엘리먼트 별로 서로 대응시켜 저장할 수 있다.According to an embodiment, the processor 550 may determine a region of an element capable of a user action on an image of a screen output to the display 510 based on position information and size information of elements capable of a user action. According to an embodiment, the processor 550 may extract text information of an element capable of a user action from the image of the determined area. For example, the processor 550 may obtain text information from an area of each element capable of a user action on a screen image by using an optical character recognition (OCR) function. According to an embodiment, the processor 550 obtains text information corresponding to an element capable of a user action, thereby generating a candidate list for spoken text that the user can use to control the electronic device 501 based on voice. can be obtained According to an embodiment, the electronic device 501 may reduce data throughput by obtaining text information only for elements capable of user actions. According to an embodiment, the processor 550 may store acquired attribute information, location information, and text information of elements capable of user actions by corresponding them to each other.
일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 마이크(520)를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성할 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 사용자 발화에 기반하여 전자 장치(501) 또는 디스플레이(510)에 출력된 화면을 제어하기 위한 정보일 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 위치 정보에 대응하는 사용자 액션이 가능한 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함할 수 있다. 일 실시예에 따르면, 명령어는 텍스트 정보와 연관되어 저장될 수 있다.According to an embodiment, the processor 550 may perform a control operation corresponding to a user's speech received through the microphone 520 based on attribute information, location information, and text information of an element capable of a user action. According to an embodiment, the processor 550 may generate voice control information based on attribute information, location information, and text information of an element capable of a user action. According to an embodiment, the voice control information may be information for controlling a screen output to the electronic device 501 or the display 510 based on user speech. According to an embodiment, the voice control information may include a command for performing control corresponding to attribute information with respect to an element capable of a user action corresponding to location information. According to one embodiment, the command may be stored in association with text information.
예를 들어, 제1 엘리먼트의 속성 정보가 선택 가능한 속성인 경우, 음성 제어 정보는 제1 엘리먼트의 위치 정보에 대응하는 제1 엘리먼트를 선택하도록 하는 명령어 및 제1 엘리먼트가 선택됨에 따른 화면을 출력하도록 하는 명령어를 포함할 수 있다.For example, if the attribute information of the first element is a selectable attribute, the voice control information may output a command for selecting the first element corresponding to the location information of the first element and a screen according to the selection of the first element. It may contain commands that:
다른 예로, 제2 엘리먼트의 속성 정보가 텍스트를 입력 받을 수 있는 속성인 경우, 음성 제어 정보는 제2 엘리먼트의 위치 정보에 대응하는 제2 엘리먼트에 커서(cursor)를 위치시키는 명령어 및 제2 엘리먼트에 커서를 위치시킨 화면을 출력하도록 하는 명령어를 포함할 수 있다.As another example, if the attribute information of the second element is an attribute capable of receiving text input, the voice control information is a command for positioning the cursor on the second element corresponding to the location information of the second element and the second element. It may include a command for outputting a screen on which a cursor is placed.
또 다른 예로, 제3 엘리먼트의 속성 정보가 암호를 입력 받는 속성인 경우, 음성 제어 정보는 제3 엘리먼트의 위치 정보에 대응하는 제3 엘리먼트에 커서(cursor)를 위치시키는 명령어, 제3 엘리먼트에 커서를 위치시킨 화면을 출력하도록 하는 명령어, 및 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호를 식별할 수 없도록 표시한 화면을 출력하도록 하는 명령어를 포함할 수 있다.As another example, when the attribute information of the third element is an attribute for receiving a password, the voice control information is a command for positioning the cursor on the third element corresponding to the location information of the third element, and the cursor on the third element. It may include a command for outputting a screen on which is placed, and a command for outputting a screen displaying an input password so that it cannot be identified upon receiving a user input for inputting a password.
일 실시예에 따르면, 명령어는 사용자 액션이 가능한 엘리먼트의 텍스트 정보와 연관되어 저장될 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 식별함으로써 텍스트 정보와 연관된 명령어를 실행할 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 발화에 대응하는 텍스트 데이터에 기반하여 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 식별할 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 사용자 발화에 대응하는 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보를 식별할 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 발화에 대응하는 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써, 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.According to one embodiment, a command may be stored in association with text information of an element capable of a user action. According to an embodiment, the processor 550 may execute a command associated with the text information by identifying text information of an element capable of a user action. According to an embodiment, the processor 550 may identify text information of an element capable of a user action based on text data corresponding to a user's speech. According to an embodiment, the processor 550 may identify text information having the highest probability of matching text data corresponding to a user's utterance from among text information of an element capable of a user action. According to an embodiment, the processor 550 may perform a control operation corresponding to user speech by executing a command associated with text information having a highest probability of matching text data corresponding to user speech.
일 실시예에 따르면, 프로세서(550)는 마이크(520)를 통해 수신한 사용자 발화를 텍스트 데이터로 변환할 수 있다. 일 실시예에 따르면, 프로세서(550)는 변환된 텍스트 데이터를 디스플레이(510)에 출력된 화면 상의 텍스트와 일치하도록 보정할 수 있다. 일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 텍스트 정보에 기반하여 텍스트 데이터를 보정할 수 있다. 예를 들어, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 텍스트 데이터와 가장 유사한 텍스트 정보와 일치하도록 텍스트 데이터를 변경할 수 있다. 일 실시예에 따르면, 프로세서(550)는 보정된 텍스트 데이터를 상술한 사용자 발화에 대응하는 텍스트 데이터로 이용할 수 있다. 일 실시예에 따르면, 프로세서(550)는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써, 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.According to an embodiment, the processor 550 may convert user speech received through the microphone 520 into text data. According to an embodiment, the processor 550 may correct the converted text data to match the text on the screen output to the display 510 . According to an embodiment, the processor 550 may correct text data based on text information of an element capable of a user action. For example, the processor 550 may change text data to match text information most similar to text data among text information of an element capable of a user action. According to an embodiment, the processor 550 may use the corrected text data as text data corresponding to the above-described user utterance. According to an embodiment, the processor 550 may perform a control operation corresponding to a user's utterance by executing a command associated with text information having the highest probability of matching the corrected text data.
일 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 프로세서(550)는 위치 정보에 대응하는 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행할 수 있다. 일 실시예에 따르면, 프로세서(550)는 제어 동작을 수행함에 따라 디스플레이(510)에 출력된 화면을 속성 정보에 따라 변경할 수 있다.According to an embodiment, the processor 550 may perform a control operation based on attribute information and location information corresponding to text information having the highest probability of matching the corrected text data among text information of an element capable of a user action. there is. According to an embodiment, the processor 550 may perform control corresponding to attribute information on an element corresponding to location information. According to an embodiment, the processor 550 may change the screen output to the display 510 according to attribute information as the control operation is performed.
예를 들어, 프로세서(550)는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 것에 기반하여, 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 위치 정보에 대응하는 엘리먼트를 선택하고, 해당 엘리먼트를 선택함에 따른 화면을 디스플레이(510)에 출력할 수 있다.For example, the processor 550 determines the text information with the highest probability of matching the corrected text data, based on the fact that the attribute information corresponding to the text information with the highest probability of matching with the corrected text data is a selectable attribute. An element corresponding to the corresponding location information may be selected, and a screen according to the selection of the corresponding element may be output to the display 510 .
다른 예로, 프로세서(550)는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 위치 정보에 대응하는 엘리먼트에 커서를 위치시키고, 해당 엘리먼트에 커서가 위치한 화면을 디스플레이(510)에 출력할 수 있다.As another example, the processor 550 has the highest probability of matching the corrected text data based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is an attribute that can receive text. A cursor may be positioned at an element corresponding to location information corresponding to text information, and a screen where the cursor is positioned at the corresponding element may be output to the display 510 .
또 다른 예로, 프로세서(550)는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 위치 정보에 대응하는 엘리먼트에 커서를 위치시키고, 해당 엘리먼트에 커서가 위치한 화면을 디스플레이(510)에 출력할 수 있다. 프로세서(550)는 암호를 입력하는 사용자 입력을 수신함에 따라, 입력된 암호를 식별할 수 없도록 표시한 화면을 디스플레이(510)에 출력할 수 있다.As another example, the processor 550 determines that the text information with the highest probability of matching the corrected text data is based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is an attribute for receiving a password. A cursor may be positioned on an element corresponding to location information corresponding to information, and a screen where the cursor is positioned on the corresponding element may be output to the display 510 . Upon receiving a user input for inputting a password, the processor 550 may output a screen on the display 510 in which the input password cannot be identified.
상술한 실시예에 따르면, 프로세서(550)는 디스플레이(510)에 출력된 화면의 이미지 상에서 사용자 액션이 가능한 엘리먼트의 영역으로 결정된 영역의 이미지로부터 텍스트 정보를 추출할 수 있다. 일 실시예에 따르면, 프로세서(550)는 추출된 텍스트 정보가 사용자 언어로 설정된 언어인지 여부를 판단할 수 있다. 일 실시예에 따르면, 사용자 언어로 설정된 언어는, 전자 장치(501)가 사용자 입력에 기반하여 기본 설정 언어로 설정한 언어일 수 있다. 일 실시예에 따르면, 프로세서(550)는 추출된 텍스트 정보가 사용자 언어로 설정된 언어가 아니라고 판단함에 따라 추출된 텍스트 정보를 사용자 언어로 번역할 수 있다. 일 실시예에 따르면, 프로세서(550)는 번역된 텍스트 정보에 더 기반하여 사용자 발화에 대응하는 제어 동작을 수행할 수 있다. 상술한 실시예에 따르면, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성할 수 있다. 일 실시예에 따르면, 프로세서(550)가 음성 제어 정보를 생성하기 위해 이용하는 사용자 액션이 가능한 엘리먼트의 텍스트 정보는, 번역된 텍스트 정보를 포함할 수 있다. 예를 들어, 프로세서(550)는 사용자 액션이 가능한 엘리먼트의 번역된 텍스트 정보 중 사용자 발화에 대응하는 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행할 수 있다.According to the above-described embodiment, the processor 550 may extract text information from an image of an area determined as an area of an element capable of a user action on an image of a screen output to the display 510 . According to an embodiment, the processor 550 may determine whether the extracted text information corresponds to a language set as a user language. According to an embodiment, the language set as the user language may be a language set as a default language by the electronic device 501 based on a user input. According to an embodiment, the processor 550 may translate the extracted text information into the user language upon determining that the extracted text information is not a language set as the user language. According to an embodiment, the processor 550 may perform a control operation corresponding to the user's speech further based on the translated text information. According to the above-described embodiment, the processor 550 may generate voice control information based on attribute information, location information, and text information of an element capable of a user action. According to an embodiment, text information of an element capable of a user action used by the processor 550 to generate voice control information may include translated text information. For example, the processor 550 performs a control operation based on attribute information and location information corresponding to text information having the highest probability of matching text data corresponding to a user's utterance among translated text information of an element capable of a user action. can be done
이하, 도 6을 참조하여 일 실시예에 따른 전자 장치의 소프트웨어 모듈들에 대하여 설명한다.Hereinafter, software modules of an electronic device according to an exemplary embodiment will be described with reference to FIG. 6 .
도 6은 일 실시예에 따른 전자 장치의 소프트웨어 모듈을 나타낸 도면(600)이다. 예를 들어, 도 6에 도시된 소프트웨어 모듈은 도 5의 메모리(540)에 저장된 프로그램(640)일 수 있다. 예를 들어, 프로그램(640)(예: 도 1의 프로그램(140))은 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 실행될 수 있다.6 is a diagram 600 illustrating software modules of an electronic device according to an exemplary embodiment. For example, the software module shown in FIG. 6 may be a program 640 stored in the memory 540 of FIG. 5 . For example, the program 640 (eg, the program 140 of FIG. 1 ) may be executed by the electronic device 501 of FIG. 5 or the processor 550 of the electronic device 501 .
일 실시예에 따르면, 프로그램(640)은 레이아웃 분석기(layout analyzer)(641), 광학식 문자 인식기(optical character recognizer, OCR)(643), 음성 제어 정보 생성기(voice control information generator)(645), 자동 음성 인식 모듈(automatic speech recognition module)(ASR module)(647), 자연어 이해 모듈(natural language understanding module)(NLU module)(649), 및 제어 동작 실행기(action handler)(651)를 포함할 수 있다.According to one embodiment, the program 640 includes a layout analyzer 641, an optical character recognizer (OCR) 643, a voice control information generator 645, an automatic may include an automatic speech recognition module (ASR module) 647, a natural language understanding module (NLU module) 649, and a control action handler 651. .
일 실시예에 따르면, 레이아웃 분석기(641)는 디스플레이(예: 도 5의 디스플레이(510))에 출력된 화면의 이미지를 획득하여, 화면의 레이아웃을 분석할 수 있다. 일 실시예에 따르면, 레이아웃 분석기(641)는 화면을 구성하는 적어도 하나의 엘리먼트의 속성 정보를 획득할 수 있다. 일 실시예에 따르면, 속성 정보는, 사용자 액션(또는, 사용자 인터랙션)이 가능한 속성인지에 대한 정보를 포함할 수 있다. 예를 들어, 사용자 액션이 가능한 속성은, 선택 가능한 속성(예: clickable), 텍스트를 입력 받을 수 있는 속성(예: EditText), 또는 암호를 입력 받는 속성(예: password)을 포함할 수 있다. 일 실시예에 따르면, 레이아웃 분석기(641)는 적어도 하나의 엘리먼트의 속성 정보에 기반하여 사용자 액션이 가능한 엘리먼트를 식별할 수 있다.According to an embodiment, the layout analyzer 641 may obtain an image of a screen output to a display (eg, the display 510 of FIG. 5 ) and analyze the layout of the screen. According to an embodiment, the layout analyzer 641 may obtain attribute information of at least one element constituting a screen. According to an embodiment, the attribute information may include information about whether a user action (or user interaction) is possible. For example, a property capable of a user action may include a selectable property (eg, clickable), a property capable of receiving text (eg, EditText), or a property receiving a password (eg, password). According to an embodiment, the layout analyzer 641 may identify an element capable of a user action based on attribute information of at least one element.
일 실시예에 따르면, 레이아웃 분석기(641)는 식별된 사용자 액션이 가능한 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 일 실시예에 따르면, 레이아웃 분석기(641)는 사용자 액션이 가능한 엘리먼트의 위치 정보 및 크기 정보에 기반하여 화면의 이미지 상에서 사용자 액션이 가능한 엘리먼트의 영역을 결정할 수 있다.According to an embodiment, the layout analyzer 641 may obtain location information and size information of an element capable of an identified user action. According to an embodiment, the layout analyzer 641 may determine a region of an element capable of a user action on a screen image based on location information and size information of an element capable of a user action.
일 실시예에 따르면, 광학식 문자 인식기(643)는 레이아웃 분석기(641)에 의해 결정된 사용자 액션이 가능한 엘리먼트의 영역의 이미지로부터 텍스트 정보를 추출할 수 있다. 일 실시예에 따르면, 광학식 문자 인식기(643)는 화면에 포함된 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 획득할 수 있다.According to an embodiment, the optical character recognizer 643 may extract text information from an image of a region of an element capable of a user action determined by the layout analyzer 641 . According to an embodiment, the optical character recognizer 643 may obtain text information of an element included in a screen and capable of a user action.
일 실시예에 따르면, 음성 제어 정보 생성기(645)는 레이아웃 분석기(641) 및 광학식 문자 인식기(643)에 의해 획득된 정보를 이용하여 전자 장치를 사용자의 음성에 기반하여 제어하기 위해 필요한 정보를 생성할 수 있다. 예를 들어, 전자 장치를 사용자 음성에 기반하여 제어하기 위해 필요한 정보는, 음성 제어 정보로 참조될 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 화면에 포함된 사용자 액션이 가능한 엘리먼트의 속성 정보, 위치 정보, 및 크기 정보를 포함할 수 있다. 일 실시예에 따르면, 음성 제어 정보 생성기(645)는, 생성된 음성 제어 정보를 자동 음성 인식 모듈(647) 또는 자연어 이해 모듈(649)에 전달 가능한 형태로 형식화하여 전달할 수 있다. 일 실시예에 따르면, 자동 음성 인식 모듈(647) 또는 자연어 이해 모듈(649)은, 전달된 음성 제어 정보를 선택적으로 이용할 수 있다.According to an embodiment, the voice control information generator 645 uses the information acquired by the layout analyzer 641 and the optical character recognizer 643 to generate information necessary for controlling the electronic device based on the user's voice. can do. For example, information required to control an electronic device based on a user's voice may be referred to as voice control information. According to an embodiment, the voice control information may include attribute information, location information, and size information of an element included in a screen capable of a user action. According to an embodiment, the voice control information generator 645 may format the generated voice control information into a form that can be delivered to the automatic voice recognition module 647 or the natural language understanding module 649 and transmit it. According to an embodiment, the automatic voice recognition module 647 or the natural language understanding module 649 may selectively use the transmitted voice control information.
일 실시예에 따르면, 자동 음성 인식 모듈(647) 및 자연어 이해 모듈(649)는 전자 장치의 음성 인식 기능을 수행할 수 있다. 예를 들어, 자동 음성 인식 모듈(647)은 도 2의 자동 음성 인식 모듈(321)에 대응될 수 있고, 자연어 이해 모듈(649)은 도 2의 자연어 이해 모듈(323)에 대응될 수 있다. 예를 들어, 자동 음성 인식 모듈(647) 및 자연어 이해 모듈(649)은 도 6에 도시된 바와 같이 전자 장치에 포함된 모듈일 수 있으나, 이에 한정되는 것은 아니고, 다른 예로, 전자 장치와 통신하는 외부 전자 장치에 포함된 모듈일 수 있다.According to an embodiment, the automatic voice recognition module 647 and the natural language understanding module 649 may perform a voice recognition function of an electronic device. For example, the automatic speech recognition module 647 may correspond to the automatic speech recognition module 321 of FIG. 2 , and the natural language understanding module 649 may correspond to the natural
일 실시예에 따르면, 자동 음성 인식 모듈(647)은 마이크(예: 도 5의 마이크(520)를 통해 수신된 사용자 발화를 텍스트 데이터로 변환할 수 있다. 일 실시예에 따르면, 자동 음성 인식 모듈(647)은 음성 제어 정보 생성기(645)로부터 전달된 음성 제어 정보에 기반하여 변환된 텍스트 데이터를 화면 상의 텍스트와 일치하도록 보정할 수 있다. 예를 들면, 음성 제어 정보 생성기(645)로부터 전달된 음성 제어 정보는, 화면에 포함된 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 포함할 수 있다. 예를 들면, 자동 음성 인식 모듈(647)은 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 사용자 발화로부터 변환된 텍스트 데이터와 가장 유사한 텍스트 정보와 일치하도록 텍스트 데이터를 변경할 수 있다. 일 실시예에 따르면, 자동 음성 인식 모듈(647)은 보정된 텍스트 데이터를 자연어 이해 모듈(649)로 전달할 수 있다.According to an embodiment, the automatic voice recognition module 647 may convert user speech received through a microphone (eg, the microphone 520 of FIG. 5 ) into text data. According to an embodiment, the automatic voice recognition module 647 may correct the converted text data to match the text on the screen based on the voice control information delivered from the voice control information generator 645. For example, the voice control information generator 645 The voice control information may include text information of an element capable of a user action included in a screen, for example, the automatic voice recognition module 647 converts text from a user's speech among text information of an element capable of a user action. The text data may be changed to match text information most similar to the data According to an embodiment, the automatic speech recognition module 647 may transmit corrected text data to the natural language understanding module 649.
일 실시예에 따르면, 자연어 이해 모듈(649)은 음성 제어 정보 생성기(645)로부터 전달된 음성 제어 정보 및 자동 음성 인식 모듈(647)로부터 전달된 보정된 텍스트 데이터에 기반하여 사용자 발화에 대응하는 제어 정보를 결정할 수 있다. 예를 들면, 음성 제어 정보 생성기(645)로부터 전달된 음성 제어 정보는, 화면에 포함된 사용자 액션이 가능한 엘리먼트의 텍스트 정보 및 텍스트 정보와 연관된 하나 이상의 명령어들을 포함할 수 있다. 일 실시예에 따르면, 자연어 이해 모듈(649)은 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 사용자 발화에 대응하는 제어 정보로 결정할 수 있다. 일 실시예에 따르면, 자연어 이해 모듈(649)은 결정된 명령어를 제어 동작 실행기(651)로 전달할 수 있다.According to an embodiment, the natural language understanding module 649 controls the control corresponding to the user's speech based on the voice control information transmitted from the voice control information generator 645 and the corrected text data transmitted from the automatic voice recognition module 647. information can be determined. For example, the voice control information transmitted from the voice control information generator 645 may include text information of an element included in a screen capable of a user action and one or more commands associated with the text information. According to an embodiment, the natural language understanding module 649 may determine, as control information corresponding to user utterance, a command associated with text information having the highest probability of matching corrected text data among text information of an element capable of a user action. . According to one embodiment, the natural language understanding module 649 may transmit the determined command to the control action executor 651 .
일 실시예에 따르면, 제어 동작 실행기(651)는 자연어 이해 모듈(649)로부터 전달된 명령어를 실행함으로써 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 명령어는, 화면에 포함된 사용자 액션이 가능한 엘리먼트의 위치 정보 및 속성 정보에 기반한 명령어일 수 있다. 일 실시예에 따르면, 명령어는, 위치 정보에 대응하는 사용자 액션이 가능한 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 것일 수 있다. 일 실시예에 따르면, 명령어는, 제어 동작을 수행함에 따라 디스플레이에 출력된 화면을 속성 정보에 따라 변경하도록 하는 명령어를 포함할 수 있다. 예를 들어, 제어 동작 실행기(651)는, 속성 정보가 선택 가능한 속성인 것에 기반하여, 위치 정보에 대응하는 엘리먼트를 선택하고, 해당 엘리먼트를 선택함에 따른 화면을 디스플레이에 출력할 수 있다. 다른 예로, 제어 동작 실행기(651)는, 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 위치 정보에 대응하는 엘리먼트에 커서를 위치 시키고, 해당 엘리먼트에 커서가 위치한 화면을 디스플레이에 출력할 수 있다. 또 다른 예로, 제어 동작 실행기(651)는, 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 암호를 입력하는 사용자 입력을 수신함에 따라, 입력된 암호를 식별할 수 없도록 표시한 화면을 디스플레이(510)에 출력할 수 있다.According to one embodiment, the control operation executor 651 may perform a control operation by executing a command transmitted from the natural language understanding module 649 . According to an embodiment, the command may be a command based on location information and attribute information of an element included in a screen capable of a user action. According to an embodiment, the command may be to perform control corresponding to attribute information on an element capable of a user action corresponding to location information. According to an embodiment, the command may include a command for changing a screen output on a display according to attribute information as a control operation is performed. For example, the control operation executor 651 may select an element corresponding to location information based on attribute information being a selectable attribute, and may output a screen according to the selection of the corresponding element to a display. As another example, the control operation executor 651 locates the cursor on an element corresponding to the location information based on the attribute information being an attribute capable of receiving text, and outputs a screen where the cursor is positioned on the corresponding element on a display. can As another example, the control operation executor 651 displays a screen on which the input password cannot be identified when a user input for entering a password is received based on the fact that the attribute information is an attribute for receiving a password ( 510) can be output.
도 6에 도시되지는 않았으나, 일 실시예에 따른 프로그램(640)은 다른 소프트웨어 모듈을 더 포함할 수 있다. 일 실시예에 따르면, 프로그램(640)은 번역 모듈(미도시)을 더 포함할 수 있다. 일 실시예에 따르면, 번역 모듈(미도시)은 광학식 문자 인식기(643)에 의해 획득된 텍스트 정보가 사용자 언어로 설정된 언어가 아닌 경우 텍스트 정보를 사용자 언어로 번역할 수 있다. 일 실시예에 따르면, 번역 모듈(미도시)은 번역된 텍스트 정보를 음성 제어 정보 생성기(645)로 전달할 수 있고, 음성 제어 정보 생성기(645)는 번역된 텍스트 정보를 추가하여 음성 제어 정보를 생성할 수 있다.Although not shown in FIG. 6 , the program 640 according to an embodiment may further include other software modules. According to one embodiment, the program 640 may further include a translation module (not shown). According to an embodiment, when the text information acquired by the optical character recognizer 643 is not a language set as the user language, the translation module (not shown) may translate the text information into the user language. According to an embodiment, the translation module (not shown) may transmit the translated text information to the voice control information generator 645, and the voice control information generator 645 adds the translated text information to generate voice control information. can do.
이하, 도 7 내지 도 9를 참조하여 일 실시예에 따른 전자 장치의 사용자 음성 기반의 제어 동작에 대하여 설명한다.Hereinafter, a user voice-based control operation of an electronic device according to an embodiment will be described with reference to FIGS. 7 to 9 .
도 7은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(700)이다. 후술하는 전자 장치(701)의 동작들은 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.7 is a diagram 700 for explaining an operation of an electronic device according to an exemplary embodiment. Operations of the
일 실시예에 따르면, 전자 장치(701)는 제1 화면(710)을 디스플레이(예: 도 5의 디스플레이(510))에 출력할 수 있다. 일 실시예에 따르면, 제1 화면(710)은 적어도 하나의 엘리먼트(element)로 구성될 수 있으며, 각 엘리먼트는 이미지 또는 텍스트와 같은 콘텐트(content)를 포함할 수 있다. 예를 들어, 제1 화면(710)은 OTT(over the top) 서비스 어플리케이션의 실행 화면일 수 있고, 제1 화면(710)에 포함된 적어도 하나의 엘리먼트는 각 미디어 콘텐트에 대한 정보를 제공하기 위한 적어도 하나의 썸네일(thumbnail) 또는 포스터(poster)를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(701)는 제1 화면(710)의 레이아웃을 분석할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 제1 화면(710)에 대한 레이아웃 분석을 통해 제1 화면(710)에 포함된 적어도 하나의 엘리먼트의 속성 정보(750)를 획득할 수 있다. 예를 들어, 제1 화면(710)에 포함된 적어도 하나의 엘리먼트는, 사용자 액션이 가능한 속성을 가진 엘리먼트(711)와 사용자 액션이 가능한 속성이 아닌 엘리먼트(712)를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 적어도 하나의 엘리먼트의 속성 정보(750)에 기반하여 사용자 액션이 가능한 속성을 가진 엘리먼트(711)를 식별할 수 있다. 사용자 액션이 가능한 속성은, 예를 들어, 선택 가능한 속성(예: clickable), 텍스트를 입력 받을 수 있는 속성(예: EditText), 또는 암호를 입력 받는 속성(예: password)을 포함할 수 있다. 예를 들어, 제1 화면(710)에서 썸네일 또는 포스터는 선택 가능한 속성을 가진 엘리먼트로서, 사용자 액션이 가능한 속성을 가진 엘리먼트(711)일 수 있고, 제1 화면(710)에서 미디어 콘텐트의 목록의 제목을 나타내는 텍스트박스(textbox)는 사용자 액션이 가능한 속성이 아닌 엘리먼트(712)일 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(701)는 제1 화면(710)에 대한 레이아웃 분석을 통해 제1 화면(710)에 포함된 적어도 하나의 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 예를 들면, 전자 장치(701)는 적어도 하나의 엘리먼트의 속성 정보(750)에 기반하여 사용자 액션이 가능한 속성을 가진 엘리먼트(711)의 위치 정보 및 크기 정보를 획득할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 제1 화면(710)에 대한 레이아웃 분석을 통해 획득한 정보를 엘리먼트 별로 메모리(예: 도 5의 메모리(540))에 적어도 일시적으로 저장할 수 있다. 예를 들면, 전자 장치(701)는 사용자 액션이 가능한 속성을 가진 엘리먼트(711)의 속성 정보, 위치 정보, 및 크기 정보를 서로 대응되도록 저장할 수 있다.According to an embodiment, the
도 8은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(800)이다. 도 8의 설명에서 도 7의 참조 부호와 동일한 참조 부호가 사용된 구성요소에 대하여는 도 7의 설명이 동일 또는 유사하게 적용될 수 있다. 후술하는 전자 장치(701)의 동작들은, 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.8 is a diagram 800 for explaining an operation of an electronic device according to an exemplary embodiment. In the description of FIG. 8 , the description of FIG. 7 may be applied in the same or similar manner to components using the same reference numerals as those of FIG. 7 . Operations of the
일 실시예에 따르면, 전자 장치(701)는 적어도 하나의 엘리먼트의 속성 정보(750)에 기반하여 제1 화면(710) 상에서 사용자 액션이 가능한 속성을 가진 엘리먼트의 영역을 결정할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 적어도 하나의 엘리먼트의 속성 정보(750)에 기반하여 사용자 액션이 가능한 속성을 가진 엘리먼트를 식별할 수 있다. 예를 들어, 사용자 액션이 가능한 속성은, 선택 가능한 속성(예: clickable)을 포함할 수 있다. 예를 들어, 전자 장치(701)는 선택 가능한 속성을 가진 엘리먼트인 제1 엘리먼트(811), 제2 엘리먼트(812), 제3 엘리먼트(813), 및 제4 엘리먼트(814)를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 제1 엘리먼트(811), 제2 엘리먼트(812), 제3 엘리먼트(813), 및 제4 엘리먼트(814) 각각의 위치 정보 및 크기 정보에 기반하여 제1 화면(710) 상에서 제1 엘리먼트(811), 제2 엘리먼트(812), 제3 엘리먼트(813), 및 제4 엘리먼트(814) 각각의 영역을 결정할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(701)는 제1 화면(710) 상의 사용자 액션이 가능한 속성을 가진 엘리먼트 각각의 영역의 이미지로부터 사용자 액션이 가능한 엘리먼트의 텍스트 정보(850)를 추출할 수 있다. 예를 들어, 전자 장치(701)는 제1 엘리먼트(811)의 영역의 이미지, 제2 엘리먼트(812)의 영역의 이미지, 제3 엘리먼트(813)의 영역의 이미지, 및 제4 엘리먼트(814)의 영역의 이미지로부터 각 엘리먼트의 텍스트 정보를 추출할 수 있다. 예를 들어, 전자 장치(701)는 제1 화면(710)의 이미지의 적어도 일부로서 제1 엘리먼트(811)의 영역에 대응하는 이미지로부터 제1 엘리먼트(811)의 텍스트 정보(예: 제1 텍스트)를 추출할 수 있다. 예를 들어, 전자 장치(701)는 제1 화면(710)의 이미지의 적어도 일부로서 제2 엘리먼트(812)의 영역에 대응하는 이미지로부터 제2 엘리먼트(812)의 텍스트 정보(예: 제2 텍스트)를 추출할 수 있다. 예를 들어, 전자 장치(701)는 제1 화면(710)의 이미지의 적어도 일부로서 제3 엘리먼트(813)의 영역에 대응하는 이미지로부터 제3 엘리먼트(813)의 텍스트 정보(예: 제3 텍스트)를 추출할 수 있다. 예를 들어, 전자 장치(701)는 제1 화면(710)의 이미지의 적어도 일부로서 제4 엘리먼트(814)의 영역에 대응하는 이미지로부터 제4 엘리먼트(814)의 텍스트 정보(예: 제4 텍스트)를 추출할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 사용자 액션이 가능한 엘리먼트(예: 제1 엘리먼트(811), 제2 엘리먼트(812), 제3 엘리먼트(813), 및 제4 엘리먼트(814))의 텍스트 정보(850)를 저장할 수 있다. 예를 들어, 전자 장치(701)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(850)를 속성 정보, 위치 정보, 또는 크기 정보 중 적어도 하나와 엘리먼트 별로 대응되도록 저장할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(701)는 사용자 액션이 가능한 속성을 가진 엘리먼트(예: 제1 엘리먼트(811), 제2 엘리먼트(812), 제3 엘리먼트(813), 및 제4 엘리먼트(814))의 속성 정보, 위치 정보, 및 텍스트 정보(850)에 기반하여 음성 제어 정보를 생성할 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 위치 정보에 대응하는 사용자 액션이 가능한 속성을 가진 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함할 수 있다. 일 실시예에 따르면, 명령어는 텍스트 정보(850)와 연관되어 저장될 수 있다. 예를 들어, 제1 엘리먼트(811), 제2 엘리먼트(812), 제3 엘리먼트(813), 및 제4 엘리먼트(814)가 선택 가능한 속성을 가진 엘리먼트이므로, 음성 제어 정보는 각 엘리먼트의 위치 정보에 대응하는 엘리먼트 각각을 선택하도록 하는 명령어 및 각 엘리먼트가 선택됨에 따른 화면을 출력하도록 하는 명령어를 포함할 수 있다.According to an embodiment, the
도 9는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(900)이다. 도 9의 설명에서 도 7 및 도 8의 참조 부호와 동일한 참조 부호가 사용된 구성요소에 대하여는 도 7 및 도 8의 설명이 동일 또는 유사하게 적용될 수 있다. 후술하는 전자 장치(701)의 동작들은, 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.9 is a diagram 900 for explaining an operation of an electronic device according to an exemplary embodiment. In the description of FIG. 9 , the descriptions of FIGS. 7 and 8 may be applied identically or similarly to the elements in which the same reference numerals as those of FIGS. 7 and 8 are used. Operations of the
일 실시예에 따르면, 전자 장치(701)는 마이크(예: 도 5의 마이크(520))를 통해 사용자 발화(910)를 수신할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 사용자 발화(910)를 텍스트 데이터로 변환할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(850)에 기반하여 사용자 발화(910)로부터 변환된 텍스트 데이터를 보정할 수 있다. 예를 들어, 전자 장치(701)는 텍스트 데이터를 사용자 액션이 가능한 속성을 가진 텍스트 정보(850) 중 가장 유사한 텍스트 정보와 일치하도록 변경할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 사용자 발화(910)로부터 변환된 텍스트 데이터를 보정함으로써, 텍스트 데이터를 제1 화면(710) 상에 표시된 텍스트 데이터로 변경할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(701)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(850) 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보를 포함하는 음성 제어 정보에 기반하여 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 음성 제어 정보는 텍스트 정보 및 텍스트 정보와 연관된 명령어를 포함할 수 있다. 일 실시예에 따르면, 명령어는 위치 정보에 대응하는 사용자 액션이 가능한 속성을 가진 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 것일 수 있다. 명령어에 포함된 위치 정보 및 속성 정보는 명령어와 연관된 텍스트 정보에 대응될 수 있다. 일 실시예에 따르면, 전자 장치(701)는 사용자 액션이 가능한 속성을 가진 텍스트 정보(850) 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 전자 장치(701)는 제어 동작을 수행함에 따라 제2 화면(920) 및 제3 화면(930)을 디스플레이(예: 도 5의 디스플레이(510))에 출력할 수 있다.According to an embodiment, the
예를 들어, 사용자 발화(910)에 대응하는 텍스트 데이터(예: 사용자 발화(910)로부터 변환된 텍스트 데이터, 또는 변환된 텍스트 데이터가 보정된 텍스트 데이터)가 'obja'인 경우, 전자 장치(701)는 텍스트 정보(850) 중 'obja'와 일치할 확률이 가장 높은 텍스트 정보(예: 제4 텍스트)에 대응하는 위치 정보 및 속성 정보에 기반하여 제어 동작을 수행할 수 있다. 예를 들어, 제4 텍스트에 대응하는 위치 정보는 제4 엘리먼트(814)의 좌표 값일 수 있고, 제4 텍스트에 대응하는 속성 정보는 선택 가능한 속성일 수 있다. 예를 들어, 전자 장치(701)는 제1 화면(710) 상에서 제4 엘리먼트(814)의 좌표 값에 대응하는 위치를 선택하는 제어를 수행할 수 있다. 전자 장치(701)가 제4 엘리먼트(814)의 좌표 값에 대응하는 위치를 선택하는 것은, 제4 엘리먼트(814)를 선택하는 것으로 참조될 수 있다. 전자 장치(701)는 제4 엘리먼트(814)를 선택하는 제2 화면(920)을 출력할 수 있다. 예를 들어, 제2 화면(920)은 제4 엘리먼트(814)의 좌표 값에 대응하는 위치에 커서(cursor)(925)가 표시되고, 커서(925)가 클릭(click)하는 화면일 수 있다. 예를 들어, 제2 화면(920)은 전자 장치(701)가 제어 동작을 수행하는 과정을 나타내는 화면일 수 있다. 전자 장치(701)는 제4 엘리먼트(814)를 선택함에 따라 제3 화면(930)을 출력할 수 있다. 예를 들어, 제3 화면(930)은 제4 엘리먼트(814)에 대응하는 미디어 콘텐트가 재생되는 화면일 수 있다.For example, when text data corresponding to the user speech 910 (eg, text data converted from the
도 9를 참조하여서는 전자 장치(701)가 제4 엘리먼트(814)를 선택하는 경우를 예로 들었으나, 이에 한정되는 것은 아니고, 전자 장치(701)는 사용자 발화(910)에 따라 제1 화면(710) 상의 다른 엘리먼트(예: 제1 엘리먼트(811), 제2 엘리먼트(812), 또는 제3 엘리먼트(813))를 선택할 수 있다. 전자 장치(701)가 다른 엘리먼트를 선택함에 따라 출력하는 화면은 제2 화면(920) 및 제3 화면(930)과 유사할 수 있다.Referring to FIG. 9 , a case in which the
이하, 도 10 내지 도 13을 참조하여 일 실시예에 따른 전자 장치의 사용자 음성 기반의 제어 동작에 대하여 설명한다.Hereinafter, a user voice-based control operation of an electronic device according to an exemplary embodiment will be described with reference to FIGS. 10 to 13 .
앞서 도 7 내지 도 9를 참조하여서는 전자 장치의 선택 가능한 속성을 가진 엘리먼트에 대한 제어 동작을 수행함에 따라 출력하는 화면에 대하여 설명하였으나, 이하 도 10 내지 13을 참조하여서는 전자 장치가 텍스트를 입력 받을 수 있는 속성을 가진 엘리먼트 또는 암호를 입력 받는 속성을 가진 엘리먼트에 대한 제어 동작을 수행함에 따라 출력하는 화면에 대하여 설명한다.7 to 9 have been described above, a screen output as a control operation is performed on an element having a selectable attribute of an electronic device has been described, but referring to FIGS. 10 to 13 hereinafter, the electronic device may receive text input. A screen displayed as a control operation is performed on an element having an attribute having a password or an element having a password input attribute will be described.
도 10은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(1000)이다. 후술하는 전자 장치(1001)의 동작들은 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.10 is a diagram 1000 for describing an operation of an electronic device according to an exemplary embodiment. Operations of the
일 실시예에 따르면, 전자 장치(701)는 제1 화면(1010)을 디스플레이(예: 도 5의 디스플레이(510))에 출력할 수 있다. 일 실시예에 따르면, 제1 화면(1010)은 적어도 하나의 엘리먼트(element)로 구성될 수 있으며, 각 엘리먼트는 이미지 또는 텍스트와 같은 콘텐트(content)를 포함할 수 있다. 예를 들어, 제1 화면(1010)은 어플리케이션의 로그인(login) 화면일 수 있고, 제1 화면(1010)에 포함된 적어도 하나의 엘리먼트는 사용자의 정보를 입력 받고 입력된 사용자의 정보에 기반하여 로그인하기 위한 적어도 하나의 텍스트박스(textbox) 및 적어도 하나의 버튼(button)을 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1001)는 제1 화면(1010)의 레이아웃을 분석할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 제1 화면(1010)에 대한 레이아웃 분석을 통해 제1 화면(1010)에 포함된 적어도 하나의 엘리먼트의 속성 정보(1050)를 획득할 수 있다. 일 실시예에 따르면, 적어도 하나의 엘리먼트의 속성 정보(1050)는 사용자 액션이 가능한 속성을 포함할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 적어도 하나의 엘리먼트의 속성 정보(1050)에 기반하여 사용자 액션이 가능한 속성을 가진 엘리먼트를 식별할 수 있다. 사용자 액션이 가능한 속성은, 예를 들어, 선택 가능한 속성(예: clickable), 텍스트를 입력 받을 수 있는 속성(예: EditText), 또는 암호를 입력 받는 속성(예: password)을 포함할 수 있다. 예를 들어, 제1 화면(1010)에서 ID 입력 창은 텍스트를 입력 받을 수 있는 속성을 가진 엘리먼트이고, 암호 입력 창은 암호를 입력 받는 속성을 가진 엘리먼트이고, 로그인 버튼은 텍스트를 선택 가능한 속성을 가진 엘리먼트로서, 사용자 액션이 가능한 속성일 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1001)는 제1 화면(1010)에 대한 레이아웃 분석을 통해 제1 화면(1010)에 포함된 적어도 하나의 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 예를 들면, 전자 장치(1001)는 적어도 하나의 엘리먼트의 속성 정보(1050)에 기반하여 사용자 액션이 가능한 속성을 가진 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 제1 화면(1010)에 대한 레이아웃 분석을 통해 획득한 정보를 엘리먼트 별로 메모리(예: 도 5의 메모리(540))에 적어도 일시적으로 저장할 수 있다. 예를 들면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 속성 정보, 위치 정보, 및 크기 정보를 서로 대응되도록 저장할 수 있다.According to an embodiment, the
도 11은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(1100)이다. 도 11의 설명에서 도 10의 참조 부호와 동일한 참조 부호가 사용된 구성요소에 대하여는 도 10의 설명이 동일 또는 유사하게 적용될 수 있다. 후술하는 전자 장치(1001)의 동작들은, 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.11 is a diagram 1100 for describing an operation of an electronic device according to an exemplary embodiment. In the description of FIG. 11 , the description of FIG. 10 may be applied in the same or similar manner to components using the same reference numerals as those of FIG. 10 . Operations of the
일 실시예에 따르면, 전자 장치(1001)는 적어도 하나의 엘리먼트의 속성 정보(1050)에 기반하여 제1 화면(1010) 상에서 사용자 액션이 가능한 속성을 가진 엘리먼트의 영역을 결정할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 적어도 하나의 엘리먼트의 속성 정보(1050)에 기반하여 사용자 액션이 가능한 속성을 가진 엘리먼트를 식별할 수 있다. 사용자 액션이 가능한 속성은, 예를 들어, 선택 가능한 속성(예: clickable), 텍스트를 입력 받을 수 있는 속성(예: EditText), 또는 암호를 입력 받는 속성(예: password)을 포함할 수 있다. 예를 들어, 전자 장치(1001)는 텍스트를 입력 받을 수 있는 속성을 가진 엘리먼트인 제1 엘리먼트(1111), 암호를 입력 받는 속성을 가진 엘리먼트인 제2 엘리먼트(1112), 선택 가능한 속성을 가진 엘리먼트인 제3 엘리먼트(1113)를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 제1 엘리먼트(1111), 제2 엘리먼트(1112), 및 제3 엘리먼트(1113) 각각의 위치 정보 및 크기 정보에 기반하여 제1 화면(1010) 상에서 제1 엘리먼트(1111), 제2 엘리먼트(1112), 및 제3 엘리먼트(1113) 각각의 영역을 결정할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1001)는 제1 화면(1010) 상의 사용자 액션이 가능한 속성을 가진 엘리먼트 각각의 영역의 이미지로부터 사용자 액션이 가능한 엘리먼트의 텍스트 정보(1150)를 추출할 수 있다. 예를 들어, 전자 장치(1001)는 제1 엘리먼트(1111)의 영역의 이미지, 제2 엘리먼트(1112)의 영역의 이미지, 및 제3 엘리먼트(1113)의 영역의 이미지로부터 각 엘리먼트의 텍스트 정보를 추출할 수 있다. 예를 들어, 전자 장치(1001)는 제1 화면(1010)의 이미지의 적어도 일부로서 제1 엘리먼트(1111)의 영역에 대응하는 이미지로부터 제1 엘리먼트(1111)의 텍스트 정보(예: 제1 텍스트)를 추출할 수 있다. 예를 들어, 전자 장치(1001)는 제1 화면(1010)의 이미지의 적어도 일부로서 제2 엘리먼트(1112)의 영역에 대응하는 이미지로부터 제2 엘리먼트(1112)의 텍스트 정보(예: 제2 텍스트)를 추출할 수 있다. 예를 들어, 전자 장치(1001)는 제1 화면(1010)의 이미지의 적어도 일부로서 제3 엘리먼트(1113)의 영역에 대응하는 이미지로부터 제3 엘리먼트(1113)의 텍스트 정보(예: 제3 텍스트)를 추출할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 엘리먼트(예: 제1 엘리먼트(1111), 제2 엘리먼트(1112), 및 제3 엘리먼트(1113))의 텍스트 정보(1150)를 저장할 수 있다. 예를 들어, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(1150)를 속성 정보, 위치 정보, 또는 크기 정보 중 적어도 하나와 엘리먼트 별로 대응되도록 저장할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트(예: 제1 엘리먼트(1111), 제2 엘리먼트(1112), 및 제3 엘리먼트(1113))의 속성 정보, 위치 정보, 및 텍스 정보(1150)에 기반하여 음성 제어 정보를 생성할 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 위치 정보에 대응하는 사용자 액션이 가능한 속성을 가진 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함할 수 있다. 일 실시예에 따르면, 명령어는 텍스트 정보(1150)와 연관되어 저장될 수 있다. 예를 들어, 제1 엘리먼트(1111)가 텍스트를 입력 받을 수 있는 속성을 가진 엘리먼트이므로, 음성 제어 정보는 제1 엘리먼트(1111)의 위치 정보에 대응하는 제1 엘리먼트(1111)에 커서(cursor)를 위치시키도록 하는 명령어 및 제1 엘리먼트(1111)에 커서(cursor)를 위치시킨 화면을 출력하도록 하는 명령어를 포함할 수 있다. 예를 들어, 제2 엘리먼트(1112)가 암호를 입력 받는 속성을 가진 엘리먼트이므로, 음성 제어 정보는 제2 엘리먼트(1112)의 위치 정보에 대응하는 제2 엘리먼트(1112)에 커서(cursor)를 위치시키도록 하는 명령어, 제2 엘리먼트(1112)에 커서(cursor)를 위치시킨 화면을 출력하도록 하는 명령어, 및 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호를 식별할 수 없도록 표시한 화면을 출력하도록 하는 명령어를 포함할 수 있다. 예를 들어, 제3 엘리먼트(1113)가 선택 가능한 속성을 가진 엘리먼트이므로, 음성 제어 정보는 제3 엘리먼트(1113)의 위치 정보에 대응하는 제3 엘리먼트(1113)를 선택하도록 하는 명령어 및 제3 엘리먼트(1113)가 선택됨에 따른 화면을 출력하도록 하는 명령어를 포함할 수 있다.According to an embodiment, the
도 12는 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(1200)이다. 도 12의 설명에서 도 10 및 도 11의 참조 부호와 동일한 참조 부호가 사용된 구성요소에 대하여는 도 10 및 도 11의 설명이 동일 또는 유사하게 적용될 수 있다. 후술하는 전자 장치(1001)의 동작들은, 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.12 is a diagram 1200 for explaining an operation of an electronic device according to an exemplary embodiment. In the description of FIG. 12 , the descriptions of FIGS. 10 and 11 may be applied identically or similarly to components using the same reference numerals as those of FIGS. 10 and 11 . Operations of the
일 실시예에 따르면, 전자 장치(1001)는 마이크(예: 도 5의 마이크(520))를 통해 사용자 발화(1210)(예: user id)를 수신할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 발화(1210)를 텍스트 데이터로 변환할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(1150)에 기반하여 사용자 발화(1210)로부터 변환된 텍스트 데이터를 보정할 수 있다. 예를 들어, 전자 장치(1001)는 텍스트 데이터를 사용자 액션이 가능한 속성을 가진 텍스트 정보(1150) 중 가장 유사한 텍스트 정보와 일치하도록 변경할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 발화(1210)로부터 변환된 텍스트 데이터를 보정함으로써, 텍스트 데이터를 제1 화면(1010) 상에 표시된 텍스트 데이터로 변경할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(1150) 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보를 포함하는 음성 제어 정보에 기반하여 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 음성 제어 정보는 텍스트 정보 및 텍스트 정보와 연관된 명령어를 포함할 수 있다. 일 실시예에 따르면, 명령어는 위치 정보에 대응하는 사용자 액션이 가능한 속성을 가진 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 것일 수 있다. 명령어에 포함된 위치 정보 및 속성 정보는 명령어와 연관된 텍스트 정보에 대응될 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 텍스트 정보(1150) 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 제어 동작을 수행함에 따라 제2 화면(1220) 및 제3 화면(1230)을 디스플레이(예: 도 5의 디스플레이(510))에 출력할 수 있다.According to an embodiment, the
예를 들어, 사용자 발화(1210)에 대응하는 텍스트 데이터(예: 사용자 발화(1210)로부터 변환된 텍스트 데이터, 또는 변환된 텍스트 데이터가 보정된 텍스트 데이터)가 'user id'인 경우, 전자 장치(1001)는 텍스트 정보(1150) 중 'user id'와 일치할 확률이 가장 높은 텍스트 정보(예: 제1 텍스트)에 대응하는 위치 정보 및 속성 정보에 기반하여 제어 동작을 수행할 수 있다. 예를 들어, 제1 텍스트에 대응하는 위치 정보는 제1 엘리먼트(1111)의 좌표 값일 수 있고, 제1 텍스트에 대응하는 속성 정보는 텍스트를 입력 받을 수 있는 속성일 수 있다. 예를 들어, 전자 장치(1001)는 제1 화면(1010) 상에서 제1 엘리먼트(1111)의 좌표 값에 대응하는 위치에 커서(예: 텍스트 커서(1235))를 위치시키는 제어를 수행할 수 있다. 전자 장치(1001)가 제1 엘리먼트(1111)의 좌표 값에 대응하는 위치에 커서(예: 텍스트 커서(1235))를 위치시키는 것은, 제1 엘리먼트(1111)를 선택하는 것을 포함할 수 있다. 전자 장치(1001)는 제1 엘리먼트(1111)를 선택하는 제2 화면(1220)을 출력할 수 있다. 예를 들어, 제2 화면(1220)은 제1 엘리먼트(1111)의 좌표 값에 대응하는 위치에 커서(1225)가 표시되고, 커서(1225)가 클릭(click)하는 화면일 수 있다. 예를 들어, 제2 화면(1220)은 전자 장치(1001)가 제어 동작을 수행하는 과정을 나타내는 화면일 수 있다. 전자 장치(1001)는 제1 엘리먼트(1111)를 선택함에 따라 제3 화면(1230)을 출력할 수 있다. 예를 들어, 제3 화면(1230)은 제1 엘리먼트(1111)에 텍스트 커서(1235)가 표시된 화면일 수 있다. 예를 들어, 텍스트 커서(1235)는, 제2 화면(1220)에 표시된 커서(1225)가, 텍스트를 입력할 수 있음을 나타내는 수직 막대 모양으로 변형된 것일 수 있다.For example, when text data corresponding to the user speech 1210 (eg, text data converted from the
도 13은 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면(1300)이다. 도 13의 설명에서 도 10 및 도 11의 참조 부호와 동일한 참조 부호가 사용된 구성요소에 대하여는 도 10 및 도 11의 설명이 동일 또는 유사하게 적용될 수 있다. 후술하는 전자 장치(1001)의 동작들은, 예를 들어, 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.13 is a diagram 1300 for describing an operation of an electronic device according to an exemplary embodiment. In the description of FIG. 13 , the descriptions of FIGS. 10 and 11 may be applied identically or similarly to components using the same reference numerals as those of FIGS. 10 and 11 . Operations of the
도 13에 도시된 실시예는 사용자 발화가 "user id"에서 "password"로 변경된 점에서 도 12에 도시된 실시예와 차이가 있다. 이하, 도 12에 도시된 실시예와의 차이점을 중심으로 설명한다.The embodiment shown in FIG. 13 is different from the embodiment shown in FIG. 12 in that the user utterance is changed from “user id” to “password”. Hereinafter, differences from the embodiment shown in FIG. 12 will be mainly described.
일 실시예에 따르면, 전자 장치(1001)는 마이크(예: 도 5의 마이크(520))를 통해 사용자 발화(1310)(예: password)를 수신할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 발화(1310)를 텍스트 데이터로 변환할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(1150)에 기반하여 사용자 발화(1310)로부터 변환된 텍스트 데이터를 보정할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 엘리먼트의 텍스트 정보(1150) 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보를 포함하는 음성 제어 정보에 기반하여 제어 동작을 수행할 수 있다. 음성 제어 정보에 대하여는 도 12를 참조하여 상술한 내용이 동일 또는 유사하게 적용될 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 사용자 액션이 가능한 속성을 가진 텍스트 정보(1150) 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 전자 장치(1001)는 제어 동작을 수행함에 따라 제2 화면(1320), 제3 화면(1330), 및 제4 화면(1340)을 디스플레이(예: 도 5의 디스플레이(510))에 출력할 수 있다.According to an embodiment, the
예를 들어, 사용자 발화(1310)에 대응하는 텍스트 데이터(예: 사용자 발화(1310)로부터 변환된 텍스트 데이터, 또는 변환된 텍스트 데이터가 보정된 텍스트 데이터)가 'password'인 경우, 전자 장치(1001)는 텍스트 정보(1150) 중 'password'와 일치할 확률이 가장 높은 텍스트 정보(예: 제2 텍스트)에 대응하는 위치 정보 및 속성 정보에 기반하여 제어 동작을 수행할 수 있다. 예를 들어, 제2 텍스트에 대응하는 위치 정보는 제2 엘리먼트(1112)의 좌표 값일 수 있고, 제2 텍스트에 대응하는 속성 정보는 암호를 입력 받는 속성일 수 있다. 예를 들어, 전자 장치(1001)는 제1 화면(1010) 상에서 제2 엘리먼트(1112)의 좌표 값에 대응하는 위치에 커서(예: 텍스트 커서(1335))를 위치시키는 제어를 수행할 수 있다. 전자 장치(1001)가 제2 엘리먼트(1112)의 좌표 값에 대응하는 위치에 커서(예: 텍스트 커서(1335))를 위치시키는 것은, 제2 엘리먼트(1112)를 선택하는 것을 포함할 수 있다. 전자 장치(1001)는 제2 엘리먼트(1112)를 선택하는 제2 화면(1320)을 출력할 수 있다. 예를 들어, 제2 화면(1320)은 제2 엘리먼트(1112)의 좌표 값에 대응하는 위치에 커서(1225)가 표시되고, 커서(1225)가 클릭(click)하는 화면일 수 있다. 예를 들어, 제2 화면(1220)은 전자 장치(1001)가 제어 동작을 수행하는 과정을 나타내는 화면일 수 있다. 전자 장치(1001)는 제2 엘리먼트(1112)를 선택함에 따라 제3 화면(1330)을 출력할 수 있다. 예를 들어, 제3 화면(1330)은 제2 엘리먼트(1112)에 텍스트 커서(1335)가 표시된 화면일 수 있다. 예를 들어, 텍스트 커서(1335)는, 제2 화면(1320)에 표시된 커서(1325)가, 텍스트를 입력할 수 있음을 나타내는 수직 막대 모양으로 변형된 것일 수 있다. 전자 장치(1001)는 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호(1345)를 식별할 수 없도록 표시한 제4 화면(1340)을 표시할 수 있다. 예를 들어, 전자 장치(1001)는 암호(1345)를 식별할 수 없도록 지정된 도형으로 표시할 수 있다.For example, when text data corresponding to the user speech 1310 (eg, text data converted from the
사용자 발화에 대응하는 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 경우의 전자 장치의 제어 동작에 대하여는 도 7 내지 도 9를 참조하여 상술한 내용이 동일 또는 유사하게 적용될 수 있다. 예를 들어, 전자 장치(1001)는 제1 화면(710) 상에서 제3 엘리먼트(1113)의 좌표 값에 대응하는 위치를 선택하는 제어를 수행할 수 있다. 전자 장치(1001)는 제3 엘리먼트(1113)를 선택하는 화면(미도시)을 출력할 수 있다. 예를 들어, 제3 엘리먼트(1113)를 선택하는 화면(미도시)은 제3 엘리먼트(1113)의 좌표 값에 대응하는 위치에 커서(1325)가 표시되고, 커서(1325)가 클릭(click)하는 화면일 수 있다. 전자 장치(1001)는 제3 엘리먼트(1113)를 선택함에 따라 로그인 이후의 화면(미도시)을 출력할 수 있다. 예를 들어, 로그인 이후의 화면(미도시)은 입력된 사용자의 ID 및 암호에 기반하여 접근된 사용자 계정의 화면일 수 있다.The control operation of the electronic device when the attribute information corresponding to the text information with the highest probability of matching the text data corresponding to the user's utterance is a selectable attribute is identical or similar to that described above with reference to FIGS. 7 to 9 . can be applied For example, the
이하, 도 14를 참조하여 일 실시예에 따른 전자 장치의 동작에 대하여 설명한다.Hereinafter, an operation of an electronic device according to an exemplary embodiment will be described with reference to FIG. 14 .
도 14는 일 실시예에 따른 전자 장치의 동작을 나타낸 흐름도(1400)이다. 후술하는 전자 장치의 동작들은 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.14 is a
동작 1401에서, 전자 장치는 출력된 화면의 이미지를 획득할 수 있다. 일 실시예에 따르면, 전자 장치는 디스플레이(예: 도 5의 디스플레이(510))에 출력된 화면의 이미지를 획득할 수 있다. 예를 들면, 디스플레이에 출력된 화면은, 어플리케이션의 실행 화면일 수 있다.In
동작 1403에서, 전자 장치는 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득할 수 있다. 일 실시예에 따르면, 전자 장치는 디스플레이에 출력된 화면의 레이아웃(layout)을 분석할 수 있다. 예를 들어, 전자 장치는 화면의 레이아웃 분석을 통해 화면을 구성하는 적어도 하나의 엘리먼트의 속성 정보를 획득할 수 있다. 일 실시예에 따르면, 속성 정보는, 사용자 액션(action)(또는, 인터랙션(interaction))이 가능한 속성인지에 대한 정보를 포함할 수 있다. 예를 들어, 사용자 액션이 가능한 속성은, 선택 가능한 속성(예: clickable), 텍스트를 입력 받을 수 있는 속성(예: EditText), 또는 암호를 입력 받는 속성(예: password)을 포함할 수 있다. 일 실시예에 따르면, 속성 정보는 선택 가능한 속성, 텍스트를 입력 받을 수 있는 속성, 또는 암호를 입력 받는 속성에 대한 정보를 포함할 수 있다.In
동작 1405에서, 전자 장치는 사용자 액션(action)이 가능한 엘리먼트를 식별할 수 있다. 일 실시예에 따르면, 전자 장치는 적어도 하나의 엘리먼트의 속성 정보에 기반하여 사용자 액션이 가능한 엘리먼트를 식별할 수 있다. 일 실시예에 따르면, 전자 장치는 적어도 하나의 엘리먼트 중 사용자 액션이 가능한 속성을 가진 엘리먼트를 식별할 수 있다. 예를 들어, 전자 장치는, 선택 가능하거나, 텍스트를 입력 받을 수 있거나, 암호를 입력 받는 엘리먼트를 식별할 수 있다.In
동작 1407에서, 전자 장치는 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 일 실시예에 따르면, 전자 장치는 화면의 레이아웃 분석을 통해 적어도 하나의 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 일 실시예에 따르면, 전자 장치는 적어도 하나의 엘리먼트의 위치 정보 및 크기 정보로부터 사용자 액션이 가능한 엘리먼트로 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득할 수 있다. 예를 들어, 위치 정보는, 좌표 정보일 수 있다. 예를 들어, 크기 정보는, 폭(width) 정보 또는 길이(length) 정보 중 적어도 하나일 수 있다.In
동작 1409에서, 전자 장치는 이미지 상의 식별된 엘리먼트의 영역을 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 위치 정보 및 크기 정보에 기반하여 이미지 상의 식별된 엘리먼트의 영역을 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 위치 정보 및 크기 정보에 기반하여 디스플레이에 출력된 화면의 이미지 상의 사용자 액션이 가능한 엘리먼트의 영역을 결정할 수 있다.In
동작 1411에서, 전자 장치는 결정된 영역의 이미지로부터 식별된 엘리먼트의 텍스트 정보를 추출할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 영역의 이미지로부터 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 추출할 수 있다. 일 실시예에 따르면, 사용자 액션이 가능한 엘리먼트의 영역의 이미지는, 디스플레이에 출력된 화면의 이미지의 적어도 일부로서 화면 상에 결정된 사용자 액션이 가능한 엘리먼트의 영역에 대응하는 이미지일 수 있다. 예를 들어, 전자 장치는 OCR(optical character recognition) 기능을 이용하여 화면의 이미지 상의 사용자 액션이 가능한 엘리먼트 각각의 영역으로부터 텍스트 정보를 획득할 수 있다.In
동작 1413에서, 전자 장치는 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 사용자 발화에 대응하는 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성할 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 사용자 발화에 기반하여 전자 장치 또는 디스플레이에 출력된 화면을 제어하기 위한 정보일 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 위치 정보에 대응하는 사용자 액션이 가능한 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함할 수 있다. 일 실시예에 따르면, 명령어는 사용자 액션이 가능한 엘리먼트의 텍스트 정보와 연관되어 저장될 수 있다.In operation 1413, the electronic device may perform a control operation corresponding to user utterance based on the attribute information, text information, and location information of the identified element. According to an embodiment, the electronic device may generate voice control information based on attribute information, location information, and text information of an element capable of a user action. According to an embodiment, the voice control information may be information for controlling a screen output to an electronic device or a display based on user speech. According to an embodiment, the voice control information may include a command for performing control corresponding to attribute information with respect to an element capable of a user action corresponding to location information. According to one embodiment, a command may be stored in association with text information of an element capable of a user action.
일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 식별함으로써 텍스트 정보와 연관된 명령어를 실행할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 발화에 대응하는 텍스트 데이터에 기반하여 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 식별할 수 있다. 일 실시예에 따르면, 사용자 발화에 대응하는 텍스트 데이터는, 전자 장치가 마이크(예: 도 5의 마이크(520))를 통해 수신한 사용자 발화를 텍스트 데이터로 변환한 것이거나, 변환된 텍스트 데이터를 보정한 것일 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 텍스트 정보에 기반하여 텍스트 데이터를 디스플레이에 출력된 화면 상의 텍스트와 일치하도록 보정할 수 있다. 예를 들어, 전자 장치는 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 텍스트 데이터와 가장 유사한 텍스트 정보와 일치하도록 텍스트 데이터를 변경할 수 있다. 일 실시예에 따르면, 전자 장치는 보정된 텍스트 데이터를 상술한 사용자 발화에 대응하는 텍스트 데이터로 이용할 수 있다. 일 실시예에 따르면, 전자 장치는 일 실시예에 따르면, 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보를 식별할 수 있다. 일 실시예에 따르면, 전자 장치는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써, 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.According to an embodiment, the electronic device may execute a command associated with the text information by identifying text information of an element capable of a user action. According to an embodiment, the electronic device may identify text information of an element capable of a user action based on text data corresponding to a user's speech. According to an embodiment, the text data corresponding to the user's speech is obtained by converting the user's speech received by the electronic device through a microphone (eg, the microphone 520 of FIG. 5) into text data, or converting the converted text data into text data. may have been corrected. According to an embodiment, the electronic device may correct text data to match text on a screen output on a display based on text information of an element capable of a user action. For example, the electronic device may change text data to match text information most similar to text data among text information of an element capable of a user action. According to an embodiment, the electronic device may use the corrected text data as text data corresponding to the above-described user utterance. According to an embodiment, the electronic device may identify text information having the highest probability of matching the corrected text data among text information of an element capable of a user action. According to an embodiment, the electronic device may perform a control operation corresponding to a user's speech by executing a command associated with text information having the highest probability of matching the corrected text data.
일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 텍스트 정보 중 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 전자 장치는 위치 정보에 대응하는 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행할 수 있다. 일 실시예에 따르면, 전자 장치는 제어 동작을 수행함에 따라 디스플레이에 출력된 화면을 속성 정보에 따라 변경할 수 있다.According to an embodiment, the electronic device may perform a control operation based on attribute information and location information corresponding to text information having the highest probability of matching the corrected text data among text information of an element capable of a user action. According to an embodiment, the electronic device may perform control corresponding to attribute information on an element corresponding to location information. According to an embodiment, the electronic device may change a screen output on a display according to property information as a control operation is performed.
예를 들어, 전자 장치는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 것에 기반하여, 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 위치 정보에 대응하는 엘리먼트를 선택하고, 해당 엘리먼트를 선택함에 따른 화면을 디스플레이에 출력할 수 있다.For example, the electronic device determines the text information corresponding to the text information most likely to match the corrected text data based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is a selectable attribute. An element corresponding to the location information may be selected, and a screen according to the selection of the corresponding element may be output to the display.
다른 예로, 전자 장치는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 위치 정보에 대응하는 엘리먼트에 커서를 위치시키고, 해당 엘리먼트에 커서가 위치한 화면을 디스플레이에 출력할 수 있다.As another example, the electronic device provides text information with the highest probability of matching the corrected text data based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is an attribute that can receive text. A cursor may be positioned on an element corresponding to location information corresponding to , and a screen where the cursor is positioned on the corresponding element may be output on a display.
또 다른 예로, 전자 장치는 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 위치 정보에 대응하는 엘리먼트에 커서를 위치시키고, 해당 엘리먼트에 커서가 위치한 화면을 디스플레이에 출력할 수 있다. 전자 장치는 암호를 입력하는 사용자 입력을 수신함에 따라, 입력된 암호를 식별할 수 없도록 표시한 화면을 디스플레이에 출력할 수 있다.As another example, the electronic device determines the text information with the highest probability of matching the corrected text data based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is an attribute that receives a password. A cursor may be positioned on an element corresponding to the corresponding location information, and a screen where the cursor is positioned on the corresponding element may be output on a display. Upon receiving a user input for inputting a password, the electronic device may output a screen displaying the input password so that it cannot be identified on the display.
이하, 도 15를 참조하여 일 실시예에 따른 전자 장치의 동작에 대하여 설명한다.Hereinafter, an operation of an electronic device according to an exemplary embodiment will be described with reference to FIG. 15 .
도 15는 일 실시예에 따른 전자 장치의 동작을 나타낸 흐름도(1500)이다. 후술하는 전자 장치의 동작들은 도 5의 전자 장치(501) 또는 전자 장치(501)의 프로세서(550)에 의해 수행될 수 있다.15 is a
동작 1501에서, 전자 장치는 사용자 액션이 가능한 엘리먼트의 텍스트 정보를 추출할 수 있다. 일 실시예에 따르면, 동작 1501는 도 14의 동작 1411에 대응될 수 있다. 일 실시예에 따르면, 전자 장치는 디스플레이(예: 도 5의 디스플레이(510))에 출력된 화면의 이미지 상에서 사용자 액션이 가능한 엘리먼트의 영역으로 결정된 영역의 이미지로부터 텍스트 정보를 추출할 수 있다.In operation 1501, the electronic device may extract text information of an element capable of a user action. According to an embodiment, operation 1501 may correspond to
동작 1503에서, 전자 장치는 추출된 텍스트 정보가 사용자 언어로 설정된 언어인지 여부를 판단할 수 있다. 일 실시예에 따르면, 사용자 언어로 설정된 언어는, 전자 장치가 사용자 입력에 기반하여 기본 설정 언어로 설정한 언어일 수 있다. 일 실시예에 따르면, 전자 장치는 추출된 텍스트 정보가 사용자 언어로 설정된 언어라고 판단함에 따라 동작 1509를 수행할 수 있고, 추출된 텍스트 정보가 사용자 언어로 설정된 언어라고 판단함에 따라 동작 1505, 동작 1507, 및 동작 1509를 수행할 수 있다.In
동작 1505에서, 전자 장치는 추출된 텍스트 정보를 사용자 언어로 번역할 수 있다. 일 실시예에 따르면, 전자 장치는 추출된 텍스트 정보가 사용자 언어로 설정된 언어가 아니라고 판단함에 따라 추출된 텍스트 정보를 사용자 언어로 번역할 수 있다.In
동작 1507에서, 전자 장치는 번역된 텍스트 정보를 추가할 수 있다. 일 실시예에 따르면, 전자 장치는 번역된 텍스트 정보를 추가하여 음성 제어 정보를 생성할 수 있다. 일 실시예에 따르면, 음성 제어 정보에 대하여는 도 14를 참조하여 상술한 내용이 동일 또는 유사하게 적용될 수 있다. 일 실시예에 따르면, 음성 제어 정보는, 위치 정보에 대응하는 사용자 액션이 가능한 엘리먼트에 대하여 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함할 수 있다. 일 실시예에 따르면, 전자 장치는 명령어를 번역된 텍스트 정보와 연관지어 저장할 수 있다.In operation 1507, the electronic device may add translated text information. According to an embodiment, the electronic device may generate voice control information by adding translated text information. According to an embodiment, the same or similar content described above with reference to FIG. 14 may be applied to voice control information. According to an embodiment, the voice control information may include a command for performing control corresponding to attribute information with respect to an element capable of a user action corresponding to location information. According to an embodiment, the electronic device may associate and store a command with translated text information.
동작 1509에서, 전자 장치는 사용자 액션이 가능한 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 사용자 발화에 대응하는 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 동작 1509는 도 14의 동작 1413에 대응될 수 있다. 일 실시예에 따르면, 전자 장치는 동작 1507을 수행한 이후에 동작 1509를 수행하는 경우, 사용자 액션이 가능한 엘리먼트의 번역된 텍스트 정보에 더 기반하여 사용자 발화에 대응하는 제어 동작을 수행할 수 있다. 일 실시예에 따르면, 전자 장치는 사용자 액션이 가능한 엘리먼트의 번역된 텍스트 정보 중 사용자 발화에 대응하는 텍스트(예: 사용자 발화로부터 변환된 텍스트 데이터, 또는 변환된 텍스트가 보정된 텍스트 데이터)와 일치할 확률이 가장 높은 텍스트 정보와 연관된 명령어를 실행함으로써, 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.In
본 문서에 개시된 일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 도 2 및 도 4의 사용자 단말(201), 도 5의 전자 장치(501), 도 7 내지 도 9의 전자 장치(701), 또는 도 10 내지 13의 전자 장치(1001))는, 마이크(예: 도 1의 입력 모듈(150), 도 2의 마이크(270), 또는 도 5의 마이크(520)), 디스플레이(예: 도 1의 디스플레이 모듈(160), 도 2의 디스플레이(260), 또는 도 5의 디스플레이(510)), 통신 회로(예: 통신 모듈(190), 도 2의 통신 인터페이스(290), 또는 도 5의 통신 회로(530)), 메모리(예: 도 1의 메모리(130), 도 2의 메모리(230), 또는 도 5의 메모리(540)), 및 상기 마이크, 상기 디스플레이, 상기 통신 회로, 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서(예: 도 1의 프로세서(120), 도 2의 프로세서(220), 또는 도 5의 프로세서(550))를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 디스플레이에 출력된 화면의 이미지를 획득하고, 상기 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득하고, 상기 속성 정보에 기반하여 사용자 액션(action)이 가능한 엘리먼트를 식별하고, 상기 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득하고, 상기 위치 정보 및 상기 크기 정보에 기반하여 상기 이미지 상의 상기 식별된 엘리먼트의 영역을 결정하고, 상기 결정된 영역의 이미지로부터 상기 식별된 엘리먼트의 텍스트 정보를 추출하고, 상기 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 상기 마이크를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행하도록 하는 하나 이상의 인스트럭션들(instructions)을 저장할 수 있다.According to an embodiment disclosed in this document, an electronic device (eg, the electronic device 101 of FIG. 1 , the user terminal 201 of FIGS. 2 and 4 , the electronic device 501 of FIG. 5 , and the electronic device 501 of FIGS. 7 to 9 The electronic device 701 of or the electronic device 1001 of FIGS. 10 to 13) is a microphone (eg, the input module 150 of FIG. 1, the microphone 270 of FIG. 2, or the microphone 520 of FIG. 5) ), a display (eg, the display module 160 of FIG. 1, the display 260 of FIG. 2, or the display 510 of FIG. 5), a communication circuit (eg, the communication module 190, the communication interface of FIG. 2 ( 290), or the communication circuit 530 of FIG. 5), a memory (eg, the memory 130 of FIG. 1, the memory 230 of FIG. 2, or the memory 540 of FIG. 5), and the microphone, the display , the communication circuit, and a processor operatively coupled with the memory (eg, the processor 120 of FIG. 1, the processor 220 of FIG. 2, or the processor 550 of FIG. 5), wherein the When the memory is executed, the processor obtains an image of the screen output on the display, acquires attribute information of at least one element constituting the screen, and obtains attribute information based on the attribute information. to identify an element capable of a user action, obtain location information and size information of the identified element, determine a region of the identified element on the image based on the location information and size information, Extract text information of the identified element from the image of the determined region, and perform a control operation corresponding to a user's speech received through the microphone based on attribute information, text information, and location information of the identified element. It may store one or more instructions (instructions) to do.
본 문서에 개시된 일 실시예에 따르면, 상기 속성 정보는, 선택 가능한 속성, 텍스트를 입력 받을 수 있는 속성, 또는 암호를 입력 받는 속성에 대한 정보를 포함할 수 있다.According to an embodiment disclosed in this document, the attribute information may include information on a selectable attribute, a text input attribute, or a password input attribute.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 식별된 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성하도록 하고, 상기 음성 제어 정보는, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함하며, 상기 명령어는 상기 텍스트 정보와 연관되어 저장될 수 있다.According to an embodiment disclosed in this document, the instructions cause the processor to generate voice control information based on attribute information, location information, and text information of the identified element, and the voice control information comprises: and a command for performing control corresponding to the attribute information on an element corresponding to location information, and the command may be stored in association with the text information.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 사용자 발화를 텍스트 데이터로 변환하고, 상기 식별된 엘리먼트의 텍스트 정보에 기반하여 상기 텍스트 데이터를 상기 화면 상의 텍스트와 일치하도록 보정하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions include: the processor converts the user's utterance into text data, and corrects the text data to match text on the screen based on text information of the identified element. can make it
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 식별된 엘리먼트의 텍스트 정보 중 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행하도록 하고, 상기 제어 동작은, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하는 것일 수 있다.According to an embodiment disclosed in this document, the instructions may be performed by the processor based on attribute information and location information corresponding to text information having a highest probability of matching the corrected text data among the text information of the identified element. to perform a control operation, and the control operation may be to perform control corresponding to the attribute information on an element corresponding to the location information.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 제어 동작을 수행함에 따라, 상기 화면을 상기 속성 정보에 따라 변경하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions may cause the processor to change the screen according to the attribute information as the control operation is performed.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트를 선택함에 따른 화면을 출력하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions cause the processor to determine the location information based on attribute information corresponding to text information having the highest probability of matching the corrected text data, which is a selectable attribute. A screen can be displayed according to the selection of the corresponding element.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions are based on the attribute information corresponding to the text information having the highest probability of matching the corrected text data, the processor being an attribute capable of receiving text input, A screen in which a cursor is placed on an element corresponding to the location information may be output.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하고, 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호를 식별할 수 없도록 표시한 화면을 출력하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions cause the processor to determine the corrected text data based on the fact that attribute information corresponding to text information having the highest probability of matching the corrected text data is an attribute of receiving a password, A screen in which a cursor is placed on an element corresponding to information may be output, and upon receiving a user input for inputting a password, a screen displaying the input password unidentifiable may be displayed.
본 문서에 개시된 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어인지 여부를 판단하고, 상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어가 아니라고 판단함에 따라 상기 추출된 텍스트 정보를 상기 사용자 언어로 번역하고, 상기 식별된 엘리먼트의 상기 번역된 텍스트 정보에 더 기반하여 상기 사용자 발화에 대응하는 제어 동작을 수행하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions are such that the processor determines whether the extracted text information is a language set as a user language, and determines that the extracted text information is not a language set as a user language. Accordingly, the extracted text information may be translated into the user's language, and a control operation corresponding to the user's utterance may be performed further based on the translated text information of the identified element.
본 문서에 개시된 일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 도 2 및 도 4의 사용자 단말(201), 도 5의 전자 장치(501), 도 7 내지 도 9의 전자 장치(701), 또는 도 10 내지 13의 전자 장치(1001))의 동작 방법은, 디스플레이(예: 도 1의 디스플레이 모듈(160), 도 2의 디스프레이(260), 또는 도 5의 디스플레이(510))에 출력된 화면의 이미지를 획득하고, 상기 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득하고, 상기 속성 정보에 기반하여 사용자 액션(action)이 가능한 엘리먼트를 식별하고, 상기 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득하고, 상기 위치 정보 및 상기 크기 정보에 기반하여 상기 이미지 상의 상기 식별된 엘리먼트의 영역을 결정하고, 상기 결정된 영역의 이미지로부터 상기 식별된 엘리먼트의 텍스트 정보를 추출하고, 상기 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 마이크(예: 도 1의 입력 모듈(150), 도 2의 마이크(270), 또는 도 5의 마이크(520))를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.According to an embodiment disclosed in this document, an electronic device (eg, the electronic device 101 of FIG. 1 , the
본 문서에 개시된 일 실시예에 따르면, 상기 속성 정보는, 선택 가능한 속성, 텍스트를 입력 받을 수 있는 속성, 또는 암호를 입력 받는 속성에 대한 정보를 포함할 수 있다.According to an embodiment disclosed in this document, the attribute information may include information on a selectable attribute, a text input attribute, or a password input attribute.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 식별된 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성하고, 상기 음성 제어 정보는, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함하며, 상기 명령어는 상기 텍스트 정보와 연관되어 저장될 수 있다.According to an embodiment disclosed in this document, the method generates voice control information based on attribute information, location information, and text information of the identified element, and the voice control information corresponds to the location information. and a command for performing control corresponding to the attribute information on an element, and the command may be stored in association with the text information.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 사용자 발화를 텍스트 데이터로 변환하고, 상기 식별된 엘리먼트의 텍스트 정보에 기반하여 상기 텍스트 데이터를 상기 화면 상의 텍스트와 일치하도록 보정할 수 있다.According to an embodiment disclosed in this document, the method may convert the user utterance into text data, and correct the text data to match text on the screen based on text information of the identified element.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 식별된 엘리먼트의 텍스트 정보 중 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행하고, 상기 제어 동작은, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하는 것일 수 있다.According to an embodiment disclosed in this document, the method performs a control operation based on attribute information and location information corresponding to text information having the highest probability of matching the corrected text data among the text information of the identified element. and the control operation may be to perform control corresponding to the attribute information on an element corresponding to the location information.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 제어 동작을 수행함에 따라, 상기 화면을 상기 속성 정보에 따라 변경할 수 있다.According to an embodiment disclosed in this document, the method may change the screen according to the attribute information as the control operation is performed.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트를 선택함에 따른 화면을 출력할 수 있다.According to an embodiment disclosed in this document, the method selects an element corresponding to the location information based on attribute information corresponding to text information having the highest probability of matching the corrected text data, which is a selectable attribute. You can output the screen according to the selection.
본 문서에 개시된 일 실시예에 따르면, 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력할 수 있다.According to an embodiment disclosed in this document, based on the fact that attribute information corresponding to text information with the highest probability of matching the corrected text data is an attribute capable of receiving text, an element corresponding to the location information The screen where the cursor is located can be output.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하고, 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호를 식별할 수 없도록 표시한 화면을 출력할 수 있다.According to an embodiment disclosed in this document, the method, based on attribute information corresponding to text information having the highest probability of matching the corrected text data, is an attribute for receiving a password, the method corresponding to the location information. A screen on which a cursor is positioned on an element may be output, and a screen displaying the entered password so that it cannot be identified may be output as a user input for inputting a password is received.
본 문서에 개시된 일 실시예에 따르면, 상기 방법은, 상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어인지 여부를 판단하고, 상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어가 아니라고 판단함에 따라 상기 추출된 텍스트 정보를 상기 사용자 언어로 번역하고, 상기 식별된 엘리먼트의 상기 번역된 텍스트 정보에 더 기반하여 상기 사용자 발화에 대응하는 제어 동작을 수행할 수 있다.According to an embodiment disclosed in this document, the method determines whether the extracted text information is a language set as the user language, and determines that the extracted text information is not a language set as the user language. Text information may be translated into the user's language, and a control operation corresponding to the user's utterance may be performed further based on the translated text information of the identified element.
Claims (20)
마이크;
디스플레이;
통신 회로;
메모리; 및
상기 마이크, 상기 디스플레이, 상기 통신 회로, 및 상기 메모리와 작동적으로(operatively) 연결된 프로세서를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 디스플레이에 출력된 화면의 이미지를 획득하고,
상기 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득하고,
상기 속성 정보에 기반하여 사용자 액션(action)이 가능한 엘리먼트를 식별하고,
상기 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득하고,
상기 위치 정보 및 상기 크기 정보에 기반하여 상기 이미지 상의 상기 식별된 엘리먼트의 영역을 결정하고,
상기 결정된 영역의 이미지로부터 상기 식별된 엘리먼트의 텍스트 정보를 추출하고,
상기 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 상기 마이크를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행하도록 하는 하나 이상의 인스트럭션들(instructions)을 저장하는, 전자 장치.In electronic devices,
mike;
display;
communication circuit;
Memory; and
a processor operatively connected with the microphone, the display, the communication circuitry, and the memory;
The memory, when executed, the processor,
Obtaining an image of a screen output on the display;
Acquiring attribute information of at least one element constituting the screen;
Identifying an element capable of a user action based on the attribute information,
Acquiring location information and size information of the identified element;
determine a region of the identified element on the image based on the location information and the size information;
Extracting text information of the identified element from the image of the determined region;
An electronic device that stores one or more instructions for performing a control operation corresponding to a user's speech received through the microphone based on attribute information, text information, and location information of the identified element.
상기 속성 정보는, 선택 가능한 속성, 텍스트를 입력 받을 수 있는 속성, 또는 암호를 입력 받는 속성에 대한 정보를 포함하는, 전자 장치.The method of claim 1,
The attribute information includes information on a selectable attribute, a text input attribute, or a password input attribute.
상기 인스트럭션들은, 상기 프로세서가,
상기 식별된 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성하도록 하고,
상기 음성 제어 정보는, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함하며, 상기 명령어는 상기 텍스트 정보와 연관되어 저장되는, 전자 장치.The method of claim 1,
The instructions, the processor,
To generate voice control information based on attribute information, location information, and text information of the identified element;
The voice control information includes a command for performing a control corresponding to the attribute information with respect to an element corresponding to the location information, and the command is stored in association with the text information.
상기 인스트럭션들은, 상기 프로세서가,
상기 사용자 발화를 텍스트 데이터로 변환하고,
상기 식별된 엘리먼트의 텍스트 정보에 기반하여 상기 텍스트 데이터를 상기 화면 상의 텍스트와 일치하도록 보정하도록 하는, 전자 장치.The method of claim 1,
The instructions, the processor,
converting the user utterance into text data;
The electronic device that corrects the text data to match the text on the screen based on the text information of the identified element.
상기 인스트럭션들은, 상기 프로세서가,
상기 식별된 엘리먼트의 텍스트 정보 중 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행하도록 하고,
상기 제어 동작은, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하는 것인, 전자 장치.The method of claim 4,
The instructions, the processor,
Perform a control operation based on attribute information and location information corresponding to text information having the highest probability of matching the corrected text data among the text information of the identified element;
The control operation is to perform a control corresponding to the attribute information with respect to an element corresponding to the location information.
상기 인스트럭션들은, 상기 프로세서가,
상기 제어 동작을 수행함에 따라, 상기 화면을 상기 속성 정보에 따라 변경하도록 하는, 전자 장치.The method of claim 5,
The instructions, the processor,
As the control operation is performed, the electronic device changes the screen according to the property information.
상기 인스트럭션들은, 상기 프로세서가,
상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트를 선택함에 따른 화면을 출력하도록 하는, 전자 장치.The method of claim 6,
The instructions, the processor,
The electronic device outputs a screen according to selecting an element corresponding to the location information based on that attribute information corresponding to text information having the highest probability of matching the corrected text data is a selectable attribute.
상기 인스트럭션들은, 상기 프로세서가,
상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하도록 하는, 전자 장치.The method of claim 6,
The instructions, the processor,
Based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is an attribute that can receive text, a screen with a cursor placed on an element corresponding to the location information is output. An electronic device to do so.
상기 인스트럭션들은, 상기 프로세서가,
상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하고, 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호를 식별할 수 없도록 표시한 화면을 출력하도록 하는, 전자 장치.The method of claim 6,
The instructions, the processor,
Based on the fact that attribute information corresponding to text information with the highest probability of matching the corrected text data is an attribute for receiving a password, a screen in which a cursor is positioned at an element corresponding to the location information is output; An electronic device that, upon receiving a user input for entering a password, outputs a screen displaying the input password so that it cannot be identified.
상기 인스트럭션들은, 상기 프로세서가,
상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어인지 여부를 판단하고,
상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어가 아니라고 판단함에 따라 상기 추출된 텍스트 정보를 상기 사용자 언어로 번역하고,
상기 식별된 엘리먼트의 상기 번역된 텍스트 정보에 더 기반하여 상기 사용자 발화에 대응하는 제어 동작을 수행하도록 하는, 전자 장치.The method of claim 1,
The instructions, the processor,
determining whether the extracted text information is a language set as a user language;
Translating the extracted text information into the user language when it is determined that the extracted text information is not a language set as the user language;
and performing a control operation corresponding to the user's utterance further based on the translated text information of the identified element.
디스플레이에 출력된 화면의 이미지를 획득하고,
상기 화면을 구성하는 적어도 하나의 엘리먼트(element)의 속성(attribute) 정보를 획득하고,
상기 속성 정보에 기반하여 사용자 액션(action)이 가능한 엘리먼트를 식별하고,
상기 식별된 엘리먼트의 위치 정보 및 크기 정보를 획득하고,
상기 위치 정보 및 상기 크기 정보에 기반하여 상기 이미지 상의 상기 식별된 엘리먼트의 영역을 결정하고,
상기 결정된 영역의 이미지로부터 상기 식별된 엘리먼트의 텍스트 정보를 추출하고,
상기 식별된 엘리먼트의 속성 정보, 텍스트 정보, 및 위치 정보에 기반하여 마이크를 통해 수신된 사용자 발화에 대응하는 제어 동작을 수행하는, 방법.In the operating method of the electronic device,
Acquire the image of the screen output on the display,
Acquiring attribute information of at least one element constituting the screen;
Identifying an element capable of a user action based on the attribute information,
Acquiring location information and size information of the identified element;
determine a region of the identified element on the image based on the location information and the size information;
Extracting text information of the identified element from the image of the determined region;
A method of performing a control operation corresponding to a user's speech received through a microphone based on attribute information, text information, and location information of the identified element.
상기 속성 정보는, 선택 가능한 속성, 텍스트를 입력 받을 수 있는 속성, 또는 암호를 입력 받는 속성에 대한 정보를 포함하는, 방법.The method of claim 11,
The attribute information includes information on a selectable attribute, a text input attribute, or a password input attribute.
상기 방법은,
상기 식별된 엘리먼트의 속성 정보, 위치 정보, 및 텍스트 정보에 기반하여 음성 제어 정보를 생성하고,
상기 음성 제어 정보는, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하도록 하는 명령어를 포함하며, 상기 명령어는 상기 텍스트 정보와 연관되어 저장되는, 방법.The method of claim 11,
The method,
generating voice control information based on attribute information, location information, and text information of the identified element;
The voice control information includes a command for performing a control corresponding to the attribute information with respect to an element corresponding to the location information, and the command is stored in association with the text information.
상기 방법은,
상기 사용자 발화를 텍스트 데이터로 변환하고,
상기 식별된 엘리먼트의 텍스트 정보에 기반하여 상기 텍스트 데이터를 상기 화면 상의 텍스트와 일치하도록 보정하는, 방법.The method of claim 11,
The method,
converting the user utterance into text data;
The method of correcting the text data to match the text on the screen based on the text information of the identified element.
상기 방법은,
상기 식별된 엘리먼트의 텍스트 정보 중 상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보 및 위치 정보에 기반하여 제어 동작을 수행하고,
상기 제어 동작은, 상기 위치 정보에 대응하는 엘리먼트에 대하여 상기 속성 정보에 대응하는 제어를 수행하는 것인, 방법.The method of claim 14,
The method,
Performing a control operation based on attribute information and location information corresponding to text information having the highest probability of matching the corrected text data among the text information of the identified element;
The control operation is to perform a control corresponding to the attribute information with respect to an element corresponding to the location information.
상기 방법은,
상기 제어 동작을 수행함에 따라, 상기 화면을 상기 속성 정보에 따라 변경하는, 방법.The method of claim 15
The method,
As the control operation is performed, the screen is changed according to the attribute information.
상기 방법은,
상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 선택 가능한 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트를 선택함에 따른 화면을 출력하는, 방법.The method of claim 16
The method,
The method of outputting a screen according to selecting an element corresponding to the location information based on that attribute information corresponding to text information having the highest probability of matching the corrected text data is a selectable attribute.
상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 텍스트를 입력 받을 수 있는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하는, 방법.The method of claim 16
Based on the fact that the attribute information corresponding to the text information with the highest probability of matching the corrected text data is an attribute that can receive text, a screen with a cursor placed on an element corresponding to the location information is output. How to.
상기 방법은,
상기 보정된 텍스트 데이터와 일치할 확률이 가장 높은 텍스트 정보에 대응하는 속성 정보가 암호를 입력 받는 속성인 것에 기반하여, 상기 위치 정보에 대응하는 엘리먼트에 커서(cursor)를 위치시킨 화면을 출력하고, 암호를 입력하는 사용자 입력을 수신함에 따라 입력된 암호를 식별할 수 없도록 표시한 화면을 출력하는, 방법.The method of claim 16
The method,
Based on the fact that attribute information corresponding to text information with the highest probability of matching the corrected text data is an attribute for receiving a password, a screen in which a cursor is positioned at an element corresponding to the location information is output; A method of outputting a screen displaying an input password not to be identified upon receiving a user input for entering a password.
상기 방법은,
상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어인지 여부를 판단하고,
상기 추출된 텍스트 정보가 사용자 언어로 설정된 언어가 아니라고 판단함에 따라 상기 추출된 텍스트 정보를 상기 사용자 언어로 번역하고,
상기 식별된 엘리먼트의 상기 번역된 텍스트 정보에 더 기반하여 상기 사용자 발화에 대응하는 제어 동작을 수행하는, 방법.The method of claim 11,
The method,
determining whether the extracted text information is a language set as a user language;
Translating the extracted text information into the user language when it is determined that the extracted text information is not a language set as the user language;
and performing a control operation corresponding to the user utterance further based on the translated text information of the identified element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210135948A KR20230052655A (en) | 2021-10-13 | 2021-10-13 | Electronic device and operating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020210135948A KR20230052655A (en) | 2021-10-13 | 2021-10-13 | Electronic device and operating method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20230052655A true KR20230052655A (en) | 2023-04-20 |
Family
ID=86143809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020210135948A KR20230052655A (en) | 2021-10-13 | 2021-10-13 | Electronic device and operating method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20230052655A (en) |
-
2021
- 2021-10-13 KR KR1020210135948A patent/KR20230052655A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20200107057A (en) | Method for expanding language used in voice recognition model and electronic device including voice recognition model | |
KR20220126544A (en) | Apparatus for processing user commands and operation method thereof | |
KR20220108919A (en) | Electronic device, and method for performing shortcut command in electronic device | |
KR20220118818A (en) | Electronic device and operation method thereof | |
KR20220091085A (en) | Electronic device and method for sharing execution information on command having continuity | |
KR20220086265A (en) | Electronic device and operation method thereof | |
KR20230052655A (en) | Electronic device and operating method thereof | |
US20220358907A1 (en) | Method for providing response of voice input and electronic device supporting the same | |
KR20220120934A (en) | Apparatus and method for processing voice commands | |
KR20240026811A (en) | Method for analyzing user utterance and electronic device supporting the same | |
KR20230045333A (en) | Electronic device and operation method thereof | |
KR20220072480A (en) | Electronic device for processing user utterance and method for operating thereof | |
KR20230086540A (en) | Electronic device and method for operating thereof | |
KR20240020134A (en) | Electronic device, intelligent server, and speaker adaptive speech recognition method | |
KR20230016398A (en) | Electronic device for managing improper answer and operating mehtod thereof | |
KR20230089505A (en) | Electronic device for providing voice recognition service using user data and operating method thereof | |
KR20230039423A (en) | Electronic device and operation method thereof | |
KR20230052106A (en) | Electronic device and operation method thereof | |
KR20240038525A (en) | Electronic devices and methods of processing user utterances | |
KR20220129312A (en) | Electronic device and personalized text-to-speech model generation method of the electornic device | |
KR20240026049A (en) | Electronic devices and methods of handling user utterances | |
KR20230118006A (en) | Electronic device and method for creating customized language model | |
KR20230123392A (en) | Electronic device and utterance processing method of the electronic device | |
KR20220131098A (en) | Electronic device including personalized text to speech module and method for controlling the same | |
KR20230072356A (en) | Method of reorganizing quick command based on utterance and electronic device therefor |