WO2019212221A1 - Voice input authentication device and method - Google Patents

Voice input authentication device and method Download PDF

Info

Publication number
WO2019212221A1
WO2019212221A1 PCT/KR2019/005174 KR2019005174W WO2019212221A1 WO 2019212221 A1 WO2019212221 A1 WO 2019212221A1 KR 2019005174 W KR2019005174 W KR 2019005174W WO 2019212221 A1 WO2019212221 A1 WO 2019212221A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice input
user
data
learning model
authenticating
Prior art date
Application number
PCT/KR2019/005174
Other languages
French (fr)
Korean (ko)
Inventor
허준호
김형식
이자즈 아메드무함마드
곽일엽
김일주
제상준
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020180092046A external-priority patent/KR102531654B1/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US17/052,736 priority Critical patent/US11551699B2/en
Publication of WO2019212221A1 publication Critical patent/WO2019212221A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/14Speech classification or search using statistical models, e.g. Hidden Markov Models [HMMs]
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/15Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being formant information

Definitions

  • the present disclosure relates to a device and a method for authenticating a voice input, and more particularly, to a device and a method for authenticating a voice input based on signal characteristics of the voice input.
  • AI Artificial Intelligence
  • AI technology is composed of elementary technologies that utilize machine learning (deep learning) and machine learning.
  • Machine learning is an algorithm technology that classifies / learns characteristics of input data by itself
  • element technology is a technology that simulates the functions of human brain cognition and judgment by using machine learning algorithms such as deep learning. It consists of technical areas such as understanding, reasoning / prediction, knowledge representation, and motion control.
  • Linguistic understanding is a technology for recognizing and applying / processing human language / characters and includes natural language processing, machine translation, dialogue system, question and answer, speech recognition / synthesis, and the like.
  • Visual understanding is a technology that recognizes and processes objects as human vision, and includes object recognition, object tracking, image retrieval, person recognition, scene understanding, spatial understanding, and image enhancement.
  • Inference Prediction is a technique for judging, logically inferring, and predicting information. It includes knowledge / probability-based inference, optimization prediction, preference-based planning, and recommendation.
  • Knowledge expression is a technology that automatically processes human experience information into knowledge data, and includes knowledge construction (data generation / classification) and knowledge management (data utilization).
  • Motion control is a technology for controlling autonomous driving of a vehicle and movement of a robot, and includes motion control (navigation, collision, driving), operation control (action control), and the like.
  • the user can operate or use various devices or services through voice input, and accordingly, the importance of security and authentication for the voice input provided by the user is highlighted.
  • Some embodiments may provide a device and method for authenticating voice input using a learning model that can distinguish whether a voice input is spoken from a person or output from a device based on signal characteristic data.
  • some embodiments may provide a device and method for authenticating a user using a learning model that can authenticate a user based on a voice input pattern.
  • some embodiments may provide a device and method for further authenticating a user using a learning model capable of authenticating the user through a question and answer.
  • a voice input authentication device a microphone for receiving the voice input, a memory for storing one or more instructions and a processor for executing the one or more instructions
  • the processor may include: acquiring signal characteristic data representing a signal characteristic of the voice input from the voice input by executing the one or more instructions, and converting the obtained signal characteristic data into attributes of the voice input.
  • Authenticating the voice input by applying it to a first learning model for determining, the first learning model being trained to determine the attribute of the voice input based on the voice spoken by a person and the voice output from the device. have.
  • the voice input authentication method the step of receiving a voice input, obtaining signal characteristic data representing the signal characteristics of the voice input from the voice input and the obtained signal characteristic data Authenticating the voice input by applying it to a first learning model for determining an attribute of the voice input, wherein the first learning model is based on a voice spoken by a person and a voice output from the device; It can be learned to determine the attribute of the voice input.
  • the computer-readable recording medium may be a computer-readable recording medium that records a program for executing the above-described method.
  • the device and the method for authenticating the voice input it is possible to more effectively defend against attacks by the external attacker's voice input.
  • FIG. 1 is a block diagram of a device in accordance with some embodiments.
  • FIG. 2 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
  • FIG. 3 is an exemplary flow diagram for describing a method for a device to obtain signal characteristic data, according to some embodiments.
  • 4A to 4D are diagrams for exemplarily describing signal characteristic data.
  • FIG. 5 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
  • FIG. 6 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
  • FIG. 7 is an exemplary flowchart for describing a method in which a device additionally authenticates a user, according to some embodiments.
  • FIG. 8 is an exemplary flowchart for describing a method of a device additionally authenticating a user, according to some embodiments.
  • FIG. 9 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
  • FIG. 10 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
  • 11 is a diagram for describing a function of a device, according to some embodiments.
  • FIG. 12 is a block diagram of a device in accordance with some embodiments.
  • FIG. 13 is a block diagram of a device in accordance with some embodiments.
  • FIG. 14 is a block diagram of a processor in accordance with some embodiments.
  • 15 is a block diagram of a data learner according to an exemplary embodiment.
  • 16 is a block diagram of a data recognizer according to some example embodiments.
  • 17 is a diagram illustrating an example of learning and recognizing data by interworking with a device and a server according to some embodiments.
  • the voice input authentication method comprises the steps of: receiving the voice input, acquiring signal characteristic data indicating a signal characteristic of the voice input from the voice input, and obtaining the attribute of the voice input from the acquired signal characteristic data. Authenticating the voice input by applying it to a first learning model for determining, wherein the first learning model is based on a voice spoken by a person and a voice output from a device; Can be learned to determine.
  • Some embodiments of the present disclosure may be represented by functional block configurations and various processing steps. Some or all of these functional blocks may be implemented in various numbers of hardware and / or software configurations that perform particular functions.
  • the functional blocks of the present disclosure may be implemented by one or more microprocessors or by circuit configurations for a given function.
  • the functional blocks of the present disclosure may be implemented in various programming or scripting languages.
  • the functional blocks may be implemented in algorithms running on one or more processors.
  • the present disclosure may employ the prior art for electronic configuration, signal processing, and / or data processing.
  • connecting lines or connecting members between the components shown in the drawings are merely illustrative of functional connections and / or physical or circuit connections. In an actual device, the connections between components may be represented by various functional connections, physical connections, or circuit connections that are replaceable or added.
  • ... unit refers to a unit that processes at least one function or operation, which may be implemented in hardware or software or a combination of hardware and software.
  • the “unit” and “module” may be implemented by a program stored in a storage medium that can be addressed and executed by a processor.
  • FIG. 1 is a block diagram of a device in accordance with some embodiments.
  • the device 10 includes a processor 11, a memory 12, and a microphone 13.
  • the user 1 may provide a voice input to the device 10.
  • the voice input may be voice spoken by the user and may include text information.
  • the user 1 may control the device 10 or an electronic device connected thereto using a voice input.
  • Voice input may be provided in a variety of forms and languages. For example, the user 1 may speak a voice input such as "check the newly received mail and make the device 10".
  • the device 10 may receive a voice input using the microphone 13. At this time, the microphone 13 may receive a voice input by converting the ambient sound into electrical data. In an embodiment, the device 10 may include a plurality of microphones 13. The microphone 13 may provide the received voice input to the processor 11.
  • the processor 11 controls the overall operation of the device 10.
  • the processor 11 may be configured to process at least one instruction by performing basic arithmetic, logic and input / output operations.
  • the above-described instructions may be provided from the memory 12 to the processor 11.
  • the processor 11 may be configured to execute an instruction according to a program code stored in a recording device such as the memory 12.
  • the instruction may be received by the device 10 through a communication module (not shown) and provided to the processor 11.
  • the processor 11 may authenticate the received voice input and control the device 10 or an electronic device connected thereto using the voice input based on the authentication result. For example, if the voice input of “Bixby, check newly received mail” is authenticated, the processor 11 may control the device 10 to check newly received mail.
  • the processor 11 may refuse to allow the user 1 to control the device 10 or an electronic device connected thereto using an unauthenticated voice input. For example, if the voice input of “Bixby, check newly received mail” is not authenticated, the processor 11 may not perform the mail checking operation of the device 10.
  • the processor 11 may obtain signal characteristic data from a voice input.
  • the signal characteristic data is data representing electrical signal characteristics of the voice input.
  • the signal characteristic data may be data obtained by analyzing a voice input based on at least one of frequency, time, or power.
  • the processor 11 may apply the signal characteristic data to the first learning model to authenticate the voice input.
  • the processor 11 may determine the property of the voice input by applying the signal characteristic data to the first learning model.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • voice input spoken by a person means voice spoken through a human vocal cord.
  • the voice input output from the device refers to a voice that is electronically synthesized or recorded and output through a speaker, a recorder, a playback device, and the like.
  • the processor 11 may use the attribute of the voice input to determine whether the received voice input is by a user or by an external attack using the device.
  • the processor 11 may apply signal characteristic data to the first learning model to determine the reliability of the attribute of the voice input and the determined attribute.
  • the reliability may be a probability that the attribute of the determined voice input coincides with the reality.
  • Reliability can be determined in various forms. For example, the processor 11 may determine that the voice input is spoken by a person with 90% reliability. Alternatively, the processor 11 may determine that the voice input is output from the device with reliability corresponding to a specific step among predetermined steps.
  • the processor 11 may authenticate the voice input based on the determined attribute of the voice input. For example, if it is determined that the voice input is spoken by a person, the processor 11 may authenticate the voice input. If it is determined that the voice input is output from the device, the processor 11 may not authenticate the voice input.
  • the processor 11 may determine whether the voice input is spoken by a person or output from the device. In this case, the processor 11 may determine whether first user authentication is required based on the determined reliability.
  • the processor 11 applies the voice input to the second learning model to authenticate the user.
  • the first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user.
  • the voice input pattern may be a pattern determined based on a voice input input by a user or a situation of inputting a voice input to control the device.
  • the voice input pattern may indicate a usage behavior of a user inputting voice through the processor 11.
  • the processor 11 may apply the voice input to the second learning model to deny authentication of a user who attempts abnormal use.
  • the processor 11 may provide context information to the second learning model to train the second learning model based on the voice input pattern.
  • the context information may include at least one of surrounding environment information of the device 10, state information of the device 10, state information of the user, usage history information of the device 10, and schedule information of the user. It doesn't happen.
  • the processor 11 may determine that the second user authentication is required when the user authentication by the first user authentication is denied or difficult to determine. If it is determined that the second user authentication is required, the processor 11 may additionally authenticate the user.
  • the second user authentication is an operation of authenticating a user who has spoken a voice input by using an additional input provided from the user.
  • the processor 11 may additionally authenticate the user based on the cipher text received from the user.
  • the processor 11 may additionally authenticate the user by using a third learning model for authenticating the user through a query response.
  • the processor 11 may additionally authenticate the user by using biometrics such as fingerprint recognition or face recognition.
  • the device 10 may be a smart phone, a tablet PC, a PC, a smart TV, a mobile phone, a personal digital assistant (PDA), a laptop, a media player, a micro server, a global positioning system (GPS) device, an e-book device, a digital broadcasting terminal, and navigation. , Kiosks, MP3 players, digital cameras, home appliances, and other mobile or non-mobile computing devices.
  • the device 10 may be a wearable device such as a watch, glasses, a hair band and a ring having a communication function and a data processing function.
  • the present invention is not limited thereto, and the device 10 may include all kinds of devices capable of receiving a voice input of the user 1 and authenticating the received voice input.
  • the device 10 may communicate with a server and another device (not shown) through a predetermined network in order to use various context information.
  • the network may include a local area network (LAN), a wide area network (WAN), a value added network (VAN), a mobile radio communication network, a satellite communication network, and their interconnections. It is a comprehensive data communication network that includes a combination and allows each network component to communicate smoothly with each other.
  • the network communication device may include a wired internet, a wireless internet, and a mobile wireless communication network.
  • Wireless communication includes, for example, wireless LAN (Wi-Fi), Bluetooth, Bluetooth low energy (ZigBee), Zigbee, Wi-Fi Direct (WFD), ultra wideband (UWB), infrared communication (IrDA) ), But may include Near Field Communication (NFC), but is not limited thereto.
  • Wi-Fi wireless LAN
  • ZigBee Bluetooth low energy
  • Zigbee Zigbee
  • Wi-Fi Direct WFD
  • UWB ultra wideband
  • IrDA infrared communication
  • NFC Near Field Communication
  • FIG. 2 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
  • the device 10 may receive a voice input.
  • the device 10 may receive a voice input provided from a user using at least one microphone.
  • the device 10 may obtain signal characteristic data from the voice input.
  • the signal characteristic data may be data representing electrical signal characteristics of the voice input.
  • the signal characteristic data may be data obtained by analyzing a voice input based on at least one of frequency, time, or power.
  • the signal characteristic data may include a spectrogram or per-frequecy cumulative power of a voice input.
  • this is exemplary and the type of the signal characteristic data of the present disclosure is not limited to the above-described kind.
  • the device 10 may apply signal characteristic data to the first learning model to authenticate the voice input.
  • the device 10 may determine the property of the voice input by applying the signal characteristic data to the first learning model.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • the device 10 may determine whether the received voice input is by a user or by an external attack using the device, by using the property of the voice input.
  • the device 10 may apply the signal characteristic data to the first learning model to determine the reliability of the attribute of the voice input and the attribute of the determined voice input. Reliability can be determined in various forms.
  • the device 10 may authenticate the voice input based on the determined attributes and reliability of the voice input. For example, if it is determined that the voice input is spoken by a person, the device 10 may compare the reliability with a threshold stored in the memory. The device 10 may authenticate the voice input based on the comparison result. Alternatively, when it is determined that the voice input is output from the apparatus, the device 10 may compare the reliability with a threshold stored in the memory and may not authenticate the voice input based on the comparison result.
  • the first learning model may be preset and stored in the device 10.
  • a server that generates and operates the first learning model may provide the first learning model to the device 10, and the device 10 stores and manages the first learning model received from the server in the device 10. can do.
  • the preset first learning model may be stored in a server.
  • the device 10 may provide the signal characteristic data to the server, and receive the attribute of the voice input determined based on the signal characteristic data from the server.
  • the preset first learning model may be a learning model trained using at least one artificial intelligence algorithm among a machine learning algorithm, a neural network algorithm, a genetic algorithm, a deep learning algorithm, and a classification algorithm.
  • the preset first learning model may be pre-trained to determine a property of a voice input based on a voice spoken by a person and a voice output from a device. For example, a plurality of voices may be provided, including voices of various lengths and contents spoken by a user, and voices output from various devices, and by using signal characteristic data obtained from the provided voices as training data. The first learning model preset may be learned.
  • the signal characteristic data includes information on per-frequency cumulative power.
  • the device 10 may convert the voice input into the frequency dimension.
  • the device 10 may obtain a spectrogram for the voice input.
  • the spectrogram described above may include information about each frequency and its corresponding power with respect to time.
  • the device 10 may obtain the above-described spectrogram by using a Fourier transform.
  • the device 10 may obtain the spectrogram described above using a short-time Fourier transform (STFT).
  • STFT short-time Fourier transform
  • the embodiment of obtaining the spectrogram for the voice input in the present disclosure is not limited to the examples described above.
  • the device 10 may obtain information about cumulative power for each frequency.
  • the spectrogram may include information about each frequency and its corresponding power with respect to time.
  • the device 10 may obtain cumulative power information for each frequency by calculating cumulative power for a predetermined time of each frequency.
  • the predetermined time described above may be a time at which the voice input is spoken.
  • 4A to 4D are diagrams for exemplarily describing signal characteristic data.
  • Figure 4a is a diagram showing a spectrogram for speech spoken from a person.
  • 4B is a diagram illustrating a spectrogram of the voice output from the apparatus. In each spectrogram, frequencies are expressed in Hz, time in seconds, and power in dB.
  • FIGS. 4A to 4D is a diagram illustrating cumulative power for each frequency of the voice of FIG. 4A.
  • 4D is a diagram illustrating cumulative power for each frequency of the voice of FIG. 4B.
  • the voice used in FIGS. 4A to 4D is exemplary, and the technical spirit of the present disclosure is not limited thereto.
  • voices spoken by a person and voices output from a device exhibit different electrical signal characteristics.
  • the voice spoken by a person and the voice output from a device show a different form of attenuation in cumulative power for each frequency.
  • the power of the voice uttered by a person and the voice output from the device are concentrated in different frequency bands, and the relative magnitudes of the high frequency and the low frequency band are also different from each other.
  • the first learning model may be pre-learned to determine the property of the voice input using signal characteristic data obtained from the voices based on the voice spoken by the person and the voice output from the device.
  • the device 10 may selectively authenticate a user using the second learning model.
  • the device 10 may receive a voice input.
  • the device 10 may receive a voice input provided from a user using at least one microphone.
  • the device 10 may obtain signal characteristic data from the voice input.
  • the signal characteristic data is data representing electrical signal characteristics of the voice input.
  • the signal characteristic data may include a spectrogram or per-frequecy cumulative power of a voice input.
  • this is exemplary and the type of the signal characteristic data of the present disclosure is not limited to the above-described kind.
  • the device 10 may determine whether the first user authentication is required by applying the signal characteristic data to the first learning model.
  • the device 10 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • the device 10 may authenticate the voice input based on the determined attribute of the voice input. For example, if it is determined that the voice input is spoken by a person, the device 10 may authenticate the voice input. If it is determined that the voice input is output from the device, the device 10 may not authenticate the voice input.
  • the device 10 may authenticate the voice input based on the determined reliability. For example, if it is determined that the voice input is spoken by a person, the device 10 may compare the reliability with a threshold stored in the memory and authenticate the voice input based on the comparison result. Alternatively, when it is determined that the voice input is output from the apparatus, the device 10 may compare the reliability with a threshold stored in the memory and may not authenticate the voice input based on the comparison result.
  • the device 10 may be difficult to determine whether the voice input is spoken by a person or output from the device.
  • the device 10 may determine whether first user authentication is required based on the determined reliability. For example, the device 10 may determine that the first user authentication is required when the determined reliability is included in a predetermined range, for example, 90% or less.
  • the device 10 may selectively apply a voice input to the second learning model to authenticate the user.
  • the first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user.
  • the voice input pattern may be a pattern determined based on a voice input input by a user or a situation of inputting a voice input to control a device.
  • the device 10 may apply the voice input to the second learning model to deny authentication of a user who attempts abnormal use.
  • the device 10 may perform first user authentication by applying the user's voice input and information representing the current situation to the second learning model.
  • the second learning model may be a learning model learned based on a voice input pattern of the user.
  • the second learning model may be previously trained using contextual information indicating a user's voice input and a context in which the user inputs the voice as training data.
  • the context information may include at least one of surrounding environment information of the device 10, state information of the device 10, state information of the user, usage history information of the device 10, and schedule information of the user. It doesn't happen.
  • the environment information of the device 10 refers to environment information within a predetermined radius from the device 10, and may include weather information, temperature information, humidity information, illuminance information, noise information, sound information, time information, and the like. have.
  • the second learning model may be trained so that the user who spoke the voice input is not authenticated if a voice input is provided from the user at a place different from the learned place.
  • the second learning model may be trained so that the user is not authenticated if a voice input is provided from the user at a time different from the learned time.
  • data for training the second learning model is not limited thereto.
  • the state information of the device 10 may include mode information indicating an operation mode of the device 10 (for example, a sound mode, a vibration mode, a silent mode, a power saving mode, a blocking mode, a multi window mode, an automatic rotation mode, and the like), and a device ( 10) location information, time information, activation information of the communication module (for example, Wi-Fi ON / Bluetooth OFF / GPS ON / NFC ON, etc.), network connection status information of the device 10, the device 10 Application information (eg, application identification information, application type, application usage time, application usage cycle), and the like.
  • mode information indicating an operation mode of the device 10
  • a sound mode for example, a sound mode, a vibration mode, a silent mode, a power saving mode, a blocking mode, a multi window mode, an automatic rotation mode, and the like
  • a device ( 10) location information, time information, activation information of the communication module for example, Wi-Fi ON / Bluetooth OFF / GPS ON / NFC ON, etc.
  • the user's status information is information about the user's characteristics, the user's movements, and the lifestyle.
  • the user's status information may include information about the user's gender, the user's walking state, exercise state, driving state, sleep state, and user's mood state. Can be.
  • the second learning model may be trained so that the user is not authenticated if the user recognizes a gesture that is not frequently used in voice input.
  • the state information of the user included in the context information is not limited thereto.
  • the usage history information of the user's device 10 is information about a history of the user's use of the device 10, and includes a history of execution of an application, a history of functions executed in the application, a history of a user's call, a history of a user's text, and a voice.
  • the schedule information of the user is information about a past schedule and a scheduled schedule of the user.
  • the schedule information may be provided by a user's prior input.
  • the device 10 may receive schedule information from a server or other electronic devices connected through a network.
  • which context information is used may be determined according to learning based on predetermined criteria. For example, busy learning that discovers a pattern of user authentication by supervised learning that takes a predetermined voice input and predetermined context information as an input value, and learns the kind of context information required for user authentication without any guidance. Unsupervised learning can be used for user authentication. Further, for example, reinforcement learning using feedback on whether the result of the user's intention grasping according to the learning is correct may be used for user authentication.
  • the device 10 may perform speech to text (STT) conversion on the voice input.
  • the device 10 may extract a user command from the voice input converted through the STT.
  • the device 10 may apply at least one of the language, type, length, and content of the extracted user command to the second learning model.
  • the device 10 authenticates a voice input based on the user authentication result. For example, if the user is authenticated, the device 10 may authenticate the voice input even if the attribute of the voice input is determined to be low reliability. If the user is not authenticated, the device 10 may not authenticate the voice input.
  • FIG. 6 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
  • the device 10 may selectively authenticate additional users.
  • the device 10 may receive a voice input.
  • the device 10 may receive a voice input provided from a user using at least one microphone.
  • the device 10 may obtain signal characteristic data from the voice input.
  • the signal characteristic data may include a spectrogram or per-frequecy cumulative power of a voice input.
  • this is exemplary and the type of the signal characteristic data of the present disclosure is not limited to the above-described kind.
  • the device 10 may determine whether the first user authentication is required by applying the signal characteristic data to the first learning model.
  • the device 10 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • the device 10 may authenticate the voice input based on the determined attribute of the voice input. For example, if it is determined that the voice input is spoken by a person, the device 10 may authenticate the voice input. If it is determined that the voice input is output from the device, the device 10 may not authenticate the voice input.
  • the device 10 may authenticate the voice input based on the determined reliability. On the other hand, based on the reliability, the device 10 may be difficult to determine whether the voice input is spoken by a person or output from the device. In this case, the device 10 may determine whether first user authentication is required based on the determined reliability.
  • the device 10 may determine whether the second user authentication is required by applying the voice input to the second learning model.
  • the first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user.
  • the voice input pattern is indicative of the usage behavior of the user using voice input through the device 10.
  • the device 10 may apply the voice input to the second learning model to deny authentication of a user who attempts abnormal use.
  • the device 10 may determine that the second user authentication is required when the user authentication by the first user authentication is denied or difficult to determine.
  • the device 10 may additionally authenticate the user.
  • the second user authentication is an operation of authenticating a user who has spoken a voice input by using an additional input provided from the user.
  • the device 10 may additionally authenticate the user based on the cipher text received from the user.
  • the device 10 may additionally authenticate the user by using a third learning model for authenticating the user through a query response.
  • the device 10 may additionally authenticate the user by using biometrics such as fingerprint recognition or face recognition.
  • the device 10 may authenticate the voice input based on the additional user authentication result. For example, if the user is additionally authenticated, the device 10 may authenticate a voice input. If the user is not authenticated, the device 10 may not authenticate the voice input.
  • FIG. 7 is an exemplary flowchart for describing a method in which a device additionally authenticates a user, according to some embodiments.
  • the device 10 may authenticate a user based on a cipher text received from the user.
  • the device 10 may output a preset word.
  • the preset word may be a word randomly generated or selected by the device 10.
  • the preset word may be a plurality of words.
  • the plurality of words may not be associated with each other. That is, the plurality of words may be generated or selected independently of each other. Since the word output from the device 10 is not a word selected by the user, it is difficult to predict from an external attacker.
  • the device 10 may receive a cipher text including the output word from the user. For example, when the device 10 outputs "home” and "dog", the cipher text received by the device 10 may be "my dog".
  • the device 10 may further authenticate the user based on the received cipher text. For example, the device 10 may compare the cipher text received from the user with a previously set cipher text, and authenticate the user based on the comparison result.
  • the device 10 may authenticate a user by using a third learning model for authenticating the user through a query response.
  • the device 10 may obtain context information.
  • the text information may include at least one of surrounding environment information of the device 10, status information of the device 10, status information of the user, usage history information of the device 10, and schedule information of the user. It is not.
  • the device 10 may apply context information to a third learning model for authenticating a user through a query response.
  • the device 10 may apply the context information to the third learning model to provide the user with at least one question and provide the response received therefrom to the third learning model.
  • the device 10 may additionally authenticate the user based on the query response using the third learning model of operation S820.
  • FIG. 9 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
  • the device 10 may receive a voice input.
  • the device 10 may receive a voice input provided from a user using at least one microphone.
  • the device 10 may obtain signal characteristic data from the voice input.
  • the signal characteristic data is data representing electrical signal characteristics of the voice input.
  • the device 10 may determine the attribute and the reliability of the voice input based on the signal characteristic data.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • the reliability may be a probability that the attribute of the determined voice input coincides with the actual.
  • the device 10 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof.
  • the device 10 may compare the signal characteristic data with a plurality of signal characteristic data previously stored in the memory 13 to determine the attribute of the voice input and the reliability thereof.
  • the device 10 may determine whether the user is authenticated based on a result of comparing the determined reliability with a previously stored threshold value. For example, the device 10 may determine that user authentication is required if the determined reliability is less than or equal to the threshold.
  • the device 10 may authenticate the user based on the voice input pattern.
  • the voice input pattern is indicative of the usage behavior of the user using voice input through the device 10.
  • the device 10 may deny authentication of a user who attempts abnormal use by applying a voice input to a learning model.
  • the device 10 may authenticate a voice input. For example, if the user is authenticated, the device 10 may authenticate the voice input even if the attribute of the voice input is determined to be low reliability. If the user is not authenticated, the device 10 may not authenticate the voice input.
  • FIG. 10 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
  • the device 10 may receive a voice input.
  • the device 10 may receive a voice input provided from a user using at least one microphone.
  • the device 10 may obtain signal characteristic data from the voice input.
  • the signal characteristic data is data representing electrical signal characteristics of the voice input.
  • the device 10 may determine the attribute and the reliability of the voice input based on the signal characteristic data.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • the reliability may be a probability that the attribute of the determined voice input coincides with the actual.
  • the device 10 may determine whether to authenticate the first user based on a result of comparing the determined reliability with a previously stored threshold value. For example, the device 10 may determine that the first user authentication is required if the determined reliability is equal to or smaller than the threshold.
  • the device 10 may authenticate the user based on the voice input pattern.
  • the voice input pattern is indicative of the usage behavior of the user using voice input through the device 10.
  • the device 10 may deny authentication of a user who attempts abnormal use by applying a voice input to a learning model.
  • the device 10 may determine whether to authenticate the second user based on the result of the first user authentication. For example, the device 10 may determine that the second user authentication is required if the user is not authenticated in the first user authentication.
  • the device 10 may additionally authenticate the user.
  • the device 10 may authenticate a voice input. For example, if the user is authenticated, the device 10 may authenticate the voice input even if the attribute of the voice input is determined to be low reliability. If the user is not authenticated, the device 10 may not authenticate the voice input.
  • 11 is a diagram for describing a function of the device 100, according to some embodiments.
  • the device 100 authenticates the voice input based on the attribute of the voice input using the first learning model 120 trained based on the signal characteristic. Through this, the device 100 may continuously detect and prevent an attack from the outside using the voice output from the device.
  • the device 100 uses the second learning model 130 trained based on the voice input pattern to authenticate the user based on the behavior of the user using the voice input. Through this, the device 100 may additionally prevent an attack from the outside by using a voice spoken by a human being rather than a user.
  • the device 100 may receive an additional input from the user to authenticate the user (140). Through this, the device 100 may authenticate the voice input when the user attempts an unusual voice input, and effectively prevent an attack from the outside by using the voice spoken by the human being, not the user.
  • the device 100 is connected to various external electronic devices and servers through a network.
  • the device 100 may collect various information including context information from connected devices and a server.
  • the information collected by the device 100 includes at least one of sound information, text information, location information, and time information (110).
  • the device 100 may train the first or second learning models 120 and 130 using the collected information.
  • 12 and 13 are block diagrams of a device 1000 according to some embodiments.
  • the device 1000 may include a user input unit 1100, an output unit 1200, a controller 1300, and a communication unit 1500. However, not all of the components illustrated in FIG. 13 are essential components of the device 1000. The device 1000 may be implemented by more components than those illustrated in FIG. 13, and the device 1000 may be implemented by fewer components than those illustrated in FIG. 13.
  • the device 1000 may include a sensing unit 1400 in addition to the user input unit 1100, the output unit 1200, the control unit 1300, and the communication unit 1500. ) May further include an A / V input unit 1600 and a memory 1700.
  • the user input unit 1100 means a means for a user to input data for controlling the device 1000.
  • the user input unit 1100 includes a key pad, a dome switch, a touch pad (contact capacitive type, pressure resistive layer type, infrared sensing type, surface ultrasonic conduction type, and integral type). Tension measurement method, piezo effect method, etc.), jog wheel, jog switch, microphone, etc., but is not limited thereto.
  • the user input unit 1100 may include the A / V input unit 1600 illustrated in FIG. 13.
  • the user input unit 1100 may receive a voice input provided from the user.
  • the output unit 1200 may output an audio signal, a video signal, or a vibration signal, and the output unit 1200 may include a display unit 1210, an audio output unit 1220, and a vibration motor 1230. have.
  • the display unit 1210 displays and outputs information processed by the device 1000.
  • the display 1210 may display a user interface for providing a voice input authentication result to the user.
  • the display unit 1210 may be used as an input device in addition to the output device.
  • the display unit 1210 may include a liquid crystal display, a thin film transistor-liquid crystal display, an organic light-emitting diode, a flexible display, and a three-dimensional display. 3D display, an electrophoretic display.
  • the device 1000 may include two or more display units 1210 according to an implementation form of the device 1000. In this case, the two or more display units 1210 may be disposed to face each other using a hinge.
  • the sound output unit 1220 outputs audio data received from the communication unit 1500 or stored in the memory 1700.
  • the sound output unit 1220 outputs a sound signal related to a function (for example, a call signal reception sound, a message reception sound, and a notification sound) performed by the device 1000.
  • the sound output unit 1220 may include a speaker, a buzzer, and the like.
  • the vibration motor 1230 may output a vibration signal.
  • the vibration motor 1230 may output a vibration signal corresponding to the output of audio data or video data (eg, a call signal reception sound, a message reception sound, etc.).
  • the vibration motor 1230 may output a vibration signal when a touch is input to the touch screen.
  • the controller 1300 generally controls the overall operation of the device 1000.
  • the controller 1300 executes programs stored in the memory 1700, such that the user input unit 1100, the output unit 1200, the sensing unit 1400, the communication unit 1500, and the A / V input unit 1600 are provided. ) Can be controlled overall.
  • the controller 1300 may authenticate the received voice input and control the device 1000 or an electronic device connected thereto through the voice input based on the authentication result.
  • the controller 1300 may obtain signal characteristic data from a voice input.
  • the signal characteristic data is data representing electrical signal characteristics of the voice input.
  • the signal characteristic data may be data obtained by analyzing a voice input based on at least one of frequency, time, or power.
  • the controller 1300 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof.
  • the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
  • the controller 1300 may determine whether first user authentication is required based on the determined reliability.
  • the first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user.
  • the voice input pattern indicates usage behavior in which the user uses voice input.
  • the controller 1300 may authenticate the user by applying the voice input to the second learning model. If the authentication by the first user authentication is denied or difficult to be determined, the controller 1300 may determine that the second user authentication is required, and additionally authenticate the user.
  • the sensing unit 1400 may detect a state of the device 1000 or a state around the device 1000 and transmit the detected information to the controller 1300.
  • the sensing unit 1400 may include a geomagnetic sensor 1410, an acceleration sensor 1420, a temperature / humidity sensor 1430, an infrared sensor 1440, a gyroscope sensor 1450, and a position sensor. (Eg, GPS) 1460, barometric pressure sensor 1470, proximity sensor 1480, and RGB sensor (illuminance sensor) 1490, but are not limited thereto. Since functions of the respective sensors can be intuitively deduced by those skilled in the art from the names, detailed descriptions thereof will be omitted.
  • the communicator 1500 may include one or more components that allow communication between the device 1000 and the HMD apparatus or the device 1000 and the server.
  • the communicator 1500 may include a short range communicator 1510, a mobile communicator 1520, and a broadcast receiver 1530.
  • the short-range wireless communication unit 1510 includes a Bluetooth communication unit, a Bluetooth low energy (BLE) communication unit, a near field communication unit, a WLAN (Wi-Fi) communication unit, a Zigbee communication unit, and an infrared ray ( IrDA (Infrared Data Association) communication unit, WFD (Wi-Fi Direct) communication unit, UWB (ultra wideband) communication unit, Ant + communication unit and the like, but may not be limited thereto.
  • the mobile communication unit 1520 transmits and receives a radio signal with at least one of a base station, an external terminal, and a server on a mobile communication network.
  • the wireless signal may include various types of data according to transmission and reception of a voice call signal, a video call call signal, or a text / multimedia message.
  • the broadcast receiving unit 1530 receives a broadcast signal and / or broadcast related information from the outside through a broadcast channel.
  • the broadcast channel may include a satellite channel and a terrestrial channel. According to an implementation example, the device 1000 may not include the broadcast receiver 1530.
  • the communication unit 1500 may transmit / receive information for using the context information with the HMD device, the server, and the peripheral device.
  • the A / V input unit 1600 is for inputting an audio signal or a video signal, and may include a camera 1610 and a microphone 1620.
  • the camera 1610 may obtain an image frame such as a still image or a moving image through an image sensor in a video call mode or a photographing mode.
  • the image captured by the image sensor may be processed by the controller 1300 or a separate image processor (not shown).
  • the image frame processed by the camera 1610 may be stored in the memory 1700 or transmitted to the outside through the communication unit 1500. Alternatively, the image frame may be used to determine the voice active condition and the voice inactive condition of the controller 1300. Two or more cameras 1610 may be provided according to the configuration aspect of the terminal.
  • the microphone 1620 receives a voice input.
  • the microphone 1620 receives an external sound signal and processes it as electrical voice data.
  • the microphone 1620 may receive an acoustic signal from an external device or speaker.
  • the microphone 1620 may use various noise removing algorithms for removing noise generated in the process of receiving an external sound signal including a voice input.
  • the memory 1700 may store a program for processing and controlling the controller 1300, and may store data input to or output from the device 1000.
  • the memory 1700 may include a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), RAM Random Access Memory (RAM) Static Random Access Memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic Disk It may include at least one type of storage medium of the optical disk.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • ROM Read-Only Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • PROM Programmable Read-Only Memory
  • Magnetic Memory Magnetic Disk It may include at least one type of storage medium of the optical disk.
  • Programs stored in the memory 1700 may be classified into a plurality of modules according to their functions.
  • the programs stored in the memory 1700 may be classified into a UI module 1710, a touch screen module 1720, a notification module 1730, and the like. .
  • the UI module 1710 may provide a specialized UI, GUI, or the like that is linked with the device 1000 for each application.
  • the touch screen module 1720 may detect a touch gesture on a user's touch screen and transmit information about the touch gesture to the controller 1300.
  • the touch screen module 1720 according to some embodiments may recognize and analyze a touch code.
  • the touch screen module 1720 may be configured as separate hardware including a controller.
  • Various sensors may be provided inside or near the touch screen to detect a touch or proximity touch of the touch screen.
  • An example of a sensor for sensing a touch of a touch screen is a tactile sensor.
  • the tactile sensor refers to a sensor that senses the contact of a specific object to the extent that a person feels or more.
  • the tactile sensor may sense various information such as the roughness of the contact surface, the rigidity of the contact object, the temperature of the contact point, and the like.
  • an example of a sensor for sensing a touch of a touch screen is a proximity sensor.
  • the proximity sensor refers to a sensor that detects the presence or absence of an object approaching a predetermined detection surface or an object present in the vicinity without using a mechanical contact by using an electromagnetic force or infrared rays.
  • Examples of the proximity sensor include a transmission photoelectric sensor, a direct reflection photoelectric sensor, a mirror reflection photoelectric sensor, a high frequency oscillation proximity sensor, a capacitive proximity sensor, a magnetic proximity sensor, and an infrared proximity sensor.
  • the user's touch gesture may include tap, touch and hold, double tap, drag, pan, flick, drag and drop, and swipe.
  • the notification module 1730 may generate a signal for notifying occurrence of an event of the device 1000. Examples of events occurring in the device 1000 include call signal reception, message reception, key signal input, and schedule notification.
  • the notification module 1730 may output a notification signal in the form of a video signal through the display unit 1210, may output the notification signal in the form of an audio signal through the sound output unit 1220, and the vibration motor 1230. Through the notification signal may be output in the form of a vibration signal.
  • FIG. 14 is a block diagram of a processor 1300 in accordance with some embodiments.
  • a processor 1300 may include a data learner 1310 and a data recognizer 1320.
  • At least a part of the data learner 1310 and at least a part of the data recognizer 1320 may be implemented as a software module or manufactured in the form of a hardware chip and mounted on a device.
  • the data learner 1310 may learn a criterion for determining a property of a voice input and a reliability thereof.
  • the data learner 1310 may learn a criterion about what data to use to determine the attribute of the voice input, the reliability thereof, and to authenticate the voice input.
  • the data learner 1310 may use the provided data to learn a criterion about how to determine a property of a voice input, how to determine its reliability, and how to determine a criterion for voice input authentication.
  • the data learner 1310 acquires data to be used for learning and applies the acquired data to a data recognition model to be described later, so as to learn a criterion regarding a voice input property and reliability thereof.
  • the data learner 1310 may learn a criterion for authenticating a user based on a voice input pattern.
  • the data learner 1310 may learn a criterion about which context data to use to authenticate a user.
  • the data learner 1310 may learn a criterion on how to authenticate a user using the provided context data.
  • the data learner 1310 acquires data to be used for learning, and applies the acquired data to a data recognition model to be described later, thereby learning a criterion for user authentication.
  • the data learner 1310 may provide functions of the learning models used by the device in FIGS. 1 to 10, and the learning model used by the device in FIGS. 1 through 10 by one or more data learners 1310. Their function can be implemented.
  • the data recognizer 1320 may determine the attributes of the voice input, the reliability thereof, or authenticate the user based on the data.
  • the data recognizer 1320 may determine the attributes of the voice input and reliability thereof from the predetermined data or authenticate the user by using the learned data recognition model.
  • the data recognizing unit 1320 may obtain predetermined data according to a preset reference by learning, and use the data recognition model by using the acquired data as an input value.
  • the data recognizing unit 1320 may determine the attribute of the voice input and the reliability thereof based on the predetermined data or authenticate the user by using the data recognizing unit 1320.
  • the result value output by the data recognition model using the acquired data as an input value may be used to update the data recognition model.
  • At least one of the data learner 1310 and the data recognizer 1320 may be manufactured in the form of at least one hardware chip and mounted on the device 1000.
  • at least one of the data learner 1310 and the data recognizer 1320 may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI), or an existing general purpose processor (eg, a CPU).
  • the device may be manufactured as a part of an application processor or a graphics processor (eg, a GPU) and mounted on the aforementioned various devices 1000.
  • the dedicated hardware chip for artificial intelligence is a dedicated processor specialized in probability calculation, and has higher parallelism performance than the conventional general-purpose processor, so that it is possible to process arithmetic tasks in the field of artificial intelligence such as machine learning.
  • the data learner 1310 and the data recognizer 1320 may be mounted in one device or may be mounted in separate devices, respectively.
  • one of the data learner 1310 and the data recognizer 1320 may be included in the device, and the other may be included in the server.
  • the data learner 1310 and the data recognizer 1320 may provide model information constructed by the data learner 1310 to the data recognizer 1320 via a wired or wireless connection.
  • the data input to 1320 may be provided to the data learner 1310 as additional learning data.
  • At least one of the data learner 1310 and the data recognizer 1320 may be implemented as a software module.
  • the software module may be a computer readable non-transitory computer. It may be stored in a non-transitory computer readable media.
  • at least one software module may be provided by an operating system (OS) or by a predetermined application.
  • OS operating system
  • OS operating system
  • others may be provided by a predetermined application.
  • 15 is a block diagram of a data learner 1310 according to some embodiments.
  • the data learner 1310 may include a data acquirer 1310-1, a preprocessor 1310-2, a training data selector 1310-3, and a model learner 1310. -4) and the model evaluator 1310-5.
  • the data acquirer 1310-1 may determine attributes of the voice input and reliability thereof, or acquire data necessary for authenticating a user.
  • the data acquirer 1310-1 may acquire, for example, predetermined user voice or context information.
  • the preprocessor 1310-2 may preprocess the acquired data to determine the attribute of the voice input and the reliability thereof, or to use the acquired data for learning to authenticate the user.
  • the preprocessor 1310-2 acquires the data so that the model learner 1310-4 to be described later can determine the attributes of the voice input and the reliability thereof, or use the data acquired for learning the user for authentication. Can be processed in a preset format.
  • the training data selector 1310-3 may select data required for learning from the preprocessed data.
  • the selected data may be provided to the model learner 1310-4.
  • the training data selector 1310-3 may select data required for learning from preprocessed data according to a property of a voice input and a reliability thereof, or based on preset criteria for authenticating a user.
  • the training data selector 1310-3 may select data according to preset criteria by learning by the model learner 1310-4 to be described later.
  • the model learner 1310-4 may determine a property of a voice input and a reliability thereof based on the training data, or learn a criterion about whether to authenticate a user. In addition, the model learner 1310-4 may determine a property of a voice input and a reliability thereof, or learn a criterion about what training data should be used to authenticate a user.
  • the model learner 1310-4 may learn the data recognition model used to determine the property of the voice input and the reliability thereof or to authenticate the user using the training data.
  • the data recognition model may be a pre-built model.
  • the data recognition model may be a model built in advance by receiving basic training data (eg, sample data).
  • the data recognition model may be constructed in consideration of the application field of the recognition model, the purpose of learning, or the computer performance of the device.
  • the data recognition model can be designed to simulate the human brain structure on a computer.
  • the data recognition model may include a plurality of weighted network nodes that simulate neurons in a human neural network.
  • the plurality of network nodes may form a connection relationship so that neurons simulate synaptic activity through which signals are sent and received through synapses.
  • the data recognition model may include, for example, a neural network model or a deep learning model developed from the neural network model. In the deep learning model, a plurality of network nodes may be located at different depths (or layers) and exchange data according to a convolutional connection relationship.
  • the data recognition model may include, for example, models such as a deep neural network (DNN), a recurrent neural network (RNN), a bidirectional recurrent deep neural network (BRDNN), and the like.
  • DNN deep neural network
  • RNN recurrent neural network
  • the model learner 1310-4 may be a data recognition model to learn a data recognition model having a large correlation between input training data and basic training data. You can decide.
  • the basic training data may be previously classified by the type of data, and the data recognition model may be pre-built by the type of data. For example, the basic training data is classified based on various criteria such as the region where the training data is generated, the time at which the training data is generated, the size of the training data, the genre of the training data, the creator of the training data, and the types of objects in the training data. It may be.
  • model learner 1310-4 may train the data recognition model using, for example, a learning algorithm including an error back-propagation method or a gradient descent method. .
  • model learner 1310-4 may train the data recognition model through, for example, supervised learning using the training data as an input value.
  • the model learner 1310-4 for example, by unsupervised learning to find a criterion for situation determination by learning the kind of data necessary for situation determination without any guidance, You can train the data recognition model.
  • the model learner 1310-4 may train the data recognition model, for example, through reinforcement learning using feedback on whether the result of the situation determination according to the learning is correct.
  • the model learner 1310-4 may store the trained data recognition model.
  • the model learner 1310-4 may store the learned data recognition model in a memory of the electronic device including the data recognizer 1320.
  • the model learner 1310-4 may store the learned data recognition model in a memory of an electronic device including the data recognizer 1320, which will be described later.
  • the model learner 1310-4 may store the learned data recognition model in a memory of a server connected to the electronic device through a wired or wireless network.
  • the memory in which the learned data recognition model is stored may store, for example, commands or data related to at least one other element of the electronic device.
  • the memory may also store software and / or programs.
  • the program may include, for example, a kernel, middleware, an application programming interface (API) and / or an application program (or “application”), and the like.
  • the model evaluator 1310-5 may input the evaluation data into the data recognition model, and cause the model learner 1310-4 to relearn if the recognition result output from the evaluation data does not satisfy a predetermined criterion. have.
  • the evaluation data may be preset data for evaluating the data recognition model.
  • the model evaluator 1310-5 may determine a predetermined criterion when the number or ratio of the evaluation data that is not accurate among the recognition results of the learned data recognition model for the evaluation data exceeds a preset threshold. It can be evaluated as not satisfied. For example, when a predetermined criterion is defined at a ratio of 2%, the model evaluator 1310-5 when the learned data recognition model outputs an incorrect recognition result for more than 20 evaluation data out of a total of 1000 evaluation data. Can be judged that the learned data recognition model is not suitable.
  • the model evaluator 1310-5 evaluates whether each learned video recognition model satisfies a predetermined criterion, and recognizes a model satisfying the predetermined criterion for final data. Can be determined as a model. In this case, when there are a plurality of models satisfying a predetermined criterion, the model evaluator 1310-5 may determine any one or a predetermined number of models that are preset in the order of the highest evaluation score as the final data recognition model.
  • At least one of -5) may be manufactured in the form of at least one hardware chip and mounted on the electronic device.
  • at least one of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 One may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI), or may be manufactured as a part of an existing general purpose processor (eg, a CPU or application processor) or a graphics dedicated processor (eg, a GPU). It may be mounted on various electronic devices.
  • AI artificial intelligence
  • the data obtaining unit 1310-1, the preprocessor 1310-2, the training data selecting unit 1310-3, the model learning unit 1310-4, and the model evaluating unit 1310-5 are electronic components. It may be mounted on the device, or may be mounted on separate electronic devices, respectively. For example, some of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5. May be included in the electronic device, and the rest may be included in the server.
  • At least one of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 may be used. It may be implemented as a software module. At least one of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 is a software module. (Or a program module including instructions), the software module may be stored in a computer readable non-transitory computer readable media. In this case, at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an operating system (OS), and others may be provided by a predetermined application.
  • OS operating system
  • OS operating system
  • some of the at least one software module may be provided by an operating system (OS), and others may be provided by a predetermined application.
  • 16 is a block diagram of a data recognizer 1320 according to some embodiments.
  • a data recognizer 1320 may include a data acquirer 1320-1, a preprocessor 1320-2, a recognition data selector 1320-3, and a recognition result provider ( 1320-4) and a model updater 1320-5.
  • the data acquirer 1320-1 may determine the attributes of the voice input and the reliability thereof, or may acquire data necessary for authenticating the user.
  • the preprocessor 1320-2 may acquire the attributes of the voice input and the reliability thereof.
  • the obtained data may be preprocessed such that the obtained data may be used to determine the data or to authenticate the user.
  • the preprocessor 1320-2 may use the acquired data so that the recognition result provider 1320-4, which will be described later, may use the acquired data for determining the attribute and reliability of the voice input or authenticating the user. Can be processed in a preset format.
  • the recognition data selector 1320-3 may determine the attributes of the voice input and the reliability thereof from the preprocessed data, or select data necessary for authenticating the user. The selected data may be provided to the recognition result provider 1320-4. The recognition data selector 1320-3 may select some or all of the preprocessed data according to a predetermined criterion for determining the attribute of the voice input and the reliability thereof, or authenticating the user. In addition, the recognition data selector 1320-3 may select data according to a predetermined criterion by learning by the model learner 1310-4 to be described later.
  • the recognition result providing unit 1320-4 may apply the selected data to the data recognition model to determine the property of the voice input, the reliability thereof, or authenticate the user.
  • the recognition result providing unit 1320-4 may provide a recognition result according to a recognition purpose of data.
  • the recognition result provider 1320-4 may apply the selected data to the data recognition model by using the data selected by the recognition data selector 1320-3 as an input value.
  • the recognition result may be determined by the data recognition model.
  • the model updater 1320-5 may cause the data recognition model to be updated based on the evaluation of the recognition result provided by the recognition result provider 1320-4. For example, the model updater 1320-5 provides the model learning unit 1310-4 with the recognition result provided by the recognition result providing unit 1320-4 so that the model learner 1310-4 provides the recognition result.
  • the data recognition model can be updated.
  • the data acquisition unit 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result providing unit 1320-4, and the model updater in the data recognition unit 1320 may be manufactured in the form of at least one hardware chip and mounted on the electronic device.
  • At least one may be fabricated in the form of a dedicated hardware chip for artificial intelligence (AI), or may be fabricated as part of an existing general purpose processor (e.g., CPU or application processor) or graphics dedicated processor (e.g., GPU). It may be mounted on various electronic devices.
  • AI artificial intelligence
  • the data acquisition unit 1320-1, the preprocessor 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updater 1320-5 may be mounted on an electronic device, or may be mounted on separate electronic devices, respectively.
  • the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5 may be included in the electronic device, and others may be included in the server.
  • At least one of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5 May be implemented as a software module.
  • At least one of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5 is software.
  • the software module When implemented as a module (or a program module including instructions), the software module may be stored on a computer readable non-transitory computer readable media.
  • at least one software module may be provided by an operating system (OS) or by a predetermined application.
  • some of the at least one software module may be provided by an operating system (OS), and others may be provided by a predetermined application.
  • FIG 17 illustrates an example in which the device 1000 and the server 2000 learn and recognize data by interworking with each other, according to an exemplary embodiment.
  • the server 2000 may determine a property of a voice input, a reliability thereof, or learn a criterion for authenticating a user, and the device 1000 may be based on a learning result by the server 2000. By determining the attributes of the voice input and the reliability thereof, it is possible to authenticate the user.
  • the model learner 2340 of the server 2000 may perform a function of the data learner 1310 illustrated in FIG. 15.
  • the model learner 2340 of the server 2000 may learn a criterion about what data to use for voice activation, inactivity condition determination, and recommendation speech text information generation.
  • the model learner 2340 of the server may use the data to determine a criterion for determining voice activation and inactivation conditions and to generate recommended speech text information.
  • the model learner 2340 acquires data to be used for training and applies the acquired data to a data recognition model to be described later, so as to determine the attributes of the voice input and its reliability, or to learn a criterion for authenticating the user. Can be.
  • the recognition result providing unit 1320-4 of the device 1000 applies the data selected by the recognition data selecting unit 1320-3 to the data recognition model generated by the server 2000, and thus the attribute of the voice input and the like.
  • the credibility can be determined or the user can be authenticated.
  • the recognition result provider 1320-4 transmits the data selected by the recognition data selector 1320-3 to the server 2000, and the server 2000 transmits the recognition data selector 1320-3.
  • the data selected by may be applied to the recognition model to determine the attributes of the voice input and the reliability thereof, or to request to authenticate the user.
  • the recognition result providing unit 1320-4 may determine the attribute of the voice input determined by the server 2000 and the reliability thereof, or receive information from the server 2000 about authenticating the user.
  • the recognition result providing unit 1320-4 of the device 1000 receives a recognition model generated by the server 2000 from the server 2000, and uses the received recognition model to determine the attributes of the voice input and the like.
  • the reliability can be determined or the user can be authenticated.
  • the recognition result providing unit 1320-4 of the device 1000 applies the data selected by the recognition data selecting unit 1320-3 to the data recognition model received from the server 2000, and thus the attributes of the voice input and the like.
  • the reliability can be determined or a user can be authenticated.
  • the device 1000 and the server 2000 may effectively distribute and perform a task for learning the data recognition model and data recognition, thereby efficiently processing data in order to provide a service corresponding to the user's intention. To protect the user's privacy.
  • Some embodiments may be implemented as S / W programs that include instructions stored on computer-readable storage media.
  • a computer may be a device capable of calling stored instructions from a storage medium and operating according to the disclosed embodiments according to the called instructions, and may include a device according to the disclosed embodiments or an external server connected to the device. .
  • the computer readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-temporary' means that the storage medium does not include a signal or a current, and is tangible, but does not distinguish that the data is semi-permanently or temporarily stored in the storage medium.
  • non-transitory storage media may be stored temporarily such as registers, caches, buffers, as well as non-transitory readable storage media such as CD, DVD, hard disk, Blu-ray disc, USB, internal memory, memory card, ROM, or RAM. Media may be included.
  • the method according to the disclosed embodiments may be provided as a computer program product.
  • the computer program product may include a S / W program, a computer readable storage medium on which the S / W program is stored, or a product traded between a seller and a buyer.
  • a computer program product may include a product (eg, a downloadable app) in the form of a S / W program distributed electronically through a device manufacturer or an electronic market (eg, Google Play Store, App Store).
  • a product eg, a downloadable app
  • an electronic market eg, Google Play Store, App Store
  • at least a part of the S / W program may be stored in a storage medium or temporarily generated.
  • the storage medium may be a server of a manufacturer or an electronic market, or a storage medium of a relay server.

