KR20220144491A - Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof - Google Patents

Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof Download PDF

Info

Publication number
KR20220144491A
KR20220144491A KR1020210050845A KR20210050845A KR20220144491A KR 20220144491 A KR20220144491 A KR 20220144491A KR 1020210050845 A KR1020210050845 A KR 1020210050845A KR 20210050845 A KR20210050845 A KR 20210050845A KR 20220144491 A KR20220144491 A KR 20220144491A
Authority
KR
South Korea
Prior art keywords
emotion
chatting
symbol combination
symbol combinations
score
Prior art date
Application number
KR1020210050845A
Other languages
Korean (ko)
Other versions
KR102500732B1 (en
Inventor
홍승현
Original Assignee
주식회사 한글과컴퓨터
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 한글과컴퓨터 filed Critical 주식회사 한글과컴퓨터
Priority to KR1020210050845A priority Critical patent/KR102500732B1/en
Publication of KR20220144491A publication Critical patent/KR20220144491A/en
Application granted granted Critical
Publication of KR102500732B1 publication Critical patent/KR102500732B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • G06F40/35Discourse or dialogue representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Algebra (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computing Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Evolutionary Biology (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are an electronic device that provides a chatting function based on an expression interpretation and an operating method therefor. The electronic device and operating method therefor according to the present invention relate to a technology that perform the expression interpretation for a symbol combination included in a chatting message when the chatting message is received from a terminal of a chatting counterpart, and support a user of an electronic device so as to continue a smooth communication with his/her chatting counterpart by guiding a meaning for which the chatting counterpart wants to express based on the same. The electronic device comprises: a symbol combination table maintenance part; an interpretation event generating part; a confirmation part; and a display part.

Description

표현 해석 기반의 채팅 기능을 제공하는 전자 장치 및 그 동작 방법{ELECTRONIC APPARATUS THAT PROVIDES THE CHAT FUNCTION BASED ON EXPRESSION INTERPRETATION AND OPERATING METHOD THEREOF}An electronic device providing a chat function based on expression interpretation and an operation method thereof

본 발명은 표현 해석 기반의 채팅 기능을 제공하는 전자 장치 및 그 동작 방법에 대한 것이다.The present invention relates to an electronic device that provides a chat function based on expression interpretation and an operating method thereof.

최근, 채팅 애플리케이션이 널리 보급됨으로써, 사람들 간의 의사소통이 활발히 이루어지고 있다.In recent years, as a chatting application is widely spread, communication between people is actively made.

관련해서, 기존의 채팅 애플리케이션에서는 일반 문자로 구성된 텍스트를 통해 사람들 간의 의사소통이 이루어지곤 했었다. 하지만, 일반 문자로 구성된 텍스트만으로는 타인의 의도를 파악하거나 본인의 의도를 전달하는데 한계점이 있었다.In relation to this, in the existing chatting application, communication between people has been achieved through text composed of plain characters. However, there is a limit to understanding the intention of others or conveying one's intention only with text composed of ordinary characters.

이러한 한계점을 극복하고자 최근에는 채팅시 일반 문자와 특수 문자의 조합으로 구성된 기호 조합들이 사용되면서, 의도를 효과적으로 전달할 수 있게 되었다.In order to overcome this limitation, symbol combinations composed of a combination of general and special characters have recently been used in chatting, making it possible to effectively convey intentions.

이렇게, 채팅에서 기호 조합들이 사용되면서, 의도를 효과적으로 전달할 수 있게 되었음에도 불구하고, 사용자가 채팅 상대방으로부터 수신된 채팅 메시지만을 보고 채팅 상대방이 표현하고자 하는 의미를 파악하기는 쉽지 않은 실정이다.In this way, although symbol combinations are used in chatting and the intention can be effectively conveyed, it is difficult for the user to understand the meaning that the chatting counterpart intends to express by looking only at the chatting message received from the chatting counterpart.

이와 관련해서, 채팅 상대방으로부터 수신된 채팅 메시지에 소정의 기호 조합이 포함되어 있는 경우, 채팅 상대방이 표현하고자 하는 의미를 해석해 줄 수 있는 기능이 제공된다면, 사용자는 채팅 상대방과 원활한 의사소통을 이어나갈 수 있을 것이다.In this regard, if the chat message received from the chatting partner includes a predetermined symbol combination, and a function to interpret the meaning the chatting partner wants to express is provided, the user can continue to communicate smoothly with the chatting partner. will be able

따라서, 표현 해석 기반의 채팅 기능을 제공해 줄 수 있는 채팅 서비스 기술에 대한 연구가 필요하다.Therefore, it is necessary to study a chat service technology that can provide a chat function based on expression interpretation.

본 발명은 채팅 상대방의 단말로부터 채팅 메시지가 수신되면, 상기 채팅 메시지에 포함된 기호 조합에 대한 표현 해석을 수행하고, 이를 기초로 상기 채팅 상대방이 표현하고자 의미가 어떤지를 안내해주는 전자 장치 및 그 동작 방법을 제시함으로써, 전자 장치의 사용자가 채팅 상대방과 원활한 의사소통을 이어나갈 수 있도록 지원하고자 한다.The present invention provides an electronic device that, when a chatting message is received from a chatting counterpart's terminal, performs expression interpretation on a symbol combination included in the chatting message, and guides the chatting counterpart's meaning to be expressed based on this, and its operation By presenting a method, an object of the present invention is to support a user of an electronic device to continuously communicate with a chatting partner.

본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치는 하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지하는 기호 조합 테이블 유지부, 상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시키는 표현 해석 이벤트 발생부, 상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인하는 확인부 및 상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시하는 표시부를 포함한다.An electronic device for providing a chat function based on expression interpretation according to an embodiment of the present invention includes a plurality of different symbol combinations composed of a combination of one or more symbols, and a dictionary for expressions meaning each of the plurality of symbol combinations. A symbol combination table maintaining unit for storing and maintaining a symbol combination table in which set interpretation information is recorded, as a chatting application installed in the electronic device is executed by a user of the electronic device, when the chatting function is executed, the chatting counterpart Whenever a chatting message is received from the terminal of the expression interpretation event generating unit for generating an expression interpretation event for interpreting the expression for the chatting message received from the terminal of the chatting counterpart, when the expression interpretation event occurs, the symbol With reference to a combination table, a confirmation unit for confirming whether a symbol combination included in the chatting message received from the terminal of the chatting counterpart exists among the plurality of symbol combinations, and the chatting counterpart from among the plurality of symbol combinations When it is confirmed that at least one first symbol combination exists as a symbol combination included in the chat message received from the terminal of , in the chat message being displayed on the screen of the electronic device, including a display unit for adding and displaying the interpretation information for each of the at least one first symbol combination at a point adjacent to each of the at least one first symbol combination do.

또한, 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법은 하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지하는 단계, 상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시키는 단계, 상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인하는 단계 및 상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시하는 단계를 포함한다.In addition, in the method of operating an electronic device for providing a chat function based on expression interpretation according to an embodiment of the present invention, a plurality of different symbol combinations composed of a combination of one or more symbols, and the meaning of each of the plurality of symbol combinations Storing and maintaining a symbol combination table in which preset interpretation information for an expression is recorded, as the chatting application installed in the electronic device is executed by the user of the electronic device, when the chatting function is executed, Whenever a chatting message is received from the other party's terminal, generating an expression interpretation event for interpreting the expression for the chatting message received from the chatting counterpart's terminal, when the expression interpretation event occurs, the symbol combination table With reference, checking whether a symbol combination included in the chat message received from the chatting counterpart's terminal exists among the plurality of symbol combinations, and receiving from the chatting counterpart's terminal among the plurality of symbol combinations When it is confirmed that at least one first symbol combination exists as a symbol combination included in the chat message, interpretation information for each of the at least one first symbol combination is extracted from the symbol combination table, and then the electronic device and adding and displaying interpretation information for each of the at least one first symbol combination at an adjacent point of each of the at least one first symbol combination within the chat message being displayed on the screen of the .

본 발명은 채팅 상대방의 단말로부터 채팅 메시지가 수신되면, 상기 채팅 메시지에 포함된 기호 조합에 대한 표현 해석을 수행하고, 이를 기초로 상기 채팅 상대방이 표현하고자 하는 의미가 어떤지를 안내해주는 전자 장치 및 그 동작 방법을 제시함으로써, 전자 장치의 사용자가 채팅 상대방과 원활한 의사소통을 이어나갈 수 있도록 지원할 수 있다.The present invention provides an electronic device that, when a chatting message is received from a chatting counterpart's terminal, performs expression interpretation on a symbol combination included in the chatting message, and guides the chatting counterpart's meaning to be expressed based on this, and its By presenting the operation method, it is possible to support the user of the electronic device to continue smooth communication with the chatting counterpart.

도 1은 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작을 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram illustrating a structure of an electronic device that provides a chat function based on expression interpretation according to an embodiment of the present invention.
2 is a diagram for explaining an operation of an electronic device that provides a chat function based on expression interpretation according to an embodiment of the present invention.
3 is a flowchart illustrating an operation method of an electronic device that provides a chat function based on expression interpretation according to an embodiment of the present invention.

이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. These descriptions are not intended to limit the present invention to specific embodiments, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing each drawing, like reference numerals are used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, refer to those of ordinary skill in the art to which the present invention belongs. It has the same meaning as is commonly understood by those who have it.

본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated. In addition, in various embodiments of the present invention, each of the components, functional blocks or means may be composed of one or more sub-components, and the electrical, electronic, and mechanical functions performed by each component are electronic. A circuit, an integrated circuit, an ASIC (Application Specific Integrated Circuit), etc. may be implemented with various well-known devices or mechanical elements, and may be implemented separately or two or more may be integrated into one.

한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 명령들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 명령들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 명령 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 명령들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the blocks in the accompanying block diagram or steps in the flowchart are computer program instructions that are loaded in a processor or memory of equipment capable of data processing, such as a general-purpose computer, a special-purpose computer, a portable notebook computer, and a network computer, and perform specified functions. can be interpreted as meaning Since these computer program instructions may be stored in a memory provided in a computer device or in a memory readable by a computer, the functions described in the blocks of the block diagram or the steps of the flowchart are produced in an article containing instruction means for performing the same. it might be In addition, each block or each step may represent a module, segment, or portion of code comprising one or more executable instructions for executing the specified logical function(s). It should also be noted that, in some alternative embodiments, it is possible for the functions recited in blocks or steps to be executed out of the prescribed order. For example, two blocks or steps shown one after another may be performed substantially simultaneously or in the reverse order, and in some cases, some blocks or steps may be omitted.

도 1은 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of an electronic device that provides a chat function based on expression interpretation according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 전자 장치(110)는 기호 조합 테이블 유지부(111), 표현 해석 이벤트 발생부(112), 확인부(113) 및 표시부(114)를 포함한다.Referring to FIG. 1 , the electronic device 110 according to an embodiment of the present invention includes a symbol combination table maintenance unit 111 , an expression interpretation event generation unit 112 , a confirmation unit 113 , and a display unit 114 . do.

기호 조합 테이블 유지부(111)는 하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지한다.The symbol combination table holding unit 111 stores a plurality of different symbol combinations composed of a combination of one or more symbols, and a symbol combination table in which preset interpretation information for the expression meaning each of the plurality of symbol combinations is recorded. Save and keep

예컨대, 기호 조합 테이블 유지부(111)는 하기의 표 1과 같이 기호 조합 테이블을 저장하여 유지하고 있을 수 있다.For example, the symbol combination table holding unit 111 may store and maintain the symbol combination table as shown in Table 1 below.

복수의 기호 조합들multiple symbol combinations 표현에 대한 해석 정보Interpretation information for expressions e(' 'e)e(' 'e) 권투선수boxer o(^^o) (o^^)oo(^^o) (o^^)o 토닥토닥pat pat o(-' '-)oo(-' '-)o 두 주먹 불끈two fists (>_<)(>_<) 신체상태 나쁨poor physical condition ...... ......

표현 해석 이벤트 발생부(112)는 전자 장치(110)의 사용자에 의해 전자 장치(110)에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말(130)로부터 채팅 메시지가 수신될 때마다, 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시킨다.Expression interpretation event generating unit 112 is a chatting message from the terminal 130 of the chatting counterpart when the chatting function is executed as the chatting application installed in the electronic device 110 is executed by the user of the electronic device 110 . Whenever is received, an expression interpretation event for interpreting the expression for the chatting message received from the terminal 130 of the chatting counterpart is generated.

확인부(113)는 상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인한다.When the expression interpretation event occurs, the confirmation unit 113 refers to the symbol combination table, and among the plurality of symbol combinations, there is a symbol combination included in the chatting message received from the chatting counterpart's terminal 130 . check whether or not

표시부(114)는 상기 복수의 기호 조합들 중 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 전자 장치(110)의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시한다.The display unit 114 is a symbol combination included in the chatting message received from the terminal 130 of the chatting counterpart among the plurality of symbol combinations, and when it is confirmed that at least one first symbol combination exists, the symbol combination table After extracting interpretation information for each of the at least one first symbol combination from Analysis information for each one of the first symbol combinations is added and displayed.

이하에서는, 도 1과 도 2를 참조하여, 표현 해석 이벤트 발생부(112), 확인부(113) 및 표시부(114)의 동작을 예를 들어, 상세히 설명하기로 한다.Hereinafter, with reference to FIGS. 1 and 2 , the operations of the expression analysis event generating unit 112 , the confirming unit 113 , and the display unit 114 will be described in detail, for example.

먼저, 전자 장치(110)의 사용자에 의해 전자 장치(110)에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 표현 해석 이벤트 발생부(112)는 채팅 상대방의 단말(130)로부터 채팅 메시지가 수신될 때마다, 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시킬 수 있다.First, as the chatting application installed in the electronic device 110 is executed by the user of the electronic device 110 and the chatting function is executed, the expression interpretation event generating unit 112 is sent from the terminal 130 of the chatting counterpart. Whenever a chatting message is received, an expression interpretation event for interpreting the expression for the chatting message received from the terminal 130 of the chatting counterpart may be generated.

만약, 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지가 도 2에 도시된 그림에서 도면부호 220과 같다고 하고, 표현 해석 이벤트 발생부(112)에 의해 상기 표현 해석 이벤트가 발생되었다고 하는 경우, 확인부(113)는 상기 표 1과 같은 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 중, 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지(220) 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인할 수 있다.If it is assumed that the chatting message received from the terminal 130 of the chatting counterpart is the same as 220 in the figure shown in FIG. 2 and the expression interpretation event is generated by the expression interpretation event generating unit 112, check The unit 113 refers to the symbol combination table as shown in Table 1, and the plurality of symbol combinations 'e(' 'e), o(^^o) (o^^)o, o(-' '-) )o, (>_<), ...', it can be checked whether a symbol combination included in the chatting message 220 received from the chatting counterpart's terminal 130 exists.

이때, 상기 표 1과 같은 기호 조합 테이블에서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 중 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지(220) 내에 포함되어 있는 기호 조합으로, 'e(' 'e)'가 존재하기 때문에, 표시부(114)는 상기 표 1과 같은 기호 조합 테이블로부터 'e(' 'e)'에 대한 해석 정보인 '권투선수'를 추출할 수 있다.At this time, in the symbol combination table as shown in Table 1, 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ... Since 'e(' 'e)' exists as a symbol combination included in the chat message 220 received from the terminal 130 of the chatting counterpart, the display unit 114 displays the symbol combination as shown in Table 1 above. It is possible to extract 'boxer', which is interpretation information for 'e(' 'e)' from the table.

그 이후, 표시부(114)는 전자 장치(110)의 화면(210) 상에 표시되고 있는 채팅 메시지 내에서, 'e(' 'e)'의 인접 지점(221)에 'e(' 'e)'에 대한 해석 정보인 '권투선수'를 부가하여 표시할 수 있다.After that, in the chat message being displayed on the screen 210 of the electronic device 110 , the display unit 114 displays 'e(' 'e)' at an adjacent point 221 of 'e(' 'e)'. It can be displayed by adding 'boxer', which is interpretation information for '.

이를 통해, 상기 사용자는 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지(220) 내에 포함되어 있는 기호 조합의 의미를 보다 손쉽게 해석할 수 있다.Through this, the user can more easily interpret the meaning of the symbol combination included in the chatting message 220 received from the terminal 130 of the chatting counterpart.

본 발명의 일실시예에 따르면, 전자 장치(110)는 감정 항목 테이블 유지부(115), 점수 테이블 유지부(116), 감정 분석 이벤트 발생부(117), 기호 조합 추출부(118), 점수 확인부(119), 감정 지수 연산부(120) 및 감정 상태 안내부(121)를 더 포함할 수 있다.According to an embodiment of the present invention, the electronic device 110 includes an emotion item table maintaining unit 115 , a score table maintaining unit 116 , an emotion analysis event generating unit 117 , a symbol combination extracting unit 118 , and a score. It may further include a confirmation unit 119 , an emotion index calculation unit 120 , and an emotional state guide unit 121 .

감정 항목 테이블 유지부(115)는 사전 설정된 서로 다른 k(k는 2이상의 자연수)개의 감정 항목들에 대한 정보가 기록되어 있는 감정 항목 테이블을 저장하여 유지한다.The emotion item table maintaining unit 115 stores and maintains an emotion item table in which information about k (k is a natural number equal to or greater than 2) preset different emotion items is recorded.

예컨대, 'k=4'라고 하고, 4개의 감정 항목들이 존재한다고 하는 경우, 감정 항목 테이블 유지부(115)는 하기의 표 2와 같이 감정 항목 테이블을 저장하여 유지하고 있을 수 있다.For example, when 'k=4' and there are four emotion items, the emotion item table maintaining unit 115 may store and maintain the emotion item table as shown in Table 2 below.

4개의 감정 항목들에 대한 정보Information on the 4 emotion items 당황Embarrassment 슬픔sadness 기쁨pleasure 화남aggro

점수 테이블 유지부(116)는 상기 복수의 기호 조합들과 상기 복수의 기호 조합들 각각의 상기 k개의 감정 항목들 각각에 대한 사전 설정된 점수가 기록되어 있는 점수 테이블을 저장하여 유지한다.The score table maintaining unit 116 stores and maintains a score table in which preset scores for each of the k emotion items of the plurality of preference combinations and each of the plurality of preference combinations are recorded.

예컨대, 점수 테이블 유지부(116)는 하기의 표 3과 같이 점수 테이블을 저장하여 유지하고 있을 수 있다.For example, the score table maintaining unit 116 may store and maintain the score table as shown in Table 3 below.

복수의 기호 조합들multiple symbol combinations 4개의 감정 항목들 각각에 대한 점수Score for each of the 4 emotion items 당황Embarrassment 슬픔sadness 기쁨pleasure 화남aggro e(' 'e)e(' 'e) 40점40 points 10점10 points 45점45 points 15점15 points o(^^o) (o^^)oo(^^o) (o^^)o 10점10 points 5점5 points 65점65 points 5점5 points o(-' '-)oo(-' '-)o 15점15 points 20점20 points 5점5 points 70점70 points (>_<)(>_<) 70점70 points 10점10 points 30점30 points 40점40 points ...... ...... ...... ...... ......

감정 분석 이벤트 발생부(117)는 채팅 상대방의 단말(130)로부터 수신되는 채팅 메시지가 n(n은 2이상의 자연수)개가 될 때마다, 채팅 상대방의 단말(130)로부터 수신된 n개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시킨다.The emotion analysis event generator 117 receives n chatting messages from the chatting counterpart's terminal 130 whenever the number of chatting messages received from the chatting counterpart's terminal 130 is n (n is a natural number greater than or equal to 2). Generates an emotion analysis event to analyze the emotion for

기호 조합 추출부(118)는 상기 감정 분석 이벤트가 발생되면, 상기 점수 테이블을 참조하여, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합을 추출한다.When the emotion analysis event occurs, the symbol combination extraction unit 118 extracts a symbol combination included in the plurality of symbol combinations from the n chat messages with reference to the score table.

점수 확인부(119)는 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합으로 t(t는 자연수)개의 기호 조합들이 추출되면, 상기 점수 테이블로부터 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 확인한다.When t (t is a natural number) symbol combinations are extracted from the n chat messages as a symbol combination included in the plurality of symbol combinations, the score check unit 119 selects the t symbol combinations from the score table. Check the score for each of the k emotion items.

예컨대, 'n=13'이라고 하고, 't=4'라고 가정하자. 이때, 감정 분석 이벤트 발생부(117)는 채팅 상대방의 단말(130)로부터 수신되는 채팅 메시지가 13개가 될 때마다, 채팅 상대방의 단말(130)로부터 수신된 13개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시킬 수 있다.For example, suppose 'n=13' and 't=4'. At this time, the emotion analysis event generating unit 117 analyzes emotions for the 13 chatting messages received from the terminal 130 of the chatting counterpart whenever there are 13 chatting messages received from the terminal 130 of the chatting counterpart. It is possible to generate an emotion analysis event for

이렇게, 감정 분석 이벤트 발생부(117)에 의해 상기 감정 분석 이벤트가 발생되면, 기호 조합 추출부(118)는 상기 표 3과 같은 점수 테이블을 참조하여, 상기 13개의 채팅 메시지들로부터 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 중에 포함되는 기호 조합을 추출할 수 있다.In this way, when the emotion analysis event is generated by the emotion analysis event generating unit 117, the symbol combination extraction unit 118 refers to the score table as shown in Table 3, and retrieves the plurality of symbols from the 13 chat messages. To extract the symbol combinations included among the combinations 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' can

만약, 기호 조합 추출부(118)에 의해 상기 13개의 채팅 메시지들로부터 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 중에 포함되는 기호 조합으로 4개의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'가 추출되었다고 하는 경우, 점수 확인부(119)는 상기 표 3과 같은 점수 테이블로부터 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 상기 4개의 감정 항목들인 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수를 확인할 수 있다.If, by the symbol combination extraction unit 118, the plurality of symbol combinations 'e(' 'e), o(^^o) (o^^)o, o(-' ') from the 13 chat messages -)o, (>_<), ...' is a combination of four symbols, 'e(' 'e), o(^^o) (o^^)o, o(-' When it is assumed that '-)o, (>_<)' is extracted, the score check unit 119 receives 'e(' 'e), o(^^o) (o^^) from the score table as shown in Table 3 above. )o, o(-', '-)o, (>_<)', each of the four emotional items, 'embarrassed, sad, joyous, angry', can be checked.

즉, 점수 확인부(119)는 'e(' 'e)'에 대해 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수로 '40점, 10점, 45점, 15점'을 확인할 수 있고, 'o(^^o) (o^^)o'에 대해 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수로 '10점, 5점, 65점, 5점'을 확인할 수 있으며, 'o(-' '-)o,'에 대해 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수로 '15점, 20점, 5점, 70점'을 확인할 수 있고, '(>_<)'에 대해 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수로 '70점, 10점, 30점, 40점'을 확인할 수 있다.That is, the score check unit 119 may check '40 points, 10 points, 45 points, and 15 points' as scores for each of 'embarrassed, sad, happy, angry' for 'e(' 'e)', , for 'o(^^o) (o^^)o', '10 points, 5 points, 65 points, and 5 points' can be checked as scores for each of 'embarrassed, sad, happy, angry'. For o(-' '-)o,', '15 points, 20 points, 5 points, and 70 points' can be checked as scores for each of 'embarrassed, sad, happy, angry', and '(>_<) ', you can check '70 points, 10 points, 30 points, and 40 points' as scores for each of 'embarrassed, sad, happy, angry'.

감정 지수 연산부(120)는 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 기초로 상기 k개의 감정 항목들 각각에 대한 감정 지수를 연산한다.The emotion index calculator 120 calculates the emotion index for each of the k emotion items based on the score for each of the k emotion items of the t symbol combinations.

이때, 본 발명의 일실시예에 따르면, 감정 지수 연산부(120)는 감정 벡터 생성부(122) 및 연산부(123)를 포함할 수 있다.In this case, according to an embodiment of the present invention, the emotion index calculator 120 may include an emotion vector generator 122 and a calculator 123 .

감정 벡터 생성부(122)는 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수를 성분으로 갖는 t차원의 벡터를 구성함으로써, 상기 k개의 감정 항목들 각각에 대응되는 t차원의 감정 벡터를 생성한다.The emotion vector generator 122 constructs, for each of the k emotion items, a t-dimensional vector having, as a component, a score for each emotion item of the t symbol combinations, so as to correspond to each of the k emotion items. Create a t-dimensional emotion vector.

연산부(123)는 상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름(Euclidean Norm)을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산한다.The calculating unit 123 calculates an Euclidean norm of an emotion vector corresponding to each of the k emotion items as an emotion index corresponding to each of the k emotion items.

여기서, 유클리드 노름이란 벡터나 행렬의 크기를 나타내기 위한 L2 노름으로, 하기의 수학식 1에 따라 연산될 수 있다.Here, the Euclidean norm is an L2 norm for indicating the size of a vector or matrix, and may be calculated according to Equation 1 below.

Figure pat00001
Figure pat00001

상기 수학식 1에서

Figure pat00002
는 유클리드 노름을 의미하고, xi는 벡터나 행렬에 포함되어 있는 i번째 성분을 의미한다.In Equation 1 above
Figure pat00002
denotes the Euclidean norm, and x i denotes the i-th component included in a vector or matrix.

예컨대, 전술한 예와 같이, 점수 확인부(119)에 의해 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 상기 4개의 감정 항목들인 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수가 '40점, 10점, 45점, 15점', '10점, 5점, 65점, 5점', '15점, 20점, 5점, 70점', '70점, 10점, 30점, 40점'으로 확인되었다고 가정하자.For example, as in the above example, 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_< )', the score for each of the four emotional items, 'embarrassed, sad, happy, angry', is '40 points, 10 points, 45 points, 15 points', '10 points, 5 points, 65 points, 5 points'. , '15 points, 20 points, 5 points, 70 points', '70 points, 10 points, 30 points, 40 points'.

