KR20230065135A - Optical character recognition method of hangul - Google Patents

Optical character recognition method of hangul Download PDF

Info

Publication number
KR20230065135A
KR20230065135A KR1020220059489A KR20220059489A KR20230065135A KR 20230065135 A KR20230065135 A KR 20230065135A KR 1020220059489 A KR1020220059489 A KR 1020220059489A KR 20220059489 A KR20220059489 A KR 20220059489A KR 20230065135 A KR20230065135 A KR 20230065135A
Authority
KR
South Korea
Prior art keywords
image
area
text
character
electronic device
Prior art date
Application number
KR1020220059489A
Other languages
Korean (ko)
Inventor
홍진
박주현
이서현
이채현
Original Assignee
홍진
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 홍진 filed Critical 홍진
Priority to KR1020220059489A priority Critical patent/KR20230065135A/en
Publication of KR20230065135A publication Critical patent/KR20230065135A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/18Extraction of features or characteristics of the image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • User Interface Of Digital Computer (AREA)
  • Entrepreneurship & Innovation (AREA)

Abstract

The present invention relates to an optical character recognition method of hangul provided by embodiments of the present invention, which may facilitate character learning of infants. In the optical character recognition method of hangul according to embodiments of the present invention, an electronic device comprises: a touch display; and a database in which a plurality of single-letter images classified into a consonant, a vowel, and a final consonant, and Unicode data corresponding to each of the single-letter images are stored. The optical character recognition method of Hangul comprises: receiving a target text image; generating a text area image and coordinating data of the text area image in the target text image by using a text detection model; and recognizing a character string corresponding to the target text image in the text area image by using a text recognition model. The text recognition model may be configured to: divide the text area image into first to fourth sections; divide different weights to each of the first to fourth sections; calculate a concordance rate with any one of the text area images, which is included in one or more of the first to fourth sections, or the single letter image by considering each of the weights; recognize one or more single letters included in the text area image based on the concordance rate; and output a character string corresponding to the target text image based on the recognized single letter and the coordinate data.

Description

한글의 광학 문자 인식 방법{OPTICAL CHARACTER RECOGNITION METHOD OF HANGUL}Optical Character Recognition Method of Hangul {OPTICAL CHARACTER RECOGNITION METHOD OF HANGUL}

본 발명은 한글의 광학 문자 인식 방법에 관한 것이다.The present invention relates to a method for optical character recognition of Hangul.

문자의 이미지를 전자적 또는 기계적으로 변환해주는 광학 문자 인식(Optical Character Recognition) 기술에는 문자의 패턴을 배열 형태로 분류해 원형의 패턴과 비교하여 유사한 형태를 찾아내는 방법(Template matching), 통계적 방법(Statistical), 구조 분석적 방법(Structural analysis) 등을 거쳐 현재 인공 신경망(Neural network)을 이용하는 방법까지 발전해왔다.Optical Character Recognition technology, which converts character images electronically or mechanically, classifies character patterns into arrays and compares them with circular patterns to find similar shapes (Template matching), statistical method (Statistical) , structural analysis, etc. have been developed to the current method using artificial neural networks.

또한, 최근 IP TV, 태블릿 PC, 스마트폰 등과 같은 다양한 영상 출력기기가 생산되고, 그 보급률이 급속도로 높아짐에 따라 유아가 쉽게 접근할 수 있고 유아에게 흥미를 유발할 수 있는 문자 학습 어플리케이션이 출시되고 있다.In addition, as various video output devices such as IP TVs, tablet PCs, and smart phones have recently been produced, and their penetration rates are rapidly increasing, text learning applications that are easily accessible to young children and can arouse interest in them are being released. .

유아의 문자 학습 방법에 있어서, 유아가 영상 출력기기의 터치 가능한 디스플레이에 직접 글씨를 작성하여 문제에 대한 답을 입력하고 정답과 비교하는 방식이 일반적으로 이용된다. 그러나, 아직 한글을 제대로 배우지 않은 유아의 글씨는 광학 문자 인식률이 매우 낮다. 또한, 한글 음절 중 종성이 포함된 음절의 경우, 광학 문자 인식률은 더 낮은 것으로 알려져 있다. In the text learning method of infants, a method in which infants write letters directly on a touchable display of a video output device to input an answer to a problem and compare it with the correct answer is generally used. However, the optical character recognition rate is very low for children who have not yet properly learned Korean. In addition, it is known that the optical character recognition rate is lower in the case of syllables including final consonants among Korean syllables.

일 실시예에 따르면, 문자 인식률을 향상시킨 광학 문자 인식 기술을 이용한 한글의 광학 문자 인식 방법을 제공한다.According to an embodiment, a Korean optical character recognition method using an optical character recognition technology with improved character recognition rate is provided.

본 발명이 해결하고자 하는 기술적 과제들은 이상에서 언급한 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 이하 설명할 다양한 실시예들로부터 당해 기술분야에서 통상의 지식을 가진 자에 의해 고려될 수 있다.The technical problems to be solved by the present invention are not limited to the above-mentioned problems, and other technical problems not mentioned will be considered by those skilled in the art from various embodiments to be described below. can

상기 과제를 해결하기 위한 본 발명의 일 실시예에 따른 한글의 광학 문자 인식 방법은, 상기 전자 장치는, 터치 디스플레이; 초성 이미지, 중성 이미지, 종성 이미지로 분류되는 복수의 낱자 이미지와, 상기 낱자 이미지 각각에 대응하는 유니코드 데이터가 저장된 데이터베이스;를 포함하고, 상기 터치 디스플레이에 의해, 대상 글자 이미지를 입력받고, 글자 영역 탐지(text detection) 모델을 이용하여, 상기 대상 글자 이미지에서, 글자 영역 이미지와, 상기 글자 영역 이미지의 좌표 데이터를 생성하고, 글자 인식(text recognition) 모델을 이용하여, 상기 글자 영역 이미지에서, 상기 대상 글자 이미지에 대응하는 문자열을 인식하는 것을 포함하되, 상기 글자 인식 모델은, 상기 글자 영역 이미지를 제1 구역, 제2 구역, 제3 구역, 제4 구역으로 분할하고, 상기 제1 구역 내지 제4 구역 각각에 서로 다른 가중치를 부여하고, 상기 각각의 가중치를 고려하여, 상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 낱자 이미지 중 어느 하나와의 일치율을 계산하고, 상기 일치율을 기초로, 상기 글자 영역 이미지에 포함된 하나 이상의 낱자를 인식하고, 상기 인식한 낱자와 상기 좌표 데이터를 기초로 상기 대상 글자 이미지에 대응하는 문자열을 출력할 수 있다.In the optical character recognition method of Hangul according to an embodiment of the present invention for solving the above problem, the electronic device includes: a touch display; A database storing a plurality of word images classified as initial images, neutral images, and final words images, and Unicode data corresponding to each of the letter images, and receiving target character images by the touch display, and a character area A text area image and coordinate data of the text area image are generated in the target text image using a text detection model, and in the text area image, using a text recognition model, the coordinate data of the text area image is generated. and recognizing a character string corresponding to the target character image, wherein the character recognition model divides the character area image into a first region, a second region, a third region, and a fourth region, and the first to fourth regions. Different weights are given to each of the 4 zones, and a matching rate between the character area image included in at least one of the first to fourth zones and any one of the letter images is calculated in consideration of the respective weights Based on the matching rate, one or more characters included in the character area image may be recognized, and a character string corresponding to the target character image may be output based on the recognized characters and the coordinate data.

상기 글자 영역 탐지 모델은, 특징 추출(feature extraction) 레이어를 포함하고, 상기 특징 추출 레이어는, 상기 대상 글자 이미지를 입력받고, 상기 대상 글자 이미지에 기초하여, 복수의 특징 지도(feature map)를 생성하고, 상기 복수의 특징 지도 각각에 글자가 존재하는지를 판단하여, 상기 복수의 특징 지도 각각에 특징 점수를 부여하고, 상기 복수의 특징 지도 각각의 좌표 데이터, 상기 복수의 특징 지도 각각의 회전각, 및 상기 특징 점수에 기초하여 상기 글자 영역 이미지를 출력할 수 있다.The character region detection model includes a feature extraction layer, and the feature extraction layer receives the target character image and generates a plurality of feature maps based on the target character image. determining whether a character exists in each of the plurality of feature maps, assigning a feature score to each of the plurality of feature maps, coordinate data of each of the plurality of feature maps, rotation angle of each of the plurality of feature maps, and The character area image may be output based on the feature score.

상기 글자 영역 이미지는, 상기 대상 글자 이미지에 포함된 단음절의 글자 이미지가 포함되는 정사각형 모양이고, 상기 제1 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 우상단의 정사각형과 대응하고, 상기 제2 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 좌상단의 정사각형과 대응하고, 상기 제3 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 좌하단의 정사각형과 대응하고, 상기 제4 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 우하단의 정사각형과 대응할 수 있다.The text area image has a square shape including a single syllable character image included in the target text image, and the first area is a square at the upper right of the squares generated by dividing the text area image into four equal-sized squares. , the second area corresponds to an upper left square among squares generated by dividing the text area image into squares of the same size, and the third area is formed by dividing the text area image into squares of the same size. It corresponds to a lower left square among squares generated by dividing into quarters, and the fourth area may correspond to a lower right square among squares generated by dividing the text area image into squares of the same size.

상기 제1 구역 내지 제4 구역에 각각 다른 가중치를 부여하는 것은, 상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 낱자 이미지 중 초성 이미지의 일치율을 계산하는 경우, 상기 제2 구역에 가장 높은 가중치를 부여하고, 상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 낱자 이미지 중 종성 이미지와의 일치율을 계산하는 경우, 상기 제3 구역 및 제4 구역에 상기 제1 구역 및 제2 구역보다 높은 가중치를 부여할 수 있다.Giving different weights to the first to fourth areas is to calculate the matching rate between the letter area image included in at least one of the first to fourth areas and the initial letter image among the letter images, When the highest weight is given to the second area and the matching rate between the character area image included in at least one of the first to fourth areas and the final image among the word images is calculated, the third area and a higher weight than the first and second zones may be assigned to the fourth zone.

