KR20240048343A - Electronic apparatus and controlling method thereof - Google Patents

Electronic apparatus and controlling method thereof Download PDF

Info

Publication number
KR20240048343A
KR20240048343A KR1020220128009A KR20220128009A KR20240048343A KR 20240048343 A KR20240048343 A KR 20240048343A KR 1020220128009 A KR1020220128009 A KR 1020220128009A KR 20220128009 A KR20220128009 A KR 20220128009A KR 20240048343 A KR20240048343 A KR 20240048343A
Authority
KR
South Korea
Prior art keywords
language
translation support
electronic device
text
processor
Prior art date
Application number
KR1020220128009A
Other languages
Korean (ko)
Inventor
임성준
김상하
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020220128009A priority Critical patent/KR20240048343A/en
Publication of KR20240048343A publication Critical patent/KR20240048343A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/263Language identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S715/00Data processing: presentation processing of document, operator interface processing, and screen saver display processing
    • Y10S715/978Audio interaction as part of an operator interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Acoustics & Sound (AREA)
  • Machine Translation (AREA)

Abstract

전자 장치가 개시된다. 본 전자 장치는, 마이크, 통신 인터페이스, 복수의 번역 지원 장치에 대한 식별 정보, 제1 언어에 대응되는 인코더와 제1 언어에 대응되는 디코더 및 적어도 하나의 명령어를 저장하는 메모리, 및 메모리와 연결되어 전자 장치를 제어하는 적어도 하나의 프로세서를 포함하고, 적어도 하나의 프로세서는, 적어도 하나의 명령어를 실행함으로써, 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하고, 마이크를 통해 제1 언어의 사용자 음성을 획득하고, 제1 언어의 사용자 음성에 대응되는 제1 언어의 제1 텍스트를 획득하고, 제1 텍스트를 제1 언어에 대응되는 인코더에 입력하여 제1 텍스트의 제1 특징 벡터를 획득하고, 통신 인터페이스를 통해 식별된 번역 지원 장치로 제1 특징 벡터를 전송하고, 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.An electronic device is disclosed. The electronic device is connected to a memory that stores a microphone, a communication interface, identification information for a plurality of translation support devices, an encoder corresponding to the first language, a decoder corresponding to the first language, and at least one command, and the memory is connected to the memory. It includes at least one processor that controls the electronic device, wherein the at least one processor identifies a translation support device located within a preset distance among the plurality of translation support devices by executing at least one command, and transmits the first signal through a microphone. Obtaining a user voice of a language, obtaining a first text of the first language corresponding to the user voice of the first language, inputting the first text into an encoder corresponding to the first language, and generating a first feature vector of the first text Obtain and transmit the first feature vector to the identified translation support device through a communication interface, and each of the plurality of translation support devices supports translation corresponding to each domain.

Figure P1020220128009
Figure P1020220128009

Description

전자 장치 및 그 제어 방법 { ELECTRONIC APPARATUS AND CONTROLLING METHOD THEREOF }Electronic device and its control method { ELECTRONIC APPARATUS AND CONTROLLING METHOD THEREOF }

본 개시는 전자 장치 및 그 제어 방법에 관한 것으로, 더욱 상세하게는 도메인에 특화된 번역을 수행하는 전자 장치 및 그 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device that performs domain-specific translation and a control method thereof.

일반적인 도메인(domain)의 번역 모델은 도메인에 특화된(customized) 번역 모델보다 그 성능이 상용화 수준에 미치지 못한다. 이에, 도메인에 특화된 번역 모델이 널리 사용되고 있다.The performance of a general domain translation model is lower than the commercialization level compared to a domain-specific translation model. Accordingly, domain-specific translation models are widely used.

그러나 도메인에 특화된 번역 모델의 번역 지식(translation knowledge)은 해당 도메인에 최적화되어 있다. 따라서, 번역 지원 장치는 복수의 도메인에 특화된 번역을 지원하기 위해 복수의 도메인 각각에 특화된 복수의 번역 모델을 저장하고 있어야 한다.However, the translation knowledge of a domain-specific translation model is optimized for that domain. Therefore, the translation support device must store a plurality of translation models specialized for each of the plurality of domains in order to support translation specialized for the plurality of domains.

본 개시의 일 실시 예에 따른 전자 장치는 마이크; 통신 인터페이스; 복수의 번역 지원 장치에 대한 식별 정보, 제1 언어에 대응되는 인코더와 제1 언어에 대응되는 디코더 및 적어도 하나의 명령어를 저장하는 메모리; 및 상기 메모리와 연결되어 상기 전자 장치를 제어하는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 명령어를 실행함으로써, 상기 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하고, 상기 마이크를 통해 제1 언어의 사용자 음성을 획득하고, 상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하고, 상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하고, 상기 통신 인터페이스를 통해 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하고, 상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.An electronic device according to an embodiment of the present disclosure includes a microphone; communication interface; a memory storing identification information for a plurality of translation support devices, an encoder corresponding to a first language, a decoder corresponding to the first language, and at least one command; and at least one processor connected to the memory and controlling the electronic device, wherein the at least one processor supports translation support located within a preset distance among the plurality of translation support devices by executing the at least one command. Identify a device, obtain a user voice in the first language through the microphone, obtain first text in the first language corresponding to the user voice in the first language, and transmit the first text to the first language. Obtain a first feature vector of the first text by inputting it to a corresponding encoder, and transmit the first feature vector to the identified translation support device through the communication interface, and each of the plurality of translation support devices Supports translation corresponding to the domain.

본 개시의 일 실시 예에 따른 전자 장치의 제어 방법은 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하는 단계; 제1 언어의 사용자 음성을 획득하는 단계; 상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하는 단계; 상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하는 단계: 및 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하는 단계;를 포함하고, 상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.A method of controlling an electronic device according to an embodiment of the present disclosure includes identifying a translation support device located within a preset distance among a plurality of translation support devices; Obtaining user speech in a first language; Obtaining first text in the first language corresponding to the user's voice in the first language; Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text: and transmitting the first feature vector to the identified translation support device. And, each of the plurality of translation support devices supports translation corresponding to each domain.

본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 실행하는 프로그램을 포함하는 비일시적 컴퓨터 판독 가능 기록매체에 있어서, 상기 제어 방법은, 제어 방법은 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하는 단계; 제1 언어의 사용자 음성을 획득하는 단계; 상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하는 단계; 상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하는 단계: 및 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하는 단계;를 포함하고, 상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원한다.In a non-transitory computer-readable recording medium including a program for executing a control method of an electronic device according to an embodiment of the present disclosure, the control method includes a translation located within a preset distance among a plurality of translation support devices. identifying a support device; Obtaining user speech in a first language; Obtaining first text in the first language corresponding to the user's voice in the first language; Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text: and transmitting the first feature vector to the identified translation support device. And, each of the plurality of translation support devices supports translation corresponding to each domain.

도 1은 본 개시의 일 실시예에 따른 전자 장치의 구성을 설명하기 위한 블록도이다.
도 2는 본 개시의 일 실시예에 따른 번역 지원 장치의 구성을 설명하기 위한 도면이다.
도 3은 본 개시의 일 실시예에 따른 타 전자 장치의 구성을 설명하기 위한 도면이다.
도 4는 본 개시의 일 실시예에 따른 인코더 및 디코더의 학습 방법을 설명하기 위한 도면이다.
도 5는 본 개시의 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.
1 is a block diagram for explaining the configuration of an electronic device according to an embodiment of the present disclosure.
Figure 2 is a diagram for explaining the configuration of a translation support device according to an embodiment of the present disclosure.
FIG. 3 is a diagram for explaining the configuration of another electronic device according to an embodiment of the present disclosure.
Figure 4 is a diagram for explaining a learning method of an encoder and decoder according to an embodiment of the present disclosure.
FIG. 5 is a diagram for explaining the operation of an electronic device according to an embodiment of the present disclosure.

본 실시 예들은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 특정한 실시 형태에 대해 범위를 한정하려는 것이 아니며, 본 개시의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Since these embodiments can be modified in various ways and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present disclosure. In connection with the description of the drawings, similar reference numbers may be used for similar components.

본 개시를 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략한다.In describing the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the gist of the present disclosure, the detailed description thereof will be omitted.

덧붙여, 하기 실시 예는 여러 가지 다른 형태로 변형될 수 있으며, 본 개시의 기술적 사상의 범위가 하기 실시 예에 한정되는 것은 아니다. 오히려, 이들 실시 예는 본 개시를 더욱 충실하고 완전하게 하고, 당업자에게 본 개시의 기술적 사상을 완전하게 전달하기 위하여 제공되는 것이다.In addition, the following examples may be modified into various other forms, and the scope of the technical idea of the present disclosure is not limited to the following examples. Rather, these embodiments are provided to make the present disclosure more faithful and complete and to completely convey the technical idea of the present disclosure to those skilled in the art.

본 개시에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 권리범위를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.The terms used in this disclosure are merely used to describe specific embodiments and are not intended to limit the scope of rights. Singular expressions include plural expressions unless the context clearly dictates otherwise.

본 개시에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다. In the present disclosure, expressions such as “have,” “may have,” “includes,” or “may include” refer to the presence of the corresponding feature (e.g., component such as numerical value, function, operation, or part). , and does not rule out the existence of additional features.

본 개시에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상"등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In the present disclosure, expressions such as “A or B,” “at least one of A or/and B,” or “one or more of A or/and B” may include all possible combinations of the items listed together. . For example, “A or B,” “at least one of A and B,” or “at least one of A or B” (1) includes at least one A, (2) includes at least one B, or (3) it may refer to all cases including both at least one A and at least one B.

본 개시에서 사용된 "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다.Expressions such as “first,” “second,” “first,” or “second,” used in the present disclosure can modify various components regardless of order and/or importance, and can refer to one component. It is only used to distinguish from other components and does not limit the components.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. A component (e.g., a first component) is “(operatively or communicatively) coupled with/to” another component (e.g., a second component). When referred to as being “connected to,” it should be understood that any component may be directly connected to the other component or may be connected through another component (e.g., a third component).

반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.On the other hand, when a component (e.g., a first component) is said to be “directly connected” or “directly connected” to another component (e.g., a second component), It may be understood that no other component (e.g., a third component) exists between other components.

본 개시에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)"것만을 반드시 의미하지 않을 수 있다. The expression “configured to” used in the present disclosure may mean, for example, “suitable for,” “having the capacity to,” depending on the situation. ," can be used interchangeably with "designed to," "adapted to," "made to," or "capable of." The term “configured (or determined) to” may not necessarily mean “specifically designed to” in terms of hardware.

대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.Instead, in some contexts, the expression “a device configured to” may mean that the device is “capable of” working with other devices or components. For example, the phrase "processor configured (or set) to perform A, B, and C" refers to a processor dedicated to performing the operations (e.g., an embedded processor), or by executing one or more software programs stored on a memory device. , may refer to a general-purpose processor (e.g., CPU or application processor) capable of performing the corresponding operations.

실시 예에 있어서 '모듈' 혹은 '부'는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 복수의 '모듈' 혹은 복수의 '부'는 특정한 하드웨어로 구현될 필요가 있는 '모듈' 혹은 '부'를 제외하고는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서로 구현될 수 있다.In an embodiment, a 'module' or 'unit' performs at least one function or operation, and may be implemented as hardware or software, or as a combination of hardware and software. Additionally, a plurality of 'modules' or a plurality of 'units' may be integrated into at least one module and implemented with at least one processor, except for 'modules' or 'units' that need to be implemented with specific hardware.

한편, 도면에서의 다양한 요소와 영역은 개략적으로 그려진 것이다. 따라서, 본 발명의 기술적 사상은 첨부한 도면에 그려진 상대적인 크기나 간격에 의해 제한되지 않는다.Meanwhile, various elements and areas in the drawing are schematically drawn. Accordingly, the technical idea of the present invention is not limited by the relative sizes or spacing drawn in the attached drawings.

이하에서는 첨부한 도면을 참고하여 본 개시에 따른 실시 예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.Hereinafter, with reference to the attached drawings, embodiments according to the present disclosure will be described in detail so that those skilled in the art can easily implement them.

도 1은 본 개시의 일 실시예에 따른 전자 장치(100)의 구성을 설명하기 위한 블록도이다.FIG. 1 is a block diagram for explaining the configuration of an electronic device 100 according to an embodiment of the present disclosure.

전자 장치(100)는 메모리(110), 통신 인터페이스(120), 사용자 인터페이스(130), 마이크(140), 스피커(150), 디스플레이(160), 센서(170) 및 프로세서(180)를 포함할 수 있다. 전자 장치(100)는 상기 구성요소 중 일부가 생략될 수 있으며, 다른 구성요소를 더 포함할 수 있다.Electronic device 100 may include memory 110, communication interface 120, user interface 130, microphone 140, speaker 150, display 160, sensor 170, and processor 180. You can. The electronic device 100 may omit some of the above components and may further include other components.