이때, 감정 벡터 생성부(122)는 '당황, 슬픔, 기쁨, 화남' 각각에 대해, 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수를 성분으로 갖는 4차원의 벡터를 구성함으로써, '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 4차원의 감정 벡터를 생성할 수 있다.At this time, the emotion vector generating unit 122 for each of 'embarrassed, sad, joyous, angry', 'e(' 'e), o(^^o) (o^^)o, o(-' '-) By constructing a four-dimensional vector having scores for each emotion item of )o, (>_<)' as a component, a four-dimensional emotion vector corresponding to each of 'embarrassed, sad, joyous, angry' can be generated.

이와 관련해서, '당황'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '40(점), 10(점), 15(점), 70(점)'이므로, 감정 벡터 생성부(122)는 '당황'에 대한 4차원의 감정 벡터로 '[40 10 15 70]'을 생성할 수 있다. 그리고, '슬픔'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '10(점), 5(점), 20(점), 10(점)'이므로, 감정 벡터 생성부(122)는 '슬픔'에 대한 4차원의 감정 벡터로 '[10 5 20 10]'을 생성할 수 있다. 그리고, '기쁨'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '45(점), 65(점), 5(점), 30(점)'이므로, 감정 벡터 생성부(122)는 '기쁨'에 대한 4차원의 감정 벡터로 '[45 65 5 30]'을 생성할 수 있다. 마지막으로, '화남'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '15(점), 5(점), 70(점), 40(점)'이므로, 감정 벡터 생성부(122)는 '화남'에 대한 4차원의 감정 벡터로 '[15 5 70 40]'을 생성할 수 있다.In this regard, for 'embarrassed', the scores for each emotion item were 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'. Since is '40 (point), 10 (point), 15 (point), 70 (point)', the emotion vector generator 122 converts '[40 10 15 70] ' can be created. And, for 'sadness', the score for each emotion item of 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' was ' Since 10 (point), 5 (point), 20 (point), 10 (point)', the emotion vector generator 122 converts '[10 5 20 10]' as a four-dimensional emotion vector for 'sadness'. can create And, for 'joy', the score for each emotion item of 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' was ' Since 45 (points), 65 (points), 5 (points), 30 (points)', the emotion vector generator 122 sets '[45 65 5 30]' as a four-dimensional emotion vector for 'joy'. can create Finally, for 'Angry Man', the score for each emotion item was 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'. Since '15 (points), 5 (points), 70 (points), 40 (points)', the emotion vector generator 122 converts '[15 5 70 40]' into a four-dimensional emotion vector for 'angry'. can create