상기 글자 인식 모델은, 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함하고, 상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지, 상기 일치율, 및 정답 낱자 이미지로 구성된 복수의 학습 데이터는 상기 글자 인식 모델의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터를 출력하고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실 함수를 이용하여 손실값을 출력하고, 상기 글자 인식 모델의 파라미터는 상기 손실값이 작아지는 방향으로 학습되고,The character recognition model includes an input layer, one or more hidden layers, and an output layer, and includes a plurality of character area images included in at least one of the first to fourth areas, the matching rate, and a correct word image. Learning data is input to the input layer of the character recognition model and passes through the one or more hidden layers and output layers to output an output vector, the output vector is input to a loss function layer connected to the output layer, and the loss function The layer outputs a loss value using a loss function that compares the output vector with the correct answer vector for each learning data, and the parameter of the character recognition model is learned in a direction in which the loss value becomes smaller,

[수학식][mathematical expression]

Figure pat00001
Figure pat00001

상기 손실 함수는 상기 수학식을 따르고, 상기 수학식에서, N은 상기 복수의 학습 데이터의 수, n은 학습 데이터를 식별하는 자연수, k는 n번째 학습 데이터의 값을 식별하는 자연수, nk는 n번째 학습 데이터의 k번째 값을 의미하고, t는 정답 낱자 이미지를 의미하고, y는 상기 출력 벡터를 의미하고, E는 손실값을 의미할 수 있다.The loss function follows the above equation, where N is the number of the plurality of training data, n is a natural number identifying the learning data, k is a natural number identifying the value of the nth learning data, nk is the nth It may mean the kth value of training data, t may mean the correct word image, y may mean the output vector, and E may mean the loss value.

본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.

일 실시예에 따르면, 유아 학습용 전자 장치의 광학 문자 인식 방법은, 유아가 터치 디스플레이를 이용해 입력한 글씨를 높은 광학 문자 인식률을 통해 정확히 인식함으로써, 유아의 문자 학습이 원활하게 진행될 수 있도록 할 수 있다.According to an embodiment, an optical character recognition method of an electronic device for learning of young children can accurately recognize letters input by the child using a touch display through a high optical character recognition rate, so that the child's character learning can proceed smoothly. .

실시예들로부터 얻을 수 있는 효과들은 이상에서 언급된 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 이하의 상세한 설명을 기반으로 당해 기술분야에서 통상의 지식을 가진 자에게 명확하게 도출되고 이해될 수 있다.Effects obtainable from the embodiments are not limited to the effects mentioned above, and other effects not mentioned are clearly derived and understood by those skilled in the art based on the detailed description below. It can be.

실시예들에 대한 이해를 돕기 위해 상세한 설명의 일부로 포함된, 첨부 도면은 다양한 실시예들을 제공하고, 상세한 설명과 함께 다양한 실시예들의 기술적 특징을 설명한다.
도 1은 일 실시예에 따른 전자 장치의 구성을 나타내는 도면이다.
도 2는 일 실시예에 따른 프로그램의 구성을 나타내는 도면이다.
도 3은 일 실시예에 따른 유아 학습용 전자 장치를 나타내는 블록도이다.
도 4는 도 3의 데이터베이스를 나타내는 도면이다.
도 5는 일 실시예에 따른 유아 학습 과정을 나타내는 흐름도이다.
도 6은 터치 디스플레이에 표시되는 제1 디스플레이 화면을 나타내는 도면이다.
도 7 및 도 8은 터치 디스플레이에 표시되는 제2 디스플레이 화면을 나타내는 도면이다.
도 9는 터치 디스플레이에 표시되는 제3 디스플레이 화면을 나타내는 도면이다.
도 10은 도 8의 사용자 입력 구역을 확대한 도면이다.
도 11은 도 5의 S140을 설명하기 위한 흐름도이다.
도 12는 도 11의 제1 글자 영역 이미지를 확대한 도면이다.
BRIEF DESCRIPTION OF THE DRAWINGS Included as part of the detailed description to aid understanding of the embodiments, the accompanying drawings provide various embodiments and, together with the detailed description, describe technical features of the various embodiments.
1 is a diagram illustrating a configuration of an electronic device according to an exemplary embodiment.
2 is a diagram showing the configuration of a program according to an embodiment.
3 is a block diagram illustrating an electronic device for early childhood learning according to an exemplary embodiment.
FIG. 4 is a diagram illustrating the database of FIG. 3 .
5 is a flowchart illustrating a preschool learning process according to an embodiment.
6 is a diagram illustrating a first display screen displayed on a touch display.
7 and 8 are diagrams illustrating a second display screen displayed on a touch display.
9 is a diagram illustrating a third display screen displayed on a touch display.
FIG. 10 is an enlarged view of the user input area of FIG. 8 .
FIG. 11 is a flowchart for explaining S140 of FIG. 5 .
FIG. 12 is an enlarged view of the first letter area image of FIG. 11 .

이하의 실시예들은 실시예들의 구성요소들과 특징들을 소정 형태로 결합한 것들이다. 각 구성요소 또는 특징은 별도의 명시적 언급이 없는 한 선택적인 것으로 고려될 수 있다. 각 구성요소 또는 특징은 다른 구성요소나 특징과 결합되지 않은 형태로 실시될 수 있다. 또한, 일부 구성요소들 및/또는 특징들을 결합하여 다양한 실시예들을 구성할 수도 있다. 다양한 실시예들에서 설명되는 동작들의 순서는 변경될 수 있다. 어느 실시예의 일부 구성이나 특징은 다른 실시예에 포함될 수 있고, 또는 다른 실시예의 대응하는 구성 또는 특징과 교체될 수 있다.The following embodiments combine elements and features of the embodiments in a predetermined form. Each component or feature may be considered optional unless explicitly stated otherwise. Each component or feature may be implemented in a form not combined with other components or features. In addition, various embodiments may be configured by combining some components and/or features. The order of operations described in various embodiments may be changed. Some components or features of one embodiment may be included in another embodiment, or may be replaced with corresponding components or features of another embodiment.

도면에 대한 설명에서, 다양한 실시예들의 요지를 흐릴 수 있는 절차 또는 단계 등은 기술하지 않았으며, 당해 기술분야에서 통상의 지식을 가진 자의 수준에서 이해할 수 있을 정도의 절차 또는 단계는 또한 기술하지 아니하였다.In the description of the drawings, procedures or steps that may obscure the gist of various embodiments are not described, and procedures or steps that can be understood by those skilled in the art are not described. did

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함(comprising 또는 including)"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, "일(a 또는 an)", "하나(one)", "그(the)" 및 유사 관련어는 다양한 실시예들을 기술하는 문맥에 있어서(특히, 이하의 청구항의 문맥에서) 본 명세서에 달리 지시되거나 문맥에 의해 분명하게 반박되지 않는 한, 단수 및 복수 모두를 포함하는 의미로 사용될 수 있다.Throughout the specification, when a part is said to "comprising" or "including" a certain element, it means that it may further include other elements, not excluding other elements, unless otherwise stated. do. Also, “a or an”, “one”, “the” and like terms are used herein in the context of describing various embodiments (particularly in the context of the claims below). Unless otherwise indicated or clearly contradicted by context, both the singular and the plural can be used.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미하며, 하나 또는 그 이상의 다른 특징이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case where it is "directly connected" but also the case where it is "electrically connected" with another element interposed therebetween. . In addition, when a part "includes" a certain component, this means that it may further include other components, not excluding other components, unless otherwise stated, and one or more other characteristics. However, it should be understood that it does not preclude the possibility of existence or addition of numbers, steps, operations, components, parts, or combinations thereof.

본 명세서에 있어서 '부(部)'란, 하드웨어에 의해 실현되는 유닛(unit), 소프트웨어에 의해 실현되는 유닛, 양방을 이용하여 실현되는 유닛을 포함한다. 또한, 1 개의 유닛이 2 개 이상의 하드웨어를 이용하여 실현되어도 되고, 2 개 이상의 유닛이 1 개의 하드웨어에 의해 실현되어도 된다. 한편, '~부'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니며, '~부'는 어드레싱 할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '~부'는 소프트웨어 구성요소들, 객체 지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 및 변수들을 포함한다. 구성요소들과 '~부'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '~부'들로 결합되거나 추가적인 구성요소들과 '~부'들로 더 분리될 수 있다. 뿐만 아니라, 구성요소들 및 '~부'들은 디바이스 또는 보안 멀티미디어카드 내의 하나 또는 그 이상의 CPU들을 재생시키도록 구현될 수도 있다.In this specification, a "unit" includes a unit realized by hardware, a unit realized by software, and a unit realized using both. Further, one unit may be realized using two or more hardware, and two or more units may be realized by one hardware. On the other hand, '~ unit' is not limited to software or hardware, and '~ unit' may be configured to be in an addressable storage medium or configured to reproduce one or more processors. Thus, as an example, '~unit' refers to components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, and procedures. , subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays and variables. Functions provided within components and '~units' may be combined into smaller numbers of components and '~units' or further separated into additional components and '~units'. In addition, components and '~units' may be implemented to play one or more CPUs in a device or a secure multimedia card.

본 명세서에 있어서 단말, 장치 또는 디바이스가 수행하는 것으로 기술된 동작이나 기능 중 일부는 해당 단말, 장치 또는 디바이스와 연결된 서버에서 대신 수행될 수도 있다. 이와 마찬가지로, 서버가 수행하는 것으로 기술된 동작이나 기능 중 일부도 해당 서버와 연결된 단말, 장치 또는 디바이스에서 수행될 수도 있다. In this specification, some of the operations or functions described as being performed by a terminal, device, or device may be performed instead by a server connected to the terminal, device, or device. Likewise, some of the operations or functions described as being performed by the server may also be performed by a terminal, apparatus, or device connected to the server.

본 명세서에서 있어서, 단말과 매핑(Mapping) 또는 매칭(Matching)으로 기술된 동작이나 기능 중 일부는, 단말의 식별 정보(Identifying Data)인 단말기의 고유번호나 개인의 식별정보를 매핑 또는 매칭한다는 의미로 해석될 수 있다.In this specification, some of the operations or functions described as mapping or matching with the terminal mean mapping or matching the terminal's unique number or personal identification information, which is the terminal's identifying data. can be interpreted as