그리고, 전자 장치(100)는 스마트폰으로 구현될 수 있으나, 이는 일 실시예에 불과할 뿐, 태블릿 PC, PC, 서버, 스마트 TV, 휴대폰, PDA(personal digital assistant), 이어폰, 랩톱, 미디어 플레이어, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라, 웨어러블 장치, 가전기기 및 기타 모바일 또는 비모바일 컴퓨팅 장치 등 다양한 형태로 구현될 수 있다.Additionally, the electronic device 100 may be implemented as a smartphone, but this is only an example, and may include a tablet PC, PC, server, smart TV, mobile phone, personal digital assistant (PDA), earphone, laptop, media player, It can be implemented in various forms such as e-book terminals, digital broadcasting terminals, navigation, kiosks, MP3 players, digital cameras, wearable devices, home appliances, and other mobile or non-mobile computing devices.

메모리(110)는 전자 장치(100)에 관한 적어도 하나의 명령어(instruction)를 저장할 수 있다. 메모리(110)는 전자 장치(100)를 구동시키기 위한 O/S(Operating System)를 저장할 수 있다. 또한, 메모리(110)는 본 개시의 다양한 실시 예들에 따라 전자 장치(100)가 동작하기 위한 각종 소프트웨어 프로그램이나 애플리케이션을 저장할 수 있다. 그리고, 메모리(110)는 플래시 메모리(Flash Memory) 등과 같은 반도체 메모리나 하드디스크(Hard Disk) 등과 같은 자기 저장 매체 등을 포함할 수 있다.The memory 110 may store at least one instruction related to the electronic device 100. The memory 110 may store an operating system (O/S) for driving the electronic device 100. Additionally, the memory 110 may store various software programs or applications for operating the electronic device 100 according to various embodiments of the present disclosure. Additionally, the memory 110 may include a semiconductor memory such as flash memory or a magnetic storage medium such as a hard disk.

구체적으로, 메모리(110)는 본 개시의 다양한 실시 예에 따라 전자 장치(100)가 동작하기 위한 각종 소프트웨어 모듈을 저장할 수 있으며, 프로세서(180)는 메모리(110)에 저장된 각종 소프트웨어 모듈을 실행하여 전자 장치(100)의 동작을 제어할 수 있다. 즉, 메모리(110)는 프로세서(180)에 의해 액세스되며, 프로세서(180)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다.Specifically, the memory 110 may store various software modules for operating the electronic device 100 according to various embodiments of the present disclosure, and the processor 180 may execute various software modules stored in the memory 110. The operation of the electronic device 100 can be controlled. That is, the memory 110 is accessed by the processor 180, and data read/write/modify/delete/update, etc. can be performed by the processor 180.

한편, 본 개시에서 메모리(110)라는 용어는 메모리(110), 프로세서(180) 내 롬(미도시), 램(미도시) 또는 전자 장치(100)에 장착되는 메모리 카드(미도시)(예를 들어, micro SD 카드, 메모리 스틱)를 포함하는 의미로 사용될 수 있다.Meanwhile, in the present disclosure, the term memory 110 refers to the memory 110, a ROM (not shown) within the processor 180, a RAM (not shown), or a memory card (not shown) mounted on the electronic device 100 (e.g. For example, it can be used to mean including micro SD card, memory stick).

특히, 메모리(110)는 복수의 레이어를 포함하는 인공 지능 모델에 관한 정보를 저장할 수 있다. 여기서, 인공 지능 모델에 관한 정보를 저장한다는 것은 인공 지능 모델의 동작과 관련된 다양한 정보, 예를 들어 인공 지능 모델에 포함된 복수의 레이어에 대한 정보, 복수의 레이어 각각에서 이용되는 파라미터(예를 들어, 필터 계수, 바이어스 등)에 대한 정보 등을 저장한다는 것을 의미할 수 있다.In particular, the memory 110 may store information about an artificial intelligence model including a plurality of layers. Here, storing information about the artificial intelligence model means various information related to the operation of the artificial intelligence model, such as information about a plurality of layers included in the artificial intelligence model, parameters used in each of the plurality of layers (e.g. , filter coefficients, bias, etc.) may be stored.

구체적으로, 메모리(110)는 제1 언어에 대응되는 인코더(111) 및 제1 언어에 대응되는 디코더(112)를 저장할 수 있으며, 이 때, 제1 언어에 대응되는 인코더(111) 및 제1 언어에 대응되는 디코더(112)는 신경망 모델로 구현될 수 있다. 예를 들어, 제1 언어는 한국어일 수 있다.Specifically, the memory 110 may store an encoder 111 corresponding to the first language and a decoder 112 corresponding to the first language. In this case, the encoder 111 corresponding to the first language and the first The decoder 112 corresponding to the language may be implemented as a neural network model. For example, the first language may be Korean.

제1 언어에 대응되는 인코더(111)는 제1 언어의 제1 텍스트를 입력 데이터로 하고 벡터 공간 상의 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제1 언어에 대응되는 인코더(111)는 제1 언어의 텍스트가 입력되면, 제1 언어의 텍스트의 특징 벡터를 출력하도록 학습된 신경망일 수 있다.The encoder 111 corresponding to the first language may be a model learned using the first text of the first language as input data and the feature vector in the vector space as output data. That is, the encoder 111 corresponding to the first language may be a neural network trained to output a feature vector of the text of the first language when the text of the first language is input.

제1 언어에 대응되는 디코더(112)는 벡터 공간 상의 특징 벡터를 입력 데이터로 하고, 제1 언어의 제1 텍스트를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제1 언어에 대응되는 디코더(112)는 특징 벡터가 입력되면, 제1 언어의 텍스트가 출력되도록 학습된 신경망일 수 있다.The decoder 112 corresponding to the first language may be a model learned using a feature vector in a vector space as input data and a first text of the first language as output data. That is, the decoder 112 corresponding to the first language may be a neural network that has been trained to output text in the first language when a feature vector is input.

통신 인터페이스(120)는 회로(circuitry)를 포함하며, 외부 기기 및 서버와 통신할 수 있는 구성이다. 통신 인터페이스(120)는 유선 또는 무선 통신 방식에 기초하여 외부 기기 또는 서버와 통신을 수행할 수 있다. 이 경우, 통신 인터페이스(120)는 블루투스 모듈(미도시), 와이파이 모듈(미도시), IR(infrared) 모듈, LAN(Local Area Network) 모듈, 이더넷(Ethernet) 모듈 등을 포함할 수 있다. 여기서, 각 통신 모듈은 적어도 하나의 하드웨어 칩 형태로 구현될 수 있다. 무선 통신 모듈은 상술한 통신 방식 이외에 지그비(zigbee), USB(Universal Serial Bus), MIPI CSI(Mobile Industry Processor Interface Camera Serial Interface), 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution), LTE-A(LTE Advanced), 4G(4th Generation), 5G(5th Generation)등과 같은 다양한 무 통신 규격에 따라 통신을 수행하는 적어도 하나의 통신 칩을 포함할 수 있다. 다만 이는 일 실시 예에 불과하며 통신 인터페이스(120)는 다양한 통신 모듈 중 적어도 하나의 통신 모듈을 이용할 수 있다. 통신 인터페이스(120)는 번역 지원 장치(200) 및 타 전자 장치(300)와 통신을 수행하며 데이터를 송수신할 수 있다.The communication interface 120 includes circuitry and is capable of communicating with external devices and servers. The communication interface 120 may communicate with an external device or server based on a wired or wireless communication method. In this case, the communication interface 120 may include a Bluetooth module (not shown), a Wi-Fi module (not shown), an infrared (IR) module, a local area network (LAN) module, an Ethernet module, etc. Here, each communication module may be implemented in the form of at least one hardware chip. In addition to the above-described communication methods, the wireless communication module includes zigbee, USB (Universal Serial Bus), MIPI CSI (Mobile Industry Processor Interface Camera Serial Interface), 3G (3rd Generation), 3GPP (3rd Generation Partnership Project), and LTE (Long It may include at least one communication chip that performs communication according to various wireless communication standards such as Term Evolution), LTE Advanced (LTE-A), 4th Generation (4G), and 5th Generation (5G). However, this is only an example, and the communication interface 120 may use at least one communication module among various communication modules. The communication interface 120 can communicate with the translation support device 200 and other electronic devices 300 and transmit and receive data.

사용자 인터페이스(130)는 전자 장치(100)를 제어하기 위한 사용자 명령을 입력받기 위한 구성이다. 버튼, 터치 패드, 마우스 및 키보드와 같은 장치로 구현되거나, 디스플레이 기능 및 조작 입력 기능도 함께 수행 가능한 터치 스크린으로도 구현될 수 있다. 여기서, 버튼은 전자 장치(100)의 본체 외관의 전면부나 측면부, 배면부 등의 임의의 영역에 형성된 기계적 버튼, 터치 패드, 휠 등과 같은 다양한 유형의 버튼이 될 수 있다. 전자 장치(100)는 사용자 인터페이스(130)를 통해 다양한 사용자 입력을 획득할 수 있다.The user interface 130 is configured to receive user commands for controlling the electronic device 100. It can be implemented with devices such as buttons, touch pads, mice, and keyboards, or it can be implemented with a touch screen that can also perform display functions and operation input functions. Here, the button may be various types of buttons such as mechanical buttons, touch pads, wheels, etc. formed on any area of the exterior of the main body of the electronic device 100, such as the front, side, or back. The electronic device 100 may obtain various user inputs through the user interface 130.

마이크(140)는 전자 장치(100)의 상측이나 전면 방향, 측면 방향 등에 일체형으로 형성될 수 있다. 마이크(140)는 아날로그 형태의 사용자 음성을 수집하는 마이크, 수집된 사용자 음성을 증폭하는 앰프 회로, 증폭된 사용자 음성을 샘플링하여 디지털 신호로 변환하는 A/D 변환회로, 변환된 디지털 신호로부터 노이즈 성분을 제거하는 필터 회로 등과 같은 다양한 구성을 포함할 수 있다. 마이크(140)는 사용자 음성 입력을 획득할 수 있다.The microphone 140 may be formed integrally with the electronic device 100, such as on the top, front, or side surfaces. The microphone 140 includes a microphone that collects user voice in analog form, an amplifier circuit that amplifies the collected user voice, an A/D conversion circuit that samples the amplified user voice and converts it into a digital signal, and noise components from the converted digital signal. It may include various configurations such as a filter circuit to remove . The microphone 140 can acquire user voice input.

스피커(150)는 오디오 신호를 출력할 수 있다. 예를 들어, 스피커(150)는 오디오 신호를 사용자가 청각적으로 인식할 수 있는 물리적인 진동 신호로 변환함으로써, 아날로그 신호를 출력할 수 있다.The speaker 150 can output an audio signal. For example, the speaker 150 may output an analog signal by converting an audio signal into a physical vibration signal that can be audibly perceived by the user.

디스플레이(160)는 자발광 소자를 포함하는 디스플레이 또는, 비자발광 소자 및 백라이트를 포함하는 디스플레이로 구현될 수 있다. 예를 들어, LCD(Liquid Crystal Display), OLED(Organic Light Emitting Diodes) 디스플레이, LED(Light Emitting Diodes), 마이크로 LED(micro LED), Mini LED, PDP(Plasma Display Panel), QD(Quantum dot) 디스플레이, QLED(Quantum dot light-emitting diodes) 등과 같은 다양한 형태의 디스플레이로 구현될 수 있다. 디스플레이(160) 내에는 a-si TFT, LTPS(low temperature poly silicon) TFT, OTFT(organic TFT) 등과 같은 형태로 구현될 수 있는 구동 회로, 백라이트 유닛 등도 함께 포함될 수 있다.The display 160 may be implemented as a display including a self-emitting device or a display including a non-emitting device and a backlight. For example, Liquid Crystal Display (LCD), Organic Light Emitting Diodes (OLED) display, Light Emitting Diodes (LED), micro LED, Mini LED, Plasma Display Panel (PDP), and Quantum dot (QD) display. , QLED (Quantum dot light-emitting diodes), etc. can be implemented in various types of displays. The display 160 may also include a driving circuit and a backlight unit that may be implemented in the form of a-si TFT, low temperature poly silicon (LTPS) TFT, or organic TFT (OTFT).