Abstract

Disclosed are a method for authenticating a voice input provided from a user, and a method for detecting a voice input having a strong propensity to attack. The voice input authentication method comprises the steps of: receiving the voice input; obtaining signal characteristic data indicating signal characteristics of the voice input from the voice input; and authenticating the voice input by applying the obtained signal characteristic data to a first learning model for determining an attribute of the voice input, wherein the first learning model is learned for use in determining an attribute of the voice input on the basis of a voice spoken by a person and a voice output from a device.

Description

음성 입력 인증 디바이스 및 그 방법Voice input authentication device and method
본 개시는 음성 입력을 인증하는 디바이스 및 방법에 관한 것으로, 보다 상세하게는 음성 입력의 신호 특성에 기초하여 음성 입력을 인증하는 디바이스 및 방법에 관한 것이다.The present disclosure relates to a device and a method for authenticating a voice input, and more particularly, to a device and a method for authenticating a voice input based on signal characteristics of the voice input.
인공지능(Artificial Intelligence, AI) 시스템은 인간 수준의 지능을 구현하는 컴퓨터 시스템이며, 기존 Rule 기반 스마트 시스템과 달리 기계가 스스로 학습하고 판단하며 똑똑해지는 시스템이다. 인공지능 시스템은 사용할수록 인식률이 향상되고 사용자 취향을 보다 정확하게 이해할 수 있게 되어, 기존 Rule 기반 스마트 시스템은 점차 딥러닝 기반 인공지능 시스템으로 대체되고 있다.Artificial Intelligence (AI) system is a computer system that implements human-level intelligence, and unlike conventional rule-based smart systems, machines learn, judge, and become smart. As the AI system is used, the recognition rate is improved and the user's taste can be understood more accurately. The existing Rule-based smart system is gradually replaced by the deep learning-based AI system.
인공지능 기술은 기계학습(딥러닝) 및 기계학습을 활용한 요소 기술들로 구성된다. 기계학습은 입력 데이터들의 특징을 스스로 분류/학습하는 알고리즘 기술이며, 요소기술은 딥러닝 등의 기계학습 알고리즘을 활용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 기술로서, 언어적 이해, 시각적 이해, 추론/예측, 지식 표현, 동작 제어 등의 기술 분야로 구성된다.AI technology is composed of elementary technologies that utilize machine learning (deep learning) and machine learning. Machine learning is an algorithm technology that classifies / learns characteristics of input data by itself, and element technology is a technology that simulates the functions of human brain cognition and judgment by using machine learning algorithms such as deep learning. It consists of technical areas such as understanding, reasoning / prediction, knowledge representation, and motion control.
인공지능 기술이 응용되는 다양한 분야는 다음과 같다. 언어적 이해는 인간의 언어/문자를 인식하고 응용/처리하는 기술로서, 자연어 처리, 기계 번역, 대화시스템, 질의 응답, 음성 인식/합성 등을 포함한다. 시각적 이해는 사물을 인간의 시각처럼 인식하여 처리하는 기술로서, 객체 인식, 객체 추적, 영상 검색, 사람 인식, 장면 이해, 공간 이해, 영상 개선 등을 포함한다. 추론 예측은 정보를 판단하여 논리적으로 추론하고 예측하는 기술로서, 지식/확률 기반 추론, 최적화 예측, 선호 기반 계획, 추천 등을 포함한다. 지식 표현은 인간의 경험정보를 지식데이터로 자동화 처리하는 기술로서, 지식 구축(데이터 생성/분류), 지식 관리(데이터 활용) 등을 포함한다. 동작 제어는 차량의 자율 주행, 로봇의 움직임을 제어하는 기술로서, 움직임 제어(항법, 충돌, 주행), 조작 제어(행동 제어) 등을 포함한다.The various fields in which artificial intelligence technology is applied are as follows. Linguistic understanding is a technology for recognizing and applying / processing human language / characters and includes natural language processing, machine translation, dialogue system, question and answer, speech recognition / synthesis, and the like. Visual understanding is a technology that recognizes and processes objects as human vision, and includes object recognition, object tracking, image retrieval, person recognition, scene understanding, spatial understanding, and image enhancement. Inference Prediction is a technique for judging, logically inferring, and predicting information. It includes knowledge / probability-based inference, optimization prediction, preference-based planning, and recommendation. Knowledge expression is a technology that automatically processes human experience information into knowledge data, and includes knowledge construction (data generation / classification) and knowledge management (data utilization). Motion control is a technology for controlling autonomous driving of a vehicle and movement of a robot, and includes motion control (navigation, collision, driving), operation control (action control), and the like.
한편, 인공지능 기술이 발전함에 따라, 사용자는 음성 입력을 통하여 다양한 디바이스 혹은 서비스를 조작하거나 이용할 수 있게 되었으며, 이에 따라 사용자가 제공하는 음성 입력에 대한 보안과 인증의 중요성이 부각되고 있다.On the other hand, with the development of artificial intelligence technology, the user can operate or use various devices or services through voice input, and accordingly, the importance of security and authentication for the voice input provided by the user is highlighted.
일부 실시예는, 신호 특성 데이터에 기반하여 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지 구분할 수 있는 학습 모델을 이용하여, 음성 입력을 인증하는 디바이스 및 방법을 제공할 수 있다.Some embodiments may provide a device and method for authenticating voice input using a learning model that can distinguish whether a voice input is spoken from a person or output from a device based on signal characteristic data.
또한, 일부 실시예는, 음성 입력 패턴에 기반하여 사용자를 인증할 수 있는 학습 모델을 이용하여, 사용자를 인증하는 디바이스 및 방법을 제공할 수 있다.In addition, some embodiments may provide a device and method for authenticating a user using a learning model that can authenticate a user based on a voice input pattern.
또한, 일부 실시예는, 질의응답을 통해 사용자를 인증할 수 있는 학습 모델을 이용하여, 사용자를 추가적으로 인증하는 디바이스 및 방법을 제공할 수 있다.In addition, some embodiments may provide a device and method for further authenticating a user using a learning model capable of authenticating the user through a question and answer.
상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 본 개시의 일 실시예에 따른 음성 입력 인증 디바이스는, 상기 음성 입력을 수신하는 마이크, 하나 이상의 인스트럭션을 저장하는 메모리 및 상기 하나 이상의 인스트럭션을 실행하는 프로세서를 포함할 수 있으며, 상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써, 상기 음성 입력으로부터 상기 음성 입력의 신호 특성을 나타내는 신호 특성 데이터를 획득하고, 상기 획득된 신호 특성 데이터를 상기 음성 입력의 속성을 판단하기 위한 제1 학습 모델에 적용함으로써 상기 음성 입력을 인증하며, 상기 제1 학습 모델은 사람에 의해 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 상기 음성 입력의 속성을 판단하도록 학습될 수 있다.As a technical means for achieving the above technical problem, a voice input authentication device according to an embodiment of the present disclosure, a microphone for receiving the voice input, a memory for storing one or more instructions and a processor for executing the one or more instructions The processor may include: acquiring signal characteristic data representing a signal characteristic of the voice input from the voice input by executing the one or more instructions, and converting the obtained signal characteristic data into attributes of the voice input. Authenticating the voice input by applying it to a first learning model for determining, the first learning model being trained to determine the attribute of the voice input based on the voice spoken by a person and the voice output from the device. have.
또한 본 개시의 일 실시예에 따른 음성 입력 인증 방법은, 음성 입력을 수신하는 단계, 상기 음성 입력으로부터 상기 음성 입력의 신호 특성을 나타내는 신호 특성 데이터를 획득하는 단계 및 상기 획득된 신호 특성 데이터를 상기 음성 입력의 속성을 판단하기 위한 제1 학습 모델에 적용함으로써 상기 음성 입력을 인증하는 단계를 포함할 수 있으며, 상기 제1 학습 모델은 사람에 의해 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 상기 음성 입력의 속성을 판단하도록 학습될 수 있다.In addition, the voice input authentication method according to an embodiment of the present disclosure, the step of receiving a voice input, obtaining signal characteristic data representing the signal characteristics of the voice input from the voice input and the obtained signal characteristic data Authenticating the voice input by applying it to a first learning model for determining an attribute of the voice input, wherein the first learning model is based on a voice spoken by a person and a voice output from the device; It can be learned to determine the attribute of the voice input.
또한 본 개시의 일 실시예에 따른 컴퓨터로 판독 가능한 기록매체는, 상술된 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체일 수 있다.In addition, the computer-readable recording medium according to an embodiment of the present disclosure may be a computer-readable recording medium that records a program for executing the above-described method.
본 개시에 의한 음성 입력을 인증하는 디바이스 및 방법에 의하면, 외부의 공격자의 음성 입력에 대한 공격을 보다 효율적으로 방어할 수 있다.According to the device and the method for authenticating the voice input according to the present disclosure, it is possible to more effectively defend against attacks by the external attacker's voice input.
본 개시는, 다음의 자세한 설명과 그에 수반되는 도면들의 결합으로 쉽게 이해될 수 있으며, 참조 번호(reference numerals)들은 구조적 구성요소(structural elements)를 의미한다.The present disclosure can be easily understood by the following detailed description and the accompanying drawings in which reference numerals refer to structural elements.
도 1은 일부 실시예에 따른 디바이스의 블록도이다. 1 is a block diagram of a device in accordance with some embodiments.
도 2는 일부 실시예에 따른, 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 2 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
도 3은 일부 실시예에 따른, 디바이스가 신호 특성 데이터를 획득하는 방법을 설명하기 위한 예시적인 흐름도이다. 3 is an exemplary flow diagram for describing a method for a device to obtain signal characteristic data, according to some embodiments.
도 4a 내지 도 4d는 신호 특성 데이터를 예시적으로 설명하기 위한 도면이다.4A to 4D are diagrams for exemplarily describing signal characteristic data.
도 5는 일부 실시예에 따른, 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 5 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
도 6은 일부 실시예에 따른, 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.6 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
도 7은 일부 실시예에 따른, 디바이스가 사용자를 추가적으로 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.7 is an exemplary flowchart for describing a method in which a device additionally authenticates a user, according to some embodiments.
도 8은 일부 실시예에 따른, 디바이스가 사용자를 추가적으로 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.8 is an exemplary flowchart for describing a method of a device additionally authenticating a user, according to some embodiments.
도 9는 일부 실시예에 따른 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.9 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
도 10은 일부 실시예에 따른 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.10 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
도 11은 일부 실시예에 따른 디바이스의 기능을 설명하기 위한 도면이다.11 is a diagram for describing a function of a device, according to some embodiments.
도 12는 일부 실시예에 따른 디바이스의 블록도이다.12 is a block diagram of a device in accordance with some embodiments.
도 13은 일부 실시예에 따른 디바이스의 블록도이다.13 is a block diagram of a device in accordance with some embodiments.
도 14는 일부 실시예에 따른 프로세서의 블록도이다.14 is a block diagram of a processor in accordance with some embodiments.
도 15는 일부 실시예에 따른 데이터 학습부의 블록도이다.15 is a block diagram of a data learner according to an exemplary embodiment.
도 16은 일부 실시예에 따른 데이터 인식부의 블록도이다.16 is a block diagram of a data recognizer according to some example embodiments.
도 17은 일부 실시예에 따른 디바이스 및 서버가 서로 연동함으로써 데이터를 학습하고 인식하는 예시를 나타내는 도면이다.17 is a diagram illustrating an example of learning and recognizing data by interworking with a device and a server according to some embodiments.
본 개시에 의한 음성 입력 인증 방법은 상기 음성 입력을 수신하는 단계, 상기 음성 입력으로부터 상기 음성 입력의 신호 특성을 나타내는 신호 특성 데이터를 획득하는 단계 및 상기 획득된 신호 특성 데이터를 상기 음성 입력의 속성을 판단하기 위한 제1 학습 모델에 적용함으로써 상기 음성 입력을 인증하는 단계를 포함할 수 있으며, 상기 제1 학습 모델은 사람에 의해 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 상기 음성 입력의 속성을 판단하도록 학습될 수 있다.The voice input authentication method according to the present disclosure comprises the steps of: receiving the voice input, acquiring signal characteristic data indicating a signal characteristic of the voice input from the voice input, and obtaining the attribute of the voice input from the acquired signal characteristic data. Authenticating the voice input by applying it to a first learning model for determining, wherein the first learning model is based on a voice spoken by a person and a voice output from a device; Can be learned to determine.
아래에서는 첨부한 도면을 참조하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 개시의 실시예를 상세히 설명한다. 그러나 본 개시는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 또한, 도면에서 본 개시를 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present disclosure. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In addition, in order to clearly describe the present disclosure in the drawings, irrelevant parts are omitted, and like reference numerals designate like parts throughout the specification.
본 개시의 일부 실시예는 기능적인 블록 구성들 및 다양한 처리 단계들로 나타내어질 수 있다. 이러한 기능 블록들의 일부 또는 전부는, 특정 기능들을 실행하는 다양한 개수의 하드웨어 및/또는 소프트웨어 구성들로 구현될 수 있다. 예를 들어, 본 개시의 기능 블록들은 하나 이상의 마이크로프로세서들에 의해 구현되거나, 소정의 기능을 위한 회로 구성들에 의해 구현될 수 있다. 또한, 예를 들어, 본 개시의 기능 블록들은 다양한 프로그래밍 또는 스크립팅 언어로 구현될 수 있다. 기능 블록들은 하나 이상의 프로세서들에서 실행되는 알고리즘으로 구현될 수 있다. 또한, 본 개시는 전자적인 환경 설정, 신호 처리, 및/또는 데이터 처리 등을 위하여 종래 기술을 채용할 수 있다.Some embodiments of the present disclosure may be represented by functional block configurations and various processing steps. Some or all of these functional blocks may be implemented in various numbers of hardware and / or software configurations that perform particular functions. For example, the functional blocks of the present disclosure may be implemented by one or more microprocessors or by circuit configurations for a given function. In addition, for example, the functional blocks of the present disclosure may be implemented in various programming or scripting languages. The functional blocks may be implemented in algorithms running on one or more processors. In addition, the present disclosure may employ the prior art for electronic configuration, signal processing, and / or data processing.
또한, 도면에 도시된 구성 요소들 간의 연결 선 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것일 뿐이다. 실제 장치에서는 대체 가능하거나 추가된 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들에 의해 구성 요소들 간의 연결이 나타내어질 수 있다.In addition, the connecting lines or connecting members between the components shown in the drawings are merely illustrative of functional connections and / or physical or circuit connections. In an actual device, the connections between components may be represented by various functional connections, physical connections, or circuit connections that are replaceable or added.
또한, 본 명세서에 기재된 "...부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. "부", "모듈"은 어드레싱될 수 있는 저장 매체에 저장되며 프로세서에 의해 실행될 수 있는 프로그램에 의해 구현될 수도 있다.In addition, the terms "... unit", "module", and the like described herein refer to a unit that processes at least one function or operation, which may be implemented in hardware or software or a combination of hardware and software. have. The "unit" and "module" may be implemented by a program stored in a storage medium that can be addressed and executed by a processor.
한편, 본 명세서와 도면에 개시된 본 개시의 실시예들은 본 개시의 기술 내용을 쉽게 설명하고 본 개시의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 개시의 범위를 한정하고자 하는 것은 아니다. 즉, 본 개시의 기술적 사상에 바탕을 둔 다른 변형예들이 실시 가능하다는 것은 본 개시의 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다. 또한 각각의 실시예는 필요에 따라 서로 조합되어 운용할 수 있다. 예컨대, 본 개시의 일 실시예와 다른 일 실시예의 일부분들이 서로 조합되어 장치의 동작이 운용될 수 있다.On the other hand, the embodiments of the present disclosure disclosed in the specification and drawings are merely presented specific examples to easily explain the technical contents of the present disclosure and aid in understanding the present disclosure, and are not intended to limit the scope of the present disclosure. That is, it will be apparent to those skilled in the art that other modifications based on the technical spirit of the present disclosure can be implemented. In addition, each embodiment may be combined with each other if necessary to operate. For example, portions of one embodiment of the present disclosure and another embodiment of the present disclosure may be combined with each other to operate an apparatus.
도 1은 일부 실시예에 따른 디바이스의 블록도이다.1 is a block diagram of a device in accordance with some embodiments.
도 1을 참조하면, 디바이스(10)는 프로세서(11), 메모리(12) 및 마이크(13)를 포함한다. Referring to FIG. 1, the device 10 includes a processor 11, a memory 12, and a microphone 13.
사용자(1)는 디바이스(10)에 음성 입력을 제공할 수 있다. 음성 입력은 사용자에 의하여 발성된 음성일 수 있으며, 텍스트 정보를 포함할 수 있다. 사용자(1)는 음성 입력을 이용하여 디바이스(10) 혹은 그와 연결된 전자 장치를 제어할 수 있다. 음성 입력은 다양한 형태와 언어로 제공될 수 있다. 예를 들어, 사용자(1)는 "새로 수신된 메일을 확인해, 디바이스(10)"와 같은 음성 입력을 발성할 수 있다.The user 1 may provide a voice input to the device 10. The voice input may be voice spoken by the user and may include text information. The user 1 may control the device 10 or an electronic device connected thereto using a voice input. Voice input may be provided in a variety of forms and languages. For example, the user 1 may speak a voice input such as "check the newly received mail and make the device 10".
디바이스(10)는 마이크(13)를 이용하여 음성 입력을 수신할 수 있다. 이때, 마이크(13)는 주변의 소리를 전기적인 데이터로 변환하여 음성 입력을 수신할 수 있다. 실시 예에 있어서, 디바이스(10)는 복수의 마이크(13)를 포함할 수 있다. 마이크(13)는 수신한 음성 입력을 프로세서(11)에 제공할 수 있다.The device 10 may receive a voice input using the microphone 13. At this time, the microphone 13 may receive a voice input by converting the ambient sound into electrical data. In an embodiment, the device 10 may include a plurality of microphones 13. The microphone 13 may provide the received voice input to the processor 11.
프로세서(11)는 디바이스(10)의 전반적인 동작을 제어한다. 프로세서(11)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 적어도 하나의 인스트럭션을 처리하도록 구성될 수 있다. 상술된 인스트럭션은 메모리(12)로부터 프로세서(11)에 제공될 수 있다. 즉, 프로세서(11)는 메모리(12)와 같은 기록 장치에 저장된 프로그램 코드에 따라 인스트럭션을 실행하도록 구성될 수 있다. 혹은 인스트럭션은 통신 모듈(미도시)을 통해 디바이스(10)로 수신되어 프로세서(11)로 제공될 수도 있다.The processor 11 controls the overall operation of the device 10. The processor 11 may be configured to process at least one instruction by performing basic arithmetic, logic and input / output operations. The above-described instructions may be provided from the memory 12 to the processor 11. In other words, the processor 11 may be configured to execute an instruction according to a program code stored in a recording device such as the memory 12. Alternatively, the instruction may be received by the device 10 through a communication module (not shown) and provided to the processor 11.
프로세서(11)는 수신된 음성 입력을 인증하고, 인증 결과에 기초하여, 음성 입력을 이용하여 디바이스(10) 혹은 그와 연결된 전자 장치를 제어할 수 있다. 예를 들어, 프로세서(11)는 "빅스비(Bixby), 새로 수신된 메일을 확인해"의 음성 입력이 인증되면, 새로 수신된 메일을 확인하도록 디바이스(10)를 제어할 수 있다.The processor 11 may authenticate the received voice input and control the device 10 or an electronic device connected thereto using the voice input based on the authentication result. For example, if the voice input of “Bixby, check newly received mail” is authenticated, the processor 11 may control the device 10 to check newly received mail.
한편, 프로세서(11)는, 사용자(1)가, 인증되지 않은 음성 입력을 이용하여 디바이스(10) 혹은 그와 연결된 전자 장치를 제어하는 것을 거부할 수 있다. 예를 들어, 프로세서(11)는 "빅스비(Bixby), 새로 수신된 메일을 확인해"의 음성 입력이 인증되지 않으면, 디바이스(10)의 메일 확인 동작을 수행하지 않을 수 있다.Meanwhile, the processor 11 may refuse to allow the user 1 to control the device 10 or an electronic device connected thereto using an unauthenticated voice input. For example, if the voice input of “Bixby, check newly received mail” is not authenticated, the processor 11 may not perform the mail checking operation of the device 10.
실시 예에 있어서, 프로세서(11)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 신호 특성 데이터는 음성 입력의 전기적인 신호 특성을 나타내는 데이터이다. 실시 예에 있어서, 신호 특성 데이터는 음성 입력을 주파수, 시간 혹은 전력 중 적어도 하나를 기준으로 하여 분석한 데이터일 수 있다. 프로세서(11)는 신호 특성 데이터를 제1 학습 모델에 적용하여 음성 입력을 인증할 수 있다. In an embodiment, the processor 11 may obtain signal characteristic data from a voice input. The signal characteristic data is data representing electrical signal characteristics of the voice input. In an embodiment, the signal characteristic data may be data obtained by analyzing a voice input based on at least one of frequency, time, or power. The processor 11 may apply the signal characteristic data to the first learning model to authenticate the voice input.
보다 구체적으로, 프로세서(11)는 신호 특성 데이터를 제 1 학습 모델에 적용하여 음성 입력의 속성을 판단할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다. 본 개시에서, 사람으로부터 발성된 음성 입력은, 사람의 성대를 통하여 발성된 음성을 의미한다. 본 개시에서, 장치로부터 출력된 음성 입력은, 스피커, 녹음기, 재생 장치 등을 통하여 전자적으로 합성되거나 녹음되어 출력된 음성을 의미한다. 프로세서(11)는, 음성 입력의 속성을 이용하여, 수신된 음성 입력이 사용자에 의한 것인지 혹은 장치를 이용한 외부 공격에 의한 것인지 여부를 판단할 수 있다.More specifically, the processor 11 may determine the property of the voice input by applying the signal characteristic data to the first learning model. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device. In the present disclosure, voice input spoken by a person means voice spoken through a human vocal cord. In the present disclosure, the voice input output from the device refers to a voice that is electronically synthesized or recorded and output through a speaker, a recorder, a playback device, and the like. The processor 11 may use the attribute of the voice input to determine whether the received voice input is by a user or by an external attack using the device.
실시 예에 있어서, 프로세서(11)는 신호 특성 데이터를 제 1 학습 모델에 적용하여, 음성 입력의 속성 및 판단된 속성에 대한 신뢰도를 판단할 수 있다. 신뢰도는 판단된 음성 입력의 속성이 실제와 일치할 확률일 수 있다. 신뢰도는 다양한 형태로 판단될 수 있다. 예를 들어, 프로세서(11)는, 음성 입력이 90%의 신뢰도로 사람으로부터 발성된 것이라 판단할 수 있다. 혹은 프로세서(11)는, 음성 입력이, 미리 정해진 단계 중 특정 단계에 해당하는 신뢰도로, 장치로부터 출력된 것이라 판단할 수 있다.In an embodiment, the processor 11 may apply signal characteristic data to the first learning model to determine the reliability of the attribute of the voice input and the determined attribute. The reliability may be a probability that the attribute of the determined voice input coincides with the reality. Reliability can be determined in various forms. For example, the processor 11 may determine that the voice input is spoken by a person with 90% reliability. Alternatively, the processor 11 may determine that the voice input is output from the device with reliability corresponding to a specific step among predetermined steps.
프로세서(11)는 판단된 음성 입력의 속성에 기초하여 음성 입력을 인증할 수 있다. 예를 들어, 프로세서(11)는 음성 입력이 사람으로부터 발성된 것으로 판단되면 음성 입력을 인증할 수 있다. 프로세서(11)는 음성 입력이 장치로부터 출력된 것으로 판단되면 음성 입력을 인증하지 않을 수 있다.The processor 11 may authenticate the voice input based on the determined attribute of the voice input. For example, if it is determined that the voice input is spoken by a person, the processor 11 may authenticate the voice input. If it is determined that the voice input is output from the device, the processor 11 may not authenticate the voice input.
한편, 신뢰도에 기초할 때, 프로세서(11)는 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지 판단하기 어려울 수 있다. 이러한 경우, 프로세서(11)는 판단된 신뢰도에 기초하여 제 1 사용자 인증이 요구되는지 여부를 판단할 수 있다. On the other hand, based on the reliability, it may be difficult for the processor 11 to determine whether the voice input is spoken by a person or output from the device. In this case, the processor 11 may determine whether first user authentication is required based on the determined reliability.
프로세서(11)는 제 1 사용자 인증이 요구된다 판단되면, 음성 입력을 제2 학습 모델에 적용하여 사용자를 인증한다.If it is determined that the first user authentication is required, the processor 11 applies the voice input to the second learning model to authenticate the user.
제 1 사용자 인증은, 사용자의 음성 입력 패턴에 기반하여, 음성 입력을 발성한 사용자를 인증하는 동작이다. 본 개시에서, 음성 입력 패턴은, 디바이스를 제어하기 위하여 사용자가 입력한 음성 입력 혹은 음성 입력을 입력하는 상황에 기초하여 결정되는 패턴일 수 있다. 예를 들어, 음성 입력 패턴은 사용자가 프로세서(11)를 통해 음성을 입력하는 사용 행태(usage behavior)을 나타낼 수 있다. 프로세서(11)는 음성 입력을 제2 학습 모델에 적용하여, 비정상적인 이용을 시도하는 사용자에 대한 인증을 거부할 수 있다. The first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user. In the present disclosure, the voice input pattern may be a pattern determined based on a voice input input by a user or a situation of inputting a voice input to control the device. For example, the voice input pattern may indicate a usage behavior of a user inputting voice through the processor 11. The processor 11 may apply the voice input to the second learning model to deny authentication of a user who attempts abnormal use.
실시 예에 있어서, 프로세서(11)는 음성 입력 패턴에 기반하여 제2 학습 모델을 학습시키기 위하여, 컨텍스트 정보를 제 2 학습 모델에 제공할 수 있다.In an embodiment, the processor 11 may provide context information to the second learning model to train the second learning model based on the voice input pattern.
컨텍스트 정보는 디바이스(10)의 주변 환경 정보, 디바이스(10)의 상태 정보, 사용자의 상태 정보, 사용자의 디바이스(10) 사용 이력 정보 및 사용자의 일정 정보 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. The context information may include at least one of surrounding environment information of the device 10, state information of the device 10, state information of the user, usage history information of the device 10, and schedule information of the user. It doesn't happen.
한편, 프로세서(11)는, 제 1 사용자 인증에 의한, 사용자에 대한 인증이 거부되거나 판별하기 어려운 경우, 제 2 사용자 인증이 요구된다 판단할 수 있다. 프로세서(11)는 제 2 사용자 인증이 요구된다 판단되면, 사용자를 추가적으로 인증할 수 있다.On the other hand, the processor 11 may determine that the second user authentication is required when the user authentication by the first user authentication is denied or difficult to determine. If it is determined that the second user authentication is required, the processor 11 may additionally authenticate the user.
제 2 사용자 인증은, 사용자로부터 제공되는 추가적인 입력을 이용하여, 음성 입력을 발성한 사용자를 인증하는 동작이다. 실시 예에 있어서, 프로세서(11)는 사용자로부터 수신한 암호문에 기초하여 사용자를 추가적으로 인증할 수 있다. 다른 실시 예에 있어서, 프로세서(11)는 질의 응답을 통해 사용자를 인증하기 위한 제3 학습 모델을 이용하여, 사용자를 추가적으로 인증할 수 있다. 다른 실시 예에 있어서, 프로세서(11)는 지문 인식 혹은 얼굴 인식과 같은 생체 인식을 이용하여, 사용자를 추가적으로 인증할 수 있다.The second user authentication is an operation of authenticating a user who has spoken a voice input by using an additional input provided from the user. In an embodiment, the processor 11 may additionally authenticate the user based on the cipher text received from the user. In another embodiment, the processor 11 may additionally authenticate the user by using a third learning model for authenticating the user through a query response. In another embodiment, the processor 11 may additionally authenticate the user by using biometrics such as fingerprint recognition or face recognition.
디바이스(10)는 스마트폰, 태블릿 PC, PC, 스마트 TV, 휴대폰, PDA(personal digital assistant), 랩톱, 미디어 플레이어, 마이크로 서버, GPS(global positioning system) 장치, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라, 가전기기 및 기타 모바일 또는 비모바일 컴퓨팅 장치일 수 있으나, 이에 한정되지 않는다. 또한, 디바이스(10)는 통신 기능 및 데이터 프로세싱 기능을 구비한 시계, 안경, 헤어 밴드 및 반지 등의 웨어러블 디바이스일 수 있다. 그러나, 이에 한정되지 않으며, 디바이스(10)는 사용자(1)의 음성 입력을 수신하고, 수신된 음성 입력을 인증할 수 있는 모든 종류의 기기를 포함할 수 있다.The device 10 may be a smart phone, a tablet PC, a PC, a smart TV, a mobile phone, a personal digital assistant (PDA), a laptop, a media player, a micro server, a global positioning system (GPS) device, an e-book device, a digital broadcasting terminal, and navigation. , Kiosks, MP3 players, digital cameras, home appliances, and other mobile or non-mobile computing devices. In addition, the device 10 may be a wearable device such as a watch, glasses, a hair band and a ring having a communication function and a data processing function. However, the present invention is not limited thereto, and the device 10 may include all kinds of devices capable of receiving a voice input of the user 1 and authenticating the received voice input.
또한, 디바이스(10)는 다양한 컨텍스트 정보를 이용하기 위하여, 소정의 네트워크를 통하여 서버 및 다른 장치(미도시)와 통신할 수 있다. 이 경우, 네트워크는 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN), 부가가치 통신망(Value Added Network; VAN), 이동 통신망(mobile radio communication network), 위성 통신망 및 이들의 상호 조합을 포함하며, 각 네트워크 구성 주체가 서로 원활하게 통신을 할 수 있도록 하는 포괄적인 의미의 데이터 통신망이며, 유선 인터넷, 무선 인터넷 및 모바일 무선 통신망을 포함할 수 있다. 무선 통신은 예를 들어, 무선 랜(Wi-Fi), 블루투스, 블루투스 저 에너지(Bluetooth low energy), 지그비, WFD(Wi-Fi Direct), UWB(ultra wideband), 적외선 통신(IrDA, infrared Data Association), NFC(Near Field Communication) 등이 있을 수 있으나, 이에 한정되는 것은 아니다.In addition, the device 10 may communicate with a server and another device (not shown) through a predetermined network in order to use various context information. In this case, the network may include a local area network (LAN), a wide area network (WAN), a value added network (VAN), a mobile radio communication network, a satellite communication network, and their interconnections. It is a comprehensive data communication network that includes a combination and allows each network component to communicate smoothly with each other. The network communication device may include a wired internet, a wireless internet, and a mobile wireless communication network. Wireless communication includes, for example, wireless LAN (Wi-Fi), Bluetooth, Bluetooth low energy (ZigBee), Zigbee, Wi-Fi Direct (WFD), ultra wideband (UWB), infrared communication (IrDA) ), But may include Near Field Communication (NFC), but is not limited thereto.
도 2는 일부 실시예에 따른, 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 2 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments.
단계 S210에서, 디바이스(10)는 음성 입력을 수신할 수 있다. 디바이스(10)는 적어도 하나의 마이크를 이용하여 사용자로부터 제공되는 음성 입력을 수신할 수 있다.In operation S210, the device 10 may receive a voice input. The device 10 may receive a voice input provided from a user using at least one microphone.
단계 S220에서, 디바이스(10)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 신호 특성 데이터는 음성 입력의 전기적인 신호 특성을 나타내는 데이터일 수 있다. 실시 예에 있어서, 신호 특성 데이터는 음성 입력을 주파수, 시간 혹은 전력 중 적어도 하나를 기준으로 하여 분석한 데이터일 수 있다. 예를 들어, 신호 특성 데이터는 음성 입력의 스펙트로그램(spectrogram) 혹은 주파수별 누적 전력(per-frequecy cumulative power)을 포함할 수 있다. 그러나 이는 예시적인 것으로, 본 개시의 신호 특성 데이터의 종류는 상술된 종류에 한정되지 않는다.In operation S220, the device 10 may obtain signal characteristic data from the voice input. The signal characteristic data may be data representing electrical signal characteristics of the voice input. In an embodiment, the signal characteristic data may be data obtained by analyzing a voice input based on at least one of frequency, time, or power. For example, the signal characteristic data may include a spectrogram or per-frequecy cumulative power of a voice input. However, this is exemplary and the type of the signal characteristic data of the present disclosure is not limited to the above-described kind.
단계 S230에서, 디바이스(10)는 신호 특성 데이터를 제1 학습 모델에 적용하여 음성 입력을 인증할 수 있다. In operation S230, the device 10 may apply signal characteristic data to the first learning model to authenticate the voice input.
보다 구체적으로, 디바이스(10)는 신호 특성 데이터를 제 1 학습 모델에 적용하여 음성 입력의 속성을 판단할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다. 디바이스(10)는, 음성 입력의 속성을 이용하여, 수신된 음성 입력이 사용자에 의한 것인지 혹은 장치를 이용한 외부 공격에 의한 것인지 여부를 판단할 수 있다.More specifically, the device 10 may determine the property of the voice input by applying the signal characteristic data to the first learning model. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device. The device 10 may determine whether the received voice input is by a user or by an external attack using the device, by using the property of the voice input.
실시 예에 있어서, 디바이스(10)는 신호 특성 데이터를 제 1 학습 모델에 적용하여, 음성 입력의 속성 및 판단된 음성 입력의 속성에 대한 신뢰도를 판단할 수 있다. 신뢰도는 다양한 형태로 판단될 수 있다. In an embodiment, the device 10 may apply the signal characteristic data to the first learning model to determine the reliability of the attribute of the voice input and the attribute of the determined voice input. Reliability can be determined in various forms.
실시 예에 있어서, 디바이스(10)는 판단된 음성 입력의 속성과 신뢰도에 기초하여 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 음성 입력이 사람으로부터 발성된 것으로 판단되면, 신뢰도와 메모리에 저장된 임계값을 비교할 수 있다. 디바이스(10)는 비교 결과에 기초하여 음성 입력을 인증할 수 있다. 혹은, 디바이스(10)는 음성 입력이 장치로부터 출력된 것으로 판단되면, 신뢰도와 메모리에 저장된 임계값을 비교하고, 비교 결과에 기초하여 음성 입력을 인증하지 않을 수 있다.In an embodiment, the device 10 may authenticate the voice input based on the determined attributes and reliability of the voice input. For example, if it is determined that the voice input is spoken by a person, the device 10 may compare the reliability with a threshold stored in the memory. The device 10 may authenticate the voice input based on the comparison result. Alternatively, when it is determined that the voice input is output from the apparatus, the device 10 may compare the reliability with a threshold stored in the memory and may not authenticate the voice input based on the comparison result.
제 1 학습 모델은 미리 설정되어 디바이스(10)에 저장된 것일 수 있다. 이 경우, 제 1 학습 모델을 생성 운영하는 서버가 디바이스(10)에게 제 1 학습 모델을 제공할 수 있으며, 디바이스(10)는 서버로부터 수신된 제 1 학습 모델을 디바이스(10) 내에 저장하고 관리할 수 있다.The first learning model may be preset and stored in the device 10. In this case, a server that generates and operates the first learning model may provide the first learning model to the device 10, and the device 10 stores and manages the first learning model received from the server in the device 10. can do.
또한, 미리 설정된 제 1 학습 모델은 서버에 저장될 수 있다. 이 경우, 디바이스(10)는 서버에게 신호 특성 데이터를 제공하고, 신호 특성 데이터에 기초하여 결정된 음성 입력의 속성을 서버로부터 수신할 수 있다.In addition, the preset first learning model may be stored in a server. In this case, the device 10 may provide the signal characteristic data to the server, and receive the attribute of the voice input determined based on the signal characteristic data from the server.
미리 설정된 제 1 학습 모델은 기계학습 알고리즘, 신경망 알고리즘, 유전자 알고리즘, 딥러닝 알고리즘, 분류 알고리즘 중 적어도 하나의 인공 지능 알고리즘을 이용하여 학습된 학습 모델일 수 있다 The preset first learning model may be a learning model trained using at least one artificial intelligence algorithm among a machine learning algorithm, a neural network algorithm, a genetic algorithm, a deep learning algorithm, and a classification algorithm.
실시 예에 있어서, 미리 설정된 제 1 학습 모델은 사람으로부터 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 음성 입력의 속성을 판단하도록 미리 학습된 것일 수 있다. 예를 들어, 사용자로부터 발성된 다양한 길이 및 내용의 음성과, 다양한 장치들로부터 출력된 음성을 포함하는 복수의 음성들이 제공될 수 있으며, 제공된 음성들로부터 획득된 신호 특성 데이터를 합습 데이터로 이용함으로써, 미리 설정된 제 1 학습 모델이 학습될 수 있다.In an embodiment, the preset first learning model may be pre-trained to determine a property of a voice input based on a voice spoken by a person and a voice output from a device. For example, a plurality of voices may be provided, including voices of various lengths and contents spoken by a user, and voices output from various devices, and by using signal characteristic data obtained from the provided voices as training data. The first learning model preset may be learned.
도 3은 일부 실시예에 따른, 디바이스가 신호 특성 데이터를 획득하는 방법을 설명하기 위한 예시적인 흐름도이다. 실시 예에 있어서, 신호 특성 데이터는 주파수별 누적 전력(per-frequency cumulative power)에 관한 정보를 포함한다.3 is an exemplary flow diagram for describing a method for a device to obtain signal characteristic data, according to some embodiments. In an embodiment, the signal characteristic data includes information on per-frequency cumulative power.
단계 S221에서, 디바이스(10)는 음성 입력을 주파수 차원으로 변환할 수 있다. 실시 예에 있어서, 디바이스(10)는 음성 입력에 대한 스펙트로그램을 획득할 수 있다. 상술된 스펙트로그램은 시간에 대하여, 각 주파수 및 그에 대응되는 전력에 관한 정보를 포함할 수 있다. In operation S221, the device 10 may convert the voice input into the frequency dimension. In an embodiment, the device 10 may obtain a spectrogram for the voice input. The spectrogram described above may include information about each frequency and its corresponding power with respect to time.
실시 예에 있어서, 디바이스(10)는 퓨리에 변환(Fourier Transform)을 이용하여 상술된 스펙트로그램을 획득할 수 있다. 예를 들어, 디바이스(10)는 단시간 퓨리에 변환(STFT: Short-time Fourier Transform)을 이용하여 상술된 스펙트로그램을 획득할 수 있다. 그러나 본 개시에서 음성 입력에 대한 스펙트로그램을 획득하는 실시예는 상술된 예시들에 한정되지 않는다.In an embodiment, the device 10 may obtain the above-described spectrogram by using a Fourier transform. For example, the device 10 may obtain the spectrogram described above using a short-time Fourier transform (STFT). However, the embodiment of obtaining the spectrogram for the voice input in the present disclosure is not limited to the examples described above.
단계 S222에서, 디바이스(10)는 주파수별 누적 전력에 관한 정보를 획득할 수 있다. 스펙트로그램은 시간에 대하여, 각 주파수 및 그에 대응되는 전력에 관한 정보를 포함할 수 있다. 디바이스(10)는 각 주파수의 소정의 시간에 대한 누적 전력을 계산하여, 주파수별 누적 전력에 관한 정보를 획득할 수 있다. 상술된 소정의 시간은 음성 입력이 발성된 시간일 수 있다.In operation S222, the device 10 may obtain information about cumulative power for each frequency. The spectrogram may include information about each frequency and its corresponding power with respect to time. The device 10 may obtain cumulative power information for each frequency by calculating cumulative power for a predetermined time of each frequency. The predetermined time described above may be a time at which the voice input is spoken.
도 4a 내지 도 4d는 신호 특성 데이터를 예시적으로 설명하기 위한 도면이다. 4A to 4D are diagrams for exemplarily describing signal characteristic data.
도 4a는 사람으로부터 발성된 음성에 대한 스펙트로그램을 나타내는 도면이다. 도 4b는 장치로부터 출력된 음성에 대한 스펙트로그램을 나타내는 도면이다. 각 스펙트로그램에서, 주파수는 Hz 단위로, 시간은 sec 단위로, 전력은 dB 단위로 표시되었다. Figure 4a is a diagram showing a spectrogram for speech spoken from a person. 4B is a diagram illustrating a spectrogram of the voice output from the apparatus. In each spectrogram, frequencies are expressed in Hz, time in seconds, and power in dB.
도 4c는, 도 4a의 음성의, 주파수별 누적 전력을 나타내는 도면이다. 도 4d는, 도 4b의 음성의, 주파수별 누적 전력을 나타내는 도면이다. 도 4a 내지 도 4d에서 사용된 음성은 예시적인 것으로, 본 개시의 기술적 사상은 이에 의하여 한정되지 않는다.4C is a diagram illustrating cumulative power for each frequency of the voice of FIG. 4A. 4D is a diagram illustrating cumulative power for each frequency of the voice of FIG. 4B. The voice used in FIGS. 4A to 4D is exemplary, and the technical spirit of the present disclosure is not limited thereto.
도 4a 내지 도 4d를 참조하면, 사람으로부터 발성된 음성과 장치로부터 출력된 음성은 상이한 전기적 신호 특성을 나타낸다. 예를 들어, 사람으로부터 발성된 음성과 장치로부터 출력된 음성은, 주파수별 누적 전력에 있어서 상이한 감쇠 형태를 보인다. 또한 사람으로부터 발성된 음성과 장치로부터 출력된 음성의 전력은, 서로 다른 주파수 대역에 집중되어 있으며, 고주파수와 저주파수 대역에서 가지는 상대적 크기도 서로 상이하다.4A to 4D, voices spoken by a person and voices output from a device exhibit different electrical signal characteristics. For example, the voice spoken by a person and the voice output from a device show a different form of attenuation in cumulative power for each frequency. In addition, the power of the voice uttered by a person and the voice output from the device are concentrated in different frequency bands, and the relative magnitudes of the high frequency and the low frequency band are also different from each other.
이에 따라, 제 1 학습 모델은 사람으로부터 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 각 음성들로부터 획득된 신호 특성 데이터를 이용하여 음성 입력의 속성을 판단하도록 미리 학습될 수 있다.Accordingly, the first learning model may be pre-learned to determine the property of the voice input using signal characteristic data obtained from the voices based on the voice spoken by the person and the voice output from the device.
도 5는 일부 실시예에 따른, 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 도 5를 참조하면, 디바이스(10)는 제2 학습 모델을 이용하여, 선택적으로 사용자를 인증할 수 있다.5 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments. Referring to FIG. 5, the device 10 may selectively authenticate a user using the second learning model.
단계 S510에서, 디바이스(10)는 음성 입력을 수신할 수 있다. 디바이스(10)는 적어도 하나의 마이크를 이용하여 사용자로부터 제공되는 음성 입력을 수신할 수 있다.In operation S510, the device 10 may receive a voice input. The device 10 may receive a voice input provided from a user using at least one microphone.
단계 S520에서, 디바이스(10)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 신호 특성 데이터는 음성 입력의 전기적인 신호 특성을 나타내는 데이터이다. 실시 예에 있어서, 신호 특성 데이터는 음성 입력의 스펙트로그램(spectrogram) 혹은 주파수별 누적 전력(per-frequecy cumulative power)을 포함할 수 있다. 그러나 이는 예시적인 것으로, 본 개시의 신호 특성 데이터의 종류는 상술된 종류에 한정되지 않는다.In operation S520, the device 10 may obtain signal characteristic data from the voice input. The signal characteristic data is data representing electrical signal characteristics of the voice input. In an embodiment, the signal characteristic data may include a spectrogram or per-frequecy cumulative power of a voice input. However, this is exemplary and the type of the signal characteristic data of the present disclosure is not limited to the above-described kind.
단계 S530에서, 디바이스(10)는, 신호 특성 데이터를 제1 학습 모델에 적용하여, 제 1 사용자 인증이 요구되는지 여부를 판단할 수 있다. In operation S530, the device 10 may determine whether the first user authentication is required by applying the signal characteristic data to the first learning model.
실시 예에 있어서, 디바이스(10)는 신호 특성 데이터를 제 1 학습 모델에 적용하여, 음성 입력의 속성 및 그에 대한 신뢰도를 판단할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다. In an embodiment, the device 10 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
디바이스(10)는 판단된 음성 입력의 속성에 기초하여 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 음성 입력이 사람으로부터 발성된 것으로 판단되면 음성 입력을 인증할 수 있다. 디바이스(10)는 음성 입력이 장치로부터 출력된 것으로 판단되면 음성 입력을 인증하지 않을 수 있다.The device 10 may authenticate the voice input based on the determined attribute of the voice input. For example, if it is determined that the voice input is spoken by a person, the device 10 may authenticate the voice input. If it is determined that the voice input is output from the device, the device 10 may not authenticate the voice input.
실시 예에 있어서, 디바이스(10)는 판단된 신뢰도에 기초하여 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 음성 입력이 사람으로부터 발성된 것으로 판단되면, 신뢰도와 메모리에 저장된 임계값을 비교하고, 비교 결과에 기초하여 음성 입력을 인증할 수 있다. 혹은, 디바이스(10)는 음성 입력이 장치로부터 출력된 것으로 판단되면, 신뢰도와 메모리에 저장된 임계값을 비교하고, 비교 결과에 기초하여 음성 입력을 인증하지 않을 수 있다.In an embodiment, the device 10 may authenticate the voice input based on the determined reliability. For example, if it is determined that the voice input is spoken by a person, the device 10 may compare the reliability with a threshold stored in the memory and authenticate the voice input based on the comparison result. Alternatively, when it is determined that the voice input is output from the apparatus, the device 10 may compare the reliability with a threshold stored in the memory and may not authenticate the voice input based on the comparison result.
한편, 신뢰도에 기초할 때, 디바이스(10)는 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지 판단하기 어려울 수 있다. 이러한 경우, 디바이스(10)는 판단된 신뢰도에 기초하여 제 1 사용자 인증이 요구되는지 여부를 판단할 수 있다. 예를 들어, 디바이스(10)는 판단된 신뢰도가 소정의 범위, 예를 들어 90% 이하, 에 포함되면, 제 1 사용자 인증이 요구된다 판단할 수 있다.On the other hand, based on the reliability, the device 10 may be difficult to determine whether the voice input is spoken by a person or output from the device. In this case, the device 10 may determine whether first user authentication is required based on the determined reliability. For example, the device 10 may determine that the first user authentication is required when the determined reliability is included in a predetermined range, for example, 90% or less.
단계 S540에서, 디바이스(10)는 제 1 사용자 인증이 요구된다 판단되면, 음성 입력을 제2 학습 모델에 선택적으로 적용하여 사용자를 인증할 수 있다.In operation S540, if it is determined that the first user authentication is required, the device 10 may selectively apply a voice input to the second learning model to authenticate the user.
제 1 사용자 인증은, 사용자의 음성 입력 패턴에 기반하여, 음성 입력을 발성한 사용자를 인증하는 동작이다. 본 개시에서, 음성 입력 패턴은 디바이스를 제어하기 위하여 사용자가 입력한 음성 입력 혹은 음성 입력을 입력하는 상황에 기초하여 결정되는 패턴일 수 있다. 디바이스(10)는 음성 입력을 제2 학습 모델에 적용하여, 비정상적인 이용을 시도하는 사용자에 대한 인증을 거부할 수 있다.The first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user. In the present disclosure, the voice input pattern may be a pattern determined based on a voice input input by a user or a situation of inputting a voice input to control a device. The device 10 may apply the voice input to the second learning model to deny authentication of a user who attempts abnormal use.
이 경우, 디바이스(10)는 사용자의 음성 입력 및 현재 상황을 나타내는 정보를 제2 학습 모델에 적용함으로써 제 1 사용자 인증을 수행할 수 있다.In this case, the device 10 may perform first user authentication by applying the user's voice input and information representing the current situation to the second learning model.
한편, 제2 학습 모델은, 사용자의 음성 입력 패턴에 기반하여 학습된 학습 모델일 수 있다. 예를 들어, 사용자의 음성 입력 및 사용자가 음성을 입력하는 상황을 나타내는 컨텍스트 정보를 학습 데이터로 이용하여, 제2 학습 모델이 미리 학습될 수 있다The second learning model may be a learning model learned based on a voice input pattern of the user. For example, the second learning model may be previously trained using contextual information indicating a user's voice input and a context in which the user inputs the voice as training data.
컨텍스트 정보는 디바이스(10)의 주변 환경 정보, 디바이스(10)의 상태 정보, 사용자의 상태 정보, 사용자의 디바이스(10) 사용 이력 정보 및 사용자의 일정 정보 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. The context information may include at least one of surrounding environment information of the device 10, state information of the device 10, state information of the user, usage history information of the device 10, and schedule information of the user. It doesn't happen.
디바이스(10)의 주변 환경 정보는, 디바이스(10)로부터 소정 반경 내의 환경 정보를 의미하는 것으로서, 날씨 정보, 온도 정보, 습도 정보, 조도 정보, 소음 정보, 소리 정보, 시간 정보 등을 포함할 수 있다. 예를 들어, 제2 학습 모델은, 학습된 장소와 상이한 장소에서 사용자로부터 음성 입력이 제공되면, 음성 입력을 발성한 사용자가 인증되지 않도록 학습될 수 있다. 혹은, 제2 학습 모델은, 학습된 시간과 상이한 시간에 사용자로부터 음성 입력이 제공되면, 사용자가 인증되지 않도록 학습될 수 있다. 그러나 제 2 학습 모델을 학습시키기 위한 데이터가 이에 한정되는 것은 아니다.The environment information of the device 10 refers to environment information within a predetermined radius from the device 10, and may include weather information, temperature information, humidity information, illuminance information, noise information, sound information, time information, and the like. have. For example, the second learning model may be trained so that the user who spoke the voice input is not authenticated if a voice input is provided from the user at a place different from the learned place. Alternatively, the second learning model may be trained so that the user is not authenticated if a voice input is provided from the user at a time different from the learned time. However, data for training the second learning model is not limited thereto.
디바이스(10)의 상태 정보는, 디바이스(10)의 동작 모드를 나타내는 모드 정보(예컨대, 소리 모드, 진동 모드, 무음 모드, 절전 모드, 차단 모드, 멀티 윈도우 모드, 자동 회전 모드 등), 디바이스(10)의 위치 정보, 시간 정보, 통신 모듈의 활성화 정보(예컨대, Wi-Fi ON / Bluetooth OFF / GPS ON/ NFC ON 등), 디바이스(10)의 네트워크 접속 상태 정보, 디바이스(10)에서 실행되는 애플리케이션 정보(예컨대, 애플리케이션의 식별 정보, 애플리케이션 종류, 애플리케이션 이용 시간, 애플리케이션 이용 주기) 등을 포함할 수 있다. The state information of the device 10 may include mode information indicating an operation mode of the device 10 (for example, a sound mode, a vibration mode, a silent mode, a power saving mode, a blocking mode, a multi window mode, an automatic rotation mode, and the like), and a device ( 10) location information, time information, activation information of the communication module (for example, Wi-Fi ON / Bluetooth OFF / GPS ON / NFC ON, etc.), network connection status information of the device 10, the device 10 Application information (eg, application identification information, application type, application usage time, application usage cycle), and the like.
사용자의 상태 정보는 사용자의 특성, 사용자의 움직임, 생활 패턴 등에 관한 정보로서, 사용자의 성별, 사용자의 걷는 상태, 운동하는 상태, 운전 중인 상태, 수면 상태, 사용자의 기분 상태 등에 관한 정보를 포함할 수 있다. 예를 들어, 제2 학습 모델은 사용자가 음성 입력 시 자주 사용하지 않는 제스처를 인식하면 사용자가 인증되지 않도록 학습될 수 있다. 그러나 컨텍스트 정보에 포함되는 사용자의 상태 정보가 이에 한정되는 것은 아니다.The user's status information is information about the user's characteristics, the user's movements, and the lifestyle. The user's status information may include information about the user's gender, the user's walking state, exercise state, driving state, sleep state, and user's mood state. Can be. For example, the second learning model may be trained so that the user is not authenticated if the user recognizes a gesture that is not frequently used in voice input. However, the state information of the user included in the context information is not limited thereto.
사용자의 디바이스(10) 사용 이력 정보는, 사용자가 디바이스(10)를 이용한 이력에 관한 정보로서, 어플리케이션의 실행 이력, 어플리케이션에서 실행된 기능의 이력, 사용자의 통화 내역, 및 사용자의 문자 내역, 음성 입력에 포함된 단어의 빈도, 음성 입력의 평균 이용 횟수 및 사용자가 음성 입력을 이용하는 동작 사이의 평균 시간 등을 포함할 수 있다. The usage history information of the user's device 10 is information about a history of the user's use of the device 10, and includes a history of execution of an application, a history of functions executed in the application, a history of a user's call, a history of a user's text, and a voice. The frequency of the words included in the input, the average number of times the voice input is used, and the average time between the operation of the user using the voice input, and the like.
사용자의 일정 정보는, 사용자의 과거 일정 및 예정된 일정에 관한 정보이다. 일정 정보는 사용자의 사전 입력에 의하여 제공될 수 있다. 혹은 디바이스(10)는 네트워크를 이용하여 연결된 서버 혹은 다른 전자 장치들로부터 일정 정보를 제공받을 수 있다.The schedule information of the user is information about a past schedule and a scheduled schedule of the user. The schedule information may be provided by a user's prior input. Alternatively, the device 10 may receive schedule information from a server or other electronic devices connected through a network.
사용자를 인증함에 있어서, 어떤 컨텍스트 정보가 이용될 지는 기 설정된 기준에 의한 학습에 따라 결정될 수 있다. 예를 들어, 소정의 음성 입력 및 소정의 컨텍스트 정보를 입력 값으로 하는 지도 학습(supervised learning), 별다른 지도없이 사용자 인증을 위해 필요한 컨텍스트 정보의 종류를 스스로 학습함으로써, 사용자 인증의 패턴을 발견하는 비지도 학습(unsupervised learning)이 사용자 인증에 이용될 수 있다. 또한, 예를 들어, 학습에 따른 사용자의 의도 파악의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)이 사용자 인증에 이용될 수 있다.In authenticating a user, which context information is used may be determined according to learning based on predetermined criteria. For example, busy learning that discovers a pattern of user authentication by supervised learning that takes a predetermined voice input and predetermined context information as an input value, and learns the kind of context information required for user authentication without any guidance. Unsupervised learning can be used for user authentication. Further, for example, reinforcement learning using feedback on whether the result of the user's intention grasping according to the learning is correct may be used for user authentication.
한편, 디바이스(10)는 음성 입력에 대한 STT(Speech to Text) 변환을 수행할 수 있다. 디바이스(10)는, STT를 통해 변환된 음성 입력으로부터 사용자의 커맨드를 추출할 수 있다. 디바이스(10)는 추출된 사용자의 커맨드의 언어, 종류, 길이 및 내용 중 적어도 하나를 제2 학습 모델에 적용할 수 있다.Meanwhile, the device 10 may perform speech to text (STT) conversion on the voice input. The device 10 may extract a user command from the voice input converted through the STT. The device 10 may apply at least one of the language, type, length, and content of the extracted user command to the second learning model.
단계 S550에서, 디바이스(10)는 사용자 인증 결과에 기초하여 음성 입력을 인증한다. 예를 들어, 디바이스(10)는 사용자가 인증되면, 음성 입력의 속성이 낮은 신뢰도로 판별되어도 음성 입력을 인증할 수 있다. 디바이스(10)는 사용자가 인증되지 않으면, 음성 입력을 인증하지 않을 수 있다.In operation S550, the device 10 authenticates a voice input based on the user authentication result. For example, if the user is authenticated, the device 10 may authenticate the voice input even if the attribute of the voice input is determined to be low reliability. If the user is not authenticated, the device 10 may not authenticate the voice input.
도 6은 일부 실시예에 따른, 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 도 6을 참조하면, 디바이스(10)는 선택적으로 사용자를 추가 인증할 수 있다.6 is an exemplary flow diagram illustrating a method for a device to authenticate voice input, in accordance with some embodiments. Referring to FIG. 6, the device 10 may selectively authenticate additional users.
단계 S610에서, 디바이스(10)는 음성 입력을 수신할 수 있다. 디바이스(10)는 적어도 하나의 마이크를 이용하여 사용자로부터 제공되는 음성 입력을 수신할 수 있다.In operation S610, the device 10 may receive a voice input. The device 10 may receive a voice input provided from a user using at least one microphone.
단계 S620에서, 디바이스(10)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 실시 예에 있어서, 신호 특성 데이터는 음성 입력의 스펙트로그램(spectrogram) 혹은 주파수별 누적 전력(per-frequecy cumulative power)을 포함할 수 있다. 그러나 이는 예시적인 것으로, 본 개시의 신호 특성 데이터의 종류는 상술된 종류에 한정되지 않는다.In operation S620, the device 10 may obtain signal characteristic data from the voice input. In an embodiment, the signal characteristic data may include a spectrogram or per-frequecy cumulative power of a voice input. However, this is exemplary and the type of the signal characteristic data of the present disclosure is not limited to the above-described kind.
단계 S630에서, 디바이스(10)는, 신호 특성 데이터를 제1 학습 모델에 적용하여, 제 1 사용자 인증이 요구되는지 여부를 판단할 수 있다. In operation S630, the device 10 may determine whether the first user authentication is required by applying the signal characteristic data to the first learning model.
실시 예에 있어서, 디바이스(10)는 신호 특성 데이터를 제 1 학습 모델에 적용하여, 음성 입력의 속성 및 그에 대한 신뢰도를 판단할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다. In an embodiment, the device 10 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
디바이스(10)는 판단된 음성 입력의 속성에 기초하여 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 음성 입력이 사람으로부터 발성된 것으로 판단되면 음성 입력을 인증할 수 있다. 디바이스(10)는 음성 입력이 장치로부터 출력된 것으로 판단되면 음성 입력을 인증하지 않을 수 있다.The device 10 may authenticate the voice input based on the determined attribute of the voice input. For example, if it is determined that the voice input is spoken by a person, the device 10 may authenticate the voice input. If it is determined that the voice input is output from the device, the device 10 may not authenticate the voice input.
실시 예에 있어서, 디바이스(10)는 판단된 신뢰도에 기초하여 음성 입력을 인증할 수 있다. 한편, 신뢰도에 기초할 때, 디바이스(10)는 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지 판단하기 어려울 수 있다. 이러한 경우, 디바이스(10)는 판단된 신뢰도에 기초하여 제 1 사용자 인증이 요구되는지 여부를 판단할 수 있다. In an embodiment, the device 10 may authenticate the voice input based on the determined reliability. On the other hand, based on the reliability, the device 10 may be difficult to determine whether the voice input is spoken by a person or output from the device. In this case, the device 10 may determine whether first user authentication is required based on the determined reliability.
단계 S640에서, 디바이스(10)는 제 1 사용자 인증이 요구된다 판단되면, 음성 입력을 제2 학습 모델에 적용하여, 제 2 사용자 인증이 요구되는지 여부를 판단할 수 있다.In operation S640, when it is determined that the first user authentication is required, the device 10 may determine whether the second user authentication is required by applying the voice input to the second learning model.
제 1 사용자 인증은, 사용자의 음성 입력 패턴에 기반하여, 음성 입력을 발성한 사용자를 인증하는 동작이다. 본 개시에서, 음성 입력 패턴은 사용자가 디바이스(10)를 통해 음성 입력을 이용하는 사용 행태(usage behavior)을 나타낸다. 디바이스(10)는 음성 입력을 제2 학습 모델에 적용하여, 비정상적인 이용을 시도하는 사용자에 대한 인증을 거부할 수 있다. 한편, 디바이스(10)는, 제 1 사용자 인증에 의한, 사용자에 대한 인증이 거부되거나 판별하기 어려운 경우, 제 2 사용자 인증이 요구된다 판단할 수 있다.The first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user. In the present disclosure, the voice input pattern is indicative of the usage behavior of the user using voice input through the device 10. The device 10 may apply the voice input to the second learning model to deny authentication of a user who attempts abnormal use. On the other hand, the device 10 may determine that the second user authentication is required when the user authentication by the first user authentication is denied or difficult to determine.
단계 S650에서, 디바이스(10)는 제 2 사용자 인증이 요구된다 판단되면, 사용자를 추가적으로 인증할 수 있다.In operation S650, if it is determined that the second user authentication is required, the device 10 may additionally authenticate the user.
제 2 사용자 인증은, 사용자로부터 제공되는 추가적인 입력을 이용하여, 음성 입력을 발성한 사용자를 인증하는 동작이다. 실시 예에 있어서, 디바이스(10)는 사용자로부터 수신한 암호문에 기초하여 사용자를 추가적으로 인증할 수 있다. 다른 실시 예에 있어서, 디바이스(10)는 질의 응답을 통해 사용자를 인증하기 위한 제3 학습 모델을 이용하여, 사용자를 추가적으로 인증할 수 있다. 다른 실시 예에 있어서, 디바이스(10)는 지문 인식 혹은 얼굴 인식과 같은 생체 인식을 이용하여, 사용자를 추가적으로 인증할 수 있다.The second user authentication is an operation of authenticating a user who has spoken a voice input by using an additional input provided from the user. In an embodiment, the device 10 may additionally authenticate the user based on the cipher text received from the user. In another embodiment, the device 10 may additionally authenticate the user by using a third learning model for authenticating the user through a query response. In another embodiment, the device 10 may additionally authenticate the user by using biometrics such as fingerprint recognition or face recognition.
단계 S660에서, 디바이스(10)는 추가적인 사용자 인증 결과에 기초하여 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 사용자가 추가적으로 인증되면, 음성 입력을 인증할 수 있다. 디바이스(10)는 사용자가 인증되지 않으면, 음성 입력을 인증하지 않을 수 있다.In operation S660, the device 10 may authenticate the voice input based on the additional user authentication result. For example, if the user is additionally authenticated, the device 10 may authenticate a voice input. If the user is not authenticated, the device 10 may not authenticate the voice input.
도 7은 일부 실시예에 따른, 디바이스가 사용자를 추가적으로 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 도 7을 참조하면, 디바이스(10)는 사용자로부터 수신한 암호문에 기초하여 사용자를 인증할 수 있다.7 is an exemplary flowchart for describing a method in which a device additionally authenticates a user, according to some embodiments. Referring to FIG. 7, the device 10 may authenticate a user based on a cipher text received from the user.
단계 S710에서, 디바이스(10)는 기설정된 단어를 출력할 수 있다. 실시 예에 있어서, 기설정된 단어는 디바이스(10)에 의하여 랜덤하게 생성되거나 선택된 단어일 수 있다. 기설정된 단어는 복수의 단어들일 수 있다. 복수의 단어들은 서로 연관되지 않을 수 있다. 즉, 복수의 단어들은 서로 독립적으로 생성되거나 선택될 수 있다. 디바이스(10)로부터 출력되는 단어는 사용자에 의하여 선정된 단어가 아니므로, 외부 공격자로부터 예측되기 어렵다.In operation S710, the device 10 may output a preset word. In an embodiment, the preset word may be a word randomly generated or selected by the device 10. The preset word may be a plurality of words. The plurality of words may not be associated with each other. That is, the plurality of words may be generated or selected independently of each other. Since the word output from the device 10 is not a word selected by the user, it is difficult to predict from an external attacker.
단계 S720에서, 디바이스(10)는 출력된 단어를 포함하는 암호문을 사용자로부터 수신할 수 있다. 예를 들어, 디바이스(10)가 "집" 과 "강아지"를 출력한 경우, 디바이스(10)가 수신한 암호문은 "우리 집 강아지" 일 수 있다.In operation S720, the device 10 may receive a cipher text including the output word from the user. For example, when the device 10 outputs "home" and "dog", the cipher text received by the device 10 may be "my dog".
단계 S730에서, 디바이스(10)는 수신된 암호문에 기초하여 사용자를 추가적으로 인증할 수 있다. 예를 들어, 디바이스(10)는 사용자로부터 수신된 암호문을 기존에 설정된 암호문과 비교하고, 비교 결과에 기초하여 사용자를 인증할 수 있다.In operation S730, the device 10 may further authenticate the user based on the received cipher text. For example, the device 10 may compare the cipher text received from the user with a previously set cipher text, and authenticate the user based on the comparison result.
도 8은 일부 실시예에 따른, 디바이스가 사용자를 추가적으로 인증하는 방법을 설명하기 위한 예시적인 흐름도이다. 도 8을 참조하면, 디바이스(10)는 질의 응답을 통해 사용자를 인증하기 위한 제3 학습 모델을 이용하여, 사용자를 인증할 수 있다.8 is an exemplary flowchart for describing a method of a device additionally authenticating a user, according to some embodiments. Referring to FIG. 8, the device 10 may authenticate a user by using a third learning model for authenticating the user through a query response.
단계 S810에서, 디바이스(10)는 컨텍스트 정보를 획득할 수 있다. 텍스트 정보는 디바이스(10)의 주변 환경 정보, 디바이스(10)의 상태 정보, 사용자의 상태 정보, 사용자의 디바이스(10) 사용 이력 정보 및 사용자의 일정 정보 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. In operation S810, the device 10 may obtain context information. The text information may include at least one of surrounding environment information of the device 10, status information of the device 10, status information of the user, usage history information of the device 10, and schedule information of the user. It is not.
단계 S820에서, 디바이스(10)는, 질의 응답을 통해 사용자를 인증하기 위한 제3 학습 모델에, 컨텍스트 정보를 적용할 수 있다. 디바이스(10)는 컨텍스트 정보를 제3 학습 모델에 적용하여, 사용자에게 적어도 하나의 질문을 제공하고, 그로부터 수신한 답변을 다시 제3 학습 모델에 제공할 수 있다. In operation S820, the device 10 may apply context information to a third learning model for authenticating a user through a query response. The device 10 may apply the context information to the third learning model to provide the user with at least one question and provide the response received therefrom to the third learning model.
단계 S830에서, 디바이스(10)는 단계 S820의 제3 학습 모델을 이용한 질의 응답에 기초하여 사용자를 추가적으로 인증할 수 있다.In operation S830, the device 10 may additionally authenticate the user based on the query response using the third learning model of operation S820.
도 9는 일부 실시예에 따른 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.9 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
단계 S910에서, 디바이스(10)는 음성 입력을 수신할 수 있다. 디바이스(10)는 적어도 하나의 마이크를 이용하여 사용자로부터 제공되는 음성 입력을 수신할 수 있다.In operation S910, the device 10 may receive a voice input. The device 10 may receive a voice input provided from a user using at least one microphone.
단계 S920에서, 디바이스(10)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 신호 특성 데이터는 음성 입력의 전기적인 신호 특성을 나타내는 데이터이다.In operation S920, the device 10 may obtain signal characteristic data from the voice input. The signal characteristic data is data representing electrical signal characteristics of the voice input.
단계 S930에서, 디바이스(10)는 신호 특성 데이터에 기초하여, 음성 입력의 속성 및 신뢰도를 판별할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다. 신뢰도는, 판별된 음성 입력의 속성이 실제와 일치할 확률일 수 있다. 실시 예에 있어서, 디바이스(10)는 신호 특성 데이터를 제 1 학습 모델에 적용하여, 음성 입력의 속성 및 그에 대한 신뢰도를 판단할 수 있다. 혹은 실시 예에 있어서, 디바이스(10)는 신호 특성 데이터를 메모리(13)에 미리 저장된 복수의 신호 특성 데이터들과 비교하여, 음성 입력의 속성 및 그에 대한 신뢰도를 판단할 수 있다.In operation S930, the device 10 may determine the attribute and the reliability of the voice input based on the signal characteristic data. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device. The reliability may be a probability that the attribute of the determined voice input coincides with the actual. In an embodiment, the device 10 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof. Alternatively, the device 10 may compare the signal characteristic data with a plurality of signal characteristic data previously stored in the memory 13 to determine the attribute of the voice input and the reliability thereof.
단계 S940 및 단계 S950에서, 디바이스(10)는 판별된 신뢰도와 미리 저장된 임계값의 비교 결과에 기초하여, 사용자의 인증 여부를 결정할 수 있다. 예를 들어, 디바이스(10)는 판별된 신뢰도가 임계값보다 같거나 작으면, 사용자 인증이 요구된다 판단할 수 있다.In operation S940 and operation S950, the device 10 may determine whether the user is authenticated based on a result of comparing the determined reliability with a previously stored threshold value. For example, the device 10 may determine that user authentication is required if the determined reliability is less than or equal to the threshold.
단계 S960에서, 사용자 인증이 필요하다 판단되면, 디바이스(10)는 음성 입력 패턴에 기반하여 사용자를 인증할 수 있다. 본 개시에서, 음성 입력 패턴은 사용자가 디바이스(10)를 통해 음성 입력을 이용하는 사용 행태(usage behavior)을 나타낸다. 실시 예에 있어서, 디바이스(10)는 음성 입력을 학습 모델에 적용하여, 비정상적인 이용을 시도하는 사용자에 대한 인증을 거부할 수 있다. In operation S960, if it is determined that user authentication is required, the device 10 may authenticate the user based on the voice input pattern. In the present disclosure, the voice input pattern is indicative of the usage behavior of the user using voice input through the device 10. In an embodiment, the device 10 may deny authentication of a user who attempts abnormal use by applying a voice input to a learning model.
단계 S970에서, 디바이스(10)는 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 사용자가 인증되면, 음성 입력의 속성이 낮은 신뢰도로 판별되어도 음성 입력을 인증할 수 있다. 디바이스(10)는 사용자가 인증되지 않으면, 음성 입력을 인증하지 않을 수 있다.In operation S970, the device 10 may authenticate a voice input. For example, if the user is authenticated, the device 10 may authenticate the voice input even if the attribute of the voice input is determined to be low reliability. If the user is not authenticated, the device 10 may not authenticate the voice input.
도 10은 일부 실시예에 따른 디바이스가 음성 입력을 인증하는 방법을 설명하기 위한 예시적인 흐름도이다.10 is an exemplary flowchart for describing a method of authenticating a voice input by a device according to some embodiments.
*단계 S1010에서, 디바이스(10)는 음성 입력을 수신할 수 있다. 디바이스(10)는 적어도 하나의 마이크를 이용하여 사용자로부터 제공되는 음성 입력을 수신할 수 있다.In operation S1010, the device 10 may receive a voice input. The device 10 may receive a voice input provided from a user using at least one microphone.
단계 S1020에서, 디바이스(10)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 신호 특성 데이터는 음성 입력의 전기적인 신호 특성을 나타내는 데이터이다.In operation S1020, the device 10 may obtain signal characteristic data from the voice input. The signal characteristic data is data representing electrical signal characteristics of the voice input.
단계 S1030에서, 디바이스(10)는 신호 특성 데이터에 기초하여, 음성 입력의 속성 및 신뢰도를 판별할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다. 신뢰도는, 판별된 음성 입력의 속성이 실제와 일치할 확률일 수 있다.In operation S1030, the device 10 may determine the attribute and the reliability of the voice input based on the signal characteristic data. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device. The reliability may be a probability that the attribute of the determined voice input coincides with the actual.
단계 S1040 및 단계 S1050에서, 디바이스(10)는 판별된 신뢰도와 미리 저장된 임계값의 비교 결과에 기초하여, 제 1 사용자 인증 여부를 결정할 수 있다. 예를 들어, 디바이스(10)는 판별된 신뢰도가 임계값보다 같거나 작으면, 제 1 사용자 인증이 요구된다 판단할 수 있다.In operation S1040 and operation S1050, the device 10 may determine whether to authenticate the first user based on a result of comparing the determined reliability with a previously stored threshold value. For example, the device 10 may determine that the first user authentication is required if the determined reliability is equal to or smaller than the threshold.
단계 S1060 및 S1070에서, 제 1 사용자 인증이 필요하다 판단되면, 디바이스(10)는 음성 입력 패턴에 기반하여 사용자를 인증할 수 있다. 본 개시에서, 음성 입력 패턴은 사용자가 디바이스(10)를 통해 음성 입력을 이용하는 사용 행태(usage behavior)을 나타낸다. 실시 예에 있어서, 디바이스(10)는 음성 입력을 학습 모델에 적용하여, 비정상적인 이용을 시도하는 사용자에 대한 인증을 거부할 수 있다. 또한 디바이스(10)는 제 1 사용자 인증의 결과에 기초하여, 제 2 사용자 인증 여부를 결정할 수 있다. 예를 들어, 디바이스(10)는 제 1 사용자 인증에서 사용자가 인증되지 않으면, 제 2 사용자 인증이 요구된다 판단할 수 있다.In operation S1060 and S1070, if it is determined that the first user authentication is required, the device 10 may authenticate the user based on the voice input pattern. In the present disclosure, the voice input pattern is indicative of the usage behavior of the user using voice input through the device 10. In an embodiment, the device 10 may deny authentication of a user who attempts abnormal use by applying a voice input to a learning model. Also, the device 10 may determine whether to authenticate the second user based on the result of the first user authentication. For example, the device 10 may determine that the second user authentication is required if the user is not authenticated in the first user authentication.
단계 S1080에서, 제 2 사용자 인증이 필요하다 판단되면, 디바이스(10)는 추가적으로 사용자를 인증할 수 있다.In operation S1080, if it is determined that the second user authentication is required, the device 10 may additionally authenticate the user.
단계 S1090에서, 디바이스(10)는 음성 입력을 인증할 수 있다. 예를 들어, 디바이스(10)는 사용자가 인증되면, 음성 입력의 속성이 낮은 신뢰도로 판별되어도 음성 입력을 인증할 수 있다. 디바이스(10)는 사용자가 인증되지 않으면, 음성 입력을 인증하지 않을 수 있다.In operation S1090, the device 10 may authenticate a voice input. For example, if the user is authenticated, the device 10 may authenticate the voice input even if the attribute of the voice input is determined to be low reliability. If the user is not authenticated, the device 10 may not authenticate the voice input.
도 11은 일부 실시예에 따른 디바이스(100)의 기능을 설명하기 위한 도면이다.11 is a diagram for describing a function of the device 100, according to some embodiments.
디바이스(100)는 신호 특성을 기반으로 학습된 제1 학습 모델(120)을 이용하여, 음성 입력의 속성에 기초하여 음성 입력을 인증한다. 이를 통해 디바이스(100)는 장치로부터 출력된 음성을 이용한 외부로부터의 공격을 지속적으로 탐지하고, 방지할 수 있다.The device 100 authenticates the voice input based on the attribute of the voice input using the first learning model 120 trained based on the signal characteristic. Through this, the device 100 may continuously detect and prevent an attack from the outside using the voice output from the device.
디바이스(100)는 음성 입력 패턴을 기반으로 학습된 제2 학습 모델(130)을 이용하여, 사용자가 음성 입력을 사용하는 행태에 기초하여 사용자를 인증한다. 이를 통해 디바이스(100)는, 사용자가 아닌 인간으로부터 발성된 음성을 이용한, 외부로부터의 공격을 추가적으로 방지할 수 있다.The device 100 uses the second learning model 130 trained based on the voice input pattern to authenticate the user based on the behavior of the user using the voice input. Through this, the device 100 may additionally prevent an attack from the outside by using a voice spoken by a human being rather than a user.
또한 디바이스(100)는 사용자로부터 추가적인 입력을 수신하여 사용자를 인증할 수 있다(140). 이를 통해 디바이스(100)는 사용자가 일상적이지 않은 음성 입력을 시도하는 경우 음성 입력을 인증하면서도, 사용자가 아닌 인간으로부터 발성된 음성을 이용한, 외부로부터의 공격을 효과적으로 방지할 수 있다.In addition, the device 100 may receive an additional input from the user to authenticate the user (140). Through this, the device 100 may authenticate the voice input when the user attempts an unusual voice input, and effectively prevent an attack from the outside by using the voice spoken by the human being, not the user.
한편, 디바이스(100)는 네트워크를 통하여 외부의 다양한 전자 장치들 및 서버와 연결된다. 디바이스(100)는, 연결된 장치들 및 서버로부터 컨텍스트 정보를 포함한 다양한 정보를 수집할 수 있다. 디바이스(100)가 수집하는 정보는 소리 정보, 텍스트 정보, 위치 정보 및 시간 정보들 중 적어도 하나를 포함한다(110). 디바이스(100)는 수집한 정보들을 이용하여 제 1 혹은 제 2 학습 모델(120, 130)을 학습시킬 수 있다.Meanwhile, the device 100 is connected to various external electronic devices and servers through a network. The device 100 may collect various information including context information from connected devices and a server. The information collected by the device 100 includes at least one of sound information, text information, location information, and time information (110). The device 100 may train the first or second learning models 120 and 130 using the collected information.
도 12 및 도 13은 일부 실시예에 따른 디바이스(1000)의 블록도이다.12 and 13 are block diagrams of a device 1000 according to some embodiments.
도 13에 도시된 바와 같이, 일부 실시예에 따른 디바이스(1000)는, 사용자 입력부(1100), 출력부(1200), 제어부(1300), 및 통신부(1500)를 포함할 수 있다. 그러나, 도 13에 도시된 구성 요소 모두가 디바이스(1000)의 필수 구성 요소인 것은 아니다. 도 13에 도시된 구성 요소보다 많은 구성 요소에 의해 디바이스(1000)가 구현될 수도 있고, 도 13에 도시된 구성 요소보다 적은 구성 요소에 의해 디바이스(1000)가 구현될 수도 있다.As illustrated in FIG. 13, the device 1000 according to some embodiments may include a user input unit 1100, an output unit 1200, a controller 1300, and a communication unit 1500. However, not all of the components illustrated in FIG. 13 are essential components of the device 1000. The device 1000 may be implemented by more components than those illustrated in FIG. 13, and the device 1000 may be implemented by fewer components than those illustrated in FIG. 13.
예를 들어, 도 13에 도시된 바와 같이, 일부 실시예에 따른 디바이스(1000)는, 사용자 입력부(1100), 출력부(1200), 제어부(1300), 및 통신부(1500) 이외에 센싱부(1400), A/V 입력부(1600), 및 메모리(1700)를 더 포함할 수도 있다. For example, as illustrated in FIG. 13, the device 1000 according to some embodiments may include a sensing unit 1400 in addition to the user input unit 1100, the output unit 1200, the control unit 1300, and the communication unit 1500. ) May further include an A / V input unit 1600 and a memory 1700.
사용자 입력부(1100)는, 사용자가 디바이스(1000)를 제어하기 위한 데이터를 입력하는 수단을 의미한다. 예를 들어, 사용자 입력부(1100)에는 키 패드(key pad), 돔 스위치 (dome switch), 터치 패드(접촉식 정전 용량 방식, 압력식 저항막 방식, 적외선 감지 방식, 표면 초음파 전도 방식, 적분식 장력 측정 방식, 피에조 효과 방식 등), 조그 휠, 조그 스위치, 마이크 등이 있을 수 있으나 이에 한정되는 것은 아니다. 실시 예에 있어서, 사용자 입력부(1100)는 도 13에 도시된 A/V 입력부(1600)를 포함할 수도 있다.The user input unit 1100 means a means for a user to input data for controlling the device 1000. For example, the user input unit 1100 includes a key pad, a dome switch, a touch pad (contact capacitive type, pressure resistive layer type, infrared sensing type, surface ultrasonic conduction type, and integral type). Tension measurement method, piezo effect method, etc.), jog wheel, jog switch, microphone, etc., but is not limited thereto. In an embodiment, the user input unit 1100 may include the A / V input unit 1600 illustrated in FIG. 13.
사용자 입력부(1100)는 사용자로부터 제공되는 음성 입력을 수신할 수 있다.The user input unit 1100 may receive a voice input provided from the user.
출력부(1200)는, 오디오 신호 또는 비디오 신호 또는 진동 신호를 출력할 수 있으며, 출력부(1200)는 디스플레이부(1210), 음향 출력부(1220), 및 진동 모터(1230)를 포함할 수 있다.The output unit 1200 may output an audio signal, a video signal, or a vibration signal, and the output unit 1200 may include a display unit 1210, an audio output unit 1220, and a vibration motor 1230. have.
디스플레이부(1210)는 디바이스(1000)에서 처리되는 정보를 표시 출력한다. 예를 들어, 디스플레이부(1210)는 사용자에게 음성 입력 인증 결과를 제공하기 위한 사용자 인터페이스를 디스플레이 할 수 있다.The display unit 1210 displays and outputs information processed by the device 1000. For example, the display 1210 may display a user interface for providing a voice input authentication result to the user.
한편, 디스플레이부(1210)와 터치패드가 레이어 구조를 이루어 터치 스크린으로 구성되는 경우, 디스플레이부(1210)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 디스플레이부(1210)는 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display), 유기 발광 다이오드(organic light-emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 전기영동 디스플레이(electrophoretic display) 중에서 적어도 하나를 포함할 수 있다. 그리고 디바이스(1000)의 구현 형태에 따라 디바이스(1000)는 디스플레이부(1210)를 2개 이상 포함할 수도 있다. 이때, 2개 이상의 디스플레이부(1210)는 힌지(hinge)를 이용하여 마주보게 배치될 수 있다. Meanwhile, when the display unit 1210 and the touch pad form a layer structure and are configured as a touch screen, the display unit 1210 may be used as an input device in addition to the output device. The display unit 1210 may include a liquid crystal display, a thin film transistor-liquid crystal display, an organic light-emitting diode, a flexible display, and a three-dimensional display. 3D display, an electrophoretic display. In addition, the device 1000 may include two or more display units 1210 according to an implementation form of the device 1000. In this case, the two or more display units 1210 may be disposed to face each other using a hinge.
음향 출력부(1220)는 통신부(1500)로부터 수신되거나 메모리(1700)에 저장된 오디오 데이터를 출력한다. 또한, 음향 출력부(1220)는 디바이스(1000)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음, 알림음)과 관련된 음향 신호를 출력한다. 이러한 음향 출력부(1220)에는 스피커(speaker), 버저(Buzzer) 등이 포함될 수 있다.The sound output unit 1220 outputs audio data received from the communication unit 1500 or stored in the memory 1700. In addition, the sound output unit 1220 outputs a sound signal related to a function (for example, a call signal reception sound, a message reception sound, and a notification sound) performed by the device 1000. The sound output unit 1220 may include a speaker, a buzzer, and the like.
진동 모터(1230)는 진동 신호를 출력할 수 있다. 예를 들어, 진동 모터(1230)는 오디오 데이터 또는 비디오 데이터(예컨대, 호신호 수신음, 메시지 수신음 등)의 출력에 대응하는 진동 신호를 출력할 수 있다. 또한, 진동 모터(1230)는 터치스크린에 터치가 입력되는 경우 진동 신호를 출력할 수도 있다.The vibration motor 1230 may output a vibration signal. For example, the vibration motor 1230 may output a vibration signal corresponding to the output of audio data or video data (eg, a call signal reception sound, a message reception sound, etc.). In addition, the vibration motor 1230 may output a vibration signal when a touch is input to the touch screen.
제어부(1300)는, 통상적으로 디바이스(1000)의 전반적인 동작을 제어한다. 예를 들어, 제어부(1300)는, 메모리(1700)에 저장된 프로그램들을 실행함으로써, 사용자 입력부(1100), 출력부(1200), 센싱부(1400), 통신부(1500), A/V 입력부(1600) 등을 전반적으로 제어할 수 있다. The controller 1300 generally controls the overall operation of the device 1000. For example, the controller 1300 executes programs stored in the memory 1700, such that the user input unit 1100, the output unit 1200, the sensing unit 1400, the communication unit 1500, and the A / V input unit 1600 are provided. ) Can be controlled overall.
구체적으로, 제어부(1300)는, 수신된 음성 입력을 인증하고, 인증 결과에 기초하여, 음성 입력을 통해 디바이스(1000) 혹은 그와 연결된 전자 장치를 제어할 수 있다.In detail, the controller 1300 may authenticate the received voice input and control the device 1000 or an electronic device connected thereto through the voice input based on the authentication result.
실시 예에 있어서, 제어부(1300)는 음성 입력으로부터 신호 특성 데이터를 획득할 수 있다. 신호 특성 데이터는 음성 입력의 전기적인 신호 특성을 나타내는 데이터이다. 실시 예에 있어서, 신호 특성 데이터는 음성 입력을 주파수, 시간 혹은 전력 중 적어도 하나를 기준으로 하여 분석한 데이터일 수 있다. 제어부(1300)는 신호 특성 데이터를 제 1 학습 모델에 적용하여, 음성 입력의 속성 및 그에 대한 신뢰도를 판단할 수 있다. 실시 예에 있어서, 음성 입력의 속성은 음성 입력이 사람으로부터 발성된 것인지, 혹은 장치로부터 출력된 것인지를 나타낼 수 있다.In an embodiment, the controller 1300 may obtain signal characteristic data from a voice input. The signal characteristic data is data representing electrical signal characteristics of the voice input. In an embodiment, the signal characteristic data may be data obtained by analyzing a voice input based on at least one of frequency, time, or power. The controller 1300 may apply the signal characteristic data to the first learning model to determine the property of the voice input and the reliability thereof. In an embodiment, the attribute of the voice input may indicate whether the voice input is spoken by a person or output from a device.
실시 예에 있어서, 제어부(1300)는 판단된 신뢰도에 기초하여 제 1 사용자 인증이 요구되는지 여부를 판단할 수 있다. 제 1 사용자 인증은, 사용자의 음성 입력 패턴에 기반하여, 음성 입력을 발성한 사용자를 인증하는 동작이다. 본 개시에서, 음성 입력 패턴은 사용자가 음성 입력을 이용하는 사용 행태(usage behavior)을 나타낸다.In an embodiment, the controller 1300 may determine whether first user authentication is required based on the determined reliability. The first user authentication is an operation of authenticating a user who has spoken a voice input based on a voice input pattern of the user. In the present disclosure, the voice input pattern indicates usage behavior in which the user uses voice input.
제어부(1300)는 제 1 사용자 인증이 요구된다 판단되면, 음성 입력을 제2 학습 모델에 적용하여 사용자를 인증할 수 있다. 한편, 제어부(1300)는 제 1 사용자 인증에 의한 인증이 거부되거나 판별되기 어려운 경우, 제 2 사용자 인증이 요구된다 판단하고, 사용자를 추가적으로 인증할 수 있다.If it is determined that the first user authentication is required, the controller 1300 may authenticate the user by applying the voice input to the second learning model. If the authentication by the first user authentication is denied or difficult to be determined, the controller 1300 may determine that the second user authentication is required, and additionally authenticate the user.
센싱부(1400)는, 디바이스(1000)의 상태 또는 디바이스(1000) 주변의 상태를 감지하고, 감지된 정보를 제어부(1300)로 전달할 수 있다. The sensing unit 1400 may detect a state of the device 1000 or a state around the device 1000 and transmit the detected information to the controller 1300.
센싱부(1400)는, 지자기 센서(Magnetic sensor)(1410), 가속도 센서(Acceleration sensor)(1420), 온/습도 센서(1430), 적외선 센서(1440), 자이로스코프 센서(1450), 위치 센서(예컨대, GPS)(1460), 기압 센서(1470), 근접 센서(1480), 및 RGB 센서(illuminance sensor)(1490) 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. 각 센서들의 기능은 그 명칭으로부터 당업자가 직관적으로 추론할 수 있으므로, 구체적인 설명은 생략하기로 한다.The sensing unit 1400 may include a geomagnetic sensor 1410, an acceleration sensor 1420, a temperature / humidity sensor 1430, an infrared sensor 1440, a gyroscope sensor 1450, and a position sensor. (Eg, GPS) 1460, barometric pressure sensor 1470, proximity sensor 1480, and RGB sensor (illuminance sensor) 1490, but are not limited thereto. Since functions of the respective sensors can be intuitively deduced by those skilled in the art from the names, detailed descriptions thereof will be omitted.
통신부(1500)는, 디바이스(1000)와 HMD 장치 또는 디바이스(1000)와 서버 간의 통신을 하게 하는 하나 이상의 구성요소를 포함할 수 있다. 예를 들어, 통신부(1500)는, 근거리 통신부(1510), 이동 통신부(1520), 방송 수신부(1530)를 포함할 수 있다. The communicator 1500 may include one or more components that allow communication between the device 1000 and the HMD apparatus or the device 1000 and the server. For example, the communicator 1500 may include a short range communicator 1510, a mobile communicator 1520, and a broadcast receiver 1530.
근거리 통신부(short-range wireless communication unit)(1510)는, 블루투스 통신부, BLE(Bluetooth Low Energy) 통신부, 근거리 무선 통신부(Near Field Communication unit), WLAN(와이파이) 통신부, 지그비(Zigbee) 통신부, 적외선(IrDA, infrared Data Association) 통신부, WFD(Wi-Fi Direct) 통신부, UWB(ultra wideband) 통신부, Ant+ 통신부 등을 포함할 수 있으나, 이에 한정되는 것은 아니다. The short-range wireless communication unit 1510 includes a Bluetooth communication unit, a Bluetooth low energy (BLE) communication unit, a near field communication unit, a WLAN (Wi-Fi) communication unit, a Zigbee communication unit, and an infrared ray ( IrDA (Infrared Data Association) communication unit, WFD (Wi-Fi Direct) communication unit, UWB (ultra wideband) communication unit, Ant + communication unit and the like, but may not be limited thereto.
이동 통신부(1520)는, 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 여기에서, 무선 신호는, 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.The mobile communication unit 1520 transmits and receives a radio signal with at least one of a base station, an external terminal, and a server on a mobile communication network. Here, the wireless signal may include various types of data according to transmission and reception of a voice call signal, a video call call signal, or a text / multimedia message.
방송 수신부(1530)는, 방송 채널을 통하여 외부로부터 방송 신호 및/또는 방송 관련된 정보를 수신한다. 방송 채널은 위성 채널, 지상파 채널을 포함할 수 있다. 구현 예에 따라서 디바이스(1000)가 방송 수신부(1530)를 포함하지 않을 수도 있다.The broadcast receiving unit 1530 receives a broadcast signal and / or broadcast related information from the outside through a broadcast channel. The broadcast channel may include a satellite channel and a terrestrial channel. According to an implementation example, the device 1000 may not include the broadcast receiver 1530.
또한, 통신부(1500)는, 컨텍스트 정보를 이용하기 위한 정보를, HMD 장치, 서버 및 주변 기기와 송수신할 수 있다.In addition, the communication unit 1500 may transmit / receive information for using the context information with the HMD device, the server, and the peripheral device.
A/V(Audio/Video) 입력부(1600)는 오디오 신호 또는 비디오 신호 입력을 위한 것으로, 이에는 카메라(1610)와 마이크로폰(1620) 등이 포함될 수 있다. 카메라(1610)은 화상 통화모드 또는 촬영 모드에서 이미지 센서를 통해 정지영상 또는 동영상 등의 화상 프레임을 얻을 수 있다. 이미지 센서를 통해 캡쳐된 이미지는 제어부(1300) 또는 별도의 이미지 처리부(미도시)를 통해 처리될 수 있다.The A / V input unit 1600 is for inputting an audio signal or a video signal, and may include a camera 1610 and a microphone 1620. The camera 1610 may obtain an image frame such as a still image or a moving image through an image sensor in a video call mode or a photographing mode. The image captured by the image sensor may be processed by the controller 1300 or a separate image processor (not shown).
카메라(1610)에서 처리된 화상 프레임은 메모리(1700)에 저장되거나 통신부(1500)를 통하여 외부로 전송될 수 있다. 혹은 화상 프레임은 제어부(1300)의 음성 활성 조건 및 음성 비활성 조건 판별 동작에 이용될 수 있다. 카메라(1610)는 단말기의 구성 태양에 따라 2개 이상이 구비될 수도 있다.The image frame processed by the camera 1610 may be stored in the memory 1700 or transmitted to the outside through the communication unit 1500. Alternatively, the image frame may be used to determine the voice active condition and the voice inactive condition of the controller 1300. Two or more cameras 1610 may be provided according to the configuration aspect of the terminal.
마이크로폰(1620)은, 음성 입력을 수신한다. 또한 마이크로폰(1620)은 외부의 음향 신호를 입력 받아 전기적인 음성 데이터로 처리한다. 예를 들어, 마이크로폰(1620)은 외부 디바이스 또는 화자로부터 음향 신호를 수신할 수 있다. 마이크로폰(1620)는 음성 입력을 포함하는 외부의 음향 신호를 입력 받는 과정에서 발생 되는 잡음(noise)를 제거하기 위한 다양한 잡음 제거 알고리즘을 이용할 수 있다. The microphone 1620 receives a voice input. In addition, the microphone 1620 receives an external sound signal and processes it as electrical voice data. For example, the microphone 1620 may receive an acoustic signal from an external device or speaker. The microphone 1620 may use various noise removing algorithms for removing noise generated in the process of receiving an external sound signal including a voice input.
메모리(1700)는, 제어부(1300)의 처리 및 제어를 위한 프로그램을 저장할 수 있고, 디바이스(1000)로 입력되거나 디바이스(1000)로부터 출력되는 데이터를 저장할 수도 있다. The memory 1700 may store a program for processing and controlling the controller 1300, and may store data input to or output from the device 1000.
메모리(1700)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM, Random Access Memory) SRAM(Static Random Access Memory), 롬(ROM, Read-Only Memory), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. The memory 1700 may include a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), RAM Random Access Memory (RAM) Static Random Access Memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic Disk It may include at least one type of storage medium of the optical disk.
메모리(1700)에 저장된 프로그램들은 그 기능에 따라 복수 개의 모듈들로 분류할 수 있는데, 예를 들어, UI 모듈(1710), 터치 스크린 모듈(1720), 알림 모듈(1730) 등으로 분류될 수 있다. Programs stored in the memory 1700 may be classified into a plurality of modules according to their functions. For example, the programs stored in the memory 1700 may be classified into a UI module 1710, a touch screen module 1720, a notification module 1730, and the like. .
UI 모듈(1710)은, 애플리케이션 별로 디바이스(1000)와 연동되는 특화된 UI, GUI 등을 제공할 수 있다. 터치 스크린 모듈(1720)은 사용자의 터치 스크린 상의 터치 제스처를 감지하고, 터치 제스처에 관한 정보를 제어부(1300)로 전달할 수 있다. 일부 실시예에 따른 터치 스크린 모듈(1720)은 터치 코드를 인식하고 분석할 수 있다. 터치 스크린 모듈(1720)은 컨트롤러를 포함하는 별도의 하드웨어로 구성될 수도 있다.The UI module 1710 may provide a specialized UI, GUI, or the like that is linked with the device 1000 for each application. The touch screen module 1720 may detect a touch gesture on a user's touch screen and transmit information about the touch gesture to the controller 1300. The touch screen module 1720 according to some embodiments may recognize and analyze a touch code. The touch screen module 1720 may be configured as separate hardware including a controller.
터치스크린의 터치 또는 근접 터치를 감지하기 위해 터치스크린의 내부 또는 근처에 다양한 센서가 구비될 수 있다. 터치스크린의 터치를 감지하기 위한 센서의 일례로 촉각 센서가 있다. 촉각 센서는 사람이 느끼는 정도로 또는 그 이상으로 특정 물체의 접촉을 감지하는 센서를 말한다. 촉각 센서는 접촉면의 거칠기, 접촉 물체의 단단함, 접촉 지점의 온도 등의 다양한 정보를 감지할 수 있다.Various sensors may be provided inside or near the touch screen to detect a touch or proximity touch of the touch screen. An example of a sensor for sensing a touch of a touch screen is a tactile sensor. The tactile sensor refers to a sensor that senses the contact of a specific object to the extent that a person feels or more. The tactile sensor may sense various information such as the roughness of the contact surface, the rigidity of the contact object, the temperature of the contact point, and the like.
또한, 터치스크린의 터치를 감지하기 위한 센서의 일례로 근접 센서가 있다.In addition, an example of a sensor for sensing a touch of a touch screen is a proximity sensor.
근접 센서는 소정의 검출면에 접근하는 물체, 혹은 근방에 존재하는 물체의 유무를 전자계의 힘 또는 적외선을 이용하여 기계적 접촉이 없이 검출하는 센서를 말한다. 근접 센서의 예로는 투과형 광전 센서, 직접 반사형 광전 센서, 미러 반사형 광전 센서, 고주파 발진형 근접 센서, 정전용량형 근접 센서, 자기형 근접 센서, 적외선 근접 센서 등이 있다. 사용자의 터치 제스처에는 탭, 터치&홀드, 더블 탭, 드래그, 패닝, 플릭, 드래그 앤드 드롭, 스와이프 등이 있을 수 있다.The proximity sensor refers to a sensor that detects the presence or absence of an object approaching a predetermined detection surface or an object present in the vicinity without using a mechanical contact by using an electromagnetic force or infrared rays. Examples of the proximity sensor include a transmission photoelectric sensor, a direct reflection photoelectric sensor, a mirror reflection photoelectric sensor, a high frequency oscillation proximity sensor, a capacitive proximity sensor, a magnetic proximity sensor, and an infrared proximity sensor. The user's touch gesture may include tap, touch and hold, double tap, drag, pan, flick, drag and drop, and swipe.
알림 모듈(1730)은 디바이스(1000)의 이벤트 발생을 알리기 위한 신호를 발생할 수 있다. 디바이스(1000)에서 발생되는 이벤트의 예로는 호 신호 수신, 메시지 수신, 키 신호 입력, 일정 알림 등이 있다. 알림 모듈(1730)은 디스플레이부(1210)를 통해 비디오 신호 형태로 알림 신호를 출력할 수도 있고, 음향 출력부(1220)를 통해 오디오 신호 형태로 알림 신호를 출력할 수도 있고, 진동 모터(1230)를 통해 진동 신호 형태로 알림 신호를 출력할 수도 있다.The notification module 1730 may generate a signal for notifying occurrence of an event of the device 1000. Examples of events occurring in the device 1000 include call signal reception, message reception, key signal input, and schedule notification. The notification module 1730 may output a notification signal in the form of a video signal through the display unit 1210, may output the notification signal in the form of an audio signal through the sound output unit 1220, and the vibration motor 1230. Through the notification signal may be output in the form of a vibration signal.
도 14는 일부 실시예에 따른 프로세서(1300)의 블록도이다.14 is a block diagram of a processor 1300 in accordance with some embodiments.
도 14를 참조하면, 일부 실시예에 따른 프로세서(1300)는 데이터 학습부(1310) 및 데이터 인식부(1320)를 포함할 수 있다.Referring to FIG. 14, a processor 1300 according to some embodiments may include a data learner 1310 and a data recognizer 1320.
실시 형태에 따라 데이터 학습부(1310)의 적어도 일부 및 데이터 인식부(1320)의 적어도 일부는 소프트웨어 모듈로 구현되거나 또는 하드웨어 칩 형태로 제작되어 디바이스에 탑재될 수 있다.According to an embodiment, at least a part of the data learner 1310 and at least a part of the data recognizer 1320 may be implemented as a software module or manufactured in the form of a hardware chip and mounted on a device.
데이터 학습부(1310)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하기 위한 기준을 학습할 수 있다. 데이터 학습부(1310)는 음성 입력의 속성 및 그에 대한 신뢰도를 판별하고 음성 입력을 인증하기 위하여 어떤 데이터를 이용할 지에 관한 기준을 학습할 수 있다. 또한, 데이터 학습부(1310)는 제공되는 데이터를 이용하여 음성 입력의 속성을 어떻게 판단하고, 그 신뢰도를 어떻게 판단하고, 음성 입력 인증에 대한 기준을 어떻게 결정할 지에 관한 기준을 학습할 수 있다. 데이터 학습부(1310)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 인식 모델에 적용함으로써, 음성 입력 속성 및 그에 대한 신뢰도에 관한 기준을 학습할 수 있다.The data learner 1310 may learn a criterion for determining a property of a voice input and a reliability thereof. The data learner 1310 may learn a criterion about what data to use to determine the attribute of the voice input, the reliability thereof, and to authenticate the voice input. In addition, the data learner 1310 may use the provided data to learn a criterion about how to determine a property of a voice input, how to determine its reliability, and how to determine a criterion for voice input authentication. The data learner 1310 acquires data to be used for learning and applies the acquired data to a data recognition model to be described later, so as to learn a criterion regarding a voice input property and reliability thereof.
또한, 데이터 학습부(1310)는 음성 입력 패턴에 기반하여 사용자를 인증하기 위한 기준을 학습할 수 있다. 데이터 학습부(1310)는 사용자를 인증하기 위하여 어떤 컨텍스트 데이터를 이용할 지에 관한 기준을 학습할 수 있다. 또한, 데이터 학습부(1310)는 제공되는 컨텍스트 데이터를 이용하여 사용자를 어떻게 인증할 것인지에 관한 기준을 학습할 수 있다. 데이터 학습부(1310)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 인식 모델에 적용함으로써, 사용자 인증에 관한 기준을 학습할 수 있다.In addition, the data learner 1310 may learn a criterion for authenticating a user based on a voice input pattern. The data learner 1310 may learn a criterion about which context data to use to authenticate a user. In addition, the data learner 1310 may learn a criterion on how to authenticate a user using the provided context data. The data learner 1310 acquires data to be used for learning, and applies the acquired data to a data recognition model to be described later, thereby learning a criterion for user authentication.
데이터 학습부(1310)는 도 1 내지 도 10에서의 디바이스가 이용하는 학습 모델들의 기능을 제공할 수 있으며, 1개 이상의 데이터 학습부(1310)에 의해 도 1 내지 도 10에서의 디바이스가 이용하는 학습 모델들의 기능이 구현될 수 있다.The data learner 1310 may provide functions of the learning models used by the device in FIGS. 1 to 10, and the learning model used by the device in FIGS. 1 through 10 by one or more data learners 1310. Their function can be implemented.
데이터 인식부(1320)는 데이터에 기초하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다. 데이터 인식부(1320)는 학습된 데이터 인식 모델을 이용하여, 소정의 데이터로부터 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다. 데이터 인식부(1320)는 학습에 의한 기 설정된 기준에 따라 소정의 데이터를 획득하고, 획득된 데이터를 입력 값으로 하여 데이터 인식 모델을 이용할 수 있다. 또한, 데이터 인식부(1320)는 이를 이용함으로써, 소정의 데이터에 기초한 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다. 또한, 획득된 데이터를 입력 값으로 하여 데이터 인식 모델에 의해 출력된 결과 값은, 데이터 인식 모델을 갱신하는데 이용될 수 있다.The data recognizer 1320 may determine the attributes of the voice input, the reliability thereof, or authenticate the user based on the data. The data recognizer 1320 may determine the attributes of the voice input and reliability thereof from the predetermined data or authenticate the user by using the learned data recognition model. The data recognizing unit 1320 may obtain predetermined data according to a preset reference by learning, and use the data recognition model by using the acquired data as an input value. In addition, the data recognizing unit 1320 may determine the attribute of the voice input and the reliability thereof based on the predetermined data or authenticate the user by using the data recognizing unit 1320. In addition, the result value output by the data recognition model using the acquired data as an input value may be used to update the data recognition model.
데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 디바이스(1000)에 탑재될 수 있다. 예를 들어, 데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 디바이스(1000)에 탑재될 수도 있다. 이 때, 인공 지능을 위한 전용 하드웨어 칩은 확률 연산에 특화된 전용 프로세서로서, 기존의 범용 프로세서보다 병렬처리 성능이 높아 머신러닝과 같은 인공 지능 분야의 연산 작업을 빠르게 처리할 수 있다. At least one of the data learner 1310 and the data recognizer 1320 may be manufactured in the form of at least one hardware chip and mounted on the device 1000. For example, at least one of the data learner 1310 and the data recognizer 1320 may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI), or an existing general purpose processor (eg, a CPU). Alternatively, the device may be manufactured as a part of an application processor or a graphics processor (eg, a GPU) and mounted on the aforementioned various devices 1000. At this time, the dedicated hardware chip for artificial intelligence is a dedicated processor specialized in probability calculation, and has higher parallelism performance than the conventional general-purpose processor, so that it is possible to process arithmetic tasks in the field of artificial intelligence such as machine learning.
데이터 학습부(1310) 및 데이터 인식부(1320)는 하나의 디바이스에 탑재될 수도 있으며, 또는 별개의 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 학습부(1310) 및 데이터 인식부(1320) 중 하나는 디바이스에 포함되고, 나머지 하나는 서버에 포함될 수 있다. 또한, 데이터 학습부(1310) 및 데이터 인식부(1320)는 유선 또는 무선으로 통하여, 데이터 학습부(1310)가 구축한 모델 정보를 데이터 인식부(1320)로 제공할 수도 있고, 데이터 인식부(1320)로 입력된 데이터가 추가 학습 데이터로서 데이터 학습부(1310)로 제공될 수도 있다.The data learner 1310 and the data recognizer 1320 may be mounted in one device or may be mounted in separate devices, respectively. For example, one of the data learner 1310 and the data recognizer 1320 may be included in the device, and the other may be included in the server. In addition, the data learner 1310 and the data recognizer 1320 may provide model information constructed by the data learner 1310 to the data recognizer 1320 via a wired or wireless connection. The data input to 1320 may be provided to the data learner 1310 as additional learning data.
한편, 데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.Meanwhile, at least one of the data learner 1310 and the data recognizer 1320 may be implemented as a software module. When at least one of the data learning unit 1310 and the data recognizing unit 1320 is implemented as a software module (or a program module including an instruction), the software module may be a computer readable non-transitory computer. It may be stored in a non-transitory computer readable media. In this case, at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an operating system (OS), and others may be provided by a predetermined application.
도 15는 일부 실시예에 따른 데이터 학습부(1310)의 블록도이다.15 is a block diagram of a data learner 1310 according to some embodiments.
도 15를 참조하면, 일부 실시예에 따른 데이터 학습부(1310)는 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5)를 포함할 수 있다.Referring to FIG. 15, the data learner 1310 may include a data acquirer 1310-1, a preprocessor 1310-2, a training data selector 1310-3, and a model learner 1310. -4) and the model evaluator 1310-5.
데이터 획득부(1310-1)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하기 위하여 필요한 데이터를 획득할 수 있다. 데이터 획득부(1310-1)는, 예를 들어, 소정의 사용자 음성 혹은 컨텍스트 정보를 획득할 수 있다.The data acquirer 1310-1 may determine attributes of the voice input and reliability thereof, or acquire data necessary for authenticating a user. The data acquirer 1310-1 may acquire, for example, predetermined user voice or context information.
전처리부(1310-2)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하기 위한 학습에 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1310-2)는 후술할 모델 학습부(1310-4)가 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증을 위한 학습을 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다.The preprocessor 1310-2 may preprocess the acquired data to determine the attribute of the voice input and the reliability thereof, or to use the acquired data for learning to authenticate the user. The preprocessor 1310-2 acquires the data so that the model learner 1310-4 to be described later can determine the attributes of the voice input and the reliability thereof, or use the data acquired for learning the user for authentication. Can be processed in a preset format.
학습 데이터 선택부(1310-3)는 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 모델 학습부(1310-4)에 제공될 수 있다. 학습 데이터 선택부(1310-3)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하기 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 또한, 학습 데이터 선택부(1310-3)는 후술할 모델 학습부(1310-4)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The training data selector 1310-3 may select data required for learning from the preprocessed data. The selected data may be provided to the model learner 1310-4. The training data selector 1310-3 may select data required for learning from preprocessed data according to a property of a voice input and a reliability thereof, or based on preset criteria for authenticating a user. In addition, the training data selector 1310-3 may select data according to preset criteria by learning by the model learner 1310-4 to be described later.
모델 학습부(1310-4)는 학습 데이터에 기초하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 지에 관한 기준을 학습할 수 있다. 또한, 모델 학습부(1310-4) 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하기 위하여 어떤 학습 데이터를 이용해야 하는 지에 대한 기준을 학습할 수도 있다.The model learner 1310-4 may determine a property of a voice input and a reliability thereof based on the training data, or learn a criterion about whether to authenticate a user. In addition, the model learner 1310-4 may determine a property of a voice input and a reliability thereof, or learn a criterion about what training data should be used to authenticate a user.
또한, 모델 학습부(1310-4)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것에 이용되는 데이터 인식 모델을 학습 데이터를 이용하여 학습시킬 수 있다. 이 경우, 데이터 인식 모델은 미리 구축된 모델일 수 있다. 예를 들어, 데이터 인식 모델은 기본 학습 데이터(예를 들어, 샘플 데이터 등)을 입력 받아 미리 구축된 모델일 수 있다.In addition, the model learner 1310-4 may learn the data recognition model used to determine the property of the voice input and the reliability thereof or to authenticate the user using the training data. In this case, the data recognition model may be a pre-built model. For example, the data recognition model may be a model built in advance by receiving basic training data (eg, sample data).
데이터 인식 모델은, 인식 모델의 적용 분야, 학습의 목적 또는 장치의 컴퓨터 성능 등을 고려하여 구축될 수 있다. 데이터 인식 모델은 인간의 뇌 구조를 컴퓨터 상에서 모의하도록 설계될 수 있다. 데이터 인식 모델은 인간의 신경망의 뉴런(neuron)을 모의하는, 가중치를 가지는 복수의 네트워크 노드들을 포함할 수 있다. 복수의 네트워크 노드들은 뉴런이 시냅스(synapse)를 통하여 신호를 주고 받는 시냅틱(synaptic) 활동을 모의하도록 각각 연결 관계를 형성할 수 있다. 데이터 인식 모델은, 일 예로, 신경망 모델, 또는 신경망 모델에서 발전한 딥 러닝 모델을 포함할 수 있다. 딥 러닝 모델에서 복수의 네트워크 노드들은 서로 다른 깊이(또는, 레이어)에 위치하면서 컨볼루션(convolution) 연결 관계에 따라 데이터를 주고 받을 수 있다. 데이터 인식 모델에는, 예컨대, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델 들이 포함될 수 있으며, 전술한 예에 특별히 한정되지는 않는다.The data recognition model may be constructed in consideration of the application field of the recognition model, the purpose of learning, or the computer performance of the device. The data recognition model can be designed to simulate the human brain structure on a computer. The data recognition model may include a plurality of weighted network nodes that simulate neurons in a human neural network. The plurality of network nodes may form a connection relationship so that neurons simulate synaptic activity through which signals are sent and received through synapses. The data recognition model may include, for example, a neural network model or a deep learning model developed from the neural network model. In the deep learning model, a plurality of network nodes may be located at different depths (or layers) and exchange data according to a convolutional connection relationship. The data recognition model may include, for example, models such as a deep neural network (DNN), a recurrent neural network (RNN), a bidirectional recurrent deep neural network (BRDNN), and the like.
다양한 실시예에 따르면, 모델 학습부(1310-4)는 미리 구축된 데이터 인식 모델이 복수 개가 존재하는 경우, 입력된 학습 데이터와 기본 학습 데이터의 관련성이 큰 데이터 인식 모델을 학습할 데이터 인식 모델로 결정할 수 있다. 이 경우, 기본 학습 데이터는 데이터의 타입 별로 기 분류되어 있을 수 있으며, 데이터 인식 모델은 데이터의 타입 별로 미리 구축되어 있을 수 있다. 예를 들어, 기본 학습 데이터는 학습 데이터가 생성된 지역, 학습 데이터가 생성된 시간, 학습 데이터의 크기, 학습 데이터의 장르, 학습 데이터의 생성자, 학습 데이터 내의 오브젝트의 종류 등과 같은 다양한 기준으로 기 분류되어 있을 수 있다. According to various embodiments of the present disclosure, when there are a plurality of pre-built data recognition models, the model learner 1310-4 may be a data recognition model to learn a data recognition model having a large correlation between input training data and basic training data. You can decide. In this case, the basic training data may be previously classified by the type of data, and the data recognition model may be pre-built by the type of data. For example, the basic training data is classified based on various criteria such as the region where the training data is generated, the time at which the training data is generated, the size of the training data, the genre of the training data, the creator of the training data, and the types of objects in the training data. It may be.
또한, 모델 학습부(1310-4)는, 예를 들어, 오류 역전파법(error back-propagation) 또는 경사 하강법(gradient descent)을 포함하는 학습 알고리즘 등을 이용하여 데이터 인식 모델을 학습시킬 수 있다.In addition, the model learner 1310-4 may train the data recognition model using, for example, a learning algorithm including an error back-propagation method or a gradient descent method. .
또한, 모델 학습부(1310-4)는, 예를 들어, 학습 데이터를 입력 값으로 하는 지도 학습(supervised learning) 을 통하여, 데이터 인식 모델을 학습시킬 수 있다. 또한, 모델 학습부(1310-4)는, 예를 들어, 별다른 지도없이 상황 판단을 위해 필요한 데이터의 종류를 스스로 학습함으로써, 상황 판단을 위한 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 데이터 인식 모델을 학습시킬 수 있다. 또한, 모델 학습부(1310-4)는, 예를 들어, 학습에 따른 상황 판단의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 데이터 인식 모델을 학습시킬 수 있다.In addition, the model learner 1310-4 may train the data recognition model through, for example, supervised learning using the training data as an input value. In addition, the model learner 1310-4, for example, by unsupervised learning to find a criterion for situation determination by learning the kind of data necessary for situation determination without any guidance, You can train the data recognition model. In addition, the model learner 1310-4 may train the data recognition model, for example, through reinforcement learning using feedback on whether the result of the situation determination according to the learning is correct.
또한, 데이터 인식 모델이 학습되면, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 저장할 수 있다. 이 경우, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 데이터 인식부(1320)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 후술할 데이터 인식부(1320)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 전자 장치와 유선 또는 무선 네트워크로 연결되는 서버의 메모리에 저장할 수도 있다.In addition, when the data recognition model is trained, the model learner 1310-4 may store the trained data recognition model. In this case, the model learner 1310-4 may store the learned data recognition model in a memory of the electronic device including the data recognizer 1320. Alternatively, the model learner 1310-4 may store the learned data recognition model in a memory of an electronic device including the data recognizer 1320, which will be described later. Alternatively, the model learner 1310-4 may store the learned data recognition model in a memory of a server connected to the electronic device through a wired or wireless network.
이 경우, 학습된 데이터 인식 모델이 저장되는 메모리는, 예를 들면, 전자 장치의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 함께 저장할 수도 있다. 또한, 메모리는 소프트웨어 및/또는 프로그램을 저장할 수도 있다. 프로그램은, 예를 들면, 커널, 미들웨어, 어플리케이션 프로그래밍 인터페이스(API) 및/또는 어플리케이션 프로그램(또는 "어플리케이션") 등을 포함할 수 있다.In this case, the memory in which the learned data recognition model is stored may store, for example, commands or data related to at least one other element of the electronic device. The memory may also store software and / or programs. The program may include, for example, a kernel, middleware, an application programming interface (API) and / or an application program (or “application”), and the like.
모델 평가부(1310-5)는 데이터 인식 모델에 평가 데이터를 입력하고, 평가 데이터로부터 출력되는 인식 결과가 소정 기준을 만족하지 못하는 경우, 모델 학습부(1310-4)로 하여금 다시 학습하도록 할 수 있다. 이 경우, 평가 데이터는 데이터 인식 모델을 평가하기 위한 기 설정된 데이터일 수 있다.The model evaluator 1310-5 may input the evaluation data into the data recognition model, and cause the model learner 1310-4 to relearn if the recognition result output from the evaluation data does not satisfy a predetermined criterion. have. In this case, the evaluation data may be preset data for evaluating the data recognition model.
예를 들어, 모델 평가부(1310-5)는 평가 데이터에 대한 학습된 데이터 인식 모델의 인식 결과 중에서, 인식 결과가 정확하지 않은 평가 데이터의 개수 또는 비율이 미리 설정된 임계치를 초과하는 경우 소정 기준을 만족하지 못한 것으로 평가할 수 있다. 예컨대, 소정 기준이 비율 2%로 정의되는 경우, 학습된 데이터 인식 모델이 총 1000개의 평가 데이터 중의 20개를 초과하는 평가 데이터에 대하여 잘못된 인식 결과를 출력하는 경우, 모델 평가부(1310-5)는 학습된 데이터 인식 모델이 적합하지 않은 것으로 평가할 수 있다.For example, the model evaluator 1310-5 may determine a predetermined criterion when the number or ratio of the evaluation data that is not accurate among the recognition results of the learned data recognition model for the evaluation data exceeds a preset threshold. It can be evaluated as not satisfied. For example, when a predetermined criterion is defined at a ratio of 2%, the model evaluator 1310-5 when the learned data recognition model outputs an incorrect recognition result for more than 20 evaluation data out of a total of 1000 evaluation data. Can be judged that the learned data recognition model is not suitable.
한편, 학습된 데이터 인식 모델이 복수 개가 존재하는 경우, 모델 평가부(1310-5)는 각각의 학습된 동영상 인식 모델에 대하여 소정 기준을 만족하는지를 평가하고, 소정 기준을 만족하는 모델을 최종 데이터 인식 모델로서 결정할 수 있다. 이 경우, 소정 기준을 만족하는 모델이 복수 개인 경우, 모델 평가부(1310-5)는 평가 점수가 높은 순으로 미리 설정된 어느 하나 또는 소정 개수의 모델을 최종 데이터 인식 모델로서 결정할 수 있다.On the other hand, when there are a plurality of trained data recognition models, the model evaluator 1310-5 evaluates whether each learned video recognition model satisfies a predetermined criterion, and recognizes a model satisfying the predetermined criterion for final data. Can be determined as a model. In this case, when there are a plurality of models satisfying a predetermined criterion, the model evaluator 1310-5 may determine any one or a predetermined number of models that are preset in the order of the highest evaluation score as the final data recognition model.
한편, 데이터 학습부(1310) 내의 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, the data acquisition unit 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310 in the data learner 1310. At least one of -5) may be manufactured in the form of at least one hardware chip and mounted on the electronic device. For example, at least one of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5. One may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI), or may be manufactured as a part of an existing general purpose processor (eg, a CPU or application processor) or a graphics dedicated processor (eg, a GPU). It may be mounted on various electronic devices.
또한, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the data obtaining unit 1310-1, the preprocessor 1310-2, the training data selecting unit 1310-3, the model learning unit 1310-4, and the model evaluating unit 1310-5 are electronic components. It may be mounted on the device, or may be mounted on separate electronic devices, respectively. For example, some of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5. May be included in the electronic device, and the rest may be included in the server.
또한, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.In addition, at least one of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 may be used. It may be implemented as a software module. At least one of the data acquirer 1310-1, the preprocessor 1310-2, the training data selector 1310-3, the model learner 1310-4, and the model evaluator 1310-5 is a software module. (Or a program module including instructions), the software module may be stored in a computer readable non-transitory computer readable media. In this case, at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an operating system (OS), and others may be provided by a predetermined application.
도 16은 일부 실시예에 따른 데이터 인식부(1320)의 블록도이다.16 is a block diagram of a data recognizer 1320 according to some embodiments.
도 16을 참조하면, 일부 실시예에 따른 데이터 인식부(1320)는 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5)를 포함할 수 있다.Referring to FIG. 16, a data recognizer 1320 according to an exemplary embodiment may include a data acquirer 1320-1, a preprocessor 1320-2, a recognition data selector 1320-3, and a recognition result provider ( 1320-4) and a model updater 1320-5.
데이터 획득부(1320-1)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것에 필요한 데이터를 획득할 수 있으며, 전처리부(1320-2)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것을 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1320-2)는 후술할 인식 결과 제공부(1320-4)가 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것을 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. The data acquirer 1320-1 may determine the attributes of the voice input and the reliability thereof, or may acquire data necessary for authenticating the user. The preprocessor 1320-2 may acquire the attributes of the voice input and the reliability thereof. The obtained data may be preprocessed such that the obtained data may be used to determine the data or to authenticate the user. The preprocessor 1320-2 may use the acquired data so that the recognition result provider 1320-4, which will be described later, may use the acquired data for determining the attribute and reliability of the voice input or authenticating the user. Can be processed in a preset format.
인식 데이터 선택부(1320-3)는 전처리된 데이터 중에서 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 인식 결과 제공부(1320-4)에게 제공될 수 있다. 인식 데이터 선택부(1320-3)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것을 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. 또한, 인식 데이터 선택부(1320-3)는 후술할 모델 학습부(1310-4)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The recognition data selector 1320-3 may determine the attributes of the voice input and the reliability thereof from the preprocessed data, or select data necessary for authenticating the user. The selected data may be provided to the recognition result provider 1320-4. The recognition data selector 1320-3 may select some or all of the preprocessed data according to a predetermined criterion for determining the attribute of the voice input and the reliability thereof, or authenticating the user. In addition, the recognition data selector 1320-3 may select data according to a predetermined criterion by learning by the model learner 1310-4 to be described later.
인식 결과 제공부(1320-4)는 선택된 데이터를 데이터 인식 모델에 적용하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다. 인식 결과 제공부(1320-4)는 데이터의 인식 목적에 따른 인식 결과를 제공할 수 있다. 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 입력 값으로 이용함으로써, 선택된 데이터를 데이터 인식 모델에 적용할 수 있다. 또한, 인식 결과는 데이터 인식 모델에 의해 결정될 수 있다.The recognition result providing unit 1320-4 may apply the selected data to the data recognition model to determine the property of the voice input, the reliability thereof, or authenticate the user. The recognition result providing unit 1320-4 may provide a recognition result according to a recognition purpose of data. The recognition result provider 1320-4 may apply the selected data to the data recognition model by using the data selected by the recognition data selector 1320-3 as an input value. In addition, the recognition result may be determined by the data recognition model.
모델 갱신부(1320-5)는 인식 결과 제공부(1320-4)에 의해 제공되는 인식 결과에 대한 평가에 기초하여, 데이터 인식 모델이 갱신되도록할 수 있다. 예를 들어, 모델 갱신부(1320-5)는 인식 결과 제공부(1320-4)에 의해 제공되는 인식 결과를 모델 학습부(1310-4)에게 제공함으로써, 모델 학습부(1310-4)가 데이터 인식 모델을 갱신하도록 할 수 있다.The model updater 1320-5 may cause the data recognition model to be updated based on the evaluation of the recognition result provided by the recognition result provider 1320-4. For example, the model updater 1320-5 provides the model learning unit 1310-4 with the recognition result provided by the recognition result providing unit 1320-4 so that the model learner 1310-4 provides the recognition result. The data recognition model can be updated.
한편, 데이터 인식부(1320) 내의 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, the data acquisition unit 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result providing unit 1320-4, and the model updater in the data recognition unit 1320 ( At least one of 1320-5 may be manufactured in the form of at least one hardware chip and mounted on the electronic device. For example, among the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5. At least one may be fabricated in the form of a dedicated hardware chip for artificial intelligence (AI), or may be fabricated as part of an existing general purpose processor (e.g., CPU or application processor) or graphics dedicated processor (e.g., GPU). It may be mounted on various electronic devices.
또한, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the data acquisition unit 1320-1, the preprocessor 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updater 1320-5 It may be mounted on an electronic device, or may be mounted on separate electronic devices, respectively. For example, among the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5. Some may be included in the electronic device, and others may be included in the server.
또한, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.In addition, at least one of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5. May be implemented as a software module. At least one of the data acquirer 1320-1, the preprocessor 1320-2, the recognition data selector 1320-3, the recognition result provider 1320-4, and the model updater 1320-5 is software. When implemented as a module (or a program module including instructions), the software module may be stored on a computer readable non-transitory computer readable media. In this case, at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an operating system (OS), and others may be provided by a predetermined application.
도 17은 일부 실시예에 따른 디바이스(1000) 및 서버(2000)가 서로 연동함으로써 데이터를 학습하고 인식하는 예시를 나타내는 도면이다.17 illustrates an example in which the device 1000 and the server 2000 learn and recognize data by interworking with each other, according to an exemplary embodiment.
도 17을 참조하면, 서버(2000)는 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하기 위한 기준을 학습할 수 있으며, 디바이스(1000)는 서버(2000)에 의한 학습 결과에 기초하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다.Referring to FIG. 17, the server 2000 may determine a property of a voice input, a reliability thereof, or learn a criterion for authenticating a user, and the device 1000 may be based on a learning result by the server 2000. By determining the attributes of the voice input and the reliability thereof, it is possible to authenticate the user.
이 경우, 서버(2000)의 모델 학습부(2340)는 도 15에 도시된 데이터 학습부(1310)의 기능을 수행할 수 있다. 서버(2000)의 모델 학습부(2340)는 음성 활성, 비활성 조건 판별 및 추천 음성 텍스트 정보 생성을 위하여 어떤 데이터를 이용할 지에 관한 기준을 학습할 수 있다. 또한, 서버의 모델 학습부(2340)는 데이터를 이용하여 음성 활성, 비활성 조건을 판별하고 추천 음성 텍스트 정보를 생성하기 위한 기준을 학습할 수 있다. 모델 학습부(2340)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 인식 모델에 적용함으로써, 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하기 위한 기준을 학습할 수 있다.In this case, the model learner 2340 of the server 2000 may perform a function of the data learner 1310 illustrated in FIG. 15. The model learner 2340 of the server 2000 may learn a criterion about what data to use for voice activation, inactivity condition determination, and recommendation speech text information generation. In addition, the model learner 2340 of the server may use the data to determine a criterion for determining voice activation and inactivation conditions and to generate recommended speech text information. The model learner 2340 acquires data to be used for training and applies the acquired data to a data recognition model to be described later, so as to determine the attributes of the voice input and its reliability, or to learn a criterion for authenticating the user. Can be.
또한, 디바이스(1000)의 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 서버(2000)에 의해 생성된 데이터 인식 모델에 적용하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증 할 수 있다. 예를 들어, 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 서버(2000)에게 전송하고, 서버(2000)가 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 인식 모델에 적용하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 것을 요청할 수 있다. 또한, 인식 결과 제공부(1320-4)는 서버(2000)에 의해 판단된 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증하는 것에 관한 정보를 서버(2000)로부터 수신할 수 있다. In addition, the recognition result providing unit 1320-4 of the device 1000 applies the data selected by the recognition data selecting unit 1320-3 to the data recognition model generated by the server 2000, and thus the attribute of the voice input and the like. The credibility can be determined or the user can be authenticated. For example, the recognition result provider 1320-4 transmits the data selected by the recognition data selector 1320-3 to the server 2000, and the server 2000 transmits the recognition data selector 1320-3. The data selected by may be applied to the recognition model to determine the attributes of the voice input and the reliability thereof, or to request to authenticate the user. In addition, the recognition result providing unit 1320-4 may determine the attribute of the voice input determined by the server 2000 and the reliability thereof, or receive information from the server 2000 about authenticating the user.
또는, 디바이스(1000)의 인식 결과 제공부(1320-4)는 서버(2000)에 의해 생성된 인식 모델을 서버(2000)로부터 수신하고, 수신된 인식 모델을 이용하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다. 이 경우, 디바이스(1000)의 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에의해 선택된 데이터를 서버(2000)로부터 수신된 데이터 인식 모델에 적용하여 음성 입력의 속성 및 그에 대한 신뢰도를 판단하거나, 사용자를 인증할 수 있다. Alternatively, the recognition result providing unit 1320-4 of the device 1000 receives a recognition model generated by the server 2000 from the server 2000, and uses the received recognition model to determine the attributes of the voice input and the like. The reliability can be determined or the user can be authenticated. In this case, the recognition result providing unit 1320-4 of the device 1000 applies the data selected by the recognition data selecting unit 1320-3 to the data recognition model received from the server 2000, and thus the attributes of the voice input and the like. The reliability can be determined or a user can be authenticated.
또한, 디바이스(1000) 및 서버(2000)는 데이터 인식 모델의 학습 및 데이터 인식을 위한 작업을 효과적으로 분배하여 수행할 수 있으며, 이를 통하여, 사용자의 의도에 부합하는 서비스를 제공하기 위하여 데이터 처리를 효율적으로 수행하고, 사용자의 프라이버시를 효과적으로 보호할 수 있다.In addition, the device 1000 and the server 2000 may effectively distribute and perform a task for learning the data recognition model and data recognition, thereby efficiently processing data in order to provide a service corresponding to the user's intention. To protect the user's privacy.
일부 실시예는 컴퓨터로 읽을 수 있는 저장 매체(computer-readable storage media)에 저장된 명령어들을 포함하는 S/W 프로그램으로 구현될 수 있다. Some embodiments may be implemented as S / W programs that include instructions stored on computer-readable storage media.
예로, 컴퓨터는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 개시된 실시예에 따른 동작이 가능한 장치로서, 개시된 실시예들에 따른 디바이스 또는 디바이스와 통신 연결된 외부의 서버를 포함할 수 있다.For example, a computer may be a device capable of calling stored instructions from a storage medium and operating according to the disclosed embodiments according to the called instructions, and may include a device according to the disclosed embodiments or an external server connected to the device. .
컴퓨터로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 신호(signal), 전류(current)를 포함하지 않으며, 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다. 예로, 비일시적 저장 매체는 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 내장 메모리, 메모리 카드, ROM 또는 RAM 등과 같은 비일시적 판독가능 저장매체뿐만 아니라 레지스터, 캐쉬, 버퍼 등과 같이 임시적으로 저장되는 매체를 포함할 수 있다.The computer readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' means that the storage medium does not include a signal or a current, and is tangible, but does not distinguish that the data is semi-permanently or temporarily stored in the storage medium. For example, non-transitory storage media may be stored temporarily such as registers, caches, buffers, as well as non-transitory readable storage media such as CD, DVD, hard disk, Blu-ray disc, USB, internal memory, memory card, ROM, or RAM. Media may be included.
또한, 개시된 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)으로 제공될 수 있다. In addition, the method according to the disclosed embodiments may be provided as a computer program product.
컴퓨터 프로그램 제품은 S/W 프로그램, S/W 프로그램이 저장된 컴퓨터로 읽을 수 있는 저장 매체 또는 판매자 및 구매자 간에 거래되는 상품을 포함할 수 있다. The computer program product may include a S / W program, a computer readable storage medium on which the S / W program is stored, or a product traded between a seller and a buyer.
예를 들어, 컴퓨터 프로그램 제품은 디바이스 제조사 또는 전자 마켓(예, 구글 플레이 스토어, 앱 스토어)을 통해 전자적으로 배포되는 S/W 프로그램 형태의 상품(예, 다운로더블 앱)을 포함할 수 있다. 전자적 배포를 위하여, S/W 프로그램의 적어도 일부는 저장 매체에 저장되거나, 임시적으로 생성될 수 있다. 이 경우, 저장 매체는 제조사 또는 전자 마켓의 서버, 또는 중계 서버의 저장매체가 될 수 있다.For example, a computer program product may include a product (eg, a downloadable app) in the form of a S / W program distributed electronically through a device manufacturer or an electronic market (eg, Google Play Store, App Store). For electronic distribution, at least a part of the S / W program may be stored in a storage medium or temporarily generated. In this case, the storage medium may be a server of a manufacturer or an electronic market, or a storage medium of a relay server.