이렇게, '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 감정 벡터가 생성되면, 연산부(123)는 '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 감정 벡터인 '[40 10 15 70], [10 5 20 10], [45 65 5 30], [15 5 70 40]'의 유클리드 노름을 상기 수학식 1에 따라 '82.61, 25, 84.7, 82.15'와 같이 연산할 수 있다.In this way, when an emotion vector corresponding to each of 'embarrassed, sad, joyous, angry' is generated, the operation unit 123 is an emotion vector corresponding to each of 'embarrassed, sad, joyous, angry' [40 10 15 70], The Euclidean norm of [10 5 20 10], [45 65 5 30], and [15 5 70 40]' can be calculated as '82.61, 25, 84.7, 82.15' according to Equation 1 above.

그 이후, 연산부(123)는 '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 유클리드 노름인 '82.61, 25, 84.7, 82.15'를 '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 감정 지수로 연산할 수 있다.After that, the calculating unit 123 converts the Euclidean norms '82.61, 25, 84.7, 82.15' corresponding to each of 'embarrassed, sad, happy, angry' to the emotional index corresponding to each of 'embarrassed, sad, happy, angry'. can be calculated.

감정 상태 안내부(121)는 상기 k개의 감정 항목들 중 상기 감정 지수가 최대인 제1 감정 항목을 선택한 후, 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시한다.The emotional state guide unit 121 selects the first emotion item having the maximum emotional index among the k emotion items, and then guides the chatting partner that the current emotional state is the emotional state according to the first emotion item. Display a message on the screen.