센서(170)는 전자 장치(100) 및 전자 장치(100) 주변의 환경을 감지할 수 있다. 예를 들어, 센서(170)는 GPS 센서, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 온도 센서, 습도 센서, 또는 조도 센서 중 적어도 하나를 포함할 수 있다. 예를 들어, GPS 센서는 전자 장치(100)의 위치 정보를 획득할 수 있다.The sensor 170 can detect the electronic device 100 and the environment surrounding the electronic device 100. For example, the sensor 170 may be a GPS sensor, gesture sensor, gyro sensor, barometric pressure sensor, magnetic sensor, acceleration sensor, grip sensor, proximity sensor, color sensor, IR (infrared) sensor, temperature sensor, humidity sensor, or illuminance sensor. It may include at least one of the sensors. For example, a GPS sensor may obtain location information of the electronic device 100.

프로세서(180)는 전자 장치(100)의 전반적인 동작 및 기능을 제어할 수 있다. 구체적으로, 프로세서(180)는 메모리(110)를 포함하는 전자 장치(100)의 구성과 연결되며, 상술한 바와 같은 메모리(110)에 저장된 적어도 하나의 명령어를 실행함으로써, 전자 장치(100)의 동작을 전반적으로 제어할 수 있다.The processor 180 may control the overall operation and functions of the electronic device 100. Specifically, the processor 180 is connected to the configuration of the electronic device 100 including the memory 110, and executes at least one instruction stored in the memory 110 as described above, thereby controlling the electronic device 100. You can control the overall movement.

프로세서(180)는 다양한 방식으로 구현될 수 있다. 예를 들어, 프로세서(180)는 주문형 집적 회로(Application Specific Integrated Circuit, ASIC), 임베디드 프로세서, 마이크로 프로세서, 하드웨어 컨트롤 로직, 하드웨어 유한 상태 기계(hardware Finite State Machine, FSM), 디지털 신호 프로세서(Digital Signal Processor, DSP) 중 적어도 하나로 구현될 수 있다. 한편, 본 개시에서 프로세서(180)라는 용어는 CPU(Central Processing Unit), GPU(Graphic Processing Unit) 및 MPU(Main Processing Unit)등을 포함하는 의미로 사용될 수 있다.Processor 180 may be implemented in various ways. For example, the processor 180 may include an application specific integrated circuit (ASIC), an embedded processor, a microprocessor, hardware control logic, a hardware finite state machine (FSM), and a digital signal processor. Processor, DSP). Meanwhile, in the present disclosure, the term processor 180 may be used to include a central processing unit (CPU), a graphics processing unit (GPU), and a main processing unit (MPU).

본 개시의 다양한 실시 예를 구현하기 위한 프로세서(180)의 동작은 복수의 모듈을 통해 구현될 수 있다.Operations of the processor 180 for implementing various embodiments of the present disclosure may be implemented through a plurality of modules.

구체적으로, 본 개시에 따른 복수의 모듈에 대한 데이터는 메모리(110)에 저장될 수 있고, 프로세서(180)는 메모리(110)에 엑세스하여 복수의 모듈에 대한 데이터를 프로세서(180) 내부의 메모리 또는 버퍼에 로딩한 후, 복수의 모듈을 이용하여 본 개시에 따른 다양한 실시예를 구현할 수 있다. Specifically, data for a plurality of modules according to the present disclosure may be stored in the memory 110, and the processor 180 accesses the memory 110 to store data for the plurality of modules in the memory inside the processor 180. Alternatively, after loading into the buffer, various embodiments according to the present disclosure can be implemented using a plurality of modules.

다만, 본 개시에 따른 복수의 모듈 중 적어도 하나는 하드웨어로 구현되어 시스템 온 칩(system on chip)의 형태로 프로세서(180)내에 포함될 수도 있다.However, at least one of the plurality of modules according to the present disclosure may be implemented as hardware and may be included in the processor 180 in the form of a system on chip.

도 2는 본 개시의 일 실시예에 따른 번역 지원 장치의 구성을 설명하기 위한 도면이다.Figure 2 is a diagram for explaining the configuration of a translation support device according to an embodiment of the present disclosure.

구체적으로, 번역 지원 장치(200)는 메모리(210), 통신 인터페이스(220), 센서(230) 및 프로세서(240)를 포함할 수 있다. 번역 지원 장치(200)는 상기 구성요소 중 일부가 생략될 수 있으며, 다른 구성요소를 더 포함할 수 있다. 이 때, 번역 지원 장치(200)는 전자 장치(100)에 포함된 구성의 적어도 일부를 더 포함할 수 있으며, 이 때, 번역 지원 장치(200)에 포함된 구성의 동작 중 적어도 일부는 전자 장치(100)에 포함된 구성의 동작과 같을 수 있다.Specifically, the translation support device 200 may include a memory 210, a communication interface 220, a sensor 230, and a processor 240. The translation support device 200 may omit some of the above components and may further include other components. At this time, the translation support device 200 may further include at least a portion of the components included in the electronic device 100, and at this time, at least some of the operations of the components included in the translation support device 200 may be performed on the electronic device 100. It may be the same as the operation of the configuration included in (100).

그리고, 번역 지원 장치(200)는 서버로 구현될 수 있으나, 이는 일 실시예에 불과할 뿐, 스마트폰, 태블릿 PC, PC, 서버, 스마트 TV, 휴대폰, PDA(personal digital assistant), 이어폰, 랩톱, 미디어 플레이어, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라, 웨어러블 장치, 가전기기 및 기타 모바일 또는 비모바일 컴퓨팅 장치 등 다양한 형태로 구현될 수 있다.In addition, the translation support device 200 may be implemented as a server, but this is only an example, and may be used in smartphones, tablet PCs, PCs, servers, smart TVs, mobile phones, personal digital assistants (PDAs), earphones, laptops, It can be implemented in various forms such as media players, e-book terminals, digital broadcasting terminals, navigation, kiosks, MP3 players, digital cameras, wearable devices, home appliances, and other mobile or non-mobile computing devices.

메모리(210)는 번역 지원 장치(200)에 관한 적어도 하나의 명령어(instruction)를 저장할 수 있다. 메모리(210)는 번역 지원 장치(200)를 구동시키기 위한 O/S(Operating System)를 저장할 수 있다. 또한, 메모리(210)는 본 개시의 다양한 실시 예들에 따라 번역 지원 장치(200)가 동작하기 위한 각종 소프트웨어 프로그램이나 애플리케이션을 저장할 수 있다. 그리고, 메모리(210)는 플래시 메모리(Flash Memory) 등과 같은 반도체 메모리나 하드디스크(Hard Disk) 등과 같은 자기 저장 매체 등을 포함할 수 있다.The memory 210 may store at least one instruction related to the translation support device 200. The memory 210 may store an operating system (O/S) for driving the translation support device 200. Additionally, the memory 210 may store various software programs or applications for the translation support device 200 to operate according to various embodiments of the present disclosure. Additionally, the memory 210 may include a semiconductor memory such as flash memory or a magnetic storage medium such as a hard disk.

구체적으로, 메모리(210)는 본 개시의 다양한 실시 예에 따라 번역 지원 장치(200)가 동작하기 위한 각종 소프트웨어 모듈을 저장할 수 있으며, 프로세서(240)는 메모리(210)에 저장된 각종 소프트웨어 모듈을 실행하여 번역 지원 장치(200)의 동작을 제어할 수 있다. 즉, 메모리(210)는 프로세서(240)에 의해 액세스되며, 프로세서(240)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다.Specifically, the memory 210 may store various software modules for the translation support device 200 to operate according to various embodiments of the present disclosure, and the processor 240 may execute various software modules stored in the memory 210. Thus, the operation of the translation support device 200 can be controlled. That is, the memory 210 is accessed by the processor 240, and data read/write/modify/delete/update, etc. can be performed by the processor 240.

한편, 본 개시에서 메모리(210)라는 용어는 메모리(210), 프로세서(240) 내 롬(미도시), 램(미도시) 또는 번역 지원 장치(200)에 장착되는 메모리 카드(미도시)(예를 들어, micro SD 카드, 메모리 스틱)를 포함하는 의미로 사용될 수 있다.Meanwhile, in the present disclosure, the term memory 210 refers to memory 210, ROM (not shown), RAM (not shown) in the processor 240, or a memory card (not shown) mounted in the translation support device 200 ( For example, it can be used to mean including micro SD card, memory stick).

특히, 메모리(210)는 복수의 레이어를 포함하는 인공 지능 모델에 관한 정보를 저장할 수 있다. 여기서, 인공 지능 모델에 관한 정보를 저장한다는 것은 인공 지능 모델의 동작과 관련된 다양한 정보, 예를 들어 인공 지능 모델에 포함된 복수의 레이어에 대한 정보, 복수의 레이어 각각에서 이용되는 파라미터(예를 들어, 필터 계수, 바이어스 등)에 대한 정보 등을 저장한다는 것을 의미할 수 있다.In particular, the memory 210 may store information about an artificial intelligence model including a plurality of layers. Here, storing information about the artificial intelligence model means various information related to the operation of the artificial intelligence model, such as information about a plurality of layers included in the artificial intelligence model, parameters used in each of the plurality of layers (e.g. , filter coefficients, bias, etc.) may be stored.

구체적으로, 메모리(210)는 제1 도메인에 대응되는 인코더(211) 및 제1 도메인에 대응되는 디코더(212)를 저장할 수 있다.Specifically, the memory 210 may store an encoder 211 corresponding to the first domain and a decoder 212 corresponding to the first domain.

이 때, 제1 도메인에 대응되는 인코더(211)는 특정 언어(예로, 제1 언어 또는 제2 언어)의 텍스트로부터 획득된 특징 벡터를 입력 데이터로 하고 특정 언어 및 제1 도메인에 대응되는 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 여기서, 특정 언어 및 제1 도메인에 대응되는 특징 벡터는 특정 언어의 특성과 제1 도메인의 특성이 반영된 특징 벡터일 수 있다. 즉, 제1 도메인에 대응되는 인코더(211)는, 특정 언어의 텍스트로부터 획득된 특징 벡터가 입력되면, 제1 언어의 특성과 제1 도메인의 특성이 반영된 특징 벡터를 출력하도록 학습된 신경망일 수 있다.At this time, the encoder 211 corresponding to the first domain uses a feature vector obtained from text in a specific language (e.g., the first language or the second language) as input data, and the feature vector corresponding to the specific language and the first domain. It may be a model learned using as output data. Here, the feature vector corresponding to the specific language and the first domain may be a feature vector that reflects the characteristics of the specific language and the characteristics of the first domain. That is, the encoder 211 corresponding to the first domain may be a neural network trained to output a feature vector reflecting the characteristics of the first language and the characteristics of the first domain when a feature vector obtained from a text of a specific language is input. there is.

즉, 제1 도메인에 대응되는 디코더(212)는 제1 도메인에 대응되는 인코더(211)로부터 출력된 제1 언어 및 제1 도메인에 대응되는 특징 벡터를 입력 데이터로 하고, 제1 도메인에 대응되는 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 여기서, 제1 도메인에 대응되는 특징 벡터는 특정 언어의 특성이 제외되고, 제1 도메인의 특성이 반영된 특징 벡터일 수 있다. 즉, 제1 도메인에 대응되는 디코더(212)는 특정 언어 및 제1 도메인에 대응되는 특징 벡터가 입력되면 제1 도메인에 대응되는 특징 벡터가 출력되도록 학습된 신경망일 수 있다.That is, the decoder 212 corresponding to the first domain uses the first language output from the encoder 211 corresponding to the first domain and the feature vector corresponding to the first domain as input data, and It may be a model learned using feature vectors as output data. Here, the feature vector corresponding to the first domain may be a feature vector that excludes the characteristics of a specific language and reflects the characteristics of the first domain. That is, the decoder 212 corresponding to the first domain may be a neural network that has been trained to output a feature vector corresponding to the first domain when a specific language and a feature vector corresponding to the first domain are input.