또한, 본 명세서에서 블록체인이란, 블록 생성시 신규 거래기록이 모든 노드에 분산 저장되는 기술로서, 거래의 모든 당사자가 거래 장부를 분리 보관함으로써 거래의 투명성을 확보하는 분산형 데이터베이스 관리시스템(DBMS)을 의미한다. 데이터베이스의 기저를 형성하는 스마트 계약(Smart Contraction)은 합의 프로세스를 자동화한 컴퓨터 프로그램이며, 코드가 곧 법칙(Code is law)이라는 코드원칙에 따라 코드에 적힌 계약조건이 만족되면 그 즉시 성립되는 체계이다.In addition, in this specification, blockchain is a technology in which new transaction records are distributed and stored in all nodes when a block is created, and a distributed database management system (DBMS) that secures transparency of transactions by all parties in the transaction separately storing the transaction ledger. means Smart Contract, which forms the basis of the database, is a computer program that automates the agreement process, and is a system that is established immediately when the contract conditions written in the code are satisfied according to the code principle that code is law. .

이하, 다양한 실시예들에 따른 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 다양한 실시예들의 예시적인 실시형태를 설명하고자 하는 것이며, 유일한 실시형태를 나타내고자 하는 것이 아니다.Hereinafter, embodiments according to various embodiments will be described in detail with reference to the accompanying drawings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The detailed description set forth below in conjunction with the accompanying drawings is intended to describe exemplary embodiments of various embodiments, and is not intended to represent a single embodiment.

또한, 다양한 실시예들에서 사용되는 특정(特定) 용어들은 다양한 실시예들의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 다양한 실시예들의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다.In addition, specific terms used in various embodiments are provided to help understanding of various embodiments, and the use of these specific terms may be changed into other forms without departing from the technical spirit of various embodiments. .

도 1은 일 실시예에 따른 전자 장치의 구성을 나타내는 도면이다.1 is a diagram illustrating a configuration of an electronic device according to an exemplary embodiment.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다. 전자 장치(101)는 클라이언트, 단말기 또는 피어로 지칭될 수도 있다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be. The electronic device 101 may also be referred to as a client, terminal, or peer.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

서버(108)는 전자 장치(101)가 접속되며, 접속된 전자 장치(101)로 서비스를 제공할 수 있다. 또한, 서버(108)는 회원 가입 절차를 진행하여 그에 따라 회원으로 가입된 사용자의 각종 정보를 저장하여 관리하고, 서비스에 관련된 각종 구매 및 결제 기능을 제공할 수도 있다. 또한, 서버(108)는, 사용자 간에 서비스를 공유할 수 있도록, 복수의 전자 장치(101) 각각에서 실행되는 서비스 애플리케이션의 실행 데이터를 실시간으로 공유할 수도 있다. 이러한 서버(108)는 하드웨어적으로는 통상적인 웹 서버(Web Server) 또는 왑 서버(WAP Server)와 동일한 구성을 가질 수 있다. 그러나, 소프트웨어적으로는, C, C++, Java, Visual Basic, Visual C 등 여하한 언어를 통하여 구현되어 여러 가지 기능을 하는 프로그램 모듈(Module)을 포함할 수 있다. 또한, 서버(108)는 일반적으로 인터넷과 같은 개방형 컴퓨터 네트워크를 통하여 불특정 다수 클라이언트 및/또는 다른 서버와 연결되어 있고, 클라이언트 또는 다른 서버의 작업수행 요청을 접수하고 그에 대한 작업 결과를 도출하여 제공하는 컴퓨터 시스템 및 그를 위하여 설치되어 있는 컴퓨터 소프트웨어(서버 프로그램)를 뜻하는 것이다. 또한, 서버(108)는, 전술한 서버 프로그램 이외에도, 서버(108) 상에서 동작하는 일련의 응용 프로그램(Application Program)과 경우에 따라서는 내부 또는 외부에 구축되어 있는 각종 데이터베이스(DB: Database, 이하 "DB"라 칭함)를 포함하는 넓은 개념으로 이해되어야 할 것이다. 따라서, 서버(108)는, 회원 가입 정보와, 게임에 대한 각종 정보 및 데이터를 분류하여 DB에 저장시키고 관리하는데, 이러한 DB는 서버(108)의 내부 또는 외부에 구현될 수 있다. 또한, 서버(108)는, 일반적인 서버용 하드웨어에 도스(DOS), 윈도우(windows), 리눅스(Linux), 유닉스(UNIX), 매킨토시(Macintosh) 등의 운영체제에 따라 다양하게 제공되고 있는 서버 프로그램을 이용하여 구현될 수 있으며, 대표적인 것으로는 윈도우 환경에서 사용되는 웹사이트(Website), IIS(Internet Information Server)와 유닉스환경에서 사용되는 CERN, NCSA, APPACH등이 이용될 수 있다. 또한, 서버(108)는, 서비스의 사용자 인증이나 서비스와 관련된 구매 결제를 위한 인증 시스템 및 결제 시스템과 연동할 수도 있다.The server 108 is connected to the electronic device 101 and can provide a service to the connected electronic device 101 . In addition, the server 108 may proceed with a membership sign-up procedure, store and manage various types of information of users subscribed as members, and provide various purchase and payment functions related to services. In addition, the server 108 may share execution data of service applications executed in each of the plurality of electronic devices 101 in real time so that the service can be shared among users. This server 108 may have the same configuration as a conventional web server or WAP server in terms of hardware. However, in terms of software, it may include a program module that is implemented through any language such as C, C++, Java, Visual Basic, or Visual C and performs various functions. In addition, the server 108 is generally connected to an unspecified number of clients and/or other servers through an open computer network such as the Internet, and receives requests from clients or other servers to perform tasks and derives and provides work results. It means a computer system and the computer software (server program) installed for it. In addition, the server 108, in addition to the above-described server program, a series of application programs operating on the server 108 and various databases (DB: Database, hereinafter referred to as It should be understood as a broad concept including DB"). Accordingly, the server 108 classifies member registration information and various information and data about games, stores them in a DB, and manages them. This DB may be implemented inside or outside the server 108 . In addition, the server 108 uses a server program provided in various ways according to operating systems such as DOS, Windows, Linux, UNIX, and Macintosh in general server hardware. As a representative example, a website used in a Windows environment, Internet Information Server (IIS), and CERN, NCSA, APPACH, etc. used in a Unix environment can be used. In addition, the server 108 may interoperate with an authentication system and a payment system for user authentication of services or payment for purchases related to services.

제1 네트워크(198) 및 제2 네트워크(199)는 단말들 및 서버들과 같은 각각의 노드 상호 간에 정보 교환이 가능한 연결 구조 또는 서버(108)와 전자 장치들(101, 104)을 연결하는 망(Network)을 의미한다. 제1 네트워크(198) 및 제2 네트워크(199)는 인터넷(Internet), LAN(Local Area Network), Wireless LAN(Wireless Local Area Network), WAN(Wide Area Network), PAN(Personal Area Network), 3G, 4G, LTE, 5G, Wi-Fi 등이 포함되나 이에 한정되지는 않는다. 제1 네트워크(198) 및 제2 네트워크(199)는 LAN, WAN 등의 폐쇄형 제1 네트워크(198) 및 제2 네트워크(199)일 수도 있으나, 인터넷(Internet)과 같은 개방형인 것이 바람직하다. 인터넷은 TCP/IP 프로토콜 및 그 상위계층에 존재하는 여러 서비스, 즉 HTTP(HyperText Transfer Protocol), Telnet, FTP(File Transfer Protocol), DNS(Domain Name System), SMTP(Simple Mail Transfer Protocol), SNMP(Simple Network Management Protocol), NFS(Network File Service), NIS(Network Information Service)를 제공하는 전 세계적인 개방형 컴퓨터 제1 네트워크(198) 및 제2 네트워크(199) 구조를 의미한다.The first network 198 and the second network 199 are a connection structure capable of exchanging information between nodes such as terminals and servers, or a network connecting the server 108 and the electronic devices 101 and 104. means (Network). The first network 198 and the second network 199 include Internet, Local Area Network (LAN), Wireless Local Area Network (Wireless Local Area Network), Wide Area Network (WAN), Personal Area Network (PAN), and 3G , 4G, LTE, 5G, Wi-Fi, etc., but are not limited thereto. The first network 198 and the second network 199 may be closed first networks 198 and second networks 199 such as LAN and WAN, but are preferably open such as the Internet. The Internet is based on the TCP/IP protocol and several services that exist on its upper layer, such as HTTP (HyperText Transfer Protocol), Telnet, FTP (File Transfer Protocol), DNS (Domain Name System), SMTP (Simple Mail Transfer Protocol), SNMP ( Simple Network Management Protocol), Network File Service (NFS), and Network Information Service (NIS).

데이터베이스는 데이터베이스 관리 프로그램(DBMS)을 이용하여 컴퓨터 시스템의 저장공간(하드디스크 또는 메모리)에 구현된 일반적인 데이터구조를 가질 수 가질 수 있다. 데이터베이스는 데이터의 검색(추출), 삭제, 편집, 추가 등을 자유롭게 행할 수 있는 데이터 저장형태를 가질 수 있다. 데이터베이스는 오라클(Oracle), 인포믹스(Infomix), 사이베이스(Sybase), DB2와 같은 관계형 데이타베이스 관리 시스템(RDBMS)이나, 겜스톤(Gemston), 오리온(Orion), O2 등과 같은 객체 지향 데이타베이스 관리 시스템(OODBMS) 및 엑셀론(Excelon), 타미노(Tamino), 세카이주(Sekaiju) 등의 XML 전용 데이터베이스(XML Native Database)를 이용하여 본 개시의 일 실시예의 목적에 맞게 구현될 수 있고, 자신의 기능을 달성하기 위하여 적당한 필드(Field) 또는 엘리먼트들을 가질 수 있다.The database may have a general data structure implemented in a storage space (hard disk or memory) of a computer system using a database management program (DBMS). The database may have a data storage form in which data can be freely searched for (extracted), deleted, edited, added, and the like. Databases are relational database management systems (RDBMS) such as Oracle, Informix, Sybase, and DB2, or object-oriented database management such as Gemston, Orion, and O2. It can be implemented according to the purpose of an embodiment of the present disclosure using a system (OODBMS) and XML Native Databases such as Excelon, Tamino, and Sekaiju, and its functions may have appropriate fields or elements to achieve.

도 2는 일 실시예에 따른 프로그램의 구성을 나타내는 도면이다.2 is a diagram showing the configuration of a program according to an embodiment.

도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신될 수 있다. 프로그램(140)의 전부 또는 일부는 뉴럴 네트워크를 포함할 수 있다. 2 is a block diagram 200 illustrating a program 140 according to various embodiments. According to one embodiment, the program 140 includes an operating system 142, middleware 144, or an application 146 executable in the operating system 142 for controlling one or more resources of the electronic device 101. can include The operating system 142 may include, for example, Android™, iOS™, Windows™, Symbian™, Tizen™, or Bada™. At least some of the programs 140 are, for example, preloaded in the electronic device 101 at the time of manufacture, or when used by a user, an external electronic device (eg, the electronic device 102 or 104), or a server ( 108)) can be downloaded or updated. All or part of program 140 may include a neural network.