관련해서, 전술한 실시예에 따라 감정 상태 안내부(121)의 동작을 설명하면, '당황, 슬픔, 기쁨, 화남' 중 상기 감정 지수가 최대인 감정 항목은 '기쁨'이기 때문에 감정 상태 안내부(121)는 '기쁨'이라는 감정 항목을 제1 감정 항목으로 선택할 수 있다.In relation to the description of the operation of the emotional state guide 121 according to the above-described embodiment, since the emotion item having the highest emotional index among 'embarrassed, sad, happy, angry' is 'joy', the emotional state guide Reference numeral 121 may select an emotion item of 'joy' as the first emotion item.

그러고 나서, 감정 상태 안내부(121)는 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목인 '기쁨'에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시할 수 있다.Then, the emotional state guide unit 121 may display a guide message guiding that the current emotional state of the chatting partner is an emotional state according to the first emotional item 'joy' on the screen.

이를 통해, 전자 장치(110)의 사용자는 상기 채팅 상대방의 현재 감정 상태를 안내하는 안내 메시지를 확인한 후 상기 안내 메시지를 통해 확인되는 상기 채팅 상대방의 현재 감정 상태에 따른 적절한 채팅을 수행함으로써, 상기 채팅 상대방과의 원활한 의사소통을 이어나갈 수 있다.Through this, the user of the electronic device 110 checks a guide message for guiding the current emotional state of the chatting counterpart and then performs an appropriate chat according to the current emotional state of the chatting counterpart confirmed through the guide message, thereby performing the chatting. You can continue to communicate smoothly with the other party.

본 발명의 일실시예에 따르면, 전자 장치(110)는 평균 점수 값 생성부(124), 평균 점수 벡터 생성부(125), 점수 벡터 생성부(126), 유클리드 거리 연산부(127) 및 추천 기호 조합 표시부(128)를 더 포함할 수 있다.According to an embodiment of the present invention, the electronic device 110 includes an average score value generator 124 , an average score vector generator 125 , a score vector generator 126 , a Euclidean distance calculator 127 , and a recommendation symbol. It may further include a combination display unit (128).

평균 점수 값 생성부(124)는 감정 상태 안내부(121)에 의해 상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성한다.After the guide message is displayed on the screen by the emotional state guide unit 121, the average score value generating unit 124 is the average of the scores for each emotion item of the t symbol combinations for each of the k emotion items. By calculating , an average score value corresponding to each of the k emotion items is generated.

평균 점수 벡터 생성부(125)는 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 성분으로 갖는 k차원의 평균 점수 벡터를 생성한다.The average score vector generator 125 generates a k-dimensional average score vector having, as a component, an average score value corresponding to each of the k emotion items.

점수 벡터 생성부(126)는 상기 점수 테이블을 참조하여, 상기 복수의 기호 조합들 각각에 대해, 각 기호 조합의 상기 k개의 감정 항목들 각각에 대한 점수를 성분으로 갖는 k차원의 벡터를 구성함으로써, 상기 복수의 기호 조합들 각각에 대응되는 k차원의 점수 벡터를 생성한다.The score vector generating unit 126 refers to the score table, and for each of the plurality of symbol combinations, by constructing a k-dimensional vector having the score for each of the k emotion items of each symbol combination as a component. , to generate a k-dimensional score vector corresponding to each of the plurality of symbol combinations.

유클리드 거리 연산부(127)는 상기 평균 점수 벡터와, 상기 복수의 기호 조합들 각각에 대응되는 점수 벡터 간의 유클리드 거리(Euclidean Distance)를 연산한다.The Euclidean distance calculator 127 calculates a Euclidean distance between the average score vector and a score vector corresponding to each of the plurality of symbol combinations.

여기서, 유클리드 거리란 두 개의 벡터가 존재한다고 하였을 때, 두 벡터 간의 거리를 의미하는 것으로 하기의 수학식 2에 따라 연산될 수 있다.Here, the Euclidean distance means a distance between two vectors when two vectors exist, and may be calculated according to Equation 2 below.

Figure pat00003
Figure pat00003

상기 수학식 2에서 D는 유클리드 거리, Ai와 Bi는 두 벡터에 포함되어 있는 i번째 성분들을 의미한다. 보통, 두 벡터 간의 유클리드 거리가 작을수록 두 벡터는 유사한 벡터라고 볼 수 있고, 두 벡터 간의 유클리드 거리가 클수록 두 벡터는 비유사한 벡터라고 볼 수 있다.In Equation 2, D denotes a Euclidean distance, and A i and B i denote i-th components included in the two vectors. In general, the smaller the Euclidean distance between two vectors is, the more similar the two vectors are.

추천 기호 조합 표시부(128)는 상기 복수의 기호 조합들 중 상기 유클리드 거리가 작은 순서대로 p(p는 2이상의 자연수)개의 기호 조합들을 선택하여 상기 p개의 기호 조합들을 목록으로 구성한 후, 상기 목록을 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 화면 상에 표시한다.The recommended symbol combination display unit 128 selects p (p is a natural number greater than or equal to 2) symbol combinations in the order of the smallest Euclidean distance from among the plurality of symbol combinations, configures the p symbol combinations into a list, and displays the list. It is displayed on the screen as information about the recommended symbol combination to be input in the chat message.

예컨대, 전술한 예와 같이, 감정 상태 안내부(121)에 의해 상기 안내 메시지가 화면 상에 표시되었다고 하는 경우, 평균 점수 값 생성부(124)는 '당황, 슬픔, 기쁨, 화남' 각각에 대해, 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수의 평균을 연산함으로써, '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 평균 점수 값을 생성할 수 있다.For example, as in the above example, when it is said that the guide message is displayed on the screen by the emotional state guide unit 121, the average point value generation unit 124 responds to each of 'embarrassed, sad, joyous, and angry'. , 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' , sadness, joy, and anger' can generate an average score value corresponding to each.

이와 관련해서, '당황'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '40(점), 10(점), 15(점), 70(점)'이므로, 평균 점수 값 생성부(124)는 '당황'에 대한 평균 점수 값으로 '33.75'를 생성할 수 있다. 그리고, '슬픔'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '10(점), 5(점), 20(점), 10(점)'이므로, 평균 점수 값 생성부(124)는 '슬픔'에 대한 평균 점수 값으로 '11.25'를 생성할 수 있다. 그리고, '기쁨'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '45(점), 65(점), 5(점), 30(점)'이므로, 평균 점수 값 생성부(124)는 '기쁨'에 대한 평균 점수 값으로 '36.25'를 생성할 수 있다. 마지막으로, '화남'에 대해서는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'의 감정 항목별 점수가 '15(점), 5(점), 70(점), 40(점)'이므로, 평균 점수 값 생성부(124)는 '화남'에 대한 평균 점수 값으로 '32.5'를 생성할 수 있다.In this regard, for 'embarrassed', the scores for each emotion item were 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'. Since is '40 (points), 10 (points), 15 (points), and 70 (points)', the average score generator 124 may generate '33.75' as the average score value for 'embarrassed'. . And, for 'sadness', the score for each emotion item of 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' was ' Since 10 (points), 5 (points), 20 (points), and 10 (points)', the average score generator 124 may generate '11.25' as the average score value for 'sadness'. And, for 'joy', the score for each emotion item of 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' was ' 45 (points), 65 (points), 5 (points), and 30 (points)', the average point value generator 124 may generate '36.25' as the average score value for 'joy'. Finally, for 'Angry Man', the score for each emotion item was 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)'. Since '15 (points), 5 (points), 70 (points), 40 (points)', the average point value generating unit 124 may generate '32.5' as the average score value for 'angry man'.

이렇게, '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 평균 점수 값이 생성되면, 평균 점수 벡터 생성부(125)는 '당황, 슬픔, 기쁨, 화남' 각각에 대응되는 평균 점수 값인 '33.75, 11.25, 36.25, 32.5'를 성분으로 갖는 4차원의 평균 점수 벡터로 '[33.75 11.25 36.25 32.5]'를 생성할 수 있다.In this way, when an average score value corresponding to each of 'embarrassed, sad, happy, angry' is generated, the average score vector generating unit 125 generates an average score value of '33.75, '[33.75 11.25 36.25 32.5]' can be generated as a four-dimensional average score vector having 11.25, 36.25, 32.5' as components.