통신 인터페이스(220)는 회로(circuitry)를 포함하며, 외부 기기 및 서버와 통신할 수 있는 구성이다. 통신 인터페이스(220)는 유선 또는 무선 통신 방식에 기초하여 외부 기기 또는 서버와 통신을 수행할 수 있다. 이 경우, 통신 인터페이스(220)는 블루투스 모듈(미도시), 와이파이 모듈(미도시), IR(infrared) 모듈, LAN(Local Area Network) 모듈, 이더넷(Ethernet) 모듈 등을 포함할 수 있다. 여기서, 각 통신 모듈은 적어도 하나의 하드웨어 칩 형태로 구현될 수 있다. 무선 통신 모듈은 상술한 통신 방식 이외에 지그비(zigbee), USB(Universal Serial Bus), MIPI CSI(Mobile Industry Processor Interface Camera Serial Interface), 3G(3rd Generation), 3GPP(3rd Generation Partnership Project), LTE(Long Term Evolution), LTE-A(LTE Advanced), 4G(4th Generation), 5G(5th Generation)등과 같은 다양한 무 통신 규격에 따라 통신을 수행하는 적어도 하나의 통신 칩을 포함할 수 있다. 다만 이는 일 실시 예에 불과하며 통신 인터페이스(220)는 다양한 통신 모듈 중 적어도 하나의 통신 모듈을 이용할 수 있다. 통신 인터페이스(220)는 전자 장치(100) 및 외부 단말 장치(300)와 통신을 수행하며 데이터를 송수신할 수 있다.The communication interface 220 includes circuitry and is configured to communicate with external devices and servers. The communication interface 220 may communicate with an external device or server based on a wired or wireless communication method. In this case, the communication interface 220 may include a Bluetooth module (not shown), a Wi-Fi module (not shown), an infrared (IR) module, a local area network (LAN) module, an Ethernet module, etc. Here, each communication module may be implemented in the form of at least one hardware chip. In addition to the above-described communication methods, the wireless communication module includes zigbee, USB (Universal Serial Bus), MIPI CSI (Mobile Industry Processor Interface Camera Serial Interface), 3G (3rd Generation), 3GPP (3rd Generation Partnership Project), and LTE (Long It may include at least one communication chip that performs communication according to various wireless communication standards such as Term Evolution), LTE Advanced (LTE-A), 4th Generation (4G), and 5th Generation (5G). However, this is only an example, and the communication interface 220 may use at least one communication module among various communication modules. The communication interface 220 can communicate with the electronic device 100 and the external terminal device 300 and transmit and receive data.

센서(230)는 번역 지원 장치(200) 및 번역 지원 장치(200) 주변의 환경을 감지할 수 있다. 예를 들어, 센서(230)는 GPS 센서, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 온도 센서, 습도 센서, 또는 조도 센서 중 적어도 하나를 포함할 수 있다. 예를 들어, GPS 센서는 번역 지원 장치의 위치 정보를 획득할 수 있다.The sensor 230 can detect the translation support device 200 and the environment surrounding the translation support device 200. For example, the sensor 230 may be a GPS sensor, gesture sensor, gyro sensor, barometric pressure sensor, magnetic sensor, acceleration sensor, grip sensor, proximity sensor, color sensor, IR (infrared) sensor, temperature sensor, humidity sensor, or illuminance sensor. It may include at least one of the sensors. For example, a GPS sensor can obtain location information of a translation support device.

프로세서(240)는 번역 지원 장치(200)의 전반적인 동작 및 기능을 제어할 수 있다. 구체적으로, 프로세서(240)는 메모리(210)를 포함하는 번역 지원 장치(200)의 구성과 연결되며, 상술한 바와 같은 메모리(210)에 저장된 적어도 하나의 명령어를 실행함으로써, 번역 지원 장치(200)의 동작을 전반적으로 제어할 수 있다.The processor 240 may control the overall operation and functions of the translation support device 200. Specifically, the processor 240 is connected to the configuration of the translation support device 200 including the memory 210, and executes at least one command stored in the memory 210 as described above, thereby ) can be controlled overall.

프로세서(240)는 다양한 방식으로 구현될 수 있다. 예를 들어, 프로세서(240)는 주문형 집적 회로(Application Specific Integrated Circuit, ASIC), 임베디드 프로세서, 마이크로 프로세서, 하드웨어 컨트롤 로직, 하드웨어 유한 상태 기계(hardware Finite State Machine, FSM), 디지털 신호 프로세서(Digital Signal Processor, DSP) 중 적어도 하나로 구현될 수 있다. 한편, 본 개시에서 프로세서(240)라는 용어는 CPU(Central Processing Unit), GPU(Graphic Processing Unit) 및 MPU(Main Processing Unit)등을 포함하는 의미로 사용될 수 있다.Processor 240 may be implemented in various ways. For example, the processor 240 may include an application specific integrated circuit (ASIC), an embedded processor, a microprocessor, hardware control logic, a hardware finite state machine (FSM), and a digital signal processor. Processor, DSP). Meanwhile, in the present disclosure, the term processor 240 may be used to include a central processing unit (CPU), a graphics processing unit (GPU), and a main processing unit (MPU).

본 개시의 다양한 실시 예를 구현하기 위한 프로세서(240)의 동작은 복수의 모듈을 통해 구현될 수 있다.Operations of the processor 240 for implementing various embodiments of the present disclosure may be implemented through a plurality of modules.

구체적으로, 본 개시에 따른 복수의 모듈에 대한 데이터는 메모리(210)에 저장될 수 있고, 프로세서(240)는 메모리(210)에 엑세스하여 복수의 모듈에 대한 데이터를 프로세서(240) 내부의 메모리 또는 버퍼에 로딩한 후, 복수의 모듈을 이용하여 본 개시에 따른 다양한 실시예를 구현할 수 있다. Specifically, data for a plurality of modules according to the present disclosure may be stored in the memory 210, and the processor 240 accesses the memory 210 to store data for the plurality of modules in the memory inside the processor 240. Alternatively, after loading into the buffer, various embodiments according to the present disclosure can be implemented using a plurality of modules.

다만, 본 개시에 따른 복수의 모듈 중 적어도 하나는 하드웨어로 구현되어 시스템 온 칩(system on chip)의 형태로 프로세서(240)내에 포함될 수도 있다.However, at least one of the plurality of modules according to the present disclosure may be implemented as hardware and may be included in the processor 240 in the form of a system on chip.

도 3은 본 개시의 일 실시예에 따른 타 전자 장치(300)의 구성을 설명하기 위한 도면이다.FIG. 3 is a diagram for explaining the configuration of another electronic device 300 according to an embodiment of the present disclosure.

타 전자 장치(300)는 메모리(310), 통신 인터페이스(320), 사용자 인터페이스(330), 마이크(340), 스피커(350), 디스플레이(360), 센서(370) 및 프로세서(380)를 포함할 수 있다. 전자 장치(300)는 상기 구성요소 중 일부가 생략될 수 있으며, 다른 구성요소를 더 포함할 수 있다. 이 때, 타 전자 장치(300)에 포함된 구성의 동작 중 적어도 일부는 전자 장치(100)에 포함된 구성의 동작과 같을 수 있다.Other electronic devices 300 include memory 310, communication interface 320, user interface 330, microphone 340, speaker 350, display 360, sensor 370, and processor 380. can do. The electronic device 300 may omit some of the above components and may further include other components. At this time, at least some of the operations of the components included in the other electronic device 300 may be the same as the operations of the components included in the electronic device 100.

특히, 메모리(110)는 복수의 레이어를 포함하는 인공 지능 모델에 관한 정보를 저장할 수 있다. 여기서, 인공 지능 모델에 관한 정보를 저장한다는 것은 인공 지능 모델의 동작과 관련된 다양한 정보, 예를 들어 인공 지능 모델에 포함된 복수의 레이어에 대한 정보, 복수의 레이어 각각에서 이용되는 파라미터(예를 들어, 필터 계수, 바이어스 등)에 대한 정보 등을 저장한다는 것을 의미할 수 있다.In particular, the memory 110 may store information about an artificial intelligence model including a plurality of layers. Here, storing information about the artificial intelligence model means various information related to the operation of the artificial intelligence model, such as information about a plurality of layers included in the artificial intelligence model, parameters used in each of the plurality of layers (e.g. , filter coefficients, bias, etc.) may be stored.

구체적으로, 메모리(310)는 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)를 저장할 수 있으며, 이 때, 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)는 신경망 모델로 구현될 수 있다.Specifically, the memory 310 may store an encoder 311 corresponding to the second language and a decoder 312 corresponding to the second language. In this case, the encoder 311 corresponding to the second language and the second The decoder 312 corresponding to the language may be implemented as a neural network model.

제2 언어에 대응되는 인코더(311)는 제2 언어의 텍스트를 입력 데이터로 하고 벡터 공간 상의 특징 벡터를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제2 언어에 대응되는 인코더(311)는 제2 언어의 텍스트가 입력되면, 제2 언어의 텍스트의 특징 벡터를 출력하도록 학습된 신경망일 수 있다.The encoder 311 corresponding to the second language may be a model learned using text of the second language as input data and feature vectors in a vector space as output data. That is, the encoder 311 corresponding to the second language may be a neural network trained to output feature vectors of the text in the second language when text in the second language is input.

제2 언어에 대응되는 디코더(312)는 벡터 공간 상의 특징 벡터를 입력 데이터로 하고, 제2 언어의 텍스트를 출력 데이터로 하여 학습된 모델일 수 있다. 즉, 제2 언어에 대응되는 디코더(312)는 특징 벡터가 입력되면, 제2 언어의 텍스트가 출력되도록 학습된 신경망일 수 있다.The decoder 312 corresponding to the second language may be a model learned using feature vectors in a vector space as input data and text of the second language as output data. That is, the decoder 312 corresponding to the second language may be a neural network that has been trained to output text in the second language when a feature vector is input.

그리고, 통신 인터페이스(320)는 전자 장치(100) 및 번역 지원 장치(200)와 통신을 수행하며 데이터를 송수신할 수 있다.Additionally, the communication interface 320 can communicate with the electronic device 100 and the translation support device 200 and transmit and receive data.

도 4는 본 개시의 일 실시예에 따른 제1 언어에 대응되는 인코더(111), 제1 언어에 대응되는 디코더(112), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212), 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)가 학습되는 방법을 설명하기 위한 도면이다.Figure 4 shows an encoder 111 corresponding to the first language, a decoder 112 corresponding to the first language, an encoder 211 corresponding to the first domain, and an encoder corresponding to the first domain according to an embodiment of the present disclosure. This diagram is for explaining how the decoder 212, the encoder 311 corresponding to the second language, and the decoder 312 corresponding to the second language are learned.

복수의 번역 지원 장치 각각은 도 4a에 도시된 바와 같이, 도메인별 말뭉치(400, 410, 420)에 기초하여 학습된 인코더 및 디코더를 포함할 수 있다.As shown in FIG. 4A, each of the plurality of translation support devices may include an encoder and a decoder learned based on the domain-specific corpora 400, 410, and 420.

이 때, 제1 도메인 말뭉치(400)는 제1 언어의 텍스트(401) 및 제2 언어의 텍스트(402)를 포함할 수 있다. 이 때, 제2 언어의 텍스트(402)는 제1 언어의 텍스트(401)가 제1 도메인에 적합하게 제2 언어로 번역된 텍스트일 수 있다. 또한, 제1 언어의 텍스트(401)는 제2 언어의 텍스트(402)가 제1 도메인에 적합하게 제1 언어로 번역된 텍스트일 수 있다.At this time, the first domain corpus 400 may include a text 401 in the first language and a text 402 in the second language. At this time, the second language text 402 may be a text in which the first language text 401 is translated into the second language to suit the first domain. Additionally, the text 401 in the first language may be a text in which the text 402 in the second language is translated into the first language to suit the first domain.

마찬가지로, 제2 도메인 말뭉치(410)는 제1 언어의 텍스트(411) 및 제2 언어의 텍스트(412)를 포함할 수 있다. 이 때, 제2 언어의 텍스트(412)는 제1 언어의 텍스트(411)가 제2 도메인에 적합하게 제2 언어로 번역된 텍스트일 수 있다. 또한, 제1 언어의 텍스트(411)는 제2 언어의 텍스트(412)가 제2 도메인에 적합하게 제1 언어로 번역된 텍스트일 수 있다.Likewise, the second domain corpus 410 may include text 411 in the first language and text 412 in the second language. At this time, the second language text 412 may be a text in which the first language text 411 is translated into the second language to suit the second domain. Additionally, the first language text 411 may be a text in which the second language text 412 is translated into the first language to suit the second domain.

또한, 제3 도메인 말뭉치(420)는 제1 언어의 텍스트(421) 및 제2 언어의 텍스트(422)를 포함할 수 있다. 이 때, 제2 언어의 텍스트(422)는 제1 언어의 텍스트(421)가 제3 도메인에 적합하게 제2 언어로 번역된 텍스트일 수 있다. 또한, 제1 언어의 텍스트(421)는 제2 언어의 텍스트(422)가 제3 도메인에 적합하게 제1 언어로 번역된 텍스트일 수 있다.Additionally, the third domain corpus 420 may include text 421 in the first language and text 422 in the second language. At this time, the second language text 422 may be a text in which the first language text 421 is translated into the second language to suit the third domain. Additionally, the first language text 421 may be a text in which the second language text 422 is translated into the first language to suit the third domain.