운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.The operating system 142 may control management (eg, allocation or reclamation) of one or more system resources (eg, process, memory, or power) of the electronic device 101 . Operating system 142 may additionally or alternatively include other hardware devices of electronic device 101 , such as input module 150 , sound output module 155 , display module 160 , audio module 170 . , sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or It may include one or more driver programs for driving the antenna module 197.

미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. The middleware 144 may provide various functions to the application 146 so that the function or information provided from one or more resources of the electronic device 101 may be used by the application 146 . The middleware 144 includes, for example, the application manager 201, the window manager 203, the multimedia manager 205, the resource manager 207, the power manager 209, the database manager 211, and the package manager 213. ), connectivity manager 215, notification manager 217, location manager 219, graphics manager 221, security manager 223, call manager 225, or voice recognition manager 227. can

어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.The application manager 201 may manage the life cycle of the application 146 , for example. The window manager 203 may manage one or more GUI resources used in a screen, for example. The multimedia manager 205 identifies, for example, one or more formats necessary for reproducing media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done The resource manager 207 may manage a source code of the application 146 or a memory space of the memory 130 . The power manager 209 may manage, for example, the capacity, temperature, or power of the battery 189, and determine or provide related information necessary for the operation of the electronic device 101 by using corresponding information among them. . According to an embodiment, the power manager 209 may interoperate with a basic input/output system (BIOS) (not shown) of the electronic device 101 .

데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. The database manager 211 may create, search, or change a database to be used by the application 146, for example. The package manager 213 may manage installation or update of applications distributed in the form of package files, for example. The connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device. The notification manager 217 may provide a function for notifying a user of occurrence of a designated event (eg, an incoming call, message, or alarm), for example. The location manager 219 may manage location information of the electronic device 101, for example. The graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.

시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.Security manager 223 may provide system security or user authentication, for example. The telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 . The voice recognition manager 227 transmits, for example, the user's voice data to the server 108, and at least partially based on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, text data converted at least partially based on the voice data may be received from the server 108 . According to one embodiment, the middleware 244 may dynamically delete some existing components or add new components. According to one embodiment, at least part of the middleware 144 may be included as part of the operating system 142 or may be implemented as separate software different from the operating system 142 .

어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다. The application 146 includes, for example, a home 251, a dialer 253, an SMS/MMS 255, an instant message (IM) 257, a browser 259, a camera 261, and an alarm 263. , Contacts (265), Voice Recognition (267), Email (269), Calendar (271), Media Player (273), Albums (275), Watch (277), Health (279) (e.g. exercise or blood sugar) measurement of biometric information) or environmental information 281 (eg, measurement of atmospheric pressure, humidity, or temperature information). According to an embodiment, the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device. The information exchange application may include, for example, a notification relay application configured to transmit designated information (eg, a call, message, or alarm) to an external electronic device, or a device management application configured to manage an external electronic device. there is. The notification relay application, for example, transmits notification information corresponding to a designated event (eg, mail reception) generated in another application (eg, the email application 269) of the electronic device 101 to an external electronic device. can Additionally or alternatively, the notification relay application may receive notification information from an external electronic device and provide the notification information to the user of the electronic device 101 .

장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.The device management application is, for example, a power source (eg, turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some component thereof (eg, a display module or a camera module of the external electronic device). ) or functions (eg brightness, resolution, or focus). The device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.

본 명세서에 걸쳐, 뉴럴 네트워크(neural network), 신경망 네트워크, 네트워크 함수는, 동일한 의미로 사용될 수 있다. 뉴럴 네트워크는, 일반적으로 "노드"라 지칭될 수 있는 상호 연결된 계산 단위들의 집합으로 구성될 수 있다. 이러한 "노드"들은, "뉴런(neuron)"들로 지칭될 수도 있다. 뉴럴 네트워크는, 적어도 둘 이상의 노드들을 포함하여 구성된다. 뉴럴 네트워크들을 구성하는 노드(또는 뉴런)들은 하나 이상의 "링크"에 의해 상호 연결될 수 있다.Throughout this specification, a neural network, a neural network, and a network function may be used interchangeably. A neural network may consist of a set of interconnected computational units, which may be generally referred to as “nodes”. These “nodes” may also be referred to as “neurons”. A neural network includes at least two or more nodes. Nodes (or neurons) constituting neural networks may be interconnected by one or more “links”.

뉴럴 네트워크 내에서, 링크를 통해 연결된 둘 이상의 노드들은 상대적으로 입력 노드 및 출력 노드의 관계를 형성할 수 있다. 입력 노드 및 출력 노드의 개념은 상대적인 것으로서, 하나의 노드에 대하여 출력 노드 관계에 있는 임의의 노드는 다른 노드와의 관계에서 입력 노드 관계에 있을 수 있으며, 그 역도 성립할 수 있다. 전술한 바와 같이, 입력 노드 대 출력 노드 관계는 링크를 중심으로 생성될 수 있다. 하나의 입력 노드에 하나 이상의 출력 노드가 링크를 통해 연결될 수 있으며, 그 역도 성립할 수 있다.In a neural network, two or more nodes connected through a link may form a relative relationship of an input node and an output node. The concept of an input node and an output node is relative, and any node in an output node relationship with one node may have an input node relationship with another node, and vice versa. As described above, the input node to output node relationship can be created around the link. More than one output node can be connected to one input node through a link, and vice versa.

하나의 링크를 통해 연결된 입력 노드 및 출력 노드 관계에서, 출력 노드는 입력 노드에 입력된 데이터에 기초하여 그 값이 결정될 수 있다. 여기서, 입력 노드와 출력 노드를 상호 연결하는 노드는 가중치를 가질 수 있다. 가중치는 가변적일 수 있으며, 뉴럴 네트워크가 원하는 기능을 수행하기 위해, 사용자 또는 알고리즘에 의해 가변될 수 있다. 예를 들어, 하나의 출력 노드에 하나 이상의 입력 노드가 각각의 링크에 의해 상호 연결된 경우, 출력 노드는 상기 출력 노드와 연결된 입력 노드들에 입력된 값들 및 각각의 입력 노드들에 대응하는 링크에 설정된 가중치에 기초하여 출력 노드 값을 결정할 수 있다.In a relationship between an input node and an output node connected through one link, the value of the output node may be determined based on data input to the input node. Here, a node interconnecting the input node and the output node may have a weight. The weight may be variable, and may be changed by a user or an algorithm in order for the neural network to perform a desired function. For example, when one or more input nodes are interconnected by respective links to one output node, the output node is set to a link corresponding to values input to input nodes connected to the output node and respective input nodes. An output node value may be determined based on the weight.

전술한 바와 같이, 뉴럴 네트워크는, 둘 이상의 노드들이 하나 이상의 링크를 통해 상호연결 되어 뉴럴 네트워크 내에서 입력 노드 및 출력 노드 관계를 형성한다. 뉴럴 네트워크 내에서 노드들과 링크들의 개수 및 노드들과 링크들 사이의 연관관계, 링크들 각각에 부여된 가중치의 값에 따라, 신경망 네트워크의 특성이 결정될 수 있다. 예를 들어, 동일한 개수의 노드 및 링크들이 존재하고, 링크들 사이의 가중치 값이 상이한 두 신경망 네트워크가 존재하는 경우, 두 개의 신경망 네트워크들은 서로 상이한 것으로 인식될 수 있다.As described above, in a neural network, two or more nodes are interconnected through one or more links to form an input node and output node relationship in the neural network. Characteristics of the neural network may be determined according to the number of nodes and links in the neural network, an association between the nodes and links, and a weight value assigned to each link. For example, when there are two neural networks having the same number of nodes and links and different weight values between the links, the two neural networks may be recognized as different from each other.

또한, 메모리는 롬(ROM), 램(RAM), 비휘발성메모리, 휘발성메모리, 하드 디스크 드라이브(HDD), 솔리드 스테이트 드라이브(SSD), USB 메모리, 플래시 메모리 카드, 이에 상응하는 각종 이동식, 휴대식 저장매체(예컨대, SD(Secure Digital) 메모리 카드, microSD 메모리 카드, ISO 7816 표준의 저장장치 등)를 포함하지만, 이에 한정되지 않고 데이터를 저장하는 모든 종류의 저장 장치를 포함할 수 있다. 메모리는 저장 장치로 지칭될 수 있다.In addition, memory includes ROM, RAM, non-volatile memory, volatile memory, hard disk drive (HDD), solid state drive (SSD), USB memory, flash memory card, and various removable and portable storage devices corresponding thereto. Media (eg, SD (Secure Digital) memory card, microSD memory card, ISO 7816 standard storage device, etc.), but not limited thereto, and may include all types of storage devices for storing data. Memory may be referred to as a storage device.