그 이후, 점수 벡터 생성부(126)는 상기 표 3과 같은 점수 테이블을 참조하여, 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 각각에 대해, 각 기호 조합의 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수를 성분으로 갖는 4차원의 벡터를 구성함으로써, 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 각각에 대응되는 4차원의 점수 벡터를 생성할 수 있다.Thereafter, the score vector generator 126 refers to the score table as shown in Table 3, and the plurality of symbol combinations 'e(' 'e), o(^^o) (o^^)o, o For each of (-' '-)o, (>_<), ...', by constructing a four-dimensional vector with a score for each 'embarrassed, sad, joyous, angry' of each symbol combination as a component , 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 4D score vector corresponding to each can create

이와 관련해서, 'e(' 'e)'에 대해서는 '당황, 슬픔, 기쁨, 화남' 각각에 대한 점수가 '40(점), 10(점), 45(점), 15(점)'이므로, 점수 벡터 생성부(126)는 'e(' 'e)'에 대한 4차원의 점수 벡터로 '[40 10 45 15]'를 생성할 수 있다. 이러한 방식으로, 점수 벡터 생성부(126)는 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 각각에 대응되는 4차원의 점수 벡터로 '[40 10 45 15], [10 5 65 5], [15 20 5 70], [70 10 30 40], ...'을 생성할 수 있다.In this regard, for 'e(' 'e)', the scores for 'embarrassed, sad, joyous, angry' are '40 (points), 10 (points), 45 (points), 15 (points)'. , the score vector generator 126 may generate '[40 10 45 15]' as a four-dimensional score vector for 'e(' 'e)'. In this way, the score vector generator 126 generates 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), .. '[40 10 45 15], [10 5 65 5], [15 20 5 70], [70 10 30 40], ...' can be generated as a four-dimensional score vector corresponding to each .' .

그러고 나서, 유클리드 거리 연산부(127)는 상기 평균 점수 벡터인 '[33.75 11.25 36.25 32.5]'와, 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 각각에 대응되는 점수 벡터인 '[40 10 45 15], [10 5 65 5], [15 20 5 70], [70 10 30 40], ...' 간의 유클리드 거리를 상기 수학식 2에 따라 'D1, D2, D3, D4, ...'과 같이 연산할 수 있다.Then, the Euclidean distance calculator 127 calculates the average score vector '[33.75 11.25 36.25 32.5]' and the plurality of symbol combinations 'e(''e), o(^^o) (o^^) '[40 10 45 15], [10 5 65 5], [15 20 5 70], the score vector corresponding to o, o(-''-)o,(>_<),...' The Euclidean distance between [70 10 30 40], ...' can be calculated as 'D 1 , D 2 , D 3 , D 4 , ...' according to Equation 2 above.

이렇게, 유클리드 거리 연산부(127)에 의해 상기 평균 점수 벡터인 '[33.75 11.25 36.25 32.5]'와, 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 각각에 대응되는 점수 벡터인 '[40 10 45 15], [10 5 65 5], [15 20 5 70], [70 10 30 40], ...' 간의 유클리드 거리가 'D1, D2, D3, D4, ...'과 같이 연산되면, 추천 기호 조합 표시부(128)는 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 중 상기 유클리드 거리가 작은 순서대로 p개의 기호 조합들을 선택할 수 있다.In this way, by the Euclidean distance calculating unit 127, the average score vector '[33.75 11.25 36.25 32.5]' and the plurality of symbol combinations 'e(''e), o(^^o) (o^^) '[40 10 45 15], [10 5 65 5], [15 20 5 70], the score vector corresponding to o, o(-''-)o,(>_<),...' When the Euclidean distance between [70 10 30 40], ...' is calculated as 'D 1 , D 2 , D 3 , D 4 , ...', the recommended symbol combination display unit 128 displays the plurality of symbol combinations Among the 'e(''e), o(^^o) (o^^)o, o(-''-)o,(>_<),...', p in the order of the smallest Euclidean distance You can choose between two symbol combinations.

만약, 상기 p를 '3'이라고 하고, 상기 유클리드 거리 중 'D1, D4, D2, D3, ...' 순서대로 유클리드 거리가 작다고 가정하는 경우, 추천 기호 조합 표시부(128)는 상기 복수의 기호 조합들인 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 중 3개의 기호 조합들로 'e(' 'e), (>_<), o(^^o) (o^^)o'를 선택할 수 있다.If p is '3' and it is assumed that the Euclidean distances are small in the order of 'D 1 , D 4 , D 2 , D 3 , ...' among the Euclidean distances, the recommended symbol combination display unit 128 is Three of the symbol combinations 'e(''e), o(^^o) (o^^)o, o(-''-)o,(>_<),...' Combinations 'e(''e),(>_<), o(^^o) (o^^)o' can be selected.

그 이후, 추천 기호 조합 표시부(128)는 상기 3개의 기호 조합들인 'e(' 'e), (>_<), o(^^o) (o^^)o'를 목록으로 구성하여 상기 목록을 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 화면 상에 표시할 수 있다.After that, the recommended symbol combination display unit 128 configures the three symbol combinations 'e(' 'e), (>_<), o(^^o) (o^^)o' in a list, A list can be displayed on the screen with information about the suggested combination of symbols to be entered in the chat message.

이를 통해, 사용자는 상기 목록에 표시된 추천 기호 조합들 중 어느 하나의 기호 조합을 채팅 메시지에 삽입하여 채팅 상대방에게 전송함으로써, 채팅 상대방의 현재 감정 상태에 대응하는 감정 표현을 할 수 있다.Through this, the user can express an emotion corresponding to the current emotional state of the chatting counterpart by inserting any one symbol combination among the recommended symbol combinations displayed on the list into the chatting message and transmitting the same to the chatting counterpart.

이때, 본 발명의 일실시예에 따르면, 추천 기호 조합 표시부(128)는 상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시할 수 있다.At this time, according to an embodiment of the present invention, when the list is configured, the recommended symbol combination display unit 128 displays a first score for the first emotion item among the p symbol combinations included in the list. After selecting a symbol combination, the font format of the first symbol combination in the list is first applied as a preset emphasis format to indicate that it is a recommended symbol combination, and the font format of the remaining symbol combinations is applied as a preset basic format, The list in which the font format has been applied may be displayed on the screen.

예컨대, 전술한 예와 같이, 감정 상태 안내부(121)에 의해 상기 채팅 상대방의 현재 감정 상태로 확인된 상기 제1 감정 항목이 기쁨'이라고 하고, 추천 기호 조합 표시부(128)에 의해 상기 목록이 상기 3개의 기호 조합들인 'e(' 'e), (>_<), o(^^o) (o^^)o'로 구성되었다고 하는 경우, 추천 기호 조합 표시부(128)는 상기 목록에 포함된 상기 3개의 기호 조합들인 'e(' 'e), (>_<), o(^^o) (o^^)o' 중 상기 제1 감정 항목인 '기쁨'에 대한 점수가 최대인 제1 기호 조합을 선정할 수 있다.For example, as in the above example, the first emotional item confirmed as the current emotional state of the chatting partner by the emotional state guide unit 121 is 'joy', and the list is displayed by the recommended symbol combination display unit 128 . When it is said that the three symbol combinations 'e(' 'e), (>_<), o(^^o) (o^^)o' are configured, the recommended symbol combination display unit 128 is displayed in the list. Among the included three symbol combinations 'e(' 'e), (>_<), o(^^o) (o^^)o', the score for the first emotion item 'joy' is the highest. A first symbol combination may be selected.

관련해서, 'e(' 'e)'에 대해서는 '기쁨'에 대한 점수가 '45점'이고, '(>_<)'에 대해서는 '기쁨'에 대한 점수가 '30점'이며, 'o(^^o) (o^^)o'에 대해서는 '기쁨'에 대한 점수가 '65점'이므로, 추천 기호 조합 표시부(128)는 'e(' 'e), (>_<), o(^^o) (o^^)o' 중 '기쁨'에 대한 점수가 최대인 제1 기호 조합으로 'o(^^o) (o^^)o'을 선정할 수 있다.Regarding 'e(' 'e)', the score for 'joy' is '45', and for '(>_<)', the score for 'joy' is '30', and 'o For (^^o) (o^^)o', since the score for 'joy' is '65 points', the recommended symbol combination display unit 128 displays 'e(' 'e), (>_<), o 'o(^^o) (o^^)o' may be selected as the first symbol combination with the highest score for 'joy' among '(^^o) (o^^)o'.

그 이후, 추천 기호 조합 표시부(128)는 상기 목록에서 상기 제1 기호 조합인 'o(^^o) (o^^)o'의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용할 수 있다.After that, the recommended symbol combination display unit 128 sets the font format of 'o(^^o) (o^^)o', which is the first symbol combination in the list, a preset emphasis for indicating that it is a symbol combination to be recommended first. It can be applied as a form.

이때, 상기 강조 서식을 '진하게'라고 가정하면, 추천 기호 조합 표시부(128)는 상기 목록에서 상기 제1 기호 조합인 'o(^^o) (o^^)o'의 글꼴 서식을 상기 강조 서식인 '진하게'로 적용할 수 있다.At this time, assuming that the emphasis style is 'bold', the recommended symbol combination display unit 128 emphasizes the font style of 'o(^^o) (o^^)o', which is the first symbol combination in the list. It can be applied with the format 'Dark'.

그러고 나서, 추천 기호 조합 표시부(128)는 나머지 기호 조합들인 'e(' 'e), (>_<)'의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시할 수 있다.Then, the recommended symbol combination display unit 128 applies the font format of the remaining symbol combinations 'e(' 'e), (>_<)' as a preset basic format, and then displays the list in which the font format application is completed. can be displayed on the