이 때, 제1 언어에 대응되는 인코더(111), 제1 언어에 대응되는 디코더(112), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212), 제2 언어에 대응되는 인코더(311) 및 제2 언어에 대응되는 디코더(312)는 제1 도메인에 대응되는 말뭉치(400)를 학습 데이터로 하여 학습된 신경망일 수 있다.At this time, an encoder 111 corresponding to the first language, a decoder 112 corresponding to the first language, an encoder 211 corresponding to the first domain, a decoder 212 corresponding to the first domain, and a second language The encoder 311 corresponding to and the decoder 312 corresponding to the second language may be a neural network learned using the corpus 400 corresponding to the first domain as learning data.

이 때, 제1 도메인에 대응되는 말뭉치는 제1 언어의 텍스트와 제1 언어의 텍스트가 제1 도메인에 적합하도록 제2 언어로 번역된 텍스트인 제2 언어의 텍스트를 포함할 수 있다.At this time, the corpus corresponding to the first domain may include a text in the first language and a text in the second language, which is a text translated into a second language so that the text in the first language is suitable for the first domain.

구체적으로, 도 4b에 도시된 바와 같이, 제1 언어에 대응되는 인코더(111), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제2 언어에 대응되는 디코더(312)는 제1 도메인에 대응되는 말뭉치에 포함된 제1 언어의 텍스트가 제1 언어에 대응되는 인코더(111)에 입력되었을 때, 제2 언어에 대응되는 디코더(312)에 의해 출력되는 값과 제1 도메인에 대응되는 말뭉치에 포함된 제2 언어의 텍스트 사이의 차이가 최소가 되도록 학습될 수 있다.Specifically, as shown in Figure 4b, an encoder 111 corresponding to the first language, an encoder 211 corresponding to the first domain, a decoder 212 corresponding to the first domain, and a decoder 212 corresponding to the second language. When the text of the first language included in the corpus corresponding to the first domain is input to the encoder 111 corresponding to the first language, the decoder 312 outputs the text from the decoder 312 corresponding to the second language. It may be learned so that the difference between the value and the text of the second language included in the corpus corresponding to the first domain is minimal.

이 때, 제1 언어의 텍스트(401)는 제1 언어에 대응되는 인코더(111)에 입력될 수 있다. 그리고, 제1 언어에 대응되는 인코더(111)에 의해 출력된 값은 제1 도메인에 대응되는 인코더(211)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 인코더(211)에 의해 출력된 값은 제1 도메인에 대응되는 디코더(212)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 디코더(212)에 의해 출력된 값은 제2 언어에 대응되는 디코더(311)에 입력될 수 있다. 그리고, 제2 언어에 대응되는 디코더(311)에 의해 출력된 텍스트(403)가 획득될 수 있다. 이 때, 제1 언어에 대응되는 인코더(111), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제2 언어에 대응되는 디코더(312)는, 제2 언어에 대응되는 디코더(311)에 의해 출력된 텍스트(403)와 제1 도메인에 대응되는 말뭉치(400)에 포함된 제2 언어의 텍스트(402) 사이의 차이가 최소가 되도록 학습된 신경망일 수 있다.At this time, the text 401 of the first language may be input to the encoder 111 corresponding to the first language. And, the value output by the encoder 111 corresponding to the first language may be input to the encoder 211 corresponding to the first domain. And, the value output by the encoder 211 corresponding to the first domain may be input to the decoder 212 corresponding to the first domain. And, the value output by the decoder 212 corresponding to the first domain may be input to the decoder 311 corresponding to the second language. And, the text 403 output by the decoder 311 corresponding to the second language can be obtained. At this time, the encoder 111 corresponding to the first language, the encoder 211 corresponding to the first domain, the decoder 212 corresponding to the first domain, and the decoder 312 corresponding to the second language, It may be a neural network trained to minimize the difference between the text 403 output by the decoder 311 corresponding to the language and the text 402 of the second language included in the corpus 400 corresponding to the first domain. there is.

또한, 도 4c에 도시된 바와 같이, 제2 언어에 대응되는 인코더(311), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제1 언어에 대응되는 디코더(112)는, 제1 도메인에 대응되는 말뭉치(400)에 포함된 제2 언어의 텍스트(402)가 제2 언어에 대응되는 인코더(311)에 입력되었을 때, 제1 언어에 대응되는 디코더(112)에 의해 출력되는 텍스트(403)와 제1 도메인에 대응되는 말뭉치(400)에 포함된 제2 언어의 텍스트 사이의 차이가 최소가 되도록 학습될 수 있다.Additionally, as shown in FIG. 4C, an encoder 311 corresponding to the second language, an encoder 211 corresponding to the first domain, a decoder 212 corresponding to the first domain, and a decoder corresponding to the first language (112) When the text 402 of the second language included in the corpus 400 corresponding to the first domain is input to the encoder 311 corresponding to the second language, the decoder ( The text 403 output by 112) can be learned to minimize the difference between the text of the second language included in the corpus 400 corresponding to the first domain.

이 때, 제1 언어의 텍스트는 제2 언어에 대응되는 인코더(311)에 입력될 수 있다. 그리고, 제2 언어에 대응되는 인코더(311)에 의해 출력된 값이 제1 도메인에 대응되는 인코더(211)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 인코더(211)에 의해 출력된 값은 제1 도메인에 대응되는 디코더(212)에 입력될 수 있다. 그리고, 제1 도메인에 대응되는 디코더(212)에 의해 출력된 값은 제1 언어에 대응되는 디코더(212)에 입력될 수 있다. 그리고, 제2 언어에 대응되는 인코더(311), 제1 도메인에 대응되는 인코더(211), 제1 도메인에 대응되는 디코더(212) 및 제1 언어에 대응되는 디코더(112)는, 제1 언어에 대응되는 디코더(212)에 의해 출력된 값과 학습 데이터에 포함된 제2 언어의 텍스트 사이의 차이를 손실 함수로 하고 손실 함수의 값이 최소가 되도록 학습된 신경망일 수 있다.At this time, text in the first language may be input to the encoder 311 corresponding to the second language. And, the value output by the encoder 311 corresponding to the second language may be input to the encoder 211 corresponding to the first domain. And, the value output by the encoder 211 corresponding to the first domain may be input to the decoder 212 corresponding to the first domain. And, the value output by the decoder 212 corresponding to the first domain may be input to the decoder 212 corresponding to the first language. And, the encoder 311 corresponding to the second language, the encoder 211 corresponding to the first domain, the decoder 212 corresponding to the first domain, and the decoder 112 corresponding to the first language are It may be a neural network that uses the difference between the value output by the corresponding decoder 212 and the text of the second language included in the training data as a loss function, and is trained so that the value of the loss function is minimized.

도 5는 본 개시의 일 실시예에 따른 전자 장치의 동작을 설명하기 위한 도면이다.FIG. 5 is a diagram for explaining the operation of an electronic device according to an embodiment of the present disclosure.

프로세서(180)는 복수의 번역 지원 장치(200, 201, 202) 중 전자 장치(100)와 기설정된 거리 내에 위치한 번역 지원 장치(200)를 식별할 수 있다. 이 때, 메모리(110)는 복수의 번역 지원 장치(200, 201, 202)에 대한 식별 정보를 저장할 수 있다. 메모리(110)에 저장된 복수의 번역 지원 장치에 대한 식별 정보에 기초하여, 프로세서(180)는 복수의 번역 지원 장치 중 전자 장치(100)와 기설정된 거리 내에 위치한 번역 지원 장치를 식별할 수 있다.The processor 180 may identify the translation support device 200 located within a preset distance from the electronic device 100 among the plurality of translation support devices 200, 201, and 202. At this time, the memory 110 may store identification information for a plurality of translation support devices 200, 201, and 202. Based on the identification information about the plurality of translation support devices stored in the memory 110, the processor 180 may identify a translation support device located within a preset distance from the electronic device 100 among the plurality of translation support devices.

여기서, 프로세서(180)는 복수의 번역 지원 장치(200, 201, 202) 각각 과의 신호 연결 세기에 기초하여, 복수의 번역 지원 장치(200, 201, 202) 각각이 기설정된 거리 내에 위치하는지 여부를 식별할 수 있다.Here, the processor 180 determines whether each of the plurality of translation support devices 200, 201, and 202 is located within a preset distance based on the signal connection strength with each of the plurality of translation support devices 200, 201, and 202. can be identified.

또는, 프로세서(180)는 복수의 번역 지원 장치(200, 201, 202) 각각 과의 근거리 통신 수단으로 연결되는지 여부에 기초하여 기설정된 거리 내에 위치하는지 여부를 식별할 수 있다. 예를 들어, 복수의 번역 지원 장치(200, 201, 202)중 제1 번역 지원 장치(200)와 근거리 통신 수단을 통해 연결되면, 프로세서(180)는 제1 번역 지원 장치(200)가 기설정된 거리 내에 위치하는 것으로 식별할 수 있다. 여기서, 근거리 통신 수단은 블루투스, Wi-Fi Direct, NFC 등을 이용한 통신 수단을 의미할 수 있으나, 이에 제한되는 것은 아니며, 전자 장치(100) 및 번역 지원 장치(200)가 직접 통신을 수행할 수 있는 다양한 통신 수단을 의미할 수 있다.Alternatively, the processor 180 may identify whether it is located within a preset distance based on whether it is connected to each of the plurality of translation support devices 200, 201, and 202 by short-distance communication means. For example, when connected to the first translation support device 200 among the plurality of translation support devices 200, 201, and 202 through short-distance communication means, the processor 180 causes the first translation support device 200 to It can be identified by being located within a distance. Here, the short-distance communication means may mean a communication means using Bluetooth, Wi-Fi Direct, NFC, etc., but is not limited thereto, and the electronic device 100 and the translation support device 200 can perform direct communication. It can refer to various means of communication.

그리고, 복수의 번역 지원 장치(200, 201, 202)중, 두 개 이상의 번역 지원 장치가 전자 장치(100)와 기설정된 거리 내에 위치하면, 프로세서(180)는 가장 가까운 번역 지원 장치를 식별할 수 있다.And, among the plurality of translation support devices 200, 201, and 202, when two or more translation support devices are located within a preset distance from the electronic device 100, the processor 180 can identify the closest translation support device. there is.

한편, 복수의 번역 지원 장치(200, 201, 202) 각각은 각 도메인에 특화된 번역 지원 장치일 수 있다. 구체적으로, 제1 번역 지원 장치(200)는 제1 도메인에 특화된 번역 지원 장치일 수 있다. 그리고, 제2 번역 지원 장치(201)는 제2 도메인에 특화된 번역 지원 장치일 수 있다. 그리고, 제3 번역 지원 장치(202)는 제3 도메인에 특화된 번역 지원 장치일 수 있다.Meanwhile, each of the plurality of translation support devices 200, 201, and 202 may be a translation support device specialized for each domain. Specifically, the first translation support device 200 may be a translation support device specialized for the first domain. And, the second translation support device 201 may be a translation support device specialized for the second domain. And, the third translation support device 202 may be a translation support device specialized for a third domain.

이 때, 제1 번역 지원 장치(200)는 제1 도메인에 대응되는 말뭉치로 학습된 인코더(211) 및 디코더(212)를 포함하는 번역 지원 장치이고, 제2 번역 지원 장치(201)는 제2 도메인에 대응되는 말뭉치로 학습된 인코더(211b) 및 디코더(212b)를 포함하는 번역 지원 장치이고, 제3 번역 지원 장치(202)는 제3 도메인에 대응되는 말뭉치로 학습된 인코더(211c) 및 디코더를 포함하는 번역 지원 장치일 수 있다.At this time, the first translation support device 200 is a translation support device including an encoder 211 and a decoder 212 learned with a corpus corresponding to the first domain, and the second translation support device 201 is a second translation support device. A translation support device includes an encoder 211b and a decoder 212b learned with a corpus corresponding to a domain, and the third translation support device 202 includes an encoder 211c and a decoder learned with a corpus corresponding to a third domain. It may be a translation support device including.

그리고, 전자 장치(100)와 기설정된 거리 내에 위치한 번역 지원 장치(200)는 전자 장치(100)가 위치한 장소에 대응되는 도메인에 특화된 번역 지원 장치일 수 있다. 예를 들어, 전자 장치(100)가 위치한 장소에 대응되는 도메인이 제1 도메인이면, 프로세서(180)는 제1 도메인에 특화된 제1 번역 지원 장치(200)를 식별할 수 있다.Additionally, the translation support device 200 located within a preset distance from the electronic device 100 may be a translation support device specialized for a domain corresponding to the location where the electronic device 100 is located. For example, if the domain corresponding to the location where the electronic device 100 is located is the first domain, the processor 180 may identify the first translation support device 200 specialized for the first domain.

예를 들어, 전자 장치(100)의 위치가 쇼핑 센터이면, 식별된 번역 지원 장치(200)는 쇼핑 도메인에 특화된 번역 지원 장치일 수 있다. 또는, 전자 장치(100)의 위치가 공항이면, 식별된 번역 지원 장치(200)는 공항 도메인에 특화된 번역 지원 장치 일 수 있다. 또는, 전자 장치(100)의 위치가 레스토랑이면, 식별된 번역 지원 장치(200)는 레스토랑 도메인에 특화된 번역 지원 장치일 수 있다.For example, if the location of the electronic device 100 is a shopping center, the identified translation support device 200 may be a translation support device specialized for the shopping domain. Alternatively, if the location of the electronic device 100 is an airport, the identified translation support device 200 may be a translation support device specialized for the airport domain. Alternatively, if the location of the electronic device 100 is a restaurant, the identified translation support device 200 may be a translation support device specialized for the restaurant domain.

그리고, 프로세서(180)는 적어도 하나의 타 전자 장치 중 타 전자 장치(300)를 식별할 수 있다.Additionally, the processor 180 may identify the other electronic device 300 among at least one other electronic device.

이 때, 프로세서(180)는 적어도 하나의 타 전자 장치 중 하나를 선택하기 위한 UI를 디스플레이(160)상에 표시할 수 있다. 이 때, 적어도 하나의 타 전자 장치는 전자 장치(100)와 근거리 통신 수단을 이용하여 연결되는 장치일 수 있다. At this time, the processor 180 may display a UI for selecting one of at least one other electronic device on the display 160. At this time, at least one other electronic device may be a device connected to the electronic device 100 using short-distance communication means.

그리고, 프로세서(180)는 복수의 타 전자 장치 중 하나를 선택하기 위한 사용자 입력을 획득할 수 있다. 이 때, 프로세서(180)는 복수의 타 전자 장치 중 선택된 장치를 타 전자 장치(300)로 식별할 수 있다.Additionally, the processor 180 may obtain a user input for selecting one of a plurality of other electronic devices. At this time, the processor 180 may identify the selected device among the plurality of other electronic devices as the other electronic device 300.

또는, 프로세서(180)는 적어도 하나의 타 전자 장치 중 전자 장치(100)가 가리키는 방향에 위치한 장치를 타 전자 장치(300)로 식별할 수 있다.Alternatively, the processor 180 may identify a device located in the direction pointed by the electronic device 100 among at least one other electronic device as the other electronic device 300.

또는, 프로세서(180)는 적어도 하나의 타 전자 장치 중 전자 장치(100)와 가장 근접한 위치에 있는 장치를 타 전자 장치(300)로 식별할 수 있다.Alternatively, the processor 180 may identify the device located closest to the electronic device 100 among at least one other electronic device as the other electronic device 300.

번역 지원 장치(200) 및 타 전자 장치(300)가 식별되면, 프로세서(180)는 번역 지원 장치(200)의 식별 정보를 타 전자 장치(300)로 전송하고, 타 전자 장치(300)의 식별 정보를 번역 지원 장치(200)로 전송할 수 있다.When the translation support device 200 and the other electronic device 300 are identified, the processor 180 transmits the identification information of the translation support device 200 to the other electronic device 300 and identifies the other electronic device 300. Information may be transmitted to the translation support device 200.

전송된 식별 정보에 기초하여, 전자 장치(100), 번역 지원 장치(200) 및 타 전자 장치(300)는 통신을 수행하며 데이터를 송수신할 수 있다.Based on the transmitted identification information, the electronic device 100, the translation support device 200, and another electronic device 300 may perform communication and transmit and receive data.

그리고, 프로세서(180)는 마이크(140)를 통해 제1 사용자(10)로부터 제1 언어의 사용자 음성을 획득할 수 있다. 제1 언어의 사용자 음성이 획득되면, 프로세서(180)는 획득된 제1 언어의 사용자 음성을 STT(Speech to Text) 모델에 입력하여 제1 언어의 제1 텍스트를 획득할 수 있다.Additionally, the processor 180 may acquire the user's voice in the first language from the first user 10 through the microphone 140. When the user voice of the first language is acquired, the processor 180 may input the acquired user voice of the first language into a Speech to Text (STT) model to obtain the first text of the first language.

그리고, 프로세서(180)는 제1 언어의 제1 텍스트를 제1 언어에 대응되는 인코더(211)에 입력하여, 제1 언어의 제1 텍스트에 대응되는 제1 특징 벡터를 획득할 수 있다. 이어서, 전자 장치(100)는 제1 특징 벡터를 번역 지원 장치(200)로 전송할 수 있다.Then, the processor 180 may input the first text of the first language into the encoder 211 corresponding to the first language, and obtain a first feature vector corresponding to the first text of the first language. Subsequently, the electronic device 100 may transmit the first feature vector to the translation support device 200.

제1 특징 벡터가 수신되면, 번역 지원 장치(200)는 제1 특징 벡터로부터 제1 도메인의 특징이 반영된 특징 벡터를 획득할 수 있다.When the first feature vector is received, the translation support device 200 may obtain a feature vector reflecting the features of the first domain from the first feature vector.

구체적으로, 번역 지원 장치(200)는 제1 특징 벡터를 제1 도메인에 대응되는 인코더(211)에 입력하여 제2 특징 벡터를 획득할 수 있다.Specifically, the translation support device 200 may obtain a second feature vector by inputting the first feature vector into the encoder 211 corresponding to the first domain.

그리고, 번역 지원 장치(200)는 제2 특징 벡터를 제1 도메인에 대응되는 디코더(212)에 입력하여 제3 특징 벡터를 획득할 수 있다.Additionally, the translation support device 200 may obtain a third feature vector by inputting the second feature vector into the decoder 212 corresponding to the first domain.

제3 특징 벡터가 획득되면, 번역 지원 장치(200)는 제3 특징 벡터를 타 전자 장치(300)로 전송할 수 있다.When the third feature vector is obtained, the translation support device 200 may transmit the third feature vector to the other electronic device 300.

제3 특징 벡터가 수신되면, 타 전자 장치(300)는 제3 특징 벡터를 제2 언어에 대응되는 디코더(312)에 입력하여 제2 언어의 제1 텍스트를 획득할 수 있다. 이 때, 제2 언어의 텍스트는 제1 언어의 텍스트가 제2 언어로 번역된 텍스트일 수 있다.When the third feature vector is received, the other electronic device 300 may input the third feature vector into the decoder 312 corresponding to the second language to obtain the first text of the second language. At this time, the text in the second language may be a text in which the text in the first language has been translated into the second language.

제2 언어의 제1 텍스트가 획득되면, 타 전자 장치(300)는 제2 언어의 제1 텍스트를 출력할 수 있다. 이 때, 타 전자 장치(300)는 제2 언어의 제1 텍스트를 타 전자 장치(300)의 디스플레이 상에 표시하거나, 타 전자 장치(300)의 스피커를 통해 출력할 수 있다.When the first text in the second language is obtained, the other electronic device 300 may output the first text in the second language. At this time, the other electronic device 300 may display the first text in the second language on the display of the other electronic device 300 or output it through the speaker of the other electronic device 300.

제2 언어의 제1 텍스트가 출력되면, 제2 사용자(30)는 제2 언어의 사용자 음성을 발화할 수 있다. 이 때, 타 전자 장치(300)는 제2 언어의 사용자 음성을 획득할 수 있다. 여기서, 제2 언어의 사용자 음성은 제1 언어의 사용자 음성에 대한 응답일 수 있다.When the first text in the second language is output, the second user 30 can utter the user's voice in the second language. At this time, another electronic device 300 may acquire the user's voice in the second language. Here, the user's voice in the second language may be a response to the user's voice in the first language.

제2 언어의 사용자 음성이 획득되면, 타 전자 장치(300)는 제2 언어의 사용자 음성을 제2 언어의 제2 텍스트로 변환한 뒤, 제2 언어의 제2 텍스트를 제1 도메인에 대응되는 인코더(311)에 입력할 수 있다. 이 때, 타 전자 장치(300)는 제2 언어의 제2 텍스트를 제1 도메인에 대응되는 인코더에 입력하여, 제4 특징 벡터를 획득할 수 있다.When the user's voice in the second language is acquired, the other electronic device 300 converts the user's voice in the second language into a second text in the second language, and then converts the second text in the second language into a text corresponding to the first domain. It can be input to the encoder 311. At this time, the other electronic device 300 may input the second text of the second language into the encoder corresponding to the first domain and obtain the fourth feature vector.

제4 특징 벡터가 획득되면, 타 전자 장치(300)는 제4 특징 벡터를 번역 지원 장치(200)로 전송할 수 있다.When the fourth feature vector is acquired, the other electronic device 300 may transmit the fourth feature vector to the translation support device 200.

제4 특징 벡터가 수신되면, 번역 지원 장치(200)는 제4 특징 벡터로부터 제1 도메인의 특징이 반영된 특징 벡터를 획득할 수 있다. When the fourth feature vector is received, the translation support device 200 may obtain a feature vector reflecting the features of the first domain from the fourth feature vector.

이 때, 번역 지원 장치(200)가 제4 특징 벡터로부터 제1 도메인의 특징이 반영된 특징 벡터를 획득하는 방법은, 번역 지원 장치(200)가 제1 특징 벡터로부터 도메인의 특징이 반영된 특징 벡터를 획득하는 방법과 같을 수 있다.At this time, the method for the translation support device 200 to obtain a feature vector reflecting the features of the first domain from the fourth feature vector is to obtain a feature vector reflecting the features of the domain from the first feature vector. The method of acquisition may be the same.

구체적으로, 번역 지원 장치(200)는 제4 특징 벡터를 제1 도메인에 대응되는 인코더(211)에 입력하여 제5 특징 벡터를 획득할 수 있다.Specifically, the translation support device 200 may obtain the fifth feature vector by inputting the fourth feature vector into the encoder 211 corresponding to the first domain.

그리고, 번역 지원 장치(200)는 제5 특징 벡터를 제1 도메인에 대응되는 디코더(212)에 입력하여 제6 특징 벡터를 획득할 수 있다.Additionally, the translation support device 200 may obtain a sixth feature vector by inputting the fifth feature vector into the decoder 212 corresponding to the first domain.

제6 특징 벡터가 획득되면, 번역 지원 장치(200)는 제6 특징 벡터를 전자 장치(100)로 전송할 수 있다. When the sixth feature vector is acquired, the translation support device 200 may transmit the sixth feature vector to the electronic device 100.

제6 특징 벡터가 수신되면, 전자 장치(100)는 제6 특징 벡터를 제1 언어에 대응되는 디코더(112)에 입력하여 제1 언어의 제2 텍스트를 획득할 수 있다. 이 때, 제1 언어의 제2 텍스트는 제2 언어의 사용자 음성이 제1 언어로 번역된 텍스트일 수 있다.When the sixth feature vector is received, the electronic device 100 may input the sixth feature vector into the decoder 112 corresponding to the first language to obtain the second text of the first language. At this time, the second text in the first language may be a text in which the user's voice in the second language is translated into the first language.

제1 언어의 텍스트가 획득되면, 전자 장치(100)는 제1 언어의 텍스트를 출력할 수 있다. 이 때, 전자 장치(100)는 디스플레이(160)를 통해 제1 언어의 텍스트를 표시하거나, 스피커(150)를 통해 제1 언어의 텍스트를 출력할 수 있다.When the text in the first language is obtained, the electronic device 100 can output the text in the first language. At this time, the electronic device 100 may display text in the first language through the display 160 or output text in the first language through the speaker 150.

종래에는, 도메인에 특화된 번역을 수행하기 위해 서버가 복수의 도메인 별 인코더 및 디코더를 저장하였다. 이 때, 사용자 단말 장치는 번역을 위한 사용자 음성에 대한 정보를 서버로 전송하였다. 그리고, 서버는 획득된 사용자 음성에 대한 정보를 이용하여 사용자의 의도를 파악하고 번역 도메인을 식별하고, 식별된 도메인에 대응되는 인코더 및 디코더를 이용하여 번역을 수행하였다. 이에 따라, 사용자 음성에 대한 정보가 서버로 전송되어 사용자의 개인 정보가 노출될 수 있는 문제가 있었다.Conventionally, servers stored a plurality of domain-specific encoders and decoders to perform domain-specific translation. At this time, the user terminal device transmitted information about the user's voice for translation to the server. Then, the server used the acquired information about the user's voice to determine the user's intention, identified the translation domain, and performed translation using the encoder and decoder corresponding to the identified domain. Accordingly, there was a problem that information about the user's voice was transmitted to the server and the user's personal information could be exposed.