도 3은 일 실시예에 따른 유아 학습용 전자 장치를 나타내는 블록도이다. 도 4는 도 3의 데이터베이스를 나타내는 도면이다.3 is a block diagram illustrating an electronic device for early childhood learning according to an exemplary embodiment. FIG. 4 is a diagram illustrating the database of FIG. 3 .

도 3을 참조하면, 유아 학습용 전자 장치(300)는 데이터베이스(310), 터치 디스플레이(320), 프로세서(330), 메모리(340)를 포함할 수 있다.Referring to FIG. 3 , the electronic device 300 for early childhood learning may include a database 310, a touch display 320, a processor 330, and a memory 340.

데이터베이스(310)는 한글에서 쓰이는 낱자들에 대한 낱자 이미지와, 낱자 이미지에 대응하는 유니코드 데이터를 저장할 수 있다. 도 4를 참조하면, 현대 한글에서 쓰이는 낱자는 19개의 초성, 21개의 중성, 27개의 종성으로 분류될 수 있다. 초성은 첫소리, 중성은 가운뎃소리, 종성은 끝소리라고도 하며, 한글 글자에 종성은 포함되지 않을 수도 있다. 데이터베이스(310)는 각각의 낱자들의 모양, 형태를 나타낸 낱자 이미지를 저장할 수 있다. 또한, 각 낱자 이미지에 대응하는 유니코드 데이터를 저장할 수 있다. 유니코드(Unicode)는 유니코드는 유니코드 협회(Unicode Consortium)가 제정하는 전 세계의 모든 문자를 컴퓨터에서 일관되게 표현하고 다룰 수 있도록 설계된 산업 표준이다. 유니코드 표준은 ISO 10646 문자 집합, 문자 인코딩, 문자 정보 데이터베이스, 문자들을 다루기 위한 알고리즘 등을 포함하고 있다. 유니코드에서 한글은 U+AC00 ~ U+D7AF에 배당되어 있다.The database 310 may store character images for characters used in Hangul and Unicode data corresponding to the character images. Referring to FIG. 4, the letters used in modern Hangeul can be classified into 19 initial consonants, 21 neutral consonants, and 27 final consonants. The initial sound is also called the first sound, the middle sound is the middle sound, and the final sound is also called the final sound. Hangul letters may not include the final sound. The database 310 may store word images representing the shape and form of each letter. In addition, Unicode data corresponding to each word image can be stored. Unicode is an industry standard established by the Unicode Consortium designed to consistently express and handle all characters in the world on computers. The Unicode standard includes the ISO 10646 character set, character encoding, character information database, and algorithms for handling characters. In Unicode, Hangul is assigned to U+AC00 ~ U+D7AF.

터치 디스플레이(320)는 LCD(liquid crystal display) 패널, OLED(organic light emitting diode) 패널 등일 수 있다. 터치 디스플레이(320)는 또한 디스플레이 패널에의 터치를 감지하기 위한 터치전극을 포함하는 터치패널(touch screen panel, TSP)을 포함할 수 있다. 일 실시예에서, 터치 디스플레이(320)는 디스플레이 패널과 터치패널이 일체형으로 결합된 형태로서 인셀(In-Cell) 타입일 수 있다. 그러나 이는 예시적인 것이고, 본 발명의 실시예는 이에 제한되지 않는다. 터치 디스플레이(320)는 전기적으로 손가락, 펜 등의 접촉을 인식하고, 전기 신호를 생성하여 이를 후술할 프로세서에 전달할 수 있다.The touch display 320 may be a liquid crystal display (LCD) panel, an organic light emitting diode (OLED) panel, or the like. The touch display 320 may also include a touch screen panel (TSP) including touch electrodes for sensing a touch on the display panel. In one embodiment, the touch display 320 may be an in-cell type in which the display panel and the touch panel are integrally coupled. However, this is exemplary, and embodiments of the present invention are not limited thereto. The touch display 320 may electrically recognize a touch of a finger or a pen, generate an electrical signal, and transmit the electrical signal to a processor to be described later.

프로세서(330)는 프로세서(330)에 연결된 유아 학습용 전자 장치(300)의 다른 구성요소를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 또한, 프로세서(330)는 터치 디스플레이(320)를 통해 입력되어, 전기적 신호로 변환된 대상 글자 이미지를 글자 영역 탐지(text detection) 모델과 글자 인식(text recognition) 모델을 이용하여 대상 글자 이미지에 대응하는 문자열을 생성할 수 있다. 프로세서(330)는 도 1의 프로세서(120)과 동일하거나 유사한 구조일 수 있다.The processor 330 may control other components of the electronic device 300 for early childhood learning connected to the processor 330 and may perform various data processing or calculations. In addition, the processor 330 responds to the target character image input through the touch display 320 and converted into an electrical signal to the target character image by using a text detection model and a text recognition model. You can create a string that The processor 330 may have the same or similar structure as the processor 120 of FIG. 1 .

메모리(340)는 유아 학습용 전자 장치(300)의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 유아 학습을 위한 학습 대상 이미지 데이터, 학습 대상 단어 데이터를 포함할 수 있다. 메모리(340)는 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. The memory 340 may store various data used by components of the electronic device 300 for early childhood learning. The data may include, for example, image data to be learned and word data to be learned for early childhood learning. The memory 340 may include volatile memory or non-volatile memory.

다음으로, 도 5 내지 도 9를 참조하여, 유아 학습용 전자 장치(300)를 이용한 유아의 한글 단어 학습 과정을 설명한다. 이하에서는, 유아 학습용 전자 장치(300)를 통해 유아에게 그림 동화 컨텐츠를 보여줌으로써 학습 대상 단어와 학습 대상 단어에 대응하는 이미지를 미리 보여주고, 학습 대상 단어를 기억하는지를 확인하는 방법을 예시로 들어서 설명한다. 유아의 흥미를 이끌어내기 위해, 학습 대상 단어는 학습 대상 단어에 대응하는 이미지와 함께 줄거리가 있는 그림 동화 컨텐츠를 통해 유아에게 제공될 수 있다. 즉, 유아 교육 어플리케이션 동작 방법의 일부로서 본 발명의 광학 문자 인식에 관한 기술적 사상이 포함될 수 있다.Next, with reference to FIGS. 5 to 9 , a Korean word learning process of an infant using the electronic device 300 for infant learning will be described. Hereinafter, a method of showing a learning target word and an image corresponding to the learning target word in advance by showing picture fairy tale contents to a child through the electronic device 300 for early childhood learning and confirming whether the learning target word is remembered will be described as an example. do. In order to arouse the child's interest, the learning target word may be provided to the child through picture fairy tale content having a plot along with an image corresponding to the learning target word. That is, as part of a method for operating an early childhood education application, the technical idea of optical character recognition of the present invention may be included.

도 5는 일 실시예에 따른 유아 학습 과정을 나타내는 흐름도이다. 도 6은 터치 디스플레이에 표시되는 제1 디스플레이 화면을 나타내는 도면이다. 도 7 및 도 8은 터치 디스플레이에 표시되는 제2 디스플레이 화면을 나타내는 도면이다. 도 9는 터치 디스플레이에 표시되는 제3 디스플레이 화면을 나타내는 도면이다. 5 is a flowchart illustrating a preschool learning process according to an embodiment. 6 is a diagram illustrating a first display screen displayed on a touch display. 7 and 8 are diagrams illustrating a second display screen displayed on a touch display. 9 is a diagram illustrating a third display screen displayed on a touch display.

도 5 및 도 7을 참조하면, 먼저 제1 디스플레이 화면(322)의 학습 대상 이미지 구역(322_1)에 학습 대상 이미지를 출력한다(S100). 학습 대상 이미지는 메모리(340)에 미리 저장되어 있을 수 있다. 프로세서(330)는 메모리(340)에 저장된 학습 대상 이미지를 터치 디스플레이(320)의 학습 대상 이미지 구역(322_1)에 출력하도록 제어할 수 있다. Referring to FIGS. 5 and 7 , first, a learning target image is output to the learning target image area 322_1 of the first display screen 322 (S100). The learning target image may be previously stored in the memory 340 . The processor 330 may control the learning target image stored in the memory 340 to be output to the learning target image area 322_1 of the touch display 320 .

도 6은 그림 동화 컨텐츠의 재생 화면을 예시적으로 도시한다. 학습 대상 단어와, 학습 대상 단어에 대응하는 학습 대상 이미지는 도 6에 도시된 바와 같이, 제1 디스플레이 화면(321)을 통해 미리 출력될 수 있다. 즉, 그림 동화 컨텐츠를 통해 학습 대상 단어와, 학습 대상 단어에 대응하는 학습 대상 이미지를 미리 출력하여 유아가 이를 기억하게 할 수 있다.6 exemplarily illustrates a reproduction screen of picture moving picture content. The learning target word and the learning target image corresponding to the learning target word may be output in advance through the first display screen 321 as shown in FIG. 6 . That is, through the picture fairy tale contents, the learning target word and the learning target image corresponding to the learning target word may be output in advance so that the child remembers them.

예를 들면, 도 6을 참조하면, 유아에게 '사과'라는 단어를 학습시키기 위해, '사과'라는 단어와 '사과' 이미지를 미리 출력할 수 있다. 또한, '사과'에 관련된 노래(예를 들면, '사과 같은 내 얼굴'노래)를 재생하여 들려주거나, '사과'가 주요 사물로 이용되는 동화 애니메이션(예를 들면, '백설공주 이야기'동화)을 재생하여 보여줌으로써 이를 시청하는 유아가'사과'를 다양한 방식으로 인식할 수 있도록 그림 동화 컨텐츠를 제공할 수 있다. For example, referring to FIG. 6 , the word 'apple' and an image of 'apple' may be output in advance in order to teach the infant to learn the word 'apple'. In addition, a song related to 'apple' (for example, 'My face like an apple' song) is played and played, or a fairy tale animation in which 'apple' is used as a main object (for example, 'The Story of Snow White' fairy tale) By reproducing and showing, picture fairy tale contents can be provided so that children who watch it can recognize 'apples' in various ways.

