KR102500732B1 - 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
KR102500732B1
KR102500732B1 KR1020210050845A KR20210050845A KR102500732B1 KR 102500732 B1 KR102500732 B1 KR 102500732B1 KR 1020210050845 A KR1020210050845 A KR 1020210050845A KR 20210050845 A KR20210050845 A KR 20210050845A KR 102500732 B1 KR102500732 B1 KR 102500732B1
Authority
KR
South Korea
Prior art keywords
emotion
chatting
symbol combinations
score
symbol combination
Prior art date
Application number
KR1020210050845A
Other languages
Korean (ko)
Other versions
KR20220144491A (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

표현 해석 기반의 채팅 기능을 제공하는 전자 장치 및 그 동작 방법이 개시된다. 본 발명에 따른 전자 장치 및 그 동작 방법은 채팅 상대방의 단말로부터 채팅 메시지가 수신되면, 상기 채팅 메시지에 포함된 기호 조합에 대한 표현 해석을 수행하고, 이를 기초로 상기 채팅 상대방이 표현하고자 하는 의미가 어떤지를 안내해줌으로써, 전자 장치의 사용자가 채팅 상대방과 원활한 의사소통을 이어나갈 수 있도록 지원하는 기술에 대한 것이다.An electronic device providing a chatting function based on expression interpretation and an operating method thereof are disclosed. An electronic device and method of operation thereof according to the present invention, when a chatting message is received from a chatting party's terminal, perform expression analysis on a symbol combination included in the chatting message, and based on this, the meaning the chatting party wants to express The present invention relates to a technology that supports a user of an electronic device to continue smooth communication with a chatting partner by guiding the user of the electronic device.

Description

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

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

최근, 채팅 애플리케이션이 널리 보급됨으로써, 사람들 간의 의사소통이 활발히 이루어지고 있다.BACKGROUND OF THE INVENTION [0002] Recently, as a chat application is widely spread, communication between people is being actively performed.

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

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

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

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

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

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

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

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

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

도 1은 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작을 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram showing the structure of an electronic device that provides a chatting function based on expression analysis according to an embodiment of the present invention.
2 is a diagram for explaining the operation of an electronic device that provides a chatting function based on expression analysis according to an embodiment of the present invention.
3 is a flowchart illustrating an operating method of an electronic device providing a chatting function based on expression analysis 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. This description is not intended to limit the present invention to specific embodiments, but should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. While describing each drawing, similar reference numerals have been used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, are common knowledge in the art to which the present invention belongs. has the same meaning as commonly understood by the person who has it.

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

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

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

도 1을 참조하면, 본 발명의 일실시예에 따른 전자 장치(110)는 기호 조합 테이블 유지부(111), 표현 해석 이벤트 발생부(112), 확인부(113) 및 표시부(114)를 포함한다.Referring to FIG. 1 , an 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 symbol combination table in which a plurality of different symbol combinations composed of combinations of one or more symbols and preset interpretation information for expressions each of the plurality of symbol combinations are recorded are recorded. save and keep

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

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

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

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

표시부(114)는 상기 복수의 기호 조합들 중 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 전자 장치(110)의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시한다.The display unit 114 is a symbol combination included in a chatting message received from the chatting counterpart's terminal 130 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, in a chat message being displayed on the screen of the electronic device 110, the at least one adjacent point of each of the at least one first symbol combination is displayed. Interpretation information for each of the first symbol combinations is added and displayed.

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

먼저, 전자 장치(110)의 사용자에 의해 전자 장치(110)에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 표현 해석 이벤트 발생부(112)는 채팅 상대방의 단말(130)로부터 채팅 메시지가 수신될 때마다, 채팅 상대방의 단말(130)로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시킬 수 있다.First, when a chatting function is executed as a chatting application installed in the electronic device 110 is executed by the user of the electronic device 110, the expression analysis event generating unit 112 receives information from the chatting counterpart's terminal 130. Whenever a chatting message is received, an expression interpretation event for interpreting the expression of the chatting message received from the chatting counterpart's terminal 130 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 chatting party's terminal 130 is the same as reference numeral 220 in the figure shown in FIG. 2 and that the expression analysis event is generated by the expression analysis event generator 112, confirmation The unit 113 refers to the symbol combination table as shown in Table 1 above, and the plurality of symbol combinations 'e(' 'e), o(^^o) (o^^)o, o(-' '- )o, (>_<), ...', it is possible to check 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 above, 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ... As a symbol combination included in the chatting message 220 received from the chatting party's terminal 130, 'e (' 'e)' exists, the display unit 114 displays the symbol combination as shown in Table 1 above. 'Boxer', which is interpretation information for 'e(' 'e)', can be extracted from the table.

그 이후, 표시부(114)는 전자 장치(110)의 화면(210) 상에 표시되고 있는 채팅 메시지 내에서, 'e(' 'e)'의 인접 지점(221)에 'e(' 'e)'에 대한 해석 정보인 '권투선수'를 부가하여 표시할 수 있다.After that, the display unit 114 displays 'e(' 'e) at the adjacent point 221 of 'e(' 'e)' within the chatting message being displayed on the screen 210 of the electronic device 110. 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 chatting counterpart's terminal 130 .

본 발명의 일실시예에 따르면, 전자 장치(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 maintainer 115, a score table maintainer 116, an emotion analysis event generator 117, a symbol combination extractor 118, a score A confirmation unit 119, an emotional index calculation unit 120, and an emotional state information unit 121 may be further included.

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

예컨대, 'k=4'라고 하고, 4개의 감정 항목들이 존재한다고 하는 경우, 감정 항목 테이블 유지부(115)는 하기의 표 2와 같이 감정 항목 테이블을 저장하여 유지하고 있을 수 있다.For example, when it is assumed that 'k=4' and four emotion items exist, 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 holding unit 116 stores and maintains a score table in which the plurality of symbol combinations and preset scores for each of the k emotion items of each of the plurality of symbol combinations are recorded.

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

복수의 기호 조합들multiple symbol combinations 4개의 감정 항목들 각각에 대한 점수Scores for each of the four 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개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시킨다.Whenever the number of chatting messages received from the chatting party's terminal 130 is n (n is a natural number equal to or greater than 2), the emotion analysis event generator 117 sends n chatting messages received from the chatting party's terminal 130. Sentiment analysis event is generated to analyze the emotion about .

기호 조합 추출부(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 chatting messages by referring to the score table.

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

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

이렇게, 감정 분석 이벤트 발생부(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 preference combination extractor 118 refers to the score table as shown in Table 3, and selects the plurality of preferences from the 13 chatting messages. Symbol combinations included in the combinations 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' can be extracted. 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 It is a symbol combination included in -)o, (>_<), ...', and the four symbol combinations 'e(' 'e), o(^^o) (o^^)o, o(-' If '-)o, (>_<)' is extracted, the score confirmation unit 119 selects 'e(' 'e), o(^^o) (o^^) from the score table as shown in Table 3 above. )o, o(-', '-)o, (>_<)', and the scores for each of the four emotion items 'embarrassment, sadness, joy, and anger' can be confirmed.

즉, 점수 확인부(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 confirmation unit 119 can confirm '40 points, 10 points, 45 points, and 15 points' as the scores for each of 'embarrassment, sadness, joy, and anger' for 'e (' 'e)', , 'o(^^o) (o^^)o' can be checked as '10 points, 5 points, 65 points, 5 points' as the scores for 'embarrassment, sadness, joy, anger' respectively, For o(-' '-)o,', you can check '15 points, 20 points, 5 points, and 70 points' as the scores for 'embarrassment, sadness, joy, anger' respectively, and '(>_<) ', you can check '70 points, 10 points, 30 points, and 40 points' as the score for each of 'embarrassment, sadness, joy, and anger'.

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

이때, 본 발명의 일실시예에 따르면, 감정 지수 연산부(120)는 감정 벡터 생성부(122) 및 연산부(123)를 포함할 수 있다.At this time, 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차원의 감정 벡터를 생성한다.For each of the k emotion items, the emotion vector generator 122 constructs a t-dimensional vector having, as components, scores for each emotion item of the t symbol combinations, thereby generating a value corresponding to each of the k emotion items. Create a t-dimensional emotion vector.

연산부(123)는 상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름(Euclidean Norm)을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산한다.The calculator 123 calculates a 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 representing the size of a vector or matrix, and can be calculated according to Equation 1 below.

Figure 112021045824932-pat00001
Figure 112021045824932-pat00001

상기 수학식 1에서

Figure 112021045824932-pat00002
는 유클리드 노름을 의미하고, xi는 벡터나 행렬에 포함되어 있는 i번째 성분을 의미한다.In Equation 1 above
Figure 112021045824932-pat00002
denotes the Euclidean norm, and x i denotes the i-th element 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 scores for each of the four emotion items 'embarrassment, sadness, joy, anger' are '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 generation unit 122 'e(' 'e), o(^^o) (o^^)o, o(-' '-' for each of 'embarrassment, sadness, joy, anger' )o, (>_<)' by constructing a 4-dimensional vector having scores for each emotion item as components, it is possible to generate a 4-dimensional emotion vector corresponding to each of 'embarrassment, sadness, joy, anger'.

이와 관련해서, '당황'에 대해서는 '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 'embarrassment', the scores for each emotion item were 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' is '40 (points), 10 (points), 15 (points), and 70 (points)', the emotion vector generator 122 converts '[40 10 15 70] into a 4-dimensional emotion vector for 'embarrassment'. ' can be created. And, for 'sadness', the score for each emotion item of 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' is ' 10 (points), 5 (points), 20 (points), 10 (points)', so the emotion vector generator 122 converts '[10 5 20 10]' as a 4-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, (>_<)' is ' 45 (points), 65 (points), 5 (points), and 30 (points)', so the emotion vector generator 122 converts '[45 65 5 30]' as a 4-dimensional emotion vector for 'joy'. can create Finally, for 'angry man', the scores for each emotion item were '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 4-dimensional emotion vector for 'angry man'. 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 emotion vectors corresponding to each of 'embarrassment, sadness, joy, and anger' are generated, the operation unit 123 determines the emotion vectors corresponding to each of 'embarrassment, sadness, joy, and anger' '[40 10 15 70], The Euclidean norms 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 calculation unit 123 converts '82.61, 25, 84.7, 82.15', which are Euclidean norms corresponding to each of 'embarrassment, sadness, joy, and anger', into an emotion index corresponding to each of 'embarrassment, sadness, joy, and anger'. can be computed.

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

관련해서, 전술한 실시예에 따라 감정 상태 안내부(121)의 동작을 설명하면, '당황, 슬픔, 기쁨, 화남' 중 상기 감정 지수가 최대인 감정 항목은 '기쁨'이기 때문에 감정 상태 안내부(121)는 '기쁨'이라는 감정 항목을 제1 감정 항목으로 선택할 수 있다.In relation to this, if the operation of the emotional state information unit 121 is described according to the above-described embodiment, since the emotion item having the largest emotional index among 'embarrassment, sadness, joy, and anger' is 'joy', the emotional state information unit In (121), an emotion item called 'joy' may be selected as a first emotion item.

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

이를 통해, 전자 장치(110)의 사용자는 상기 채팅 상대방의 현재 감정 상태를 안내하는 안내 메시지를 확인한 후 상기 안내 메시지를 통해 확인되는 상기 채팅 상대방의 현재 감정 상태에 따른 적절한 채팅을 수행함으로써, 상기 채팅 상대방과의 원활한 의사소통을 이어나갈 수 있다.Through this, the user of the electronic device 110 checks a guide message for guiding the chatting partner's current emotional state, and then conducts an appropriate chat according to the chatting partner's current emotional state confirmed through the guide message, thereby enabling the chatting party to chat. 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. A combination display unit 128 may be further included.

평균 점수 값 생성부(124)는 감정 상태 안내부(121)에 의해 상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성한다.After the guidance message is displayed on the screen by the emotional state information unit 121, the average score value generator 124 averages scores for each emotion item of the t taste 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 average score values corresponding to each of the k emotion items as components.

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

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

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

Figure 112021045824932-pat00003
Figure 112021045824932-pat00003

상기 수학식 2에서 D는 유클리드 거리, Ai와 Bi는 두 벡터에 포함되어 있는 i번째 성분들을 의미한다. 보통, 두 벡터 간의 유클리드 거리가 작을수록 두 벡터는 유사한 벡터라고 볼 수 있고, 두 벡터 간의 유클리드 거리가 클수록 두 벡터는 비유사한 벡터라고 볼 수 있다.In Equation 2, D is the 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, the more similar the two vectors are, and the larger the Euclidean distance between the two vectors, the more dissimilar vectors they are.

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

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

이와 관련해서, '당황'에 대해서는 '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 'embarrassment', the scores for each emotion item were 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' is '40 (points), 10 (points), 15 (points), and 70 (points)', the average score value generating unit 124 may generate '33.75' as the average score value for 'embarrassment'. . And, for 'sadness', the score for each emotion item of 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' is ' 10 (points), 5 (points), 20 (points), and 10 (points)', the average score value generating unit 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, (>_<)' is ' 45 (points), 65 (points), 5 (points), and 30 (points)', the average point value generator 124 may generate '36.25' as the average point value for 'joy'. Finally, for 'angry man', the scores for each emotion item were 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<)' Since '15 (points), 5 (points), 70 (points), and 40 (points)', the average point value generation unit 124 may generate '32.5' as the average point 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 the average score value corresponding to each of 'embarrassment, sadness, joy, and anger' is generated, the average score vector generator 125 calculates the average score value '33.75, '[33.75 11.25 36.25 32.5]' can be created as a 4-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차원의 점수 벡터를 생성할 수 있다.After that, the score vector generator 126 refers to the score table shown in Table 3 above, and the plurality of symbol combinations 'e(' 'e), o(^^o) (o^^)o, o For each of (-' '-)o, (>_<), ...', by constructing a 4-dimensional vector having the score for each of 'embarrassment, sadness, joy, anger' of each symbol combination as a component , 'e(' 'e), o(^^o) (o^^)o, o(-' '-)o, (>_<), ...' 4-dimensional 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 each of 'embarrassment, sadness, joy, and anger' are '40 (points), 10 (points), 45 (points), and 15 (points)', so , the score vector generator 126 may generate '[40 10 45 15]' as a 4-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 created as a 4-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 calculation unit 127 calculates the mean score vector '[33.75 11.25 36.25 32.5]' and the plurality of symbol combinations 'e(''e), o(^^o) (o^^) o, o(-''-)o,(>_<),...' corresponding score vectors '[40 10 45 15], [10 5 65 5], [15 20 5 70], 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, the average score vector '[33.75 11.25 36.25 32.5]' and the plurality of symbol combinations 'e(''e), o(^^o) (o^^) o, o(-''-)o,(>_<),...' corresponding score vectors '[40 10 45 15], [10 5 65 5], [15 20 5 70], If 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. p in the order of decreasing Euclidean distance among 'e(''e), o(^^o) (o^^)o, o(-''-)o,(>_<),...' There are several symbol combinations to choose from.

만약, 상기 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 Three symbols among the plurality of symbol combinations 'e(''e), o(^^o) (o^^)o, o(-''-)o,(>_<),...' Combinations of '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 organizes the three symbol combinations 'e(' 'e), (>_<), o(^^o) (o^^)o' into a list, A list may be displayed on the screen as information on a combination of recommended symbols to be input into a chatting message.

이를 통해, 사용자는 상기 목록에 표시된 추천 기호 조합들 중 어느 하나의 기호 조합을 채팅 메시지에 삽입하여 채팅 상대방에게 전송함으로써, 채팅 상대방의 현재 감정 상태에 대응하는 감정 표현을 할 수 있다.Through this, the user inserts any one of the recommended symbol combinations displayed in the list into a chatting message and transmits it to the chatting partner, thereby expressing emotion corresponding to the chatting partner's current emotional state.

이때, 본 발명의 일실시예에 따르면, 추천 기호 조합 표시부(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 determines the first item having the maximum score for the first emotion item among the p symbol combinations included in the list. After selecting the symbol combination, the font format of the first symbol combination in the list is applied as a preset emphasis format to indicate that it is a symbol combination that is a priority recommendation target, and the font format of the remaining symbol combinations is applied as a preset basic format, The list to which the font format is 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 identified as the current emotional state of the chatting partner by the emotional state information unit 121 is 'joy', and the recommended symbol combination display unit 128 displays the list When it is assumed that the three symbol combinations are composed of 'e(' 'e), (>_<), o(^^o) (o^^)o', the recommended symbol combination display unit 128 displays the list Among the included three symbol combinations 'e(' 'e), (>_<), o(^^o) (o^^)o', the score for 'joy', which is the first emotion item, 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'을 선정할 수 있다.In relation to this, for 'e(' 'e)', the score for 'joy' is '45 points', for '(>_<)', the score for 'joy' is '30 points', and for 'o Since the score for 'joy' is '65 points' for '(^^o) (o^^)o', the recommended symbol combination display unit 128 displays 'e(' 'e), (>_<), o Among (^^o) (o^^)o', 'o(^^o) (o^^)o' may be selected as the first symbol combination having the highest score for 'joy'.

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

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

그러고 나서, 추천 기호 조합 표시부(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 displays the list to which the font format is applied on the screen. can be displayed on the

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

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

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

단계(S320)에서는 상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시킨다.In step S320, when the 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 party's terminal, the chatting party's terminal Generates an expression analysis event for interpreting the expression of the chatting message received from

단계(S330)에서는 상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인한다.In step S330, when the expression analysis event occurs, it is determined whether or not 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.

단계(S340)에서는 상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시한다.In step S340, if it is confirmed that there is at least one first symbol combination among the plurality of symbol combinations included in the chatting message received from the chatting counterpart's terminal, the symbol combination table After extracting interpretation information for each of the at least one first symbol combination, in a chat message being displayed on the screen of the electronic device, the at least one first symbol combination is placed at an adjacent point of each of the at least one first symbol combination. 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 operating method of the electronic device includes 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. storing and maintaining a score table in which the plurality of symbol combinations and preset scores for each of the k emotion items of each of the plurality of symbol combinations are recorded; Generating an emotion analysis event for analyzing emotions of n chatting messages received from the chatting party's terminal whenever there are n messages (n is a natural number equal to or greater than 2), when the emotion analysis event occurs extracting a symbol combination included in the plurality of symbol combinations from the n chatting messages with reference to the score table; and a symbol combination included in the plurality of symbol combinations from the n chatting messages. When t (t is a natural number) number of symbol combinations are extracted, checking a score for each of the k emotion items of the t symbol combinations from the score table, the k emotion items of the t symbol combinations Calculating an emotional index for each of the k emotion items based on a score for each, and selecting a first emotion item having the largest emotional index among the k emotion items, and then selecting the current emotion of the chatting partner. The method may further include displaying on a screen a guide message informing that a state is an emotional state according to the first emotion item.

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

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

이때, 본 발명의 일실시예에 따르면, 상기 목록을 화면 상에 표시하는 단계는 상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시할 수 있다.At this time, according to one 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 applied as a preset emphasis format to indicate that it is a preferred symbol combination, and the font format of the remaining symbol combinations is applied as a preset basic format Then, the list to which the application of the font format is completed can be displayed on the screen.

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

본 발명의 일실시예에 따른 표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.An operating method of an electronic device providing a chatting 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 a combination with a computer.

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

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

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the described embodiments, and it will be said that not only the claims to be described later, but also all modifications equivalent or equivalent to these claims belong to the scope 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 analysis
111: symbol combination table holding unit 112: expression analysis event generating unit
113: confirmation unit 114: display unit
115: Emotion item table maintenance unit 116: Score table maintenance unit
117: emotion analysis event generating unit 118: symbol combination extraction unit
119: score confirmation unit 120: emotion index calculation unit
121: Emotion state information unit 122: Emotion vector generation unit
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: chatting party's terminal

Claims (12)

표현 해석 기반의 채팅 기능을 제공하는 전자 장치에 있어서,
하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지하는 기호 조합 테이블 유지부;
사전 설정된 서로 다른 k(k는 2이상의 자연수)개의 감정 항목들에 대한 정보가 기록되어 있는 감정 항목 테이블을 저장하여 유지하는 감정 항목 테이블 유지부;
상기 복수의 기호 조합들과 상기 복수의 기호 조합들 각각의 상기 k개의 감정 항목들 각각에 대한 사전 설정된 점수가 기록되어 있는 점수 테이블을 저장하여 유지하는 점수 테이블 유지부;
상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시키는 표현 해석 이벤트 발생부;
상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인하는 확인부;
상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시하는 표시부;
상기 채팅 상대방의 단말로부터 수신되는 채팅 메시지가 n(n은 2이상의 자연수)개가 될 때마다, 상기 채팅 상대방의 단말로부터 수신된 n개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시키는 감정 분석 이벤트 발생부;
상기 감정 분석 이벤트가 발생되면, 상기 점수 테이블을 참조하여, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합을 추출하는 기호 조합 추출부;
상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합으로 t(t는 자연수)개의 기호 조합들이 추출되면, 상기 점수 테이블로부터 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 확인하는 점수 확인부;
상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 기초로 상기 k개의 감정 항목들 각각에 대한 감정 지수를 연산하는 감정 지수 연산부; 및
상기 k개의 감정 항목들 중 상기 감정 지수가 최대인 제1 감정 항목을 선택한 후, 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시하는 감정 상태 안내부
를 포함하고,
상기 감정 지수 연산부는
상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수를 성분으로 갖는 t차원의 벡터를 구성함으로써, 상기 k개의 감정 항목들 각각에 대응되는 t차원의 감정 벡터를 생성하는 감정 벡터 생성부; 및
상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름(Euclidean Norm)을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산하는 연산부
를 포함하는 전자 장치.
In an electronic device that provides a chat function based on expression analysis,
A symbol combination table holding unit for storing and maintaining a symbol combination table in which a plurality of different symbol combinations composed of combinations of one or more symbols and preset interpretation information for expressions each of the plurality of symbol combinations are recorded are recorded. ;
an emotion item table holding unit which stores and maintains an emotion item table in which information on k (k is a natural number equal to or greater than 2) number of different preset emotion items is recorded;
a score table holding unit storing and maintaining a score table in which the plurality of symbol combinations and preset scores for each of the k emotion items of each of the plurality of symbol combinations are recorded;
When the 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 party's terminal, the chatting message received from the chatting party's terminal an expression interpretation event generation unit generating an expression interpretation event for interpreting an expression for ;
When the expression analysis event occurs, a confirmation unit for checking whether or not a symbol combination included in a chatting message received from the chatting counterpart's terminal exists among the plurality of symbol combinations by referring to the symbol combination table;
Among the plurality of symbol combinations, when it is determined that at least one first symbol combination exists among the symbol combinations included in the chatting message received from the chatting counterpart's terminal, the at least one first symbol combination is obtained from the symbol combination table. After extracting interpretation information for each symbol combination, in a chat message displayed on the screen of the electronic device, the at least one first symbol combination is displayed at an adjacent point of each of the at least one first symbol combination. a display unit for adding and displaying analysis information;
Whenever the number of chatting messages received from the chatting counterpart's terminal is n (n is a natural number equal to or greater than 2), an emotion analysis event is generated to analyze the emotions of the n chatting messages received from the chatting counterpart's terminal. a sentiment analysis event generating unit;
a symbol combination extractor configured to extract a symbol combination included in the plurality of symbol combinations from the n chatting messages by referring to the score table when the emotion analysis event occurs;
When t (t is a natural number) number of symbol combinations are extracted as symbol combinations included among the plurality of symbol combinations from the n chatting messages, each of the k emotion items of the t symbol combinations from the score table Score confirmation unit to check the score for;
an emotional index calculator calculating an emotional index for each of the k emotional items of the t symbol combinations based on a score for each of the k emotional items; and
After selecting a first emotion item having the largest emotional index among the k emotion items, a guide message notifying that the current emotional state of the chatting partner is based on the first emotion item is displayed on the screen. status information
including,
The emotional index calculation unit
Generating a t-dimensional emotion vector corresponding to each of the k emotion items by constructing a t-dimensional vector having as components a score for each emotion item of the t symbol combinations for each of the k emotion items. an emotion vector generating unit; and
A calculator that calculates a 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.
An electronic device comprising a.
삭제delete 삭제delete 제1항에 있어서,
상기 감정 상태 안내부에 의해 상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성하는 평균 점수 값 생성부;
상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 성분으로 갖는 k차원의 평균 점수 벡터를 생성하는 평균 점수 벡터 생성부;
상기 점수 테이블을 참조하여, 상기 복수의 기호 조합들 각각에 대해, 각 기호 조합의 상기 k개의 감정 항목들 각각에 대한 점수를 성분으로 갖는 k차원의 벡터를 구성함으로써, 상기 복수의 기호 조합들 각각에 대응되는 k차원의 점수 벡터를 생성하는 점수 벡터 생성부;
상기 평균 점수 벡터와, 상기 복수의 기호 조합들 각각에 대응되는 점수 벡터 간의 유클리드 거리(Euclidean Distance)를 연산하는 유클리드 거리 연산부; 및
상기 복수의 기호 조합들 중 상기 유클리드 거리가 작은 순서대로 p(p는 2이상의 자연수)개의 기호 조합들을 선택하여 상기 p개의 기호 조합들을 목록으로 구성한 후, 상기 목록을 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 화면 상에 표시하는 추천 기호 조합 표시부
를 더 포함하는 전자 장치.
According to claim 1,
After the guide message is displayed on the screen by the emotional state information unit, for each of the k emotion items, by calculating an average of scores for each emotion item of the t taste combinations, each of the k emotion items an average point value generation unit for generating an average point value corresponding to;
an average score vector generator generating a k-dimensional average score vector having average score values corresponding to each of the k emotion items as components;
With reference to the score table, for each of the plurality of symbol combinations, a k-dimensional vector having a score for each of the k emotion items of each symbol combination as a component is constructed, so that each of the plurality of symbol combinations a score vector generator for generating a k-dimensional score vector corresponding to;
a Euclidean distance calculating unit calculating a Euclidean distance between the average score vector and score vectors corresponding to each of the plurality of symbol combinations; and
Among the plurality of symbol combinations, p (p is a natural number of 2 or more) number of symbol combinations are selected in order of small Euclidean distance to form a list of the p number of symbol combinations, and then the list is recommended symbol combinations to be input to a chatting message. Recommended symbol combination display unit displayed on the screen as information about
An electronic device further comprising a.
제4항에 있어서,
상기 추천 기호 조합 표시부는
상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시하는 전자 장치.
According to claim 4,
The recommended symbol combination display unit
When the list is configured, after selecting the first symbol combination having the maximum score for the first emotion item among the p symbol combinations included in the list, the font format of the first symbol combination is given priority in the list. An electronic device that applies a preset emphasis format to indicate a symbol combination that is a recommended target, applies a font format of the remaining symbol combinations as a preset basic format, and then displays the list to which the font format has been applied on the screen.
표현 해석 기반의 채팅 기능을 제공하는 전자 장치의 동작 방법에 있어서,
하나 이상의 기호의 조합으로 구성된 서로 다른 복수의 기호 조합들과, 상기 복수의 기호 조합들 각각이 의미하는 표현에 대한 사전 설정된 해석 정보가 기록되어 있는 기호 조합 테이블을 저장하여 유지하는 단계;
사전 설정된 서로 다른 k(k는 2이상의 자연수)개의 감정 항목들에 대한 정보가 기록되어 있는 감정 항목 테이블을 저장하여 유지하는 단계;
상기 복수의 기호 조합들과 상기 복수의 기호 조합들 각각의 상기 k개의 감정 항목들 각각에 대한 사전 설정된 점수가 기록되어 있는 점수 테이블을 저장하여 유지하는 단계;
상기 전자 장치의 사용자에 의해 상기 전자 장치에 설치되어 있는 채팅 애플리케이션이 실행됨에 따라, 채팅 기능이 실행되면, 채팅 상대방의 단말로부터 채팅 메시지가 수신될 때마다, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지에 대한 표현을 해석하기 위한 표현 해석 이벤트를 발생시키는 단계;
상기 표현 해석 이벤트가 발생되면, 상기 기호 조합 테이블을 참조하여, 상기 복수의 기호 조합들 중, 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합이 존재하는지 여부를 확인하는 단계;
상기 복수의 기호 조합들 중 상기 채팅 상대방의 단말로부터 수신된 채팅 메시지 내에 포함되어 있는 기호 조합으로, 적어도 하나의 제1 기호 조합이 존재하는 것으로 확인되면, 상기 기호 조합 테이블로부터 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 추출한 후, 상기 전자 장치의 화면 상에 표시되고 있는 채팅 메시지 내에서, 상기 적어도 하나의 제1 기호 조합 각각의 인접 지점에 상기 적어도 하나의 제1 기호 조합 각각에 대한 해석 정보를 부가하여 표시하는 단계;
상기 채팅 상대방의 단말로부터 수신되는 채팅 메시지가 n(n은 2이상의 자연수)개가 될 때마다, 상기 채팅 상대방의 단말로부터 수신된 n개의 채팅 메시지들에 대한 감정을 분석하기 위한 감정 분석 이벤트를 발생시키는 단계;
상기 감정 분석 이벤트가 발생되면, 상기 점수 테이블을 참조하여, 상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합을 추출하는 단계;
상기 n개의 채팅 메시지들로부터 상기 복수의 기호 조합들 중에 포함되는 기호 조합으로 t(t는 자연수)개의 기호 조합들이 추출되면, 상기 점수 테이블로부터 상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 확인하는 단계;
상기 t개의 기호 조합들의 상기 k개의 감정 항목들 각각에 대한 점수를 기초로 상기 k개의 감정 항목들 각각에 대한 감정 지수를 연산하는 단계; 및
상기 k개의 감정 항목들 중 상기 감정 지수가 최대인 제1 감정 항목을 선택한 후, 상기 채팅 상대방의 현재 감정 상태가 상기 제1 감정 항목에 따른 감정 상태임을 안내하는 안내 메시지를 화면 상에 표시하는 단계
를 포함하고,
상기 감정 지수를 연산하는 단계는
상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수를 성분으로 갖는 t차원의 벡터를 구성함으로써, 상기 k개의 감정 항목들 각각에 대응되는 t차원의 감정 벡터를 생성하는 단계; 및
상기 k개의 감정 항목들 각각에 대응되는 감정 벡터의 유클리드 노름(Euclidean Norm)을 상기 k개의 감정 항목들 각각에 대응되는 감정 지수로 연산하는 단계
를 포함하는 전자 장치의 동작 방법.
A method of operating an electronic device providing a chatting function based on expression analysis,
storing and maintaining a symbol combination table in which a plurality of different symbol combinations composed of combinations of one or more symbols and preset interpretation information for expressions each of the plurality of symbol combinations are recorded are recorded;
storing and maintaining an emotion item table in which information on k different (k is a natural number equal to or greater than 2) number of preset emotion items is recorded;
storing and maintaining a score table in which the plurality of symbol combinations and preset scores for each of the k emotion items of each of the plurality of symbol combinations are recorded;
When the 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 party's terminal, the chatting message received from the chatting party's terminal Generating an expression interpretation event for interpreting an expression for ;
checking whether a symbol combination included in a chatting message received from a terminal of the chatting counterpart exists among the plurality of symbol combinations by referring to the symbol combination table when the expression analysis event occurs;
Among the plurality of symbol combinations, when it is determined that at least one first symbol combination exists among the symbol combinations included in the chatting message received from the chatting counterpart's terminal, the at least one first symbol combination is obtained from the symbol combination table. After extracting interpretation information for each symbol combination, in a chat message displayed on the screen of the electronic device, the at least one first symbol combination is displayed at an adjacent point of each of the at least one first symbol combination. Displaying by adding analysis information;
Whenever the number of chatting messages received from the chatting counterpart's terminal is n (n is a natural number equal to or greater than 2), an emotion analysis event is generated to analyze the emotions of the n chatting messages received from the chatting counterpart's terminal. step;
extracting a symbol combination included in the plurality of symbol combinations from the n chatting messages by referring to the score table when the emotion analysis event occurs;
When t (t is a natural number) number of symbol combinations are extracted as symbol combinations included among the plurality of symbol combinations from the n chatting messages, each of the k emotion items of the t symbol combinations from the score table Checking the score for;
calculating an emotional index for each of the k emotion items based on a score for each of the k emotion items of the t symbol combinations; and
After selecting a first emotion item having the largest emotional index among the k emotion items, displaying a guide message on the screen informing that the chatting partner's current emotional state is based on the first emotion item.
including,
Calculating the emotion index
Generating a t-dimensional emotion vector corresponding to each of the k emotion items by constructing a t-dimensional vector having as components a score for each emotion item of the t symbol combinations for each of the k emotion items. step; and
calculating a 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.
삭제delete 삭제delete 제6항에 있어서,
상기 안내 메시지가 화면 상에 표시된 이후, 상기 k개의 감정 항목들 각각에 대해, 상기 t개의 기호 조합들의 감정 항목별 점수의 평균을 연산함으로써, 상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 생성하는 단계;
상기 k개의 감정 항목들 각각에 대응되는 평균 점수 값을 성분으로 갖는 k차원의 평균 점수 벡터를 생성하는 단계;
상기 점수 테이블을 참조하여, 상기 복수의 기호 조합들 각각에 대해, 각 기호 조합의 상기 k개의 감정 항목들 각각에 대한 점수를 성분으로 갖는 k차원의 벡터를 구성함으로써, 상기 복수의 기호 조합들 각각에 대응되는 k차원의 점수 벡터를 생성하는 단계;
상기 평균 점수 벡터와, 상기 복수의 기호 조합들 각각에 대응되는 점수 벡터 간의 유클리드 거리(Euclidean Distance)를 연산하는 단계; 및
상기 복수의 기호 조합들 중 상기 유클리드 거리가 작은 순서대로 p(p는 2이상의 자연수)개의 기호 조합들을 선택하여 상기 p개의 기호 조합들을 목록으로 구성한 후, 채팅 메시지에 입력할 추천 기호 조합에 대한 정보로 상기 목록을 화면 상에 표시하는 단계
를 더 포함하는 전자 장치의 동작 방법.
According to claim 6,
After the guide message is displayed on the screen, for each of the k emotion items, an average score value corresponding to each of the k emotion items is calculated by calculating an average of scores for each emotion item of the t symbol combinations. generating;
generating a k-dimensional mean score vector having mean score values corresponding to each of the k emotion items as components;
With reference to the score table, for each of the plurality of symbol combinations, a k-dimensional vector having a score for each of the k emotion items of each symbol combination as a component is constructed, so that 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 score vectors corresponding to each of the plurality of symbol combinations; and
Information on recommended symbol combinations to be input to a chatting message after p (p is a natural number of 2 or more) number of symbol combinations are selected from among the plurality of symbol combinations in order of small Euclidean distance to form a list of the p number of symbol combinations. displaying the list on the screen with
Method of operating an electronic device further comprising a.
제9항에 있어서,
상기 목록을 화면 상에 표시하는 단계는
상기 목록이 구성되면, 상기 목록에 포함된 상기 p개의 기호 조합들 중 상기 제1 감정 항목에 대한 점수가 최대인 제1 기호 조합을 선정한 후, 상기 목록에서 상기 제1 기호 조합의 글꼴 서식을 우선 추천 대상인 기호 조합임을 나타내기 위한 사전 설정된 강조 서식으로 적용하고, 나머지 기호 조합들의 글꼴 서식을 사전 설정된 기본 서식으로 적용한 후, 글꼴 서식의 적용이 완료된 상기 목록을 화면 상에 표시하는 전자 장치의 동작 방법.
According to claim 9,
The step of displaying the list on the screen is
When the list is configured, after selecting the first symbol combination having the maximum score for the first emotion item among the p symbol combinations included in the list, the font format of the first symbol combination is given priority in the list. A method of operating an electronic device that applies a preset emphasis format to indicate that it is a recommended symbol combination, applies the font format of the remaining symbol combinations as a preset basic format, and then displays the list to which the font format has been applied on the screen. .
제6항, 제9항 또는 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6, 9 or 10 through a combination with a computer. 제6항, 제9항 또는 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6, 9 or 10 through a 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 KR20220144491A (en) 2022-10-27
KR102500732B1 true 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 (1)

* 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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120109943A (en) * 2011-03-28 2012-10-09 가톨릭대학교 산학협력단 Emotion classification method for analysis of emotion immanent in sentence
KR102108129B1 (en) * 2013-09-25 2020-05-07 에스케이텔레콤 주식회사 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 (1)

* 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

Also Published As

Publication number Publication date
KR20220144491A (en) 2022-10-27

Similar Documents

Publication Publication Date Title
US20220230374A1 (en) User interface for generating expressive content
US10056095B2 (en) Emotion detection in voicemail
US9589200B2 (en) Handwriting input conversion apparatus, computer-readable medium, and conversion method
US20170169822A1 (en) Dialog text summarization device and method
US9348808B2 (en) Content-based automatic input protocol selection
US20040082839A1 (en) System and method for mood contextual data output
US8862462B2 (en) Dynamic method for emoticon translation
KR102081229B1 (en) Apparatus and method for outputting image according to text input in real time
KR20140105841A (en) Systems and methods for identifying and suggesting emoticons
US11593436B2 (en) Information provision device, information provision method, and program
US20150067538A1 (en) Apparatus and method for creating editable visual object
CN104994000A (en) Method and device for dynamic presentation of image
KR102466725B1 (en) Electronic apparatus that provides the chat function based on sentiment analysis and operating method thereof
JP6373243B2 (en) Information processing apparatus, information processing method, and information processing program
KR102500732B1 (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
US20180300021A1 (en) Text input system with correction facility
CN111680497B (en) Session recognition model training method and device
JP2005182368A (en) Expression image estimating device, expression image estimating method and its program
CN107908792B (en) Information pushing method and device
JP2010102564A (en) Emotion specifying device, emotion specification method, program, and recording medium
CN115936016A (en) Emotion theme recognition method, device, equipment and medium based on conversation
KR101628956B1 (en) Method of generating emotion expressing text and apparatus thereof
KR102072708B1 (en) A method and computer program for inferring genre of a text contents
JP5013539B2 (en) Emoticon detection apparatus, method, program and recording medium

Legal Events

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