또한, 서버는 복수의 도메인 번역을 위해 복수의 도메인 각각에 대응되는 인코더 및 디코더를 저장하여야 하는 문제가 있었다. 또한, 서버가 사용자의 의도를 파악하여 번역 도메인을 식별하는 과정에서 번역 도메인을 잘못 식별하는 경우, 번역 성능이 저하되는 문제가 있었다.Additionally, there was a problem in that the server had to store encoders and decoders corresponding to each of a plurality of domains in order to translate multiple domains. Additionally, if the server incorrectly identifies the translation domain in the process of identifying the user's intent and identifying the translation domain, there was a problem of degraded translation performance.

또한, 종래에는 제1 언어에서 제2 언어로 사용자 음성을 번역하기 위해, 사용자 단말 장치가 제1 언어에 대응되는 인코더 및 디코더와 제2 언어에 대응되는 인코더 및 디코더를 저장하여야 하는 문제가 있었다. 즉, 번역을 위한 타겟 언어의 수만큼 사용자 단말 장치에 저장된 인코더 및 디코더의 개수가 늘어나는 문제가 있었다.Additionally, in the related art, in order to translate a user's voice from a first language to a second language, there was a problem in that the user terminal device had to store an encoder and decoder corresponding to the first language and an encoder and decoder corresponding to the second language. In other words, there was a problem that the number of encoders and decoders stored in the user terminal device increased as much as the number of target languages for translation.

본 개시는 상술한 종래의 문제를 해결하기 위해 안출된 것으로, 본 개시의 일 실시예에 따른 번역 방법은 복수의 번역 지원 장치는 특정 도메인에 대응되는 인코더 및 디코더만을 저장하고 있어, 번역 도메인을 식별하는 과정이 생략될 수 있다.The present disclosure was created to solve the above-described conventional problem. The translation method according to an embodiment of the present disclosure is to identify the translation domain by storing only encoders and decoders corresponding to a specific domain in a plurality of translation support devices. This process can be omitted.

그리고, 복수의 번역 지원 장치 각각은 복수의 번역 지원 장치 각각이 위치한 장소에 따른 도메인에 대응되는 인코더 및 디코더를 저장하고 있기 때문에 전자 장치(100)는 전자 장치(100)가 위치한 장소에 따른 도메인에 대응되는 인코더 및 디코더를 저장하는 번역 지원 장치와 통신을 수행하며 번역을 수행하기 때문에, 번역 도메인을 잘못 식별되고 번역 성능이 저하되는 문제가 해결될 수 있다.In addition, because each of the plurality of translation support devices stores an encoder and a decoder corresponding to a domain according to the location of each of the plurality of translation support devices, the electronic device 100 is stored in a domain according to the location of the electronic device 100. Since translation is performed while communicating with a translation support device that stores the corresponding encoder and decoder, the problem of incorrectly identifying the translation domain and deteriorating translation performance can be solved.

또한, 본 개시의 전자 장치(100)는 제1 언어에 대응되는 인코더(111) 및 제1 언어에 대응되는 디코더(112)만을 이용하여 제1 언어의 사용자 음성을 제2 언어의 텍스트로 번역할 수 있다. 이에 따라, 본 개시의 전자 장치(100)는 종래의 번역을 위한 사용자 단말 장치보다 더 적은 자원을 이용하여 번역을 수행할 수 있다.In addition, the electronic device 100 of the present disclosure can translate the user's voice in the first language into text in the second language using only the encoder 111 corresponding to the first language and the decoder 112 corresponding to the first language. You can. Accordingly, the electronic device 100 of the present disclosure can perform translation using fewer resources than a conventional user terminal device for translation.

또한, 본 개시의 전자 장치(100)는 사용자 음성으로부터 획득된 특징 벡터만을 번역 지원 장치(200)로 전송하여, 사용자의 개인 정보를 보호할 수 있는 효과가 있다.In addition, the electronic device 100 of the present disclosure transmits only feature vectors obtained from the user's voice to the translation support device 200, which has the effect of protecting the user's personal information.

본 개시에 따른 인공지능과 관련된 기능은 전자 장치(100)의 프로세서(180)와 메모리(110)를 통해 동작된다.Functions related to artificial intelligence according to the present disclosure are operated through the processor 180 and memory 110 of the electronic device 100.

프로세서(180)는 하나 또는 복수의 프로세서(180)로 구성될 수 있다. 이때, 하나 또는 복수의 프로세서(180)는 CPU(Central Processing Unit), GPU(Graphic Processing Unit), NPU(Neural Processing Unit) 중 적어도 하나를 포함할 수 있으나 전술한 프로세서(180)의 예시에 한정되지 않는다.The processor 180 may be comprised of one or multiple processors 180. At this time, the one or more processors 180 may include at least one of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a Neural Processing Unit (NPU), but are not limited to the example of the processor 180 described above. No.

CPU는 일반 연산뿐만 아니라 인공지능 연산을 수행할 수 있는 범용 프로세서(180)로서, 다계층 캐시(Cache) 구조를 통해 복잡한 프로그램을 효율적으로 실행할 수 있다. CPU는 순차적인 계산을 통해 이전 계산 결과와 다음 계산 결과의 유기적인 연계가 가능하도록 하는 직렬 처리 방식에 유리하다. 범용 프로세서(180)는 전술한 CPU로 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.The CPU is a general-purpose processor 180 that can perform not only general calculations but also artificial intelligence calculations, and can efficiently execute complex programs through a multi-layer cache structure. CPUs are advantageous for serial processing, which allows organic connection between previous and next calculation results through sequential calculations. The general-purpose processor 180 is not limited to the above-described example, except when specified as the above-described CPU.

GPU는 그래픽 처리에 이용되는 부동 소수점 연산 등과 같은 대량 연산을 위한 프로세서(180)로서, 코어를 대량으로 집적하여 대규모 연산을 병렬로 수행할 수 있다. 특히, GPU는 CPU에 비해 컨볼루션(Convolution) 연산 등과 같은 병렬 처리 방식에 유리할 수 있다. 또한, GPU는 CPU의 기능을 보완하기 위한 보조 프로세서(180)(co-processor)로 이용될 수 있다. 대량 연산을 위한 프로세서(180)는 전술한 GPU로 명시한 경우를 제외하고 전술한 예에 한정되지 않는다. GPU is a processor 180 for large-scale operations such as floating-point operations used in graphics processing, and can perform large-scale operations in parallel by integrating a large number of cores. In particular, GPUs may be more advantageous than CPUs in parallel processing methods such as convolution operations. Additionally, the GPU can be used as a co-processor 180 to supplement the functions of the CPU. The processor 180 for mass computation is not limited to the above-described example, except for the case where it is specified as the GPU.

NPU는 인공 신경망을 이용한 인공지능 연산에 특화된 프로세서(180)로서, 인공 신경망을 구성하는 각 레이어를 하드웨어(예로, 실리콘)로 구현할 수 있다. 이때, NPU는 업체의 요구 사양에 따라 특화되어 설계되므로, CPU나 GPU에 비해 자유도가 낮으나, 업체가 요구하기 위한 인공지능 연산을 효율적으로 처리할 수 있다. 한편, 인공지능 연산에 특화된 프로세서(180)로, NPU 는 TPU(Tensor Processing Unit), IPU(Intelligence Processing Unit), VPU(Vision processing unit) 등과 같은 다양한 형태로 구현 될 수 있다. 인공 지능 프로세서(180)는 전술한 NPU로 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.The NPU is a processor 180 specialized in artificial intelligence calculations using an artificial neural network, and each layer that makes up the artificial neural network can be implemented with hardware (e.g., silicon). At this time, the NPU is designed specifically according to the company's requirements, so it has a lower degree of freedom than a CPU or GPU, but can efficiently process artificial intelligence calculations requested by the company. Meanwhile, as a processor 180 specialized in artificial intelligence calculations, the NPU can be implemented in various forms such as a TPU (Tensor Processing Unit), IPU (Intelligence Processing Unit), and VPU (Vision processing unit). The artificial intelligence processor 180 is not limited to the above-described example, except for the case specified as the above-described NPU.

또한, 하나 또는 복수의 프로세서(180)는 SoC(System on Chip)으로 구현될 수 있다. 이때, SoC에는 하나 또는 복수의 프로세서(180) 이외에 메모리(110), 및 프로세서(180)와 메모리(110) 사이의 데이터 통신을 위한 버스(Bus)등과 같은 네트워크 인터페이스를 더 포함할 수 있다. Additionally, one or more processors 180 may be implemented as a System on Chip (SoC). At this time, in addition to one or more processors 180, the SoC may further include a memory 110 and a network interface such as a bus for data communication between the processor 180 and the memory 110.

전자 장치에 포함된 SoC(System on Chip)에 복수의 프로세서(180)가 포함된 경우, 전자 장치는 복수의 프로세서(180) 중 일부 프로세서(180)를 이용하여 인공지능과 관련된 연산(예를 들어, 인공지능 모델의 학습(learning)이나 추론(inference)에 관련된 연산)을 수행할 수 있다. 예를 들어, 전자 장치는 복수의 프로세서(180) 중 컨볼루션 연산, 행렬 곱 연산 등과 같은 인공지능 연산에 특화된 GPU, NPU, VPU, TPU, 하드웨어 가속기 중 적어도 하나를 이용하여 인공지능과 관련된 연산을 수행할 수 있다. 다만, 이는 일 실시예에 불과할 뿐, CPU 등과 범용 프로세서(180)를 이용하여 인공지능과 관련된 연산을 처리할 수 있음은 물론이다. If the SoC (System on Chip) included in the electronic device includes a plurality of processors 180, the electronic device uses some processors 180 of the plurality of processors 180 to perform artificial intelligence-related operations (e.g. , operations related to learning or inference of artificial intelligence models) can be performed. For example, the electronic device performs artificial intelligence-related operations using at least one of the plurality of processors 180, a GPU, NPU, VPU, TPU, or hardware accelerator specialized for artificial intelligence operations such as convolution operation, matrix multiplication operation, etc. It can be done. However, this is only an example, and it goes without saying that calculations related to artificial intelligence can be processed using the general-purpose processor 180, such as a CPU.

또한, 전자 장치는 하나의 프로세서(180)에 포함된 멀티 코어(예를 들어, 듀얼 코어, 쿼드 코어 등)를 이용하여 인공지능과 관련된 기능에 대한 연산을 수행할 수 있다. 특히, 전자 장치는 프로세서(180)에 포함된 멀티 코어를 이용하여 병렬적으로 컨볼루션 연산, 행렬 곱 연산 등과 같은 인공 지능 연산을 수행할 수 있다. Additionally, the electronic device may perform calculations on functions related to artificial intelligence using multiple cores (eg, dual core, quad core, etc.) included in one processor 180. In particular, the electronic device can perform artificial intelligence operations such as convolution operations, matrix multiplication operations, etc. in parallel using the multi-cores included in the processor 180.

하나 또는 복수의 프로세서(180)는, 메모리(110)에 저장된 기정의된 동작 규칙 또는 인공지능 모델에 따라, 입력 데이터를 처리하도록 제어한다. 기정의된 동작 규칙 또는 인공지능 모델은 학습을 통해 만들어진 것을 특징으로 한다. One or more processors 180 control input data to be processed according to predefined operation rules or artificial intelligence models stored in the memory 110. Predefined operation rules or artificial intelligence models are characterized by being created through learning.

여기서, 학습을 통해 만들어진다는 것은, 다수의 학습 데이터들에 학습 알고리즘을 적용함으로써, 원하는 특성의 기정의된 동작 규칙 또는 인공지능 모델이 만들어짐을 의미한다. 이러한 학습은 본 개시에 따른 인공지능이 수행되는 기기 자체에서 이루어질 수도 있고, 별도의 서버/시스템을 통해 이루어 질 수도 있다. Here, being created through learning means that a predefined operation rule or artificial intelligence model with desired characteristics is created by applying a learning algorithm to a large number of learning data. This learning may be performed on the device itself that performs the artificial intelligence according to the present disclosure, or may be performed through a separate server/system.

인공지능 모델은, 복수의 신경망 레이어들로 구성될 수 있다. 적어도 하나의 레이어는 적어도 하나의 가중치(weight values)을 갖고 있으며, 이전(previous) 레이어의 연산 결과와 적어도 하나의 정의된 연산을 통해 레이어의 연산을 수행한다. 신경망의 예로는, CNN (Convolutional Neural Network), DNN (Deep Neural Network), RNN (Recurrent Neural Network), RBM (Restricted Boltzmann Machine), DBN (Deep Belief Network), BRDNN(Bidirectional Recurrent Deep Neural Network) 및 심층 Q-네트워크 (Deep Q-Networks), Transformer가 있으며, 본 개시에서의 신경망은 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.An artificial intelligence model may be composed of multiple neural network layers. At least one layer has at least one weight value, and the operation of the layer is performed using the operation result of the previous layer and at least one defined operation. Examples of neural networks include Convolutional Neural Network (CNN), Deep Neural Network (DNN), Recurrent Neural Network (RNN), Restricted Boltzmann Machine (RBM), Deep Belief Network (DBN), Bidirectional Recurrent Deep Neural Network (BRDNN), and Deep Neural Network (BRDNN). There are Q-Networks (Deep Q-Networks) and Transformer, and the neural network in this disclosure is not limited to the above-described examples except where specified.