이후, 그림 동화 컨텐츠를 시청한 유아가'사과' 단어를 기억하고 있는지 확인하기 위해 도 7에 도시된 바와 같이 학습 확인 화면을 출력할 수 있다. 도 7을 참조하면, 제2 디스플레이 화면(322)의 학습 대상 이미지 구역(322_1)에 학습 대상 단어인 '사과'에 대응하는 '사과' 이미지가 출력될 수 있고, 학습 대상 단어 설명 구역(322_3)에는 유아가 '사과'를 떠올릴 수 있도록 그림 동화 컨텐츠와 관련된 적절한 힌트가 출력될 수 있다.Thereafter, a learning confirmation screen may be displayed as shown in FIG. 7 to check whether the infant who has watched the picture fairy tale contents remembers the word 'apple'. Referring to FIG. 7 , an 'apple' image corresponding to the learning target word 'apple' may be output on the learning target image area 322_1 of the second display screen 322, and the learning target word description area 322_3 In , appropriate hints related to picture fairy tale contents may be output so that young children can recall 'apple'.

유아는 이를 보고 터치 디스플레이(320)를 통해, 도 8에 도시된 바와 같이 제2 디스플레이 화면(322)의 사용자 입력 구역(322_2)에 정답 단어를 입력할 수 있다. 즉, 사용자 입력 구역(322_2)에 대상 글자 이미지(image_text)가 입력된다(S120).The child can see this and input the correct word through the touch display 320 into the user input area 322_2 of the second display screen 322 as shown in FIG. 8 . That is, the target text image (image_text) is input to the user input area 322_2 (S120).

프로세서(330)는 글자 영역 탐지(text detection) 모델을 이용하여, 대상 글자 이미지(image_text)에서 글자 영역 이미지와 좌표 데이터를 생성한다(S130).The processor 330 creates a text area image and coordinate data from the target text image (image_text) by using a text detection model (S130).

프로세서(330)는 글자 인식(text recognition) 모델을 이용하여, 글자 영역 이미지에서 대상 글자 이미지에 대응하는 문자열을 인식한다(S140). 대상 글자 이미지에 대응하는 문자열을 인식하여 출력하는 방법은 상세히 후술한다.The processor 330 recognizes a character string corresponding to the target text image in the text area image by using a text recognition model (S140). A method of recognizing and outputting a character string corresponding to a target character image will be described later in detail.

프로세서(330)는 인식한 문자열이 학습 대상 단어의 정답 단어와 일치하는지 여부를 판단한다(S150). The processor 330 determines whether the recognized string matches the correct word of the learning target word (S150).

S150에서, 문자열이 정답 단어와 일치하는 경우, 프로세서(330)는 터치 디스플레이(320)를 통해 정답 화면을 출력하고(S170), 학습 대상 이미지를 도 9에 도시된 제3 디스플레이 화면(323)의 <내 방>에 저장한다(S180). 학습 대상 이미지는 <내 방>을 꾸밀 수 있는 아이템 형태로 구현될 수 있다. 즉, 학습 대상 단어 학습에 대한 보상으로 학습 대상 이미지를 제공함으로써, 유아의 학습 의욕을 고취시킬 수 있다.In S150, if the string matches the correct word, the processor 330 outputs the correct answer screen through the touch display 320 (S170), and the learning target image is displayed on the third display screen 323 shown in FIG. It is saved in <My Room> (S180). The learning target image can be implemented in the form of an item that can decorate <My Room>. That is, by providing a learning target image as a reward for learning a learning target word, it is possible to inspire a child's learning motivation.

S150에서, 문자열이 정답 단어와 일치하지 않는 경우, 프로세서(330)는 터치 디스플레이(320)에 정답 단어와 불일치하는 문자를 특정하여 정정 안내 문구를 표시하는 정정 화면을 출력한다(S160). 정정 화면을 출력하는 방법은 후술한다.In S150, if the string does not match the correct word, the processor 330 outputs a correction screen displaying a correction guide phrase by specifying characters that do not match the correct word on the touch display 320 (S160). A method of outputting the correction screen will be described later.

다음으로, 도 10 내지 도 12를 참조하여 문자를 인식하는 방법에 대하여 설명한다.Next, a method of recognizing a character will be described with reference to FIGS. 10 to 12 .

도 10은 도 8의 사용자 입력 구역을 확대한 도면이다.FIG. 10 is an enlarged view of the user input area of FIG. 8 .

도 10을 참조하면, 글자 영역 탐지 모델은, 특징 추출(feature extraction) 레이어를 포함할 수 있다. 특징 추출 레이어는, 대상 글자 이미지(image_text)를 입력받고, 대상 글자 이미지(image_text)에 기초하여, 복수의 특징 지도(feature map)를 생성할 수 있다. Referring to FIG. 10 , the character region detection model may include a feature extraction layer. The feature extraction layer may receive a target text image (image_text) and generate a plurality of feature maps based on the target text image (image_text).

특징 지도는 대상 글자 이미지(image_text) 크기보다 작을 수 있다. 일 실시예에서, 특징 지도는 대상 글자 이미지(image_text)의 1/16 크기일 수 있다. 특징 지도는 사각형일 수 있다. 즉, 특징 추출 레이어는 대상 글자 이미지(image_text)를 입력받고, 16개의 특징 지도를 출력할 수 있다. The feature map may be smaller than the size of the target text image (image_text). In one embodiment, the feature map may be 1/16 the size of the target text image (image_text). A feature map may be rectangular. That is, the feature extraction layer may receive a target text image (image_text) and output 16 feature maps.

특징 추출 레이어는 각각의 특징 지도 각각에 대해서 특징 점수, AABB(axis-aligned bounding box), 회전각을 생성할 수 있다. 특징 점수는 각 특징 지도에 대상 글자 이미지(image_text)가 포함되는지 여부를 수치로 나타내는 점수일 수 있다. AABB는 글자 영역 이미지의 영역 박스를 예측하는 데이터일 수 있다. 회전각은 AABB의 회전각을 나타낼 수 있다. 특징 추출 레이어는 AABB와 회전각을 기초로 글자 영역 이미지의 좌표 데이터를 출력할 수 있다. The feature extraction layer may generate a feature score, an axis-aligned bounding box (AABB), and a rotation angle for each feature map. The feature score may be a score representing numerically whether or not the target text image (image_text) is included in each feature map. AABB may be data predicting a region box of a character region image. The rotation angle may represent the rotation angle of the AABB. The feature extraction layer may output coordinate data of the text area image based on AABB and rotation angle.

즉, 특징 추출 레이어는, 복수의 특징 지도 각각에 글자가 존재하는지를 판단하여, 복수의 특징 지도 각각에 특징 점수를 부여하고, 복수의 특징 지도 각각의 좌표 데이터와 특징 점수에 기초하여 복수의 글자 영역 이미지(image_1, image_2)를 출력할 수 있다.That is, the feature extraction layer determines whether a character exists in each of a plurality of feature maps, assigns a feature score to each of the plurality of feature maps, and provides a plurality of character regions based on the coordinate data and feature scores of each of the plurality of feature maps. Images (image_1, image_2) can be output.

도 11은 도 5의 S140을 설명하기 위한 흐름도이다. 도 12는 도 11의 제1 글자 영역 이미지를 확대한 도면이다.FIG. 11 is a flowchart for explaining S140 of FIG. 5 . FIG. 12 is an enlarged view of the first letter area image of FIG. 11 .

도 11과 도 12를 참조하면, 먼저 글자 영역 이미지(image_1)를 제1 구역 내지 제4 구역(quad_1 ~ quad_4)으로 분할한다(S141). 일 실시예에서, 글자 영역 이미지(image_1)는 대상 글자 이미지(image_text)에 포함된 단음절의 글자 이미지가 포함되는 정사각형 모양일 수 있다. 일 실시예에서, 제1 구역(quad_1)은 글자 영역 이미지(image_1)를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 우상단의 정사각형에 대응할 수 있다. 일 실시예에서, 제2 구역(quad_2)은 글자 영역 이미지(image_1)를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 좌상단의 정사각형에 대응할 수 있다. 일 실시예에서, 제3 구역(quad_3)은 글자 영역 이미지(image_1)를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 좌하단의 정사각형에 대응할 수 있다. 일 실시예에서, 제4 구역(quad_4)은 글자 영역 이미지(image_1)를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 우하단의 정사각형에 대응할 수 있다.Referring to FIGS. 11 and 12 , first, the character area image (image_1) is divided into first to fourth areas (quad_1 to quad_4) (S141). In one embodiment, the text area image image_1 may have a square shape including monosyllabic text images included in the target text image image_text. In an embodiment, the first area quad_1 may correspond to an upper right square among squares generated by dividing the text area image image_1 into squares of the same size. In an embodiment, the second area quad_2 may correspond to an upper left square among squares generated by dividing the text area image image_1 into squares of the same size. In an embodiment, the third area quad_3 may correspond to a lower left square among squares generated by dividing the text area image image_1 into squares of the same size. In an embodiment, the fourth area quad_4 may correspond to a lower right square among squares generated by dividing the text area image image_1 into squares of the same size.

다음으로, 제1 구역 내지 제4 구역(quad_1 ~ quad_4)에 각각 다른 가중치를 부여한다(S142). 일 실시예에서, 제1 구역 내지 제4 구역(quad_1 ~ quad_4)에 각각 다른 가중치를 부여하는 것은, 제1 구역 내지 제4 구역(quad_1 ~ quad_4)중 하나 이상에 포함된 글자 영역 이미지(image_1)와, 낱자 이미지 중 초성 이미지의 일치율을 계산하는 경우, 제2 구역(quad_2)에 가장 높은 가중치를 부여하는 것일 수 있다. 예를 들면, 글자 영역 이미지(image_1)에서 초성을 인식하는 경우, 한글 구조상 제2 구역(quad_2)에 초성이 위치할 확률이 가장 높으므로 제2 구역(quad_2)에 다른 구역보다 높은 가중치를 부여할 수 있다.Next, different weights are assigned to the first to fourth zones (quad_1 to quad_4) (S142). In one embodiment, assigning different weights to the first to fourth zones (quad_1 to quad_4) results in a character area image (image_1) included in one or more of the first to fourth zones (quad_1 to quad_4). And, when calculating the matching rate of the initial image among the word images, the highest weight may be given to the second zone (quad_2). For example, when recognizing the initial consonant in the character area image (image_1), the probability that the initial consonant is located in the second section (quad_2) is highest due to the Korean structure, so a higher weight is given to the second section (quad_2) than other sections. can

마찬가지로, 글자 영역 이미지(image_1)에서 중성을 인식하는 경우, 한글 구조상 제1 구역(quad_1) 및 제4 구역(quad_4), 또는 제3 구역(quad_3) 및 제4 구역에 중성이 위치할 확률이 가장 높으므로 해당 구역에 제2 구역(quad_2)보다 높은 가중치를 부여할 수 있다. Similarly, when the neutral is recognized in the character area image (image_1), the probability that the neutral is located in the first zone (quad_1) and the fourth zone (quad_4), or the third zone (quad_3) and the fourth zone is the highest due to the Korean structure. Since it is high, a higher weight than that of the second area (quad_2) may be assigned to the corresponding area.

또한, 글자 영역 이미지(image_1)에서 종성을 인식하는 경우, 한글 구조상 제3 구역(quad_3) 및 제4 구역(quad_4)에 중성이 위치할 확률이 가장 높으므로 제3 구역(quad_3) 및 제4 구역(quad_4)에 다른 구역보다 높은 가중치를 부여할 수 있다. In addition, when recognizing the final consonant in the character area image (image_1), the probability that the neutral is located in the third section (quad_3) and the fourth section (quad_4) is the highest due to the Korean structure, so the third section (quad_3) and the fourth section (quad_3) and the fourth section (quad_4) can be given a higher weight than the other zones.

즉, 제1 구역 내지 제4 구역(quad_1 ~ quad_4)에 각각 다른 가중치를 부여하는 것은, 제1 구역 내지 제4 구역(quad_1 ~ quad_4) 중 하나 이상에 포함된 글자 영역 이미지(image_1)와 낱자 이미지 중 종성 이미지와의 일치율을 계산하는 경우, 제3 구역(quad_3) 및 제4 구역(quad_4)에 제1 구역(quad_1) 및 제2 구역(quad_2)보다 높은 가중치를 부여하는 것일 수 있다.That is, assigning different weights to the first to fourth regions (quad_1 to quad_4) results in a character area image (image_1) and a word image included in at least one of the first to fourth regions (quad_1 to quad_4). When calculating the coincidence rate with the middle image, higher weights may be given to the third region (quad_3) and the fourth region (quad_4) than to the first region (quad_1) and the second region (quad_2).

다음으로, 각각의 가중치를 고려하여, 제1 구역 내지 제4 구역(quad_1 ~ quad_4) 중 하나 이상에 포함된 글자 영역 이미지(image_1)와, 데이터베이스(310)에 저장된 낱자 이미지 중 어느 하나와의 일치율을 계산한다(S143). Next, considering each weight, the matching rate between the character area image (image_1) included in one or more of the first to fourth regions (quad_1 to quad_4) and any one of the word images stored in the database 310 Calculate (S143).

계산된 일치율을 기초로 글자 영역 이미지(image_1)에 포함된 하나 이상의 낱자를 인식한다(S144).Based on the calculated matching rate, one or more letters included in the text area image (image_1) are recognized (S144).

도 12를 참조하면, 제2 구역(quad_2) 및 제3 구역(quad_3)에 포함된 글자 영역 이미지(image_1)는 데이터베이스(310)에 저장된 낱자 이미지 중 초성 이미지인'ㅅ'에 대응된다. 즉, 제2 구역(quad_2) 및 제3 구역(quad_3)에 포함된 글자 영역 이미지(image_1)와 일치율이 가장 높은 데이터베이스(310)에 저장된 낱자 이미지는'ㅅ'이다. Referring to FIG. 12 , a character area image (image_1) included in the second area (quad_2) and the third area (quad_3) corresponds to the initial letter 'ㅅ' among the word images stored in the database 310. That is, the word image stored in the database 310 having the highest matching rate with the letter area image image_1 included in the second area quad_2 and the third area quad_3 is 'ㅅ'.

또한, 제1 구역(quad_1) 및 제4 구역(quad_4)에 포함된 글자 영역 이미지(image_1)는 데이터베이스(310)에 저장된 낱자 이미지 중 중성 이미지인'ㅏ'에 대응된다. 즉, 제1 구역(quad_1) 및 제4 구역(quad_4)에 포함된 글자 영역 이미지(image_1)와 일치율이 가장 높은 데이터베이스(310)에 저장된 낱자 이미지는'ㅏ'이다.In addition, the character area image image_1 included in the first area quad_1 and the fourth area quad_4 corresponds to 'A', which is a neutral image among word images stored in the database 310 . That is, the word image stored in the database 310 having the highest matching rate with the letter area image image_1 included in the first section quad_1 and the fourth section quad_4 is 'A'.

인식한 낱자와 좌표 데이터를 기초로 대상 글자 이미지에 대응하는 문자열을 출력한다(S145). 도 12를 참조하면, 프로세서(330)는 좌표 데이터를 기초로 'ㅅ'와 'ㅏ'를 차례로 나열하여, '사'라는 문자열을 출력할 수 있다.A character string corresponding to the target character image is output based on the recognized character and coordinate data (S145). Referring to FIG. 12 , the processor 330 may output a character string 'four' by sequentially listing 'ㅅ' and 'ㄱ' based on the coordinate data.

글자 인식 모델은 복수의 학습 데이터를 통해 미리 학습될 수 있다. 글자 인식 모델은 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함할 수 있다. The character recognition model may be pre-learned through a plurality of learning data. A character recognition model may include an input layer, one or more hidden layers, and an output layer.

제1 구역 내지 제4 구역 중 하나 이상에 포함된 글자 영역 이미지, 일치율, 및 정답 낱자 이미지로 구성된 복수의 학습 데이터는 글자 인식 모델의 입력 레이어에 입력되어 하나 이상의 히든 레이어 및 출력 레이어를 통과하고 출력 벡터가 출력될 수 있다. 출력 벡터는 출력 레이어에 연결된 손실함수 레이어에 입력되고, 손실함수 레이어는 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실 함수를 이용하여 손실값이 출력될 수 있다. 글자 인식 모델의 파라미터는 손실값이 작아지는 방향으로 학습될 수 있다. A plurality of training data consisting of a character area image, a matching rate, and a correct word image included in at least one of the first to fourth regions are input to the input layer of the character recognition model, pass through one or more hidden layers and output layers, and output Vectors can be output. The output vector is input to the loss function layer connected to the output layer, and the loss function layer may output a loss value using a loss function that compares the output vector with the correct answer vector for each learning data. Parameters of the character recognition model may be learned in a direction in which a loss value becomes smaller.

Figure pat00002
Figure pat00002

손실 함수는 <수학식 1>을 따를 수 있다. <수학식 1>에서, N은 복수의 학습 데이터의 수, n은 학습 데이터를 식별하는 자연수, k는 n번째 학습 데이터의 값을 식별하는 자연수, nk는 n번째 학습 데이터의 k번째 값을 의미하고, t는 정답 데이터를 의미하고, y는 상기 출력 벡터를 의미하고, E는 손실값을 의미할 수 있다.The loss function may follow <Equation 1>. In <Equation 1>, N is the number of learning data, n is a natural number identifying the learning data, k is a natural number identifying the value of the nth learning data, nk is the kth value of the nth learning data In this case, t denotes answer data, y denotes the output vector, and E denotes a loss value.

일 실시예에서, 프로세서(330)는 터치 디스플레이(320)에 불일치 문자가 정답 문자로 정정되는 과정을 애니메이션으로 출력할 수 있다. 즉, 전술한 문자 인식 과정을 기초로 하여 대상 글자 이미지(image_text)에서 글자를 낱자별로 인식하고, 정답과 불일치하는 낱자를 개별적으로 특정하여 이를 정답으로 정정할 수 있다. In one embodiment, the processor 330 may output, on the touch display 320, a process of correcting inconsistent text to correct text as an animation. That is, on the basis of the above-described character recognition process, characters in the target character image (image_text) may be recognized for each character, and characters that do not match the correct answer may be individually specified and corrected as the correct answer.

전술한 바와 같이, 유아 학습용 전자 장치(300)를 통해 입력된 대상 글자 이미지(image_text)에서 초성, 중성, 종성을 각각 분리하여 인식함으로써, 유아의 입력 글씨를 효과적으로 인식할 수 있다. 또한 대상 글자 이미지(image_text)에서 오타를 각 낱자별로 분리하여 인식하고, 이를 정정하여 줄 수 있기 때문에 유아의 한글 학습을 수월하게 할 수 있다.As described above, by separately recognizing the initial consonant, neutral consonant, and final consonant in the target letter image (image_text) input through the electronic device 300 for early childhood learning, the input writing of the infant can be effectively recognized. In addition, errors in the target character image (image_text) can be separated and recognized for each letter, and corrected, so that children can learn Korean easily.

이상에서 설명된 실시예들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치, 방법 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The embodiments described above may be implemented as hardware components, software components, and/or a combination of hardware components and software components. For example, the devices, methods and components described in the embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate (FPGA). array), programmable logic units (PLUs), microprocessors, or any other device capable of executing and responding to instructions. A processing device may run an operating system (OS) and one or more software applications running on the operating system. A processing device may also access, store, manipulate, process, and generate data in response to execution of software. For convenience of understanding, there are cases in which one processing device is used, but those skilled in the art will understand that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that it can include. For example, a processing device may include a plurality of processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.Software may include a computer program, code, instructions, or a combination of one or more of the foregoing, which configures a processing device to operate as desired or processes independently or collectively. You can command the device. Software and/or data may be any tangible machine, component, physical device, virtual equipment, computer storage medium or device, intended to be interpreted by or provide instructions or data to a processing device. , or may be permanently or temporarily embodied in a transmitted signal wave. Software may be distributed on networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer readable media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program commands recorded on the medium may be specially designed and configured for the embodiment or may be 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. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with limited drawings, those skilled in the art can apply various technical modifications and variations based on the above. For example, the described techniques may be performed in an order different from the method described, and/or components of the described system, structure, device, circuit, etc. may be combined or combined in a different form than the method described, or other components may be used. Or even if it is replaced or substituted by equivalents, appropriate results can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents of the claims are within the scope of the following claims.