Claims (15)

  1. 사용자로부터 제공되는 음성 입력을 인증하는 디바이스에 있어서:A device for authenticating voice input provided from a user:
    상기 음성 입력을 수신하는 마이크;A microphone to receive the voice input;
    하나 이상의 인스트럭션을 저장하는 메모리; 및Memory for storing one or more instructions; And
    상기 하나 이상의 인스트럭션을 실행하는 프로세서;A processor executing the one or more instructions;
    를 포함하며,Including;
    상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써, 상기 음성 입력으로부터 상기 음성 입력의 신호 특성을 나타내는 신호 특성 데이터를 획득하고, 상기 획득된 신호 특성 데이터를 상기 음성 입력의 속성을 판단하기 위한 제1 학습 모델에 적용함으로써 상기 음성 입력을 인증하며,The processor, by executing the one or more instructions, obtains the signal characteristic data representing the signal characteristic of the speech input from the speech input and uses the acquired signal characteristic data to determine a first attribute of the speech input. Apply to the model to authenticate the voice input,
    상기 제1 학습 모델은 사람에 의해 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 상기 음성 입력의 속성을 판단하도록 학습된 것인 디바이스.And wherein the first learning model is trained to determine attributes of the speech input based on speech spoken by a person and speech output from the device.
  2. 제 1항에 있어서,The method of claim 1,
    상기 신호 특성 데이터는 상기 음성 입력의 주파수별 누적 전력(per-frequecy cumulative power)에 관한 정보를 포함하는 디바이스.The signal characteristic data includes information regarding per-frequecy cumulative power of the voice input.
  3. 제 2항에 있어서,The method of claim 2,
    상기 제1 학습 모델은, 상기 사람에 의해 발성된 음성 및 상기 장치로부터 출력된 음성의, 주파수별 누적 전력의 감쇠 형태에 따라 상기 음성 입력의 속성을 상이하게 판단하도록 학습된 것인, 디바이스.Wherein the first learning model is trained to differently determine an attribute of the voice input according to attenuation form of cumulative power for each frequency of the voice spoken by the person and the voice output from the device.
  4. 제 1항에 있어서,The method of claim 1,
    상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,The processor executes the one or more instructions,
    상기 음성 입력을, 상기 사용자의 음성 입력 패턴에 기반하여 음성 입력을 발성한 상기 사용자를 인증하기 위한 제2 학습 모델에 적용함으로써, 상기 사용자를 인증하는, 디바이스.And authenticate the user by applying the voice input to a second learning model for authenticating the user who has spoken the voice input based on the voice input pattern of the user.
  5. 제 4항에 있어서,The method of claim 4, wherein
    상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써, The processor executes the one or more instructions,
    상기 획득된 신호 특성 데이터를 상기 제1 학습 모델에 적용함으로써 제1 사용자 인증이 요구되는지 여부를 판단하고, 상기 판단 결과에 기초하여 선택적으로 상기 음성 입력을 상기 제2 학습 모델에 적용하는, 디바이스.And determining whether first user authentication is required by applying the obtained signal characteristic data to the first learning model, and selectively applying the voice input to the second learning model based on the determination result.
  6. 제 4항에 있어서,The method of claim 4, wherein
    상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써, The processor executes the one or more instructions,
    상기 디바이스의 주변 환경 정보, 상기 디바이스의 상태 정보, 상기 사용자의 디바이스 사용 이력 정보 및 상기 사용자의 일정 정보 중 적어도 하나를 포함하는 컨텍스트 정보를 획득하는 동작; 을 더 수행하며,Obtaining context information including at least one of surrounding environment information of the device, state information of the device, device usage history information of the user, and schedule information of the user; Do more,
    상기 사용자를 인증하는 동작은, 상기 컨텍스트 정보를 상기 음성 입력과 함께 상기 제2 학습 모델에 입력하는 동작을 포함하는, 디바이스.Authenticating the user includes inputting the context information into the second learning model along with the voice input.
  7. 제 4항에 있어서,The method of claim 4, wherein
    상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써, The processor executes the one or more instructions,
    상기 음성 입력을 상기 제2 학습 모델에 적용함으로써 제2 사용자 인증이 요구되는지 여부를 판단하고, 상기 판단 결과에 기초하여 선택적으로 상기 음성 입력을 발성한 상기 사용자를 추가적으로 인증하는, 디바이스.Determining whether a second user authentication is required by applying the voice input to the second learning model, and additionally authenticating the user who has selectively spoken the voice input based on the determination result.
  8. 사용자로부터 제공되는 음성 입력을 인증하는 방법에 있어서,In the method for authenticating a voice input provided from a user,
    상기 음성 입력을 수신하는 단계;Receiving the voice input;
    상기 음성 입력으로부터 상기 음성 입력의 신호 특성을 나타내는 신호 특성 데이터를 획득하는 단계; 및Obtaining signal characteristic data representing signal characteristics of the speech input from the speech input; And
    상기 획득된 신호 특성 데이터를 상기 음성 입력의 속성을 판단하기 위한 제1 학습 모델에 적용함으로써 상기 음성 입력을 인증하는 단계;Authenticating the speech input by applying the obtained signal characteristic data to a first learning model for determining the attribute of the speech input;
    를 포함하며,Including;
    상기 제1 학습 모델은 사람에 의해 발성된 음성 및 장치로부터 출력된 음성에 기초하여, 상기 음성 입력의 속성을 판단하도록 학습된 것인, 방법.And the first learning model is trained to determine attributes of the speech input based on speech spoken by a person and speech output from the device.
  9. 제 8항에 있어서,The method of claim 8,
    상기 신호 특성 데이터는 상기 음성 입력의 주파수별 누적 전력(per-frequecy cumulative power)에 관한 정보를 포함하는 방법.The signal characteristic data includes information about per-frequecy cumulative power of the voice input.
  10. 제 9항에 있어서,The method of claim 9,
    상기 제1 학습 모델은, 상기 사람에 의해 발성된 음성 및 상기 장치로부터 출력된 음성의, 주파수별 누적 전력의 감쇠 형태에 따라 상기 음성 입력의 속성을 상이하게 판단하도록 학습된 것인, 방법.And wherein the first learning model is trained to determine different attributes of the voice input according to attenuation patterns of cumulative power for each frequency of voice spoken by the person and voice output from the device.
  11. 제 8항에 있어서,The method of claim 8,
    상기 음성 입력을, 상기 사용자의 음성 입력 패턴에 기반하여 음성 입력을 발성한 상기 사용자를 인증하기 위한 제2 학습 모델에 적용함으로써, 상기 사용자를 인증하는 단계를 더 포함하는, 방법.Authenticating the user by applying the voice input to a second learning model for authenticating the user who has spoken the voice input based on the user's voice input pattern.
  12. 제 11항에 있어서,The method of claim 11,
    상기 획득된 신호 특성 데이터를 상기 제1 학습 모델에 적용함으로써 제1 사용자 인증이 요구되는지 여부를 판단하는 단계를 더 포함하고,Determining whether first user authentication is required by applying the acquired signal characteristic data to the first learning model,
    상기 판단 결과에 기초하여 선택적으로 상기 음성 입력을 상기 제2 학습 모델에 적용하는, 방법.Selectively applying the speech input to the second learning model based on the determination result.
  13. 제 11항에 있어서,The method of claim 11,
    디바이스의 주변 환경 정보, 상기 디바이스의 상태 정보, 상기 사용자의 디바이스 사용 이력 정보 및 상기 사용자의 일정 정보 중 적어도 하나를 포함하는 컨텍스트 정보를 획득하는 단계; 를 더 포함하고,Obtaining context information including at least one of surrounding environment information of a device, state information of the device, device usage history information of the user, and schedule information of the user; More,
    상기 사용자를 인증하는 단계는, 상기 컨텍스트 정보를 상기 음성 입력과 함께 상기 제2 학습 모델에 입력하는 동작을 포함하는 단계인, 방법.Authenticating the user comprises inputting the context information into the second learning model along with the voice input.
  14. 제 11항에 있어서,The method of claim 11,
    상기 음성 입력을 상기 제2 학습 모델에 적용함으로써 제2 사용자 인증이 요구되는지 여부를 판단하는 단계; 및 Determining whether a second user authentication is required by applying the voice input to the second learning model; And
    상기 판단 결과에 기초하여 선택적으로 상기 음성 입력을 발성한 상기 사용자를 추가적으로 인증하는 단계를 더 포함하는, 방법.And further authenticating the user who has selectively spoken the voice input based on the determination result.
  15. 제 14항에 있어서,The method of claim 14,
    디바이스의 주변 환경 정보, 상기 디바이스의 상태 정보, 상기 사용자의 디바이스 사용 이력 정보 및 상기 사용자의 일정 정보 중 적어도 하나를 포함하는 컨텍스트 정보를 획득하는 단계; 를 더 포함하며,Obtaining context information including at least one of surrounding environment information of a device, state information of the device, device usage history information of the user, and schedule information of the user; More,
    상기 사용자를 추가적으로 인증하는 단계는, 질의 응답을 통해 사용자를 인증하기 위한 제3 학습 모델에 상기 획득된 컨텍스트 정보를 적용함으로써 상기 음성 입력을 발성한 상기 사용자를 추가 인증하는, 방법.The additionally authenticating the user further includes further authenticating the user who spoke the voice input by applying the obtained context information to a third learning model for authenticating the user through a query response.
PCT/KR2019/005174 2018-05-04 2019-04-30 Voice input authentication device and method WO2019212221A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/052,736 US11551699B2 (en) 2018-05-04 2019-04-30 Voice input authentication device and method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201862667096P 2018-05-04 2018-05-04
US62/667,096 2018-05-04
KR10-2018-0092046 2018-08-07
KR1020180092046A KR102531654B1 (en) 2018-05-04 2018-08-07 Method and device for authentication in voice input

Publications (1)

Publication Number Publication Date
WO2019212221A1 true WO2019212221A1 (en) 2019-11-07

Family

ID=68386376

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/005174 WO2019212221A1 (en) 2018-05-04 2019-04-30 Voice input authentication device and method

Country Status (1)

Country Link
WO (1) WO2019212221A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002023792A (en) * 2000-07-10 2002-01-25 Casio Comput Co Ltd Device and method for collating speech, and storage medium with speech collation processing program stored therein
KR101201151B1 (en) * 2004-12-03 2012-11-21 마이크로소프트 코포레이션 User authentication by combining speaker verification and reverse turing test
KR20160105496A (en) * 2014-06-24 2016-09-06 구글 인코포레이티드 Dynamic threshold for speaker verification
KR20160148009A (en) * 2014-07-04 2016-12-23 인텔 코포레이션 Replay attack detection in automatic speaker verification systems
JP2017187676A (en) * 2016-04-07 2017-10-12 キヤノン株式会社 Voice discrimination device, voice discrimination method, and computer program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002023792A (en) * 2000-07-10 2002-01-25 Casio Comput Co Ltd Device and method for collating speech, and storage medium with speech collation processing program stored therein
KR101201151B1 (en) * 2004-12-03 2012-11-21 마이크로소프트 코포레이션 User authentication by combining speaker verification and reverse turing test
KR20160105496A (en) * 2014-06-24 2016-09-06 구글 인코포레이티드 Dynamic threshold for speaker verification
KR20160148009A (en) * 2014-07-04 2016-12-23 인텔 코포레이션 Replay attack detection in automatic speaker verification systems
JP2017187676A (en) * 2016-04-07 2017-10-12 キヤノン株式会社 Voice discrimination device, voice discrimination method, and computer program