학습 알고리즘은, 다수의 학습 데이터들을 이용하여 소정의 대상 기기(예컨대, 로봇)을 훈련시켜 소정의 대상 기기 스스로 결정을 내리거나 예측을 할 수 있도록 하는 방법이다. 학습 알고리즘의 예로는, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)이 있으며, 본 개시에서의 학습 알고리즘은 명시한 경우를 제외하고 전술한 예에 한정되지 않는다.A learning algorithm is a method of training a target device (eg, a robot) using a large number of learning data so that the target device can make decisions or make predictions on its own. Examples of learning algorithms include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, and the learning algorithm in the present disclosure is specified. Except, it is not limited to the examples described above.

한편, 본 개시에서 사용된 용어 "부" 또는 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "부" 또는 "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)으로 구성될 수 있다.Meanwhile, the term “unit” or “module” used in the present disclosure includes a unit comprised of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. You can. A “part” or “module” may be an integrated part, a minimum unit that performs one or more functions, or a part thereof. For example, a module may be comprised of an application-specific integrated circuit (ASIC).

본 개시의 다양한 실시예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media)에 저장된 명령어를 포함하는 소프트웨어로 구현될 수 있다. 기기는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시예들에 따른 전자 장치(100)를 포함할 수 있다. 상기 명령이 프로세서에 의해 실행될 경우, 프로세서가 직접, 또는 상기 프로세서의 제어 하에 다른 구성요소들을 이용하여 상기 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다.Various embodiments of the present disclosure may be implemented as software including instructions stored in a machine-readable storage media (e.g., a computer). The device is a device capable of calling instructions stored from a storage medium and operating according to the called instructions, and may include the electronic device 100 according to the disclosed embodiments. When the instruction is executed by a processor, the processor may perform the function corresponding to the instruction directly or using other components under the control of the processor. Instructions may contain code generated or executed by a compiler or interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium does not contain signals and is tangible, and does not distinguish whether the data is stored semi-permanently or temporarily in the storage medium.

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

다양한 실시예들에 따른 구성 요소(예: 모듈 또는 프로그램) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소가 다양한 실시예에 더 포함될 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따른, 모듈, 프로그램 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Each component (e.g., module or program) according to various embodiments may be composed of a single or multiple entities, and some of the above-described sub-components may be omitted or other sub-components may be used. It may be further included in various embodiments. Alternatively or additionally, some components (e.g., modules or programs) may be integrated into a single entity and perform the same or similar functions performed by each corresponding component prior to integration. According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or at least some operations may be executed in a different order, omitted, or other operations may be added. It can be.

100: 전자 장치 110: 메모리
120: 통신 인터페이스 130: 사용자 인터페이스
140: 마이크 150: 스피커
160: 디스플레이 170: 센서
180: 프로세서
100: electronic device 110: memory
120: communication interface 130: user interface
140: Microphone 150: Speaker
160: display 170: sensor
180: processor

Claims (10)

전자 장치에 있어서,
마이크;
통신 인터페이스;
복수의 번역 지원 장치에 대한 식별 정보, 제1 언어에 대응되는 인코더와 제1 언어에 대응되는 디코더 및 적어도 하나의 명령어를 저장하는 메모리; 및
상기 메모리와 연결되어 상기 전자 장치를 제어하는 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는, 상기 적어도 하나의 명령어를 실행함으로써,
상기 복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하고,
상기 마이크를 통해 제1 언어의 사용자 음성을 획득하고,
상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하고,
상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하고,
상기 통신 인터페이스를 통해 상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하고,
상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원하는 전자 장치.
In electronic devices,
mike;
communication interface;
a memory storing identification information for a plurality of translation support devices, an encoder corresponding to a first language, a decoder corresponding to the first language, and at least one command; and
At least one processor connected to the memory and controlling the electronic device,
The at least one processor executes the at least one instruction,
Identifying a translation support device located within a preset distance among the plurality of translation support devices,
Acquire the user's voice in the first language through the microphone,
Obtaining a first text in the first language corresponding to the user's voice in the first language,
Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text,
transmitting the first feature vector to the identified translation support device through the communication interface,
Each of the plurality of translation support devices is an electronic device that supports translation corresponding to each domain.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 통신 인터페이스를 통해 상기 번역 지원 장치로부터 상기 사용자 음성에 대한 제2 언어의 응답 음성에 대응되는 제2 텍스트의 제2 특징 벡터를 수신하고,
상기 제2 특징 벡터를 상기 제1 언어에 대응되는 디코더에 입력하여 상기 제2 텍스트가 제1 언어로 번역된 제3 텍스트에 대한 정보를 획득하는 전자 장치.
According to paragraph 1,
The at least one processor,
Receiving a second feature vector of a second text corresponding to a response voice in a second language to the user voice from the translation support device through the communication interface,
An electronic device that inputs the second feature vector into a decoder corresponding to the first language to obtain information about a third text in which the second text has been translated into the first language.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
복수의 번역 지원 장치 중 상기 전자 장치와의 거리가 임계 거리 내에 위치한 장치를 상기 사용자 컨텍스트에 대응되는 도메인에 특화된 번역 지원 장치로 식별하는 전자 장치.
According to paragraph 1,
The at least one processor,
An electronic device that identifies a device located within a critical distance from the electronic device among a plurality of translation support devices as a translation support device specialized for a domain corresponding to the user context.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 제1 텍스트에 기초하여 사용자 컨텍스트를 식별하고,
상기 복수의 번역 지원 장치 중 사용자 컨텍스트에 대응되는 장치를 상기 번역 지원 장치로 식별하는 전자 장치.
According to paragraph 1,
The at least one processor,
identify a user context based on the first text,
An electronic device that identifies a device corresponding to a user context among the plurality of translation support devices as the translation support device.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
근거리 통신 방법을 이용하여 식별된 적어도 하나의 타 전자 장치 중 하나를 선택하는 사용자 입력을 획득하고,
상기 통신 인터페이스를 통해 상기 번역 지원장치로부터 상기 선택된 타 전자 장치로부터 획득된 응답 음성에 대한 제2 특징 벡터를 수신하는 전자 장치.
According to paragraph 1,
The at least one processor,
Obtain user input for selecting one of at least one other electronic device identified using a short-range communication method,
An electronic device that receives a second feature vector for a response voice obtained from the selected other electronic device from the translation support device through the communication interface.
제5항에 있어서,
상기 적어도 하나의 프로세서는,
상기 선택된 외부 장치에 대한 식별 정보를 상기 번역 지원 장치로 전송하는 전자 장치.
According to clause 5,
The at least one processor,
An electronic device that transmits identification information about the selected external device to the translation support device.
제1항에 있어서,
상기 전자 장치는,
디스플레이;를 더 포함하고,
상기 적어도 하나의 프로세서는,
근거리 통신 방법을 이용하여 식별된 복수의 외부 장치 중 하나를 선택하는 사용자 입력을 획득하는 UI를 표시하도록 상기 디스플레이를 제어하고,
상기 UI를 통해 상기 복수의 외부 장치 중 하나를 선택하는 사용자 입력이 획득되면, 상기 선택된 외부 장치에 대한 식별 정보를 상기 번역 지원 장치로 전송하고,
상기 선택된 외부 장치로부터 획득된 응답 음성에 대한 제2 특징 벡터를 수신하는 전자 장치.
According to paragraph 1,
The electronic device is,
It further includes a display;
The at least one processor,
Controlling the display to display a UI that obtains a user input for selecting one of a plurality of external devices identified using a short-range communication method,
When a user input for selecting one of the plurality of external devices is obtained through the UI, identification information for the selected external device is transmitted to the translation support device,
An electronic device that receives a second feature vector for the response voice obtained from the selected external device.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 번역 지원 장치는
상기 사용자 컨텍스트에 대응되는 도메인 데이터로 학습된 제1 도메인에 대응되는 인코더와 제1 도메인에 대응되는 디코더를 포함하는 전자 장치.
According to paragraph 1,
The at least one processor,
The translation support device is
An electronic device comprising an encoder corresponding to a first domain learned with domain data corresponding to the user context and a decoder corresponding to the first domain.
제7항에 있어서,
상기 번역 지원 장치는 상기 제2 언어의 대응되는 제2 언어에 대응되는 인코더와 제2 언어에 대응되는 디코더를 저장하는 전자 장치.
In clause 7,
The translation support device is an electronic device that stores an encoder corresponding to the second language and a decoder corresponding to the second language.
전자 장치의 제어 방법에 있어서,
복수의 번역 지원 장치 중 기설정된 거리 내에 위치한 번역 지원 장치를 식별하는 단계;
제1 언어의 사용자 음성을 획득하는 단계;
상기 제1 언어의 사용자 음성에 대응되는 상기 제1 언어의 제1 텍스트를 획득하는 단계;
상기 제1 텍스트를 상기 제1 언어에 대응되는 인코더에 입력하여 상기 제1 텍스트의 제1 특징 벡터를 획득하는 단계: 및
상기 식별된 번역 지원 장치로 상기 제1 특징 벡터를 전송하는 단계;를 포함하고,
상기 복수의 번역 지원 장치 각각은 각각의 도메인에 대응되는 번역을 지원하는 제어 방법.
In a method of controlling an electronic device,
Identifying a translation support device located within a preset distance among a plurality of translation support devices;
Obtaining user speech in a first language;
Obtaining first text in the first language corresponding to the user's voice in the first language;
Inputting the first text into an encoder corresponding to the first language to obtain a first feature vector of the first text: and
Transmitting the first feature vector to the identified translation support device,
A control method wherein each of the plurality of translation support devices supports translation corresponding to each domain.
KR1020220128009A 2022-10-06 2022-10-06 Electronic apparatus and controlling method thereof KR20240048343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220128009A KR20240048343A (en) 2022-10-06 2022-10-06 Electronic apparatus and controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220128009A KR20240048343A (en) 2022-10-06 2022-10-06 Electronic apparatus and controlling method thereof

Publications (1)

Publication Number Publication Date
KR20240048343A true KR20240048343A (en) 2024-04-15

Family

ID=90715903

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220128009A KR20240048343A (en) 2022-10-06 2022-10-06 Electronic apparatus and controlling method thereof

Country Status (1)

Country Link
KR (1) KR20240048343A (en)

Similar Documents

Publication Publication Date Title
US10909982B2 (en) Electronic apparatus for processing user utterance and controlling method thereof
TW201843654A (en) Image description generation method, model training method, devices and storage medium
EP3709294B1 (en) Electronic device for providing speech recognition service and method thereof
WO2020147369A1 (en) Natural language processing method, training method, and data processing device
WO2019052293A1 (en) Machine translation method and apparatus, computer device and storage medium
EP3642838B1 (en) Method for operating speech recognition service and electronic device and server for supporting the same
KR102586014B1 (en) Electronic apparatus and controlling method thereof
US11481965B2 (en) Electronic device for communicating in augmented reality and method thereof
US11803741B2 (en) Offline detector
KR20210028041A (en) Electronic device and Method for controlling the electronic device thereof
WO2022145611A1 (en) Electronic device and method for controlling same
CN110874402A (en) Reply generation method, device and computer readable medium based on personalized information
US11710498B2 (en) Electronic device and control method therefor
KR20240048343A (en) Electronic apparatus and controlling method thereof
US11817097B2 (en) Electronic apparatus and assistant service providing method thereof
US20220405546A1 (en) Electronic device for converting artificial intelligence model and operating method thereof
US11263564B2 (en) Mobile service robots scheduling utilizing merged tasks
KR20240073655A (en) Electronic device and controlling method of electronic device
WO2024106942A1 (en) Electronic device and method for controlling electronic device
US11676580B2 (en) Electronic device for processing user utterance and controlling method thereof
US20230298614A1 (en) Electronic device for recognizing sound and method thereof
KR20230051052A (en) Electronic apparatus and controlling method thereof
US20230197066A1 (en) Electronic device and method of providing responses
WO2024013588A1 (en) System and method for using residual transformers in natural language processing
US20220138628A1 (en) Electronic device for updating artificial intelligence model and operating method thereof