Claims (2)

한글의 광학 문자 인식 방법에 있어서,
상기 전자 장치는,
터치 디스플레이;
초성 이미지, 중성 이미지, 종성 이미지로 분류되는 복수의 낱자 이미지와, 상기 낱자 이미지 각각에 대응하는 유니코드 데이터가 저장된 데이터베이스;를 포함하고,
상기 터치 디스플레이에 의해, 대상 글자 이미지를 입력받고,
글자 영역 탐지(text detection) 모델을 이용하여, 상기 대상 글자 이미지에서, 글자 영역 이미지와, 상기 글자 영역 이미지의 좌표 데이터를 생성하고,
글자 인식(text recognition) 모델을 이용하여, 상기 글자 영역 이미지에서, 상기 대상 글자 이미지에 대응하는 문자열을 인식하는 것을 포함하되,
상기 글자 인식 모델은,
상기 글자 영역 이미지를 제1 구역, 제2 구역, 제3 구역, 제4 구역으로 분할하고,
상기 제1 구역 내지 제4 구역 각각에 서로 다른 가중치를 부여하고,
상기 각각의 가중치를 고려하여, 상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 복수의 낱자 이미지 중 어느 하나와의 일치율을 계산하고,
상기 일치율을 기초로, 상기 글자 영역 이미지에 포함된 하나 이상의 낱자를 인식하고,
상기 인식한 낱자와 상기 좌표 데이터를 기초로 상기 대상 글자 이미지에 대응하는 문자열을 출력하고,
상기 글자 영역 이미지는, 상기 대상 글자 이미지에 포함된 단음절의 글자 이미지가 포함되는 정사각형 모양이고,
상기 제1 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 우상단의 정사각형에 대응하고,
상기 제2 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 좌상단의 정사각형에 대응하고,
상기 제3 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 좌하단의 정사각형에 대응하고,
상기 제4 구역은, 상기 글자 영역 이미지를 동일 크기의 정사각형으로 4등분하여 생성되는 정사각형 중 우하단의 정사각형에 대응하고,
상기 제1 구역 내지 제4 구역에 각각 다른 가중치를 부여하는 것은,
상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 낱자 이미지 중 초성 이미지의 일치율을 계산하는 경우, 상기 제2 구역에 가장 높은 가중치를 부여하고,
상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 낱자 이미지 중 중성 이미지의 일치율을 계산하는 경우, 상기 제3 구역 및 상기 제4 구역에 상기 제2 구역보다 높은 가중치를 부여하고,
상기 제1 구역 내지 제4 구역 중 하나 이상에 포함된 상기 글자 영역 이미지와, 상기 낱자 이미지 중 종성 이미지와의 일치율을 계산하는 경우, 상기 제3 구역 및 제4 구역에 상기 제1 구역 및 제2 구역보다 높은 가중치를 부여하는,
한글의 광학 문자 인식 방법.
In the optical character recognition method of Hangul,
The electronic device,
touch display;
A database storing a plurality of word images classified into initial images, neutral images, and final words, and Unicode data corresponding to each of the letter images;
By the touch display, a target character image is input,
generating a text area image and coordinate data of the text area image from the target text image using a text detection model;
Recognizing a character string corresponding to the target text image in the text area image using a text recognition model,
The character recognition model,
Dividing the text area image into a first area, a second area, a third area, and a fourth area;
Different weights are assigned to each of the first to fourth zones,
Calculate a matching rate between the letter area image included in at least one of the first to fourth areas and any one of the plurality of word images, in consideration of the respective weights;
Based on the matching rate, recognizing one or more words included in the text area image;
Outputting a character string corresponding to the target character image based on the recognized character and the coordinate data;
The text area image has a square shape including a single syllable text image included in the target text image,
The first area corresponds to an upper right square among squares generated by dividing the text area image into four equal-sized squares;
The second area corresponds to an upper left square among squares generated by dividing the text area image into four equal-sized squares;
The third area corresponds to a lower left square among squares generated by dividing the text area image into four equal-sized squares;
The fourth area corresponds to a square at the bottom right of squares generated by dividing the text area image into four equal-sized squares;
Giving different weights to the first to fourth zones,
When calculating the matching rate between the letter area image included in at least one of the first to fourth areas and the initial letter image among the letter images, the highest weight is given to the second area;
When calculating the concordance rate between the character area image included in at least one of the first to fourth areas and the neutral image among the letter images, the third area and the fourth area have a higher weight than the second area is given,
When calculating the coincidence rate between the character area image included in at least one of the first to fourth areas and the final image of the letter image, the first area and the second area in the third area and the fourth area giving a higher weight than the zone,
Optical Character Recognition Method of Hangeul.
제1항에 있어서,
상기 글자 영역 탐지 모델은,
특징 추출(feature extraction) 레이어를 포함하고,
상기 특징 추출 레이어는,
상기 대상 글자 이미지를 입력받고,
상기 대상 글자 이미지에 기초하여, 복수의 특징 지도(feature map)를 생성하고,
상기 복수의 특징 지도 각각에 글자가 존재하는지를 판단하여, 상기 복수의 특징 지도 각각에 특징 점수를 부여하고,
상기 복수의 특징 지도 각각의 좌표 데이터와 상기 특징 점수에 기초하여 상기 글자 영역 이미지를 출력하는,
한글의 광학 문자 인식 방법.
According to claim 1,
The character area detection model,
including a feature extraction layer;
The feature extraction layer,
Receiving the target text image,
Based on the target character image, a plurality of feature maps are generated;
determining whether a character exists in each of the plurality of feature maps, and assigning a feature score to each of the plurality of feature maps;
outputting the character area image based on the coordinate data of each of the plurality of feature maps and the feature score;
Optical Character Recognition Method of Hangeul.
KR1020220059489A 2021-11-04 2022-05-16 Optical character recognition method of hangul KR20230065135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220059489A KR20230065135A (en) 2021-11-04 2022-05-16 Optical character recognition method of hangul

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210150698A KR102399945B1 (en) 2021-11-04 2021-11-04 A method of optical character recognition of electronic device for children learning
KR1020220059489A KR20230065135A (en) 2021-11-04 2022-05-16 Optical character recognition method of hangul

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020210150698A Division KR102399945B1 (en) 2021-11-04 2021-11-04 A method of optical character recognition of electronic device for children learning

Publications (1)

Publication Number Publication Date
KR20230065135A true KR20230065135A (en) 2023-05-11

Family

ID=81801167

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020210150698A KR102399945B1 (en) 2021-11-04 2021-11-04 A method of optical character recognition of electronic device for children learning
KR1020220059489A KR20230065135A (en) 2021-11-04 2022-05-16 Optical character recognition method of hangul

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020210150698A KR102399945B1 (en) 2021-11-04 2021-11-04 A method of optical character recognition of electronic device for children learning

Country Status (1)

Country Link
KR (2) KR102399945B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102581822B1 (en) * 2023-04-18 2023-09-26 (주)핸듀 Method and apparatus for recognizing characters in educational programs

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100887178B1 (en) 2007-03-08 2009-03-09 (주)제이티 Method for recognizing character, and Method for recognizing character formed on Semiconductor device
JP6115221B2 (en) * 2013-03-21 2017-04-19 カシオ計算機株式会社 Information processing apparatus, information processing method, and program
KR102223912B1 (en) * 2019-01-10 2021-03-08 한국전자통신연구원 Apparatus for recognition of letters using multiple neural networks and operating method thereof
KR102241480B1 (en) * 2020-10-22 2021-04-19 주식회사 아이텍솔루션 Methods and devices for correcting reading errors in mathematical OCR(Optical Character Recognition) and stroke recognition

Also Published As

Publication number Publication date
KR102399945B1 (en) 2022-05-19

Similar Documents

Publication Publication Date Title
KR102408462B1 (en) Method and apparatus for garmet suggestion using neural networks
KR102399945B1 (en) A method of optical character recognition of electronic device for children learning
KR102576380B1 (en) Method and system for managing products marked with a date overlaapied on a rectangular micro quick response code using neural networks
KR102476292B1 (en) System for processing pedal box photographing image data of a vehicle using artificial intelligence
KR102581822B1 (en) Method and apparatus for recognizing characters in educational programs
US20220130396A1 (en) Electronic device for managing user model and operating method thereof
KR102554242B1 (en) Method and apparatus for providing a message related an event to a terminal using a neural network by a server
KR20220132161A (en) Electronic device for performing hash authentication on neural network and operation method thereof
KR102564511B1 (en) Apparatus and method for providing menu board interface based on user customization
KR102602594B1 (en) Method and device for tracking a position of an avatar based on semantic information of space in a metaverse
KR102562282B1 (en) Propensity-based matching method and apparatus
KR102551357B1 (en) Ai-based childcare product platform system
KR102420617B1 (en) Neural network-based medical equipment database construction system
KR102478964B1 (en) Method and apparatus for transmitting a configuration diagram for software architecture determined based on information related to a software architecture to a user terminal using a pluarality of neural networks by a server
KR102572321B1 (en) Method and apparatus for providing a message related an event to a terminal using a neural network by a server
KR102602241B1 (en) Blockchain-based artificial intelligence healthcare platform system
KR102607631B1 (en) Method and system for providing agricultural and livestock products direct transaction platform service based on artificial intelligence
KR102575856B1 (en) Method and apparauts for compatibility of input devices
KR102651497B1 (en) Platform system and method for text mining-based human resources matching
KR102563678B1 (en) Server and operation method that provide customized learning service using learned neural network
KR102596451B1 (en) Method and apparatus for matching a counselor terminal and a client terminal using a neural network
KR102479534B1 (en) Apparatus and method for providing user-customized one-stop printing service based on neural network
KR102585090B1 (en) Method and apparatus for providing a game linked with webtoon to a user terminal using neural networks
KR102583984B1 (en) Apparatus and method for providing diet recommendation service based on user&#39;s health condition
KR102466836B1 (en) Method and apparatus for matching using nueral networks

Legal Events

Date Code Title Description
E902 Notification of reason for refusal