Similar Documents

Publication Publication Date Title
WO2020080773A1 (en) System and method for providing content based on knowledge graph
WO2019194451A1 (en) Voice conversation analysis method and apparatus using artificial intelligence
WO2018117704A1 (en) Electronic apparatus and operation method thereof
WO2018117428A1 (en) Method and apparatus for filtering video
WO2018110818A1 (en) Speech recognition method and apparatus
WO2018128362A1 (en) Electronic apparatus and method of operating the same
WO2019182346A1 (en) Electronic device for modulating user voice using artificial intelligence model and control method thereof
WO2019182265A1 (en) Artificial intelligence device and method for operating same
EP3545436A1 (en) Electronic apparatus and method of operating the same
WO2019164120A1 (en) Electronic device and control method thereof
WO2021015308A1 (en) Robot and trigger word recognition method therefor
WO2019124963A1 (en) Speech recognition device and method
EP3539056A1 (en) Electronic apparatus and operation method thereof
EP3533052A1 (en) Speech recognition method and apparatus
WO2018093229A1 (en) Method and device applying artificial intelligence to send money by using voice input
KR102531654B1 (en) Method and device for authentication in voice input
WO2020085769A1 (en) Speech recognition method and apparatus in environment including plurality of apparatuses
EP3533015A1 (en) Method and device applying artificial intelligence to send money by using voice input
WO2019132410A1 (en) Electronic device and control method thereof
WO2019245331A1 (en) Text input device and method therefor
WO2018074895A1 (en) Device and method for providing recommended words for character input
WO2018117538A1 (en) Method for estimating lane information, and electronic device
WO2018182201A1 (en) Method and device for providing response to voice input of user
WO2020130260A1 (en) Mobile terminal and method of operating the same
WO2020184746A1 (en) Artificial intelligence apparatus for controlling auto stop system on basis of driving information, and method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19797134

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19797134

Country of ref document: EP

Kind code of ref document: A1