즉, 본 발명에 따른 전자 장치(110)는 사용자에게 추천할 p개의 기호 조합들이 포함된 상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합에 대해서는 사전 설정된 소정의 강조 서식을 적용하고, 나머지 기호 조합들에 대해서는 사전 설정된 소정의 기본 서식을 적용하여 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시해줌으로써, 전자 장치(110)의 사용자가 추천 기호 조합들로 구성된 상기 목록으로부터 상기 제1 감정 항목에 대한 점수가 가장 큰 기호 조합을 빠르게 확인할 수 있도록 지원할 수 있다.That is, in the electronic device 110 according to the present invention, when the list including p symbol combinations to be recommended to the user is configured, the score for the first emotion item among the p symbol combinations included in the list is obtained. By applying a preset emphasis format to the maximum first symbol combination and applying a preset basic format to the remaining symbol combinations, the list in which the font format has been applied is displayed on the screen, so that the electronic device It can be supported so that the user of 110 can quickly identify the symbol combination having the highest score for the first emotion item from the list consisting of the recommended symbol combinations.

도 3은 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법을 도시한 순서도이다.3 is a flowchart illustrating an operation method of an electronic device that provides a chat function based on expression interpretation according to an embodiment of the present invention.

단계(S310)에서는 하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지한다.In step S310, a plurality of different symbol combinations composed of a combination of one or more symbols and a symbol combination table in which preset interpretation information for the expression meaning each of the plurality of symbol combinations are recorded is stored and maintained. .

단계(S320)에서는 상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시킨다.In step S320, as the chatting application installed in the electronic device is executed by the user of the electronic device, when the chatting function is executed, whenever a chatting message is received from the chatting counterpart's terminal, the chatting counterpart's terminal An expression interpretation event is generated to interpret the expression for the chat message received from

단계(S330)에서는 상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인한다.In step S330, when the expression interpretation event occurs, it is determined whether a symbol combination included in the chatting message received from the chatting counterpart's terminal exists among the plurality of symbol combinations by referring to the symbol combination table. Check it.

단계(S340)에서는 상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시한다.In step S340, if it is confirmed that at least one first symbol combination exists as a symbol combination included in the chatting message received from the terminal of the chatting counterpart among the plurality of symbol combinations, the symbol combination table is retrieved from the symbol combination table. After extracting interpretation information for each of the at least one first symbol combination, in the chatting message being displayed on the screen of the electronic device, the at least one first symbol combination is located adjacent to each of the at least one first symbol combination. The interpretation information for each symbol combination is added and displayed.

이때, 본 발명의 일실시예에 따르면, 상기 전자 장치의 동작 방법은 사전 설정된 서로 다른 k(k는 2이상의 자연수)개의 감정 항목들에 대한 정보가 기록되어 있는 감정 항목 테이블을 저장하여 유지하는 단계, 상기 복수의 기호 조합들과 상기 복수의 기호 조합들 각각의 상기 k개의 감정 항목들 각각에 대한 사전 설정된 점수가 기록되어 있는 점수 테이블을 저장하여 유지하는 단계, 상기 채팅 상대방의 단말로부터 수신되는 채팅 메시지가 n(n은 2이상의 자연수)개가 될 때마다, 상기 채팅 상대방의 단말로부터 수신된 n개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시키는 단계, 상기 감정 분석 이벤트가 발생되면, 상기 점수 테이블을 참조하여, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합을 추출하는 단계, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합으로 t(t는 자연수)개의 기호 조합들이 추출되면, 상기 점수 테이블로부터 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 확인하는 단계, 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 기초로 상기 k개의 감정 항목들 각각에 대한 감정 지수를 연산하는 단계 및 상기 k개의 감정 항목들 중 상기 감정 지수가 최대인 제1 감정 항목을 선택한 후, 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시하는 단계를 더 포함할 수 있다.At this time, according to an embodiment of the present invention, the method of operating the electronic device includes the steps of storing and maintaining an emotion item table in which information about k (k is a natural number greater than or equal to 2) preset different emotion items is recorded. , storing and maintaining a score table in which preset scores for each of the k emotion items of the plurality of symbol combinations and each of the plurality of symbol combinations are recorded, chatting received from the terminal of the chatting counterpart Whenever the number of messages becomes n (n is a natural number greater than or equal to 2), generating an emotion analysis event for analyzing the emotion of the n chat messages received from the terminal of the chatting counterpart, when the emotion analysis event occurs , extracting a symbol combination included in the plurality of symbol combinations from the n chat messages with reference to the score table, from the n chat messages to a symbol combination included in the plurality of symbol combinations If t (t is a natural number) symbol combinations are extracted, checking a score for each of the k emotion items of the t symbol combinations from the score table, and the k emotion items of the t symbol combinations After calculating the emotion index for each of the k emotion items based on the score for each and selecting the first emotion item having the maximum emotion index among the k emotion items, the current emotion of the chatting partner The method may further include displaying a guide message guiding that the state is an emotional state according to the first emotional item on the screen.

이때, 본 발명의 일실시예에 따르면, 상기 감정 지수를 연산하는 단계는 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수를 성분으로 갖는 t차원의 벡터를 구성함으로써, 상기 k개의 감정 항목들 각각에 대응되는 t차원의 감정 벡터를 생성하는 단계 및 상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산하는 단계를 포함할 수 있다.At this time, according to an embodiment of the present invention, the calculating of the emotion index comprises, for each of the k emotion items, a t-dimensional vector having the score for each emotion item of the t symbol combinations as a component. , generating a t-dimensional emotion vector corresponding to each of the k emotion items and using the Euclidean norm of the emotion vector corresponding to each of the k emotion items as an emotion index corresponding to each of the k emotion items It may include a step of calculating.

또한, 본 발명의 일실시예에 따르면, 상기 전자 장치의 동작 방법은 상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성하는 단계, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 성분으로 갖는 k차원의 평균 점수 벡터를 생성하는 단계, 상기 점수 테이블을 참조하여, 상기 복수의 기호 조합들 각각에 대해, 각 기호 조합의 상기 k개의 감정 항목들 각각에 대한 점수를 성분으로 갖는 k차원의 벡터를 구성함으로써, 상기 복수의 기호 조합들 각각에 대응되는 k차원의 점수 벡터를 생성하는 단계, 상기 평균 점수 벡터와, 상기 복수의 기호 조합들 각각에 대응되는 점수 벡터 간의 유클리드 거리를 연산하는 단계 및 상기 복수의 기호 조합들 중 상기 유클리드 거리가 작은 순서대로 p(p는 2이상의 자연수)개의 기호 조합들을 선택하여 상기 p개의 기호 조합들을 목록으로 구성한 후, 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 상기 목록을 화면 상에 표시하는 단계를 더 포함할 수 있다.Also, according to an embodiment of the present invention, in the method of operating the electronic device, after the guide message is displayed on the screen, for each of the k emotion items, the average score for each emotion item of the t symbol combinations generating an average score value corresponding to each of the k emotion items by calculating With reference to the score table, for each of the plurality of symbol combinations, by constructing a k-dimensional vector having as a component the score for each of the k emotion items of each symbol combination, each of the plurality of symbol combinations generating a k-dimensional score vector corresponding to , calculating a Euclidean distance between the average score vector and a score vector corresponding to each of the plurality of symbol combinations, and the Euclidean distance among the plurality of symbol combinations is A step of selecting p (p is a natural number of 2 or more) symbol combinations in small order, composing the p symbol combinations into a list, and displaying the list on the screen as information on recommended symbol combinations to be input in a chatting message. may include more.

이때, 본 발명의 일실시예에 따르면, 상기 목록을 화면 상에 표시하는 단계는 상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시할 수 있다.At this time, according to an embodiment of the present invention, the step of displaying the list on the screen is when the list is configured, the score for the first emotion item among the p symbol combinations included in the list is the maximum. After selecting the first symbol combination, the font format of the first symbol combination in the list is first applied as a preset emphasis format to indicate that it is a recommended symbol combination, and the font format of the remaining symbol combinations is applied as a preset basic format. After that, the list in which the application of the font format is completed may be displayed on the screen.

이상, 도 3을 참조하여 본 발명의 일실시예에 따른 전자 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 전자 장치의 동작 방법은 도 1 내지 도 2를 이용하여 설명한 전자 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, a method of operating an electronic device according to an embodiment of the present invention has been described with reference to FIG. 3 . Here, since the method of operating the electronic device according to an embodiment of the present invention may correspond to the configuration of the operation of the electronic device 110 described with reference to FIGS. 1 and 2 , a more detailed description thereof will be omitted. do.

본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.The method of operating an electronic device that provides a chat function based on expression interpretation according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution through combination with a computer.

또한, 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. In addition, the operating method of the electronic device providing a chat function based on expression interpretation according to an embodiment of the present invention may be implemented in the form of a computer program command for execution through combination with a computer and recorded in a computer readable medium. . The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, in the present invention, specific matters such as specific components, etc., and limited embodiments and drawings have been described, but these are only provided to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , various modifications and variations are possible from these descriptions by those of ordinary skill in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the described embodiments, and not only the claims described below, but also all those with equivalent or equivalent modifications to the claims will be said to belong to the scope of the spirit of the present invention. .

110: 표현 해석 기반의 채팅 기능을 제공하는 전자 장치
111: 기호 조합 테이블 유지부 112: 표현 해석 이벤트 발생부
113: 확인부 114: 표시부
115: 감정 항목 테이블 유지부 116: 점수 테이블 유지부
117: 감정 분석 이벤트 발생부 118: 기호 조합 추출부
119: 점수 확인부 120: 감정 지수 연산부
121: 감정 상태 안내부 122: 감정 벡터 생성부
123: 연산부 124: 평균 점수 값 생성부
125: 평균 점수 벡터 생성부 126: 점수 벡터 생성부
127: 유클리드 거리 연산부 128: 추천 기호 조합 표시부
130: 채팅 상대방의 단말
110: Electronic device providing a chat function based on expression interpretation
111: symbol combination table maintenance unit 112: expression analysis event generation unit
113: confirmation unit 114: display unit
115: emotion item table maintenance unit 116: score table maintenance unit
117: emotion analysis event generation unit 118: symbol combination extraction unit
119: score check unit 120: emotion index calculation unit
121: emotional state guide 122: emotion vector generator
123: calculation unit 124: average score value generation unit
125: average score vector generator 126: score vector generator
127: Euclidean distance calculation unit 128: Recommended symbol combination display unit
130: the terminal of the chatting party

Claims (12)

표현 해석 기반의 채팅 기능을 제공하는 전자 장치에 있어서,
하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지하는 기호 조합 테이블 유지부;
상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시키는 표현 해석 이벤트 발생부;
상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인하는 확인부; 및
상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시하는 표시부
를 포함하는 전자 장치.
An electronic device that provides a chat function based on expression interpretation,
A symbol combination table holding unit that stores and maintains a plurality of different symbol combinations composed of a combination of one or more symbols, and a symbol combination table in which preset interpretation information for an expression meaning each of the plurality of symbol combinations is recorded ;
When a chatting function is executed as the chatting application installed in the electronic device is executed by the user of the electronic device, whenever a chatting message is received from the chatting counterpart's terminal, the chatting message received from the chatting counterpart's terminal an expression interpretation event generating unit that generates an expression interpretation event for interpreting an expression for ;
a check unit that, when the expression interpretation event occurs, refers to the symbol combination table, and checks whether a symbol combination included in the chatting message received from the chatting counterpart's terminal exists among the plurality of symbol combinations; and
When it is confirmed that at least one first symbol combination exists as a symbol combination included in the chatting message received from the chatting counterpart's terminal among the plurality of symbol combinations, the at least one first symbol combination is retrieved from the symbol combination table. After extracting interpretation information for each symbol combination, in the chatting message being displayed on the screen of the electronic device, the at least one first symbol combination for each of the at least one first symbol combination is located adjacent to each of the first symbol combinations. Display unit for adding and displaying analysis information
An electronic device comprising a.
제1항에 있어서,
사전 설정된 서로 다른 k(k는 2이상의 자연수)개의 감정 항목들에 대한 정보가 기록되어 있는 감정 항목 테이블을 저장하여 유지하는 감정 항목 테이블 유지부;
상기 복수의 기호 조합들과 상기 복수의 기호 조합들 각각의 상기 k개의 감정 항목들 각각에 대한 사전 설정된 점수가 기록되어 있는 점수 테이블을 저장하여 유지하는 점수 테이블 유지부;
상기 채팅 상대방의 단말로부터 수신되는 채팅 메시지가 n(n은 2이상의 자연수)개가 될 때마다, 상기 채팅 상대방의 단말로부터 수신된 n개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시키는 감정 분석 이벤트 발생부;
상기 감정 분석 이벤트가 발생되면, 상기 점수 테이블을 참조하여, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합을 추출하는 기호 조합 추출부;
상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합으로 t(t는 자연수)개의 기호 조합들이 추출되면, 상기 점수 테이블로부터 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 확인하는 점수 확인부;
상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 기초로 상기 k개의 감정 항목들 각각에 대한 감정 지수를 연산하는 감정 지수 연산부; 및
상기 k개의 감정 항목들 중 상기 감정 지수가 최대인 제1 감정 항목을 선택한 후, 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시하는 감정 상태 안내부
를 더 포함하는 전자 장치.
According to claim 1,
an emotion item table maintaining unit for storing and maintaining an emotion item table in which information on k (k is a natural number of 2 or more) preset emotion items is recorded;
a score table maintaining unit for storing and maintaining a score table in which preset scores for each of the k emotion items of the plurality of preference combinations and each of the plurality of preference combinations are recorded;
Whenever the number of chatting messages received from the chatting counterpart's terminal becomes n (n is a natural number greater than or equal to 2), an emotion analysis event for analyzing the emotions of the n chatting messages received from the chatting counterpart's terminal is generated. emotion analysis event generation unit;
a symbol combination extracting unit that, when the emotion analysis event occurs, extracts a symbol combination included in the plurality of symbol combinations from the n chat messages with reference to the score table;
When t (t is a natural number) symbol combinations are extracted from the n chat messages as a symbol combination included in the plurality of symbol combinations, each of the k emotion items of the t symbol combinations from the score table Score check unit to check the score for;
an emotion index calculating unit for calculating an emotion index for each of the k emotion items based on the score for each of the k emotion items of the t symbol combinations; and
After selecting the first emotion item having the maximum emotion index from among the k emotion items, an emotion displaying a guide message guiding that the current emotional state of the chatting partner is the emotional state according to the first emotion item on the screen status guide
An electronic device further comprising a.
제2항에 있어서,
상기 감정 지수 연산부는
상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수를 성분으로 갖는 t차원의 벡터를 구성함으로써, 상기 k개의 감정 항목들 각각에 대응되는 t차원의 감정 벡터를 생성하는 감정 벡터 생성부; 및
상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름(Euclidean Norm)을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산하는 연산부
를 포함하는 전자 장치.
3. The method of claim 2,
The emotion index calculation unit
For each of the k emotion items, by constructing a t-dimensional vector having a score for each emotion item of the t symbol combinations as a component, generating a t-dimensional emotion vector corresponding to each of the k emotion items emotion vector generator; and
A calculator for calculating the Euclidean norm of the emotion vector corresponding to each of the k emotion items as the emotion index corresponding to each of the k emotion items
An electronic device comprising a.
제2항에 있어서,
상기 감정 상태 안내부에 의해 상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성하는 평균 점수 값 생성부;
상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 성분으로 갖는 k차원의 평균 점수 벡터를 생성하는 평균 점수 벡터 생성부;
상기 점수 테이블을 참조하여, 상기 복수의 기호 조합들 각각에 대해, 각 기호 조합의 상기 k개의 감정 항목들 각각에 대한 점수를 성분으로 갖는 k차원의 벡터를 구성함으로써, 상기 복수의 기호 조합들 각각에 대응되는 k차원의 점수 벡터를 생성하는 점수 벡터 생성부;
상기 평균 점수 벡터와, 상기 복수의 기호 조합들 각각에 대응되는 점수 벡터 간의 유클리드 거리(Euclidean Distance)를 연산하는 유클리드 거리 연산부; 및
상기 복수의 기호 조합들 중 상기 유클리드 거리가 작은 순서대로 p(p는 2이상의 자연수)개의 기호 조합들을 선택하여 상기 p개의 기호 조합들을 목록으로 구성한 후, 상기 목록을 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 화면 상에 표시하는 추천 기호 조합 표시부
를 더 포함하는 전자 장치.
3. The method of claim 2,
After the guide message is displayed on the screen by the emotional state guide unit, for each of the k emotion items, by calculating the average of the scores for each emotion item of the t symbol combinations, each of the k emotion items an average score value generating unit that generates an average score value corresponding to ;
an average score vector generator for generating a k-dimensional average score vector having, as a component, an average score value corresponding to each of the k emotion items;
With reference to the score table, for each of the plurality of symbol combinations, by constructing a k-dimensional vector having as a component the score for each of the k emotion items of each symbol combination, each of the plurality of symbol combinations a score vector generator generating a k-dimensional score vector corresponding to ;
a Euclidean distance calculator for calculating a Euclidean distance between the average score vector and a score vector corresponding to each of the plurality of symbol combinations; and
Among the plurality of symbol combinations, p (p is a natural number greater than or equal to 2) symbol combinations are selected in the order of the smallest Euclidean distance to form a list of the p symbol combinations, and then the list is input to a chatting message. Recommendation symbol combination display unit displayed on the screen as information about
An electronic device further comprising a.
제4항에 있어서,
상기 추천 기호 조합 표시부는
상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시하는 전자 장치.
5. The method of claim 4,
The recommended symbol combination display unit
When the list is constructed, after selecting the first symbol combination with the highest score for the first emotion item from among the p symbol combinations included in the list, the font format of the first symbol combination in the list is prioritized An electronic device for displaying on a screen the list in which the application of the font format is completed after applying a preset highlighting format for indicating that it is a recommended symbol combination, applying the font format of the remaining symbol combinations as a preset basic format.
표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법에 있어서,
하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지하는 단계;
상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시키는 단계;
상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인하는 단계; 및
상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시하는 단계
를 포함하는 전자 장치의 동작 방법.
In the operating method of an electronic device that provides a chat function based on expression interpretation,
storing and maintaining a symbol combination table in which a plurality of different symbol combinations composed of a combination of one or more symbols and preset interpretation information for an expression meaning each of the plurality of symbol combinations are recorded;
When a chatting function is executed as the chatting application installed in the electronic device is executed by the user of the electronic device, whenever a chatting message is received from the chatting counterpart's terminal, the chatting message received from the chatting counterpart's terminal generating an expression interpretation event for interpreting an expression for ;
when the expression interpretation event occurs, referring to the symbol combination table, checking whether a symbol combination included in the chatting message received from the chatting counterpart's terminal exists among the plurality of symbol combinations; and
When it is confirmed that at least one first symbol combination exists as a symbol combination included in the chatting message received from the chatting counterpart's terminal among the plurality of symbol combinations, the at least one first symbol combination is retrieved from the symbol combination table. After extracting interpretation information for each symbol combination, in the chatting message being displayed on the screen of the electronic device, the at least one first symbol combination for each of the at least one first symbol combination is located adjacent to each of the first symbol combinations. Step of adding and displaying analysis information
A method of operating an electronic device comprising a.
제6항에 있어서,
사전 설정된 서로 다른 k(k는 2이상의 자연수)개의 감정 항목들에 대한 정보가 기록되어 있는 감정 항목 테이블을 저장하여 유지하는 단계;
상기 복수의 기호 조합들과 상기 복수의 기호 조합들 각각의 상기 k개의 감정 항목들 각각에 대한 사전 설정된 점수가 기록되어 있는 점수 테이블을 저장하여 유지하는 단계;
상기 채팅 상대방의 단말로부터 수신되는 채팅 메시지가 n(n은 2이상의 자연수)개가 될 때마다, 상기 채팅 상대방의 단말로부터 수신된 n개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시키는 단계;
상기 감정 분석 이벤트가 발생되면, 상기 점수 테이블을 참조하여, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합을 추출하는 단계;
상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합으로 t(t는 자연수)개의 기호 조합들이 추출되면, 상기 점수 테이블로부터 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 확인하는 단계;
상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 기초로 상기 k개의 감정 항목들 각각에 대한 감정 지수를 연산하는 단계; 및
상기 k개의 감정 항목들 중 상기 감정 지수가 최대인 제1 감정 항목을 선택한 후, 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시하는 단계
를 더 포함하는 전자 장치의 동작 방법.
7. The method of claim 6,
Storing and maintaining an emotion item table in which information about k (k is a natural number of 2 or more) preset different emotion items is recorded;
storing and maintaining a score table in which preset scores for each of the k emotion items of the plurality of preference combinations and each of the plurality of preference combinations are recorded;
Whenever the number of chatting messages received from the chatting counterpart's terminal becomes n (n is a natural number greater than or equal to 2), an emotion analysis event for analyzing the emotions of the n chatting messages received from the chatting counterpart's terminal is generated. step;
when the emotion analysis event occurs, extracting a symbol combination included in the plurality of symbol combinations from the n chat messages with reference to the score table;
When t (t is a natural number) symbol combinations are extracted from the n chat messages as a symbol combination included in the plurality of symbol combinations, each of the k emotion items of the t symbol combinations from the score table checking the score for;
calculating an emotion index for each of the k emotion items based on the score for each of the k emotion items of the t symbol combinations; and
After selecting the first emotion item having the maximum emotion index from among the k emotion items, displaying a guide message guiding that the current emotional state of the chatting partner is the emotional state according to the first emotion item on the screen
The method of operating an electronic device further comprising a.
제7항에 있어서,
상기 감정 지수를 연산하는 단계는
상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수를 성분으로 갖는 t차원의 벡터를 구성함으로써, 상기 k개의 감정 항목들 각각에 대응되는 t차원의 감정 벡터를 생성하는 단계; 및
상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름(Euclidean Norm)을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산하는 단계
를 포함하는 전자 장치의 동작 방법.
8. The method of claim 7,
The step of calculating the emotional index is
For each of the k emotion items, by constructing a t-dimensional vector having a score for each emotion item of the t symbol combinations as a component, generating a t-dimensional emotion vector corresponding to each of the k emotion items step; and
calculating an Euclidean norm of an emotion vector corresponding to each of the k emotion items as an emotion index corresponding to each of the k emotion items
A method of operating an electronic device comprising a.
제7항에 있어서,
상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성하는 단계;
상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 성분으로 갖는 k차원의 평균 점수 벡터를 생성하는 단계;
상기 점수 테이블을 참조하여, 상기 복수의 기호 조합들 각각에 대해, 각 기호 조합의 상기 k개의 감정 항목들 각각에 대한 점수를 성분으로 갖는 k차원의 벡터를 구성함으로써, 상기 복수의 기호 조합들 각각에 대응되는 k차원의 점수 벡터를 생성하는 단계;
상기 평균 점수 벡터와, 상기 복수의 기호 조합들 각각에 대응되는 점수 벡터 간의 유클리드 거리(Euclidean Distance)를 연산하는 단계; 및
상기 복수의 기호 조합들 중 상기 유클리드 거리가 작은 순서대로 p(p는 2이상의 자연수)개의 기호 조합들을 선택하여 상기 p개의 기호 조합들을 목록으로 구성한 후, 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 상기 목록을 화면 상에 표시하는 단계
를 더 포함하는 전자 장치의 동작 방법.
8. The method of claim 7,
After the guide message is displayed on the screen, for each of the k emotion items, by calculating the average of the scores for each emotion item of the t symbol combinations, the average score value corresponding to each of the k emotion items is calculated. generating;
generating a k-dimensional average score vector having an average score value corresponding to each of the k emotion items as a component;
With reference to the score table, for each of the plurality of symbol combinations, by constructing a k-dimensional vector having as a component the score for each of the k emotion items of each symbol combination, each of the plurality of symbol combinations generating a k-dimensional score vector corresponding to ;
calculating a Euclidean distance between the average score vector and a score vector corresponding to each of the plurality of symbol combinations; and
Information on recommended symbol combinations to be input to a chat message after selecting p (p is a natural number greater than or equal to 2) symbol combinations in the order of the smallest Euclidean distance from among the plurality of symbol combinations to form a list of the p symbol combinations displaying the list on the screen with
The method of operating an electronic device further comprising a.
제9항에 있어서,
상기 목록을 화면 상에 표시하는 단계는
상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시하는 전자 장치의 동작 방법.
10. The method of claim 9,
The step of displaying the list on the screen is
When the list is constructed, after selecting the first symbol combination with the highest score for the first emotion item from among the p symbol combinations included in the list, the font format of the first symbol combination in the list is prioritized Method of operating an electronic device for applying a preset highlighting format to indicate that it is a recommended symbol combination, applying the font format of the remaining symbol combinations as a preset basic format, and displaying the list on a screen in which the font format application is completed .
제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6 to 10 through combination with a computer. 제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6 to 10 through combination with a computer.
KR1020210050845A 2021-04-20 2021-04-20 Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof KR102500732B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210050845A KR102500732B1 (en) 2021-04-20 2021-04-20 Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210050845A KR102500732B1 (en) 2021-04-20 2021-04-20 Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof

Publications (2)

Publication Number Publication Date
KR20220144491A true KR20220144491A (en) 2022-10-27
KR102500732B1 KR102500732B1 (en) 2023-02-16

Family

ID=83810337

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210050845A KR102500732B1 (en) 2021-04-20 2021-04-20 Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof

Country Status (1)

Country Link
KR (1) KR102500732B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102564A (en) * 2008-10-24 2010-05-06 Nippon Telegr & Teleph Corp <Ntt> Emotion specifying device, emotion specification method, program, and recording medium
KR20120109943A (en) * 2011-03-28 2012-10-09 가톨릭대학교 산학협력단 Emotion classification method for analysis of emotion immanent in sentence
KR20150033901A (en) * 2013-09-25 2015-04-02 에스케이텔레콤 주식회사 Apparatus for interpreting meaning of text emoticon, and recording medium therefor
KR20190134100A (en) * 2018-05-24 2019-12-04 주식회사 플랫팜 Method and apparatus for providing chatting service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102564A (en) * 2008-10-24 2010-05-06 Nippon Telegr & Teleph Corp <Ntt> Emotion specifying device, emotion specification method, program, and recording medium
KR20120109943A (en) * 2011-03-28 2012-10-09 가톨릭대학교 산학협력단 Emotion classification method for analysis of emotion immanent in sentence
KR20150033901A (en) * 2013-09-25 2015-04-02 에스케이텔레콤 주식회사 Apparatus for interpreting meaning of text emoticon, and recording medium therefor
KR20190134100A (en) * 2018-05-24 2019-12-04 주식회사 플랫팜 Method and apparatus for providing chatting service

Also Published As

Publication number Publication date
KR102500732B1 (en) 2023-02-16

Similar Documents

Publication Publication Date Title
US9589200B2 (en) Handwriting input conversion apparatus, computer-readable medium, and conversion method
US10056095B2 (en) Emotion detection in voicemail
US9348808B2 (en) Content-based automatic input protocol selection
JP2018077861A (en) Systems and method for identifying and suggesting emoticon
US10754441B2 (en) Text input system using evidence from corrections
JP2017527881A (en) System and method for identifying and proposing emoticons
CN107592255B (en) Information display method and equipment
KR20150000566A (en) Apparatus and method for outputting image according to text input in real time
CN112818656B (en) Data difference comparison method, device, equipment, medium and computer program product
US20150067538A1 (en) Apparatus and method for creating editable visual object
Tomić et al. Emoticons
CN104994000A (en) Method and device for dynamic presentation of image
KR20220105546A (en) Electronic apparatus that provides the chat function based on sentiment analysis and operating method thereof
US11899904B2 (en) Text input system with correction facility
CN111680497B (en) Session recognition model training method and device
CN109408621B (en) Dialogue emotion analysis method and system
KR20220144491A (en) Electronic apparatus that provides the chat function based on expression interpretation and operating method thereof
KR102383413B1 (en) Chatting service server that can recommend emoticon and operating method thereof
CN115936016A (en) Emotion theme recognition method, device, equipment and medium based on conversation
JP2010102564A (en) Emotion specifying device, emotion specification method, program, and recording medium
CN104135725A (en) Short message sending method and portable terminal
CN115101069A (en) Voice control method, device, equipment, storage medium and program product
JP2016053865A (en) Feeling text display program, method, and system
KR20150085282A (en) Operating method of terminal for correcting electronic document
US20240111957A1 (en) Electronic device for providing real-time emotional feedback to user&#39;s writing, method thereof and classification sever for analyzing real-time emotional feedback

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant