KR20180045633A - Method for providing of voice recognition service and apparatus thereof - Google Patents

Method for providing of voice recognition service and apparatus thereof Download PDF

Info

Publication number
KR20180045633A
KR20180045633A KR1020160140209A KR20160140209A KR20180045633A KR 20180045633 A KR20180045633 A KR 20180045633A KR 1020160140209 A KR1020160140209 A KR 1020160140209A KR 20160140209 A KR20160140209 A KR 20160140209A KR 20180045633 A KR20180045633 A KR 20180045633A
Authority
KR
South Korea
Prior art keywords
server
service
voice signal
present
link information
Prior art date
Application number
KR1020160140209A
Other languages
Korean (ko)
Other versions
KR102584324B1 (en
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 KR1020160140209A priority Critical patent/KR102584324B1/en
Publication of KR20180045633A publication Critical patent/KR20180045633A/en
Application granted granted Critical
Publication of KR102584324B1 publication Critical patent/KR102584324B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand

Abstract

The present invention relates to a method for providing a voice recognition service and, more specifically, to a method for providing a voice recognition service and an apparatus for the same, in which a service server recognizes a user′s voice input from an audio output device including a microphone and a speaker and provides link information of a corresponding content providing server to the audio output device so that the audio output device receives and outputs streaming data for the content using the link information.

Description

음성 인식 서비스 제공 방법 및 이를 위한 장치{METHOD FOR PROVIDING OF VOICE RECOGNITION SERVICE AND APPARATUS THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a voice recognition service,

본 발명은 음성 인식 서비스 제공 방법에 관한 것으로, 더욱 상세하게는 마이크와 스피커를 포함하는 음향 출력 장치에서 입력되는 사용자의 음성을 인식하고 이에 해당하는 서비스를 음향 출력 장치를 통해 제공할 수 있는 음성 인식 서비스 제공 방법 및 이를 위한 장치에 관한 것이다. The present invention relates to a method of providing a voice recognition service, and more particularly, to a voice recognition service capable of recognizing a user's voice input from an audio output device including a microphone and a speaker, A service providing method and an apparatus therefor.

이 부분에 기술된 내용은 단순히 본 실시 예에 대한 배경 정보를 제공할 뿐 종래기술을 구성하는 것은 아니다.The contents described in this section merely provide background information on the present embodiment and do not constitute the prior art.

기술이 발달함에 따라 최근 많은 분야에서 음성 인식 기술을 적용한 각종 서비스들이 소개되고 있다. 음성 인식 기술은 사람이 발성하는 음성을 이해하여 컴퓨터가 다룰 수 있는 문자 정보로 변환하는 일련의 과정이라 할 수 있으며, 음성 인식 기술을 이용하는 음성 인식 서비스는 사용자의 음성을 인식하고 이에 해당하는 적합한 서비스를 제공하는 일련의 과정을 의미할 수 있다. As technology develops, various services using voice recognition technology have been introduced in many fields. Speech recognition technology is a series of processes for understanding human speech and converting it into character information that can be handled by a computer. A speech recognition service using a speech recognition technology recognizes a user's speech, Quot; and " a "

그러나 현재까지의 음성 인식 기술을 이용한 서비스들은 단순히 사용자의 음성을 인식하고, 이에 해당하는 단편적인 서비스만을 제공한다는 문제점이 있다. 예컨대, 사용자가 자신의 휴대폰을 이용하여 특정 단어에 대한 음성을 발화하고, 이를 휴대폰이 인식하여 해당 단어에 대응하는 검색 결과를 웹 브라우저를 통해 제공하는 형태의 음성 인식 서비스가 있으나, 단순히 검색 서버와 연동하여 해당하는 검색 결과만을 제공하는 것으로, 다양한 사용자의 편의를 만족시킬 수 없다는 문제점이 있다. However, there is a problem that the services using the speech recognition technology up to now recognize the user's voice and provide only a fragmentary service corresponding to the user's voice. For example, there is a voice recognition service in which a user speaks a voice for a specific word using his or her mobile phone, the mobile phone recognizes it, and provides a search result corresponding to the word through a web browser. However, There is a problem that convenience of various users can not be satisfied by interlocking and providing only the corresponding search results.

이에, 사용자의 의도를 파악하고 사용자의 의도에 적합한 다양한 컨텐츠를 다양한 외부의 컨텐츠 제공 서버와 연동하여 제공할 수 있는 음성 인식 서비스의 개발이 필요하다. Accordingly, it is necessary to develop a speech recognition service capable of grasping a user's intention and providing various contents suitable for a user's intention in cooperation with various external content providing servers.

한국공개특허 제10-2008-0083553호, 2008년 9월 18일 공개 (명칭: 음성 인식을 이용한 영상 합성 통화 서비스 방법 및 장치)Korean Patent Laid-Open No. 10-2008-0083553, September 18, 2008 (Name: Image synthesis call service method and apparatus using speech recognition)

본 발명은 상기한 종래의 문제점을 해결하기 위해 제안된 것으로서, 마이크와 스피커를 포함하는 음향 출력 장치에서 입력되는 사용자의 음성을 인식하고 이에 해당하는 서비스를 음향 출력 장치를 통해 제공할 수 있는 음성 인식 서비스 제공 방법 및 이를 위한 장치를 제공하는 데 목적이 있다. SUMMARY OF THE INVENTION The present invention has been proposed in order to solve the above-mentioned problems of the related art, and it is an object of the present invention to provide a sound output apparatus and a sound output apparatus which can recognize a user's voice input from a sound output apparatus including a microphone and a speaker, A service providing method and an apparatus therefor.

특히, 본 발명은 마이크와 스피커를 포함하는 음향 출력 장치가 사용자의 음성을 인식하고, 사용자의 의도를 파악한 후, 복수의 컨텐츠 제공 서버와 연동하여 적합한 음원을 출력하여 제공하거나, 적합한 서비스를 제공할 수 있는 음성 인식 서비스 제공 방법 및 이를 위한 장치를 제공하는 데 그 목적이 있다. In particular, the present invention provides a sound output apparatus including a microphone and a speaker, which recognizes a user's voice, grasps the intention of the user, and outputs an appropriate sound source in cooperation with a plurality of content providing servers, The present invention provides a method for providing a speech recognition service and an apparatus therefor.

또한, 본 발명은 사용자의 음성을 인식하여 엔티티(entity)와 인텐트(intent)로 구분하고, 엔티티를 통해 복수의 컨텐츠 제공 서버를 식별하며, 인텐트를 이용하여 사용자의 의도에 적합한 서비스 제공을 요청함으로써, 보다 지능적인 서비스를 음향 출력 장치를 통해 제공할 수 있는 음성 인식 서비스 제공 방법 및 이를 위한 장치를 제공하는 데 그 목적이 있다. In addition, the present invention recognizes a user's voice and divides it into an entity and an intent, identifies a plurality of content providing servers through an entity, and provides a service suitable for a user's intention using an intent The present invention provides a method and a device for providing a voice recognition service that can provide a more intelligent service through an audio output device by requesting a voice recognition service.

그러나, 이러한 본 발명의 목적은 상기의 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 명확하게 이해될 수 있을 것이다.However, the object of the present invention is not limited to the above-mentioned objects, and other objects not mentioned can be clearly understood from the following description.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 음향 출력 장치가, 발화되는 사용자의 음성을 입력 받아 음성 신호를 생성하는 단계; 상기 음성 신호를 스트리밍하여 서비스 서버로 전송하는 단계; 상기 서비스 서버로부터 상기 음성 신호를 인식하여 생성된 응답 메시지 및 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 단계; 상기 링크 정보에 따라 해당하는 컨텐츠 제공 서버에 접속하는 단계; 상기 컨텐츠 제공 서버로부터 상기 컨텐츠에 대한 스트리밍 데이터를 수신하는 단계; 및 상기 응답 정보 및 상기 수신된 스트리밍 데이터를 재생하여 출력하는 단계;를 포함하여 이뤄질 수 있다. According to another aspect of the present invention, there is provided an audio output apparatus including: a voice input unit for receiving a voice of a user to be uttered; Streaming the voice signal and transmitting it to a service server; Receiving a response message generated by recognizing the voice signal from the service server and link information for accessing a specific content; Accessing a corresponding content providing server according to the link information; Receiving streaming data for the content from the content providing server; And reproducing and outputting the response information and the received streaming data.

이때, 상기 전송하는 단계는 상기 음성 신호를 소정 길이의 프레임으로 구분하고, 상기 구분된 프레임 단위로 음성 인식을 수행하는 단계; 및 음성 인식을 수행한 결과, 특정 구간에 미리 지정된 웨이크업 단어가 존재하는 것으로 확인되면, 상기 음성 신호를 상기 프레임 단위로 스트리밍하여 상기 서비스 서버로 전송하는 단계;를 포함하여 이뤄질 수 있다. The transmitting may include dividing the speech signal into frames of a predetermined length, and performing speech recognition on a divided frame basis. And transmitting the voice signal to the service server by streaming the voice signal on a frame-by-frame basis if it is confirmed that a predetermined wake-up word exists in a specific section as a result of voice recognition.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 서비스 서버가, 음향 출력 장치로부터 스트리밍되는 음성 신호를 수신하는 단계; 상기 수신되는 음성 신호를 인식하여 의미를 분석하고, 분석된 결과에 따라 대응하는 컨텐츠 제공 서버를 확인하는 단계; 상기 컨텐츠 제공 서버로부터 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 단계; 및 상기 음성 신호에 대응하는 응답 메시지를 생성한 후 상기 응답 메시지 및 상기 링크 정보를 상기 음향 출력 장치로 전달하는 단계;를 포함하여 이뤄질 수 있다. According to an aspect of the present invention, there is provided a service server comprising: a receiving unit configured to receive a streaming audio signal from an audio output apparatus; Recognizing the received voice signal, analyzing its meaning, and confirming a corresponding content providing server according to the analyzed result; Receiving link information for accessing a specific content from the content providing server; And generating a response message corresponding to the voice signal and transmitting the response message and the link information to the sound output device.

이때, 상기 확인하는 단계는 상기 음성 신호를 인식하여 엔티티(entity) 및 인텐트(intent)로 구분하여 의미를 분석하는 단계; 상기 엔티티에 대응하는 서비스 제공 주체인 컨텐츠 제공 서버를 확인하는 단계; 및 상기 컨텐츠 제공 서버로 상기 인텐트에 대응하는 사용자의 의도에 따른 서비스를 요청하여 단계;를 포함하여 이뤄질 수 있다. At this time, the verifying step may include recognizing the speech signal and classifying it into an entity and an intent and analyzing the meaning thereof; Confirming a content providing server which is a service providing entity corresponding to the entity; And requesting the content providing server for a service corresponding to the intent of the user corresponding to the intent.

이때, 상기 링크 정보를 수신하는 단계에서 상기 링크 정보가 복수 개인 경우, 기 설정된 기준에 따라 상기 링크 정보에 대한 재생 리스트를 생성하며, 상기 음향 출력 장치로 전달하는 단계 이후에, 상기 재생 리스트에 따라 소정 시간 경과 후 또는 상기 음향 출력 장치의 요청에 따라 다음 링크 정보를 상기 음향 출력 장치로 전달하는 단계;를 더 포함하여 이뤄질 수 있다. In this case, if the link information is received in the step of receiving the link information, a reproduction list for the link information is generated according to a predetermined reference, and after the step of transmitting the reproduction list to the audio output apparatus, And transmitting the next link information to the sound output apparatus after a predetermined time elapses or at the request of the sound output apparatus.

추가로 본 발명은 상술한 바와 같은 방법을 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체를 제공할 수 있다.Further, the present invention can provide a computer-readable recording medium on which a program for executing the above-described method is recorded.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 음향 출력 장치는 마이크를 통해 발화되는 사용자의 음성을 입력 받아 음성 신호를 생성하는 음성 신호 입력부; 스피커를 통해 응답 메시지 및 스트리밍 데이터를 출력하는 출력부; 및 상기 음성 신호를 스트리밍하여 서비스 서버로 전송하고, 상기 서비스 서버로부터 상기 음성 신호를 인식하여 생성된 응답 메시지 및 특정 컨텐츠 접근을 위한 링크 정보가 수신되면, 상기 응답 메시지가 상기 출력부를 통해 출력되도록 제어하며, 상기 링크 정보에 따라 해당하는 컨텐츠 제공 서버에 접속하여, 상기 컨텐츠에 대한 스트리밍 데이터를 수신하고, 상기 스트리밍 데이터를 재생하여 상기 출력부를 통해 출력되도록 제어하는 장치 제어부;를 포함하여 구성될 수 있다. According to an aspect of the present invention, there is provided an audio output apparatus including: a voice signal input unit for receiving a voice of a user who is ignited via a microphone and generating a voice signal; An output unit for outputting a response message and streaming data through a speaker; And transmitting the response message to the service server when the response message generated by recognizing the voice signal from the service server and the link information for accessing a specific content are received, And a device control unit connected to the corresponding content providing server according to the link information to receive the streaming data for the content and to reproduce the streaming data and output the streaming data through the output unit .

이때, 상기 장치 제어부는 상기 음성 신호 입력부를 통해 입력되는 음성 신호를 소정 길이의 프레임으로 구분하고, 상기 구분된 프레임 단위로 음성 인식을 수행하여, 특정 구간에 미리 지정된 웨이크업 단어가 존재하는 것으로 확인되면, 상기 음성 신호를 상기 프레임 단위로 스트리밍하여 상기 서비스 서버로 전송되도록 제어할 수 있다. At this time, the device controller divides a voice signal input through the voice signal input unit into frames of a predetermined length, performs voice recognition on a divided frame basis, and confirms that a predetermined wakeup word exists in a specific section , The audio signal may be streamed on a frame-by-frame basis and transmitted to the service server.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 서비스 서버는 사용자가 발화함에 따라 생성되는 음성 신호를 음향 출력 장치로부터 스트리밍 방식으로 수신하는 서버 통신부; 상기 서버 통신부를 통해 수신되는 음성 신호를 인식하여 의미를 분석하고, 분석된 결과에 따라 대응하는 컨텐츠 제공 서버를 확인하고, 상기 컨텐츠 제공 서버로부터 특정 컨텐츠 접근을 위한 링크 정보가 수신되면, 상기 음성 신호에 대응하는 응답 메시지를 생성한 후 상기 응답 메시지 및 상기 링크 정보를 상기 서버 통신부를 통해 상기 음향 출력 장치로 전달되도록 제어하는 서버 제어부;를 포함하여 구성될 수 있다. According to an aspect of the present invention, there is provided a service server comprising: a server communication unit for receiving a voice signal generated by a user in a streaming manner from an audio output device; Recognizes a voice signal received through the server communication unit, analyzes the meaning, confirms a corresponding content providing server according to the analyzed result, and when link information for accessing specific contents is received from the contents providing server, And a server controller for controlling the server to transmit the response message and the link information to the audio output apparatus through the server communication unit.

이때, 엔티티에 대응하는 복수 개의 단어열 및 인텐트에 대응하는 복수 개의 단어열을 저장하는 서버 저장부;를 더 포함하며 상기 서버 제어부는 상기 음성 신호를 인식하여 단어열 단위로 상기 서버 저장부에 저장된 엔티티 및 인텐트와 비교하여 의미를 분석하고, 상기 엔티티에 대응하는 서비스 제공 주체인 컨텐츠 제공 서버를 확인하고, 상기 컨텐츠 제공 서버로 상기 인텐트에 대응하는 사용자의 의도에 따른 서비스를 요청하여 상기 특정 컨텐츠 접근을 위한 링크 정보를 수신할 수 있다. And a server storage unit for storing a plurality of word strings corresponding to the entities and a plurality of word strings corresponding to the intents, wherein the server control unit recognizes the voice signals and transmits the word strings to the server storage unit Analyzing the meaning of the stored content by comparing with stored entities and intents, identifying a content providing server that is a service providing entity corresponding to the entity, requesting the content providing server for a service corresponding to the intent of the user corresponding to the intent, And receive link information for accessing specific contents.

또한, 상기 서버 제어부는 상기 컨텐츠 제공 서버로부터 링크 정보가 아닌 응답 정보가 수신되면, 상기 응답 정보를 포함하는 응답 메시지를 생성하여 상기 음향 출력 장치로 전달되도록 제어할 수 있다. The server control unit may generate a response message including the response information and transmit the response message to the audio output apparatus when response information other than link information is received from the content providing server.

이때, 상기 서버 제어부는 상기 응답 메시지를 TTS(Text To Speech) 엔진을 통해 음성 신호로 변환한 후 변환된 응답 메시지를 상기 음향 출력 장치로 전달되도록 제어할 수 있다. At this time, the server control unit may convert the response message into a voice signal through a TTS (Text To Speech) engine, and then transmit the converted response message to the sound output apparatus.

또한, 상기 서버 제어부는 상기 컨텐츠 제공 서버로부터 수신된 링크 정보가 복수 개인 경우, 기 설정된 기준에 따라 상기 링크 정보에 대한 재생 리스트를 생성하며, 상기 재생 리스트에 따라 소정 시간 경과 후 또는 상기 음향 출력 장치의 요청에 따라 다음 링크 정보를 상기 음향 출력 장치로 전달되도록 제어할 수 있다. The server control unit may generate a playlist for the link information according to a predetermined criterion when a plurality of pieces of link information are received from the content providing server, It is possible to control the next link information to be transmitted to the sound output device.

본 발명의 음성 인식 서비스 제공 방법 및 이를 위한 장치에 의하면, 마이크와 스피커를 포함하는 음향 출력 장치에서 입력되는 사용자의 음성을 인식하고 사용자의 의도를 파악한 후, 복수의 컨텐츠 제공 서버와 연동하여 적합한 음원을 출력하여 제공하거나, 적합한 서비스를 지능적으로 제공할 수 있어 사용자의 만족도를 높일 수 있는 효과가 있다. According to the method and apparatus for providing a voice recognition service of the present invention, a user's voice input from a sound output apparatus including a microphone and a speaker is recognized, and the user's intention is determined. Then, It is possible to provide an appropriate service by intelligently outputting the service, and it is possible to increase the satisfaction of the user.

또한, 본 발명은 지정된 어느 하나의 서비스만을 제공하는 것이 아니라, 복수의 컨텐츠 제공 서버, 또는 사용자의 단말에 각종 어플리케이션, 홈 관리 장치 등 다양한 장치들과 연동하여 사용자의 의도에 적합한 서비스를 보다 더 지능적으로 제공할 수 있게 된다. Further, the present invention is not limited to providing only a designated service, but may be applied to a plurality of content providing servers or a user terminal in cooperation with various devices such as various applications and home management apparatus, As shown in FIG.

아울러, 상술한 효과 이외의 다양한 효과들이 후술될 본 발명의 실시 예에 따른 상세한 설명에서 직접적 또는 암시적으로 개시될 수 있다.In addition, various effects other than the above-described effects can be directly or implicitly disclosed in the detailed description according to the embodiment of the present invention to be described later.

도 1은 본 발명의 실시 예에 따른 음성 인식 서비스 제공 시스템을 설명하기 위한 구성도이다.
도 2는 본 발명의 일 실시 예에 따른 음성 인식 서비스 제공 방법을 설명하기 위한 데이터 흐름도이다.
도 3은 본 발명의 다른 실시 예에 따른 음성 인식 서비스 제공 방법을 설명하기 위한 데이터 흐름도이다.
도 4는 본 발명의 실시 예에 따른 단말의 주요 구성을 도시한 구성도이다.
도 5는 본 발명의 실시 예에 따른 음향 출력 장치의 주요 구성을 도시한 구성도이다.
도 6은 본 발명의 실시 예에 따른 음향 출력 장치에서의 음성 인식 서비스 제공 방법을 설명하기 위한 흐름도이다.
도 7은 본 발명의 실시 예에 따른 서비스 서버의 주요 구성을 도시한 구성도이다.
도 8은 본 발명의 실시 예에 따른 음성 인식 과정을 설명하기 위한 예시도이다.
도 9는 본 발명의 실시 예에 따른 서비스 서버에서의 음성 인식 서비스 제공 방법을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating a system for providing a voice recognition service according to an embodiment of the present invention.
2 is a data flow chart for explaining a method of providing a voice recognition service according to an embodiment of the present invention.
3 is a data flow chart for explaining a method of providing a voice recognition service according to another embodiment of the present invention.
4 is a block diagram showing a main configuration of a terminal according to an embodiment of the present invention.
5 is a block diagram showing a main configuration of an audio output apparatus according to an embodiment of the present invention.
6 is a flowchart illustrating a method of providing a voice recognition service in an audio output apparatus according to an embodiment of the present invention.
FIG. 7 is a configuration diagram illustrating a main configuration of a service server according to an embodiment of the present invention.
8 is an exemplary diagram for explaining a speech recognition process according to an embodiment of the present invention.
9 is a flowchart illustrating a method of providing a voice recognition service in a service server according to an embodiment of the present invention.

본 발명의 과제 해결 수단의 특징 및 이점을 보다 명확히 하기 위하여, 첨부된 도면에 도시된 본 발명의 특정 실시 예를 참조하여 본 발명을 더 상세하게 설명한다. BRIEF DESCRIPTION OF THE DRAWINGS For a more complete understanding of the nature and advantages of the present invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings, in which:

다만, 하기의 설명 및 첨부된 도면에서 본 발명의 요지를 흐릴 수 있는 공지 기능 또는 구성에 대한 상세한 설명은 생략한다. 또한, 도면 전체에 걸쳐 동일한 구성 요소들은 가능한 한 동일한 도면 부호로 나타내고 있음에 유의하여야 한다.In the following description and the accompanying drawings, detailed description of well-known functions or constructions that may obscure the subject matter of the present invention will be omitted. It should be noted that the same constituent elements are denoted by the same reference numerals as possible throughout the drawings.

이하의 설명 및 도면에서 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위한 용어의 개념으로 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서 본 명세서에 기재된 실시 예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시 예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다.The terms and words used in the following description and drawings are not to be construed in an ordinary sense or a dictionary, and the inventor can properly define his or her invention as a concept of a term to be described in the best way It should be construed as meaning and concept consistent with the technical idea of the present invention. Therefore, the embodiments described in the present specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention, and not all of the technical ideas of the present invention are described. Therefore, It is to be understood that equivalents and modifications are possible.

또한, 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하기 위해 사용하는 것으로, 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용될 뿐, 상기 구성요소들을 한정하기 위해 사용되지 않는다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제2 구성요소는 제1 구성요소로 명명될 수 있고, 유사하게 제1 구성요소도 제2 구성요소로 명명될 수 있다.Also, terms including ordinal numbers such as first, second, etc. are used to describe various elements, and are used only for the purpose of distinguishing one element from another, Not used. For example, without departing from the scope of the present invention, the second component may be referred to as a first component, and similarly, the first component may also be referred to as a second component.

더하여, 어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급할 경우, 이는 논리적 또는 물리적으로 연결되거나, 접속될 수 있음을 의미한다. 다시 말해, 구성요소가 다른 구성요소에 직접적으로 연결되거나 접속되어 있을 수 있지만, 중간에 다른 구성요소가 존재할 수도 있으며, 간접적으로 연결되거나 접속될 수도 있다고 이해되어야 할 것이다.In addition, when referring to an element as being "connected" or "connected" to another element, it means that it can be connected or connected logically or physically. In other words, it is to be understood that although an element may be directly connected or connected to another element, there may be other elements in between, or indirectly connected or connected.

또한, 본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 또한, 본 명세서에서 기술되는 "포함 한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Also, the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. It is also to be understood that the terms such as " comprising "or" having ", as used herein, are intended to specify the presence of stated features, integers, It should be understood that the foregoing does not preclude the presence or addition of other features, numbers, steps, operations, elements, parts, or combinations thereof.

이하, 본 발명의 실시 예에 따른 음성 인식 서비스 제공 방법 및 이를 위한 장치에 대해 설명하도록 한다. Hereinafter, a method and apparatus for providing a voice recognition service according to an embodiment of the present invention will be described.

먼저, 본 발명의 실시 예에 따른 음성 인식 서비스 제공 시스템에 대하여 설명하도록 한다.First, a speech recognition service providing system according to an embodiment of the present invention will be described.

도 1은 본 발명의 실시 예에 따른 음성 인식 서비스 제공 시스템을 설명하기 위한 구성도이다. 1 is a block diagram illustrating a system for providing a voice recognition service according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 음성 인식 서비스 제공 시스템은 단말(100), 음향 출력 장치(200) 및 서비스 서버(300)를 포함하여 구성될 수 있다. 이때, 본 발명의 단말(100)과 음향 출력 장치(200)는 근거리 통신 방식으로 연결되어 정보를 송수신할 수 있으며, 단말(100)과 서비스 서버(300) 그리고 음향 출력 장치(200) 및 서비스 서버(300)는 통신망(500)을 경유하여 연결될 수 있다. Referring to FIG. 1, the voice recognition service providing system of the present invention may include a terminal 100, an audio output apparatus 200, and a service server 300. The terminal 100 and the sound output apparatus 200 of the present invention can be connected to each other by a local area communication method to transmit and receive information. The terminal 100 and the service server 300, the sound output apparatus 200, (300) may be connected via a communication network (500).

단말(100)은 사용자의 요청에 따라 각종 데이터를 송수신할 수 있는 사용자의 장치를 의미한다. 특히, 본 발명의 단말(100)은 음향 출력 장치(200)와 근거리 통신 방식으로 연결되어 음향 출력 장치(200)의 조작을 위한 각종 설정 정보를 상기 음향 출력 장치(200)로 전송할 수 있다. 예컨대, 음향 출력 장치(200)가 알림 기능을 제공하는 경우 단말(100)은 알림 설정을 위한 각종 정보를 사용자로부터 입력 받아 이를 음향 출력 장치(200)로 제공할 수 있다. The terminal 100 refers to a user apparatus capable of transmitting and receiving various data according to a user's request. In particular, the terminal 100 of the present invention may be connected to the sound output apparatus 200 by a short distance communication method, and may transmit various setting information for operating the sound output apparatus 200 to the sound output apparatus 200. For example, when the sound output apparatus 200 provides a notification function, the terminal 100 may receive various information for notification setting from the user and provide the information to the sound output apparatus 200.

또한, 본 발명의 단말(100)은 음향 출력 장치(200)와 근거리 통신 방식으로 연결된 상태에서, 자신의 식별 정보를 음향 출력 장치(200)로 전송할 수 있으며, 음향 출력 장치(200)는 단말(100)의 식별 정보를 통신망(500)을 통해 서비스 서버(300)로 전송하여 보다 개인화된 서비스 제공을 지원할 수 있다.The terminal 100 of the present invention may transmit identification information of the terminal 100 to the sound output apparatus 200 while the sound output apparatus 200 is connected to the sound output apparatus 200 by a short distance communication method, 100 to the service server 300 through the communication network 500 to support more personalized service provisioning.

아울러, 본 발명의 실시 예에 따른 단말(100)은 웨이크업 단어를 설정하거나 변경할 수 있다. 다시 말해 본 발명의 음향 출력 장치(100)는 사용자의 음성 신호에서 웨이크업 단어(wakeup word)를 인식하고 웨이크업 단어가 인식됨에 따라 음성 신호를 서비스 서버(300)로 전송하거나 지정된 동작을 수행할 수 있는데, 이때의 웨이크업 단어를 지정하거나 변경하는 등의 과정을 단말(100)이 수행할 수 있다. In addition, the terminal 100 according to the embodiment of the present invention can set or change a wakeup word. In other words, the sound output apparatus 100 of the present invention recognizes a wakeup word in a voice signal of a user and transmits a voice signal to the service server 300 as a wakeup word is recognized or performs a specified operation The terminal 100 can perform a process of specifying or changing a wakeup word at this time.

또한, 본 발명의 실시 예에 따른 단말(100)은 컨텐츠 서비스 가입된 컨텐츠 제공 서버(400)에 대한 정보를 서비스 서버(300)로 전송할 수도 있다. 예컨대, 동일한 컨텐츠를 서비스하는 복수 개의 컨텐츠 제공 서버(400)가 존재한다고 가정하면, 단말(100)은 복수 개의 컨텐츠 제공 서버(400) 중 특정한 컨텐츠 제공 서버(400)가 제공하는 서비스에 가입할 수 있으며, 이에 따른 가입 정보를 서비스 서버(300)로 전송하여 컨텐츠 제공 서버(400)가 제공하는 컨텐츠를 음향 출력 장치(200)를 통해 이용할 수 있도록 설정할 수 있다. In addition, the terminal 100 according to the embodiment of the present invention may transmit information on the content providing server 400 to the service server 300. For example, assuming that there are a plurality of content providing servers 400 serving the same content, the terminal 100 can subscribe to a service provided by a specific content providing server 400 among the plurality of content providing servers 400 And the subscription information may be transmitted to the service server 300 so that the content provided by the content providing server 400 can be used through the audio output apparatus 200.

더하여, 본 발명의 단말(100)은 단말(100) 내 구비된 각종 어플리케이션의 설정 정보를 음향 출력 장치(200) 또는 서비스 서버(300)와 공유하거나 제공하여 음향 출력 장치(200)에서의 보다 지능적인 서비스가 이뤄지도록 지원할 수 있다. 예컨대, 사용자가 "오늘 약속 뭐지?"라고 발화하였다면 음향 출력 장치(200)는 이를 음성 신호로 생성하여 서비스 서버(300)로 전송하고 서비스 서버(300)는 사용자의 음성을 인식하고, 이에 따른 서비스를 제공하기 위해 단말(100)에 구비된 일정 관리 어플리케이션과 연동하여 사용자의 일정을 확인한 후, 확인된 응답 정보를 포함하는 응답 메시지, 예컨대 "7시 강남역에서 동창 모임이 있어요"를 음향 출력 장치(200)로 전송하여 제공할 수 있게 된다. In addition, the terminal 100 of the present invention shares or provides the setting information of various applications provided in the terminal 100 with the sound output apparatus 200 or the service server 300 to provide more intelligence in the sound output apparatus 200 Service can be performed. For example, if the user has uttered "What is the appointment today?", The sound output apparatus 200 generates a voice signal to the service server 300, the service server 300 recognizes the voice of the user, A schedule management application provided in the terminal 100 to provide a response message including the confirmed response information such as "There is a alumni meeting at 7:00 Kangnam station" to the sound output device 200).

이를 위해 본 발명의 단말(100)은 음향 출력 장치(200)를 제어하기 위한 서비스 어플리케이션을 미리 구비하고 있는 상태여야 한다. 상기 서비스 어플리케이션은 서비스 서버(300) 또는 별도의 어플리케이션 스토어를 통해 다운로드 하여 설치하거나 서비스 서버(300)에 접속하여 클라우드 서비스 방식으로 이용할 수도 있다. For this purpose, the terminal 100 of the present invention must be provided with a service application for controlling the sound output apparatus 200 in advance. The service application may be downloaded and installed through the service server 300 or a separate application store, or may be used as a cloud service method by accessing the service server 300.

본 발명의 음성 인식 서비스를 스피커를 통해 출력하여 제공하는 음향 출력 장치(200)는 일정 반경 내 사용자가 발화하는 사용자의 음성을 입력받아 음성 신호를 생성하고 생성된 음성 신호를 서비스 서버(300)와 연동하여 각종 컨텐츠 제공 서버(400)가 제공하는 컨텐츠를 출력하여 제공하는 역할을 수행한다. 특히, 본 발명의 음향 출력 장치(200)는 마이크를 포함하며 마이크를 통해 사용자의 발화 음성을 입력 받아 이를 음성 신호로 생성할 수 있다. 그리고 본 발명의 음향 출력 장치(200)는 마이크를 통해 입력되는 음성 신호를 소정 길이의 프레임으로 구분하고 구분된 프레임 단위로 음성 인식을 수행하여 미리 지정된 웨이크업 단어가 포함되는 지 여부를 확인한다. 여기서 웨이크업 단어는 미리 음향 출력 장치(200)에 등록된 단어를 의미하는 것으로, 사용자의 발화 음성에 웨이크업 단어가 포함되어 있을 경우, 본 발명의 음향 출력 장치(200)는 생성되는 음성 신호를 통신망(500)을 경유하여 서비스 서버(300)로 전송한다. 이때, 본 발명의 음향 출력 장치(200)는 음성 신호에서 상기 웨이크업 단어에 해당하는 프레임을 삭제한 후 서비스 서버(300)로 전송할 수 있으며, 웨이크업 단어를 모두 포함하는 음성 신호를 서비스 서버(300)로 전송할 수 있다. The sound output apparatus 200, which outputs speech recognition service of the present invention through a speaker, generates a sound signal by receiving a user's speech uttered by a user within a certain radius and transmits the generated sound signal to the service server 300 And outputs the contents provided by the various contents providing servers 400 and provides the contents. In particular, the sound output apparatus 200 of the present invention includes a microphone and receives a user's utterance voice through a microphone and generates it as a voice signal. The sound output apparatus 200 of the present invention divides a voice signal inputted through a microphone into frames of a predetermined length and performs speech recognition in units of separated frames to check whether or not a predetermined wake-up word is included. Here, the wake-up word means a word registered in advance in the sound output apparatus 200. When the wake-up word is included in the voice uttered by the user, the sound output apparatus 200 of the present invention outputs the generated voice signal To the service server 300 via the communication network 500. At this time, the sound output apparatus 200 of the present invention can delete a frame corresponding to the wake-up word from a voice signal, and then transmit the voice signal to the service server 300 300).

그리고, 본 발명의 음향 출력 장치(200)는 상기 음성 신호를 인식하여 사용자의 의도에 적합한 응답 정보가 서비스 서버(300)로부터 수신되면, 이를 구비된 스피커를 통해 음성 신호로 출력하는 과정을 수행하게 된다. 이때, 본 발명의 음향 출력 장치(200)는 서비스 서버(300)로부터 음성 신호 형태의 응답 메시지를 수신할 수 있으며, 수신된 응답 메시지를 사용자가 인지할 수 있는 가청 주파수 대역으로 변환하여 이를 스피커를 통해 출력할 수 있다.The sound output apparatus 200 of the present invention recognizes the voice signal and, when the response information suitable for the user's intention is received from the service server 300, the sound output apparatus 200 performs a process of outputting it as a voice signal through the provided speaker do. At this time, the sound output apparatus 200 of the present invention can receive a response message in the form of a voice signal from the service server 300, convert the received response message into an audible frequency band that can be recognized by the user, .

반면, 본 발명의 음향 출력 장치(200)는 서비스 서버(300)로부터 응답 메시지와 함께 링크 정보가 수신되었다면, 상기 링크 정보를 이용하여 컨텐츠 제공 서버(400)에 접속하고, 컨텐츠 제공 서버(400)로부터 해당 링크 정보에 해당하는 컨텐츠를 스트리밍 형태로 수신하여 이를 스피커를 통해 출력하는 과정을 수행할 수 있다. 예컨대 상기 링크 정보가 도 1의 컨텐츠 제공 서버B(400b)가 제공하는 A 음원에 대한 링크 정보일 경우, 음향 출력 장치(200)는 통신망(500)을 경유하여 컨텐츠 제공 서버B(400b)에 접속하고, A 음원을 요청하여 컨텐츠 제공 서버B(400b)로부터 스트리밍 데이터를 수신하고 이를 재생할 수 있게 된다. 이때, 상기 링크 정보에는 컨텐츠 제공 서버(400)에 접속해도 된다는 승인 정보를 포함할 수 있으며, 링크 정보를 수신한 음향 출력 장치(200)는 상기 컨텐츠 제공 서버(400)에 접속할 수 있는 권한이 있는 상태이므로, 별다른 인증 과정 없이 컨텐츠 제공 서버(400)는 컨텐츠를 제공할 수 있게 된다. On the other hand, if the link information is received together with the response message from the service server 300, the sound output apparatus 200 of the present invention accesses the content providing server 400 using the link information, And receiving the contents corresponding to the corresponding link information in a streaming form and outputting the contents through the speaker. For example, when the link information is link information for the sound source A provided by the content providing server B 400b of FIG. 1, the sound output apparatus 200 connects to the content providing server B 400b via the communication network 500 And requests stream A to receive streaming data from content providing server B 400b and reproduce the streaming data. At this time, the link information may include approval information that the content providing server 400 can be connected. The sound output apparatus 200 receiving the link information may have permission to access the content providing server 400 The content providing server 400 can provide the content without any authentication process.

한편, 서비스 서버(300)는 본 발명의 실시 예에 따른 음성 인식 서비스를 제공하는 서비스 사업자 주체의 장치를 의미한다. 본 발명의 서비스 서버(300)는 단말(100)과 연동하여 서비스 제공을 위한 각종 정보를 송수신할 수 있다. 또한, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)로부터 사용자가 발화하여 생성된 음성 신호를 수신하고 이에 해당하는 음성 인식 서비스를 제공할 수 있다. 특히, 본 발명의 서비스 서버(300)는 후단에 복수 개의 컨텐츠 제공 서버(400)와 연동할 수 있으며, 사용자의 음성 인식을 통해 사용자의 의도를 파악하고 적합한 컨텐츠를 제공할 수 있는 컨텐츠 제공 서버(400)를 확인한 후, 컨텐츠 제공 서버(400)로부터 컨텐츠를 전달받아 이를 음향 출력 장치(200)로 제공할 수 있다. 이때, 본 발명의 서비스 서버(300)는 단순히 컨텐츠 제공 서버(400)가 제공하는 컨텐츠를 음향 출력 장치(200)로 전달하는 것이 아니라, 음성 인식 서비스에 따른 응답 메시지를 구성하여 생성하고 이를 TTS(Text to Speech) 엔진을 통해 음성 신호로 변환한 후 변환된 음성 신호를 스트리밍 형태로 음향 출력 장치(200)로 전송하게 된다. Meanwhile, the service server 300 refers to a service provider entity providing a voice recognition service according to an embodiment of the present invention. The service server 300 of the present invention can transmit / receive various information for providing a service in cooperation with the terminal 100. In addition, the service server 300 of the present invention can receive a voice signal generated by a user from the sound output apparatus 200 and provide a voice recognition service corresponding thereto. In particular, the service server 300 of the present invention can interoperate with a plurality of content providing servers 400 at a subsequent stage, and can receive content from a content providing server 400, and then receive the content from the content providing server 400 and provide the content to the sound output apparatus 200. At this time, the service server 300 of the present invention not only delivers the content provided by the content providing server 400 to the sound output apparatus 200, but also constructs and generates a response message according to the voice recognition service, Text to Speech) engine, and then transmits the converted voice signal to the sound output apparatus 200 in a streaming form.

본 발명의 음향 출력 장치(200)와 서비스 서버(300) 사이의 동작에 대해서는 후술하여 보다 더 구체적으로 설명하도록 하며, 본 발명의 컨텐츠 제공 서버(400)는 서비스 서버(300)의 요청에 따라 해당하는 서비스 또는 정보를 상기 서비스 서버(300)로 전송하는 역할을 수행하는 컨텐츠 제공자(CP; Contents Provider)의 장치를 의미한다. 특히, 본 발명의 컨텐츠 제공 서버(400)는 서비스 서버(300)의 질의 종류 또는 자신이 제공하는 컨텐츠의 종류에 따라 서로 다른 형태의 응답을 전송할 수 있다. 예컨대 컨텐츠 제공 서버 A(400a)가 음원에 대한 스트리밍 서비스를 제공할 수 있는 컨텐츠 제공 서버(400)라면 상기 서비스 서버(300)로 요청에 따른 해당 음원을 스트리밍 할 수 있는 링크 정보를 전송할 수 있다. 반면, 컨텐츠 제공 서버 B(400b)가 날씨, 온도 등의 특정한 컨텐츠를 제공할 수 있는 서버라면 상기 서비스 서버(300)로 요청에 따라 확인된 특정 정보(현재 날씨, 현재 온도 등)만을 제공할 수 있다. The operation of the audio output apparatus 200 and the service server 300 of the present invention will be described in more detail with reference to the accompanying drawings. (CP) that performs a function of transmitting a service or information to the service server 300. [ In particular, the content providing server 400 of the present invention can transmit different types of responses according to the type of the query of the service server 300 or the type of the content provided by the service server 300 itself. For example, if the content providing server A 400a is a content providing server 400 capable of providing a streaming service for a sound source, the service providing server A 400a can transmit link information capable of streaming the corresponding sound source according to the request. On the other hand, if the content providing server B 400b is a server capable of providing specific contents such as weather and temperature, it can provide only the specific information (current weather, current temperature, etc.) have.

더하여, 본 발명에서의 컨텐츠는 영화, 음악과 같은 순수 컨텐츠는 날씨, 시간 등의 특정 정보, 게임 어플리케이션, 일정 관리 어플리케이션 등과 같은 특정 기능을 수행하는 응용 프로그램 모두를 지칭하는 개념이다. 이러한 컨텐츠는 스트리밍 데이터 형태로 음향 출력 장치(200)로 전송되거나 서비스 서버(300)로 전달될 수 있다. In addition, the content according to the present invention is a concept that refers to all application programs that perform specific functions such as movies, music, and the like, such as specific information such as weather, time, game application, and schedule management application. Such contents can be transmitted to the audio output apparatus 200 or to the service server 300 in the form of streaming data.

상술한 과정을 지원하는 통신망(500)은 인터넷 망과 같은 IP 기반의 유선 통신망뿐만 아니라, LTE(Long term evolution) 망, WCDMA 망과 같은 이동통신망, Wi-Fi망과 같은 다양한 종류의 무선망, 및 이들의 조합으로 이루어질 수 있으며, 이러한 통신망(500)은 접속망, 백본망, 인터넷망을 포함하여 구성될 수 있으나, 구체적인 구성 및 통신망에서의 동작은 공지된 다양한 기술을 적용할 수 있으므로, 구체적인 설명에 대해서는 생략하도록 한다. The communication network 500 supporting the above-described processes may be used not only for an IP-based wired communication network such as the Internet, but also for various types of wireless networks such as a long term evolution (LTE) network, a mobile communication network such as a WCDMA network, The backbone network, and the Internet network. However, since a variety of known technologies can be applied to the specific configuration and operation of the communication network, Are omitted.

또한, 본 발명의 통신망(500)은 하드웨어, 소프트웨어 등의 컴퓨팅 자원을 저장하고, 클라이언트가 필요로 하는 컴퓨팅 자원을 해당 단말기로 제공할 수 있는 클라우드 컴퓨팅망을 포함할 수 있다. 여기서, 클라우드 컴퓨팅이란 정보가 인터넷 상의 서버에 영구적으로 저장되고, 데스크톱, 태블릿 컴퓨터, 노트북, 넷북, 스마트폰 등의 클라이언트 단말기에는 일시적으로 보관되는 컴퓨터 환경을 의미하며, 클라우드 컴퓨팅은 이용자의 모든 정보를 인터넷 상의 서버에 저장하고, 이 정보를 각종 IT 기기를 통하여 언제 어디서든 이용할 수 있도록 하는 컴퓨터 환경 접속망을 의미한다. 이때, 본 발명의 단말(100)은 서비스 서버(300)의 접속을 위해 서비스 서버(300)가 제공하는 서비스 어플리케이션을 클라우드 컴퓨팅 방식으로 접근하여 이용할 수 있게 된다. In addition, the communication network 500 of the present invention may include a cloud computing network capable of storing computing resources such as hardware and software, and providing the computing resources required by the client to the terminals. Here, cloud computing refers to a computer environment in which information is permanently stored on a server on the Internet and temporarily stored in a client terminal such as a desktop, a tablet computer, a notebook, a netbook, or a smart phone. Cloud computing, Refers to a computer environment access network that stores information on a server on the Internet and makes the information available anytime and anywhere through various IT devices. At this time, the terminal 100 of the present invention can access the service application provided by the service server 300 for accessing the service server 300 by using a cloud computing method.

이상으로 본 발명의 실시 예를 위한 각 장치의 주요 구성에 대해 개략적으로 설명하였다. 본 발명의 실시 예에 따른 각 장치에 탑재되는 프로세서는 본 발명에 따른 방법을 실행하기 위한 프로그램 명령을 처리할 수 있다. 일 구현 예에서, 이 프로세서는 싱글 쓰레드(Single-threaded) 프로세서일 수 있으며, 다른 구현 예에서 본 프로세서는 멀티 쓰레드(Multithreaded) 프로세서일 수 있다. 나아가 본 프로세서는 메모리 혹은 저장 장치 상에 저장된 명령을 처리하는 것이 가능하다.The main constitution of each device for the embodiment of the present invention has been outlined above. A processor mounted on each device according to an embodiment of the present invention may process program instructions for executing the method according to the present invention. In one implementation, the processor may be a single-threaded processor, and in other embodiments, the processor may be a multithreaded processor. Further, the processor is capable of processing instructions stored on a memory or storage device.

이하, 본 발명의 실시 예에 따른 음성 인식 서비스 제공 시스템에서의 음성 인식 서비스 제공 방법에 대해 보다 더 구체적으로 설명하도록 한다. Hereinafter, a method for providing a voice recognition service in a voice recognition service providing system according to an embodiment of the present invention will be described in more detail.

특히, 본 발명의 음성 인식 서비스 제공 시스템은 서비스 서버(300)가 음성 인식 결과에 따라 응답 메시지를 구성하여 음향 출력 장치(200)로 전송하는 실시 예 및 응답 메시지와 함께 컨텐츠 제공 서버(400) 접속을 위한 링크 정보를 전송하는 실시 예를 중심으로 그 동작이 이뤄질 수 있다. Particularly, in the voice recognition service providing system of the present invention, the service server 300 constructs a response message according to the voice recognition result and transmits the response message to the sound output apparatus 200, Lt; / RTI > may be accomplished around an embodiment that transmits link information for the mobile station.

먼저, 응답 메시지를 구성하여 음향 출력 장치(200)로 전송하는 실시 예를 중심으로 본 발명의 음성 인식 서비스 제공 방법에 대해 설명하도록 한다. First, a description will be given of a method of providing a speech recognition service according to the present invention, with reference to an embodiment in which a response message is constructed and transmitted to the sound output apparatus 200.

도 2는 본 발명의 일 실시 예에 따른 음성 인식 서비스 제공 방법을 설명하기 위한 데이터 흐름도이다. 2 is a data flow chart for explaining a method of providing a voice recognition service according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 음향 출력 장치(200)는 기본적으로 대기 상태이다. 대기 상태에서 음향 출력 장치(200)는 사용자의 음성을 입력 받기 위한 마이크와 같이 일부 모듈에만 전원을 인가하고 그 외 서비스 서버(300)와의 통신을 위한 통신 모듈과 같은 불필요한 모듈에는 전원을 차단하게 된다. Referring to FIG. 2, the sound output apparatus 200 of the present invention is basically in a standby state. In a standby state, the audio output apparatus 200 applies power to only some modules, such as a microphone for receiving user's voice, and disconnects unnecessary modules such as a communication module for communication with the service server 300 .

또한, 본 발명의 대기 상태는 음성 인식 시작 전의 상태를 총칭할 수 있다. 다시 말해, 음향 출력 장치(200) 인근에 여러 사용자가 발화하거나 시끄러운 잡음이 존재하여 마이크를 통해 음성 신호가 지속적으로 인식되더라도, 웨이크업 단어가 입력될 때까지 입력되는 음성 신호를 지속적으로 삭제하고 서비스 서버(300)로 전달되지 않도록 제어하는 상태를 의미할 수도 있다.The standby state of the present invention can be collectively referred to as a state before speech recognition is started. In other words, even if a plurality of users are ignited near the sound output apparatus 200 or there is noisy noise and the voice signal is continuously recognized through the microphone, the voice signal input until the wake-up word is input is continuously deleted, It may mean a state of controlling not to be transmitted to the server 300.

이러한 상태에서 본 발명의 음향 출력 장치(200)는 일정 반경 내 사용자로부터 전달되는 음성을 구비된 마이크를 통해 입력 받아 이를 음성 신호로 생성하게 된다(S101). 이때, 본 발명의 음향 출력 장치(200)는 실시간으로 마이크를 통해 사용자의 음성을 입력 받아 디지털 형태의 음성 신호로 변환하고, 변환된 음성 신호를 일정 길이의 프레임으로 분리하여 음성 신호를 인식할 수 있다(S103). 이때, 본 발명의 음향 출력 장치(200)는 사전에 정의된 초기 구간에 대한 음성 신호를 인식하는 과정을 수행할 수 있다. 예컨대, 초기의 10 프레임에 대한 음성 신호를 인식하도록 설정되어 있을 경우, 상기 10 프레임에 대한 구간을 인식할 수 있다. 이를 위해 본 발명의 음향 출력 장치(200)는 입력되는 음성 신호를 장치 저장부에 저장할 수 있으며, 상기 프레임에 대한 인식 결과, 웨이크업에 해당하는 단어가 존재하는 지 여부를 판단하여(S105), 웨이크업에 해당하는 단어가 존재하지 않다면 상기 장치 저장부에 저장된 음성 신호를 삭제하고, 존재하는 경우, 실시간으로 프레임으로 분리되는 음성 신호를 스트리밍하여 서비스 서버(300)로 전송할 수 있다(S107). In this state, the sound output apparatus 200 of the present invention receives a voice transmitted from a user within a predetermined radius through a microphone and generates it as a voice signal (S101). At this time, the sound output apparatus 200 of the present invention receives a voice of a user through a microphone in real time, converts it into a digital voice signal, separates the converted voice signal into frames of a predetermined length, (S103). At this time, the sound output apparatus 200 of the present invention can perform a process of recognizing a voice signal for a predefined initial period. For example, if the speech signal for the initial 10 frames is set to be recognized, the section for the 10 frames can be recognized. For this purpose, the sound output apparatus 200 of the present invention can store an input voice signal in a device storage unit, and it is determined whether there is a word corresponding to a wake up result (S105) If there is no word corresponding to the wakeup, the voice signal stored in the device storage unit is deleted, and if it exists, the voice signal separated into frames in real time may be streamed and transmitted to the service server 300 (S107).

스트리밍되는 음성 신호를 수신하는 서비스 서버(300)는 상기 음성 신호를 프레임 단위로 인식하는 과정을 수행한다(S109). 이때, 본 발명의 서비스 서버(300)는 수신된 음성 신호에서 음성 특징 벡터를 추출하고 추출된 음성 특징 벡터에 대응하는 음소를 확인하게 된다. 여기서, 음소는 의미를 구별 짓는 최소의 단위(예: ㄱ, ㄹ, ㅓ, ㅕ, ㅁ)를 의미하는 것으로, 음소 인식에서는 이러한 단위의 집합으로 변환하는 과정을 수행할 수 있다. 이후에, 본 발명의 서비스 서버(300)는 인식된 음소들의 집합을 이용하여 의미를 가진 단어열로 구성되는 문장을 구성하고 이를 이용하여 의미를 분석할 수 있다(S111). The service server 300 receiving the audio signal to be streamed performs a process of recognizing the audio signal on a frame basis (S109). At this time, the service server 300 of the present invention extracts a speech feature vector from the received speech signal and confirms a phoneme corresponding to the extracted speech feature vector. Here, a phoneme refers to the smallest unit (eg, a, d, ㅓ, ㅕ, ㅁ) that distinguishes meaning. In phonemic recognition, a process of converting into a set of such units can be performed. Thereafter, the service server 300 of the present invention constructs a sentence composed of word strings having meaning using the set of recognized phonemes, and analyzes the meaning using the word sequence (S111).

그리고, 본 발명의 서비스 서버(300)는 단어열로 구성되는 문장을 분석하여, 각각의 단어열이 엔티티(entity)에 해당하는지 인텐트(intent)에 해당하는 지를 확인하게 된다(S113). 여기서, 엔티티는 사용자가 원하는 특정 서비스의 이름과 같이 미리 정의된 고유 명사를 의미할 수 있다. 예컨대, '날씨', '최신가요', '팝송', '시간', '약속' 등과 같이 미리 약속된 고유 명사를 엔티티로 추출할 수 있다. 반면 인텐트는 사용자의 의도를 포함하고 있는 단어열을 의미하는 것으로, 예컨대, '틀어줘', '몇시야', '어때' 등과 같이 엔티티를 제외한 사용자의 의도를 표현하기 위한 단어열에 해당할 수 있다. The service server 300 of the present invention analyzes a sentence composed of a word string to check whether each word string corresponds to an intent that corresponds to an entity (S113). Here, the entity may mean a predefined proper noun such as the name of a specific service desired by the user. For example, it is possible to extract a proper noun that has been promised in advance such as 'weather', 'latest song', 'pop song', 'time', 'appointment' On the other hand, an intent means a word string including a user's intention. For example, the intent may correspond to a word string for expressing a user's intention except an entity such as 'play', 'what time is' have.

예를 들어, 사용자가 "음악 들려줘"를 발화한 경우, 서비스 서버(300)는 '음악'은 엔티티로, '들려줘'는 인텐트로 분석할 수 있다. 또한, 사용자가 "공기청정기 켜줘"를 발화한 경우, 서비스 서버(300)는 '공기청정기'는 엔티티로, '켜줘'는 인텐트로 분석할 수 있다. 아울러, 본 발명의 서비스 서버(300)는 각각의 엔티티에 대응하여 서비스 제공 주체에 대한 정보를 테이블 형태로 저장할 수 있으며, 상기 분석된 엔티티를 이용하여 서비스 제공 주체, 다시 말해 컨텐츠 제공 서버를 확인할 수 있다(S119). 이때, 별도의 컨텐츠 제공 서버가 없을 경우, 서비스 서버(300)가 서비스 제공 주체가 될 수 있다. For example, when the user has uttered "Tell me music ", the service server 300 can analyze the 'music' as an entity and the 'tell me' intent. In addition, if the user has uttered "Turn on air purifier ", the service server 300 can analyze the 'air purifier' as an entity and the 'turn on' intent. In addition, the service server 300 of the present invention can store information on the service providing entity corresponding to each entity in the form of a table, and can identify the service providing entity, that is, the content providing server using the analyzed entity (S119). At this time, if there is no separate content providing server, the service server 300 may be a service providing entity.

또한, 본 발명의 서비스 서버(300)는 인텐트에 대응하여 사용자의 의도에 대한 정보를 테이블 형태로 저장하고 관리할 수 있으며, 분석된 인텐트를 이용하여 사용자의 의도를 정확하게 확인하고 이를 해당 컨텐츠 제공 서버(400)로 질의하여 서비스를 요청할 수 있다(S121). 예컨대, '들려줘' 인텐트에 대응하는 사용자 의도는 '재생'으로 확인하여 해당 컨텐츠 제공 서버(400)로 재생에 대한 서비스 요청을 전송할 수 있으며, '켜줘' 인텐트에 대응하는 사용자 의도는 '실행'으로 확인하여 해당 컨텐츠 제공 서버(400) 또는 서비스 서버(300)가 직접 엔티티에 대응하는 기기를 실행시킬 수 있다. In addition, the service server 300 of the present invention can store and manage information on a user's intention in the form of a table corresponding to the intent, accurately confirm the intention of the user using the analyzed intent, The service providing server 400 may request the service by requesting it (S121). For example, the intention of the user corresponding to the tent of 'Tell me' can be confirmed by 'Play', and the service request for the playback can be transmitted to the corresponding content providing server 400. The intention of the user corresponding to the ' 'So that the corresponding content providing server 400 or the service server 300 can directly execute the device corresponding to the entity.

또 다른 예를 들어, 엔티티가 '날씨'이며, '어때' 인텐트의 의도가 '문의' 라고 할 경우, 서비스 서버(300)는 상기 날씨 컨텐츠를 제공할 수 있는 컨텐츠 제공 서버a(400a)를 확인하고, 해당 컨텐츠 제공 서버a(400a)로 날씨에 대한 질의를 요청하게 된다. 이때, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)의 식별 정보를 확인하고, 음향 출력 장치(200)의 현재 위치 및 시간에 대한 정보를 확인한 후, 보다 구체적인 문의를 컨텐츠 제공 서버(400)로 질의할 수 있게 된다. 예컨대, 음향 출력 장치(200)의 현재 위치가 '서울시 구로구'라고 할 경우, 서비스 서버(300)는 현재 시간의 서울시 구로에 대한 날씨를 질의할 수 있으며, 컨텐츠 제공 서버(400)는 서비스 서버(300)의 질의 요청에 따라 해당하는 응답을 확인하여 서비스 서버(300)로 전송한다(S119).In another example, if the entity is 'weather' and the intent of 'how' is 'inquiry', the service server 300 transmits a content providing server a 400a capable of providing the weather content And requests the contents providing server 400a to inquire about the weather. At this time, the service server 300 of the present invention confirms the identification information of the sound output apparatus 200, confirms information on the current position and time of the sound output apparatus 200, 400). ≪ / RTI > For example, when the current location of the sound output apparatus 200 is 'Seoul City', the service server 300 can query the weather for the current time in Seoul, 300, and transmits the response to the service server 300 (S119).

이후, 본 발명의 서비스 서버(300)는 수신된 응답을 이용하여 응답 메시지를 구성한다(S121). 즉, 본 발명의 서비스 서버(300)는 컨텐츠 제공 서버(400)로부터 컨텐츠에 대한 응답 정보만을 수신한 상태이므로, 이를 음향 출력 장치(200)로 전송하기 위한 가공의 과정을 수행할 수 있다. Thereafter, the service server 300 of the present invention constructs a response message using the received response (S121). That is, since the service server 300 of the present invention receives only the response information about the content from the content providing server 400, the service server 300 can perform a process of transmitting the response information to the sound output device 200.

먼저, 컨텐츠 제공 서버(400)로부터 '비'라는 응답 정보가 수신되었다면, 서비스 서버(300)는 상기 컨텐츠를 포함하는 일련의 문장을 구성할 수 있다. 이때, 상기 일련의 문장은 음향 출력 장치(200)의 현재 위치 및 현재 시각은 고려하여 구성될 수 있다. 전술한 예에서, 음향 출력 장치(200)의 현재 위치가 서울시 구로라고 하며, 현재 시간이 2시라고 가정할 경우, 서비스 서버(300)는 상기 정보를 포함하여 "서울시 구로, 2시 현재 비가 내리고 있습니다"의 형태로 응답 메시지를 구성할 수 있다. 응답 메시지를 구성할 때 본 발명의 서비스 서버(300)는 사용자에 의해 설정된 정보를 고려하여 응답 메시지를 구성할 수 있다. 예를 들어, 단말(100)로부터 응답 메시지 구성을 위한 사용자의 설정 정보가 전달되면, 이를 기반으로 응답 메시지를 구성할 수 있는데, 사용자가 언어의 종류를 영어로 선택하면, 영어의 문법에 따라 컨텐츠 제공 서버(400)로부터 전달된 컨텐츠를 변환하고 응답 메시지를 구성할 수 있다. 또한, 사용자가 문체를 '친근하게'로 설정하였다면, 친근한 문체로 상기 응답 메시지를 구성할 수 있으며, 경어로 설정하였다면, 경어 문체로 상기 응답 메시지를 구성할 수도 있다. First, if response information 'rain' is received from the content providing server 400, the service server 300 may construct a series of sentences including the contents. At this time, the series of sentences may be configured in consideration of the current position and the current time of the sound output apparatus 200. In the above example, if the current location of the sound output apparatus 200 is referred to as a city of Seoul, and the current time is assumed to be 2:00, the service server 300 includes the information as " &Quot;, < / RTI > When constructing the response message, the service server 300 of the present invention can construct a response message in consideration of the information set by the user. For example, when the setting information of the user for constituting the response message is transmitted from the terminal 100, a response message can be configured based on the setting information. When the user selects the type of the language as English, It is possible to convert the content transferred from the providing server 400 and construct a response message. In addition, if the user sets the style to 'friendly', the response message can be constructed with a familiar style, and if the user is set to the honorific language, the response message can be configured with a vernacular style.

그리고, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)를 통해 구성된 응답 메시지를 출력하기 위해, 음성 신호로 변환하는 과정을 수행하고(S123), 전기적인 음성 신호로 변환된 응답 메시지를 실시간 스트리밍 형태로 음향 출력 장치(200)로 전송한다(S125). 즉, 음성 신호로 변환된 응답 메시지가 10개의 프레임으로 구성되는 경우, 한 프레임 단위로 실시간적으로 음향 출력 장치(200)로 전송하고, 음향 출력 장치(200)는 이를 스피커를 통해 출력하는 과정을 수행하게 된다(S127). The service server 300 of the present invention performs a process of converting the response message into an audio signal in order to output a response message configured through the audio output apparatus 200 (S123), and transmits a response message converted into an electrical audio signal And transmits it to the sound output apparatus 200 in a real-time streaming format (S125). That is, when the response message converted into the voice signal is composed of 10 frames, the voice message is transmitted to the sound output apparatus 200 in real time on a frame-by-frame basis, and the sound output apparatus 200 outputs the response message through the speaker (S127).

한편, 본 발명의 서비스 서버(300)는 여러 가지 이유로 응답 메시지를 구성하지 못할 경우, 예를 들어 S119 단계에서 컨텐츠 제공 서버(400)로부터 응답이 전달되지 않거나, 또는 S111 단계에서 의미를 분석할 수 없는 경우 등 응답 메시지를 구성하지 못할 때는 기본 응답 메시지, 예컨대 "지원되지 않는 서비스입니다."를 음향 출력 장치(200)로 전송할 수도 있다. Meanwhile, when the service server 300 of the present invention can not construct a response message for various reasons, for example, a response is not transmitted from the content providing server 400 in step S119, or the meaning can be analyzed in step S111 When it is not possible to construct a response message, such as when it is absent, it may transmit a basic response message, for example, "is an unsupported service" to the sound output apparatus 200.

한편, 본 발명의 음향 출력 장치(200)는 서비스 서버(300)로부터 전송된 링크 정보를 이용하여 컨텐츠 제공 서버(400)로부터 직접 데이터를 수신하여 출력할 수도 있다. Meanwhile, the audio output apparatus 200 of the present invention may receive and output data directly from the content providing server 400 using the link information transmitted from the service server 300.

이에 대해 도 3을 참조하여 설명하도록 한다. This will be described with reference to FIG.

도 3은 본 발명의 다른 실시 예에 따른 음성 인식 서비스 제공 방법을 설명하기 위한 데이터 흐름도이다. 3 is a data flow chart for explaining a method of providing a voice recognition service according to another embodiment of the present invention.

도 3을 참조하면, 본 발명의 음향 출력 장치(200)는 기본적으로 대기 상태이다. 대기 상태에서 음향 출력 장치(200)는 사용자의 음성을 입력 받기 위한 마이크와 같이 일부 모듈에만 전원을 인가하고 그 외 서비스 서버(300)와의 통신을 위한 통신 모듈과 같은 불필요한 모듈에는 전원을 차단하게 된다. Referring to FIG. 3, the sound output apparatus 200 of the present invention is basically in a standby state. In a standby state, the audio output apparatus 200 applies power to only some modules, such as a microphone for receiving user's voice, and disconnects unnecessary modules such as a communication module for communication with the service server 300 .

이러한 상태에서 본 발명의 음향 출력 장치(200)는 일정 반경 내 사용자로부터 전달되는 음성을 구비된 마이크를 통해 입력 받아 이를 음성 신호로 생성하게 된다(S201). 이때, 본 발명의 음향 출력 장치(200)는 실시간으로 마이크를 통해 사용자의 음성을 입력 받아 디지털 형태의 음성 신호로 변환하고, 변환된 음성 신호를 일정 길이의 프레임으로 분리하여 음성 신호를 인식할 수 있다(S203). 이때, 본 발명의 음향 출력 장치(200)는 사전에 정의된 초기 구간에 대한 음성 신호를 먼저 인식할 수 있다.In this state, the sound output apparatus 200 of the present invention receives a voice transmitted from a user within a certain radius through a microphone and generates it as a voice signal (S201). At this time, the sound output apparatus 200 of the present invention receives a voice of a user through a microphone in real time, converts it into a digital voice signal, separates the converted voice signal into frames of a predetermined length, (S203). At this time, the sound output apparatus 200 of the present invention can recognize the voice signal for the predefined initial section first.

이후, 초기 구간에 대한 음성 인식 결과, 웨이크업에 해당하는 단어가 존재하는 지 여부를 판단하여(S205), 웨이크업에 해당하는 단어가 존재하는 경우, 실시간으로 프레임으로 분리되는 음성 신호를 스트리밍 방식으로 서비스 서버(300)로 전송할 수 있다(S207). Thereafter, it is determined whether there is a word corresponding to the wake-up as a result of voice recognition for the initial section (S205). If a word corresponding to the wakeup exists, a voice signal separated into frames in real- To the service server 300 (S207).

이를 수신한 서비스 서버(300)는 음성 신호를 인식하는 과정을 수행한다(S209). 이때, 본 발명의 서비스 서버(300)는 수신된 음성 신호에서 음성 특징 벡터를 추출하고 추출된 음성 특징 벡터에 대응하는 음소를 확인하게 된다. 여기서, 음소는 의미를 구별 짓는 최소의 단위(예: ㄱ, ㄹ, ㅓ, ㅕ, ㅁ)를 의미하는 것으로, 음소 인식에서는 이러한 단위의 집합으로 변환하는 과정을 수행할 수 있다. 이후에, 본 발명의 서비스 서버(300)는 인식된 음소들의 집합을 이용하여 의미를 가진 단어열로 구성되는 문장을 구성하고 이를 이용하여 의미를 분석할 수 있다(S211). The service server 300 receives the voice signal and recognizes the voice signal (S209). At this time, the service server 300 of the present invention extracts a speech feature vector from the received speech signal and confirms a phoneme corresponding to the extracted speech feature vector. Here, a phoneme refers to the smallest unit (eg, a, d, ㅓ, ㅕ, ㅁ) that distinguishes meaning. In phonemic recognition, a process of converting into a set of such units can be performed. Thereafter, the service server 300 of the present invention constructs a sentence composed of word strings having meaning by using the set of recognized phonemes and analyzes the meaning using the word sequence (S211).

그리고, 본 발명의 서비스 서버(300)는 구성된 문장을 이용하여 의미 분석 시 단어열을 구분하고 구분된 단어열이 엔티티에 해당하는지 인텐트에 해당하는 지를 확인하게 된다(S213). 여기서, 엔티티는 사용자가 원하는 특정 서비스의 이름과 같이 미리 정의된 고유 명사를 의미할 수 있다. 예컨대, 날씨, 최신가요, 팝송, 시간, 약속 등과 같이 미리 약속된 고유 명사를 엔티티로 추출할 수 있다. 반면 인텐트는 사용자의 의도를 포함하고 있는 단어열을 의미하는 것으로, 예컨대, '틀어줘', '몇시야', '어때' 등과 같이 엔티티를 제외한 사용자의 의도를 표현하기 위한 단어열에 해당할 수 있다. Then, the service server 300 of the present invention identifies the word sequence in the semantic analysis and confirms whether the divided word sequence corresponds to an entity or an intent (S213). Here, the entity may mean a predefined proper noun such as the name of a specific service desired by the user. For example, it is possible to extract a proper noun that has been promised in advance, such as weather, latest song, pop song, time, appointment, etc., as an entity. On the other hand, an intent means a word string including a user's intention. For example, the intent may correspond to a word string for expressing a user's intention except an entity such as 'play', 'what time is' have.

예를 들어, 본 발명은 사용자의 의도에 대한 인텐트에 대응하여 단어열을 매칭하여 저장하고 있는 상태에서, 사용자가 발화한 음성에 '뭐야'라는 단어열이 존재할 경우, 이를 인텐트로 확인하고 상기 인텐트에 대응하는 사용자 의도 '질의'를 확인할 수 있으며, 해당 문장에서 질의하고자 하는 엔티티를 확인한 후 해당 엔티티에 대한 질의과정을 수행할 수 있다. For example, the present invention matches a word string corresponding to an intent of a user and stores the word string. When a word string 'what' exists in a voice uttered by the user, the word string is confirmed by an intent It is possible to confirm the user's intention 'query' corresponding to the intent, and to inquire the entity after confirming the entity to be queried in the sentence.

또 다른 예를 들어, 인식된 음성 신호에 대한 문장이 "최신곡 틀어줘"라고 할 경우, 본 발명의 서비스 서버(300)는 상기 문장의 형태로 음성 인식 결과를 구성하고 이 중에서 미리 등록된 '최신곡'이라는 단어열이 있으므로, 이를 엔티티로 파악하고, '틀어줘'라는 단어열이 있으므로 이를 '재생'으로 처리하여 인식할 수 있다.For example, if the sentence for the recognized speech signal is "Give the latest song", the service server 300 of the present invention constructs the speech recognition result in the form of the sentence, Since there is a word sequence of 'word', it is recognized as an entity, and since there is a word sequence 'play', it can be recognized by processing it as 'playback'.

이후, 본 발명의 서비스 서버(300)는 엔티티를 통해 컨텐츠 제공 서버(400)를 확인하게 된다(S215). 그리고 서비스 서버(300)는 인텐트에 해당하는 서비스를 질의할 수 있다(S217). 전술한 예에서, 엔티티가 '최신곡'이며, 인텐트에 대응하는 의도가 '재생'라고 할 경우, 서비스 서버(300)는 상기 최신곡에 대한 음원을 컨텐츠로 제공할 수 있는 컨텐츠 제공 서버b(400b)를 확인하고, 해당 컨텐츠 제공 서버b(400b)로 최신곡에 대한 재생을 요청하게 된다. 이때, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)의 식별 정보를 확인하고, 음향 출력 장치(200)의 가입자에 대한 정보를 확인하여 보다 맞춤화된 정보를 제공할 수 있다. 다시 말해, 최신곡 중 사용자의 성향을 반영한 음원을 컨텐츠 제공 서버b(400b)로 요청할 수 있게 된다. Thereafter, the service server 300 of the present invention confirms the content providing server 400 through the entity (S215). The service server 300 can query the service corresponding to the intent (S217). In the above example, when the entity is the 'latest song' and the intent corresponding to the intent is 'play', the service server 300 transmits a content providing server b 400b ), And requests the corresponding content providing server b 400b to reproduce the latest music. At this time, the service server 300 of the present invention can confirm the identification information of the sound output apparatus 200 and provide more customized information by checking the information of the subscriber of the sound output apparatus 200. [ In other words, it is possible to request a sound source reflecting the user's tendency of the latest music to the contents providing server b 400b.

이후, 컨텐츠 제공 서버(400)는 서비스 서버(300)의 질의 요청에 따라 해당하는 컨텐츠를 확인한 후, 해당 컨텐츠에 접속할 수 있는 링크 정보인 URL을 서비스 서버(300)로 전송하고(S219), 서비스 서버(300)는 상기 컨텐츠 제공 서버(400)로부터 링크 정보가 수신되면, 이를 음향 출력 장치(200)로 제공하기 위한 응답 메시지를 구성한다(S221). Then, the content providing server 400 confirms corresponding contents according to a query request of the service server 300, and then transmits a URL, which is link information that can access the corresponding content, to the service server 300 (S219) When the link information is received from the content providing server 400, the server 300 configures a response message to provide the link information to the sound output apparatus 200 (S221).

예컨대, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)로 컨텐츠에 접근할 수 있는 링크 정보를 전송하기 위해, "지금부터 최신곡을 틀어드리도록 할께요", "최신곡 중 추천하는 A 노래를 먼저 들려드릴께요"와 같이 기 정의된 방식으로 다양한 응답 메시지를 구성할 수 있다. For example, the service server 300 according to the present invention transmits the link information for accessing the content to the audio output apparatus 200, We can construct various response messages in a predefined manner, such as "Let's hear it first".

이때, 응답 메시지를 구성할 때 본 발명의 서비스 서버(300)는 사용자에 의해 설정된 정보를 고려하여 응답 메시지를 구성할 수 있다. 예를 들어, 단말(100)로부터 응답 메시지 구성을 위한 사용자의 설정 정보가 전달되면, 이를 기반으로 응답 메시지를 구성할 수 있는데, 사용자가 언어의 종류를 영어로 선택하면, 영어의 문법에 따라 컨텐츠 제공 서버(400)로부터 전달된 컨텐츠를 변환하고 응답 메시지를 구성할 수 있다. 또한, 사용자가 문체를 '친근하게'로 설정하였다면, 친근한 문체로 상기 응답 메시지를 구성할 수 있으며, 경어로 설정하였다면, 경어 문체로 상기 응답 메시지를 구성할 수도 있다. At this time, when constructing the response message, the service server 300 of the present invention can construct a response message in consideration of the information set by the user. For example, when the setting information of the user for constituting the response message is transmitted from the terminal 100, a response message can be configured based on the setting information. When the user selects the type of the language as English, It is possible to convert the content transferred from the providing server 400 and construct a response message. In addition, if the user sets the style to 'friendly', the response message can be constructed with a familiar style, and if the user is set to the honorific language, the response message can be configured with a vernacular style.

그리고, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)를 통해 구성된 응답 메시지를 출력하기 위해, 음성 신호로 변환하는 과정을 수행하고(S223), 전기적인 음성 신호로 변환된 응답 메시지를 실시간 스트리밍 형태로 음향 출력 장치(200)로 전송한다(S225). 즉, 음성 신호로 변환된 응답 메시지가 10개의 프레임으로 구성되는 경우, 한 프레임 단위로 실시간적으로 음향 출력 장치(200)로 전송하게 된다. 특히 본 발명의 서비스 서버(300)는 상기 응답 메시지 전송 시 컨텐츠 제공 서버(400)로부터 전송된 컨텐츠에 접근할 수 있는 링크 정보, 즉 컨텐츠에 대한 URL을 음향 출력 장치(200)로 전송하고, 음향 출력 장치(200)는 서비스 서버(300)로부터 수신된 응답 메시지를 출력한 이후에(S227), 서비스 서버(300)로부터 링크 정보가 수신됨을 확인하고(S229), 해당하는 컨텐츠 제공 서버(400)에 접근한 후 해당 URL에 대한 컨텐츠를 요청할 수 있다(S231). The service server 300 of the present invention performs a process of converting a response message configured through the sound output apparatus 200 into a speech signal (S223), and outputs a response message converted into an electrical speech signal To the sound output apparatus 200 in the form of a live streaming (S225). That is, when the response message converted into the voice signal is composed of 10 frames, the response message is transmitted to the sound output apparatus 200 in units of one frame in real time. In particular, the service server 300 of the present invention transmits link information for accessing the content transmitted from the content providing server 400, that is, the URL of the content, to the sound output apparatus 200 when transmitting the response message, After outputting the response message received from the service server 300 in step S227, the output apparatus 200 confirms that the link information is received from the service server 300 in step S229, And then request the contents of the URL (S231).

컨텐츠 제공 서버(400)는 음향 출력 장치(200)의 접근 경로가 자신이 제공한 링크 정보임을 확인하고, 별다른 음향 출력 장치(200)에 대한 인증 과정 없이 상기 음향 출력 장치(200)로 해당하는 컨텐츠를 스트리밍 형태로 전송하여 제공할 수 있다(S233).The contents providing server 400 confirms that the access path of the sound output apparatus 200 is the link information provided by the sound output apparatus 200 and transmits the corresponding contents In a streaming form (S233).

이를 수신한 음향 출력 장치(200)는 컨텐츠 제공 서버(400)로부터 전송되는 스트리밍 데이터를 실시간 수신하여 재생할 수 있게 된다. The audio output apparatus 200 receiving the streaming data can receive and reproduce the streaming data transmitted from the content providing server 400 in real time.

한편, 본 발명의 서비스 서버(300)는 컨텐츠 제공 서버(400)로부터 컨텐츠에 대한 링크 정보를 복수 개 수신한 경우, 이를 순차적으로 음향 출력 장치(200)로 전송할 수 있다. 예를 들어, 사용자가 요청한 컨텐츠가 최신곡 TOP100이라고 가정할 경우, 서비스 서버(300)는 컨텐츠 제공 서버(400)로부터 최신곡 TOP 100에 대한 URL의 목록을 수신할 수 있으며, 이를 음향 출력 장치(200)로 순차적 전송하고(S237), 이를 수신한 음향 출력 장치(200)는 상기 URL에 대한 정보를 확인한 후(S239), 마찬가지의 과정으로 컨텐츠 제공 서버(400)로 컨텐츠를 요청하고 스트리밍 데이터를 수신하여 재생할 수 있게 된다(S241 ~ S245).Meanwhile, when the service server 300 receives a plurality of pieces of link information for contents from the contents providing server 400, the service server 300 may sequentially transmit the link information to the sound output apparatus 200. For example, if it is assumed that the content requested by the user is the latest song TOP 100, the service server 300 can receive a list of URLs for the latest song TOP 100 from the content providing server 400, (Step S237). The sound output apparatus 200 receives the information on the URL (step S239). Then, the sound output apparatus 200 requests the contents providing server 400 for contents in the same process and receives the streaming data (S241 to S245).

한편, 서비스 서버(300)는 컨텐츠 제공 서버(400)로부터 수신되는 URL의 목록을 가공하여 편집하는 과정을 수행할 수 있으며, 서로 다른 컨텐츠 제공 서버(400)로부터 URL을 수집하고 이를 순차적으로 음향 출력 장치(200)로 전송할 수도 있다. 이 경우, 음향 출력 장치(200)가 S231 단계에서 접근하는 컨텐츠 제공 서버(400)와 S241 단계에서 접근하는 컨텐츠 제공 서버(400)는 서로 다를 수도 있다. Meanwhile, the service server 300 may process a list of URLs received from the content providing server 400 and edit the URLs, collect URLs from different content providing servers 400, To the device 200. In this case, the content providing server 400 accessed by the sound output apparatus 200 in step S231 and the content providing server 400 accessed in step S241 may be different from each other.

한편, 본 발명의 서비스 서버(300)는 여러 가지 이유로 응답 메시지를 구성하지 못할 경우, 예를 들어 S219 단계에서 컨텐츠 제공 서버(400)로부터 응답이 전달되지 않거나, 또는 S211 단계에서 의미를 분석할 수 없는 경우 등 응답 메시지를 구성하지 못할 때는 기본 응답 메시지, 예컨대 "지원되지 않는 서비스입니다."를 음향 출력 장치(200)로 전송할 수도 있다. Meanwhile, when the service server 300 of the present invention can not construct a response message for various reasons, for example, a response is not transmitted from the content providing server 400 in step S219, or the meaning can be analyzed in step S211 When it is not possible to construct a response message, such as when it is absent, it may transmit a basic response message, for example, "is an unsupported service" to the sound output apparatus 200.

이상으로, 본 발명의 실시 예에 따른 음성 인식 서비스 제공 시스템에서의 동작에 대해 설명하였다. The operation in the voice recognition service providing system according to the embodiment of the present invention has been described above.

이하에서는 본 발명의 실시 예에 따른 음성 인식 서비스 제공 방법을 장치를 중심으로 보다 더 구체적으로 설명하도록 한다. Hereinafter, a method for providing a voice recognition service according to an embodiment of the present invention will be described in more detail with reference to the drawings.

먼저, 도 4는 본 발명의 실시 예에 따른 단말의 주요 구성을 도시한 구성도이다. 4 is a configuration diagram illustrating a main configuration of a UE according to an embodiment of the present invention.

도 1 및 도 4를 참조하면, 본 발명의 실시 예에 따른 단말(100)은 통신부(10), 입력부(20), 제어부(30), 출력부(40) 및 저장부(40)를 포함하여 구성될 수 있다. 1 and 4, a terminal 100 according to an embodiment of the present invention includes a communication unit 10, an input unit 20, a control unit 30, an output unit 40, and a storage unit 40 Lt; / RTI >

각 구성 요소에 대해 보다 구체적으로 설명하면, 먼저, 통신부(10)는 음향 출력 장치(200) 및 서비스 서버(300)와 다양한 정보의 송수신을 지원하는 역할을 수행한다. 특히, 본 발명의 실시 예에 따른 통신부(10)는 음향 출력 장치(200)와 근거리 통신을 통해 연결되어, 음향 출력 장치(200) 설정과 관련된 각종 정보를 음향 출력 장치(200)로 전달하는 역할을 수행할 수 있다. 또한, 본 발명의 통신부(10)는 음향 출력 장치(200)의 설정, 또는 서비스 가입 정보를 통신망(500)을 통해 서비스 서버(300)로 전송할 수 있다. First, the communication unit 10 plays a role of supporting transmission and reception of various information to and from the audio output apparatus 200 and the service server 300. Particularly, the communication unit 10 according to the embodiment of the present invention is connected to the sound output apparatus 200 through short-range communication and transmits various information related to the setting of the sound output apparatus 200 to the sound output apparatus 200 Can be performed. The communication unit 10 of the present invention can transmit the setting of the sound output apparatus 200 or the service subscription information to the service server 300 through the communication network 500.

또한, 통신부(10)는 음향 출력 장치(200)에 대한 식별 정보를 통신망(500)을 통해 서비스 서버(300)로 전송하여 단말(100) 사용자에 대응한 음향 출력 장치(200)로 설정할 수 있으며, 이후의 서비스 서버(300)는 음향 출력 장치(200)의 식별 정보를 통해 어느 사용자의 음향 출력 장치(200)를 인지할 수 있도록 정보를 제공할 수 있다. The communication unit 10 may transmit the identification information about the sound output apparatus 200 to the service server 300 through the communication network 500 and may set the sound output apparatus 200 corresponding to the user of the terminal 100 , The service server 300 can provide information to identify the user's sound output apparatus 200 through the identification information of the sound output apparatus 200. [

입력부(20)는 사용자로부터 입력되는 숫자 및 문자 정보 등의 다양한 정보, 각종 기능 설정 및 단말(100)의 기능 제어와 관련하여 입력되는 신호를 제어부(30)로 전달한다. 특히, 본 발명의 입력부(20)는 서비스 어플리케이션(51)을 실행하기 위한 사용자 입력을 지원할 수 있다. 또한, 본 발명의 입력부(20)는 음향 출력 장치(200)의 설정에 필요한 각종 정보에 대한 사용자 입력을 지원할 수 있다. The input unit 20 transmits various information such as numbers and character information input from the user, various functions, and signals inputted in relation to the function control of the terminal 100, to the control unit 30. [ In particular, the input 20 of the present invention may support user input to execute the service application 51. [ In addition, the input unit 20 of the present invention can support user input of various information necessary for setting up the sound output apparatus 200.

이러한 입력부(20)는 상술한 바와 같이, 키보드나 키패드와 같은 키 입력 수단, 터치센서나 터치 패드와 같은 터치 입력 수단, 음성 입력 수단, 자이로 센서, 지자기 센서, 가속도 센서와 근접 센서, 그리고 카메라 중 적어도 하나 이상을 포함하여 이루어지는 제스처 입력 수단을 포함할 수도 있다. 이 외에도 현재 개발 중이거나 향후 개발될 수 있는 모든 형태의 입력 수단이 포함될 수 있다.As described above, the input unit 20 includes a key input unit such as a keyboard and a keypad, a touch input unit such as a touch sensor or a touch pad, a voice input unit, a gyro sensor, a geomagnetism sensor, an acceleration sensor and a proximity sensor, And gesture input means including at least one or more gesture input means. In addition, it can include all forms of input that are currently under development or can be developed in the future.

제어부(30)는 단말(100)의 전반적인 제어를 수행하는 것으로, 운영 체제(OS, Operation System) 및 각 구성을 구동시키는 프로세스 장치, 예컨대, 중앙처리장치(CPU, Central Processing Unit)가 될 수 있다. The control unit 30 performs overall control of the terminal 100 and may be an operating system (OS) and a process unit for driving each configuration, for example, a central processing unit (CPU) .

이러한, 본 발명의 제어부(30)는 각 구성 요소와 기능적으로 연결된다. 즉, 제어부(30)는 통신부(10), 입력부(20), 출력부(40) 및 저장부(50)를 포함하여 구성될 수 있다. The control unit 30 of the present invention is operatively connected to each component. That is, the control unit 30 may include a communication unit 10, an input unit 20, an output unit 40, and a storage unit 50.

특히, 본 발명의 실시 예에 따른 제어부(30)는 사용자의 요청에 따라 서비스 서버(300)가 제공하는 서비스 어플리케이션을 실행하는 과정 전반을 제어한다. 또한, 제어부(30)는 서비스 서버(300)가 제공하는 사용자 인터페이스 정보에 따라, 다양한 서비스 어플리케이션 실행 화면이 출력부(40)를 통해 출력되는 과정을 제어할 수 있다. 또한, 본 발명의 실시 예에 따른 제어부(30)는 상기 서비스 어플리케이션(51)을 통해 음향 출력 장치(200)와 관련된 다양한 제어 정보를 설정할 수 있다. 예컨대, 사용자의 요청에 따라 알람 정보를 설정할 수 있으며, 다른 어플리케이션(예컨대, 일정 관리 어플리케이션)에 기재된 정보를 음향 출력 장치(200) 또는 서비스 서버(300)에 전송하는 과정을 제어할 수 있다. 또한, 본 발명의 제어부(30)는 대기 상태인 음향 출력 장치(200)을 웨이크업 할 수 있는 웨이크업 워드(wakeup word)를 설정하는 과정을 수행할 수 있다. In particular, the controller 30 according to the embodiment of the present invention controls the entire process of executing the service application provided by the service server 300 according to the request of the user. In addition, the control unit 30 can control the process of outputting various service application execution screens through the output unit 40 according to the user interface information provided by the service server 300. Also, the control unit 30 according to the embodiment of the present invention can set various control information related to the sound output apparatus 200 through the service application 51. [ For example, the alarm information can be set according to a user's request, and the process of transmitting information described in another application (for example, a schedule management application) to the sound output apparatus 200 or the service server 300 can be controlled. In addition, the control unit 30 of the present invention can perform a process of setting a wakeup word that can wake up the sound output apparatus 200 in a standby state.

출력부(40)는 단말(100)의 기능 수행 중에 발생하는 일련의 동작 상태 및 동작 결과 등에 대한 정보를 표시한다. 특히, 본 발명의 출력부(40)는 서비스 어플리케이션 실행 중에 발생되는 다양한 정보를 표시할 수 있다. 이러한, 출력부(40)는 상술한 바와 같이 입력부(20)와 함께 하나의 터치패널(또는 터치스크린)의 형태로 구현될 수도 있으며, 상기 입력부(20)와 함께 구현되는 경우, 사용자의 터치 동작에 따라 발생되는 다양한 정보들을 표시할 수 있다.The output unit 40 displays information on a series of operation states, operation results, and the like that occur during the performance of the function of the terminal 100. In particular, the output unit 40 of the present invention can display various information generated during execution of a service application. The output unit 40 may be implemented as one touch panel (or touch screen) together with the input unit 20 as described above. When the output unit 40 is implemented together with the input unit 20, Can be displayed.

아울러, 저장부(50)는 본 발명의 실시 예에 따른 기능 동작에 필요한 응용 프로그램을 비롯하여, 그 응용 프로그램 실행 중에 발생되는 다양한 데이터를 일시적으로 저장할 수 있다. 특히, 본 발명의 실시 예에 따른 저장부(50)는 음향 출력 장치(200)와 관련된 각종 정보를 설정할 수 있는 서비스 어플리케이션(51)을 미리 저장할 수 있다. 한편, 상기 서비스 어플리케이션(51)은 경우에 따라 클라우드 컴퓨팅 방식으로 서비스되는 경우, 저장부(50)는 상기 서비스 어플리케이션 구동과 관련된 정보를 일시적으로 저장한 후, 서비스 종료에 따라 상기 서비스 어플리케이션과 관련된 정보는 삭제될 수도 있다. In addition, the storage unit 50 may temporarily store various data generated during execution of the application program, including an application program required for the functional operation according to the embodiment of the present invention. In particular, the storage unit 50 according to the embodiment of the present invention may store in advance a service application 51 capable of setting various information related to the sound output apparatus 200. [ Meanwhile, when the service application 51 is serviced in a cloud computing manner according to circumstances, the storage unit 50 temporarily stores information related to driving the service application, and then, according to the service end, May be deleted.

이러한 저장부(50)는 크게 프로그램 영역과 데이터 영역을 포함할 수 있다. 프로그램 영역은 단말(100)를 부팅시키는 운영체제(OS)와 같은 단말(100) 구동을 위한 관련된 정보들을 저장한다. 데이터 영역은 단말(100)의 사용에 따라 발생되는 데이터가 저장되는 영역으로, 상술한 바와 같이 서비스 어플리케이션, 상기 서비스 어플리케이션 실행 중에 발생되는 다양한 정보, 특히 사용자 인터페이스에 대한 정보가 저장될 수 있다. 이러한, 저장부(50)는 플래시 메모리(flash memory), 하드디스크(hard disk), 멀티미디어 카드 마이크로(multimedia card micro) 타입의 메모리(예컨대, SD 또는 XD 메모리 등), 램(RAM), 롬(ROM) 등의 저장매체를 포함하여 구성될 수 있다.The storage unit 50 may include a program area and a data area. The program area stores related information for driving the terminal 100, such as an operating system (OS) for booting the terminal 100. [ The data area is an area in which data generated according to the use of the terminal 100 is stored. As described above, the service application and various information generated during execution of the service application, in particular, information on the user interface can be stored. The storage unit 50 may be a flash memory, a hard disk, a memory of a multimedia card micro type (e.g., SD or XD memory), a RAM, a ROM ROM), and the like.

더불어, 본 발명의 일 실시 예에서는 서비스 어플리케이션 등이 저장부(50)에 저장하고 있는 구성을 중심으로 설명하나 이에 한정되는 것은 아니며, 클라우드 서비스 방식에 따라 서비스 서버(300)와 연동하여 서비스 서버(300)에 저장될 수도 있다.In addition, although the service application and the like stored in the storage unit 50 are described as an example in the embodiment of the present invention, the present invention is not limited thereto. The service application server 300 may operate in conjunction with the service server 300 according to the cloud service system 300).

이와 같이, 도 2를 통해 단말(100)의 주요 구성요소에 대해 설명하였다. 그러나 도 2를 통해 도시된 구성요소가 모두 필수 구성요소인 것은 아니며, 도시된 구성요소보다 많은 구성 요소에 의해 단말(100)이 구현될 수도 있고, 그 보다 적은 구성요소에 의해 단말(100)이 구현될 수도 있다. 또한, 도 2를 통해 도시된 단말(100)의 주요 구성요소의 위치는 얼마든지 편의상 또는 다른 이유로 바뀔 수 있음이 물론이다. Thus, the main components of the terminal 100 have been described with reference to FIG. However, not all of the components shown in FIG. 2 are essential components, and the terminal 100 may be implemented by more components than the illustrated components, and the terminal 100 may be implemented by fewer components . It should be understood that the location of the major components of the terminal 100 shown in FIG. 2 may be changed for convenience or for other reasons.

이상으로 본 발명의 실시 예에 따른 단말(100)의 주요 구성 및 동작 방법에 대해 설명하였다. 이러한 본 발명의 단말(100)은 다양한 형태로 구현될 수 있다. 예를 들어, 본 명세서에서 기술되는 단말(100)은 스마트 폰(smart phone), 타블렛 PC(Tablet PC), PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), MP3 Player 등의 이동 단말기는 물론, 스마트 TV(Smart TV), 데스크탑 컴퓨터 등과 같은 고정 단말기가 사용될 수도 있다.The main configuration and operation method of the terminal 100 according to the embodiment of the present invention have been described above. The terminal 100 of the present invention can be implemented in various forms. For example, the terminal 100 described in the present specification may be a mobile terminal such as a smart phone, a tablet PC, a PDA (personal digital assistant), a portable multimedia player (PMP) , A smart TV, a desktop computer, etc. may be used.

이하, 본 발명의 실시 예에 따른 음향 출력 장치(200)의 주요 구성 및 동작에 대해 설명하도록 한다. Hereinafter, the main configuration and operation of the sound output apparatus 200 according to the embodiment of the present invention will be described.

도 5는 본 발명의 실시 예에 따른 음향 출력 장치의 주요 구성을 도시한 구성도이며, 도 6은 본 발명의 실시 예에 따른 음향 출력 장치에서의 음성 인식 서비스 제공 방법을 설명하기 위한 흐름도이다. FIG. 5 is a configuration diagram illustrating a main configuration of an audio output apparatus according to an embodiment of the present invention, and FIG. 6 is a flowchart illustrating a method of providing a voice recognition service in an audio output apparatus according to an embodiment of the present invention.

먼저, 도 5를 참조하면, 본 발명의 음향 출력 장치(200)는 음성 신호 입력부(210), 장치 제어부(220), 장치 통신부(230), 출력부(240) 및 장치 저장부(250)를 포함하여 구성될 수 있다. 5, an audio output apparatus 200 according to the present invention includes a voice signal input unit 210, a device control unit 220, a device communication unit 230, an output unit 240, and a device storage unit 250 And the like.

먼저, 본 발명의 음성 신호 입력부(210)는 복수 개의 다채널 마이크(211) 및 상기 마이크(211)를 통해 입력되는 아날로그 형태의 음성 신호를 전기적 신호로 변환하는 ADC(212)를 포함하여 구성될 수 있다. 특히, 본 발명의 음성 신호 입력부(210)는 사용자의 발화를 통해 발생되는 음성을 복수 개의 다채널 마이크(211)를 통해 입력받게 된다. 이때, 입력되는 음성은 주변의 잡음 및 다채널 마이크를 통해 발생되는 에코를 포함할 수 있다. 본 발명의 ADC(212)는 이러한 잡음 및 에코를 포함하는 아날로그 형태의 음성을 전기적 형태의 음성 신호로 변환하여 장치 제어부(220)로 전달한다. First, the voice signal input unit 210 of the present invention includes a plurality of multi-channel microphones 211 and an ADC 212 for converting an analog voice signal input through the microphone 211 into an electrical signal . In particular, the voice signal input unit 210 of the present invention receives voice generated through user's utterance through a plurality of multi-channel microphones 211. At this time, the input voice may include surrounding noise and echo generated through a multi-channel microphone. The ADC 212 of the present invention converts the analog voice including the noise and the echo into an electrical voice signal and transmits the voice signal to the device controller 220.

본 발명의 장치 제어부(220)는 음성 인식 모듈(221), 웨이크업 판단 모듈(222), 신호 처리 모듈(223) 및 서비스 처리 모듈(224)를 포함하여 구성될 수 있다. The device control unit 220 of the present invention may include a voice recognition module 221, a wakeup determination module 222, a signal processing module 223, and a service processing module 224.

이때, 상기 음성 인식 모듈(221)은 음성 신호 입력부(210)의 ADC(212)를 통해 전달되는 전기적 신호 형태의 음성 신호를 인식하기 위한 다양한 과정을 수행할 수 있다. 특히, 본 발명의 음성 인식 모듈(221)은 전기적 신호 형태의 음성 신호를 일정 길이의 프레임으로 분리하여 프레임 단위로 특징 벡터를 추출할 수 있다. 이때, 본 발명의 음성 인식 모듈(221)은 상기 음성 신호에 존재하는 잡음, 에코, 방향 등의 음성 신호 정보를 추출할 수도 있다. At this time, the voice recognition module 221 may perform various processes for recognizing a voice signal in the form of an electrical signal transmitted through the ADC 212 of the voice signal input unit 210. In particular, the speech recognition module 221 of the present invention can extract a feature vector in units of frames by dividing a speech signal in the form of an electrical signal into frames of a predetermined length. At this time, the voice recognition module 221 of the present invention may extract voice signal information such as noise, echo, and direction existing in the voice signal.

아울러, 본 발명의 음성 인식 모듈(221)은 프레임 단위로 음성 신호에 대해 푸리에 변환을 수행하여 스펙트럼 정보를 추출하고, 스펙트럼에 대한 필터 뱅크 에너지(Filterbank Energy)를 산출하게 된다. 즉, 주파수 대역을 여러 개의 필터 뱅크로 나누고 각 뱅크에서의 에너지에 로그 함수를 적용하여 로그 필터뱅크 에너지를 산출할 수 있다. 산출된 로그 필터뱅크 에너지에 대응하는 음소를 장치 저장부(250)의 음성 인식 정보(251)를 통해 확인하게 된다. 이후, 본 발명의 음성 인식 모듈(221)은 음소의 집합을 구성하고 이에 따른 단어열을 구성하여 문장을 완료함으로써 음성 인식 과정을 수행하게 된다. In addition, the speech recognition module 221 of the present invention extracts spectral information by performing Fourier transform on a speech signal on a frame-by-frame basis, and calculates a filter bank energy for a spectrum. That is, the frequency band can be divided into several filter banks, and the logarithmic function can be applied to the energy in each bank to calculate the log filter bank energy. And the phoneme corresponding to the calculated log filter bank energy is confirmed through the voice recognition information 251 of the device storage unit 250. Then, the speech recognition module 221 of the present invention constructs a set of phonemes and constructs a word sequence according to the word sequence, thereby completing the speech recognition process.

이러한 과정은 프레임 단위로 실시간 이뤄질 수 있으며, 본 발명의 음성 인식 모듈(221)을 통해 입력되는 음성 신호의 초기 구간에 대한 음성 인식을 수행하여 웨이크업에 동작을 수행할 지 여부를 웨이크업 판단 모듈(222)이 수행하게 된다. This process can be performed in real time on a frame-by-frame basis. The voice recognition module 221 performs voice recognition on an initial section of a voice signal input through the voice recognition module 221 to determine whether to perform an operation for wake- (222).

웨이크업 판단 모듈(222)은 실시간 단위로 음성 신호가 인식되면, 웨이크업을 위한 웨이크업 단어가 존재하는 지 여부를 확인할 수 있다. 상기 확인 결과, 웨이크업 단어가 존재하는 경우, 본 발명의 웨이크업 판단 모듈(222)은 장치 통신부(230), 출력부(240) 등의 대기 상태의 모듈에 전원이 인가되도록 제어할 수 있다. If the voice signal is recognized in real time, the wake-up determination module 222 can determine whether or not there is a wake-up word for wake-up. If the wakeup word exists, the wakeup determination module 222 of the present invention can control power to be applied to the standby module such as the device communication unit 230, the output unit 240, and the like.

그리고, 본 발명의 서비스 처리 모듈(223)은 이후의 음성 신호를 장치 통신부(230)의 서비스 연동 모듈(231)을 통해 서비스 서버(300)로 전송할 수 있으며, 서비스 서버(300)로부터 이에 대한 응답메시지가 전달되면, 이를 출력부(240)로 전달하게 된다. 특히, 본 발명의 서비스 처리 모듈(223)은 장치 통신부(230)의 서비스 연동 모듈(231)을 통해 컨텐츠 접근을 위한 링크 정보가 함께 포함되어 있다면, 상기 링크 정보를 통해 컨텐츠 제공 서버(400)에 접속할 수 있으며, 상기 컨텐츠 제공 서버(400)로부터 해당하는 컨텐츠에 대한 스트리밍 데이터를 상기 서비스 연동 모듈(231)을 통해 수신하고 이를 출력부(240)를 통해 출력하는 과정을 제어할 수 있다. The service processing module 223 of the present invention can transmit a subsequent voice signal to the service server 300 through the service interworking module 231 of the device communication unit 230 and can transmit a response When the message is transmitted, the message is transmitted to the output unit 240. In particular, if the service processing module 223 of the present invention includes link information for accessing contents through the service interworking module 231 of the device communication unit 230, the service processing module 223 may access the content providing server 400 through the link information And can control the process of receiving the streaming data for the corresponding content from the content providing server 400 through the service interworking module 231 and outputting the received streaming data through the output unit 240. [

장치 통신부(230)는 서비스 연동 모듈(231) 및 단말 연동 모듈(232)을 포함하며, 서비스 연동 모듈(231)은 통신망(500)을 통해 서비스 서버(300) 또는 컨텐츠 제공 서버(400)와 정보를 송수신하는 역할을 수행할 수 있다. 반면, 단말 연동 모듈(232)은 근거리 통신을 통해 단말(100)과 정보를 송수신하는 역할을 수행할 수 있다. The device communication unit 230 includes a service interlock module 231 and a terminal interlock module 232. The service interlock module 231 communicates with the service server 300 or the content providing server 400 via the communication network 500, Lt; RTI ID = 0.0 > and / or < / RTI > Meanwhile, the terminal interworking module 232 can exchange information with the terminal 100 through short-range communication.

출력부(240)는 전기적 신호인 음성 신호를 아날로그 형태로 변환하여 출력할 수 있는 DAC(Digital to Analog Converter, 241) 및 상기 DAC(241)를 통해 출력되는 음성 신호를 출력하는 스피커(242)를 포함하여 구성될 수 있다. The output unit 240 includes a DAC (Digital to Analog Converter) 241 for converting an audio signal, which is an electrical signal, into an analog form, and a speaker 242 for outputting a voice signal output through the DAC 241 And the like.

장치 저장부(25)는 본 발명의 실시 예에 따른 음향 출력 장치(200)의 구동과 관련된 각종 정보를 저장하고 관리하는 역할을 수행하게 된다. 특히 본 발명의 장치 저장부(250)는 입력되는 음성 신호를 실시간으로 인식하기 위한 음성 인식 정보(251)를 포함할 수 있으며, 웨이크업과 관련된 정보(252)를 저장하고 관리할 수 있다. 즉, 인식된 단어열이 상기 웨이크업 정보(252)에 저장된 웨이크업 단어에 해당하는 지 여부를 비교하는 데 활용될 수 있다. 또한 서비스 처리와 관련된 각종 정보(253)를 저장하고 관리할 수 있다. The device storage unit 25 stores and manages various information related to the driving of the audio output apparatus 200 according to the embodiment of the present invention. In particular, the device storage unit 250 of the present invention may include voice recognition information 251 for recognizing an input voice signal in real time, and may store and manage information 252 related to wakeup. That is, it can be used to compare whether or not the recognized word sequence corresponds to the wakeup word stored in the wakeup information 252. In addition, various information 253 related to the service process can be stored and managed.

이러한 본 발명의 실시 예에 따른 음향 출력 장치(200)에서의 동작에 대해 도 6을 참조하여 설명하도록 한다. The operation of the sound output apparatus 200 according to the embodiment of the present invention will be described with reference to FIG.

도 6을 참조하면, 본 발명의 음향 출력 장치(200)는 웨이크업 단어가 인식되기 전까지는 대기 상태를 유지할 수 있다(S301). 대기 상태에서 음향 출력 장치(200)는 사용자의 음성을 입력 받기 위한 마이크와 같이 일부 모듈에만 전원을 인가하고 그 외 서비스 서버(300)와의 통신을 위한 통신 모듈과 같은 불필요한 모듈에는 전원을 차단하게 된다. Referring to FIG. 6, the sound output apparatus 200 of the present invention can maintain a standby state until a wake-up word is recognized (S301). In a standby state, the audio output apparatus 200 applies power to only some modules, such as a microphone for receiving user's voice, and disconnects unnecessary modules such as a communication module for communication with the service server 300 .

이러한 상태에서 본 발명의 음향 출력 장치(200)는 일정 반경 내 사용자로부터 전달되는 음성을 구비된 마이크를 통해 입력 받아 이를 음성 신호로 생성하게 된다(S303). 이때, 본 발명의 음향 출력 장치(200)는 실시간으로 마이크를 통해 사용자의 음성을 입력 받아 디지털 형태의 음성 신호로 변환하고, 변환된 음성 신호를 일정 길이의 프레임으로 분리하여 음성 신호를 인식할 수 있다(S305). 이때, 본 발명의 음향 출력 장치(200)는 사전에 정의된 초기 구간에 대한 음성 신호를 먼저 인식할 수 있다. In this state, the sound output apparatus 200 of the present invention receives a voice transmitted from a user within a predetermined radius through a microphone and generates it as a voice signal (S303). At this time, the sound output apparatus 200 of the present invention receives a voice of a user through a microphone in real time, converts it into a digital voice signal, separates the converted voice signal into frames of a predetermined length, (S305). At this time, the sound output apparatus 200 of the present invention can recognize the voice signal for the predefined initial section first.

이후, 초기 구간에 대한 음성 인식 결과, 웨이크업에 해당하는 단어가 존재하는 지 여부를 판단하여(S307), 웨이크업에 해당하는 단어가 존재하는 경우, 실시간으로 프레임으로 분리되는 음성 신호를 스트리밍 방식으로 서비스 서버(300)로 전송할 수 있다(S309). Thereafter, it is determined whether there is a word corresponding to the wake-up as a result of voice recognition for the initial section (S307). If there is a word corresponding to the wakeup, a voice signal separated into frames in real- To the service server 300 (S309).

이를 수신한 서비스 서버(300)는 음성 신호를 인식하고, 사용자의 의도를 파악한 후 사용자가 발화한 음성 신호에 대한 응답 메시지를 생성할 수 있다. The service server 300 receiving the voice signal recognizes the voice signal and recognizes the intention of the user, and can generate a response message for the voice signal that the user has uttered.

그리고 서비스 서버(300)는 생성된 응답 메시지를 음향 출력 장치(200)로 전송하게 되며, 본 발명의 음향 출력 장치(200)는 서비스 서버(300)로부터 전기적 신호인 음성 신호로 변환된 응답 메시지가 수신되면(S311), 이를 구비된 스피커를 통해 출력할 수 있다(S313). 이때, 본 발명의 음향 출력 장치(200)는 응답 메시지를 아날로그 형태로 변환하는 과정을 수행할 수 있으며, 아날로그로 변환된 응답 메시지를 출력할 수 있다. Then, the service server 300 transmits the generated response message to the sound output apparatus 200, and the sound output apparatus 200 of the present invention receives the response message converted into the voice signal, which is an electrical signal, from the service server 300 If it is received (S311), it can be output through the provided speaker (S313). At this time, the sound output apparatus 200 of the present invention can perform a process of converting a response message into an analog form, and output a response message converted to analog.

그리고, 본 발명의 음향 출력 장치(200)는 서비스 서버(300)로부터 응답 메시지와 함께 컨텐츠 접근을 위한 링크 정보인 URL을 수신하였다면(S315), 상기 링크 정보를 이용하여 컨텐츠 제공 서버(400)에 접속할 수 있으면(S317), 상기 링크 정보에 해당하는 스트리밍 데이터를 수신하고(S319), 이를 재생하는 과정을 수행할 수 있다(S321). When receiving the response message and the URL, which is link information for content access, from the service server 300 (S315), the sound output apparatus 200 of the present invention transmits the URL to the content providing server 400 using the link information If it is possible to connect (S317), the streaming data corresponding to the link information is received (S319), and the streaming data corresponding to the link information can be reproduced (S321).

이상으로 본 발명의 실시 예에 따른 음향 출력 장치(200)의 주요 구성 및 동작에 대해 설명하였다. The main configuration and operation of the sound output apparatus 200 according to the embodiment of the present invention have been described above.

이하, 본 발명의 실시 예에 따른 서비스 서버(300)의 주요 구성 및 동작에 대해 설명하도록 한다. Hereinafter, the main configuration and operation of the service server 300 according to the embodiment of the present invention will be described.

도 7은 본 발명의 실시 예에 따른 서비스 서버의 주요 구성을 도시한 구성도이며, 도 8은 본 발명의 실시 예에 따른 음성 인식 과정을 설명하기 위한 예시도이다. 또한 도 9는 본 발명의 실시 예에 따른 서비스 서버에서의 음성 인식 서비스 제공 방법을 설명하기 위한 흐름도이다. FIG. 7 is a configuration diagram illustrating a main configuration of a service server according to an embodiment of the present invention, and FIG. 8 is an exemplary diagram illustrating a speech recognition process according to an embodiment of the present invention. 9 is a flowchart illustrating a method of providing a voice recognition service in a service server according to an embodiment of the present invention.

먼저, 도 7을 참조하면, 본 발명의 실시 예에 따른 서비스 서버(300)는 서버 통신부(310), 서버 저장부(320), 서버 제어부(330), 변환부(340) 및 컨텐츠 서버 연동부(350)를 포함하여 구성될 수 있다. 7, a service server 300 according to an exemplary embodiment of the present invention includes a server communication unit 310, a server storage unit 320, a server control unit 330, a conversion unit 340, (350).

각 구성 요소에 대해 보다 더 구체적으로 설명하면, 본 발명의 서버 통신부(310)은 단말(100) 및 음향 출력 장치(200)와 정보를 송수신하는 역할을 수행할 수 있다. 특히, 본 발명의 서버 통신부(310)는 통신망(500)을 경유하여 단말(100)로부터 음향 출력 장치(200) 제어 및 본 발명의 음성 인식 서비스와 관련된 각종 사용자 설정 정보를 입력받을 수 있다. 또한, 단말(100)로부터 음향 출력 장치(200)의 식별 정보를 수신하고, 단말(100)의 가입자 정보를 수신할 수 있다. 또한 본 발명의 서버 통신부(310)는 음향 출력 장치(200)로부터 사용자가 발화한 음성 신호를 전달받을 수 있으며, 상기 음향 출력 장치(200)로 상기 음성 신호에 대응하여 서버 제어부(330)가 생성한 응답 메시지 및 링크 정보를 전송할 수 있다. The server communication unit 310 of the present invention can perform the function of transmitting and receiving information to and from the terminal 100 and the sound output apparatus 200. [ In particular, the server communication unit 310 of the present invention can receive various user setting information related to the control of the sound output device 200 and the voice recognition service of the present invention from the terminal 100 via the communication network 500. In addition, it can receive the identification information of the sound output apparatus 200 from the terminal 100 and receive the subscriber information of the terminal 100. In addition, the server communication unit 310 of the present invention can receive a voice signal uttered by the user from the sound output apparatus 200, and the server control unit 330 generates A response message and link information can be transmitted.

서버 저장부(320)은 본 발명의 서비스 서버(300) 구동과 관련된 각종 정보를 저장하고 관리하는 역할을 수행할 수 있다. 특히 본 발명의 서버 저장부(320)는 음성 인식 및 의미 분석을 위해 필요한 각종 정보를 저장하고 관리할 수 있는데, 예컨대, 음성 인식을 위한 음향 모델 등을 저장하고 관리할 수 있으며, 의미 분석을 위해 엔티티 및 인텐트에 대한 정보를 저장하고 관리할 수 있다. The server storage unit 320 may store and manage various information related to the operation of the service server 300 of the present invention. In particular, the server storage unit 320 of the present invention can store and manage various kinds of information necessary for speech recognition and semantic analysis. For example, the server storage unit 320 can store and manage an acoustic model for voice recognition, You can store and manage information about entities and intents.

본 발명의 엔티티 및 인텐트에 대해 보다 더 구체적으로 설명하면, 본 발명의 엔티티는 사용자가 원하는 특정 서비스의 이름과 같이 미리 정의된 고유 명사를 의미할 수 있다. 예컨대, 날씨, 최신가요, 팝송, 시간, 약속, 타이머, 청정기, 핸드폰 등과 같이 제어를 수행하고자 하는 대상이 되는 고유 명사를 의미할 수 있다. 또한, 본 발명의 서버 저장부(320)는 상기 엔티티를 처리할 수 있는 주체에 대한 정보를 저장하고 관리할 수 있다. Describing the entities and intents of the present invention in more detail, the entities of the present invention may refer to predefined proper nouns, such as the name of a particular service a user desires. For example, it can mean a proper noun to be controlled, such as weather, latest song, pop song, time, appointment, timer, purifier, mobile phone, and the like. In addition, the server storage unit 320 of the present invention can store and manage information on a subject that can process the entity.

서비스 제공 주체Service provider 엔티티Entity 컨텐츠 제공 서버 AContent providing server A 날씨, 온도, 습도Weather, temperature, humidity 컨텐츠 제공 서버 BContent providing server B 최신곡, 팝송, 케이팝, 팝, 최신노래Latest Songs, Pop Songs, K-Pop, Pop, Latest Songs 서비스 서버Service server 일정, 약속, 타이머Schedule, appointment, timer

즉, 전술한 <표 1>과 같이, 본 발명의 서버 저장부(320)는 특정 엔티티를 처리할 수 있는 서비스 제공 주체에 대한 정보를 저장하고 관리할 수 있다. That is, as shown in Table 1, the server storage unit 320 of the present invention can store and manage information on a service providing entity that can process a specific entity.

또한, 본 발명의 서버 저장부(320)는 인텐트에 대응하는 단어열을 저장하고 관리할 수 있는 인텐트는 사용자의 의도를 포함하고 있는 단어열을 의미하는 것으로, 예컨대, '틀어줘', '몇시야', '어때', '들려줘', '켜줘', '알려줘' 등과 같이 사용자가 엔티티를 대상으로 원하는 의도를 표현하기 위한 단어열에 해당할 수 있다. The intent that can store and manage a word string corresponding to an intent is a word string including an intention of a user. For example, the server storage unit 320 may store ' The user may correspond to a word sequence for expressing a desired intention to an entity such as 'how many times', 'how about', 'tell me', 'turn on', 'tell me'

의도Intent 인텐트Intent 재생play 틀어줘, 들을까, 듣고싶어, 틀어봐, 시작Let me play, I hear it, I want to hear it, Play it, 중지stop 그만, 안들어, 중지, 싫어Stop, stop, stop, stop. 질의vaginal 뭐야, 어때, 확인해봐, 찾아봐Check it out.

즉 <표 2>에 도시된 바와 같이 서버 저장부(320)는 사용자의 의도를 나타낼 수 있는 단어열을 인텐트로 저장하고 관리할 수 있다. That is, as shown in Table 2, the server storage unit 320 can store and manage a word string indicative of a user's intent as an intent.

또한, 본 발명의 서버 저장부(320)는 본 발명의 실시 예에 따른 음성 인식 서비스 제공과 관련된 각종 정보를 저장하고 관리할 수 있다. In addition, the server storage unit 320 of the present invention can store and manage various information related to the provision of the voice recognition service according to the embodiment of the present invention.

서버 제어부(330)는 본 발명의 실시 예에 따른 서비스 서버(300)의 동작 전반을 관리하는 것으로, 전처리 모듈(331), 음성 인식 모듈(332), 의미 분석 모듈(333) 및 서비스 처리 모듈(334)을 포함하여 구성될 수 있다. The server control unit 330 manages the overall operation of the service server 300 according to the embodiment of the present invention and includes a preprocessing module 331, a voice recognition module 332, a semantic analysis module 333, 334).

전처리 모듈(331)은 서버 통신부(310)를 통해 음향 출력 장치(200)로부터 전달되는 음성 신호에서 음성 인식 이전의 전처리 단계를 수행한다. 예컨대, 음성 신호에서 잡음을 제거하는 등의 전처리 과정을 수행할 수 있다. The preprocessing module 331 performs a preprocessing step before voice recognition in a voice signal transmitted from the sound output apparatus 200 through the server communication unit 310. [ For example, a preprocessing process such as removing noise from a speech signal can be performed.

그리고 음성 인식 모듈(332)은 전처리 모듈(331)을 통해 전달되는 음성 신호를 인식하는 과정을 수행한다. 예컨대, 본 발명의 음성 인식 모듈(332)은 수신된 음성 신호에서 음성 특징 벡터를 추출하고 추출된 음성 특징 벡터에 대응하는 음소를 확인하게 된다. 여기서, 음소는 의미를 구별 짓는 최소의 단위(예: ㄱ, ㄹ, ㅓ, ㅕ, ㅁ)를 의미하는 것으로, 음성 특징 벡터에 대응음소 인식에서는 이러한 단위의 집합으로 변환하는 과정을 수행할 수 있다. 이후에, 본 발명의 음성 인식 모듈(332)은 인식된 음소들의 집합을 이용하여 의미를 가진 단어열로 구성되는 문장을 구성하고 이를 의미 분석 모듈(333)로 전달한다. The voice recognition module 332 recognizes the voice signal transmitted through the preprocessing module 331. For example, the speech recognition module 332 of the present invention extracts a speech feature vector from the received speech signal and confirms a phoneme corresponding to the extracted speech feature vector. Here, a phoneme refers to a minimum unit (eg, a, d, ㅓ, ㅕ, ㅁ) that distinguishes meaning, and a phoneme recognition corresponding phonetic feature vector can be converted into a set of such units . Thereafter, the speech recognition module 332 of the present invention constructs a sentence composed of word strings having meaning using the set of recognized phonemes, and transmits the sentence to the meaning analysis module 333.

의미 분석 모듈(333)은 상기 음성 인식 모듈(332)을 통해 전달되는 문장에서 단어열 각각을 분석하고 분석된 단어열이 엔티티에 해당하는 지 인텐트에 해당하는 지를 분석하게 된다. 도 8의 A를 예로 들어 설명하면, 사용자가 음향 출력 장치(200) 인근에서 "에이야, 지금 날씨 어때"라는 문장을 발화하였다고 가정한다. 이 문장에서 '에이야'는 웨이크업 단어로, 음향 출력 장치(200)는 사용자의 음성에서 해당 웨이크업 단어가 존재하는 것으로 판단되면, 해당 음성 신호 전체 또는 웨이크업 단어 이후의 음성 신호를 서비스 서버(300)로 전송할 수 있다. 서비스 서버(300)는 전처리 모듈(331)을 통해 에코, 잡음 등을 제거하고 음성 인식 모듈(332)는 도 8의 A에 도시된 바와 같이 음성을 인식하여 문장을 구성한다. 그리고 의미 분석 모듈(333)은 구성된 문장의 단어열을 분석하여 '지금', '어때'의 단어열은 인텐트로 '날씨'에 대응하는 단어열은 엔티티로 분석할 수 있다. 이때, 본 발명의 의미 분석 모듈(333)은 <표 1> 및 <표 2>를 참조하여 의미를 분석하게 되고 분석된 결과를 서비스 처리 모듈(334)로 전달한다. The semantic analysis module 333 analyzes each word string in a sentence transmitted through the speech recognition module 332 and analyzes whether the analyzed word string corresponds to a tent corresponding to the entity. 8A, it is assumed that the user has uttered the phrase "EYE, now the weather is good" near the sound output apparatus 200. [ In this sentence, 'EYE' is a wakeup word, and when the sound output device 200 determines that the corresponding wakeup word exists in the user's voice, (300). The service server 300 removes echo, noise, etc. through the preprocessing module 331, and the voice recognition module 332 recognizes the voice as shown in FIG. 8A and forms a sentence. Then, the meaning analysis module 333 analyzes the word sequence of the sentence to analyze the word sequence of 'now', the word sequence of 'how', and the word sequence corresponding to 'weather' as an entity. At this time, the semantic analysis module 333 of the present invention analyzes semantics referring to Table 1 and Table 2, and transmits the analyzed result to the service processing module 334.

서비스 처리 모듈(334)은 먼저 엔티티에 대응하는 서비스 제공 주체를 확인한다. 도 8의 A에서, ②번은 엔티티를 의미하므로, 날씨에 해당하는 컨텐츠 제공 서버 A(400a)를 서비스 제공 주체로 확인할 수 있다. 그리고, 해당 컨텐츠 제공 서버 A(400a)로 ③, ④번이 지시하는 바와 같이 인텐트를 이용하여 현재 시간의 날씨 정보를 질의하게 된다. 이때, 본 발명의 서비스 처리 모듈(334)은 음향 출력 장치(200)의 식별 정보를 확인하고, 상기 식별 정보에 대응하는 서비스 가입 정보를 서버 저장부(320)를 통해 확인할 수 있다. 그리고 확인된 정보에 따라 음향 출력 장치(200)의 현재 위치를 확인하고, 확인된 위치에서의 날씨 정보를 질의할 수 있다. The service processing module 334 first identifies the service providing entity corresponding to the entity. In FIG. 8A, (2) means an entity, so that the content providing server A 400a corresponding to the weather can be identified as a service providing entity. Then, as indicated by (3) and (4), the content providing server A 400a queries the weather information of the current time using the intent. At this time, the service processing module 334 of the present invention confirms the identification information of the sound output apparatus 200 and confirms the service subscription information corresponding to the identification information through the server storage unit 320. According to the confirmed information, the current position of the sound output apparatus 200 can be confirmed, and the weather information at the identified position can be inquired.

이후에 컨텐츠 서버 연동부(350)를 통해 컨텐츠 제공 서버a(400a)로부터 대응하는 컨텐츠가 전달되면, 서비스 처리 모듈(334)은 이를 포함하여 응답 메시지를 구성한다. 즉, 컨텐츠 서버 연동부(350)를 통해 '비'라는 컨텐츠가 전달되었다면, 서비스 처리 모듈(334)은 사용자의 현재 위치, 시간 정보를 포함하고, 컨텐츠 제공 서버 A(400a)로부터 전달된 응답 정보를 포함하여 "서울 구로, 2시 현재 날씨는 비가 오고 있습니다."와 같은 문장 형태의 응답 메시지를 구성할 수 있다. When the corresponding content is delivered from the content providing server 400a through the content server interworking unit 350, the service processing module 334 composes a response message including the corresponding content. In other words, if content called 'rain' is delivered through the content server interworking unit 350, the service processing module 334 includes the current location and time information of the user, and the response information transmitted from the content providing server A 400a , And a response message in the form of a sentence such as "It is raining in Seoul at 2 o'clock &quot;.

그리고 본 발명의 서비스 처리 모듈(334)은 변환부(341)의 TTS 엔진(341)을 통해 상기 응답 메시지를 음성 신호로 변환한다. 이후, 변환부(340)로부터 변환된 응답 메시지가 전달되면, 서비스 처리 모듈(334)은 서버 통신부(310)를 통해 상기 변환된 응답 메시지를 음향 출력 장치(200)로 전달할 수 있다. The service processing module 334 of the present invention converts the response message into a voice signal through the TTS engine 341 of the conversion unit 341. Thereafter, when the converted response message is transmitted from the converting unit 340, the service processing module 334 can transmit the converted response message to the sound output apparatus 200 through the server communication unit 310. [

또한, 본 발명의 서비스 처리 모듈(334)은 컨텐츠 서버 연동부(350)를 통해 컨텐츠 제공 서버(400)로부터 컨텐츠 접속을 위한 링크 정보가 수신되었다면, 수신된 링크 정보를 응답 메시지와 함께 서버 통신부(310)를 통해 음향 출력 장치(200)로 전달할 수 있다. The service processing module 334 of the present invention receives the link information for content connection from the content providing server 400 through the content server linking unit 350 and transmits the received link information to the server communication unit 310 to the audio output apparatus 200 via the audio output apparatus 200.

즉, 도 8의 B에 도시된 바와 같이, 사용자가 "에이야, 최신가요 틀어줘"라는 문장을 발화하였다고 가정한다. 이때, 마찬가지로 '에이야'는 웨이크업 단어로 본 발명의 음향 출력 장치(200)는 상기 '에이야'를 인식하고 그 이후 또는 전체 입력되는 음성 신호를 실시간으로 스트리밍 형태로 서비스 서버(300)로 전송하고, 서비스 서버(300)는 실시간 스트리밍 방식으로 전달되는 음성 신호를 인식하여, 사용자가 "최신가요 틀어줘"라는 문장을 발화하였음을 확인할 수 있다. 여기서, '최신가요'는 엔티티에 해당하는 단어열로, 서비스 처리 모듈(334)은 최신가요에 대응하는 서비스 제공 주체 컨텐츠 제공 서버b(400b)을 확인하고, 해당 컨텐츠 제공 서버b(400b)로 컨텐츠 서버 연동부(350)를 통해 서비스 제공을 요청한다. 즉 상기 문장에서 인텐트에 대응하는 단어열은 '틀어줘'이며, '틀어줘'에 대응하는 사용자의 의도가 재생을 의미하므로, 서비스 처리 모듈(334)은 상기 컨텐츠 제공 서버 b(400b)로 최신가요에 대한 재생을 요청하는 메시지를 생성하여 전송할 수 있다. That is, as shown in FIG. 8B, it is assumed that the user has uttered a sentence of "play the latest song." In this case, similarly, 'EYE' is a wake-up word, and the sound output apparatus 200 of the present invention recognizes the 'EYE' and outputs the audio signal to the service server 300 in real- And the service server 300 recognizes the voice signal transmitted in the real-time streaming manner, and confirms that the user has uttered the phrase "play the latest song." The service processing module 334 identifies the service providing subject content providing server b 400b corresponding to the latest song, and transmits the content to the content providing server b 400b And requests service provision through the content server interface unit 350. That is, the word sequence corresponding to the intent in the sentence is 'play' and the intention of the user corresponding to 'play' means playback, so that the service processing module 334 transmits the intention to the content providing server b 400b A message requesting playback of the latest song can be generated and transmitted.

이때, 본 발명의 서비스 서버(300)와 연동 가능한 컨텐츠 제공 서버 b(400b)는 즉시 컨텐츠를 서비스 서버(300)로 전달하는 것이 아니라, 해당 컨텐츠 접근할 수 있는 링크 정보를 전송하게 된다. 이때 사용자가 요청한 서비스가 최신가요 TOP100이면, 상기 TOP 100에 해당하는 각각의 음원에 대한 링크 정보를 전송할 수 있다. At this time, the content providing server b 400b, which can be interlocked with the service server 300 of the present invention, does not transmit the content to the service server 300 immediately but transmits link information for accessing the corresponding content. At this time, if the service requested by the user is the latest TOP 100, link information for each sound source corresponding to the TOP 100 can be transmitted.

이를 수신한 서비스 처리 모듈(334)은 상기 링크 정보를 포함하는 응답 메시지가 수신되면, 이에 따라 응답 메시지를 "최신가요 TOP100 들려 드릴께요"의 형태로 구성할 수 있다. 그리고 구성된 응답 메시지를 변환부(340)의 TTS 엔진을 통해 음성 신호로 변화하고 이를 서버 통신부(310)를 통해 음향 출력 장치(200)로 전달한다. Upon receipt of the response message including the link information, the service processing module 334 receiving the response message can construct a response message in the form of "Let's hear the latest TOP 100. &quot; Then, the response message is converted into a voice signal through the TTS engine of the conversion unit 340 and transmitted to the sound output apparatus 200 through the server communication unit 310.

이후에, 음향 출력 장치(200)는 서비스 서버(300)로부터 수신된 응답 메시지인 "최신가요 TOP100들려 드릴께요"를 스피커를 통해 출력하고 상기 서비스 서버(300)로부터 수신된 링크 정보에 따라 컨텐츠 제공 서버 b(400b)에 접근하여 음원에 대한 스트리밍 데이터를 수신할 수 있으며, 이를 재생할 수 있게 된다. Thereafter, the sound output apparatus 200 outputs a response message "Let's hear the latest song TOP 100" received from the service server 300 through the speaker, and transmits the response message to the contents providing server 300 according to the link information received from the service server 300. [ b 400b to receive streaming data for a sound source, and can reproduce the streaming data.

이러한 본 발명의 서비스 서버(300)에서의 음성 인식 서비스 제공 과정에 대해 흐름도를 참조하여 다시 설명하도록 한다. The process of providing the voice recognition service in the service server 300 according to the present invention will be described again with reference to a flowchart.

도 9는 본 발명의 실시 예에 따른 서비스 서버(300)에서의 주요 동작을 설명하기 흐름도로, 서비스 서버(300)는 음향 출력 장치(200)로부터 음성 신호를 수신한다(S501). 9 is a flowchart illustrating a main operation of the service server 300 according to an embodiment of the present invention. The service server 300 receives a voice signal from the sound output apparatus 200 (S501).

이후, 본 발명의 서비스 서버(300)는 음성 신호를 인식하는 과정을 수행한다(S503). 이때, 본 발명의 서비스 서버(300)는 수신된 음성 신호에서 음성 특징 벡터를 추출하고 추출된 음성 특징 벡터에 대응하는 음소를 확인하게 된다. 여기서, 음소는 의미를 구별 짓는 최소의 단위(예: ㄱ, ㄹ, ㅓ, ㅕ, ㅁ)를 의미하는 것으로, 음소 인식에서는 이러한 단위의 집합으로 변환하는 과정을 수행할 수 있다. 이후에, 본 발명의 서비스 서버(300)는 인식된 음소들의 집합을 이용하여 의미를 가진 단어열로 구성되는 문장을 구성하고 이를 이용하여 의미를 분석할 수 있다(S505). Thereafter, the service server 300 of the present invention performs a process of recognizing a voice signal (S503). At this time, the service server 300 of the present invention extracts a speech feature vector from the received speech signal and confirms a phoneme corresponding to the extracted speech feature vector. Here, a phoneme refers to the smallest unit (eg, a, d, ㅓ, ㅕ, ㅁ) that distinguishes meaning. In phonemic recognition, a process of converting into a set of such units can be performed. Thereafter, the service server 300 of the present invention constructs a sentence composed of word strings having meaning by using the set of recognized phonemes, and analyzes the meaning using the sentence structure (S505).

그리고, 본 발명의 서비스 서버(300)는 구성된 문장을 이용하여 의미 분석 시 단어열을 구분하고 구분된 단어열이 엔티티에 해당하는지 인텐트에 해당하는 지를 확인하게 된다(S507). 여기서, 엔티티는 사용자가 원하는 특정 서비스의 이름과 같이 미리 정의된 고유 명사를 의미할 수 있다. 예컨대, 날씨, 최신가요, 팝송, 시간, 약속 등과 같이 미리 약속된 고유 명사를 엔티티로 추출할 수 있다. 반면 인텐트는 사용자의 의도를 포함하고 있는 단어열을 의미하는 것으로, 예컨대, '틀어줘', '몇시야', '어때' 등과 같이 엔티티를 제외한 사용자의 의도를 표현하기 위한 단어열에 해당할 수 있다. In step S507, the service server 300 of the present invention identifies the word sequence in the semantic analysis and confirms whether the divided word sequence corresponds to an entity or a tent. Here, the entity may mean a predefined proper noun such as the name of a specific service desired by the user. For example, it is possible to extract a proper noun that has been promised in advance, such as weather, latest song, pop song, time, appointment, etc., as an entity. On the other hand, an intent means a word string including a user's intention. For example, the intent may correspond to a word string for expressing a user's intention except an entity such as 'play', 'what time is' have.

문장을 예로 들어 설명하면, "최신음악 틀어줘"라는 문장을 사용자가 발화하였다면, 상기 문장에서 '최신음악'은 엔티티를 의미하며, '틀어줘'는 인텐트를 의미한다. If the sentence is taken as an example, if the user has uttered the sentence "Give me the latest music," the phrase 'up-to-date music' in the above sentence means an entity and 'play' means an intent.

본 발명의 서비스 서버(300)는 최신음악 엔티티에 대한 서비스 제공 주체, 상기 최신음악을 서비스하는 컨텐츠 제공 서버(400)를 확인할 수 있다(S509). 그리고, 컨텐츠 제공 서버로 인텐트에 해당하는 서비스를 질의하게 된다(S511). 전술한 예에서, '틀어줘'가 인텐트이며, 서비스 서버(300)는 상기 '틀어줘'에 대응하는 사용자 의도를 인텐트 테이블 정보에서 확인하고 사용자 의도가 '재생'임을 알 수 있게 된다. 이후에, 서비스 서버(300)는 컨텐츠 제공 서버로 '최신음악'에 대한 재생 서비스를 질의하여 요청하게 된다.The service server 300 of the present invention can identify the service providing entity for the latest music entity and the content providing server 400 for providing the latest music in operation S509. Then, a service corresponding to the intent is inquired to the content providing server (S511). In the above example, 'play' is an intent, and the service server 300 can check the intention table corresponding to the user 'intention' and know that the intent of the user is 'play'. Thereafter, the service server 300 queries the content providing server for a playback service for 'latest music'.

이후에, 컨텐츠 제공 서버(400)는 상기 서비스 서버(300)의 요청에 따라 최신음악에 대한 링크 정보인 URL을 전송하고(S513), 이를 수신한 서비스 서버(300)는 수신된 링크 정보가 복수 개일 경우(S515), 재생 리스트(URL 리스트)를 생성할 수 있다. Thereafter, the content providing server 400 transmits a URL, which is link information on the latest music, in response to a request from the service server 300 (S513), and the service server 300 receives the link information, (S515), a reproduction list (URL list) can be generated.

이때, 본 발명의 서비스 서버(300)는 음향 출력 장치(200)의 식별 정보를 토대로 가입자 정보를 확인할 수 있으며, 가입자의 선호, 취향을 고려하여 재생 리스트를 동적으로 변경할 수 있다. At this time, the service server 300 of the present invention can check the subscriber information based on the identification information of the sound output device 200, and can dynamically change the play list considering the preference and taste of the subscriber.

이러한 과정을 거쳐 재생 리스트(URL 리스트)가 생성되면, 서비스 서버(300)는 상기 재생 리스트와 함께 전송할 응답 메시지를 구성한다(S519). When the reproduction list (URL list) is generated through this process, the service server 300 composes a response message to be transmitted together with the reproduction list (S519).

상기 응답 메시지는 사용자로부터 입력된 음성 신호에 대한 응답 메시지로, 예컨대 "최신음악 들려드릴께요"라는 응답 메시지를 생성할 수 있다. The response message may be a response message to a voice signal input by the user, for example, to generate a response message "Let me hear the latest music ".

그리고 서비스 서버(300)는 상기 생성된 응답 메시지를 음향 출력 장치(200)가 출력할 수 있는 음성 신호 형태로 변환하고(S521), 변환된 응답 메시지를 음향 출력 장치(200)로 전송한다(S523). The service server 300 converts the generated response message into a form of a voice signal that the sound output apparatus 200 can output (S521), and transmits the converted response message to the sound output apparatus 200 (S523 ).

특히, 본 발명의 서비스 서버(300)는 재생 리스트에 있는 모든 링크 정보를 일괄적으로 음향 출력 장치(200)로 전송하는 게 아니라 순차적으로 전송할 수 있으며, 다음 링크 정보가 존재하는 경우(S525), 다음 링크 정보를 더 전송할 수 있다(S527). In particular, the service server 300 of the present invention can sequentially transmit all the link information in the play list, rather than transmit the link information to the sound output apparatus 200 at a time. If the next link information exists (S525) The next link information may be further transmitted (S527).

다음 링크 정보를 전송하는 데 소요되는 시간은 상기 링크 정보에 대응하는 컨텐츠의 재생 시간을 고려하여 설정될 수 있다. 다시 말해, 제1 링크 정보를 음향 출력 장치(200)로 전송한 이후에, 상기 제1 링크 정보에 대응하는 재생 시간을 고려하여 3분 뒤에 다시 제2 링크 정보를 전송할 수 있다. The time required for transmitting the next link information may be set in consideration of the playback time of the content corresponding to the link information. In other words, after transmitting the first link information to the sound output apparatus 200, the second link information may be transmitted again after 3 minutes considering the reproduction time corresponding to the first link information.

이때, 음향 출력 장치(200)로부터 "다음 곡"이라는 음성 신호가 전달되면, 서비스 서버(300)는 상기 음성 신호를 인식하여 다음 곡 재생임을 확인하고, 상기 소요시간과는 무관하게 즉시 또 다른 링크 정보를 상기 음향 출력 장치(200)로 전송할 수 있게 된다. At this time, when a voice signal of the "next song" is transmitted from the audio output apparatus 200, the service server 300 recognizes the voice signal and confirms that the next song is reproduced. Information can be transmitted to the sound output apparatus 200.

이상으로 본 발명의 실시 예에 따른 음성 인식 서비스 제공 방법에 대해 설명하였다. The method for providing the voice recognition service according to the embodiment of the present invention has been described above.

상술한 바와 같은 본 발명의 음성 인식 서비스 제공 방법은 컴퓨터 프로그램 명령어와 데이터를 저장하기에 적합한 컴퓨터로 판독 가능한 매체의 형태로 제공될 수도 있다. The method of providing a speech recognition service of the present invention as described above may be provided in the form of a computer-readable medium suitable for storing computer program instructions and data.

특히, 본 발명의 컴퓨터 프로그램은 발화되는 사용자의 음성을 입력 받아 음성 신호를 생성하는 단계, 상기 음성 신호를 스트리밍하여 서비스 서버로 전송하는 단계, 상기 서비스 서버로부터 상기 음성 신호를 인식하여 생성된 응답 메시지 및 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 단계, 상기 링크 정보에 따라 해당하는 컨텐츠 제공 서버에 접속하는 단계, 상기 컨텐츠 제공 서버로부터 상기 컨텐츠에 대한 스트리밍 데이터를 수신하는 단계, 상기 응답 정보 및 상기 수신된 스트리밍 데이터를 재생하여 출력하는 단계 등을 실행하거나, 음향 출력 장치로부터 스트리밍되는 음성 신호를 수신하는 단계, 상기 수신되는 음성 신호를 인식하여 의미를 분석하고, 분석된 결과에 따라 대응하는 컨텐츠 제공 서버를 확인하는 단계, 상기 컨텐츠 제공 서버로부터 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 단계 및 상기 음성 신호에 대응하는 응답 메시지를 생성한 후 상기 응답 메시지 및 상기 링크 정보를 상기 음향 출력 장치로 전달하는 단계 등을 실행할 수 있다. In particular, the computer program of the present invention includes the steps of generating a voice signal by receiving a voice of a user to be uttered, transmitting the voice signal to a service server, receiving a response message Receiving link information for accessing a specific content, accessing a corresponding content providing server according to the link information, receiving streaming data for the content from the content providing server, Reproducing the streaming data and outputting the streaming data, or receiving the audio signal streamed from the audio output apparatus, analyzing the meaning of the received audio signal, analyzing the meaning of the received audio signal, The content providing server Receiving link information for accessing a specific content from the server, generating a response message corresponding to the voice signal, and transmitting the response message and the link information to the sound output apparatus.

이러한, 컴퓨터 프로그램 명령어와 데이터를 저장하기에 적합한 컴퓨터로 판독 가능한 매체는, 예컨대 기록매체는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(Magnetic Media), CD-ROM(Compact Disk Read Only Memory), DVD(Digital Video Disk)와 같은 광 기록 매체(Optical Media), 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media), 및 롬(ROM, Read Only Memory), 램(RAM, Random Access Memory), 플래시 메모리, EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM)과 같은 반도체 메모리를 포함한다. 프로세서와 메모리는 특수 목적의 논리 회로에 의해 보충되거나, 그것에 통합될 수 있다. Such computer-readable media suitable for storing computer program instructions and data include, for example, magnetic media such as hard disks, floppy disks and magnetic tape, compact disk read only memory (CD-ROM) Optical media such as a DVD (Digital Video Disk), a magneto-optical medium such as a floppy disk, and a ROM (Read Only Memory), a RAM , Random Access Memory), flash memory, EPROM (Erasable Programmable ROM), and EEPROM (Electrically Erasable Programmable ROM). The processor and memory may be supplemented by, or incorporated in, special purpose logic circuits.

또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 본 발명을 구현하기 위한 기능적인(Functional) 프로그램과 이와 관련된 코드 및 코드 세그먼트 등은, 기록매체를 읽어서 프로그램을 실행시키는 컴퓨터의 시스템 환경 등을 고려하여, 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론되거나 변경될 수도 있다.The computer readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. The functional program for implementing the present invention and the related code and code segment may be implemented by programmers in the technical field of the present invention in consideration of the system environment of the computer that reads the recording medium and executes the program, Or may be easily modified or modified by the user.

아울러, 상술한 바와 같은 컴퓨터가 읽을 수 있는 기록매체에 기록된 컴퓨터 프로그램은 상술한 바와 같은 기능을 수행하는 명령어를 포함하며 기록매체를 통해 배포되고 유통되어 특정 장치, 특정 컴퓨터에 읽히어 설치되고 실행됨으로써 전술한 기능들을 실행할 수 있다. In addition, a computer program recorded on a computer-readable recording medium as described above includes instructions for performing the functions as described above, distributed and distributed through a recording medium, read and installed in a specific device, a specific computer, Thereby performing the above-described functions.

본 명세서는 다수의 특정한 구현물의 세부사항들을 포함하지만, 이들은 어떠한 발명이나 청구 가능한 것의 범위에 대해서도 제한적인 것으로서 이해되어서는 안되며, 오히려 특정한 발명의 특정한 실시형태에 특유할 수 있는 특징들에 대한 설명으로서 이해되어야 한다. 개별적인 실시형태의 문맥에서 본 명세서에 기술된 특정한 특징들은 단일 실시형태에서 조합하여 구현될 수도 있다. 반대로, 단일 실시형태의 문맥에서 기술한 다양한 특징들 역시 개별적으로 혹은 어떠한 적절한 하위 조합으로도 복수의 실시형태에서 구현 가능하다. 나아가, 특징들이 특정한 조합으로 동작하고 초기에 그와 같이 청구된 바와 같이 묘사될 수 있지만, 청구된 조합으로부터의 하나 이상의 특징들은 일부 경우에 그 조합으로부터 배제될 수 있으며, 그 청구된 조합은 하위 조합이나 하위 조합의 변형물로 변경될 수 있다.While the specification contains a number of specific implementation details, it should be understood that they are not to be construed as limitations on the scope of any invention or claim, but rather on the description of features that may be specific to a particular embodiment of a particular invention Should be understood. Certain features described herein in the context of separate embodiments may be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments, either individually or in any suitable subcombination. Further, although the features may operate in a particular combination and may be initially described as so claimed, one or more features from the claimed combination may in some cases be excluded from the combination, Or a variant of a subcombination.

마찬가지로, 특정한 순서로 도면에서 동작들을 묘사하고 있지만, 이는 바람직한 결과를 얻기 위하여 도시된 그 특정한 순서나 순차적인 순서대로 그러한 동작들을 수행하여야 한다거나 모든 도시된 동작들이 수행되어야 하는 것으로 이해되어서는 안 된다. 특정한 경우, 멀티태스킹과 병렬 프로세싱이 유리할 수 있다. 또한, 상술한 실시형태의 다양한 시스템 컴포넌트의 분리는 그러한 분리를 모든 실시형태에서 요구하는 것으로 이해되어서는 안되며, 설명한 프로그램 컴포넌트와 시스템들은 일반적으로 단일의 소프트웨어 제품으로 함께 통합되거나 다중 소프트웨어 제품에 패키징 될 수 있다는 점을 이해하여야 한다.Likewise, although the operations are depicted in the drawings in a particular order, it should be understood that such operations must be performed in that particular order or sequential order shown to achieve the desired result, or that all illustrated operations should be performed. In certain cases, multitasking and parallel processing may be advantageous. Also, the separation of the various system components of the above-described embodiments should not be understood as requiring such separation in all embodiments, and the described program components and systems will generally be integrated together into a single software product or packaged into multiple software products It should be understood.

본 발명은 음성 인식 서비스 제공 방법에 관한 것으로, 더욱 상세하게는 마이크와 스피커를 포함하는 음향 출력 장치에서 입력되는 사용자의 음성을 인식하고 이에 해당하는 서비스를 음향 출력 장치를 통해 제공할 수 있는 음성 인식 서비스 제공 방법 및 이를 위한 장치에 관한 것이다. The present invention relates to a method of providing a voice recognition service, and more particularly, to a voice recognition service capable of recognizing a user's voice input from an audio output device including a microphone and a speaker, A service providing method and an apparatus therefor.

이러한 본 발명에 의하면, 마이크와 스피커를 포함하는 음향 출력 장치에서 입력되는 사용자의 음성을 인식하고 사용자의 의도를 파악한 후, 복수의 컨텐츠 제공 서버와 연동하여 적합한 음원을 출력하여 제공하거나, 적합한 서비스를 지능적으로 제공할 수 있어 사용자의 만족도를 높일 수 있는 효과가 있으며, 이를 통해 본 발명은 음성 인식, 인공 지능, 멀티미디어 컨텐츠 산업 등 다양한 산업상 이용 가능성이 충분하다. According to the present invention, it is possible to recognize a user's voice input from a sound output apparatus including a microphone and a speaker, to grasp a user's intention, and then output an appropriate sound source in cooperation with a plurality of content providing servers, The present invention can be applied to various industries such as speech recognition, artificial intelligence, multimedia contents industry, and the like.

100: 단말 200: 음향 출력 장치
210: 음성 신호 입력부 220: 장치 제어부
230: 장치 통신부 240: 출력부
300: 서비스 서버 310: 서버 통신부
320: 서버 저장부 330: 서버 제어부
340: 변환부 350: 컨텐츠 서버 연동부
400: 컨텐츠 제공 서버 500: 통신망
100: terminal 200: sound output device
210: audio signal input unit 220:
230: device communication unit 240: output unit
300: service server 310: server communication unit
320: server storage unit 330: server control unit
340: conversion unit 350: content server interface unit
400: Content providing server 500:

Claims (13)

음향 출력 장치가,
발화되는 사용자의 음성을 입력 받아 음성 신호를 생성하는 단계;
상기 음성 신호를 스트리밍하여 서비스 서버로 전송하는 단계;
상기 서비스 서버로부터 상기 음성 신호를 인식하여 생성된 응답 메시지 및 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 단계;
상기 링크 정보에 따라 해당하는 컨텐츠 제공 서버에 접속하는 단계;
상기 컨텐츠 제공 서버로부터 상기 컨텐츠에 대한 스트리밍 데이터를 수신하는 단계; 및
상기 응답 정보 및 상기 수신된 스트리밍 데이터를 재생하여 출력하는 단계;
를 포함하는 것을 특징으로 하는 음성 인식 서비스 제공 방법.
The sound output device comprises:
Generating a voice signal by receiving a voice of a user to be ignited;
Streaming the voice signal and transmitting it to a service server;
Receiving a response message generated by recognizing the voice signal from the service server and link information for accessing a specific content;
Accessing a corresponding content providing server according to the link information;
Receiving streaming data for the content from the content providing server; And
Reproducing the response information and the received streaming data and outputting the response information;
And generating a voice recognition service.
제1항에 있어서,
상기 전송하는 단계는
상기 음성 신호를 소정 길이의 프레임으로 구분하고, 상기 구분된 프레임 단위로 음성 인식을 수행하는 단계; 및
음성 인식을 수행한 결과, 특정 구간에 미리 지정된 웨이크업 단어가 존재하는 것으로 확인되면, 상기 음성 신호를 상기 프레임 단위로 스트리밍하여 상기 서비스 서버로 전송하는 단계;
를 포함하는 것을 특징으로 하는 음성 인식 서비스 제공 방법.
The method according to claim 1,
The transmitting step
Dividing the speech signal into frames of a predetermined length and performing speech recognition on a divided frame basis; And
Transmitting the voice signal to the service server by streaming the voice signal on a frame-by-frame basis if it is determined that a predetermined wake-up word exists in a specific section as a result of voice recognition;
And generating a voice recognition service.
서비스 서버가,
음향 출력 장치로부터 스트리밍되는 음성 신호를 수신하는 단계;
상기 수신되는 음성 신호를 인식하여 의미를 분석하고, 분석된 결과에 따라 대응하는 컨텐츠 제공 서버를 확인하는 단계;
상기 컨텐츠 제공 서버로부터 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 단계; 및
상기 음성 신호에 대응하는 응답 메시지를 생성한 후 상기 응답 메시지 및 상기 링크 정보를 상기 음향 출력 장치로 전달하는 단계;
를 포함하는 것을 특징으로 하는 음성 인식 서비스 제공 방법.
The service server,
The method comprising: receiving a voice signal streamed from an audio output device;
Recognizing the received voice signal, analyzing its meaning, and confirming a corresponding content providing server according to the analyzed result;
Receiving link information for accessing a specific content from the content providing server; And
Generating a response message corresponding to the voice signal, and transmitting the response message and the link information to the sound output device;
And generating a voice recognition service.
제3항에 있어서,
상기 확인하는 단계는
상기 음성 신호를 인식하여 엔티티(entity) 및 인텐트(intent)로 구분하여 의미를 분석하는 단계;
상기 엔티티에 대응하는 서비스 제공 주체인 컨텐츠 제공 서버를 확인하는 단계; 및
상기 컨텐츠 제공 서버로 상기 인텐트에 대응하는 사용자의 의도에 따른 서비스를 요청하여 단계;
를 포함하는 것을 특징으로 하는 음성 인식 서비스 제공 방법.
The method of claim 3,
The verifying step
Recognizing the voice signal and classifying the voice signal into an entity and an intent and analyzing the meaning;
Confirming a content providing server which is a service providing entity corresponding to the entity; And
Requesting a service according to a user's intention corresponding to the intent to the content providing server;
And generating a voice recognition service.
제3항에 있어서,
상기 링크 정보를 수신하는 단계에서
상기 링크 정보가 복수 개인 경우, 기 설정된 기준에 따라 상기 링크 정보에 대한 재생 리스트를 생성하며,
상기 음향 출력 장치로 전달하는 단계 이후에,
상기 재생 리스트에 따라 소정 시간 경과 후 또는 상기 음향 출력 장치의 요청에 따라 다음 링크 정보를 상기 음향 출력 장치로 전달하는 단계;
를 더 포함하는 것을 특징으로 하는 음성 인식 서비스 제공 방법.
The method of claim 3,
In the step of receiving the link information
Generates a playlist for the link information according to a predetermined criterion when a plurality of the link information are included,
After the step of transmitting to the sound output device,
Transferring the next link information to the audio output device after a predetermined time elapses or according to the request of the audio output device according to the reproduction list;
Further comprising the steps of:
제1항 내지 제5항 중 어느 하나의 항에 기재된 음성 인식 서비스 제공 방법을 실행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록매체.A computer-readable recording medium storing a program for executing the method for providing a speech recognition service according to any one of claims 1 to 5. 마이크를 통해 발화되는 사용자의 음성을 입력 받아 음성 신호를 생성하는 음성 신호 입력부;
스피커를 통해 응답 메시지 및 스트리밍 데이터를 출력하는 출력부; 및
상기 음성 신호를 스트리밍하여 서비스 서버로 전송하고, 상기 서비스 서버로부터 상기 음성 신호를 인식하여 생성된 응답 메시지 및 특정 컨텐츠 접근을 위한 링크 정보가 수신되면, 상기 응답 메시지가 상기 출력부를 통해 출력되도록 제어하며, 상기 링크 정보에 따라 해당하는 컨텐츠 제공 서버에 접속하여, 상기 컨텐츠에 대한 스트리밍 데이터를 수신하고, 상기 스트리밍 데이터를 재생하여 상기 출력부를 통해 출력되도록 제어하는 장치 제어부;
를 포함하는 것을 특징으로 하는 음향 출력 장치.
A voice signal input unit for receiving a user's voice generated through a microphone and generating a voice signal;
An output unit for outputting a response message and streaming data through a speaker; And
The control unit controls the receiving unit to output the response message through the output unit when the response message generated by recognizing the voice signal from the service server and the link information for accessing the specific content are received, A device control unit connected to the corresponding content providing server according to the link information to receive streaming data for the content, to reproduce the streaming data, and to output the streaming data through the output unit;
And a sound output unit for outputting sound.
제7항에 있어서,
상기 장치 제어부는
상기 음성 신호 입력부를 통해 입력되는 음성 신호를 소정 길이의 프레임으로 구분하고, 상기 구분된 프레임 단위로 음성 인식을 수행하여, 특정 구간에 미리 지정된 웨이크업 단어가 존재하는 것으로 확인되면, 상기 음성 신호를 상기 프레임 단위로 스트리밍하여 상기 서비스 서버로 전송되도록 제어하는 것을 특징으로 하는 음향 출력 장치.
8. The method of claim 7,
The device control unit
A voice signal input through the voice signal input unit is divided into frames of a predetermined length, voice recognition is performed on a divided frame basis, and if it is determined that a predetermined wakeup word exists in a specific section, And controls the streaming unit to transmit the streaming data to the service server.
사용자가 발화함에 따라 생성되는 음성 신호를 음향 출력 장치로부터 스트리밍 방식으로 수신하는 서버 통신부; 및
상기 서버 통신부를 통해 수신되는 음성 신호를 인식하여 의미를 분석하고, 분석된 결과에 따라 대응하는 컨텐츠 제공 서버를 확인하고, 상기 컨텐츠 제공 서버로부터 특정 컨텐츠 접근을 위한 링크 정보가 수신되면, 상기 음성 신호에 대응하는 응답 메시지를 생성한 후 상기 응답 메시지 및 상기 링크 정보를 상기 서버 통신부를 통해 상기 음향 출력 장치로 전달되도록 제어하는 서버 제어부;
를 포함하는 것을 특징으로 하는 서비스 서버.
A server communication unit for receiving a voice signal generated by a user in a streaming manner from an audio output apparatus; And
Recognizes a voice signal received through the server communication unit, analyzes the meaning, confirms a corresponding content providing server according to the analyzed result, and when link information for accessing specific contents is received from the contents providing server, A server controller for controlling the server to transmit the response message and the link information to the sound output device through the server communication unit;
The service server comprising:
제9항에 있어서,
엔티티에 대응하는 복수 개의 단어열 및 인텐트에 대응하는 복수 개의 단어열을 저장하는 서버 저장부;
를 더 포함하며
상기 서버 제어부는
상기 음성 신호를 인식하여 단어열 단위로 상기 서버 저장부에 저장된 엔티티 및 인텐트와 비교하여 의미를 분석하고, 상기 엔티티에 대응하는 서비스 제공 주체인 컨텐츠 제공 서버를 확인하고, 상기 컨텐츠 제공 서버로 상기 인텐트에 대응하는 사용자의 의도에 따른 서비스를 요청하여 상기 특정 컨텐츠 접근을 위한 링크 정보를 수신하는 것을 특징으로 하는 서비스 서버.
10. The method of claim 9,
A server storage unit for storing a plurality of word strings corresponding to the entities and a plurality of word strings corresponding to the intents;
Lt; / RTI &gt;
The server control unit
Recognizes the speech signal and compares the extracted speech signal with an entity and an intent stored in the server storage unit in terms of a word string to analyze the meaning and confirms a content providing server that is a service providing entity corresponding to the entity, And receives link information for accessing the specific content by requesting a service corresponding to the intent of the user corresponding to the intent.
제9항에 있어서,
상기 서버 제어부는
상기 컨텐츠 제공 서버로부터 링크 정보가 아닌 응답 정보가 수신되면, 상기 응답 정보를 포함하는 응답 메시지를 생성하여 상기 음향 출력 장치로 전달되도록 제어하는 것을 특징으로 하는 서비스 서버.
10. The method of claim 9,
The server control unit
And generates a response message including the response information when the response information other than the link information is received from the contents providing server, and controls the response message to be delivered to the sound output apparatus.
제9항에 있어서,
상기 서버 제어부는
상기 응답 메시지를 TTS(Text To Speech) 엔진을 통해 음성 신호로 변환한 후 변환된 응답 메시지를 상기 음향 출력 장치로 전달되도록 제어하는 것을 특징으로 하는 서비스 서버.
10. The method of claim 9,
The server control unit
Converts the response message to a voice signal through a TTS (Text To Speech) engine, and controls the converted response message to be delivered to the sound output device.
제3항에 있어서,
상기 서버 제어부는
상기 컨텐츠 제공 서버로부터 수신된 링크 정보가 복수 개인 경우, 기 설정된 기준에 따라 상기 링크 정보에 대한 재생 리스트를 생성하며, 상기 재생 리스트에 따라 소정 시간 경과 후 또는 상기 음향 출력 장치의 요청에 따라 다음 링크 정보를 상기 음향 출력 장치로 전달되도록 제어하는 것을 특징으로 하는 서비스 서버.
The method of claim 3,
The server control unit
And generating a playlist for the link information according to a predetermined criterion when a plurality of pieces of link information are received from the content providing server, Information to be transmitted to the sound output apparatus.
KR1020160140209A 2016-10-26 2016-10-26 Method for providing of voice recognition service and apparatus thereof KR102584324B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160140209A KR102584324B1 (en) 2016-10-26 2016-10-26 Method for providing of voice recognition service and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160140209A KR102584324B1 (en) 2016-10-26 2016-10-26 Method for providing of voice recognition service and apparatus thereof

Publications (2)

Publication Number Publication Date
KR20180045633A true KR20180045633A (en) 2018-05-04
KR102584324B1 KR102584324B1 (en) 2023-09-27

Family

ID=62199970

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160140209A KR102584324B1 (en) 2016-10-26 2016-10-26 Method for providing of voice recognition service and apparatus thereof

Country Status (1)

Country Link
KR (1) KR102584324B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11302319B2 (en) 2018-10-05 2022-04-12 Samsung Electronics Co., Ltd. Electronic apparatus and assistant service providing method thereof
WO2022182038A1 (en) * 2021-02-24 2022-09-01 삼성전자주식회사 Voice command processing device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100832534B1 (en) * 2006-09-28 2008-05-27 한국전자통신연구원 Apparatus and Method for providing contents information service using voice interaction
KR20080083553A (en) 2007-03-12 2008-09-18 (주)티아이스퀘어 Method and apparatus for providing video synthesizing call service using voice recognition
KR20100048141A (en) * 2008-10-30 2010-05-11 주식회사 케이티 Iptv contents searching system based on voice recognition and method thereof
KR20130137332A (en) * 2012-06-07 2013-12-17 주식회사 케이티 Speech recognition server for determining service type based on speech informaion of device, content server for providing content to the device based on the service type, the device, and methods thereof
KR20160119274A (en) * 2012-07-03 2016-10-12 구글 인코포레이티드 Determining hotword suitability

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100832534B1 (en) * 2006-09-28 2008-05-27 한국전자통신연구원 Apparatus and Method for providing contents information service using voice interaction
KR20080083553A (en) 2007-03-12 2008-09-18 (주)티아이스퀘어 Method and apparatus for providing video synthesizing call service using voice recognition
KR20100048141A (en) * 2008-10-30 2010-05-11 주식회사 케이티 Iptv contents searching system based on voice recognition and method thereof
KR20130137332A (en) * 2012-06-07 2013-12-17 주식회사 케이티 Speech recognition server for determining service type based on speech informaion of device, content server for providing content to the device based on the service type, the device, and methods thereof
KR20160119274A (en) * 2012-07-03 2016-10-12 구글 인코포레이티드 Determining hotword suitability

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11302319B2 (en) 2018-10-05 2022-04-12 Samsung Electronics Co., Ltd. Electronic apparatus and assistant service providing method thereof
US11817097B2 (en) 2018-10-05 2023-11-14 Samsung Electronics Co., Ltd. Electronic apparatus and assistant service providing method thereof
WO2022182038A1 (en) * 2021-02-24 2022-09-01 삼성전자주식회사 Voice command processing device and method

Also Published As

Publication number Publication date
KR102584324B1 (en) 2023-09-27

Similar Documents

Publication Publication Date Title
US11798547B2 (en) Voice activated device for use with a voice-based digital assistant
US11887590B2 (en) Voice enablement and disablement of speech processing functionality
US11437041B1 (en) Speech interface device with caching component
US11676575B2 (en) On-device learning in a hybrid speech processing system
US11237793B1 (en) Latency reduction for content playback
US11024307B2 (en) Method and apparatus to provide comprehensive smart assistant services
CN109074806B (en) Controlling distributed audio output to enable speech output
US20220335941A1 (en) Dynamic and/or context-specific hot words to invoke automated assistant
KR20180046780A (en) Method for providing of voice recognition service using double wakeup and apparatus thereof
US11810557B2 (en) Dynamic and/or context-specific hot words to invoke automated assistant
CN111344780A (en) Context-based device arbitration
US11862174B2 (en) Voice command processing for locked devices
US10079021B1 (en) Low latency audio interface
WO2019199742A1 (en) Continuous detection of words and related user experience
CN111640434A (en) Method and apparatus for controlling voice device
US10861453B1 (en) Resource scheduling with voice controlled devices
CN116917984A (en) Interactive content output
KR102584324B1 (en) Method for providing of voice recognition service and apparatus thereof
KR20180103273A (en) Voice synthetic apparatus and voice synthetic method
KR20180047597A (en) Method for providing of voice recognition service using information of voice signal with wakeup and apparatus thereof
US10475450B1 (en) Multi-modality presentation and execution engine
Caranica et al. Multilingual Low-Resourced Prototype System for Voice-Controlled Intelligent Building Applications
KR20220135398A (en) Speech procssing method and apparatus thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant